4.3.3 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 SAM4N to the host PC. For further information on how to use the DGI interface, see the EDBG user guide.

Table 4-13. DGI Interface Connections When Using USART
Pin on SAM4NFunction
PC10USART TXD (SAM4N TX line)
PC9USART RXD (SAM4N RX line)
PC14USART CLK
Table 4-14. DGI Interface Connections When Using TWI
Pin on SAM4NFunction
PB0SDA (Data line)
PB1SCL (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 SAM4N application code. For further information on how to configure and use the GPIO monitoring features, see the EDBG user guide.

Table 4-15. GPIO Lines Connected To the EDBG
Pin on SAM4NFunction
PC21GPIO0
PC20GPIO1
PC19GPIO2
PC18GPIO3