KM34 Modulo seems to stop DMA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KM34 Modulo seems to stop DMA

1,633件の閲覧回数
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

タグ(3)
0 件の賞賛
返信
1 返信

1,351件の閲覧回数
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 件の賞賛
返信