Atmel Data Gateway Interface

The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a SPI or I2C port. The DGI can be used to send a variety of data from the XMEGA 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 XMEGA Function
PD1 USARTD0 XCK0
PD2 USARTD0 RXD0
PD3 USARTD0 TXD0
Table 2. DGI Interface Connections when using I2C
Pin on XMEGA Function
PC0 TWIC SDA (Data line)
PC1 TWIC 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 XMEGA 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 XMEGA Function
PK4 GPIO0
PK5 GPIO1
PK6 GPIO2
PK7 GPIO3