STSW-STPM002

Active

STM32 firmware for STPM32 access and a basic metrology application

Get Software Download databrief
Overview
Tools & Software
Resources
Solutions
Quality & Reliability
Sales Briefcase
eDesignSuite
Get Started
Sample & Buy
Partner products
  • 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

Get Software

Recommended for you

Latest from ST

Embedded Software

    • Part Number

      Digital MEMS microphones acquisition and processing software expansion for STM32Cube

Evaluation Tools

    • Part Number

      USB interface tool for STPMxx family of energy meter ICs

00 Files selected for download

Technical Documentation

    • Description Version Size Action
      DB2936
      STM32 firmware for STPM32 access and a basic metrology application
      1.0
      170.74 KB
      PDF
      DB2936

      STM32 firmware for STPM32 access and a basic metrology application

    • Description Version Size Action
      UM2092
      Basic metrology firmware for the STM32F103RD and STPM32 devices
      1.0
      660.37 KB
      PDF
      UM2092

      Basic metrology firmware for the STM32F103RD and STPM32 devices

Legal

    • Description Version Size Action
      SLA0060
      LIMITED LICENSE AGREEMENT FOR ST MATERIALS
      1.15
      120.89 KB
      PDF
      SLA0060

      LIMITED LICENSE AGREEMENT FOR ST MATERIALS

Support & Feedback