Hello all and sorry for (probably stupid) question.
I need to capture data from UART, analyze them and then one of reactions is to read some internal registers in ARM and send them back to UART.
The problem is that the process must be really fast, allowed delay is around 1ms. So I was thinking to do it in kernel space (speed, direct reading of memory registers). But I can not find the way how to use actual serial driver in my code. I feel that I can't use /dev/ttySx directly, can I ?
Probably the first step will be to try everything in user space.
Or does anybody have better idea ? Can you point me there ?
Thank you in advance, V.