STM32CubeG4
STM32CubeG4 copied to clipboard
Flash latency inconsistency between STM32CubeG4 and RM0440
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
ST Internal Reference: 130770