Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TMS570LC4357: Need to use DMA for handling data over peripherals

$
0
0

Part Number:TMS570LC4357

Hi Team,

We would like to use DMA in chain mode for handling data over SPI interface such that after receiving 10 bytes of data by channel (1), it should trigger other DMA channel (2) to receive the data over SPI and should trigger channel 1 again and this should continue.

Please find the code in attachment where DMA is enabled with chain mode to handle it, but it looks like we only end up on receiving data in one channel.

We tried to enable DMA for both channels (as it will be processed CH0 and then CH1), in this case, nothing is received on channel 2 desitnation and for channel 1 destination, single packet is copied.

Can you please look into this and let me know if we can use chain mode of DMA for handling peripheral traffic?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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