I am using a spi uart bridge ,
It have 64 byte fifo.i use a kernel thread to read the spi data,it will sleep when there is no data,when there is data come ,the irq with wake up the kernel thread,
Because I think I can not use spi_read to read data directly in the interrupt context.
I want to support the 115200bps with 8N1,then it will spend 86us to receive one byte ,and Then the fifo of the uart bridge will full in 5.6ms seconds,
Then problem come out ,the linux kernel of my am335x shedule with 10ms ,the data will lost .
Can anyone give me some advice?
wangl