Hello,
I can read voltage from the ADC in single-shot, single-ended mode. However, I can't get the ALERT/RDY pin signal the end of a conversion (conversion ready mode). The ALERT/RDY pin is always high.
I set the COMP_QUE bits to 00 (assert after 1 conversion). But I'm having trouble to figure out what to write to the low and high registers. For the low threshold, I tried 0x0000. For the high threshold, I tried 0x8000, 0xFFFF, 0x0100.
Do I have to write to the low/high threshold register before of after the configuration register ?
Other information :
- the ALERT/RDY pin is connected to 3.3V through a 10K pull-up resistor. No other connection but a test point (this is a test board)
- COMP_POL = 0 (active low), COMP_MODE = 0 (traditional, shouldn't matter), COMP_LAT = 0 (no latch, shouldn't matter)
- I checked the voltage read with a voltmeter : very good agreement
Regards