Peripheral
Peripheral pin
MCU Pin
EXP Header pin
number
Comparator 0
CMP0P Positive Input Any supported pin (see Reference Manual for more information)
Multiple
CMP0N Negative In-
put
Any supported pin (see Reference Manual for more information)
Multiple
Comparator 1
CMP1P Positive Input Any supported pin (see Reference Manual for more information)
Multiple
CMP1N Negative In-
put
Any supported pin (see Reference Manual for more information)
Multiple
Note:
This table only sums up some of the alternate functions available on the expansion header. Consult the EFM8BB22F16G data
sheet for a complete list of alternate functions.
6.3 Debug Connector
This connector is used for Debug In and Debug Out (see chapter on Debugging).
Figure 6.3. Debug Connector
Table 6.2. Debug Connector Pinout
Pin num-
ber
Function
Note
1
VTARGET
Target voltage on the debugged application.
Note:
This connection is required and is needed for the debug circuitry to match voltage levels
with the target device.
2
TMS/SWDIO/C2D
JTAG TMS, Serial Wire data I/O, or EFM8 C2 data I/O
4
TCK/SWCLK/C2CK
JTAG TCK, Serial Wire clock, or EFM8 C2 clock
6
TDO/SWO
JTAG TDO or Serial Wire Output
8
TDI
JTAG data in
9
ATTACH
This signal must be pulled to ground by the external debugger or application for cable insertion
detection.
10
#RESET
Target MCU reset.
12
TRACECLK
Trace clock
14, 16,
18, 20
TRACED0-3
Trace data (4 lines)
11, 13
NC
Not Connected
3, 5, 15,
17, 19
GND
UG237: EFM8BB2-SLSTK2021A User's Guide
Connectors
silabs.com
| Building a more connected world.
Rev. 0.4 | 12