HELP. analogWrite() dont work?

Im try to generate PWM on PA6 in bluepill-stm32f401CCU6, but it dont work, output is LOW.
My code:

void setup() {
pinMode(PA6,OUTPUT);
}

void loop() {
analogWrite(PA6,128);
delay(1000);
}

My IDE is install 1.8.15 version. I dont know why.
Some one could help me. Thank you!

Have you seen this: How to change Arduino/STM32 PWM frequency to 20kHz in Arduino IDE
Might be useful.

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?

Did you read the page I linked to? Was it useful in any way?

My prolem is solved after change reference ULR
old: http://dan.drown.org/stm32duino/package_STM32duino_index.json - stm32f401ccu6 analogWrite dont work
new: https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json - work fine.
Thank you so much for your answer!