2022-10-07 1:23 AM
We're using Ecosystem 2.1.0 still (I know!).
I'm using the CubeMX autogen code i.e.
rcc_pins_mx: rcc_mx-0 {
u-boot,dm-pre-reloc;
pins1 {
u-boot,dm-pre-reloc;
pinmux = <STM32_PINMUX('G', 2, AF1)>; /* RCC_MCO_2 */
bias-disable;
drive-push-pull;
slew-rate = <1>;
};
pins2 {
u-boot,dm-pre-reloc;
pinmux = <STM32_PINMUX('I', 11, AF0)>; /* RCC_MCO_1 */
bias-disable;
drive-push-pull;
slew-rate = <0>;
};
};
rcc_sleep_pins_mx: rcc_sleep_mx-0 {
u-boot,dm-pre-reloc;
pins {
u-boot,dm-pre-reloc;
pinmux = <STM32_PINMUX('G', 2, ANALOG)>, /* RCC_MCO_2 */
<STM32_PINMUX('I', 11, ANALOG)>; /* RCC_MCO_1 */
};
};
If this is in U-Boot's devicetree, U-Boot locks up with no message on start-up.
If I take it out of U-Boot's devicetree but leave it in the kernel's, U-Boot starts up fine but the kernel locks up, again with no panic or other output.
2022-10-27 9:02 AM
Hi @Spamfast ,
I guess you are facing a known issue while configuring MCO pin on MP15 with release < 4.0
Please have a look to post
And let me know if it help !
Olivier
2022-11-16 5:02 AM
HI @Spamfast
did you progress on your issue ?
Regards,
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.