STM32CubeG4 icon indicating copy to clipboard operation
STM32CubeG4 copied to clipboard

Flash latency inconsistency between STM32CubeG4 and RM0440

Open aurel32 opened this issue 2 years ago • 1 comments

There is an inconsistency about between the flash latency in the LL_SetFlashLatency() function (file stm32g4xx_ll_utils.c) in STM32CubeG4 and the STM32 G4 Series Reference Manual. The configured wait states are for instance twice higher than in the reference manual for the maximum frequency of 170MHz. See:

  • https://github.com/STMicroelectronics/STM32CubeG4/blob/master/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_ll_utils.c#L226-L250
  • https://www.st.com/resource/en/reference_manual/rm0440-stm32g4-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf pages 98, 150 and 191

aurel32 avatar May 20 '22 17:05 aurel32

ST Internal Reference: 130770

HBOSTM avatar Jun 22 '22 17:06 HBOSTM