4.5.3 Atmel Data Gateway Interface
The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a SPI or I2C port. The DGI can be used to send a variety of data from the ATSAMV71Q21 to the host PC. For further information on how to use the DGI interface, see Embedded Debugger.
SAM V71 pin | Function | Shared functionality |
---|---|---|
PD12 | GPIO/SPI0_NPCS2 (Slave select) (SAM V71 is Master) | Camera |
PD20 | SPI0_MISO (Master In, Slave Out) | EXT1, EXT2, and Shield (2) |
PD21 | SPI0_MOSI (Master Out, Slave in) | EXT1, EXT2, Audio, Camera, and Shield (2) |
PD22 | SPI0_SPCK (Clock Out) | EXT1, EXT2, Camera, and Shield (2) |
SAM V71 pin | Function | Shared functionality |
---|---|---|
PA03 | TWD0 (Data line) | EXT1, EXT2, LCD, Camera, Audio, PLL, MediaLB, EEPROM, Crypto, and Shield |
PA04 | TWCK0 (Clock line) | EXT1, EXT2, LCD, Camera, Audio, PLL, MediaLB, EEPROM, Crypto, and Shield |
Four 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 time stamp events in the SAM V71 application code. For further information on how to configure and use the GPIO monitoring features, see Embedded Debugger.