Data Gateway Interface

The Embedded Debugger features a Data Gateway Interface (DGI) by using either an SPI or I2C. The DGI can be used to send a variety of data from the ATSAME54P20A to the host PC. For further information on how to use the DGI interface, see Data Visualizer and the EDBG User Guide.

Table 1. DGI Interface Connections when using SPI
SAM E54 pin Function Shared functionality
PD01 GPIO SPI SS (Slave select) (SAM E54 is Master) -
PC04 SERCOM6 PAD[0] SPI MOSI (Master Out, Slave in) EXT2 and EXT3
PC07 SERCOM6 PAD[3] SPI MISO (Master In, Slave Out) EXT2 and EXT3
PC05 SERCOM6 PAD[1] SPI SCK (Clock Out) EXT2 and EXT3
Table 2. DGI Interface Connections when using I2C
SAM E54 pin Function Shared functionality
PD08 SERCOM7 PAD[0] SDA (Data line) AT24MAC402, ATECC508, PCC, EXT2, and EXT3
PD09 SERCOM7 PAD[1] SCL (Clock line) AT24MAC402, ATECC508, PCC, EXT2, and EXT3

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 SAM E54 application code. For further information on how to configure and use the GPIO monitoring features, see Data Visualizer and the EDBG User Guide.

Table 3. GPIO Lines Connected to the EDBG
SAM E54 pin Function Shared functionality
PC16 GPIO0 PDEC
PC17 GPIO1 PDEC
PC18 GPIO2 PDEC and User LED
PB31 GPIO3 User SW0