Calling firmware function TPMS_WAVG

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Calling firmware function TPMS_WAVG

Jump to solution
1,074 Views
Nikola73
Contributor I

Hi,

I am using the FXTH87 and want use TPMS_WAVG from firmware functions.

I am Testing, for example TPMS_WAV with u8PNew= 4, u16POld=2, u8Avg=2.

Response TPMS_WAVG (4, 2, 2) = 513.

Response for other values:

                 TPMS_WAVG (4, 8, 2) = 516

                 TPMS_WAVG (2, 1, 4) = 128

                  TPMS_WAVG (2, 8, 2) = 260  etc.

This does not match the formula from the FXTH87xx22 Embedded Firmware User Guide from section 3.2.46 : UINT16 TPMS_WAVG(UINT8 u8PNew, UINT16 u16POld, UINT8 u8Avg).

Help me please understand how it works .

0 Kudos
Reply
1 Solution
1,044 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Nikolay,

 

According to our TPMS SW engineer, there is an issue in the implementation of the function, so the returned values are not correct.

We are going to update the Firmware User Guides to add a note warning not to use the function.

 

Best regards,

Tomas

View solution in original post

0 Kudos
Reply
1 Reply
1,045 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Nikolay,

 

According to our TPMS SW engineer, there is an issue in the implementation of the function, so the returned values are not correct.

We are going to update the Firmware User Guides to add a note warning not to use the function.

 

Best regards,

Tomas

0 Kudos
Reply