I have problem about interbyte time with application using uart driver on raspberry pi 2. Interbyte time is time that each data byte sent via UART is delayed from the previous byte. With my application has interbyte time > 3ms, this time is too long.
- This is some parameter in my application : byte 1 is 0xAA, byte 2 is 0x00 , 1 start bit, 1 stop bit, baud rate is 9600. Bellow is wave form with time between 2 byte data too long.
- In another case, I write a simple use directly uart driver to send 1 byte in a loop with some parameter : data byte is 0x00, baud rate is 9600, 1 stop bit. Interbyte time is this case is about 150us, it can accept.
Can you suggest me a solution to reduce time delay in case 1, interbyte time is too long (>3ms )
I'm looking to respond from you ! Many thanks !