HomePage RecentChanges SPI

Arduino SPI Mode

I have been using a lot of SPI devices lately. Specifically working with SD card and the ADS1247.

SPI Library Gotchas

SPI Mode Issues

Working with the Ethernet chip, the SD Cards - they all use SPI Mode 0. This means you only need to use chip select to set the library.

Now start working with devices of different modes. Each may even use interrupts. You MUST set the mode (and any other settings, like Clock Speed etc) each time before chip select.


I don't have resolution to these two issues yet. The first is just a matter of having custom versions. But that can be tricky - although I am going to try inheritance first. The second problem is more difficult.





VIM worth learning = Move paragraph = { } Find word marked = *

Software error:

Can't locate object method "endform" via package "CGI" at /data/scott.dd.com.au/wiki/modules/search.pl line 15.

For help, please send mail to the webmaster (webmaster@dd.com.au), giving this error message and the time and date of the error.