<?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>Kinetis MicrocontrollersのトピックRe: UART DMA Configuration</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166706#M58477</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Kinetis DMA UART reception is explained in some detail in these two video guides:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=dNZvvouiqis&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=10" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=dNZvvouiqis&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=GaoWE-tMRq4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=11" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=GaoWE-tMRq4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=11&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a complete UART (Tx and Rx) DMA implementation for all Kinetis parts, with eDMA or simple DMA controllers (like in most KL parts), on UARTs and LPUARTs in the open source uTasker project at &lt;A href="https://github.com/uTasker/uTasker-Kinetis" target="_blank" rel="noopener"&gt;https://github.com/uTasker/uTasker-Kinetis&lt;/A&gt;&lt;BR /&gt;UART user's guide: &lt;A href="https://www.utasker.com/docs/uTasker/uTaskerUART.PDF" target="_blank" rel="noopener"&gt;https://www.utasker.com/docs/uTasker/uTaskerUART.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It also simulates the UART and its DMA operation in Visual Studio for simple understanding of the underlying operations.&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>Tue, 13 Oct 2020 12:05:17 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2020-10-13T12:05:17Z</dc:date>
    <item>
      <title>UART DMA Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166665#M58473</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Guys I could not able to configure for Uart Dma. Can anyone please explain how it should be done.&lt;/P&gt;&lt;P&gt;i am getting very confused&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 10:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166665#M58473</guid>
      <dc:creator>mdrasool_yadwad</dc:creator>
      <dc:date>2020-10-13T10:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166667#M58474</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;I have no Kinetis sample code document, you could search on NXP.com for some kinetis related AN.&lt;/P&gt;
&lt;P&gt;But I could see AN for i.MXRT, which has same UART/DMA IP with kinetis. you could refer the attached AN and sample code based on SDK.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 10:29:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166667#M58474</guid>
      <dc:creator>daweiyou</dc:creator>
      <dc:date>2020-10-13T10:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166685#M58475</link>
      <description>&lt;P&gt;Can you explain in detail about minor and major loop&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 11:10:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166685#M58475</guid>
      <dc:creator>mdrasool_yadwad</dc:creator>
      <dc:date>2020-10-13T11:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166706#M58477</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Kinetis DMA UART reception is explained in some detail in these two video guides:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=dNZvvouiqis&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=10" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=dNZvvouiqis&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=GaoWE-tMRq4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=11" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=GaoWE-tMRq4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=11&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a complete UART (Tx and Rx) DMA implementation for all Kinetis parts, with eDMA or simple DMA controllers (like in most KL parts), on UARTs and LPUARTs in the open source uTasker project at &lt;A href="https://github.com/uTasker/uTasker-Kinetis" target="_blank" rel="noopener"&gt;https://github.com/uTasker/uTasker-Kinetis&lt;/A&gt;&lt;BR /&gt;UART user's guide: &lt;A href="https://www.utasker.com/docs/uTasker/uTaskerUART.PDF" target="_blank" rel="noopener"&gt;https://www.utasker.com/docs/uTasker/uTaskerUART.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It also simulates the UART and its DMA operation in Visual Studio for simple understanding of the underlying operations.&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>Tue, 13 Oct 2020 12:05:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1166706#M58477</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-10-13T12:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1167088#M58488</link>
      <description>&lt;P&gt;Thank you for your response. I want to know the major difference between minor loop and major loop. Can you explain that.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 03:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1167088#M58488</guid>
      <dc:creator>mdrasool_yadwad</dc:creator>
      <dc:date>2020-10-14T03:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA Configuration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1167417#M58495</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;For your use you need the minor loop to be set to 1 so that there is a &lt;U&gt;single&lt;/U&gt; DMA transfer each time the Tx buffer is empty.&lt;/P&gt;&lt;P&gt;For other applications it is possible for the minor loop to be set to a higher value so that each DMA trigger (of the major loop which defines after how many triggers the complete operation terminates) causes a multiple of minor loop transfers to be executed.&lt;/P&gt;&lt;P&gt;As I noted in the first line, the UART needs the minor loop to be set to 1 and the major loop defines&amp;nbsp; how many bytes would be sent in total..&lt;/P&gt;&lt;P&gt;Most peripherals (without FIFOs) need the manor loop set to 1 otherwise there will be buffer under or overrun if multiple fast transfers are performed.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;* Note however that the eDMA counters are in bytes and so the above is true for byte oriented peripherals. Long word oriented peripherals would, for example, in fact use the value 4 (4 bytes) instead of 1&lt;/EM&gt;.&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>Wed, 14 Oct 2020 11:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-DMA-Configuration/m-p/1167417#M58495</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-10-14T11:34:30Z</dc:date>
    </item>
  </channel>
</rss>

