cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 metrology driver, HAL returning negative values. QE is questioning why negative values, feels this must be HW or FW bug.

DPhil.8
Associate

Some of the parameters which can return negative values (not all the time, sometimes positive) are: Power Factor, ReactivePowerReceived, ApparentPowerDelivered, and whatever these parameters are:

Vmom = -162  AEload = -0.174030   Imom = -43   PF = -0.008001      REload = -0.22418

2 REPLIES 2

For those not familiar with the part or software you're using, is it this?

https://www.st.com/en/embedded-software/stsw-stpm002.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Yes that is what we are using. Are you familiar with this package and why it may send negative values for the above readings?