STMicroelectronics / STM32CubeG4

STM32Cube MCU Full Package for the STM32G4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
182 stars 98 forks source link

Flash latency inconsistency between STM32CubeG4 and RM0440 #34

Closed aurel32 closed 1 year ago

aurel32 commented 2 years ago

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:

HBOSTM commented 2 years ago

ST Internal Reference: 130770