Skip to main content
Visitor II
May 27, 2025
Solved

STPM34 calibration formulas troubles

  • May 27, 2025
  • 1 reply
  • 566 views

Hello! I try calibrate STPM34 device, but have some troubles.
I created some xmls file with Reference Manual and AN4470 and compare results by STPM3x_Evaluation_Software and it different. 
1) RM use default Vref value as 1.18, but App use 1.2
2) Calculation of PHC with PHV=2 different (it true if use formula for PHV=1)

Also I find errors in metrology coefficients calculation. metrology.c contains formulas with examples, but it results incorrect.

All troubles I placed to xmls file with all needed information.
Help me please, get correct formulas for calculation.
Thank!

This topic has been closed for replies.
Best answer by Didier HERROUIN

Just to provide an answer about this point.
You can use 1.18V for the calculation (it is not so important as calibration will compensate the tolerances of several factors, including the Vref drift).
You are right, the formula should be the same for PHV=2 than for PHV=1 or 3

1 reply

Didier HERROUIN
Didier HERROUINBest answer
ST Technical Moderator
July 1, 2026

Just to provide an answer about this point.
You can use 1.18V for the calculation (it is not so important as calibration will compensate the tolerances of several factors, including the Vref drift).
You are right, the formula should be the same for PHV=2 than for PHV=1 or 3

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.