STM32 firmware for STPM32 access and a basic metrology application

This firmware is a starting point for the development of a metrology application using the STPM32 ASSP for metering applications, and an STM32 microcontroller. It has been implemented for the STEVAL-IPE023V1 USB interface board for the STPM series of energy meter ASSPs, interfaced with the EVALSTPM32 single-phase energy metering evaluation board, but can easily be ported across different MCU families.

The firmware provides the basic functions to initialize, read and write to the STPM32 metrology ASSP through an SPI or UART interface, as well as a basic metrology application based on a microcontroller timer. The firmware uses the IAR toolchain.

Key Features

  • Initialization of STM32 MCU
  • Reset sequence of the STPM32 ASSP
  • Communication through UART or SPI interface
  • Block transfer in read and write mode
  • Data latch through SYN pin of STPM32 ASSP
  • Basic metrology application example based on STM32 MCU timer to read energy and voltage
  • Easy portability across different MCU families

Resources

Technical Documentation

Product Specifications
Description Version Size
STM32 firmware for STPM32 access and a basic metrology application 1.0 170 KB
User Manuals
Description Version Size
Basic metrology firmware for the STM32F103RD and STPM32 devices 1.0 660 KB

Legal

License Agreement
Description Version Size
LIMITED LICENSE AGREEMENT FOR ST MATERIALS 1.14 121 KB

Tools and Software

Evaluation Tools
Solution Evaluation Tools

Get Software

Part Number Software Version Marketing Status Supplier Order from ST
STSW-STPM002 1.2.0 Active ST

 

Support & Community

×