Skip to main content
CZhao.1
Associate II
January 2, 2022
Question

CHANGE TIM1 TO TIM20

  • January 2, 2022
  • 1 reply
  • 670 views

HELP

I IMPORT PROJECT FROM TIM1 TO TIM20.

Cannot work.

system stopped at ll_tim_clear_update(timx) in r3_2_f30x_pwm_curr_fab.c

thanks.

This topic has been closed for replies.

1 reply

cedric H
Technical Moderator
January 3, 2022

Hello @CZhao.1​ ,

Please, consider that the human who read your post can not guess your configuration with the information you provided.

On F3 series, the workbench supports only Timer 1 and 8.

could you describe what did you do when you write "I IMPORT PROJECT FROM TIM1 TO TIM20" ?

Did you pay attention to change all the defines related to TIM1, and also to connect the right IRQ handler to TIM20 ?

Regards

Cedric