Hi Venukumar,
Follow RM:
Nhi_Nguyen_0-1690944351654.png
To enable Tempsense's features, you need to enable these parameters in EB:
Nhi_Nguyen_1-1690944968256.png
To Tempsense output is input of ADC, you need to enable:
Nhi_Nguyen_2-1690945371645.png
Nhi_Nguyen_3-1690946003512.png
Follow RM, to convert from voltage to temperature:
Nhi_Nguyen_4-1690946061866.png
In this expression, TCA0, TCA1, TCA2 are read-only and normally not change(or change just a little bit) and they have value:
Nhi_Nguyen_5-1690946215446.png
So, in your case TCA0 is correct.
I encountered the issue that temperature couldn't convert correctly for the package RTM201 through the function Adc_TempSenseCalculateTemp(), but this issue fixed in the latest version RTM 300_P07 or fixed early. So, if you're using old version, please upgrade it.
For clock, please don't forget to enable this:
Nhi_Nguyen_6-1690946664734.png
Best regards,
Nhi