Dimpu10
Dimpu10

Reputation: 47

Can i use of am335x user uart without /dev/tty*?

I am using BeagleboneBlack which has am335x processor and me curious to know about user uart working with /dev/tty node so my question is "Can I use user uart without using /dev/tty entry? or another node entry? or can I make a custom uart kernel module with a different node entry (not use dev/tty)?"

I know this is weird things but this question is for only knowledge

Upvotes: 0

Views: 260

Answers (1)

De Funct
De Funct

Reputation: 495

Yes. You can. There are libraries that handle UART but just call the UART by another name, i.e. UART1, 2, 3, 4, 5 (etc).

I have found some libs that work like Adafruit_BBIO and pysabertooth. The pysabertooth lib works with the BBB and dimension engineering boards like the Sabertooth.

I mean literally, you can in a lib call the UART channels anything you wish. I see the answer the other fellow put down. I am currently not familiar w/ serdev. That may be an option but I am not skilled in uart/serdev in kernel 4.11.x.

Upvotes: 1

Related Questions