EasyManuals Logo

Microchip Technology SAM E54 Xplained Pro User Manual

Microchip Technology SAM E54 Xplained Pro
52 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #30 background imageLoading...
Page #30 background image
5.4 Embedded Debugger Implementation
SAM E54 Xplained Pro contain an Embedded Debugger (EDBG) that can be used to program and debug
the ATSAME54P20A using Serial Wire Debug (SWD). The Embedded Debugger also includes a Virtual
Com port interface over UART, a Data Gateway Interface over SPI, and I
2
C, and it includes four of the
SAM E54 GPIOs. The kit also includes an XAM extension processor to the Embedded Debugger for on-
board current measurement. Atmel Studio can be used as a front end for the Embedded Debugger.
5.4.1 Serial Wire Debug
The Serial Wire Debug (SWD) uses two pins to communicate with the target. For further information on
how to use the programming and debugging capabilities of the EDBG, see Embedded Debugger.
Table 5-24. SWD Connections
SAM E54 pin Function Shared functionality
PA30 SWCLK clock Cortex DBG and TRACE
PA31 SWDIO data Cortex DBG and TRACE
PB30 SWO output Cortex DBG and TRACE
RESET_N RESET Cortex DBG, TRACE, and RST BTN
5.4.2 Virtual COM Port
The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAME54P20A
UARTs. For further information on how to use the Virtual COM port, see Embedded Debugger.
Table 5-25. Virtual COM Port Connections
SAM E54 pin Function Shared functionality
PB24 SERCOM2 PAD[1] UART RXD (SAM E54 RX line) -
PB25 SERCOM2 PAD[0] UART TXD (SAM E54 TX line) -
5.4.3 Data Gateway Interface
The Embedded Debugger features a Data Gateway Interface (DGI) by using either an SPI or I
2
C. The
DGI can be used to send a variety of data from the ATSAME54P20A to the host PC. For further
information on how to use the DGI interface, see Data Visualizer and the EDBG User Guide.
Table 5-26. DGI Interface Connections when using SPI
SAM E54 pin Function Shared functionality
PD01 GPIO SPI SS (Slave select) (SAM E54
is Master)
-
PC04 SERCOM6 PAD[0] SPI MOSI (Master
Out, Slave in)
EXT2 and EXT3
PC07 SERCOM6 PAD[3] SPI MISO (Master
In, Slave Out)
EXT2 and EXT3
PC05 SERCOM6 PAD[1] SPI SCK (Clock Out) EXT2 and EXT3
SAM E54 Xplained Pro
© 2017 Microchip Technology Inc.
DS70005321A-page 30

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Microchip Technology SAM E54 Xplained Pro and is the answer not in the manual?

Microchip Technology SAM E54 Xplained Pro Specifications

General IconGeneral
BrandMicrochip Technology
ModelSAM E54 Xplained Pro
CategoryMicrocontrollers
LanguageEnglish

Related product manuals