cancel
Showing results for 
Search instead for 
Did you mean: 

STPM33 - Voltage and Current Readings Increasing Over Time

TL_Thomas
Associate

Hello,

I have developed a custom board using the STPM33 to measure power consumption. The schematic is identical to the evaluation board.

I can communicate with the STPM33 via SPI and have verified that the data I write is correctly stored in the device.

My system is connected to my room AC outlet (with a stable voltage), and the device under test draws a steady current over time. However, when reading register 0x48 to obtain RMS voltage and  RMScurrent for channel 1, I observe that both values increase over time, even though the voltage should remain around 120V AC (If I wait 5 imn the RMS voltage is 160V).

Do you have any insights into why this might be happening?

Here are my register values:

  • DSP_CR1 (0x00): 20 00 00 A0

  • DSP_CR2 (0x02): 20 00 00 A0

  • DSP_CR3 (0x04): 08 80 44 E0

  • DFE_CR1 (0x18): 03 27 03 27

  • DFE_CR2 (0x1A): 03 26 03 26

All other registers are left at their default values.

Thank you for your help!

2025-03-25_18h19_33.png

1 REPLY 1
TL_Thomas
Associate

I just found out that the register 0x00, ENVREF1, and TC1 are always reset to zero. Any idea why?

 

 

2025-03-26_12h44_11.png