Using Mbed Studio and a STM32F103c8 I cant PWMout on PA_2. It just goes full on all the time if set “PwmOut blueled(PA_2);”
PMW out works fine for PA_0 and PA_01. PA_2 is a PWM pin on the STM32F103c8
It works fine in arduino but not Mbed for some reason.
I haven’t run into any other issues but could be from my setup? I am using NUCLEO-F103RB as the target but Deploy and debug target: STM32F103C8 (Keil.STM32F1xx_DFP.2.3.0) with debug flags “–target STM32F103C8 --erase=chip --frequency 1800000 --pack ‘c:\Users\garne\AppData\Local\Mbed Studio\mbed-studio-tools\cmsis-packs\Keil.STM32F1xx_DFP.2.3.0-small.pack’ -O connect_mode=under-reset”
I just didn’t see any other way to do the stm32F103c8 easily in MBed and I like the CAN bus API for mbed.