S32K144 ISELED, Problemes with conversion of the read temperature

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 ISELED, Problemes with conversion of the read temperature

489 Views
oli4574s
Contributor I

Hello,

I am trying to read the temperature of the ISELED device.
For this I used the code from the Freemaster example:

 

case 12:
appState = OPERATION_ONGOING;
digLEDResultStrip1.chainLength = nrOfLEDs;
digLED_Read_Temp(&digLEDResultStrip1, strip);
ServiceNumber = 0;
break;

 

I got the following results:

Screenshot 2021-01-26 105012.png

I need this formula for the conversion:

Screenshot 2021-01-26 105225.png

But the Values are to high to get a real temperature out of the formula.

Where is my mistake?

 

Thanks a lot for the help!

Best regards

Oliver

0 Kudos
1 Reply

472 Views
dragosrachitan
NXP Employee
NXP Employee

Hello,

Every response contains 2 fields: address and data, each 12 bits wide. In your case for the first LED the value 4461 => 0x116D where 0x1 is the address of the first LED and 0x16D is the value used to calculate the actual temperature.

Best regards,

Dragos.

0 Kudos