Hi
I'm trying to use Temperature sensor of S32K312 MCU
However, the temperature sensor register value is not displayed as T32.
And, If trying to write Tempsense Register ETS_EN(0x4037C000), Os fault occur.
How can i get to Tempsense Register??
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.
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.
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?
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.
Hi
I 've resoleved this problem setting PRTN1_COFB2_CLKEN[REQ95] to Turn ON.
Thank you for your advice, I will Try to calculate Temperature.