User manual
Atmel SAM D21 Xplained Pro [USER GUIDE]
42220A-MCU-02/2014
10
4. Hardware User Guide
4.1 Connectors
This chapter describes the implementation of the relevant connectors and headers on SAM D21 Xplained Pro
and their connection to the ATSAMD21J18A. The tables of connections in this chapter also describes which
signals are shared between the headers and on-board functionality.
4.1.1 I/O Extension Headers
The SAM D21 Xplained Pro headers EXT1, EXT2 and EXT3 offer access to the I/O of the microcontroller
in order to expand the board e.g. by connecting extensions to the board. These headers all comply with the
standard extension header specified in Xplained Pro Standard Extension Header on page 7. All headers have a
pitch of 2.54 mm.
Table 4-1. Extension Header EXT1
Pin on EXT1 SAM D21 pin Function Shared functionality
1 [ID] - - Communication line to ID chip
on extension board.
2 [GND] - - GND
3 [ADC(+)] PB00 AIN[8]
4 [ADC(-)] PB01 AIN[9]
5 [GPIO1] PB06 GPIO
6 [GPIO2] PB07 GPIO
7 [PWM(+)] PB02 TC6/WO[0]
8 [PWM(-)] PB03 TC6/WO[1]
9 [IRQ/GPIO] PB04 EXTINT[4]
10 [SPI_SS_B/GPIO] PB05 GPIO
11 [TWI_SDA] PA08 SERCOM2 PAD[0] I²C SDA EXT2, EXT3, and EDBG
12 [TWI_SCL] PA09 SERCOM2 PAD[1] I²C SCL EXT2, EXT3, and EDBG
13 [USART_RX] PB09 SERCOM4 PAD[1] UART RX
1
14 [USART_TX] PB08 SERCOM4 PAD[0] UART TX
1
15 [SPI_SS_A] PA05 SERCOM0 PAD[1] SPI SS
16 [SPI_MOSI] PA06 SERCOM0 PAD[2] SPI MOSI
17 [SPI_MISO] PA04 SERCOM0 PAD[0] SPI MISO
18 [SPI_SCK] PA07 SERCOM0 PAD[3] SPI SCK
19 [GND] - - GND
20 [VCC] - - VCC
Notes:
1
The SERCOM4 module is shared between EXT1, 2 and 3 UART's, but uses different pins on EXT1 and EXT2/3.
Table 4-2. Extension Header EXT2
Pin on EXT2 SAM D21 pin Function Shared functionality
1 [ID] - - Communication line to ID chip
on extension board.
2 [GND] - - GND
3 [ADC(+)] PA10 AIN[18]
4 [ADC(-)] PA11 AIN[19]
5 [GPIO1] PA20 GPIO
6 [GPIO2] PA21 GPIO
7 [PWM(+)] PB12 TC4/WO[0]
8 [PWM(-)] PB13 TC4/WO[1]