Hi, I'm developing custom board with nrf52832
The problem is that when saadc returns negative value, all values that saadc returns after are max possible values from config So the previous adc value affects all that goes after it. They stay at max until adc will return another negative value.
Things I tried that didn't help:
- Checking gnd/0
- Setting adc limits by nrf_drv_saadc_limits_set
- Pin in single-ended mode
- Calibrating adc (different time intervals)
- Bitmask to adc returned value (adc is configured with 12 bit, so i zero 4 top bits)
- Different channel configs
Looking for help, I'm confused a lot