The firmware implements three-phase application development using STPM3x and STM32F407 devices. It has been developed for the STM32F4-Discovery kit based on STM32F407VGT to interface with the EVALSTPM32, but it can easily ported to other microcontrollers.
STM32 initialization is based on the STM32CubeMX tool chain and STPM driver integration is based on the IAR Tool chain with ST-LINK (embedded on board).
The firmware includes: STPM management (communication, reset, latch, etc.), full metrology measurement, NVM management with EEPROM storage; communication through USB in virtual com port mode, two timers for main state machine.