You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build command:
west build -p -b stm32h747i_disco/stm32h747xx/m4 -- "-DDTC_OVERLAY_FILE=boards/stm32h747i_disco_m4.overlay"
Problem description:
I’m trying to run my application on the M4 core of the STM32H747I-DISCO board and use UART8 as the debug output.
However, when I move the same UART8 debug code from the M7 to the M4 build, there’s no message output on UART8.
When I build and run the same UART8 configuration on the M7 core, it works correctly (debug messages appear as expected).
Question:
Is there anything special I need to modify or enable in the M4 core build to make UART8 work?
Since UART8 works fine on the M7 core, I’m wondering if additional configuration is needed for peripheral access or clock setup when using it from M4.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Project setup:
Board: stm32h747i_disco
Target CPU: Cortex-M4
Build command:
west build -p -b stm32h747i_disco/stm32h747xx/m4 -- "-DDTC_OVERLAY_FILE=boards/stm32h747i_disco_m4.overlay"
Problem description:
I’m trying to run my application on the M4 core of the STM32H747I-DISCO board and use UART8 as the debug output.
However, when I move the same UART8 debug code from the M7 to the M4 build, there’s no message output on UART8.
When I build and run the same UART8 configuration on the M7 core, it works correctly (debug messages appear as expected).
Overlay file used (stm32h747i_disco_m4.overlay):
`
/ {
chosen {
zephyr,console = &uart8;
zephyr,shell-uart = &uart8;
};
};
&usart1 {
status = "disabled";
};
&uart8 {
status = "okay";
pinctrl-0 = <&uart8_tx_pj8 &uart8_rx_pj9>;
pinctrl-names = "default";
current-speed = <115200>;
};`
Question:
Is there anything special I need to modify or enable in the M4 core build to make UART8 work?
Since UART8 works fine on the M7 core, I’m wondering if additional configuration is needed for peripheral access or clock setup when using it from M4.
Beta Was this translation helpful? Give feedback.
All reactions