What are the cold and hot temperature slope value for KL17 mentioned in the reference manual (23.5.8)? In the example code (adc_low_power_twrkl43z48m) a different equation seem to be used.
Temperature = 25 - (ADCR_T - ADCR_TEMP25) * 100 / ADCR_100M
The above equation will always return negative value. Should it be
Temperature = 25 - ((ADCR_T - ADCR_TEMP25) / ADCR_100M)