Pages: [1]   Go Down
Author Topic: Confusion as to which header to use for SPI on Due - ICSP or SPI  (Read 3326 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Offline Offline
Full Member
***
Karma: 9
Posts: 213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On the Due use the header marked SPI for SPI smiley-wink I think the ICSP is for the 16U2 only, could be wrong.
Logged

Please don't PM me asking for help. Ask questions in the forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks! smiley-grin

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 smiley
Logged

Austria
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

US
Offline Offline
Full Member
***
Karma: 4
Posts: 183
Electronics are the new Legos
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: