4.4.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 to send a variety of data from the ATtiny817 to the host PC. For further information on how to use the DGI interface, see the Data Visualizer and the EDBG User Guide.

Table 4-10. DGI Interface Connections when using SPI
ATtiny817 PinFunctionShared Functionality
PC4SPI SS (Slave select) (ATtiny817 is Master)-
PC2SPI MOSI (Master Out, Slave in)EXT1 and EXT3
PC1SPI MISO (Master In, Slave Out)EXT1 and EXT3
PC0SPI SCK (Clock Out)EXT1 and EXT3
Table 4-11. DGI Interface Connections when using I²C
ATtiny817 PinFunctionShared Functionality
PA1I2C SDA (Data line)EXT1 and EXT3
PA2I2C SCL (Clock line)EXT1 and EXT3
Note: Signal functions in italic use alternative pin location. These have to be configured in the PORTMUX register of the device.

Two GPIO lines are connected to the Embedded Debugger. The EDBG can monitor these lines and timestamp pin value changes. This makes it possible to accurately timestamp events in the ATtiny817 application code. For further information on how to configure and use the GPIO monitoring features, see the Data Visualizer and the EDBG User Guide.

Table 4-12. GPIO Lines Connected to the EDBG
ATtiny817 PinFunctionShared Functionality
PB5GPIO0EXT3 and SW0
PB6GPIO1EXT3