4.5.3 Data Gateway Interface

The Embedded Debugger features a Data Gateway Interface (DGI) by using either an SPI or I²C. The DGI can be used for sending data from the SAM R34 to the host PC. For further information on how to use the DGI interface, refer to the Data Visualizer and the EDBG User Guide.

Table 4-13. DGI Interface Connections When Using SPI
SAM R34 PinFunctionShared Functionality
PA27GPIO/SPI SS (Slave Select) (SAM R34 is Master)-
PB02SERCOM5 PAD[0] SPI MISO (Master In, Slave Out)EXT1 and EXT3
PB22SERCOM5 PAD[2] SPI MOSI (Master Out, Slave in)EXT1 and EXT3
PB23SERCOM5 PAD[3] SPI SCK (Clock Out)EXT1 and EXT3
Table 4-14. DGI Interface Connections When Using I²C
SAM R34 PinFunctionShared Functionality
PA16SERCOM1 PAD[0] SDA (Data line)EXT1 and EXT3
PA17SERCOM1 PAD[1] SCL (Clock line)EXT1 and EXT3

Three 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 timestamp events in the SAM R34 application code. For further information on how to configure and use the GPIO monitoring features, refer to the Data Visualizer and the EDBG User Guide.

Table 4-15. GPIO Lines Connected to the EDBG
SAM R34 PinFunctionShared Functionality
PA08GPIO0EXT3
PA09GPIO1-
PA14GPIO3EXT3