Advertisement

Quick Links

PIC32CXMTC-DB HW User's Guide

Introduction

The PIC32CXMTC-DB (EV58E84A) is a demonstration board for the PIC32CXMTC Series from Microchip
Technology Inc. This is a system-on-chip solution for residential smart meter applications built around dual 32-bit
®
®
Arm
Cortex
-M4F processors. The user application runs in Core 0 at a maximum frequency of 200 MHz and the
metrology library runs in Core 1 up to 240 MHz. The dual Arm Cortex-M4F architecture allows the integration of the
application layer, communications layers and metrology functions in a single device. The board includes a Poly-phase
(ATSENSE-301) Energy Metering Analog Front End with three voltage and four current sense channels. Current
channels are designed to interface with current transformers, Rogowski coils and shunt current sensors. It can also
interface with communications devices such as PLC and/or RF modules.
Target demonstrations summary:
Metrology performance verification
Dual-Core Cortex-M4F solution for meter firmware integration
RF or PLC communication through modules plugged on dedicated extension ports
This user's guide introduces the PIC32CXMTC-DB Demonstration Board and how to get started with the board.

Contents

The Demonstration Kit includes the following:
One PIC32CXMTC-DB board in an enclosure
One Micro A/B-type USB cable
One Plug-in adapter for programming/debugging boards with small 10-pin 0.05 inch connector by means of a
20-pin 1 inch connector
One 12V AC/DC wall mount adapter with interchangeable plugs

Features

The PIC32CXMTC-DB board includes the following features:
Dual Arm Cortex-M4F core (application and metrology)
3-Phase AFE ATSENSE301 (3 voltages and 4 currents) with network divider and filters
Voltage range measurement is from 90 Vac to 264 Vac. It can be extended to 291 Vac removing the power
supply (U1)
Current range measurement depends on the current sensor used and the configuration of the internal PGAs.
The current sensor input channels come populated with 3.24Ω burden resistors for a current transformer (CT)
Compliant with CT, Shunt or Rogowski Coil sensors
Battery-backed real-time clock and power supply monitor
64 Mbit Quad IO SPI Flash memory for meter data storage and firmware update
User Interfaces:
– Isolated UART interface by USB bridge
– Opto-Port interface compliant with ANSI C12.20 protocol for AMR
– Isolated access to metering pulses (Wh, VARh, A
– Extension connector for External AFE connection such as MCP3910
©
2022 Microchip Technology Inc.
and its subsidiaries
2
h) by an Opto-Port and/or an isolated interface
User Guide
EV58E84A
DS50003248C-page 1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC32CXMTC-DB and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology PIC32CXMTC-DB

  • Page 1: Introduction

    Dual-Core Cortex-M4F solution for meter firmware integration • RF or PLC communication through modules plugged on dedicated extension ports This user's guide introduces the PIC32CXMTC-DB Demonstration Board and how to get started with the board. Contents The Demonstration Kit includes the following: •...
  • Page 2 – Interface for Xplained PRO boards (such as ATREB215-XPRO and PL460-EK) with XPRO Power Header ™ and mikroBUS standard add-on boards • Safety case to handle the board without electrical shock risk User Guide DS50003248C-page 2 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 3: Table Of Contents

    The Microchip Website..........................57 Product Change Notification Service....................57 Customer Support..........................57 Microchip Devices Code Protection Feature..................57 Legal Notice............................57 Trademarks............................58 Quality Management System........................ 59 Worldwide Sales and Service........................60 User Guide DS50003248C-page 3 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 4: Evaluation Kit Specifications

    The mains signal is identified in the enclosure with the symbol: To avoid user access to dangerous parts, PIC32CXMTC-DB must always be used within its enclosure. WARNING USB and Pulse Outputs connectors are accessible without electrical shock risk due to provided optical isolation.
  • Page 5: Electrical And Board Characteristics

    Important: Microchip does not assume any responsibility for the consequences arising from any improper use of this board. Electrical and Board Characteristics This section contains information about the PIC32CXMTC-DB power supply requirements and consumption. For more details about the power supply system, refer to 3.3.4. Power Supply System.
  • Page 6: Getting Started

    The transparent lid allows the status of the output LEDs and the LCD display to be checked with the enclosure closed. Once the board is powered, the PIC32CXMTC-DB runs the pre-programmed Microchip Demo Meter application. For a further description of the application firmware and its functionality, refer to the...
  • Page 7: Code And Technical Support

    Firmware developers can run the given example code, and also implement their own applications based on the provided firmware stacks. Note that the latest software code, documentation and support materials are available on www.microchip.com. For any technical support requests, visit support.microchip.com. User Guide DS50003248C-page 7 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 8: Pic32Cxmtc-Db Board

    PIC32CXMTC-DB Board Overview This section summarizes the PIC32CXMTC-DB board design. It provides a high-level description of the board, such as power supply, MCU, metrology AFE, memory, peripherals and interface board. This document is not intended to provide detailed documentation about the processor or any other component used. It is expected that the user will refer to the appropriate documents of those devices to access detailed information.
  • Page 9: Block Diagram

    Isolated UART with USB bridge User Reset User Buttons (x4) ERASE jumper SWD 10-pin 50mils Extension Connector 3.2.2 Interface Connection The PIC32CXMTC-DB board includes hardware interfaces such as jumpers, connectors and buttons. User Guide DS50003248C-page 9 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 10 EV58E84A PIC32CXMTC-DB Board The following figure shows an overview of the connectors, jumpers and buttons of the PIC32CXMTC-DB board. Figure 3-3. PIC32CXMTC-DB Connectors, Button and Jumpers Overview Scroll Scroll Xplained PRO Xplained PRO Tamper Down FWUP Reset ERASE Pin Connector...
  • Page 11 AFE Extension Connector, J14. Table 3-8. AFE Extension Connector, J14 Signal Name Description +3V3 3.3V power 5V power +3V3 3.3V power 5V power Ground Ground MCP3910_PD5 PIC32CXMTC Signal (MCSPI_SPCK) User Guide DS50003248C-page 11 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 12 Signal Name Description CF1- Negative isolated pulse CF1+ Positive isolated pulse Table 3-11. Isolated Pulse Outputs Connector, J18 Signal Name Description CF2- Negative isolated pulse CF2+ Positive isolated pulse User Guide DS50003248C-page 12 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 13 Analog to digital converter, alternatively positive part of differential ADC ADC- Analog to digital converter, alternatively negative part of differential ADC GPIO1 General purpose I/O GPIO2 General purpose I/O User Guide DS50003248C-page 13 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 14 15. mikroBUS add-on Board Connector, J28. Table 3-16. mikroBUS Connector, J28 Mnemonic Description Analog Input Reset SPI Chip Select SPI Clock MISO SPI Host Input Client Output MOSI SPI Host Output Client Input User Guide DS50003248C-page 14 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 15: Jumper Configuration

    If the ADC is configured (via SW) to use the internal voltage regulator as a positive reference WARNING (VREFP), the jumper must be removed to avoid a short circuit. User Guide DS50003248C-page 15 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 16 VP1 before RC Filter TP58 Tamper TP26 TP59 Xplained PRO, pin 1 TP27 TP60 PD15 TP28 VP2 before RC Filter TP61 TP29 TP62 Scroll Up TP30 TP63 Scroll Down User Guide DS50003248C-page 16 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 17: Hardware Description - System

    PWMs for pulse output functions, 12-channel general purpose 32-bit timers, 12-bit ADC, analog comparators, a battery backed-up RTC and a segmented LCD Controlller. The PIC32CXMTC-DB is equipped with a PIC32CX2051MTC128 device in 128-pin EP-TQFP (14 mm x 14 mm x 1.0 mm, 0.4 mm pitch).
  • Page 18 Core Voltage LCD Voltage Comparator Comparator Regulator SLCD Voltage Drivers Regulator Digital Backup Area Analog Processor and Crypto-accelerators Memories, bridges Refer to the PIC32CXMTC Data Sheet for more information. User Guide DS50003248C-page 18 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 19: Clock Circuitry

    3.3.4 Power Supply System The PIC32CXMTC-DB board can be powered by several power sources. The board can be supplied through: • An AC power source (mains grid) from 90 to 264 Vac and from 47 to 63 Hz, connected to the J1 connector •...
  • Page 20 Brown-Out event occurs. The system is able to detect this event (see the Power Supply Monitor schematic below) and the embedded firmware may then switch to a Low-power mode to User Guide DS50003248C-page 20 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 21 The board includes connectors for all the metrology inputs (currents and voltages) as well as the input networks needed to protect, adapt the levels and filter the signals before connecting them to the A/D converter inputs. User Guide DS50003248C-page 21 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 22 An anti-aliasing filter is required for band-limiting the input signals. Typically, a single-pole RC filter is sufficient for metrology applications. The filter is tuned with the following component values: User Guide DS50003248C-page 22 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 23 Figure 3-13. VP1, VP2 and VP3 Test Points 3.3.5.3 Current Sensor Inputs The PIC32CXMTC-DB is compatible with various types of current sensors. It is possible to use an arbitrary combination of the following current sensors, subject to input voltage specifications: •...
  • Page 24 2000:1 ratio CT, a 240 Arms primary current would develop the max input voltage of 0.55 Vpk (240 Arms × √2 × 3.24Ω/2000 = 0.55 Vpk). Attention: This burden resistor is sometimes integrated inside the Current Transformer. User Guide DS50003248C-page 24 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 25 Using a shunt resistor to measure currents in lines 1, 2 or 3 will damage the board, and it is dangerous for the user. User Guide DS50003248C-page 25 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 26 Cortex-M4F processors and metrology library and a variety of sensors including Shunt, Current Transformer and Rogowski coils, the ATSENSE-301(H) achieves ANSI C12.20-2002 and IEC 62053-22 metering accuracy classes of up to 0.2% over 3000:1 current range. User Guide DS50003248C-page 26 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 27 MCP3910_PD6 0603 ATSENSE_PD6 TP66 R106 MCP3910_PD7 0603 ATSENSE_PD7 TP67 R107 MCP3910_PD5 0603 ATSENSE_PD5 R115 100k 0.1uF 0402 TS3L100RGYR 0402 J 15 Device Selected ATSENSE301 MCP3910 (AFE Ext. Conn.) User Guide DS50003248C-page 27 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 28: Hardware Description - Interface And Peripherals

    Isolated UART to USB Interface The PIC32CXMTC-DB features an isolated UART to USB bridge by means of micro USB type B connector (J16). This MCP2200 device is used to convert the UART signal to USB levels to ease PC connectivity (USB 2.0, full speed) for debugging purposes or to communicate with the application.
  • Page 29 Driver. 3.4.2 Metrology Pulses Outputs and UART Opto-Port Interface The PIC32CXMTC-DB board integrates several measurement points for the pulse outputs (PD17, PD18 and PD19) available with the PIC32CXMTC device. The methods for pulse measurements are: • Isolated Pulse Outputs: Wh, VARh and A h pulses can be measured (with isolation) on J17 or J18 connectors in Differential mode.
  • Page 30: Lcd Display

    EV58E84A PIC32CXMTC-DB Board The PIC32CXMTC-DB board features a UART Opto-port interface, made up of an infrared emitting diode and a phototransistor, to communicate with external devices during handheld AMR (Automatic Meter Reading). Figure 3-24. UART through Opto-Port Interface Schematic UART Opto-Por t...
  • Page 31 Segment 14 Segment 9 Segment 15 PB12 Segment 10 Segment 16 PB17 Segment 11 PB13 Segment 17 PB19 Segment 12 Segment 18 PB21 Segment 13 PA29 Segment 19 PB23 User Guide DS50003248C-page 31 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 32 — — — COM6 — — — — — — — — COM7 — — — — — — — — COM8 — — COL2 — COL1 — User Guide DS50003248C-page 32 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 33: Chip Erase

    3.4.6 User Buttons The PIC32CXMTC-DB board is equipped with five user buttons. The push buttons consist of momentary push button switches mounted directly on the board. When any switch is depressed, it will cause low (zero) to appear at the associated input pin.
  • Page 34 PIC32CXMTC-DB Board 3.4.7 JTAG/SWD Interface The PIC32CXMTC-DB board includes a SWD (Serial Wire Debug)/JTAG interface port to provide debug level access to the system-on-chip. It also embeds a serial wire trace. This connector provides the required interface for in-circuit ®...
  • Page 35 3.4.8 Xplained PRO Extension Header The PIC32CXMTC-DB hosts a dual-row, 20-pin male connector (J23) to interface with standard Xplained PRO extension boards. The Xplained PRO connector is Microchip’s proprietary interface port intended to connect different evaluation platforms from AVR and Arm microcontrollers. Refer to...
  • Page 36 PL460-EK kits from Microchip. 3.4.9 mikroBUS Socket The PIC32CXMTC-DB hosts a mikroBUS socket (J28). The mikroBUS standard defines the main board sockets and add-on boards used for interfacing the microprocessor with integrated modules featuring a proprietary pin configuration. For details, refer to the mikroBUS specification.
  • Page 37: Expansion Connector

    The mikroBUS connector allows for the connection of a wide range of modules for communications, sensoring or power management applications out of the main scope for this board. 3.4.10 Expansion Connector The PIC32CXMTC-DB hosts an expansion connector, 8-pin male connector (J24) to have the FLEXCOM6 signals available. Refer to the PIC32CXMTC Data Sheet for more information.
  • Page 38: Ordering Information

    EV58E84A Ordering Information Ordering Information Table 4-1. Demo Board Ordering Information Ordering Code Board Marking EV58E84A PIC32CXMTC-DB User Guide DS50003248C-page 38 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 39: Appendix. Schematics And Layouts

    EV58E84A Appendix. Schematics and Layouts Appendix. Schematics and Layouts PIC32CXMTC-DB Schematics This section contains the following schematics for the PIC32CXMTC-DB board: • Block Diagram Schematic, Figure 5-1 • Power Supply Schematic, Figure 5-2 • PIC32CXMTC Schematic, Figure 5-3 • Analog Voltage Inputs Schematic, Figure 5-4 •...
  • Page 40 EV58E84A Appendix. Schematics and Layouts Figure 5-1. Block Diagram Schematic User Guide DS50003248C-page 40 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 41 EV58E84A Appendix. Schematics and Layouts Figure 5-2. Power Supply Schematic User Guide DS50003248C-page 41 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 42 EV58E84A Appendix. Schematics and Layouts Figure 5-3. PIC32CXMTC Schematic User Guide DS50003248C-page 42 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 43 EV58E84A Appendix. Schematics and Layouts Figure 5-4. Analog Voltage Inputs Schematic User Guide DS50003248C-page 43 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 44 EV58E84A Appendix. Schematics and Layouts Figure 5-5. Analog Current Inputs Schematic User Guide DS50003248C-page 44 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 45 EV58E84A Appendix. Schematics and Layouts Figure 5-6. Energy Metering Analog Front End Schematic User Guide DS50003248C-page 45 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 46 EV58E84A Appendix. Schematics and Layouts Figure 5-7. Debug Port Schematic User Guide DS50003248C-page 46 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 47 EV58E84A Appendix. Schematics and Layouts Figure 5-8. Opto-Ports Schematic User Guide DS50003248C-page 47 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 48 EV58E84A Appendix. Schematics and Layouts Figure 5-9. Interface and Peripherals PIC32CXMTC Schematic User Guide DS50003248C-page 48 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 49: Pic32Cxmtc-Db Layout

    EV58E84A Appendix. Schematics and Layouts PIC32CXMTC-DB Layout This section contains the layout graphics for the PIC32CXMTC-DB board: • Layer 1: Top Layer, Figure 5-10 • Layer 2: Mid Layer 1, Figure 5-11 • Layer 3: Mid Layer 2, Figure 5-12 •...
  • Page 50 EV58E84A Appendix. Schematics and Layouts Figure 5-11. PIC32CXMTC-DB Layout: Mid Layer 1 (Ground) User Guide DS50003248C-page 50 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 51 EV58E84A Appendix. Schematics and Layouts Figure 5-12. PIC32CXMTC-DB Layout: Mid Layer 2 (Power Supplies) User Guide DS50003248C-page 51 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 52 EV58E84A Appendix. Schematics and Layouts Figure 5-13. PIC32CXMTC-DB Layout: Bottom Layer User Guide DS50003248C-page 52 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 53 EV58E84A Appendix. Schematics and Layouts Figure 5-14. PIC32CXMTC-DB Layout: Top Silkscreen User Guide DS50003248C-page 53 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 54 EV58E84A Appendix. Schematics and Layouts Figure 5-15. PIC32CXMTC-DB Layout: Bottom Silkscreen User Guide DS50003248C-page 54 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 55: References

    Microchip website • MCP2200 Data Sheet, reference DS20002228, on the Microchip website • SST26VF064B Data Sheet, reference DS20005119, on the Microchip website • mikroBUS Standard specifications, 2015 User Guide DS50003248C-page 55 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 56: Revision History

    Revision History Revision History Rev C - 12/2022 Document Minor updates throughout. Added ordering code. Update all the figures according to PIC32CXMTC-DB Rev 2. 4. Ordering Information Added section. Rev B - 04/2022 Document Minor changes in the document. Update the document according to PIC32CXMTC-DB Rev 2.
  • Page 57: Microchip Information

    Microchip products with your application. Use of this information in any other manner violates these terms. Information regarding device applications is provided only for your convenience and may be superseded User Guide DS50003248C-page 57 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 58: Trademarks

    The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
  • Page 59: Quality Management System

    EV58E84A Quality Management System For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality. User Guide DS50003248C-page 59 © 2022 Microchip Technology Inc. and its subsidiaries...
  • Page 60: Worldwide Sales And Service

    Tel: 631-435-6000 Sweden - Stockholm San Jose, CA Tel: 46-8-5090-4654 Tel: 408-735-9110 UK - Wokingham Tel: 408-436-4270 Tel: 44-118-921-5800 Canada - Toronto Fax: 44-118-921-5820 Tel: 905-695-1980 Fax: 905-695-2078 User Guide DS50003248C-page 60 © 2022 Microchip Technology Inc. and its subsidiaries...

This manual is also suitable for:

Ev58e84a

Table of Contents