Tool/software: Linux
Hi,
I am observing a problem which occurs during a user space SPI transfer where a transfer sometimes gets held up after sending the first byte. I have tried to transfer using either a single
spi_ioc_transfer struct to handle both transmit and receive or two structs, one for transmit and one for receive with the same results.
The interruption does not occur often, about once every 15 min. during continuous communications. The thread has been configured to be a high priority real time thread using the FIFO policy, within a high priority process. Does anyone have any insight as to what could be causing this pause and how to reduce it? It is problematic because the slave device has a bus timeout slightly less than the pause. You can see in the attached trace it lasts for about 400uS.
Thanks,
Tom