Hi Johanntaferl,
What the temperature formula you are using?
From the lpc11u68 datasheet, we can get that:


So, the temperature formula should be:
Vtemp= -2.36T+606;
=>T=(Vtemp-606)/(-2.36),
Take care, Vtemp should be mV.
Besides, in the code, please note the user manual mentioned points:
For an accurate measurement of the temperature sensor by the ADC, the ADC must be configured in single-channel burst mode. The last value of a nine-conversion (or more)
burst provides an accurate result.
After the Temperature Sensor is powered, it requires some time to stabilize and output a voltage that correctly represents the device temperature. A much shorter settling time
applies after switching the A/D converter to use the sensor output. Software can deal with both of these factors by repeatedly converting and reading the Temperature Sensor output
via the A/D converter until a consistent result is obtained.
Please also do the calibration of the temperature sensor in the code.
Please check these points, and test it again.
Wish it helps you.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------