<?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 Software Development Kit中的主题 K81 LPUART EDMA MODULO 16</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K81-LPUART-EDMA-MODULO-16/m-p/645015#M6944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use the driver codes from KSDK1.3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I define a buffer g_lpuart_rxbuf[]&amp;nbsp;for lpuart1 edma RX and add it to live watch in IAR. I kept watching the change of this buffer while I enter some keys in lpuart console.when edmaRxConfig.destModulo&amp;nbsp;= kEDMAModulo8bytes, I&amp;nbsp;saw the keys can be received in the buffer, and the keys are circular to the beginning&amp;nbsp;after they reach the end of the buffer. but when edmaRxConfig.destModulo&amp;nbsp;= kEDMAModulo16bytes, and I also change the buffer size to 16, I found that only 8 keys are received in the buffer and are circular at the first 8 bytes of the buffer. I have tried kEDMAModulo8bytes, kEDMAModulo4bytes, kEDMAModulo2bytes, they are all OK. but kEDMAModulo16bytes and above are all failed.&lt;/P&gt;&lt;P&gt;Here are my codes. lpuart_init()-&amp;gt;EDMA_DRV_Init()-&amp;gt;LPUART_DRV_EdmaInit()-&amp;gt;lpuart_receive(). the edma rx interrupts are disable.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338708"&gt;lpuart.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2017 10:57:28 GMT</pubDate>
    <dc:creator>HeMyFAE</dc:creator>
    <dc:date>2017-02-17T10:57:28Z</dc:date>
    <item>
      <title>K81 LPUART EDMA MODULO 16</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K81-LPUART-EDMA-MODULO-16/m-p/645015#M6944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use the driver codes from KSDK1.3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I define a buffer g_lpuart_rxbuf[]&amp;nbsp;for lpuart1 edma RX and add it to live watch in IAR. I kept watching the change of this buffer while I enter some keys in lpuart console.when edmaRxConfig.destModulo&amp;nbsp;= kEDMAModulo8bytes, I&amp;nbsp;saw the keys can be received in the buffer, and the keys are circular to the beginning&amp;nbsp;after they reach the end of the buffer. but when edmaRxConfig.destModulo&amp;nbsp;= kEDMAModulo16bytes, and I also change the buffer size to 16, I found that only 8 keys are received in the buffer and are circular at the first 8 bytes of the buffer. I have tried kEDMAModulo8bytes, kEDMAModulo4bytes, kEDMAModulo2bytes, they are all OK. but kEDMAModulo16bytes and above are all failed.&lt;/P&gt;&lt;P&gt;Here are my codes. lpuart_init()-&amp;gt;EDMA_DRV_Init()-&amp;gt;LPUART_DRV_EdmaInit()-&amp;gt;lpuart_receive(). the edma rx interrupts are disable.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338708"&gt;lpuart.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 10:57:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K81-LPUART-EDMA-MODULO-16/m-p/645015#M6944</guid>
      <dc:creator>HeMyFAE</dc:creator>
      <dc:date>2017-02-17T10:57:28Z</dc:date>
    </item>
  </channel>
</rss>

