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.

SPI communication hangs for a long time



Hi,

I have a camera system based on the DM814x DSP running the IPNC RDK software.

It uses the SPI-bus interface to communicate with a FPGA via the spidev driver.

But I have noticed that I often get huge delays in the SPI communication where for instance the SPI read gets delayed more than 1 second when the camera is busy doing other things. It looks like the delay happens if the Ethernet communication out of the camera is busy sending images but I am not 100% sure this is the root cause.

So my question is:

Is there any way to change the priority of the SPI communication so I can avoid the very long delays?


Best regards,

Karsten

  • Karsten,

    You can try change the priority into the L3 interconnect. For more info refer to the below e2e threads (and PDF attached):

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/323639/1130127.aspx#1130127

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/212586.aspx

    BR
    Pavel