...
Prepare the SAM C21 Xplained Pro
Set Supply Voltage to 3.3 V
Make sure that the jumper on the 3-pin header labeled VCC_SEL is set to 3.3 V, as seen in Figure 1. This will select 3.3 V as the supply voltage for the ATSAMC21J18A, peripherals and extension headers, which is important as we will power the mote from the latter.
Warning |
---|
The supply voltage is by default set to 5.0 V, which will fry your mote instantly! |
Anchor | ||||
---|---|---|---|---|
|
Figure 1: Xplained Pro VCC selection header.
Connect to Mote
Figure 12: Mote connected to the SAM C21 Xplained Pro.
The Xplained Pro has three extension headers (EXT1, EXT2, EXT3) with pins as listed in Table 1. In Figure 2 you can see the mote connected to EXT1 with the mapping listed in Table 2, but it doesnt matter which one you use: The pins for UART RX/TX are all connected to the same pins on the SAM C21.
Name | Pin # | Name | |
---|---|---|---|
ID | 1 | 2 | GND |
ADC+ | 3 | 4 | ADC- |
GPIO0 | 5 | 6 | GPIO1 |
PWM+ | 7 | 8 | PWM- |
IRQ | 9 | 10 | SPI_SS_B |
TWI_SDA | 11 | 12 | TWI_SCL |
UART_RX | 13 | 14 | UART_TX |
SPI_SS_A | 15 | 16 | SPI_MOSI |
SPI_MISO | 17 | 18 | SPI_SCK |
GND | 19 | 20 | VCC |
Table 1: Xplained Pro Standard Extention Header.
Xplained Pro | Mote |
---|---|
VCC | VBAT |
GND | GND |
UART_TX | RX |
UART_RX | TX |
GND | RX RTSn |
GND | TX CTSn |
Table 2: Xplained Pro to mote pin mapping.
...