Hi,
I enabled differential mode by setting enableDifferentialPair to true (CADC driver), and I get values between 0 and 4095.
2048 when ADC channel 0 = ADC channel 1
0 < ADC result < 2048 (when ADC channel 0 < ADC channel 1)
2048 < ADC result < 4095 (when ADC channel 0 > ADC channel 1).
I was expecting the values to be between -4095 and 4095 (signed). The ADC result is 16 bit (3 bits left shifted and the 16th bit is signed bit when using differential mode).
Is there an example code for configuring differential mode?
I'm using MKV46 .