title: DMA to UART transmits only the first byte
body: <p>I am working on MSP430 Series Controller and I have a buffer to be sent on UART via DMA.</p>
  
  <p>I am pasting my DMA configuration and Code snippet for more information.</p>
  
  <pre><code>DMACTL0 = DMA0TSEL__UCA0TXIFG;
  DMA0SA  = &amp;buff;
  DMA0DA  = &amp;UCA0TXBUF; 
  DMA0SZ  = 64;                      // Block size in bytes
  DMA0CTL = DMADT_1 | DMASBDB| DMASRCINCR_1 | DMAIE| DMALEVEL_L; // Rpt, inc
  DMA0CTL|= DMAEN;
  </code></pre>
  
  <p>I am filling data as below.</p>
  
  <pre><code>   char buff[64];
     buff[0] = 0x64;
     buff[1] = 0x23;
     buff[2] = 0x65;
     buff[3] = 0x31;
  </code></pre>
  
  <p>When I initiate DMA transfer , The buffer got transfer but When I check on terminal , Its shows only the first value '0x64', Not other value.I am doing block transfer , so whole block should be transfered when dma initiated.
  And in Interrupt routing i am reseting the dma flag.</p>
  
  <p>My interrupt Handler.</p>
  
  <pre><code> __interrupt void DMA_VECTOR_ISR(void)
   {
       DMA0CTL &amp;= ~DMAIFG;
       DMA_Doneflag = 1;
   }
  </code></pre>
  
  <p>this DMA_Doneflag I have took as boolean volatile and that is reset when tx is done.</p>