After checking other parts of the code (trng_api.c and a few other board platforms (NUCLEO_F413ZH, ...)) it appears that even though the reset value defaults correctly it may be good practice to keep the HAL_RCCEx_PeriphCLKConfig statement that selects the HSI48CLK as source for USB/RNG.
ls
1 parent 21176e9 commit dc969ba1d90908fcbd59f3b7d4b93d50f51ad10f
@Tauno Magnusson Tauno Magnusson authored on 25 Jan 2021
Showing 1 changed file
View
targets/TARGET_STM/TARGET_STM32G4/TARGET_STM32G431xB/system_clock.c