Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: slave SPI (SSI0) using DMA generates an DMA error

$
0
0

Hi Vladimir,

what version of TI-RTOS are you using?

How is the DMA generating an error? Are you getting an interrupt on the uDMA Error interrupt vector or are you just seeing bad data in your buffers? You can check the Logs if you are using the instrumented SPI driver library.

In your .cfg file you can add this:

var SPI = xdc.useModule('ti.drivers.SPI'); SPI.libType = SPI.LibType_Instrumented;

When you are using the SPI driver in slave mode, you need to make sure that you start a SPI_transfer() before the SPI master sends any data.


Viewing all articles
Browse latest Browse all 25965


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>