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

Forum Post: RE: MSP430F5437A dma copy index

$
0
0

[quote user="Avi W"]

If there is a dedicated counter register I've missed I'll be glad to know about :)

[/quote]

No, as per datasheet DMA copy setup data (DMAxSZ, DMAxSA, DMAxDA) to internal (not accessible) registers, so this is work around.

I used this method in my USB stack, where 64 byte blocks received by USB, are copied by DMA to non-USB RAM circular buffer, taking care of buffer borders, to start again from beginning if buffer end is reached. DMA was enabled all the time, and DMA destination address was checking (for buffer border) and changing inside the code on the fly.


Viewing all articles
Browse latest Browse all 230063

Latest Images

Trending Articles



Latest Images

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