Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
what is different pwm?(Nucleo-F411RE)
Hello, I want to know difference of PWM pin in Nucleo-F411RE.
when I see the Arduino-compatible headers, there are many PWM pins in board.
but, I don't know why they are expressed PWM4/1, PWM4/3, PWM4/4.....etc?
Each of the other functions do they?
Please.... TT
1 Answer
9 years, 9 months ago.
First number is the timer they use: Each PWM on the same timer will have the same period. Second one is the channel of that timer they use: If two pins both have PWM4/1, they will always have exactly the same pulsewidth if you both use them as PWM. (Also by the way don't use channel 1 and channel 1N on the same timer at the same time for different pins). If they are on different timers you don't need to worry and can use them independently.