cancel
Showing results for 
Search instead for 
Did you mean: 

Flash wait states / VOS & STM32CubeMX generated code

jschloss
Associate II

I used CubeMX (v5.0.0, H7 pack v1.3.0) to generate some initialization code for the STM32H750, with the CPU core at 200 MHz and the various peripheral clocks at 100MHz.

Cube then set the core voltage to PWR_REGULATOR_VOLTAGE_SCALE3 and the flash latency to FLASH_LATENCY_1 in the generated clock initialization function.

But looking at Table 12 in the ref manual RM0433 rev 5, it sounds like I need to be set to FLASH_LATENCY_2 for 100 MHz AXI periph clock @ VOS3, or be set to VOS2 or VOS1 for FLASH_LATENCY_1.

Is the generated code incorrect?

1 REPLY 1
Khouloud ZEMMELI
ST Employee

Hi @Community member​ 

Could you please share your ioc file to check your case ?

Thanks

Khouloud