Using i.MXRT1062, the first ADC value is slightly lower than the expectation.
- Software Triggering
- 12 bits ADC resolution
The starting sequence (using fsl_adc):
- In loop, at key press:
- Wait for ADC_GetChannelStatusFlags
- ADC_GetChannelConversionValue() at key press
- First value read: ~3200
- Following value read: ~3400-3450
Do you have any idea why the first value is not accurate ?
(sample code attached)