Figure 4-2. Monitoring Debug GPIO with MPLAB
Debug GPIO channels are timestamped, so 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 be aborted.
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.
4.2
Curiosity Nano Standard Pinout
The 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout. The
program/debug pins have different functions depending on the target programming interface, as shown in the table
and figure below.
Table 4-3. Curiosity Nano Standard Pinout
Debugger Signal
ID
CDC TX
CDC RX
DBG0
DBG1
DBG2
DBG3
NC
©
2020 Microchip Technology Inc.
®
Data Visualizer
Target MCU
—
UART RX
UART TX
ICSPDAT
ICSPCLK
GPIO0
MCLR
—
User Guide
PIC18F16Q40 Curiosity Nano
Description
ID line for extensions
USB CDC TX line
USB CDC RX line
Debug data line
Debug clock line
debug GPIO0
Reset line
No connect
Curiosity Nano
DS50003047A-page 14
Need help?
Do you have a question about the PIC18F16Q40 Curiosity Nano and is the answer not in the manual?