SPI controlled registers in peripheral chips question.

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

Reply to
Martin Griffith
Loading thread data ...

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

Reply to
Ed Prochak

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

Reply to
Martin Griffith

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.