Hi
Is there any sample code or PDF's (like there is for te UART) for simple SPI_init(), SPI_putch() and SPI_getch() rather than me having to trawl though the datasheet.
I am not using any of the TI libraries.
TIA
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Have a look at the following:
DN113 CC111xFx CC243xFx CC251xFx SPI Interface
This design note shows how to configure and operate the two USARTs in synchronous SPI mode, both as a master and as a slave. All code examples use USART1.
http://focus.ti.com/analog/docs/techdocsabstract.tsp?familyId=936&abstractName=swra223
Rgds,
Kjetil