Which port (PIOA or PIOC) does Arduino Due PIN 10 correspond to?

Hello everyone, I checked the pinout diagram of the Arduino DUE, and it shows that when I use pin 10 on the Arduino DUE, it should correspond to PA28.


However, when I actually use it, I find that it corresponds to PC29. Why is this?

Hi @ryaaannnn. I think the creator of the pinout made a mistake. The definitive reference is the pin mapping code in the Due's core variant:

The Arduino pin number is the index in the g_APinDescription array.

You can submit a bug report about the error in the pinout diagram to the issue tracker of the Arduino documentation content repository here:

Actually, D10 is physically connected to both PC29 and PA28. D4 has a similar dual connection. I believe this is to allow these pins to be used as either chip selects or as timer outputs for PWM. Note that D10 also shares a pin with D77.

For digital IO they are configured as @ptillisch shows.

The pinout diagram in this thread shows the mapping correctly I believe Due pinout diagram

1 Like

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