Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4972

Troubleshooting • Re: UARTS 2,4 Work. UARTS0,1,3, Fail - RPI CM5 + I/O Board

$
0
0
Have you looked at the GPIO function assignments table on page 11 of the CM5 datasheet?

You are currently loading overlays for uart5 and uart6, which I don't think exist on the CM5. Those could possibly be interfering with the config, maybe?

I would start with trying to get all of the a2 UARTs working, i.e. uart1,2,3,4, without any other overlays. Try just those 4 and see if you get something sensible looking from pinctrl. If that works, then move on to trying for uart0, which could be more interesting due to the collision between pin assignments in a2 and a4, although I think it might work if everything is just 2-wire (TXD & RXD) serial. Also, I think you need to be using the …-pi5 overlays, going by /boot/firmware/overlays/README. I would also skip the "dtparam=uart0=on" initially, as the README suggests that the overlay alone may be sufficient. I.e.

Code:

#dtoverlay=uart0-pi5dtoverlay=uart1-pi5dtoverlay=uart2-pi5dtoverlay=uart3-pi5dtoverlay=uart4-pi5

Statistics: Posted by Murph9000 — Tue Jan 07, 2025 1:47 am



Viewing all articles
Browse latest Browse all 4972

Trending Articles