2023-10-07 07:11 PM
Here are the stm32f401re schematics and pinouts. I want to see the timer in channel 1 and use that timer to cooperate in the PWM channel. There are no timers other than channels 1 to 4. However, I only see pwm channel on channels from 5 to 9. How can I use the timer in a different channel to set the algorithm of the PWM waveform?
2023-10-08 12:38 PM
> However, I only see pwm channel on channels from 5 to 9.
What exactly do you mean by "channels from 5 to 9"?
JW
2023-10-08 03:45 PM
I think there is a misunderstanding here.
A lot of those pins can be driven by a timer in PWM mode. For example, pin PA0 can be driven by TIM2_CH1. This is just one example out of many.
I'm also confused as to what you mean by "channels from 5 to 9".
2023-10-25 12:48 AM
The PWM signals were assigned on Arduino connectors CN9/CN5 according to the definition of Arduino. D3/D5/D6/D9 are with PWM features. Please refer to the UM of nucleo. Other pins may also have PWM features, such as D0, PA3, TIM2_CH4/TIM5_CH4/TIM9_CH2 are on this pin. You can refer to F401 datasheet to find suitable PWM pins for your application.