Multiplexing UART

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiplexing UART

926 Views
deepanrajanbara
Contributor IV

Hi,

Ours is a custom board is based on imx6.In which UART 2 is connected to GSM modem.In linux we are only able to access the UART once.What we wanted is to multiplex the UART 2 i.e ttymxc1 into 3 or 2 virtual port . So that i can access my serial port multiple times.Is there any driver available to multiplex my ttymxc1.If there is any method to multiplex please help me.Please reply as soon as possible

Thank you,

Deepanraj.A

Labels (3)
0 Kudos
2 Replies

204 Views
art
NXP TechSupport
NXP TechSupport

Do you mean the access to a single hardware UART port by different processes/software threads at the same time? If so, the answer is: no, it is not possible. It is prohibited on the Linux kernel level.


Have a great day,
Artur

0 Kudos

204 Views
deepanrajanbara
Contributor IV

In Linux we are having a GSM Mux line discipline support if we enable and follow the document in linux kernel i.e n_gsm.txt we are able to get virtual port of my ttymxc1.But now what problem is that when we try to "cat /dev/ttygsm1 " we are getting messgae "LEVEL 2 : Halted" what could be the issue can anyone help me in this issue .

Thank you,

Deepanraj.A

0 Kudos