background image

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

Содержание PIC32CM LE00

Страница 1: ...s The Curiosity Pro evaluation kits include an on board embedded debugger to program or debug the target microcontroller This enables an easy start to a project and provides application examples that...

Страница 2: ...eripherals 20 4 4 Embedded Debugger Implementation 22 4 5 Embedded Current Measurement Circuitry XAM Configuration 24 5 Product Identifier and Revision 25 6 Revision History 26 The Microchip Website 2...

Страница 3: ...complex data types including scope information Programming and debugging including power measurements Data Gateway Interface SPI I2C four GPIOs Virtual COM port CDC Embedded current measurement circui...

Страница 4: ...LS60 Curiosity Pro Evaluation Board Layout Top View 1 2 3 8 4 9 10 10 8 5 13 11 11 12 12 12 12 12 6 11 7 14 15 PIC32CM LE00 LS00 LS60 Introduction 2022 Microchip Technology Inc and its subsidiaries U...

Страница 5: ...ure 1 2 PIC32CM LE00 LS00 LS60 Curiosity Pro Evaluation Board Layout Bottom View 16 17 PIC32CM LE00 LS00 LS60 Introduction 2022 Microchip Technology Inc and its subsidiaries User Guide DS70005443E pag...

Страница 6: ...rrent Measurement jumpers 16 Embedded Debugger EDBG 17 Embedded Current Measurement XAM Table 1 2 PIC32CM LE00 LS00 LS60 Microchip Total System Solutions TSS TSS Components Quantity per board Function...

Страница 7: ...8 and Windows 10 When the Curiosity Pro MCU board is powered the power LED green will glow and MPLAB X IDE will auto detect the specific Curiosity Pro MCU and extension boards that are connected to it...

Страница 8: ...e Note The virtual COM port in the EDBG requires the terminal software to set the data terminal ready DTR signal to enable the UART pins connected to the microcontroller If the DTR signal is not enabl...

Страница 9: ...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...

Страница 10: ...ange 2 Low current shunt and low gain stage 150 nA 1 LSB 1 Range 3 High current shunt and high gain stage 10 A 1 LSB 1 Range 4 High current shunt and low gain stage 100 A 1 LSB 1 Above 100 mA the erro...

Страница 11: ...ed to supply the kit and the USB device Recommended maximum is 2A POWER Note External power is required when 500 mA from a USB connector is not enough to power the board with possible extension boards...

Страница 12: ...headers with a pitch of 2 54 mm which can be used to connect to a variety of Xplained Pro extension boards or to access the pins of the target The Curiosity Pro evaluation kits have male headers and...

Страница 13: ...the ID Chip on the extension board 2 GND GND Ground 3 ADC PA02 ADC AIN 0 mikroBUS 4 ADC PA03 ADC AIN 1 Arduino 5 GPIO1 PA10 GPIO Arduino 6 GPIO2 PA11 GPIO Arduino 7 PWM PB08 TC0 WO 0 mikroBUS 8 PWM PB...

Страница 14: ...CDC 15 SPI_SS_A PC24 SERCOM4 PAD 2 SS_A EDBG DGI 16 SPI_MOSI PB24 SERCOM4 PAD 0 MOSI EDBG DGI 17 SPI_MISO PC25 SERCOM4 PAD 3 MISO EDBG DGI 18 SPI_SCK PB25 SERCOM4 PAD 1 SCK EDBG DGI 19 GND GND Ground...

Страница 15: ...ing table provides the mikroBUS header details Table 4 7 mikroBUS Header Connector J605 J606 mikroBUS Pin MCU Pin Function Shared Functionality AN PA02 ADC AIN 0 EXT1 RST PB04 GPIO EXT1 CS PB00 SERCOM...

Страница 16: ...N N C Table 4 9 Analog J501 J501 Pin SHIELD_ANA MCU Pin Function Shared Functionality 1 A0 PC00 ADC AIN 20 2 A1 PC01 ADC AIN 21 3 A2 PC02 ADC AIN 22 4 A3 PC03 ADC AIN 23 5 A4 PB05 ADC AIN 13 EXT2 6 A5...

Страница 17: ...D 0 SPI MOSI EXT3 5 RESET RESET TARGET_RESETN EDBG SWD Cortex Debug PICkit 4 Interface RESET button 6 GND GND 4 2 5 MCU Current Measurement Header An angled 1x2 100 mil pin header marked with CURRENT...

Страница 18: ...xternal debug probes to the PIC32CM LE00 LS00 LS60 Table 4 15 Cortex Debug Header J400 Cortex Debug Header Pin MCU Pin Function Shared Functionality 1 VCC VCC_TARGET_P3V3 2 SWDIO TMS PA31 SWDIO SWDIO...

Страница 19: ...tionality 3 GND GND 4 SWO N C 5 SWCLK PA30 SWCLK SWCLK EDBG SWD Cortex Debug 6 N C N C 7 N C N C 8 SWDIO PA31 SWDIO SWDIO EDBG SWD Cortex Debug PIC32CM LE00 LS00 LS60 Hardware User Guide 2022 Microchi...

Страница 20: ...et button connected to the PIC32CM LE00 LS00 LS60 reset line and two generic user configurable buttons When a button is pressed it will drive the I O line to GND The mechanic button details are provid...

Страница 21: ...ouch Library Table 4 21 Touch Button Connection Silkscreen Text Schematics Text MCU Pin Function Shared Functionality BTN BTN PB12 PTC XY 30 BTN SHIELD PA01 GPIO 4 3 5 Potentiometer One Round Trimming...

Страница 22: ...PIC32CM LE00 LS00 LS60 UARTs For additional information on how to use the virtual COM port refer to the Embedded Debugger User Guide Table 4 24 Virtual COM Port CDC Connection Schematics Text MCU Pin...

Страница 23: ...curately time stamp events in the application code Table 4 27 GPIO Lines Connected to the EDBG Schematics Text MCU Pin Function Shared Functionality DGI_GPIO0 PC13 GPIO DGI_GPIO1 PC14 GPIO DGI_GPIO2 P...

Страница 24: ...owing four configurations No current measurement or external MCU current measurement The XAM is bypassed and the MCU and the on board Peripherals Components are supplied by the regulator Set both the...

Страница 25: ...aining the kit details such as its serial number will be displayed The board serial number string has the following format MPLAB X IDE MCHPnnnnrrssssssssss PCB A09 nnnn rr SN ssssssssss Where n Produc...

Страница 26: ...DBG I2C to EDBG DGI in the following sections Extension Headers mikroBUS Header Connector Arduino Uno Header Connectors Rev C 08 2021 Minor typographical edits were done throughout this document revis...

Страница 27: ...h the website at www microchip com support Microchip Devices Code Protection Feature Note the following details of the code protection feature on Microchip devices Microchip products meet the specific...

Страница 28: ...us logo Quiet Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProvider Vite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the U S A Adjacent Key S...

Страница 29: ...men Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91 20 4121 0141 Japan Osaka Tel 81 6 6152 7160 Japan Tokyo...

Отзывы: