2023-07-18 12:47 PM
I have turned on the Timer 1 and have gone through several tutorials to get pins PE0, PE11, PE13 and PE14 to pulse but I cannot get any sort of signal output. I'm attaching to project. The configurations are in main.h, I turn all the timers on in Main.c and that's pretty much it. Can someone help me?
Thanks
Bill
2023-07-18 11:22 PM
I don't understand Cube, but usually the problem with TIM1 output channels is, that it's an Advanced timer and needs to have TIMx_BDTR.MOE to be set.
JW
2023-07-19 10:38 AM
I cannot figure out where to set this bit in the entire project
Thank you
Bill
2023-07-19 11:22 AM
In your program, after you have set up all other TIM1 registers.
JW
2023-07-19 02:08 PM
I put the line in TIM1_BDTR.MOE in the code and it flagged an error. I'm sorry this is very new to me
Thank you
Bill
2023-07-19 09:09 PM
What error?
JW