We want to use GPIO_B0_08 and GPIO_B0_09 pins as PWM but we are not seeing any output after doing the changes in code. Attached is the code for the same.
Is there anything which we are missing in the code settings as these pins are boot config pins.
You need to set the switches open. But still the pull-down resistors are going to attenuate your signal. If you do not use these pins for your boot configuration it is preferable that you remove the resistors.