cancel
Showing results for 
Search instead for 
Did you mean: 

PWM pins on STM32F072CB

akshat
Associate II
Posted on October 12, 2016 at 08:37

Hello,

I am working on STM32F072CB micro controller on a custom board. I am using mbed compiler and IDE for the development. I am having an issue related to the PWM pins on mcu.

I have configure PB_4(pin 40) and PB_5(pin 41) pins as PwmOut pins, but I am not able to generate PWM signals on PB_5.

Can you please help me to figure out issue for the same?

Thank you.

#mbed
11 REPLIES 11
Walid FTITI_O
Senior II
Posted on October 14, 2016 at 10:25

Hi saraf.akshat, 

This is the link of the file to modify:

https://developer.mbed.org/users/mbed_official/code/mbed-dev/file/21d94c44109e/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralPins.c

-Hannibal-

akshat
Associate II
Posted on October 14, 2016 at 14:05

Hi Hannibal,

Thank you so much for your support, issue is finally solved.