Re: SPI controlled registers in peripheral chips question.



On Feb 29, 11:32 am, Martin Griffith <mart_in_med...@xxxxxxxx> wrote:
Just been handed a possible job that requires a encoder IC to be set
up via SPI, about 20 r/w 8 bit registers. I'm going to use a 8052
with a 2 line LCD that's memory mapped, just because I have a couple
of boards lying around

I'll add a few buttons, but I was wondering if there is any neat way
of organising the code (in C ) to play around with the registers
while prototyping ( mucking around, really)

martin

You could write up a little interpreter/debugger to do it.
Ed
.