TSE-Sensor in XMC1202

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello,


I've tried to use the Method "XMC1000_CalcTemperature()" from "Device Guide - Temperature Sensor (TSE) (xmc1000_dg_TSE_v1_0.pdf)"

TSE_Value[0] = (XMC1000_CalcTemperature() - 273);
TSE_Value[1] = SCU_ANALOG->ANATSEMON;

The ANATSEMON-Value seems to be ok with the value 18821, but the Output of CalcTemperature() is always 397 which would be 124°C. 😞 For testing i use a Freezer-Spray, but there is no reaction by the function. Nevertheless the ANATSEMON-value is changing.

I've tried it with the Evaluationboard XMC1200200AEE GE248 and with the samples XMC1202TO028X0032AAXUMA1.


Is there maybe a problem with the library?

Can someone support a table or something else for converting the TSE-Values in Kelvin-values and the way back?


MfG
Dominik
0 Likes
4 Replies
Not applicable
Hi Dominik,

The device on the evaluation board is a older device which doesn't supporting this feature yet.
The temperature sensor that is working properly is the AA-ES samples which just release last month.
You need to get the latest device and replace with the one on the evaluation board.
0 Likes
Not applicable
I'm using a chip with these Text on the chip:

1202 032AEE
GE335
84P6N074G37

Do they also have these TSE problem?

I received these chip maximum two week ago ...
380.attach
0 Likes
Not applicable
Hi Dominik,

Can you check what is the value located at address 0x10000FE8?
If the value is:
i) 0xFFFFFFFF - Old device, TSE not working.
ii) 0x0000FFFF - New device, TSE working.

Below the example code, please check the value in ID_Value.

uint32_t *CSIDptr;
uint32_t ID_Value;

CSIDptr = 0x10000FE8;

ID_Value = *CSIDptr;
0 Likes
Not applicable
Hey,


okay i've the old device. Then this is the reason.

Thank you for the quick support!
0 Likes