Hi Michel, On 7/16/20, Michel Macena Oliveira <michel@xxxxxxxxxxxxxxxxxxxx> wrote: > Thanks for the answer, > Yes I wrote a code that works with /dev/tty* serial using termios.h. > I thought exactly what you suggested, to use a dedicated thread, but > how to properly implement it? > I mean in a simple way, just need to put open and write calls inside > the high priority (RT) thread? > > Current kernel: 4.4.208-rt198 #1 SMP PREEMPT RT I believe that if you need low latency rx, you will have to patch the kernel. I’d recommend you to read https://lkml.org/lkml/2019/1/10/595 Itai Handler