4.1.4
Data Gateway Interface
Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between the on-board
debugger and Host computer-based visualization tools.
display debug GPIO data. It is available as a plug-in for MPLAB X IDE or as a stand-alone application that can be
used in parallel with MPLAB X IDE.
Although DGI encompasses several physical data interfaces, the SAM-IoT Wx v2 development board implementation
includes a logic analyzer channel: one debug GPIO channel (also known as DGI GPIO).
4.1.4.1
Debug GPIO
Debug GPIO channels are timestamped digital signal lines connecting the target application to a Host computer
visualization application. They are typically used to plot the occurrence of low-frequency events on a time-axis. For
example, when certain application state transitions occur.
The following figure shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO in
MPLAB Data Visualizer.
Figure 4-2. Monitoring Debug GPIO with MPLAB Data Visualizer
Debug GPIO channels are timestamped, therefore the resolution of DGI GPIO events is determined by the resolution
of the DGI timestamp module.
Important: Although bursts of higher-frequency signals can be captured, the useful frequency range of
signals for which debug GPIO can be used is up to about 2 kHz. Attempting to capture signals above this
frequency will result in data saturation and overflow, which may cause the DGI session to abort.
4.1.4.2
Timestamping
DGI sources are timestamped as they are captured by the debugger. The timestamp counter implemented in the
Curiosity Nano debugger increments at 2 MHz frequency, providing a timestamp resolution of a half microsecond.
©
2022 Microchip Technology Inc.
and its subsidiaries
MPLAB Data Visualizer
is used on the Host computer to
User Guide
SAM-IoT Wx v2
Hardware User Guide
DS70005506A-page 12
Need help?
Do you have a question about the SAM-IoT Wx v2 and is the answer not in the manual?
Questions and answers