Use Digital Pins for SPI on Arduino Zero

So, I am looking at the documentation for the Arduino Zero, and I am a little confused. It indicates that pins 13, 12, and 11 can be used for CIPO, COPI and SCK, but using SPI.begin() puts the signals on the 6-pin header SPI pinout, which makes sense since it is designated for SPI. Is there a way to switch to the digital pins? Also, where does SS go by default if the 6-pin header is used? We are using another board that can only attach to the digital pins. Thank you.

Hi @eramirez2024

On the Arduino Zero the default SPI pins are on the 2x3 way pin header, but unlike the Arduino Uno this doesn't include pins 11, 12 and 13.

It is however possible to create an additional, separate hardware SPI port on pins 11, 12 and 13 on the Arduino Zero, by using one of the SAMD21 microcontroller's internal serial communication (SERCOM) modules.

This Adafruit tutorial shows how to do this:

Not sure of your terms. The Canadian Intellectual Property Office (CIPO) I believe is not involved in this. The SPI signals are SCK, MISO, MOSI, and CS\SS chip select/Slave Select, they have been that way for over 40 years.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.