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 SAM4L to the host PC. For further information on how to use the
DGI interface, see the EDBG user guide.
Table 1. DGI Interface Connections
When Using USARTPin on SAM4L |
Function |
PC29 |
USART TXD (SAM4L TX line) |
PC28 |
USART RXD (SAM4L RX line) |
PC31 |
USART CLK |
Table 2. DGI Interface Connections
When Using TWIPin on SAM4L |
Function |
PA23 |
SDA (Data line) |
PA24 |
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 SAM4L application code. For further information on how
to configure and use the GPIO monitoring features, see the EDBG user guide.
Table 3. GPIO Lines Connected To
the EDBGPin on SAM4L |
Function |
PB05 |
GPIO |
PB06 |
GPIO |
PB07 |
GPIO |
PB10 |
GPIO |