Results 1 to 2 of 2
Hai,
I am using linux centos and I am using termios.h to configure the serial terminal. I fixed the baudrate as 500000bps to communicate with the target by fixing the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-26-2012 #1Just Joined!
- Join Date
- Mar 2012
- Posts
- 1
Problem in configuring Serial terminal
Hai,
I am using linux centos and I am using termios.h to configure the serial terminal. I fixed the baudrate as 500000bps to communicate with the target by fixing the values as
options.c_cflag = 18b5
options.ispeed = 1005
options.ospeed = 1005
But the communication is not happening. But its working fine with the baudrate 230400bps. for that the configuration is 18b3 1003 and 1003 respectively...
- 03-27-2012 #2Just Joined!
- Join Date
- Feb 2010
- Posts
- 25
I think you should make settings by using a combination of flags provided in the include directory (like options.c_cflag = B500000 | CRTSCTS | CS8 | CLOCAL | CREAD).
The options.ispeed and ospeed should be equal to 10005. You can check that by exploring the bits/termios.h file in the include directory.


Reply With Quote
