[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using a serial port



There are no dtoverlays using Debian, they are on Raspberry OS.

On 6/17/22 7:34 PM, Lennart Sorensen wrote:
On Fri, Jun 17, 2022 at 06:45:02PM -0500, Steve Fatula wrote:
Is there anyway to get an attached serial port working on Debian and
raspberry PI 4? It appears the tested installs want to use it as a serial
console, I do not. I want to use UART1, the PL011, as an RS232 port to a
projector.

I can do this using Raspberry OS, but, not Debian using the tested installs.
There is no way to disable Bluetooth via the overlays used on Raspberry OS.
I can sort of mess around and stop the console from being started on ttyS1,
but no way to use the port as a serial port to send and received data.
Apparently the dtoverlays are not there.

So, is there any way to really use a serial port, attached to any GPIO pins,
as a real RS232 port using Debian images? if so, what do I need to disable
or enable?

As mentioned, had it working on Raspberry OS which is based on Bullseye. But
unfortunately I can't use Raspberry OS for our usage.
 From what I have read you should be able to enable uart2 through uart5
on the Pi4B using the dts overlays.  I don't have a Pi4 yet so no
experience with doing that unfortunately.

https://forums.raspberrypi.com/viewtopic.php?t=244827 seems to have some
talk about it though.



Reply to: