Linux serial port binary data6/10/2023 ![]() I won’t be able to answer the error question, but you’ll want to state which tty you are using. If you talk to “ /dev/ttyS2”, then you are not using DMA if you are talking to “ /dev/ttyTHS2”, then you are talking to the same UART with DMA being used. ![]() The “ ttyTHS#” is the “Tegra High Speed” version of the driver, and this is DMA enabled. The “ ttyS#” designation is the old style traditional driver, and is supported even in early boot stages prior to Linux loading. When you see “ /dev/ttyS2” and “ /dev/ttyTHS2” you are looking at two drivers for a single UART. Each file is a different driver for the same UART (you would not want to mix back and forth between drivers…“bad things” might occur, it isn’t predictable when two drivers both try to operate on the same hardware at the same time). I probably can’t answer what you really need to know, but realize that any given UART will typically have two different files for it in “ /dev”.
0 Comments
Leave a Reply. |