Does the AD7416 setpoint registers with 10 MSB or 9 MSB? And what is the default value? Seems the datasheet conflict itself.

On the datasheet it said temperature value register is 10 MSB, however OTI and HYST setpoint register is 9 MSB. As I assume this is right. 

As shown below OTI setpoint register default is 80.

And HYST setpoint register default is 75.

Later in the article shows:

The conversion formula:

if 9 MSB: 

      0x4B00 = (0100 1011 0000 0000),

            (0100 1011 0) = 150,

            150/4 = 37.5

      0x5500 = (0101 0101 0000 0000),

            (0101 0101 0) = 170

            170/4 = 42.5

if 10 MSB: 

      0x4B00 = (0100 1011 0000 0000),

            (0100 1011 00) = 300,

            300/4 = 75

      0x5500 = (0101 0101 0000 0000),

            (0101 0101 00) = 340,

            340/4 = 85

It look to me 10 MSB is more reasonable from the calculation above, but OTI setpoint register default still off by 5.

--------------------------------------------------

Also I look at another datasheet for LM75, data on that make much more sense to me (as shown below).

They are 9 MSB instead.

Parents Reply Children
No Data