2023-08-04 02:44 AM
The initialisation code generated (by CubeIDE v1.13.0) leaves both the transmitter and the receiver enabled!This is clearly not a valid state!
See:
https://community.st.com/t5/embedded-software-mcus/hal-uart-transmit-with-single-wire-half-duplex/m-p/579328
2025-02-24 08:30 AM
Same problem here - with STM32C011:
https://community.st.com/t5/stm32cubemx-mcus/cubemx-generates-bad-code-for-uart-in-half-duplex/td-p/776144