TSENS Measurements Issue

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

TSENS Measurements Issue

1,741件の閲覧回数
ahmedsoubky
Contributor II

Hello,

 

We are using MPC5744p microcontroller. 

 

We have requirement which states that "During power up, the two temperature sensors are to be read by
software (TSENS0 from ADC0 channel 15, TSENS1 from ADC1 channel 15). The
software must verify that the conversion values are similar, as this is a means of assessing
that the sensors are working properly."

 

The sequence described in the example code here along with the reference manual formula has been followed. 

However, the temperatures read from the sensors aren't exactly the same. There is a difference of 2°C on my board and around 8°C on my colleagues board.

 

Any explanation what is the reason of this and how can we overcome it ?

Thanks in advance,
Best Regards,
Ahmed 

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,443件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

One yet note - my collegue shared example code for this device:

https://community.nxp.com/docs/DOC-104657 

Have you seen it?

0 件の賞賛
返信

1,443件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Sorry I have understood it wrong way. You see difference between TSENS0 and TSENS1, always on the same device, right?

Could I see your code snippet (I am only interested in ADC and TSENS code portion). Have you tried to increase sampling time?

0 件の賞賛
返信

1,442件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

These sensors have accuracy stated as +/-3% thus it could be in tolerance. You are measuring it on different boards thus environment probably is not completely equal (ambient temperature, voltage reference and so on).

0 件の賞賛
返信