-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The stm32wb55rc MCU does not operate on zephyr #33974
Comments
What pin are you using for the blink? The nucleo_wb55rg expects one of the pins: PB5, PB0, or PB1. Though I expect only PB0 will work with the blinky example since it is given the alias https:/zephyrproject-rtos/zephyr/blob/master/boards/arm/nucleo_wb55rg/nucleo_wb55rg.dts |
It seems to me this is your main issue. HSE is the system clock, without it nothing happens (at least as far as I understand the default Zephyr settings).
The GPIO should absolutely work, I agree! |
@wngur300 This is indeed strange. I suspect a clock configuration issue. |
I confirm : no pb seen sofar with this sample config. of the nucleo wb55rg
|
Moving this to 'question' as this is reported on a SoC that is not yet supported with zephyr, on a custom board. @wngur300 Do you confirm the issue is till present ? |
R1 (1M Ohm) of the circuit diagram captured above was removed and operated normally.
The LSE was not ready and was unable to exit the repeat. |
@wngur300 Thanks for this feedback! So from what I understand, this is not linked with Zephyr implementation, as you would face the same issue on CubeMx if using LSE. If you agree, can you close the point ? |
It was a hardware problem, so I'll close it. |
Describe the bug
I changed the mcu to stm32wb55rc by configuring the circuit of the nucleo_wb55rg development board similarly.
We reduced the sram size and flash size in the device tree and tested it.
I tried to build a sample source of samples/basic/blinky, but the OSC_IN, OSC_OUT pin does not produce a clock of 32MHZ and does not work.
However, both work well when constructed via Keil compiler with either wb55rg or wb55rc via STM cubemx (mcu is wb55rc, but the configuration of the wb55rg board also works).)
And the clock configuration of wb55rg and wb55rc was the same.
Eventually, with the nucleo_wb55rg board setting, we believe that a function like gpio should work when wb55rc,
but it does not work well.
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information)
OS: Linux ubuntu 18.04
Toolchain: zephyr-sdk-0.11.4
Commit SHA or Version used: 7a3b253
Environment (please complete the following information):
Additional context
The circuit on the nucleo_wb55rg development board is the same as configured with SRAM and wb55rc with a smaller FLASH capacity.
When built with the nucleo_wb55rg board, the base of the sram and flash memory map are the same, so I think I just need to reduce the size of them.
I tested the stm32wb55Xg.dtsi file by modifying it, but the default gpio on/off behavior is not working.
However, when configured with stm32wb55rg mcu in cubemx and compiled, the wb55rc board acts as gpio.
Why is the board not normal with wb55rc?
The text was updated successfully, but these errors were encountered: