Table 4.7. External 32.768kHz crystals.
Pin on SAM4L
XIN32
XOUT32
Table 4.8. External 12MHz crystals.
Pin on SAM4L
PA00
PA01
4.2.3
Mechanical buttons
The SAM4L Xplained Pro contains two mechanical buttons. One button is the RESET button connected to the
SAM4L reset line and the other is a generic user configurable button. When a button is pressed it will drive the
I/O line to GND.
Table 4.9. Mechanical buttons.
Pin on SAM4L
RESET_N
PA24
4.2.4
LED
There is one yellow LED available on the SAM4L 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 SAM4L
PC07
4.3
Embedded Debugger implementation
The SAM4L Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and debug
the ATSAM4LC4C 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 SAM4L 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
Table 4.11. SWD connections.
Pin on SAM4L
TCK
PA03
PA23
4.3.2
Virtual COM port
The Embedded Debugger act as a Virtual Com Port gateway by using one of the ATSAM4LC4C UARTs. For
further information on how to use the Virtual COM port see
Table 4.12. Virtual COM port connections.
Pin on SAM4L
PC27
PC26
Function
XIN32
XOUT32
Function
XIN0
XOUT0
Silkscreen text
RESET
SW0
LED
Yellow LED0
"Embedded Debugger" on page
Function
SWD clock
SWD data
SWD trace data
"Embedded Debugger" on page
Function
UART TXD (SAM4L TX line)
UART RXD (SAM4L RX line)
Atmel SAM4L Xplained Pro [USER GUIDE]
7.
7.
15
42074A-MCU-02/13
Need help?
Do you have a question about the Xplained Pro SAM4L and is the answer not in the manual?
Questions and answers