SPI controlled registers in peripheral chips question.

Feb 29, 2008 2 Replies

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

I was thinking of using the UART and terraterm to show the status of all the registers, in 0/1 and the LCD for some sort of menu

martin

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required