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

CCS/TMS570LS1115: ADC DMA Request Line configuration

$
0
0

Part Number:TMS570LS1115

Tool/software: Code Composer Studio

Hi everyone,

I'm trying to optimize system efficiency by implementing ADC+DMA data transfer, which was using FIFO before. 

Testing HW Circuit Board is well developed, which means it's very difficult to change any HW architecture or TMS570 Pins definition.

Here a demo project. With ADC + DMA implemented, which is working fine on our HW Circuit Board.

However, when I trying to integrate this DMA function with our software, it seems DMA never be triggered.

What I trying to do is generating 3 ADC DMA Requests (ADC1 Group1; ADC1 Group2; ADC2 Group1) in three configurable DMA Request lines during a single circle. This may be a configuration issue of DMA Request lines(red line in the figure above), the question is:

  • In the project uploaded, ADC was accidentally sent DMA_REQ by DMA Request Line 7successfully (at least I don't know how to configure this), can anyone give me a hit on how this project configure DMA Request Line 7 to transfer DMA Request from ADC1 Event Group (for example change to Request Line 1)?
  • Is there any Registerfor DMA Request lineconfiguration of DifferentADC groups?  or is it just possible configured in hardware level?
  • In DMA module, there is SW and HW trigger method, does SW trigger will introduce CPU external workload?  Does HW trigger method need more free TMS570 PINs in HW level?

Regards,

Jason


Viewing all articles
Browse latest Browse all 262198


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