cancel
Showing results for 
Search instead for 
Did you mean: 

(STM32F105C8, STM32CubeIDE 1.9.0, MacOS 11.6.5) Using STM32CubeIDE, how do I can't get TIM3 to tick/count when TIM2 overflows. (TIM2 does count up)

FMoto.1
Associate

TIM2:

Clock source: Internal

Master/Slave Mode: Disabled (Trigger input not delayed)

Trigger Event Selection: Update Event

TIM3:

Slave Mode: Trigger Mode

Trigger Source: ITR1

TIM2 counts up like it should, but TIM3 doesn't count the over flow, but has increasing numbers that don't make sense.

What am I doing wrong?

All the example I could find don't use the IDE/MX and I couldn't figure out how to map the registers to the HAL names.

Thanks in advance!

2 REPLIES 2
TDK
Guru

You want external clock mode 1, not trigger mode.

0693W00000Np9TkQAJ.png 

See "Using one timer as prescaler for another timer" in the reference manual.

If you feel a post has answered your question, please click "Accept as Solution".
FMoto.1
Associate

Thank you, THANK YOU!!!

I was thinking external clock on a pin, not external to the timer, but internal to the F105.