I checked with the development team and they confirmed that the default is mode 0, which will give you 13 ENOB. We are looking into adding an API within the next SDK release to change the mode.
1 of 1 people found this helpful
Thanks to StSm_298421 we found the solution:
we include 20732mapa1.h and are using the following code to change the ADC to mode 3 before calling arc_config():
config.adc_intf_ctl_reg = mia_adc_intf_ctl;
config.bitmap.adcModeSelect = INTF_CTL_MODE_3_100KHZ;
mia_adc_intf_ctl = config.adc_intf_ctl_reg;
Now the ADC sampling is quite fast and the ENOB of mode 3 is totally sufficient for us.
Of course this is not the optimal solution because it bypasses the ADC SDK and sets the mode directly.
But we hope that changing the ADC mode will be part of the next SDK release...