This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC38J84: Temperature sensor questions

Expert 1565 points
Part Number: DAC38J84

Hi

Can you please provide the equation between the value I read from the register  to the actual sensor temperature? 

Thanks

  • Hi,

    The temp sensor is an 8-bit data with the MSB (1st bit in the left mode bit, most significant) being the sign bit.
    You can use Microsoft Calc tool to convert bit read back in binary or hex into decimal first
    Anything less than 127 is positive temperature (i.e. d63 is 63C)
    anything greater than 128, you will need to subtract the value from 256. For instance, if you read back 255 (all 1s of b11111111), this will be 256-255 = -1 degree Celsius.

    make sure to read back the SPI in slower speed per the datasheet suggestion.

    Kang