Go Down

Topic: Confusion as to which header to use for SPI on Due - ICSP or SPI (Read 4273 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!

bobcousins

On the Due use the header marked SPI for SPI ;) I think the ICSP is for the 16U2 only, could be wrong.
Please don't PM me asking for help. Ask questions in the forum.

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 :)

gbduino

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.

TheKitty

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy