10 years, 1 month ago.

Nucleo F401 PWM Not Working

I just started working with the Nucleo boards and they are interesting. I have worked with PIC microcontrollers for years. I am trying to get PwmOut to work on PB_10 and PB_4. However, I can only get PB_4 to function as expected. In fact, if I try to use PB_10 with PwmOut, then the program does not even execute after dragging and dropping. Maybe I am missing something, but the F401 seems to possess a number of PWM capable pins and PB_10 is one of them. Thanks in advance for your help.

Regards, Abe

1 Answer

10 years, 1 month ago.

Just to make sure, you do have the latest mbed lib? (Click on it, click on update if the button is there).

Accepted Answer

I made sure to upgrade the F401's firmware after removing it from the packaging.

Used the link below.

https://mbed.org/teams/ST/wiki/Nucleo-Firmware

Regards, Abe

posted by Abraham Howell 14 Apr 2014

That is just regarding the programming action itself. The mbed lib is the software used. In the online compiler, click on the mbed lib (at the left side), then if you don't have the latest version, at the right side there will be an update button.

posted by Erik - 14 Apr 2014

Thanks for the information. I performed the mbed lib update and now PwmOut works for PB_10!

Thanks, Abe

posted by Abraham Howell 14 Apr 2014