Problem with SPI pins on Arduino Leonardo

Hi ! :slight_smile:
In the Leonardo pinout, it's indicate that pins 11, 12 and 13 correspond to the COPI, CIPO and SCK SPI pins respectively.
Unfortunately, when we look at the schematic in the interactive viewer, we see that the SPI pins are ultimately connected only to the ICSP pins.
So I'd like to understand why such an error is recorded in the pinout, and is there any possibility of transferring the ICSP data to pins 11, 12 and 13 in order to facilitate connectivity with an external board.

Welcome to the forum

Please post a link to where you are seeing what you describe

I've taken a few screenshots to explain.
Here we can see that the microcontroller's SCK pin goes directly to the ICSP pin :


Here we can see that pin 13 of the Arduino Leonardo does not point to the SCK pin of the microcontroller :

However, on the pinout supplied by Arduino we have the SCK pin connected to pin 13 of the Leonardo :

All screenshots taken from this link : https://docs.arduino.cc/hardware/leonardo

Since Arduino started using those new images for the pinout, they regularly screw it up.

You can report it using https://www.arduino.cc/en/contact-us/

I already left a message yesterday but I didn't get a reply... Do you know the average time for a reply?
So I posted here to find out if this was a mistake on their part and how I can get around it? If I connect the ICSP pins directly to pins 11, 12 and 13 will it work correctly or will it be generated by the microcontroller pins already present on these pins?

N, it will not work. The only place where you can find SPI pins on the Leonardo is on the 6-pin header.

To close this topic, I've just had a reply from Arduino support pointing out that this is indeed a documentation error:
" Indeed this is a detail that has been overlooked, thanks for bringing it to our attention!
Our team is working on correcting it! The SPI bus is indeed not accessible through the digital pins.
Have a fantastic day and once again thanks for helping us improve our documentation. "

A detail that has already been corrected in one place, but there seems to be multiple pinout diagrams lying around.

This is what you get via store.arduino.cc:
https://content.arduino.cc/assets/Pinout-Leonardo_latest.pdf – corrected SPI pins.

And this is what you get via docs.arduino.cc:
https://docs.arduino.cc/resources/pinouts/A000057-full-pinout.pdf – incorrect SPI pins at the moment.

Both have incorrect Dnn numbers for A0–A5.

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