2022-01-27 03:55 AM
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.
2022-01-27 04:05 AM
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
2022-01-27 04:27 AM
It is the RM0090. What is Timer 2 TRGO then?
2022-01-27 04:38 AM
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.
2022-01-27 04:39 AM
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
2022-01-27 05:21 AM
TRGO is timer output set by TIMx_CR2.MMS.
JW
2022-01-27 05:22 AM
Thanks a lot.