Multiplexing UART

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multiplexing UART

2,756件の閲覧回数
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

ラベル(3)
0 件の賞賛
返信
2 返答(返信)

2,034件の閲覧回数
art
NXP Employee
NXP Employee

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 件の賞賛
返信

2,034件の閲覧回数
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 件の賞賛
返信