This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Timer triggered ADC

Hi,

Processor: STM32F103RB (Kiel evaluation board MCBSTM32)

I am attempting to setup a timer triggered ADC operation. To trigger the ADC I was planning to use TIM1_CH1.

I am having problems understanding the timer section. There are just so many permutations I am becoming confused as to what the minimum is I need to do.

I looked at the timer example. In the configuration wizard I see it setup with timer 1 enabled, I see the time period setup and set for an interrupt. I assume I do not need the interrupt and the signal is just utilized internally.

In looking at the GP timer block diagram, it seems to indicate that I must do something with the “capture/compare channel†to get the signal to trigger the ADC. Here things get pretty deep for me.

Can anyone help simplify this a bit?

0