Pin assignments

This section describes the pin assignment and the pin functions.

This device provides flexibility when it comes to routing and configuration of the GPIO pins. However, some pins have recommendations for how the pin should be configured or what it should be used for.

In addition to the information in the pinout tables for the respective packages, the following peripherals have dedicated pins that should be used for proper operation:

  • TWI - For the fastest TWI 1 Mbps mode, the two high-speed TWI pins must be configured in the TWI peripheral's PSEL registers, and the 20 mA open drain driver enabled using the E0E1 drive setting in the DRIVE field of the PIN_CNF GPIO register.
  • QSPI - For QSPI only the dedicated GPIO pins from the following table shall be used. These must be enabled using the Peripheral option of the PIN_CNF[p].MCUSEL register. The GPIO must use the high drive H0H1 configuration in the DRIVE field of the PIN_CNF GPIO register.
  • SPIM4 - For the 32 Mbps SPI mode, the special purpose GPIO pins are enabled using the Peripheral option of the PIN_CNF[p].MCUSEL register. When activated, the SPIM PSEL settings are ignored, and the dedicated pins are used. The GPIO must use the high drive H0H1 configuration in the DRIVE field of the PIN_CNF GPIO register.
  • TRACE - When using trace, the TRACEDATA[n] and TRACECLK GPIO pins must all use the extra high drive E0E1 configuration in the DRIVE field of the PIN_CNF GPIO register. Also, the TND option of the PIN_CNF[p].MCUSEL register must be used.
Table 1. Special GPIO considerations
GPIO pinDescription
P0.08 - P0.12Drive configuration E0E1 is available and must be used for TRACE. For 32 Mbps high-speed SPI using SPIM4, drive configuration H0H1 must be used.
P0.13 - P0.18The H0H1 drive configuration features the highest speeds of quad SPI using the direct connection of the QSPI peripheral.
P1.02 and P1.03The E0E1 drive configuration activates a 20 mA open-drain driver specifically designed for high-speed TWI.
Remaining pinsThe E0E1 drive configuration is not supported. Using the E0E1 drive configuration will cause incorrect operation.
Note: The extra high drive E0E1 drive configuration has limited availability. It is only available for the dedicated TRACE pins on P0.08 through P0.12. For the dedicated, high-speed TWIM pins on P1.02 and P1.03, the E0E1 drive configuration activates a powerful 20 mA open-drain driver specifically designed for high-speed TWI.

For all high-speed signals, the printed circuit board (PCB) layout must ensure that connections are made using short PCB traces. Refer to the manufacturer's PCB design recommendations for additional information.

aQFN94 pin assignments

The aQFN94 package has 94 pins in addition to four corner pads and a die pad.

Some pins are named N.C. (not connected). These pins can be left unconnected, or used as recommended in the pin assignments table.

Figure 1. aQFN™ pin assignments, top view. Corner and die pad is not illustrated.


Table 2. aQFN™ pin assignments
PinNameFunctionDescriptionRecommended usage
A5VBUSPower5 V input for USB 3.3 V regulator
A13DECAPowerAnalog regulator supply decoupling
A15DECDPowerDigital regulator supply decoupling
A17P1.13Digital I/OGeneral purpose I/O
A19VDDPowerPower supply
A21DCCPowerDC/DC converter output
A23DECNPowerRegulator supply decoupling
A25N.C.Connect to VSS
A27DECRPowerRegulator supply decoupling
B2D+USBUSB D+
B4D-USBUSB D-
B6DECUSBPowerUSB 3.3 V regulator supply decoupling
B8VDDPowerPower supply
B10DCCDPowerDC/DC converter output
B12N.C.Connect to VSS
B14P1.15Digital I/OGeneral purpose I/O
B16P1.14Digital I/OGeneral purpose I/O
B18P1.12Digital I/OGeneral purpose I/O
B20P1.11Digital I/OGeneral purpose I/O
B22P0.31Digital I/OGeneral purpose I/O
B24P0.30Digital I/OGeneral purpose I/O
B26N.C.Connect to VSS
B28VDDPowerPower supply
B30XC2Analog inputConnection for 32 MHz crystal
C1VDDPowerPower supply
C31XC1Analog inputConnection for 32 MHz crystal
D2N.C.
E1VDDHPowerPower supply
E31VDDPowerPower supply
F2N.C.
G1N.C.Connect to VSS
G31DECRFPowerRADIO power supply decoupling
H2N.C.Connect to VSS
J1DCCHPowerDC/DC converter output
J31N.C.Connect to VSS
K2N.C.
L1VDDPowerPower supply
L31ANTRFSingle-ended antenna connection
M2P1.00Digital I/OGeneral purpose I/O
N1

P0.00
XL1

Digital I/O
Analog input

General purpose I/O
Connection for 32 kHz crystal

N31VDDPowerPower supply
P2P1.01Digital I/OGeneral purpose I/O
R1

P0.01
XL2

Digital I/O
Analog input

General purpose I/O
Connection for 32 kHz crystal

R31P1.10Digital I/OGeneral purpose I/O
T2N.C.
U1VDDPowerPower supply
U31P0.29Digital I/OGeneral purpose I/O
V2

P0.04
AIN0

Digital I/O
Analog input

General purpose I/O
Analog input

W1

P0.02
NFC1

Digital I/O
NFC input

General purpose I/O
NFC antenna connection

W31SWDCLKDebugSerial wire debug clock input for debug and programming
Y2

P0.05
AIN1

Digital I/O
Analog input

General purpose I/O
Analog input

AA1

P0.03
NFC2

Digital I/O
NFC input

General purpose I/O
NFC antenna connection

AA31SWDIODebugSerial wire debug I/O for debug and programming
AB2

P0.06
AIN2

Digital I/O
Analog input

General purpose I/O
Analog input

AC1VDDPowerPower supply
AC31nRESETResetPin RESET with internal pull-up resistor
AD2

P0.07
AIN3

Digital I/O
Analog input

General purpose I/O
Analog input

AE1

P1.02
TWI

Digital I/O
TWI 1 Mbps

General purpose I/O
High-speed pin for 1 Mbps TWI

TWI
AE31

P0.28
AIN7

Digital I/O
Analog input

General purpose I/O
Analog input

AF2

P1.03
TWI

Digital I/O
TWI 1 Mbps

General purpose I/O
High-speed pin for 1 Mbps TWI

TWI
AG1VDDPowerPower supply
AG31N.C.
AH2

P0.08
TRACEDATA3
SCK

Digital I/O
Trace data
SCK for SPIM4

General purpose I/O
Trace buffer TRACEDATA[3]
Dedicated pin for high-speed SPI

Trace, SPIM4
AJ1

P0.09
TRACEDATA2
MOSI

Digital I/O
Trace data
MOSI for SPIM4

General purpose I/O
Trace buffer TRACEDATA[2]
Dedicated pin for high-speed SPI

Trace, SPIM4
AJ31VDDPowerPower supply
AK2

P0.10
TRACEDATA1
MISO

Digital I/O
Trace data
MISO for SPIM4

General purpose I/O
Trace buffer TRACEDATA[1]
Dedicated pin for high-speed SPI

Trace, SPIM4
AK4

P0.11
TRACEDATA0
CSN

Digital I/O
Trace data
CSN for SPIM4

General purpose I/O
Trace buffer TRACEDATA[0]
Dedicated pin for high-speed SPI

Trace, SPIM4
AK6

P0.12
TRACECLK
DCX

Digital I/O
Trace clock
DCX for SPIM4

General purpose I/O
Trace buffer clock
Dedicated pin for high-speed SPI

Trace, SPIM4
AK8

P0.14
IO1

Digital I/O
IO1 for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
AK10

P0.15
IO2

Digital I/O
IO2 for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
AK12

P0.17
SCK

Digital I/O
SCK for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
AK14

P0.18
CSN

Digital I/O
CSN for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
AK16P0.20Digital I/OGeneral purpose I/O
AK18P0.22Digital I/OGeneral purpose I/O
AK20P0.23Digital I/OGeneral purpose I/O
AK22P1.05Digital I/OGeneral purpose I/O
AK24P1.07Digital I/OGeneral purpose I/O
AK26P1.09Digital I/OGeneral purpose I/O
AK28

P0.25
AIN4

Digital I/O
Analog input

General purpose I/O
Analog input

AK30

P0.27
AIN6

Digital I/O
Analog input

General purpose I/O
Analog input

AL3VDDPowerPower supply
AL5

P0.13
IO0

Digital I/O
IO0 for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
AL7VDDPowerPower supply
AL9

P0.16
IO3

Digital I/O
IO3 for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
AL11VDDPowerPower supply
AL13P0.19Digital I/OGeneral purpose I/O
AL15P0.21Digital I/OGeneral purpose I/O
AL17VDDPowerPower supply
AL19P1.04Digital I/OGeneral purpose I/O
AL21P1.06Digital I/OGeneral purpose I/O
AL23P1.08Digital I/OGeneral purpose I/O
AL25VDDPowerPower supply
AL27P0.24Digital I/OGeneral purpose I/O
AL29

P0.26
AIN5

Digital I/O
Analog input

General purpose I/O
Analog input

Corner pads
A1N.C.
A31N.C.
AL1N.C.
AL31N.C.
Bottom of chip
Die padVSSPowerGround pad. Exposed die pad must be connected to ground (VSS) for proper device operation.

WLCSP pin assignments

This section describes the pin assignments for both the CLAA and CMAA pacakge variants.

Figure 2. WLCSP pin assignments, top view


Table 3. WLCSP pin assignments
PinNameFunctionDescriptionRecommended usage
A1XC1Analog inputConnection for 32 MHz crystal
A2XC2Analog inputConnection for 32 MHz crystal
A3VDDPowerPower supply
A5VSSPowerGround
A7DECDPowerRegulator supply decoupling
A9DCCDPowerDC/DC converter output
A11D-USBUSB D-
A12D+USBUSB D+
B1DECRFPowerRADIO power supply decoupling
B2VSSPowerGround
B4DECRPowerRegulator supply decoupling
B5DECNPowerRegulator supply decoupling
B6DCCPowerDC/DC converter output
B7VDDPowerPower supply
B8DECAPowerRegulator supply decoupling
B9VSSPowerGround
B10VDDPowerPower supply
B11VBUSPowerPower
B12VDDHPowerPower supply
C2VSSPowerGround
C4P0.30Digital I/OGeneral purpose I/O
C5P0.31Digital I/OGeneral purpose I/O
C6P1.11Digital I/OGeneral purpose I/O
C7P1.12Digital I/OGeneral purpose I/O
C8P1.13Digital I/OGeneral purpose I/O
C9P1.14Digital I/OGeneral purpose I/O
C10P1.15Digital I/OGeneral purpose I/O
C11DECUSBPowerUSB 3.3 V regulator supply decoupling
D1ANTRFSingle-ended antenna connection
D2VDDPowerPower supply
D10P1.00Digital I/OGeneral purpose I/O
D11DCCHPowerDC/DC converter output
D12VSSPowerGround
E2P0.29Digital I/OGeneral purpose I/O
E3

P0.28
AIN7

Digital I/O
Analog input

General purpose I/O
Analog input

E4P1.10Digital I/OGeneral purpose I/O
E5VSSPowerGround
E6VSSPowerGround
E7VSSPowerGround
E8VSSPowerGround
E10P1.01Digital I/OGeneral purpose I/O
E11VDDPowerPower supply
F1SWDIODebugSerial wire debug I/O for debug and programming
F2SWDCLKDebugSerial wire debug clock input for debug and programming
F3P1.08Digital I/OGeneral purpose I/O
F5VSSPowerGround
F6VSSPowerGround
F7VSSPowerGround
F8VSSPowerGround
F10

P0.05
AIN1

Digital I/O
Analog input

General purpose I/O
Analog input

F11

P0.00
XL1

Digital I/O
Analog input

General purpose I/O
Connection for 32 kHz crystal

F12

P0.01
XL2

Digital I/O
Analog input

General purpose I/O
Connection for 32 kHz crystal

G2nRESETResetPin RESET with internal pull-up resistor
G3P1.07Digital I/OGeneral purpose I/O
G5AVSSPowerGround
G6VSSPowerGround
G7VSSPowerGround
G8VSSPowerGround
G10

P0.04
AIN0

Digital I/O
Analog input

General purpose I/O
Analog input

G11

P0.02
NFC1

Digital I/O
NFC input

General purpose I/O
NFC antenna connection

H1

P0.27
AIN6

Digital I/O
Analog input

General purpose I/O
Analog input

H2P1.09Digital I/OGeneral purpose I/O
H3P0.23Digital I/OGeneral purpose I/O
H10

P0.06
AIN2

Digital I/O
Analog input

General purpose I/O
Analog input

H11VDDPowerPower supply
H12

P0.03
NFC2

Digital I/O
NFC input

General purpose I/O
NFC antenna connection

J2

P0.26
AIN5

Digital I/O
Analog input

General purpose I/O
Analog input

J3P1.06Digital I/OGeneral purpose I/O
J4P0.21Digital I/OGeneral purpose I/O
J5P0.19Digital I/OGeneral purpose I/O
J6

P0.12
TRACECLK
DCX

Digital I/O
Trace clock
DCX for SPIM4

General purpose I/O
Trace buffer clock
Dedicated pin for high-speed SPI

J7

P0.11
TRACEDATA0
CSN

Digital I/O
Trace data
CSN for SPIM4

General purpose I/O
Trace buffer TRACEDATA[0]
Dedicated pin for high-speed SPI

Trace, SPIM4
J8

P0.10
TRACEDATA1
MISO

Digital I/O
Trace data
MISO for SPIM4

General purpose I/O
Trace buffer TRACEDATA[1]
Dedicated pin for high-speed SPI

Trace, SPIM4
J9

P0.09
TRACEDATA2
MOSI

Digital I/O
Trace data
MOSI for SPIM4

General purpose I/O
Trace buffer TRACEDATA[2]
Dedicated pin for high-speed SPI

Trace, SPIM4
J10

P0.07
AIN3

Digital I/O
Analog input

General purpose I/O
Analog input

J11

P1.02
TWI

Digital I/O
TWI 1 Mbps

General purpose I/O
High-speed pin for 1 Mbps TWI

TWI
K1VDDPowerPower supply
K2P0.24Digital I/OGeneral purpose I/O
K3P1.04Digital I/OGeneral purpose I/O
K4P0.22Digital I/OGeneral purpose I/O
K5P0.20Digital I/OGeneral purpose I/O
K6AVSSPowerGround
K7

P0.18
CSN

Digital I/O
CSN for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
K8

P0.16
IO3

Digital I/O
IO3 for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
K9

P0.14
IO1

Digital I/O
IO1 for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
K10

P0.13
IO0

Digital I/O
IO0 for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
K11AVSSPowerGround
K12

P1.03
TWI

Digital I/O
TWI 1 Mbps

General purpose I/O
High-speed pin for 1 Mbps TWI

TWI
L1

P0.25
AIN4

Digital I/O
Analog input

General purpose I/O
Analog input

L3P1.05Digital I/OGeneral purpose I/O
L5VDDPowerPower supply
L7

P0.17
SCK

Digital I/O
SCK for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
L9

P0.15
IO2

Digital I/O
IO2 for QSPI

General purpose I/O
Dedicated pin for Quad SPI

QSPI
L11VDDPowerPower supply
L12

P0.08
TRACEDATA3
SCK

Digital I/O
Trace data
SCK for SPIM4

General purpose I/O
Trace buffer TRACEDATA[3]
Dedicated pin for high-speed SPI

Trace, SPIM4