LPC55S69 Inconsistent ADC Temperature Coefficients between SDK2.8.2 and UM11126

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S69 Inconsistent ADC Temperature Coefficients between SDK2.8.2 and UM11126

ソリューションへジャンプ
758件の閲覧回数
gertvb
Contributor III

Hallo Everyone!

Just an observation on inconsistent ADC Temperature coefficient values between UM11126 vs values used by Configtool/SDK 2.8.2

 

If I create a New C/C++ project from scratch in MCUXpresso using SDK2.8.2 for the LPC55s69 and add the lpadc driver, it adds the files fsl_lpadc.c and .h to the project, which also includes the the function:

float LPADC_MeasureTemperature(ADC_Type *base, uint32_t commandId, uint32_t index)

 

In the MeasureTemperature function it uses FSL_FEATURE_LPADC_TEMP_PARAMETER_A, FSL_FEATURE_LPADC_TEMP_PARAMETER_B &  FSL_FEATURE_LPADC_TEMP_PARAMETER_ALPHA, values defined in LPC55S69_cm33_core0_FEATURES.h

 

The values defined in UM11126 (39.7.6 p769) differs from the values used in LPC55S69_cm33_core0_FEATURES.h

 

Which ones are correct for HW rev 1B?

Alpha : 8.5 vs 11.5

A : 804 vs 744.6

B : 280 vs 313.7

 

Regards

 

Gert

A TechExplorer working with Embedded Software and Electronics in Agriculture and Alternative Energy
ラベル(1)
0 件の賞賛
1 解決策
740件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello gertvb

 

I suggest you use the values from the SDK.

A = 744.6

B = 313.7

Alpha = 11.5

 

Thank you for letting us know about the difference between the parameters.

If you have more questions do not hesitate to ask me.

Best regards,

Omar

元の投稿で解決策を見る

1 返信
741件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello gertvb

 

I suggest you use the values from the SDK.

A = 744.6

B = 313.7

Alpha = 11.5

 

Thank you for letting us know about the difference between the parameters.

If you have more questions do not hesitate to ask me.

Best regards,

Omar