Multiplexing UART

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multiplexing UART

2,747 次查看
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,025 次查看
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,025 次查看
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 项奖励
回复