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.
Which page is correct?
-
4check the schematic ... the top picture is incorrect ... PB4 to PB7 are not SPI pins ... ATmega2560 datasheet confirms that PB0 to PB3 are SPI pins ... these are pins 50 to 53 on the Arduino boardjsotola– jsotola2020年09月10日 23:43:38 +00:00Commented Sep 10, 2020 at 23:43
-
store.arduino.cc/store-supportJuraj– Juraj ♦2020年09月11日 05:43:47 +00:00Commented Sep 11, 2020 at 5:43
-
1I have asked Arduino store tech support to check on it - " Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us."ArduinoFan– ArduinoFan2020年09月11日 06:04:23 +00:00Commented Sep 11, 2020 at 6:04
-
2Got reply from Arduino Store as well. " it is being taken care"ArduinoFan– ArduinoFan2020年09月11日 06:39:00 +00:00Commented Sep 11, 2020 at 6:39
1 Answer 1
The image is incorrect, unfortunately.
The SPI pins are below:
PB0 - #SS
PB1 - SCK
PB2 - MOSI
PB3 - MISO