Re: [TODO][STM32F30x] ADC configuration
Posted: Mon Aug 18, 2014 5:46 pm
Tec,
Does you application need continuous or discontinuous mode (see RM)?
The driver apparently enforces the continuous mode and this means that once the trigger is received the conversions continues without interruptions. Enabling both continuous and discontinuous bits is forbidden (this is the driver limitation).
I think that the driver requires a change in adc_lld_start_conversion() in order to allow discontinuous mode. You may make a quick test there.
Giovanni
Does you application need continuous or discontinuous mode (see RM)?
The driver apparently enforces the continuous mode and this means that once the trigger is received the conversions continues without interruptions. Enabling both continuous and discontinuous bits is forbidden (this is the driver limitation).
I think that the driver requires a change in adc_lld_start_conversion() in order to allow discontinuous mode. You may make a quick test there.
Giovanni