cancel
Showing results for 
Search instead for 
Did you mean: 

May someone help explain what are TIM1_CH1 or TIM1_CC1 ?

nNg.1
Associate II

I am using the STM32F407Zg MCU and is learning how to set up the ADC for continuous sampling by timer. But I have trouble to understand the manual. The ADC section refer to TIM1_CH1 or TIM1_CC1 etc. But the Timer section do not use the same term.

6 REPLIES 6
KnarfB
Principal III

TIM1_CH1 - timer channel 1 - all stuff belonging to timer channel 1

TIM1_CC1 is probably the TIM1 capture/compare event for channel 1

What manual?

RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and STM32F429/439 advanced Arm®-based 32-bit MCUs doesn't have it

hth

KnarfB

nNg.1
Associate II

It is the RM0090. What is Timer 2 TRGO then?

I also find it confusing, TRGO i believe would translate as "Trigger Output".

If you do ctrl+F in the RM0090 manual you would find some mentions.

we dont need to firmware by ourselves, lets talk
KnarfB
Principal III

Timer 2 trigger out. An internal signal that can be generated by some timer event, usually update (at the end of counting) and can be routed to the ADC and trigger an ADC conversion, see Figure 44. Single ADC block diagram

TRGO is timer output set by TIMx_CR2.MMS.

JW

nNg.1
Associate II

Thanks a lot.