UART Issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
944件の閲覧回数
deepanrajanbara
Contributor IV

Hi,

I wanted to configure UART3 at 4Mbps.But When Configured the Speed is set for all the UART .Can anyone help me to configur UART3 alone.

File Path

/linux/drivers/tty/serial/serial_core.c

line number 2284

normal->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL;

normal->init_termios.c_ispeed = normal->init_termios.c_ospeed = 9600;

This option configures all the UART at 4Mbps.But wanted is UART3 only.

Thank you,

Deepanraj.A

ラベル(7)
1 解決策
618件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Deepanraj

had you tried Linux shell:

  # stty -F /dev/ttymxc1 19200

serial port - How to set a custom baud rate on Linux? - Stack Overflow

Best regards

igor

元の投稿で解決策を見る

1 返信
619件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Deepanraj

had you tried Linux shell:

  # stty -F /dev/ttymxc1 19200

serial port - How to set a custom baud rate on Linux? - Stack Overflow

Best regards

igor