General TC > General TC Talk
[SOLVED] TC Max Serial Port Baudrate
aj:
--- Quote from: Juanito on May 27, 2013, 07:15:46 AM ---I guess any software limitation would be that of the linux-3.0.21 kernel.
Hardware-wise, you'd have to check with the manufacturer - what happens when you use stty to set the baud rate?
--- End quote ---
When I set the baudrate 230400 with stty command i get this message: "cannot perform all requested operations"
Thanks
Rich:
Hi aj
I think the baud rates may be hard coded in stty and only go up to 115200. For the speed you are looking to run at
will probably require you to find some documentation on your motherboard. The information you need is what type
of UART is on the board and what speed it is being clocked at to determine if it can even achieve the desired baud
rate. If it can't, you will need to find a serial card that can. Then you should be able to use setserial.tcz to configure it.
aj:
--- Quote from: Rich on May 28, 2013, 10:11:22 AM ---Hi aj
I think the baud rates may be hard coded in stty and only go up to 115200. For the speed you are looking to run at
will probably require you to find some documentation on your motherboard. The information you need is what type
of UART is on the board and what speed it is being clocked at to determine if it can even achieve the desired baud
rate. If it can't, you will need to find a serial card that can. Then you should be able to use setserial.tcz to configure it.
--- End quote ---
Hi Rich,
I have installed setserial.tcz and now i can change the baudrate.
My UART type is 16550A and it supports the 921600 baudrate.
Now I'm trying to change the baudrate but I just only can with setserial and I would like make the configuration by software developed in C language.
Thanks
Rich:
Hi aj
This may be of some interest:
http://jim.sh/ftx/files/linux-custom-baudrate.c
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 ---
I will try this and then I post the results.
Thanks Rich :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version