Search found 4 matches

by fpolicastrese
Tue Aug 06, 2019 4:26 pm
Forum: STM32 Support
Topic: STM32 - ADC Callback not invoked
Replies: 6
Views: 4670

Re: STM32 - ADC Callback not invoked

Hi Mike, thanks for your reply.

These days, I investigated.
If I start the ADC12 group, in "single conversion mode"(see the CFGR register):


...
FALSE,
NUM_CHANNELS,
adcCallback,
adcErrorCallback,
ADC_CFGR_RES_12BITS, /* CFGR */
ADC_TR(0, 4095), /* TR1 */
ADC_CCR_DELAY(7 ...
by fpolicastrese
Thu Aug 01, 2019 2:59 pm
Forum: STM32 Support
Topic: STM32 - ADC Callback not invoked
Replies: 6
Views: 4670

Re: STM32 - ADC Callback not invoked

Hi Giovanni.

The project is too complex, migrating to the new ChibiOS would take up too much time.
Do I do other tests, can we update ourselves tomorrow or later?

Thanks a lot.

Ragards.
Francesco.
by fpolicastrese
Thu Aug 01, 2019 12:51 pm
Forum: STM32 Support
Topic: STM32 - ADC Callback not invoked
Replies: 6
Views: 4670

Re: STM32 - ADC Callback not invoked

Hi Giovanni, thanks a lot for your reply.
In this project I also use STM32_ADC_USE_ADC3, and the callback work correctly... see code.

In the previous code, do you see a problem?
For the ADC12, the clock source is 72/4=18 MHz, is too speed?
Any suggest?

Thanks in advance.
Regards.

Francesco ...
by fpolicastrese
Thu Aug 01, 2019 12:08 pm
Forum: STM32 Support
Topic: STM32 - ADC Callback not invoked
Replies: 6
Views: 4670

STM32 - ADC Callback not invoked

Hi to all, I'm new in the forum.

I need help using the ADCConversionGroup and ADC HAL for the STM32F303VCT microcontroller.

My target is to acquire from analog input IN10, and sample in dual mode(ADC1 master, ADC2 slave) interleaved, with a total of 140*2 sample, naturally through DMA..

I have ...