Showing results for 
Search instead for 
Did you mean: 

Nucleo U5A5ZJ-Q RCC Configuration


This is my first STM32 project and I am using the Nucleo U5A5ZJ-Q with CubeIDE version 1.15.0. I am trying to use the generated code to toggle the LEDs as a simple "hello-world" example. When I create a new STM32 project in CubeIDE, I take the following steps shown in the screenshots below. When I go to generate the code, I get a warning about the RCC peripheral being incorrectly configured (shown below).

Screenshot 2024-03-27 at 10.24.59 AM.png

Screenshot 2024-03-27 at 10.25.28 AM.png

Screenshot 2024-03-27 at 10.25.51 AM.png

I generate the code anyways, and when I navigate to the pinout & configuration window, I see that CRS SYNC has a conflict with PA10.

Screenshot 2024-03-27 at 10.28.34 AM.png

Screenshot 2024-03-27 at 10.31.03 AM.png

When running the auto generated main.c program, an error is thrown on line 170 in SystemClock_Config() in main.c.

Screenshot 2024-03-27 at 10.32.42 AM.png

I am currently working through the documentation, but any suggestions on what might be going wrong here would be appreciated. Note I have not changed the code or the pinout configuration at all up to this point , this is the default state when the project was created.