AnsweredAssumed Answered

kl16 dma with enable circular

Question asked by yi zhong on Dec 18, 2018
Latest reply on Dec 18, 2018 by Mark Butcher


I use KL16  DMA  for uart transfer .

When i use DMA, i enable  DMOD (Destination Address Modulo) ,and set circular buffer size 16 bytes(DMOD writed 0000) ,.

After  uart  trans  16  bytes,  receive_buffer will  lost the last data(receive_buffer[15]), and  BCR value  is right.

The same  thing happens when DMOD be set to 0010.Will lost receive_buffer[31].