Quantcast
Viewing all articles
Browse latest Browse all 25965

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

Hi Tom!

I checked SPI_Transaction data structure. Mymistakewashere:

exchTransaction.txBuf = (Ptr)exchange_tx.di_state.dig_in_out[0];

exchTransaction.rxBuf = (Ptr)exchange_rx.do_state.dig_in_out[0];

Correctlywill be so:

exchTransaction.txBuf = (Ptr)exchange_tx.di_state.dig_in_out;

exchTransaction.rxBuf = (Ptr)exchange_rx.do_state.dig_in_out;

Thank you for your help!


Viewing all articles
Browse latest Browse all 25965

Trending Articles



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