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 ATmega4809 to the host PC. For further information on how to use the DGI interface, see Data Visualizer and the EDBG User Guide.
ATmega4809 Pin | Function | Shared Functionality |
---|---|---|
PF3 | GPIO SPI SS (Slave select) (ATmega4809 is Master) | - |
PA4 | SPI0 MOSI (Master Out, Slave In) | EXT1, EXT2, EXT3, mikroBUS™ |
PA5 | SPI0 MISO (Master In, Slave Out) | EXT1, EXT2, EXT3, mikroBUS™ |
PA6 | SPI0 SCK (Clock Out) | EXT1, EXT2, EXT3, mikroBUS™ |
ATmega4809 Pin | Function | Shared Functionality |
---|---|---|
PC2 | TWI0 SDA | EXT1, EXT2, EXT3, mikroBUS™, CryptoAuthentication™ footprint |
PC3 | TWI0 SCL | EXT1, EXT2, EXT3, mikroBUS™, CryptoAuthentication™ footprint |
Four GPIO lines are connected to the Embedded Debugger. The EDBG can monitor these lines and time stamp pin value changes, which make it possible to accurately time-stamp events in the ATmega4809 application code. For further information on how to configure and use the GPIO monitoring features, see Data Visualizer and the EDBG User Guide.