Hello,
We’re working with the RM42L432 in a new product and we’ve seen some weird behavior with the ADC inputs. We found that when reading ADIN[0..3, 20] as part of a group conversion, the group conversion creates a ~5ns spike (almost as if the pin is briefly shorted to ground) on the first signal measured. This results in the ADC periodically measuring the voltage incorrectly. The fix we found was to disable measurement of ADIN[20], which is the only input directly connected to ground. Is it problematic to connect one of the ADC pins directly to GND/VDD? Or, does this sound like a symptom of not allowing enough switching time between inputs? We’re fine with our workaround, we’d just like to understand what is causing the problem in case we are using the ADC inputs incorrectly.
One thought we had was that this could be caused by the sample capacitor in the ADC recharging after being grounded. I'm not so sure about this though because I would expect to see similar (although smaller) behavior on the other inputs as well since none of the ADC inputs are at the same voltage. I also tried adding a 1nF capacitor to the ADC input and while it reduced the spiking behavior, it didn't help as much as I would expect if this was caused by the 8pF capacitor.
ADC settings:
- 12-bit mode
- 10Mhz ADC clock
- Sampling time ~700ns
- ADIN[0..3, 20] are part of Group 1 conversion
- Sequential channel conversion