<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: receiving  data from uart Dma not working in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/receiving-data-from-uart-Dma-not-working/m-p/1803666#M66042</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;There are different variations of SDK examples &lt;EM&gt;uart_dma_transfer&lt;/EM&gt; with the &lt;EM&gt;twrkm34z75m&lt;/EM&gt; that you can take as reference:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Leo__0-1707338600111.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262393i49AB9E53C65C4A36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_Leo__0-1707338600111.png" alt="_Leo__0-1707338600111.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps you.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 20:44:37 GMT</pubDate>
    <dc:creator>_Leo_</dc:creator>
    <dc:date>2024-02-07T20:44:37Z</dc:date>
    <item>
      <title>receiving  data from uart Dma not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/receiving-data-from-uart-Dma-not-working/m-p/1802008#M66028</link>
      <description>&lt;P&gt;Hai ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was unable to receive data from Uart Dma (like peripheral to memory configuration) and please check my code ...I'm using Km34 controller and IAR ide...&lt;/P&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;&lt;P&gt;void dma_Initialization(void) { //Enable clock for DMAMUX and DMA SIM_SCGC6 |= SIM_SCGC6_DMACHMUX_MASK; SIM_SCGC7 |= SIM_SCGC7_DMA_MASK; //config DMA MUX for UART3 //DISABLE DMA MUX channel first DMAMUX_CHCFG0 = 0x00; // Clear pending errors and/or done bit CE- config error ,BES -bus error on source ,BED - bus error on destination if(((DMA_DSR_BCR0 &amp;amp; DMA_DSR_BCR_DONE_MASK) == DMA_DSR_BCR_DONE_MASK ) |((DMA_DSR_BCR0 &amp;amp; DMA_DSR_BCR_BES_MASK ) == DMA_DSR_BCR_BES_MASK) |((DMA_DSR_BCR0 &amp;amp; DMA_DSR_BCR_BED_MASK ) == DMA_DSR_BCR_BED_MASK) |((DMA_DSR_BCR0 &amp;amp; DMA_DSR_BCR_CE_MASK ) == DMA_DSR_BCR_CE_MASK)) DMA_DSR_BCR0 |= DMA_DSR_BCR_DONE_MASK; //set source Address (this is the UART3_D register) DMA_SAR0 = (uint32)&amp;amp;UART3_D; //set BCR to know how many bytes to transfer // DMA_DSR_BCR0 = DMA_DSR_BCR(4); //gk DMA_DSR_BCR0 = DMA_DSR_BCR_BCR(4); //clear source and destination size fields DMA_DCR0 &amp;amp;= ~(DMA_DCR_SSIZE_MASK | DMA_DCR_DSIZE_MASK ); //set DMA DMA_DCR0 |= (DMA_DCR_EINT_MASK //Interrupt enable on completion of transfer | DMA_DCR_ERQ_MASK //enable peripheral request | DMA_DCR_CS_MASK //single read/write per request | DMA_DCR_EADREQ_MASK //enable Async. DMA request | DMA_DCR_DINC_MASK //destination address increments | DMA_DCR_SSIZE(1) //Source size is 8-bit | DMA_DCR_DSIZE(1) //destination size is 8-bit | DMA_DCR_DMOD(2) //32-bit circular buffer enabled | DMA_DCR_D_REQ_MASK //DMA request is cleared ); //Set destination address DMA_DAR0 =(uint32)0x20000400; //enable the DMA channel0 and select the DMA channel source = UART3 RECEIVE DMAMUX_CHCFG0 |= DMAMUX_CHCFG_ENBL_MASK | DMAMUX_CHCFG_SOURCE(8);&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 15:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/receiving-data-from-uart-Dma-not-working/m-p/1802008#M66028</guid>
      <dc:creator>KKS123</dc:creator>
      <dc:date>2024-02-05T15:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: receiving  data from uart Dma not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/receiving-data-from-uart-Dma-not-working/m-p/1803666#M66042</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;There are different variations of SDK examples &lt;EM&gt;uart_dma_transfer&lt;/EM&gt; with the &lt;EM&gt;twrkm34z75m&lt;/EM&gt; that you can take as reference:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Leo__0-1707338600111.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262393i49AB9E53C65C4A36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_Leo__0-1707338600111.png" alt="_Leo__0-1707338600111.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps you.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 20:44:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/receiving-data-from-uart-Dma-not-working/m-p/1803666#M66042</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2024-02-07T20:44:37Z</dc:date>
    </item>
  </channel>
</rss>

