cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f401re channel

Zeyu
Associate

Zeyu_0-1696730893887.png

Zeyu_1-1696730912462.png

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?

 

3 REPLIES 3

> However, I only see pwm channel on channels from 5 to 9.

What exactly do you mean by "channels from 5 to 9"?

JW

TDK
Guru

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".

If you feel a post has answered your question, please click "Accept as Solution".
CYANG.1
ST Employee

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.