This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: SPI CS Jitter

Part Number: AM5728

Tool/software: Linux

Running kernel 4.9 on AM5728.

I have set the spidev interface to take a couple hundreds scans in 10us intervals and then return the data back to the user driver. It works, but the timing gets pretty inconsistent.

Specifically, my CS line should go high for 1 us but it often jitters substantially to 1.5us.  Worse, I often see huge breaks where the SPI acqusition just delays for like 40-80us before resuming. SPI is the only specific task my processor is doing.

Are these jitters and delays "normal" and you simply can not get near real-time performance from these drivers? Has anyone else seen these sporadic long delays in the SPI usermode driver?