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 USARTPin on XMEGA | Function |
---|
PD1 | USARTD0 XCK0 |
PD2 | USARTD0 RXD0 |
PD3 | USARTD0 TXD0 |
Table 4-14. DGI Interface Connections
when using I2CPin 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 4-15. GPIO Lines Connected to
the EDBGPin on XMEGA | Function |
---|
PK4 | GPIO0 |
PK5 | GPIO1 |
PK6 | GPIO2 |
PK7 | GPIO3 |