Skip to main content
jschloss
Associate II
December 11, 2018
Question

Flash wait states / VOS & STM32CubeMX generated code

  • December 11, 2018
  • 1 reply
  • 1174 views

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?

This topic has been closed for replies.

1 reply

Khouloud ZEMMELI
ST Employee
November 26, 2020

Hi @Community member​ 

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

Thanks

Khouloud