Solved
In the reference manual STM32G4 Series (RM0440) there is an error in chapter 7.4.2 ICSCR. The description of HSITRIM[6::0] says that the default value is 16. This is wrong. The default value for the G4 processor is 32.
..
..
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.