2025-03-15 9:26 PM
I just started working with the STM32N6570-DK and tried a simple blink the LED example based on the "How to create an STM32N6 FSBL load and run" article. I selected the Initialize with default parameters option and without touching any configuration options, I received this warning on Code Generation. "Main Config: These peripherals still have some not configured or wrong parameter values: [Clock]." If I cancel the build, I can go back and get the option to run automatic clock issue solver. The Clock Configuration screen has a complete section in yellow related to PLLs and frequencies to IC1 to IC20 listed individually (partial screenshot attached). Is this yellow indicating the configuration error or just highlighting something that CubeMX wants to emphasize? What are these IC1 to IC20 designations represent? Without doing anything I can exit, and code will be generated without another error. Trying to run that code results in the Error Handler being called in MX_SDMMC2_SD_Init and if this call is disabled, the call MX_USB2_OTG_HS_HCD_Init hangs in the call to HAL_HCD_Init(&hhcd_USB_OTG_HS2).
This appears, to me, to be a problem in the default initialization of the STM32N6570 with the CubeMX. I'm using STM32CubeMX version 6.14.0. Same results if CubeMX is called from within STM32CubeIDE version 1.18.0. I don't think a default configuration should fail so catastrophically.