Raspberry pi 4 has 4 usable uart
ports, uart 4
with r
x in gpio 9
and tx
in gpio 8
, share rx
pin with SPI0 miso0
pin.
I would like to use both peripherals no ate the same time, but in different moment of time.
In config.txt I enable uart4 with dtoverlay=4
, but spi0 stop working. Is there any way to solve this issue. I am thinking in load dtoverlay
dynamically, but I am not sure if this is possible.