Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216815

Forum Post: CCS/TMS570LC4357: Issue for setting the bit SWCHENAS for the DMA

$
0
0
Part Number: TMS570LC4357 Tool/software: Code Composer Studio Hi, I am working on the SPI-DMA Communication. in the hardware triggering method i could able to set the HWCHENAS bit for the respective channel, but facing the issue for the SWCHENAS. Here i have attached the snapshot for the same. Here you can see, though after the execution for enabling the channel for the SW trigger, still the bit is not setting it up. where dmaSetChEnable() defined as: if(type == DMA_HW) { dmaREG->HWCHENAS = (uint32)1U SWCHENAS = (uint32)1U << channel; } Please help me in this issue. Reagrds, Shivam Kakad.

Viewing all articles
Browse latest Browse all 216815

Trending Articles



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