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.
SAM R34 Pin | Function | Shared Functionality |
---|---|---|
PA27 | GPIO/SPI SS (Slave Select) (SAM R34 is Master) | - |
PB02 | SERCOM5 PAD[0] SPI MISO (Master In, Slave Out) | EXT1 and EXT3 |
PB22 | SERCOM5 PAD[2] SPI MOSI (Master Out, Slave in) | EXT1 and EXT3 |
PB23 | SERCOM5 PAD[3] SPI SCK (Clock Out) | EXT1 and EXT3 |
SAM R34 Pin | Function | Shared Functionality |
---|---|---|
PA16 | SERCOM1 PAD[0] SDA (Data line) | EXT1 and EXT3 |
PA17 | SERCOM1 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.