KM34 Modulo seems to stop DMA

cancel
Showing results for 
Search instead for 
Did you mean: 

KM34 Modulo seems to stop DMA

582 Views
sbranover
Contributor I

When I enable the modulo setting on the KM34 the DMA transfer seems to terminate before the transfer is complete.

 

To demonstrate, I've attached a slightly modified version of the DMA memory to memory transfer example.The changes from the original example code are that the buffer is longer and the modulo is enabled.

Original Attachment has been moved to: dma_memory_to_memory.c.zip

Tags (3)
0 Kudos
1 Reply

300 Views
sbranover
Contributor I

I figured out that the modulo is in reference to the address in memory and not to the start address. When using GCC you can can use (complete code attached):

__attribute__ ((aligned ()))‍‍
0 Kudos