3.2
Curiosity Pro Embedded Current Measurement Circuitry (XAM)
3.2.1
Overview
The Curiosity Pro Embedded Current Measurement Circuitry (XAM) extends the embedded debugger with high
dynamic range current measurement, and this enables the power profiling of the target system.
Figure 3-1. Curiosity Pro Embedded Current Measurement Circuitry (XAM)
The following are key features of the XAM:
• Calibration circuitry
• Voltage reference
• Analog front end
– Shunt resistors with a range selection switch
– Preamplifier
– Two active filters with gain
• Control MCU
– Analog-to-Digital Converter (ADC)
– Signal processing
– Control or communication interface to the EDBG
The current measurement front end is a high-side shunt measurement with a preamplifier, and a second active filter
stage with gain. The wide dynamic range is achieved by four measurement ranges which are defined by two shunts,
and the two parallel second stage active filters with gain.
3.2.2
EDBG Interface
The Curiosity Pro Embedded Current Measurement Circuitry (XAM) is connected to the EDBG with the following
interfaces:
• I
2
C: Used to control and configure the XAM.
• SPI: Current measurement data is streamed to the EDBG through this interface. This is a one-way data transfer
channel from the XAM to the EDBG.
• SWD: The MCU in the XAM is programmed through SWD from the EDBG.
• GPIO: At least one GPIO that is connected to the EDBG from the target MCU is also connected to the current
measurement unit to enable the user to sync current measurements with their application.
PIC32CM LE00/LS00/LS60
Curiosity Pro
©
2022 Microchip Technology Inc.
and its subsidiaries
User Guide
DS70005443E-page 9