"Finally want to compensate the offset. But which radix of the offset? In actual ADC value?
Or converted value to u/m/ V?"
You can work in either, but working directly with ADC counts would eliminate math error contribution
due to scale factors if you were to work in converted value.
Not sure why you are getting 0 as ADC count for Vin = 0, you should see some offset.
Hi Dana-san, thank you. The radix is presumed as adc count, because commonly number is count, Each converted value is depend on what unit user is use. Anyway, i have all source code then check up, it described [ Parameters: int32 offset : Offset in counts ] OK, nonetheless offset is always zero, measured value was change when every i did zero-in procedure. (this design can do zero-in when Sw was pushed) Single-end mode and rail-to-rail drive that can't measure offset value when input is zero ? right? A question is still remain but it's not a deal, not to hurry. Thank you, Happy ADC!