UART Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART Issue

Jump to solution
1,244 Views
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

1 Solution
918 Views
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

View solution in original post

1 Reply
919 Views
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