2025-10-06 5:45 AM
I am trying to set up a basic USB project on a NUCLEO-H7S3L8. It works okay with the HSI, but I need the HSE. I can see that the board has a 24MHz crystal fitted and resistors on SB14 and SB15. It's unmodified from the factory.
HAL_RCC_OscConfig() always returns with a timeout when trying to activate the HSE. I've tried various settings but can't get it to work.
I have attached my .ico file. The code is just what CubeMX generates. Thanks.
2025-10-06 6:19 AM
Did you set it like this ?
+ in clock tree set the 24M
It should work then. (My H7S3 does.)
2025-10-06 6:30 AM
Looks like it is set correctly.
2025-10-06 6:53 AM
Did you set it like this ?
... and USB:
2025-10-06 7:26 AM