Post Go back to editing


Category: Software
Product Number: ADE9430

I’ve faced an issue porting the ADE9430 source to STM32H5 and STM32U5, as both run the Cortex-M33 core. I tested the example project in Keil with STM32F4, which was included, and the evaluation kit and measurements are working.

 For the porting part, we changed the toolset to STM32CubeMX and STM32CubeIDE instead of Keil, so we rely on ST HAL. Code can be compiled without errors, and we can run FW and access CLI via the terminal.

The problem is that we got the error ADI_PQLIB_RESULT_WAVEFORM_NOT_READY, and after some research, we found some information in the FAQ section, but it doesn’t seem to help us.

We’re able to read the 0x21A. The first command is connected to the mains, and the second is disconnected from the mains:


So at this stage, we seem stuck and don’t know how to move forward. Your support, hints, guidance, etc., will be much appreciated.

Please download the FW source code from here: LINK REMOVED 

Screenshot where mains is connected to VA:


Corrected part number to ADE9430
[edited by: dlath at 1:45 PM (GMT -4) on 23 Aug 2023]