Figure 4-6. Jumpers Bottom
4.5
Embedded Debugger Implementation
SAMC21N Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and
debug the ATSAMC21N18A using Serial Wire Debug (SWD). The Embedded Debugger also include a
Virtual Com port interface over UART, an Atmel Data Gateway Interface over SPI, and TWI and it
includes four of the SAMC21N GPIOs. Atmel Studio can be used as a front end for the Embedded
Debugger.
4.5.1
Serial Wire Debug
The Serial Wire Debug (SWD) use two pins to communicate with the target. For further information on
how to use the programming and debugging capabilities of the EDBG, see
Table 4-29. SWD Connections
SAMC21N pin
Function
PA30
SWCLK
PA31
SWDIO
SAMC21N Xplained Pro
©
2017 Microchip Technology Inc.
User Guide
DS70005318A-page 28