2023-10-25 12:39 AM - edited 2023-10-25 01:02 AM
Hello,
I am using the board "STM32F407G-DISC1" and I want to implement a test code for timers in output compare mode,
Timers (2,3,4,5, and 12) worked perfectly.
but it does not work for Timer 8 Channel 2 (I used all possible pins for this channel "PB0, PB14, PC7") none of them have worked.
the code for timer 2 and timer 8 is attached
Thank you,
Dema.
Solved! Go to Solution.
2023-10-25 01:38 AM
2023-10-25 01:38 AM
TIM8 needs to have TIM_BDTR.MOE set.
JW
2023-10-25 05:32 AM
It worked !
Thank you a lot.