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 1. DGI Interface Connections When Using USART
Pin on SAM4L8 Function
PC29 USART TXD (SAM4L8 TX line)
PC28 USART RXD (SAM4L8 RX line)
PC31 USART CLK
Table 2. DGI Interface Connections When Using TWI
Pin on SAM4L8 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 SAM4L8 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 EDBG
Pin on SAM4L8 Function
PB05 GPIO
PB06 GPIO
PB07 GPIO
PB10 GPIO