AnsweredAssumed Answered

DMA CITER register modification on-fly

Question asked by David XY Zhou on Mar 28, 2016
Latest reply on Mar 29, 2016 by David XY Zhou

Hi,

I have K60 and have written a DMA channel with dummy source / destination addresses. I need to modify the

DMA_TCD0_CITER_ELINKNO = DMA_CITER_ELINKNO_CITER_MASK;

  CITER register value (reset to 0x7FFF), after certain numbfer of major loops. My question:

Is it thread-safe to modify the CITER register in another timer interrupt ISR?

Or have to stop the DMA operation and modify the register?

 

Thank you

David Zhou

Outcomes