2

Super long story short: is it possible to read from a UART at something close to 12 megabaud?

I have a high speed connection that I am trying to read from on a Raspberry Pi. At present, the Raspberry Pi (and as far as I can tell, the world of serial programming) has a maximum baud rate of 4 Mbaud, which I achieved by setting the Raspberry Pi's UART clock to 160 MHz.

However, I need a UART running at 12+ Mbaud to capture the data streaming in from my external source. The Raspberry Pi's terminos.h file specifies 4 Mbaud as the max baud rate for serial communication. Is there a way to get higher baud rates? Is the key ioctl from How can I set the baud rate to 307,200 on Linux??

Raspbian 3.6.11, Raspberry Pi rev2

1 Answer 1

0

Each UART has a hardware limit... If your hardware supports this rate, it's allowed... Verify it before.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.