2026-01-23 5:47 AM
Hi,
I am experiencing issues with UART single-wire (half-duplex) communication on an STM32H723. The UART handler reports error code 4 (frame error). I have tried a wide range of configuration settings without success.
The same setup works correctly on an STM32F439, but not on the H723. Do you have any suggestions on what I could try or what might be causing this behavior.
BR
2026-01-23 6:53 AM
If it reports a frame error, maybe there's a frame error. Can you see what is happening on the line with the help of a logic analyzer? Are you sending data or receiving data?
2026-01-23 7:00 AM
I can decode the signal perfectly with a PicoScope and consistently observe the correct data. At the moment, I am only receiving data; however, at a certain point I also need to transmit data.
2026-01-23 9:22 AM
Perhaps the baud rate is incorrect due to a clock configuration issue. Try sending data and verifying the baud rate is as expected.
You will also get a framing error if the peripheral is enabled in the middle of a byte as opposed to when the bus is idle.