Atmel SAM W25 Xplained Pro [USER GUIDE]
42463A-MCU-06/2015
12
Table 4-7. SWD Connections
Pin on SAM W25
Function
PA30
SWD clock
PA31
SWD data
4.3.2
Virtual COM Port
The Embedded Debugger acts as a Virtual Com Port gateway by using one of the ATSAMW25H18-MR510PB
UARTs. For further information on how to use the Virtual COM port see
“Embedded Debugger” on page 6
.
Table 4-8. Virtual COM Port Connections
Pin on SAM W25
Function
PA22
SERCOM3 PAD[0] UART TXD (SAM W25 TX line)
PA23
SERCOM3 PAD[1] UART RXD (SAM W25 RX line)
4.3.3
Atmel Data Gateway Interface
The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a SPI or I²C port.
The DGI can be used to send a variety of data from the SAM W25 to the host PC. For further information on
how to use the DGI interface see
“Embedded Debugger” on page 6
.
Table 4-9. DGI Interface Connections when using SPI
Pin on SAM W25
Function
PA06
SERCOM1 PAD[1] SPI SS (Slave select) (SAM W25 is Master)
PA16
SERCOM1 PAD[0] SPI MISO (Master In, Slave Out)
PA18
SERCOM1 PAD[2] SPI MOSI (Master Out, Slave in)
PA19
SERCOM1 PAD[3] SPI SCK (Clock Out)
Table 4-10. DGI Interface Connections when using I²C
Pin on SAM W25
Function
PA08
SERCOM0 PAD[0] SDA (Data line)
PA09
SERCOM0 PAD[1] SCL (Clock line)
Four GPIO lines are connected to the Embedded Debugger. The EDBG can monitor these lines and time
stamp pin value changes. This makes it possible to accurately time stamp events in the SAM W25 application
code. For further information on how to configure and use the GPIO monitoring features see
“Embedded
Debugger” on page 6
.
Table 4-11. GPIO Lines Connected to the EDBG
Pin on SAM W25
Function
PB22
GPIO0
PB23
GPIO1
PA22
GPIO2
PA23
GPIO3