Hi,
I am working on DC lead-off detection in ADS1299.
I have configured ADS as per the datasheet sequence given on page 59 -
WREG LOFF 08h // Comparator threshold at 95% and 5%, current source = 6uA
WREG CONFIG4 02h // Turn-on dc lead-off comparators
WREG LOFF_SENSP FFh // Turn on the P-side of all channels for lead-off sensing
WREG LOFF_SENSN FFh // Turn on the N-side of all channels for lead-off sensing
This is sort of working but i am getting only Lead off detection in LOFF_STATP bits but not in LOFF_STATN register bits. I get all 0xFF in LOFF_STATN registers though sensors are not connected at all. But get proper bits in LOFF_STATP register for particular sensor not connected.
I think I should get respective bits in LOFF_STATP and LOFF_STATN registers as 0, if the sensor is not connected.
I tried to reverse the direction of current by setting LOFF_FLIP register to 0xFF but no difference.
Am I doing something wrong here / missing in terms of understanding?
Thanks,
Ashutosh.