Pin mapping

Pin mapping between SAM3X and Arduino IDE. This is similar to the DUE mapping found here:

https://www.arduino.cc/en/Hacking/PinMappingSAM3X

FeatureSignalSAM3X Pin NameMapped Pin NameNotes
LEDsDS2 (RED)PD1032 
 DS3 (YELLOW)PA5X0Non-Due Pin
 DS4 (YELLOW)PD227 
 DS5 (YELLOW)PA1524 
 DS6 (GREEN)PA1423 
 RGB GREENPD812 
 RGB BLUEPC255 
 RGB REDPD711 
     
SWITCHTACT SW1PC27X1Non-Due Pin, Active LOW
 TACT SW2PB6PIN_EMAC_ERX1Non-Due Pin, Active LOW
     
SD card SWSD_SWPC3072Card is inserted - LOW.
 MCDA2PA2356 
 MCDA3PA2455 
 MCCDAPA2043 
 MCCKPA1942 
 MCDA0PA2173 
 MCDA1PA2257 
     
GPIOGPIO1 APC3, PWMH035 
 GPIO1 BPC2, PWML034 
 GPIO2 APC5, PWMH137 
 GPIO2 BPC4, PWML136 
 GPIO3 APC7, PWMH239 
 GPIO3 BPC6, PWML238 
 GPIO4 APC9, PWMH341 
 GPIO4 BPC8, PWML340 
 GPIO5 APC20, PWMH4X8Non-Due Pin
 GPIO5 BPC21, PWML49 
 GPIO6 APC19, PWMH544 
 GPIO6 BPC22, PWML58 
     
 ANA 1PB1964 (Analog In 10) 
 ANA 2PB1863 (Analog In 9) 
 ANA 3PA261 (Analog In 7) 
 ANA 4PA459 (Analog In 5) 
 ANA 5PA360 (Analog In 6) 
 ANA 6PA1654 (Analog In 0) 
     
 12Vio_ENPC246 
 I SENSE 12VPB1762 (Analog In 8) 
 OVER_CURRENTPD126 
 DAC1PB1667 (DAC1) 
     
CANCANTX0PA069 
 CANRX0PA168 
 HSC_SPD328 
 CANTX1PB1453 
 CANRX1PB1566 
 MSC_SPD025 
     
J1850J1850_PWM_nVPWPB8PIN_EMAC_EMDCLOW = 7.83V, HIGH = 5.85
 J1850_PWM_RXPC283 
 J1850_VPW_RXPC264 
 J1850+_TXPC1845 
 J1850-_TXPC237 
     
PSBUCK_nDISPC10X25Non-Due Pin
 J1850 9141 ONPB5PIN_EMAC_ERX0Bring LOW for LOW power
     
XBEEXB_UART RXPA80 (RX0) 
 XB_UART TXPA91 (TX0) 
 SPI0 MISOPA2574 (MISO) 
 XB_nRSTPC11X4Non-Due Pin
 XB_RSSI_PWMPB3PIN_EMAC_ETX1Non-Due Pin
 XB_MULT4PD629 
 XB_MULT5PD930 
 XB_MULT1PC1251 
 SPI0 MOSIPA2675 (MOSI) 
 XB_nCTSPB2622 
 XB_STATPC1350 
 XB_VrefPC1449 
 XB_MULT2PC1548 
 XB_nRTSPB252 
 SPI0_nCS0PA2877 
 SPI0 CLKPA2776 (SCK) 
 XB_MULT3PC1746 
 XB_MULT6PA731 
     
9141/LIN9141 K TXPA1118 (TX1) 
 9141 K RXPA1019 (RX1) 
 9141 K SLPPB4PIN_EMAC_ECRSDVNon-Due Pin
 9141 L TXPA1316 (TX2) 
 9141 L RXPA1217 (RX2) 
 9141 L SLPPB7PIN_EMAC_ERXERNon-Due Pin
     
SWCSWC M1PB0PIN_EMAC_EREFCK 
 SWC M0PB2713 
 SWC SOFPC29  
 SWC CLKPB22  
 SWC_nRESET (M_nRST)NRSTB  
 SPI0_nCS3PB2378 
 SPI0 MISOPA2574 
 SPI0 MOSIPA2675 
 SPI0 CLKPA2776 
 SWC nINTPC1647 
 SWC nRX0BFPB1ETXEN 
 SWC nRX1BFPB2ETX0

Comments