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

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