Hi everyone, so for the last few days I have been trying to figure out the STM32F446RE to use for a project. We are not allowed to use libraries such as HAL. So far I have been able to set up my timer 4 as a normal counter. Reading the data sheet I see the registers that I need to use, but I have no idea how to actually use them.
The problem that I have is I don't understand what the channels are and also, what register or bit do I need to look at to see the output of the PWM?
I see using CubeMX that pin PB6 is channel 1 of timer 4. But what registers do I need to edit in order to actually output on that pin. What should I set the pin mode to etc? I'm just really lost at this point.
I am coding in C.
I can maybe clarify more if needed.
The problem that I have is I don't understand what the channels are and also, what register or bit do I need to look at to see the output of the PWM?
I see using CubeMX that pin PB6 is channel 1 of timer 4. But what registers do I need to edit in order to actually output on that pin. What should I set the pin mode to etc? I'm just really lost at this point.
I am coding in C.
I can maybe clarify more if needed.