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 USARTPin on SAM4N | Function |
---|
PC10 | USART TXD (SAM4N TX line) |
PC9 | USART RXD (SAM4N RX line) |
PC14 | USART CLK |
Table 4-14. DGI Interface Connections
When Using TWIPin on SAM4N | Function |
---|
PB0 | SDA (Data line) |
PB1 | 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 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 EDBGPin on SAM4N | Function |
---|
PC21 | GPIO0 |
PC20 | GPIO1 |
PC19 | GPIO2 |
PC18 | GPIO3 |