[En-Nut-Discussion] using SPI Controller of AT91SAM7X

Dominik Schröder dominik.schroeder at bh-informativ.de
Thu Mar 11 15:08:36 CET 2010


Hello

 

I want to use the SPI controller of my AT91SAM7X to communicate with an OLED
Display. I haven’t found some good information about which steps are needed
to get the SPI device working
 L

I know that I have to write something like this:

 

NUTSPINODE OLED_node = { &spiBus0At91, NULL, 150000, 0, 8, 1 };

 

But how can I write some DATA to the SPI BUS?

Can anybody give me an example?

 

Best regards!

 

Dominik Schröder



 




More information about the En-Nut-Discussion mailing list