Keep in mind that PWM outputs are very processor-specific; what's hiding behind a seemingly simple 'analogWrite' is an entirely different beast for an STM32Fxxx processor than it is for, let's say, the ATmega328p most of us are familiar with.
Yes. It work fine with STM32F103C8T6. I have verified. But now, i am test some simple function in arduino like: Blink LED, simple PWM, ADC, SERIAL.... All work fine. But PWM dont work. Is it some library needed?