5.4.3 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 5-26. DGI Interface Connections when using SPI
SAM E54 pinFunctionShared functionality
PD01GPIO SPI SS (Slave select) (SAM E54 is Master)-
PC04SERCOM6 PAD[0] SPI MOSI (Master Out, Slave in)EXT2 and EXT3
PC07SERCOM6 PAD[3] SPI MISO (Master In, Slave Out)EXT2 and EXT3
PC05SERCOM6 PAD[1] SPI SCK (Clock Out)EXT2 and EXT3
Table 5-27. DGI Interface Connections when using I2C
SAM E54 pinFunctionShared functionality
PD08SERCOM7 PAD[0] SDA (Data line)AT24MAC402, ATECC508, PCC, EXT2, and EXT3
PD09SERCOM7 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 5-28. GPIO Lines Connected to the EDBG
SAM E54 pinFunctionShared functionality
PC16GPIO0PDEC
PC17GPIO1PDEC
PC18GPIO2PDEC and User LED
PB31GPIO3User SW0