4.3.3 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 4-13. DGI Interface Connections when using USART
Pin on XMEGAFunction
PD1USARTD0 XCK0
PD2USARTD0 RXD0
PD3USARTD0 TXD0
Table 4-14. DGI Interface Connections when using I2C
Pin on XMEGAFunction
PC0TWIC SDA (Data line)
PC1TWIC 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 4-15. GPIO Lines Connected to the EDBG
Pin on XMEGAFunction
PK4GPIO0
PK5GPIO1
PK6GPIO2
PK7GPIO3