Anonymous Brave Man writes "Hi,
I am using a Wildfire board which has Coldfire MCF5282 controller and uses uclinux v. 2.95.3.
I tried to configure it for serial communication using following settings:
9600 baud rate,7 bits data,even parity,1 stop bit and no flow control.
Every other setting works fine except the 7 data bits setting.
I am using struct termios for these settings.
And defining 7 databits using: c_cflag |= CS7;
I have included a code snippet below that I used for checking 7 bits.
And the code returns true for the if condition which doesn't make sense.The code works fine for parity setting but not for databits settings.
What could be the reasons for this problem?"
|