4.3.3 Atmel Data Gateway Interface

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 SAM4L8 to the host PC. For further information on how to use the DGI interface see the EDBG user guide.

Table 4-13. DGI Interface Connections When Using USART
Pin on SAM4L8Function
PC29USART TXD (SAM4L8 TX line)
PC28USART RXD (SAM4L8 RX line)
PC31USART CLK
Table 4-14. DGI Interface Connections When Using TWI
Pin on SAM4L8Function
PA23SDA (Data line)
PA24SCL (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 SAM4L8 application code. For further information on how to configure and use the GPIO monitoring features see the EDBG user guide.

Table 4-15. GPIO Lines Connected to the EDBG
Pin on SAM4L8Function
PB05GPIO
PB06GPIO
PB07GPIO
PB10GPIO