Mechanical Buttons; Led; Embedded Debugger Implementation; Serial Wire Debug - Atmel SAM4E Xplained Pro User Manual

Hide thumbs Also See for SAM4E Xplained Pro:
Table of Contents

Advertisement

cutting the strap and adding a resistor across the strap. More information about oscillator allowance and safety
factor can be found in appnote
Table 4-12. External 32.768kHz Crystals
Pin on SAM4E
PA7
PA8
Table 4-13. External 12MHz Crystals
Pin on SAM4E
PB9
PB8
4.2.8

Mechanical Buttons

SAM4E Xplained Pro contains two mechanical buttons. One button is the RESET button connected to the
SAM4E 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. Note that in order to read the button status the internal pull-up must be enabled on PA2.
Table 4-14. Mechanical Buttons
Pin on SAM4E
NRST
PA2
4.2.9

LED

There is one yellow LED available on the SAM4E 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-15. LED Connections
Pin on SAM4E
PD22
4.3

Embedded Debugger Implementation

SAM4E Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and debug the
ATSAM4E16E 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 monitors four of the SAM4E
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-16. SWD Connections
Pin on SAM4E
PB7
PB6
PB5
PB12
4.3.2

Virtual COM Port

The Embedded Debugger act as a Virtual Com Port gateway by using one of the ATSAM4E16E UARTs. For
further information on how to use the Virtual COM port see
1
http://www.atmel.com/images/doc8333.pdf
1
AVR4100
.
Function
XIN32
XOUT32
Function
XIN
XOUT
Silkscreen text
RESET
SW0
LED
Yellow LED0
Function
SWD clock
SWD data
SWD trace output
Erase
"Embedded Debugger" on page
"Embedded Debugger" on page
Atmel SAM4E Xplained Pro [USER GUIDE]
6.
6.
18
42216A-MCU-01/2014

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SAM4E Xplained Pro and is the answer not in the manual?

Questions and answers

Table of Contents