Hi,
To write OV_TRIP and UV_TRIP to the corresponding registers I read in the datasheet that I should calculate OV_TRIP_FULL and UV_TRIP_FUL as follows
OV_TRIP_FULL = (OV – ADCOFFSET) ÷ ADCGAIN
UV_TRIP_FULL = (UV – ADCOFFSET) ÷ ADCGAIN
the value of adcoffset that i read is 0xCE (206 in decimal), so shoud I use this value directly to calculate the OV and UV_TRIP_FULL? I had read in the datasheet (p 40) that there is 2 complement scale range .