AnsweredAssumed Answered

aducm320 stopping a DMA transaction

Question asked by ABuda on Nov 20, 2014
Latest reply on Nov 20, 2014 by ABuda


Hi,

 

I have the I2C set up with the DMA and I'm looking to stop the DMA transaction as fast as possible based on an external condition.

 

I've achieved this by setting DMACFG = 0.

This works fine most of the time but every now and then I see the configuration bits in the DMA control structure are cleared.

This is an issue because my code assumes that after setting DMACFG = 0 and then DMACFG = 1 the structure will remain unchanged.

Outcomes