Microchip PIC32CM5164JH01048 Bedienungsanleitung

Microchip Nicht kategorisiert PIC32CM5164JH01048

Lesen Sie kostenlos die 📖 deutsche Bedienungsanleitung für Microchip PIC32CM5164JH01048 (37 Seiten) in der Kategorie Nicht kategorisiert. Dieser Bedienungsanleitung war für 17 Personen hilfreich und wurde von 2 Benutzern mit durchschnittlich 4.5 Sternen bewertet

Seite 1/37
EV81X90A
PIC32CM JH01 Curiosity Pro Evaluation Kit User Guide
Preface
The Microchip® PIC32CM JH01 Curiosity Pro evaluation kit is a hardware platform to evaluate the Microchip
PIC32CM JH01 microcontroller (MCU). Each evaluation kit is supported by the MPLAB
® X Integrated Development
Environment (IDE) and MPLAB® Harmony v3, featuring application examples.
The Curiosity Pro evaluation kits include an on-board embedded debugger (EDBG) to program or debug the target
microcontroller. This enables an easy start to a project, and provides application examples that can be used in the
design of a custom application.
The Curiosity Pro evaluation kits provide easy access to the features of the microcontroller, and are integrated
with Arduino Uno, mikroBUSâ„¢, and extension headers to interface with Xplained Pro extension boards for a rapid
prototyping and expanded functionality. The figure below shows the PIC32CM JH01 Curiosity Pro evaluation kit.
Figure 1. PIC32CM JH01 Curiosity Pro Evaluation kit
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 1
Table of Contents
Preface........................................................................................................................................................... 1
1. Introduction............................................................................................................................................. 3
1.1. Features....................................................................................................................................... 3
1.2. Overview...................................................................................................................................... 4
2. Getting Started........................................................................................................................................ 7
3. Curiosity Pro............................................................................................................................................8
3.1. Embedded Debugger................................................................................................................... 8
4. Hardware User Guide............................................................................................................................. 9
4.1. Power Sources.............................................................................................................................9
4.2. Headers and Connectors............................................................................................................11
4.3. Peripherals................................................................................................................................. 19
4.4. Kit Modifications......................................................................................................................... 23
4.5. Embedded Debugger Implementation........................................................................................29
5. Identifying Product ID and Revision...................................................................................................... 31
6. References............................................................................................................................................32
7. Revision History.................................................................................................................................... 33
The Microchip Website.................................................................................................................................34
Product Change Notification Service............................................................................................................34
Customer Support........................................................................................................................................ 34
Microchip Devices Code Protection Feature................................................................................................34
Legal Notice................................................................................................................................................. 35
Trademarks.................................................................................................................................................. 35
Quality Management System....................................................................................................................... 36
Worldwide Sales and Service.......................................................................................................................37
EV81X90A
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 2
1. Introduction
1.1 Features
The following are key features of the PIC32CM JH01 Curiosity Pro evaluation kit.
• 100-pin TQFP PIC32CM5164 JH01 microcontroller
• Embedded Debugger
– micro-USB interface
– Auto-ID for daughter board identification in MPLAB X IDE
– One yellow status LED
– One green board power LED
– Symbolic debug of complex data types including scope information
– Programming and debugging of on-board PIC32CM JH01 through Serial Wire Debug (SWD)
– Data Gateway Interface: SPI, I2C, and four GPIOs
– Virtual COM port (CDC)
– Control of on-board power switch to protect connected extensions against high voltage
• Digital I/O
– Two mechanical buttons (user and reset button)
– One driven shield Touch button
– One yellow user LED
– Three extension headers compatible with a wide range of Xplained Pro extension kits
– Arduino uno connector
• Two selectable target voltages
– 3.3V
– 5.0V
• Voltage Level Shifters between target section and EDBG section
• 32.768 kHz crystal mounted
• 32 MHz crystal mounted
• Trust Anchor (TA100) Secure Element
• Two CAN transceivers with jumpers for connection to external device or loopback between the two CAN
interfaces
• LIN transceiver
– Wake-up button
– Host node pull-up jumper
– Alternate LIN power jumper
• DAC output connector
• Analog voltage reference connector with filtered power supply
– ADC/DAC VREF
• 5-pin Position Decoder (PDEC) connector
• Supported with application examples in MPLAB Harmony v3
EV81X90A
Introduction
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 3
1.2 Overview
The PIC32CM JH01 Curiosity Pro evaluation kit is a hardware platform to evaluate the Microchip PIC32CM JH01
microcontroller, and the evaluation kit part number is EV81X90A.
The evaluation kit offers a set of features that enables the PIC32CM JH01 users to get started with the PIC32CM
JH01 peripherals, and to obtain an understanding of how to integrate the device in their own design. The following
figure illustrates the top and bottom view of the PIC32CM JH01 Curiosity Pro evaluation kit.
Figure 1-1. PIC32CM JH01 Curiosity Pro Evaluation Kit Layout (Top View)
1
2
6
7
8
9
10
11
11
11
12
12
12
12
12
13
14
3
15
16
17 18
14
5 4
EV81X90A
Introduction
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 4
Figure 1-2. PIC32CM JH01 Curiosity Pro Evaluation Kit Layout (Bottom View)
19
20
EV81X90A
Introduction
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 5
2. Getting Started
Follow these steps to explore the evaluation kit platform:
1. Download MPLAB® X IDE.
2. Launch MPLAB X IDE.
3. Connect the DEBUG USB port on the evaluation kit to the computer using a USB cable (Standard-A to
Micro-B or Micro-AB).
Note:  When the evaluation kit is connected to the computer for the first time, the operating system will install
the software driver. The driver file supports both 32-bit and 64-bit versions of Microsoft Windows XP
®, Windows
Vista®,Windows 7®, Windows 8®, Windows 10®, and Windows Server 2012®.
When the evaluation kit is powered, the green power LED will glow and MPLAB X IDE will auto-detect the specific
Curiosity Pro evaluation kit and extension boards that are connected to it. MPLAB X IDE will present relevant
information, such as data sheets and kit documentation.
The kit landing page in MPLAB X IDE also has an option to launch MPLAB Harmony v3 example applications for the
kit.
The PIC32CM JH01 device is programmed and debugged by the on-board Embedded Debugger (EDBG), hence no
external programmer or debugger tool is required.
Note:  Users can connect external debugger tools using the Cortex-M Debug connector.
EV81X90A
Getting Started
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 7
3. Curiosity Pro
The PIC32CM JH01 Curiosity Pro evaluation kit is a user-friendly rapid prototyping platform. It is supported with
MPLAB X IDE and MPLAB Harmony v3 software development framework that comes with demonstration codes,
middleware, PLIBs, and drivers.
The Curiosity Pro evaluation kits support a wide range of extension boards which are connected through a set
of standardized headers and connectors. Each extension board has an identification (ID) chip to uniquely identify
which boards are connected to the Curiosity Pro evaluation kit. When an extension board is connected, some
relevant information, such as board features, supported interfaces, serial number, links to documentation, is read and
displayed on the MPLAB X IDE window.
3.1 Embedded Debugger
The PIC32CM JH01 Curiosity Pro evaluation kit contains the Microchip Embedded Debugger (EDBG) for on-board
debugging. The EDBG is a composite USB device of the following three interfaces:
• Debugger
• Virtual COM Port
• Data Gateway Interface (DGI)
Together with MPLAB X IDE, the EDBG debugger interface programs and debugs the microcontroller. On the
Curiosity Pro evaluation kit, the SWD interface is connected between the EDBG and the microcontroller.
The Virtual COM Port is connected to a UART on the PIC32CM JH01 and provides an easy way to communicate with
the target application through terminal software. It offers variable baud rate, parity, and stop bit settings. The settings
on the PIC32CM JH01 must match the settings given in the terminal software.
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 PIC32CM JH01. If the DTR signal is not enabled, the UART pins on the
EDBG are kept in high-z (tristate) rendering the COM port unusable. The DTR signal is set automatically by some
terminal software, but it may have to be manually enabled in your terminal.
The DGI consists of several physical interfaces for communication with the Host computer. Communication over
the interfaces is bidirectional. It can be used to send events and values from the PIC32CM JH01. Traffic over the
interfaces can be timestamped by the EDBG for accurate tracing of events. time stamping imposes an overhead that
reduces maximal throughput. The MPLAB Data Visualizer is used to send and receive data through DGI.
The EDBG controls two LEDs: a power LED and a status LED. The following table provides how LEDs are controlled
in different operation modes.
Table 3-1. EDBG LED Control
Operation mode Power LED Status LED
Normal operation Power LED is lit when power is applied
to the kit.
Activity indicator, LED flashes when any
communication happens to the EDBG.
Bootloader mode (idle) The power LED and the status LED blink simultaneously.
Bootloader mode
(firmware upgrade) The power LED and the status LED blink in an alternating pattern.
For additional information on the EDBG, refer to the .Microchip EDBG User Guide
EV81X90A
Curiosity Pro
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 8
4. Hardware User Guide
4.1 Power Sources
The PIC32CM JH01 Curiosity Pro evaluation kit can be powered by the following power sources:
• Embedded Debugger USB
• An external power
Table 4-1. Power Sources
Power input Voltage requirements Current requirements Connector
marking
External power 4.3V to 5.5V. Recommended maximum is 2A due to
the input protection maximum current
specification.
PWR
Embedded
debugger USB
4.4V to 5.25V (according to
USB spec.)
500 mA (according to USB spec.) DEBUG USB
The evaluation kit will automatically detect which power source is available, and choose which one to use according
to the following priority:
• External power
• Embedded Debugger USB
Note:  External power is required when 500 mA from a USB connector is not enough to power the evaluation kit with
possible extension boards.
The EDBG controls an on-board power switch to the PIC32CM JH01, on-board peripherals, and extension
connectors. When the kit is powered up, the EDBG reads the ID chip information from all connected extension
boards and checks they are compatible with the voltage selected by the power selection jumper. If the selected
voltage is within the connected extensions ranges, the switch will open. If not, the EDBG power LED will blink rapidly
and the switch will stay closed resulting in no power provided to the PIC32CM JH01, on-board peripherals, and
connectors.
CAUTION
The evaluation kit can be powered by 5.0V. Care must be taken not to connect any extension board that
does not support this voltage, as it might results in permanent damage. Check the respective extension
kit's user guide to see which voltages are acceptable.
Remember:  The EDBG only reads the ID information and controls the power switch when the kit is
powered up. This mechanism does not check hot plugging of extension boards.
EV81X90A
Hardware User Guide
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 9
Figure 4-1. Power Supply Block Diagram
EDBGUSB
External 5 IV nput
AutoMUX
Regulator3.3V EDBG
PowerSelect
(Jumper)
PowerSwitch
Jumper
Peripherals PIC32CMJH01
VCC_P5V0 VCC_P3V3
VCC_TARGET VCC_MCU
On / off
Powersource
Powerswitch
Powerconverter
Powerconsumer
EV81X90A
Hardware User Guide
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 10
...........continued
Pin number Name Description
17 SPI_MISO Host in Client out line of serial peripheral interface. Always implemented, bus type.
18 SPI_SCK Clock for serial peripheral interface. Always implemented, bus type.
19 GND Ground
20 VCC Power for extension board
The evaluation kit's EXT1, EXT2, and EXT3 headers enable to expand the microcontroller's I/O through extension
boards. These headers are based on the standard extension header and are specified in the following tables:
Table 4-4. Extension Header EXT1
EXT1 pin PIC32CM JH01
pin Function Schematic
Net Name
Shared
Functionality
1 [ID] - - -
Communication line to
the ID chip on an
extension board.
2 [GND] GND - GND Ground
3 [ADC(+)] PA11 ADC0/AIN[11] PA11_ADC(+)_A5 Arduino
4 [ADC(-)] PB08 ADC0/AIN[2] PB08_ADC(-)_A1 Arduino
5 [GPIO0] PB17 GPIO PB17_GPIO -
6 [GPIO1] PB16 GPIO PB16_GPIO -
7 [PWM(+)] PB12 TCC0/WO[6] PB12_PWM(+) -
8 [PWM(-)] PB13 TCC0/WO[7] PB13_PWM(-) -
9 [IRQ/GPIO] PA21 EIC/EXTINT[5] / GPIO PA21_GPIO -
10 [SPI_SS_B/GPIO] PB07 GPIO PB07_SPI_SS_B/GPIO -
11 [TWI_SDA] PA22 SERCOM3/PAD[0] I2C
SDA PA22_I2C_SDA -
12 [TWI_SCL] PA23 SERCOM3/PAD[1] I2C
SCL PA23_I2C_SCL -
13 [USART_RX] PA13 SERCOM2/PAD[1]
UART RX PA13_UART_RX -
14 [USART_TX] PA12 SERCOM2/PAD[0]
UART TX PA12_UART_TX -
15 [SPI_SS_A] PC28 SERCOM1/PAD[1] SPI
SS PC28_SPI_SS_A -
16 [SPI_MOSI] PA18 SERCOM1/PAD[2] SPI
MOSI PA18_SPI_MOSI -
17 [SPI_MISO] PC27 SERCOM1/PAD[0] SPI
MISO PC27_SPI_MISO -
18 [SPI_SCK] PA19 SERCOM1/PAD[3] SPI
SCK PA19_SPI_SCK -
19 [GND] - - GND Ground.
EV81X90A
Hardware User Guide
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 12
...........continued
EXT1 pin PIC32CM JH01
pin Function Schematic
Net Name
Shared
Functionality
20 [VCC] - - - Power for extension
board.
Table 4-5. Extension Header EXT2
EXT2 pin PIC32CM
JH01 pin Function Schematic Net Name Shared functionality
1 [ID] - - -
Communication line to
the ID chip on an
extension board.
2 [GND] GND - GND Ground
3 [ADC(+)] PA05 ADC0/AIN[5] PA05_ADC(+) -
4 [ADC(-)] PA04 ADC0/AIN[4] PA04_ADC(-) -
5 [GPIO0] PA20 GPIO PA20_GPIO -
6 [GPIO1] PC11 GPIO PC11_IRQ/GPIO -
7 [PWM(+)] PB30 TCC1/WO[2] PB30_PWM(+)_PWM/D6 Arduino
8 [PWM(-)] PB31 TCC1/WO[3] PB31_PWM(-)_PWM/D9 Arduino
9 [IRQ/GPIO] PC24 EIC/EXTINT[0] /
GPIO PC24_IRQ/GPIO_D7 -
10 [SPI_SS_B/GPIO] PC25 GPIO PC25_SPI_SS_B/GPIO -
11 [TWI_SDA] PA16 SERCOM1/PAD[0]
I2C SDA PA16_I2C_SDA EXT3, EDBG DGI,
Arduino
12 [TWI_SCL] PA17 SERCOM1/PAD[1]
I2C SCL PA17_I2C_SCL EXT3, EDBG DGI,
Arduino
13 [USART_RX] PB21 SERCOM3/PAD[1]
UART RX PB21_UART_RX -
14 [USART_TX] PB20 SERCOM3/PAD[0]
UART TX PB20_UART_TX -
15 [SPI_SS_A] PB03 SERCOM5/PAD[1]
SPI SS PB03_SPI_SS_A -
16 [SPI_MOSI] PB00 SERCOM5/PAD[2]
SPI MOSI PB00_SPI_MOSI TA100
17 [SPI_MISO] PB02 SERCOM5/PAD[0]
SPI MISO PB02_SPI_MISO TA100
18 [SPI_SCK] PB01 SERCOM5/PAD[3]
SPI SCK PB01_SPI_SCK TA100
19 [GND] - - GND Ground.
20 [VCC] - - - Power for extension
board.
EV81X90A
Hardware User Guide
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 13
Table 4-6. Extension Header EXT3
EXT3 pin PIC32CM JH01
pin Function Schematic Net Name Shared functionality
1 [ID] - - -
Communication line to the
ID chip on an extension
board.
2 [GND] GND - GND Ground
3 [ADC(+)] PB06 ADC1/AIN[8] PB06_ADC(+) -
4 [ADC(-)] PB09 ADC1/AIN[5] PB09_ADC(-)_A0 Arduino
5 [GPIO0] PC18 GPIO PC18_GPIO -
6 [GPIO1] PC19 GPIO PC19_GPIO -
7 [PWM(+)] PB22 TC3/WO[0] PB22_PWM(+) Arduino
8 [PWM(-)] PB23 TC3/WO[1] PB23_PWM(-) Arduino
9 [IRQ/GPIO] PA28 EIC/EXTINT[8] / GPIO PA28_IRQ/GPIO -
10 [SPI_SS_B/GPIO] PA27 GPIO - -
11 [TWI_SDA] PA16 SERCOM1/PAD[0] I2C
SDA PA16_I2C_SDA EXT2, EDBG DGI,
Arduino
12 [TWI_SCL] PA17 SERCOM1/PAD[1] I2C
SCL PA17_I2C_SCL EXT2, EDBG DGI,
Arduino
13 [USART_RX] PC17 SERCOM6/PAD[1]
UART RX PC17_UART_RX -
14 [USART_TX] PC16 SERCOM6/PAD[0]
UART TX PC16_UART_TX -
15 [SPI_SS_A] PC13 SERCOM7/PAD[1] SPI
SS PC13_SPI_SS_A -
16 [SPI_MOSI] PC14 SERCOM7/PAD[2] SPI
MOSI PC14_SPI_MOSI EDBG DGI, Arduino
17 [SPI_MISO] PC12 SERCOM7/PAD[0] SPI
MISO PC12_SPI_MISO EDBG DGI, Arduino
18 [SPI_SCK] PC15 SERCOM7/PAD[3] SPI
SCK PC15_SPI_SCK EDBG DGI, Arduino
19 [GND] - - GND Ground
20 [VCC] - - - Power for extension
board.
EV81X90A
Hardware User Guide
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 14
4.2.2 Arduino Unoâ„¢ Header Connectors
The PIC32CM JH01 Curiosity Pro evaluation kit implements Arduino shield connectors based on the . AllArduino Uno
references to the Arduino pin names are taken from the official of the Arduino Uno.Arduino schematics
CAUTION
The target section of the evaluation kit can be powered by 3.3V or 5.0V. The maximum voltage to the I/O
pins can tolerate depends on the supply voltage. Providing higher voltages, such as 5V to an I/O pin, when
the PIC32CM JH01 is powered by 3.3V can damage the kit.
Remember:  All pins do not have the same functionality on the Arduino Uno as on the shield connectors.
Each shield should be checked for compatibility before it is connected.
Table 4-7. J802 - Arduino Power
J802 pin PIC32CM JH01 pin Arduino pin name Function Shared functionality
1 - RFU Not Connected -
2 - IOREF VCC_P5V0 -
3 RESETN RESET TARGET_RESET EDBG SWD, Cortex Debug, Arduino,
RESET button
4 - 3.3V VCC_P3V3 -
5 - 5.0V VCC_P5V0 -
6 - GND GND -
7 - GND GND -
8 - VIN Not Connected -
Table 4-8. J803 - Arduino Analog
J803 pin PIC32CM JH01 pin Arduino pin name Function Schematic Net Name Shared functionality
1 PB09 A0 ADC1/AIN[5] PB09_ADC(+)_A0 EXT3
2 PB08 A1 ADC0/AIN[2] PB08_ADC(-)_A1 EXT1
3 PA08 A2 ADC0/AIN[8] PA08_A2 PDEC_PhaseA
(1)
4 PA09 A3 ADC0/AIN[9] PA09_A3 PDEC_PhaseB
(1)
5 PA10 A4 ADC0/AIN[10] PA10_A4 PDEC_Index
(1)
6 PA11 A5 ADC0/AIN[11] PA11_ADC(+)_A5 EXT1
Note: 
1. Only PDEC or Arduino (A2, A3, A4) mode must be used at a single time.
EV81X90A
Hardware User Guide
© 2022 Microchip Technology Inc.
and its subsidiaries
User Guide DS70005482B-page 15


Produktspezifikationen

Marke: Microchip
Kategorie: Nicht kategorisiert
Modell: PIC32CM5164JH01048

Brauchst du Hilfe?

Wenn Sie Hilfe mit Microchip PIC32CM5164JH01048 benötigen, stellen Sie unten eine Frage und andere Benutzer werden Ihnen antworten




Bedienungsanleitung Nicht kategorisiert Microchip

Bedienungsanleitung Nicht kategorisiert

Neueste Bedienungsanleitung für -Kategorien-