Api to change clock frequency

Is there an api to change the frequency of the core in order to reduce power consumption?

Thanks.

There isn’t a public API, but you could access the STM32 directly to do this. However, I recommend you thoroughly test this, since it may affect the timing of all peripherals, e.g. USB, I2C, SPI etc.

Have you seen the other power saving options, such as disabling WiFi and sleep modes?

Thanks, i will take a look.

About other power save methods Yes I did but i would like to save some other mW if it is possible.

You can gate peripheral clocks, that may help. the STM32 datasheet has more on that.