![Atmel SAM4L8 Xplained Pro User Manual Download Page 20](http://html1.mh-extra.com/html/atmel/sam4l8-xplained-pro/sam4l8-xplained-pro_user-manual_3003497020.webp)
Table 4-9. Mechanical Buttons
Pin on SAM4L8
Silkscreen text
RESET_N
RESET
PC24
SW0
4.2.4.
LED
There is one yellow LED available on the SAM4L8 Xplained Pro board that can be turned on and off. The
LED can be activated by driving the connected I/O line to GND.
Table 4-10. LED Connections
Pin on SAM4L8
LED
PC07
Yellow LED0
4.3.
Embedded Debugger Implementation
The SAM4L8 Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and
debug the ATSAM4LC8CA using Serial Wire Debug (SWD). The Embedded debugger also include a
Virtual Com port interface over UART, an Atmel Data Gateway Interface over synchronous UART and
TWI and it monitors four of the SAM4L8 GPIOs. Atmel Studio can be used as a front end for the
Embedded Debugger.
4.3.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 the EDBG user guide.
Table 4-11. SWD Connections
Pin on SAM4L8
Function
TCK
SWD clock
PA03
SWD data
PA23
SWD trace data
4.3.2.
Virtual COM Port
The Embedded Debugger act as a Virtual Com Port gateway by using one of the ATSAM4LC8CA UARTs.
For further information on how to use the Virtual COM port see the EDBG user guide.
Table 4-12. Virtual COM Port Connections
Pin on SAM4L8
Function
PC27
UART TXD (SAM4L8 TX line)
PC26
UART RXD (SAM4L8 RX line)
4.3.3.
Atmel Data Gateway Interface
The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a synchronous
USART or TWI port. The DGI can be used to send a variety of data from the SAM4L8 to the host PC. For
further information on how to use the DGI interface see the EDBG user guide.
Atmel SAM4L8 Xplained Pro [USER GUIDE]
Atmel-42103B-SAM4L8-Xplained-Pro_User Guide-04/2016
20
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from