2023-06-02 03:35 AM
I have a custom board with an STM32F303CBT6 MCU with an external 16 MHz oscillator, but I am unfortunately not able to get Zephyr RTOS to successfully boot.
From the KConfig options, it does not look like the specific variant of F303 is supported. It does have the following configs:
In addition, the device trees to include is also:
Both the config and dtsi are missing the stm32f303Xb variants.
I tried to put my own dtsi file together, but so far without any luck. Its attached to this post.
When using the attached dtsi, the debugger gets stuck in "LL_RCC_HSE_IsReady" defined in modules/hal/stm32/stm32cube/stm32f3xx/drivers/include/stm32f3xx_ll_rcc.h
Debugger is an STM32 programmer connected by SWD to the board.
Any recommendations to get the specific MCU working with Zephyr RTOS?
2025-01-11 05:52 PM
Hmmm, i believe it will end up there if it does not manage to recieve 500 cycles of the clock, as found in reference manual
Are you sure the hse clock is bypassed?