Atmel Data Gateway Interface

The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a USART or TWI port. The DGI can be used to send a variety of data from the SAM4E to the host PC. For further information on how to use the DGI interface, see Embedded Debugger.

Table 1. DGI Interface Connections when using USART
Pin on SAM4E Function
PB0 RXD0
PB1 TXD0
PB13 SCK0
Table 2. DGI Interface Connections when using TWI
Pin on SAM4E Function
PA3 SDA (Data line)
PA4 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 SAM4E application code. For further information on how to configure and use the GPIO monitoring features, see Embedded Debugger.

Table 3. GPIO Lines Connected to the EDBG
Pin on SAM4E Function
PD27 GPIO0
PE3 GPIO1
PE4 GPIO2
PE2 GPIO3