Mipi I3C interface, NXP P3T1755DP/Q900Z temperature sensor (Part 4)

In our previous article we have read the temperature from the MIPI I3C SDR device NXP P3T1755DP/Q900Z temperature sensor in this article we will show how to convert the negative values of these temperature readings.

If the MSB of the temperature register is 1 then the data is interpreted as 2s complement and the conversion is as follows.

Temp value (°C) = -(two’s complement of Temp data and adding one) x 0.0625 °C

Example: 1110 0111 000:

Two’s complement and adding one: 0001 1000 1111+1 = 0001 1001 0000 = 190h = 400

Temp = - 400 x 0.0625 °C = -25 °C

image

and can be attached to these 8TSSOP/8MSOP TO 8DIP adapters for prototypes

with an example shown below (in breadboard),

Please consider the device specification recommendations for proper operation.

Have a great day!

This article is avialable in spanish here.

Este artículo está disponible en español aquí.

1 Like