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 1. DGI Interface Connections when using SPI
ATtiny817 Pin Function Shared Functionality
PC4 SPI SS (Slave select) (ATtiny817 is Master) -
PC2 SPI MOSI (Master Out, Slave in) EXT1 and EXT3
PC1 SPI MISO (Master In, Slave Out) EXT1 and EXT3
PC0 SPI SCK (Clock Out) EXT1 and EXT3
Table 2. DGI Interface Connections when using I²C
ATtiny817 Pin Function Shared Functionality
PA1 I2C SDA (Data line) EXT1 and EXT3
PA2 I2C 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 3. GPIO Lines Connected to the EDBG
ATtiny817 Pin Function Shared Functionality
PB5 GPIO0 EXT3 and SW0
PB6 GPIO1 EXT3