<?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: DMA UART RECEIVE K60 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-UART-RECEIVE-K60/m-p/1172367#M58587</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It looks like you are triggering the DMA using the software method which makes it copy the Rx data immediately and therefore it is is not transferring received data but instead just the value that happens to be in the buffer.&lt;/P&gt;&lt;P&gt;Have you set up the DMUX to trigger on Rx data?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;BR /&gt;&lt;EM&gt;[uTasker project developer for Kinetis and i.MX RT]&lt;/EM&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or product development requirements&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 09:12:47 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2020-10-23T09:12:47Z</dc:date>
    <item>
      <title>DMA UART RECEIVE K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-UART-RECEIVE-K60/m-p/1172179#M58583</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I am facing problems in receive. I want to receive 4 bytes and store in the buffer but the buffer is loaded with same value. below i have written my code please go through it .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Receive Function&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;DMA_SADDR_REG(dmach , ch) =0;&lt;BR /&gt;&lt;BR /&gt;DMA_SADDR_REG(dmach , ch)|= DMA_SADDR_SADDR(0x4006B007); // CONFIGURING SOURCE ADDRESS&lt;BR /&gt;DMA_SOFF_REG(dmach,ch) =0;&lt;/P&gt;&lt;P&gt;DMA_ATTR_REG(dmach , ch) = (DMA_ATTR_SSIZE(0) | DMA_ATTR_DSIZE(0)); //CONFIGURING SOURCE ADDRESS SIZE&lt;/P&gt;&lt;P&gt;DMA_NBYTES_MLNO_REG(dmach , ch) = 0;&lt;BR /&gt;&lt;BR /&gt;DMA_NBYTES_MLNO_REG(dmach , ch)|= (DMA_NBYTES_MLNO_NBYTES(0x04));&lt;BR /&gt;DMA_DADDR_REG(dmach , ch) = 0;&lt;BR /&gt;DMA_DADDR_REG(dmach , ch) |= DMA_DADDR_DADDR(val); //CONFIGURING DESTINATION ADDRESS ADDRESS&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DMA_DOFF_REG(dmach , ch) = DMA_DOFF_DOFF(0x01);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DMA_BITER_ELINKNO_REG(dmach , ch) =0;&lt;BR /&gt;DMA_BITER_ELINKNO_REG(dmach , ch) = DMA_BITER_ELINKNO_BITER(0x4); //STARTING MAJOR ITERATION COUNT&lt;BR /&gt;DMA_CITER_ELINKNO_REG(dmach , ch) =0;&lt;BR /&gt;DMA_CITER_ELINKNO_REG(dmach , ch) = DMA_CITER_ELINKNO_CITER(0x4); // CURRENT MAJOR ITERATION COUNT&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DMA_SERQ |= DMA_SERQ_SERQ_MASK;&lt;BR /&gt;&lt;BR /&gt;DMA_CSR_REG(dmach , ch) = DMA_CSR_START_MASK; // START THE DMA&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 04:39:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-UART-RECEIVE-K60/m-p/1172179#M58583</guid>
      <dc:creator>mdrasool_yadwad</dc:creator>
      <dc:date>2020-10-23T04:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: DMA UART RECEIVE K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-UART-RECEIVE-K60/m-p/1172367#M58587</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It looks like you are triggering the DMA using the software method which makes it copy the Rx data immediately and therefore it is is not transferring received data but instead just the value that happens to be in the buffer.&lt;/P&gt;&lt;P&gt;Have you set up the DMUX to trigger on Rx data?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;BR /&gt;&lt;EM&gt;[uTasker project developer for Kinetis and i.MX RT]&lt;/EM&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or product development requirements&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 09:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-UART-RECEIVE-K60/m-p/1172367#M58587</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-10-23T09:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: DMA UART RECEIVE K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-UART-RECEIVE-K60/m-p/1172828#M58606</link>
      <description>&lt;P&gt;Yes I have&amp;nbsp;&lt;SPAN&gt;DMUX to trigger on Rx data. But i am getting same data again and again. Don't know to do it i am really confused and struck in this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 03:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-UART-RECEIVE-K60/m-p/1172828#M58606</guid>
      <dc:creator>mdrasool_yadwad</dc:creator>
      <dc:date>2020-10-26T03:35:21Z</dc:date>
    </item>
  </channel>
</rss>

