Skip to main content
Associate
Jun 4, 2025 2:15 PM UTC
Solved

RX/TX pin swapping

We are using the STM32U575RIT6 device and performed a RX/TX swap on LPUART1, ports PC0 and PC1. When we enabled the Swap TX is properly transmitting out of PC0. But we are unable to read anything on the new RX pin PC1. 

Other than enabling the pin swapping what else would need to be changed? 

Are there any known issues with the SM32u5 pin swapping? 

This topic has been closed for replies.
jrobinson2Best answer
Associate
Jun 6, 2025 1:27 PM UTC

Solved,

Thank you for confirming there are no issues with the device. We were able to solve the problem, which was caused by a level shifter, we had to adjust our boot sequence and now everything is working.

3 replies

TDK
Jun 5, 2025 10:11 PM UTC

There's unlikely to be issues with the chip related to this, especially since it works with the normal mapping. If there was a known issue, it would be listed in the errata sheet.

STM32U575xx and STM32U585xx device errata - Errata sheet

"If you feel a post has answered your question, please click ""Accept as Solution""."
waclawek.jan
Super User
Jun 6, 2025 7:15 AM UTC

> we are unable to read anything on the new RX pin PC1

What does this mean? What is the signal source and how do you "read" it, exactly?

The basic test with UART is to connect Tx to Rx and write a very simple polled loopback test program, can you please do that?

JW

jrobinson2AuthorBest answer
Associate
Jun 6, 2025 1:27 PM UTC

Solved,

Thank you for confirming there are no issues with the device. We were able to solve the problem, which was caused by a level shifter, we had to adjust our boot sequence and now everything is working.