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.

Table 4-36. DGI Interface Connections when using SPI
SAM V71 pinFunctionShared functionality
PD12GPIO/SPI0_NPCS2 (Slave select) (SAM V71 is Master)Camera
PD20SPI0_MISO (Master In, Slave Out)EXT1, EXT2, and Shield (2)
PD21SPI0_MOSI (Master Out, Slave in)EXT1, EXT2, Audio, Camera, and Shield (2)
PD22SPI0_SPCK (Clock Out)EXT1, EXT2, Camera, and Shield (2)
Table 4-37. DGI Interface Connections when using I2C
SAM V71 pinFunctionShared functionality
PA03TWD0 (Data line)EXT1, EXT2, LCD, Camera, Audio, PLL, MediaLB, EEPROM, Crypto, and Shield
PA04TWCK0 (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.

Table 4-38. GPIO Lines Connected to the EDBG
SAM V71 pinFunctionShared functionality
PA09GPIO0Camera and SW0
PA23GPIO1LED0
PD28GPIO2EXT1, Camera, LCD, and Shield (2)
PA02GPIO3EXT2, LCD, and Shield