AnsweredAssumed Answered

Cortex M0 - STM32F030R8 Internal Timers and ADC

Question asked by Johnson.Mark.001 on Oct 26, 2015
Latest reply on Oct 26, 2015 by Clive One

ST Community - 

An application has the current design parameters for the STM32F030:

CLK: 20MHz external xtal on (PF0 & PF1) internal PLL to 40MHz. Complete. 

MCO: 40MHz CLK/2 = 20MHz out on PA8 (MCO alternate function) to clock external device. Complete.

Now the major internal timer(s) / ADC preferred methodology...

Can PA2 be used in input capture compare mode to capture a rising external pulse to trigger TIM15 CH1 to count for 30uSec (needed delay), then trigger TIM3 CH? to start an 12Bit ADC conversion approximately every 2uSec for 8 samples? I plan to move ADC results into RAM without the use of the DMA. I'm not asking for the code but the feasibility to use 2 internal timers for a delay and to start an ADC conversion for a period of time.

I'm going to post this in the ARM community as well.

Thanks for anyone's input, expertise or other possible approach(s).