Forum Discussion
Altera_Forum
Honored Contributor
17 years agoSpeed! when reading from the serial port
Hello folks, I am reading messages from the UART at 230400 8-N-1. The messages are 41-byte long. The whole message takes about 2ms to be sent into the UART. However, when I do fscanf, fgets...
Altera_Forum
Honored Contributor
17 years agoSupposedly, speed is not the problem but latency. Speed can't be increased, as (I believe) the UART driver is done in a quite optimum way.
Do you use the FifoedUart IPCore ? The AlteaUART needs a too low latency interrupt service, which Linux can't provide. The hardware Fifo will relax the problem. -Michael