2.1 Multi-channel Metrology Driver

This driver defines the interface of Microchip smart meter PIC32CXMTC metrology firmware. It describes the metrology control registers, metrology status registers and the quantities which shall be directly computed and available through the multi-channel metrology interface registers, as well as provides pertinent definitions required for proper coding.

Key Features:

  • This multi-channel metrology driver has been designed based on Microchip PIC32CXMTC series SoC, featuring industrial 0.2s accuracy class.

  • Supports multi-channels smart metering applications, based on an external MCP3914/3 analog front end (PIC32CXMTC). Supports up to 2 MCP3914 or 2 MCP3913.

  • Supports the internal firmware upload process from Core 0 to Core 1.

  • Supports IPC interrupt handling to read events originated by the multi-channel metrology library running in Core 1.

  • Supports write/read to/from the multi-channel metrology registers.

  • Supports special functions: Waveform capture and Harmonic Analysis.

  • The library can be used in both Bare-Metal and RTOS environments.