cancel
Showing results for 
Search instead for 
Did you mean: 

Running Zephyr RTOS on STM32F303CBT6

sbend
Associate II

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:

  • CONFIG_SOC_STM32F303X8
  • CONFIG_SOC_STM32F303XC
  • CONFIG_SOC_STM32F303XE

In addition, the device trees to include is also:

  • zephyr\dts\arm\st\f3\stm32f303X8.dtsi
  • zephyr\dts\arm\st\f3\stm32f303Xc.dtsi
  • zephyr\dts\arm\st\f3\stm32f303Xe.dtsi

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?

0 REPLIES 0