cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F3 setting ADC trigger on HRTIM driven repetition IT event

Primoz Novak
Associate
Posted on July 24, 2017 at 08:47

Hello,

i'm trying to set adc trigger for my STM32F3 mcu. I have high frequency HRTIM set up with repetition counter to get interrupt every few periods. That gives me fast PWM with interrupt in sync with PWM period but once per few periods. I managed to set up sequence analog read for 8 channel triggered by PWM period. I would like to change TRIGGER from every Period to every second, third etc. since there is not enough time to measure all adc channels every period.

I'm using STM HAL library but don't see any options regarding ADC triggers. I only found defines for HRTIM trigger on different compare units.

Thank you for your help

#adc-trigger
1 REPLY 1
AvaTar
Lead
Posted on July 26, 2017 at 12:07

The F3 devices support an interleaved ADC mode, where two or three ADCs convert the same input signals sequentially to achieve higher sampling rates.

Don't know Cube/HAL, and if/how it supports this feature.