2024-02-04 05:41 AM
Newbie here!
Setup:
Running the code lands me in the Error_Handler(). Found I end up with HAL_TIMEOUT at the attached code. I've changed the HSE Startup Timeout Value to 10,000 ms and still get a timeout returned. Can anyone help with what I am missing? I'm really new to this stuff but have done the same steps with a brand new NUCLEO-F446RE and have no issues. I've also tried the latest CubeIDE/MX and another NUCLEO-L476RG board but have the same problem. A big thank you in advance! Let me know if I can provide more info.
Solved! Go to Solution.
2024-02-04 06:38 AM
Hi,
look on your board: maybe has crystal 8MHz connected, not mco from st-link:
So try : set HSE : crystal .
(Or close SB50 , to get the mco -> hse bypass then. )
2024-02-04 06:38 AM
Hi,
look on your board: maybe has crystal 8MHz connected, not mco from st-link:
So try : set HSE : crystal .
(Or close SB50 , to get the mco -> hse bypass then. )
2024-02-05 03:59 AM
Thank you! I have no crystal at X3, but your comment led me to the below, a couple of which needed to be modified on my L4 board.