Customer feedback a issue, as below:
The temp read value is abnormal when Configuration Register =0x40 , if set as 0x50, the value is normal.
Why setting alert polarity than cause a error temp value?
Also we have check the power noise cause a temperature error, power supply ripple is about 80mV, it seems ok.
Case 1:
Read 00 : 191 (5f c0) //Temp Data Register, abnormal temp as 191 degree
Read 01 : 40 //Configuration Register , 40 = Alert pin Active-low
Read 02 : 7f e0 // T-high Upper-limit register, 255 degree (7f e0)
Read 03 : 80 00 // T-low Lower-limit register, -256 degree (80 00)
Read 04 : 09 // Control/Status register, bit3=1, Alert pin = 1,
Read 07 : 01 90 // Identification register
Case 2: set Configuration Register =0x50 (Active-high)
Read 00 : 1c e0 //get temper = 57 (1c e0) temperature is ok of 57 degree
Read 01 : 50 //Configuration Register , 50 = Alert pin Active-high
Read 02 : 7f e0 //get T-high = 255 degree (7f e0)
Read 03 : 80 00 // get T-low = -256 degree (80 00)
Read 04 : 01 // Control/Status register, bit3=0, Alert pin = 0,
Read 07 : 01 90