SAM V71 Xplained Ultra

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 1. DGI Interface Connections when using SPI
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)
Table 2. DGI Interface Connections when using I2C
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.

Table 3. GPIO Lines Connected to the EDBG
SAM V71 pin Function Shared functionality
PA09 GPIO0 Camera and SW0
PA23 GPIO1 LED0
PD28 GPIO2 EXT1, Camera, LCD, and Shield(2)
PA02 GPIO3 EXT2, LCD, and Shield