[STM32F411E-Discovery Board] HAL_RCC_OscConfig() always returns HSE_TIMEOUT while waiting for HSE to be ready and I can't figure out why. All peripherals are initialized to default Mode.
Using STM32CubeIDE v1.6.1 on MacOS 11.3.1
Steps to reproduce:
- Create a new STM32 project.
- Board Selector -> Select STM32F411E-Disco
- Name project, leave everything else as default, hit finish.
- Initialize all peripherals with their default Mode? Yes
- Debug as STM32-M C/C++ Application.
- Hit play then pause and you'll end up in the Error_Handler.
- Stepping through the program it errors out waiting for the HSE to be ready.
Troubleshooting:
- I made sure I wasn't insane and choosing the wrong board. I am staring at the board name on the back of the PCB as I write this.
- I am able to use the board and interact with the LEDs and button when using the internal clock.
- Tried to increase HSE Startup Timeout to 10 seconds, still times out.
- I checked the solder bridges, SB14, SB16, R66 are off and I made sure with a multimeter.
I want to use the USB OTG but can't do so without the external clock but I haven't tried to use an entirely separate clock circuit yet. What bothers me the most is that I'm using entirely default settings and getting the error. I'm new to the entire workflow so I feel like I'm just missing something really obvious. Thank you in advance to anyone reading this. I've been bashing my head at this for a few weeks now.
