Question
BUG: Incorrect HSE clock (STM32G474)
When using an external crystal in the MXcube for the STM32G474 mcu.
conditions:
Change High Speed Clock (HSE) to Crystal/Ceramic Resonator in the pinout & Configuration tab page
Change the input frequency to 16Mhz in the Clock configuration tab page
After generation the code, op the file 'system_stm32G4xx.c file.
The HSE_VALUE isn't changed to 16000000U
#define HSE_VALUE 8000000U