I have installed RPi OS on CM4 mounted on the CM4 IO board. There is a 40 pin header on the CM4 IO board. I have looked at the GPIO table with alternate function assignments in the document of CM4. I found that GPIO4 can be used as TXD3 and GPIO5 can be used as RXD3. Does it means that these two pins can be used to setup UART and we can have access to the serial terminal in PuTTY in Windows PC.
Can someone please share the python code that we can run in RPi OS to setup UART connection with GPIO4 and GPIO5.
Can someone please share the python code that we can run in RPi OS to setup UART connection with GPIO4 and GPIO5.
Statistics: Posted by TommyBills — Wed Jan 21, 2026 4:00 pm — Replies 1 — Views 30