Go Down

Topic: Confusion as to which header to use for SPI on Due - ICSP or SPI (Read 7727 times) previous topic - next topic


I am attempting to hook up a peripheral that uses SPI for an interface.  While reading the SPI library, it says to use the ICSP header for SPI.  However, there is a specific header on the Due labelled SPI.  Which one should I be using?

Thanks for your help!


On the Due use the header marked SPI for SPI ;) I think the ICSP is for the 16U2 only, could be wrong.
Please ask questions in the forum so everyone can benefit. PM me for paid work.


Thanks! :D

I figured as much - but I was not finding supporting encouragement from the SPI library API.  I guess that's what we get for living on the bleeding (Due) edge :)


attention to not exceed 3.3V at the pins of the Due (SPI-2 is connected to +5V).
A valuable source in such cases is: http://arduino.cc/en/uploads/Main/arduino-Due-schematic.pdf where you can solve the puzzle - what is connected to what.
I think the confusion SPI/ICSP is caused by the common ISP-library documentation with was issued for the standard Arduino boards - there is not yet a hint for the different labels at the Due.


I wrote up some info on using hardware SPI on Due http://21stdigitalhome.blogspot.com/2013/02/arduino-due-hardware-spi.html to include pins and other info to supplement the extended SPI calls at http://arduino.cc/en/Reference/DueExtendedSPI

Go Up