Other Parts Discussed in Thread: SK-LCD1
Hello,
As the title says, I am trying to figure out how to use UART5 from the expansion header J3 in Linux but I am having trouble figuring out how this is done. I am fairly new to Linux development so I apologize if I missed an obvious note or guide from TI.
My assumption is that I would need to modify the device tree so that Linux would be aware these pins are being used for UART communication. I saw this section (4.1.7 How to enable DT overlays in linux) in the Processor SDK Linux for AM62x documentation, however I am not sure how I would go about changing one of the device tree files (or creating a new one) in order to enable UART5 in Linux. Additionally, I assume these instructions are only valid for TI-Linux and not Debian Bookworm on the AM62. Currently I have been trying to use Debian Bookworm as it has been easy to install packages of other software I am planning on using, and the Debian Developer's Guide does not seem to provide very many details on how to go about changing the device tree.
My initial goal is to have a USB to Serial converter connecting my development PC to the SK-AM62 and to be able to see UART messages coming from the SK-AM62 to verify that the UART5 is functioning before moving on.
My questions are as follows:
1.) Is my assumption correct that in order to use UART5 the device tree needs to be modified, or is UART5 already available with ttyS# (/dev/ contains ttyS0, ttyS1, ttyS2, and ttyS3 which I assumed was for the other UARTs which are already connected to things on the board)
2.) If so, are there any examples for how to go about enabling this, do new files need to get made or does an existing one need to be modied?
3.) Is this process (enabling UART5) different for TI-Linux and Debian Bookworm?
Thank you in advance for any support.