s32k312 tempsense

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

s32k312 tempsense

3,146件の閲覧回数
brian1212
Contributor II

Hi

I'm trying to use Temperature sensor of S32K312 MCU

However, the temperature sensor register value is not displayed as T32.

brian1212_0-1715594749153.pngbrian1212_0-1715594749153.png

And, If trying to write Tempsense Register ETS_EN(0x4037C000), Os fault occur.

How can i get to Tempsense Register??

タグ(1)
0 件の賞賛
返信
4 返答(返信)

3,123件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you help us share which RTD/IDE version are you using?

Are you using any NXP examples? Or is this a custom application?

Please, let us know.

0 件の賞賛
返信

3,113件の閲覧回数
brian1212
Contributor II

I'm using Mcal_NXP_S32K3xx-3.0.0_P01_HF01_Aut03 and GreenHills, Autosar Platform.

I'm trying to use it in an application, not example. 

If call the mcal function 'Adc_TempSenseSetPowerMode(ADC_NORMAL_MODE); to enable the temperatrue sensor, Os fault occur, writing TempSense register Address.

brian1212_0-1715642239100.pngbrian1212_0-1715642239100.png

 

 

 

 

 

 
0 件の賞賛
返信

3,106件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. Can you help us verify if using RTD v3.0.0 P07 provides a different outcome? We understand that there P07 is the more stable version on regards of RTD v3.0.0.

As for the function, have you followed the specified under the ADC UM?

DanielAguirre_0-1715694929458.pngDanielAguirre_0-1715694929458.png

To confirm that the prerequisites are fulfilled.

Also, on regards of other Autosar configuration platforms (which we assume GreenHills is), we do not have the required tools to provide the support. For that, we can recommend contacting the respective GreenHills support team. Can you help us confirm if S32DS provides the same outcome?

Please, let us know.

0 件の賞賛
返信

3,082件の閲覧回数
brian1212
Contributor II

Hi

I 've resoleved this problem setting PRTN1_COFB2_CLKEN[REQ95] to Turn ON.

brian1212_0-1715836376828.pngbrian1212_0-1715836376828.png

 

brian1212_1-1715836398274.pngbrian1212_1-1715836398274.png

 

Thank you for your advice, I will Try to calculate Temperature.