5

This page https://store.arduino.cc/usa/mega-2560-r3 contains an image under the Documentation section which shows digital pins 10 to 13 with labels SS, MOSI, MISO, and SCK.

EDIT: The documentation page has since been updated with the correct pin assignment as discussed below. The image has been removed to stop it from showing up in "mega SPI pinout" searches and continuing to spread wrong information.

However, this page says that those are at pins 50 to 53 https://www.arduino.cc/en/reference/SPI.

table from SPI page

Which page is correct?

s-ol
  • 103
  • 3
Mark
  • 197
  • 1
  • 1
  • 8

1 Answers1

5

The image is incorrect, unfortunately.

The SPI pins are below:

PB0 - #SS
PB1 - SCK
PB2 - MOSI
PB3 - MISO       

enter image description here

enter image description here

enter image description here

ArduinoFan
  • 1,079
  • 7
  • 11