How to modify timing in readyRead of QextSeriaport

32 Views Asked by At

I've a problem with the QExtSerialPort in QT. I'm developing for an IMX6UL CPU under a linux based operating system.

I've noticed that, at baud 9600, SIGNAL readyRead is "active" about 35ms after having sent my serial string (which is composed of 3 characters, so about 3ms)

In this way, if I try to communicate with the CPU, I can use a maximum frequency of about 30Hz, which is too low for my application.

Furthermore, if I use lower baudrates, the time of 35 ms becomes bigger ( 80ms for 4800, 175 ms for 2400).

My goal is that readyReady becomes active when I'm not transmitting for a time of 3,5 characters (i.e. or baud of 9600, a time of 3,5 / 4 ms).

Should I modify the readyread funcion?

I'd like to keep this library because I've already wrote a lot of code.

Thank you in advance

0

There are 0 best solutions below