User's Guide

3.2 PIN MAPPING BETWEEN MCU AND CONNECTORS
There are 52 pins of 6 connectors shown in Figure 2-2. 22 of the 52 pins configured by firmware
of MCU can be used for high/low output to control the receiver, LNA, transmitter, PA functions ,
or converted into serial USART/SPI/I2C control signals to communicate with different peripheral
devices to be integrated in user's system, such as: OLED, GPS module, LED, Wi-Fi module... Etc.
Depend on the peripherals, the user can use the Microchip studio to conduct the firmware
program incorporating with external control through magnets. Table 3-4 indicates the pin
mapping required for firmware programming.
11
Connector
Pin no.
Pin of MCU Type Description
P21A_02
1~6 GND -
GND
P21B_02
1 PB13 I/O
ATSAMD20J18A MCU I/O port
2 VCC_P3V3 O
After feed in 3.3~5V DC battery power to the pin V_IN and (1)
place a magnet on Hall Switch-1 or (2) pull up pin 3V3_EN_1 to VIH,
pin VCC_P3V3 will output 3.3V DC power.
3 PB12 I/O
ATSAMD20J18A MCU I/O port
4 PB10 I/O
ATSAMD20J18A MCU I/O port
5 GND -
GND
6 PB11 I/O
ATSAMD20J18A MCU I/O port
P24A_02
1 PB22 I/O
ATSAMD20J18A MCU I/O port
2 PB23 I/O
ATSAMD20J18A MCU I/O port
3 PA22 I/O
ATSAMD20J18A MCU I/O port
4 PA27 I/O
ATSAMD20J18A MCU I/O port
5 PA23 I/O
ATSAMD20J18A MCU I/O port
6 PA28 I/O
ATSAMD20J18A MCU I/O port
7~10
GND -
GND
11~12
3V3_EN_1 I
VIH : 2.5~4.2 V, VIL : 1.35~0V ; Pull up to VIH to power on the
module.
P24B_02
1 PB03 I/O
ATSAMD20J18A MCU I/O port
2,4,6
V_IN I
Here to feed in battery 3.3~5V DC power
3 PB02 I/O
ATSAMD20J18A MCU I/O port
5 PB01 I/O
ATSAMD20J18A MCU I/O port
7 PB00 I/O
ATSAMD20J18A MCU I/O port
8,10,1
2
GND -
GND
9 PB31 I/O
ATSAMD20J18A MCU I/O port
11 VCC_P3V3 O
After feed in 3.3~5V DC battery power to the pin V_IN and (1)
place a magnet on Hall Switch-1 or (2) pull up pin 3V3_EN_1 to VIH,
pin VCC_P3V3 will output 3.3V DC power.
P25A_02
1,3,5
GND -
GND
2 PB09 I/O
ATSAMD20J18A MCU I/O port
4 PA04 I/O
ATSAMD20J18A MCU I/O port
6 PA05 I/O
ATSAMD20J18A MCU I/O port
7 PA07 I/O
ATSAMD20J18A MCU I/O port
8 PA06 I/O
ATSAMD20J18A MCU I/O port
P25B_02
1,3,5,7
GND -
GND
2,4 VCC_P3V3 O
After feed in 3.3~5V DC battery power to the pin V_IN and (1)
place a magnet on Hall Switch-1 or (2) pull up pin 3V3_EN_1 to VIH,
pin VCC_P3V3 will output 3.3V DC power.
6 PB07 I/O
ATSAMD20J18A MCU I/O port
8 PB08 I/O
ATSAMD20J18A MCU I/O port
Table 3-4 Pin mapping of connectors