General TC > General TC Talk
[SOLVED] TC Max Serial Port Baudrate
aj:
--- Quote from: Rich on May 28, 2013, 10:35:00 AM ---Hi aj
This may be of some interest:
http://jim.sh/ftx/files/linux-custom-baudrate.c
--- End quote ---
Hi Rich,
I use setserial to change the baud_base to 921600.
My serial card is a super I/O W83627HF and it supports the 921600 baud rate.
I compile the code you give me and I can configure the serial port but some strange things happen:
-> baud_base 921600 (with setserial) -> 115200 configured by software -> 9600 real baud rate
-> baud_base 921600 (with setserial) -> 230400 configured by software -> 38400 real baud rate
-> and I tried with different values for baud_base and I changed the divisor with setserial but the real max baud rate is 115200.
The problem could be the TC serial driver? I'm trying to debug if the problem is the software before contact the super I/O manufacturer.
Thanks
Rich:
Hi aj
OK, one thing at a time. Does setserial correctly set the baud rate to 921600? Show the setserial command you are
issuing.
aj:
--- Quote from: Rich on May 29, 2013, 11:02:44 AM ---Hi aj
OK, one thing at a time. Does setserial correctly set the baud rate to 921600? Show the setserial command you are
issuing.
--- End quote ---
I set "sudo setserial /dev/ttyS0 cust_spd baud_base 921600 divisor 1". Then I use "setserial -a /dev/ttyS0" and I can see the configuration results.
Rich:
Hi aj
If you send data out of the port, is it coming out at 921600?
aj:
--- Quote from: Rich on May 29, 2013, 11:23:22 AM ---Hi aj
If you send data out of the port, is it coming out at 921600?
--- End quote ---
No. I'm sending data to another pc and the max speed that I can read is 115200.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version