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 Unrecoverable Timeout

Other Parts Discussed in Thread: ADS1248

Hi,

I have a test project in which I am trying to write to an ADS1248 device via the SPI bus. I am doing this write within a task but I always receive -11 after calling GIO_write. I know GIO_write can be safely applied within the task context since it is a blocking call but I don't understand why it returns -11. I searched the Spi.c and Spi_edma.c files but I couldn't find anywhere where this value is returned. That makes me suspect that the IOM driver is what is returning this error. In the iom.h file this error is defined as

#define IOM_ETIMEOUTUNREC -11 /* Unrecoverable timeout occured */

How is it possible that I receive this error even when I see the data I send on the scope correctly and the breakpoint I set in the Spi_localCallbackTransmit function gets hit?

I can send you my project for you to test. Let me know how to do that.

Thanks