<?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中的主题 Re: K21 UART4 RX with DMA problem</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593297#M6010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP experts,&lt;/P&gt;&lt;P&gt;Any body help to check this problem?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jul 2016 06:27:34 GMT</pubDate>
    <dc:creator>jimyang</dc:creator>
    <dc:date>2016-07-04T06:27:34Z</dc:date>
    <item>
      <title>K21 UART4 RX with DMA problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593296#M6009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I meet a problem on UART4 Rx with DMA. I tried to modify and build driver_examples\uart\edma_transfer in KSDK2.0.&lt;/P&gt;&lt;P&gt;The modifications as following:&lt;/P&gt;&lt;P&gt;pin_mux.c&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;CLOCK_EnableClock(kCLOCK_PortC);&lt;/P&gt;&lt;P&gt;PORT_SetPinMux(PORTC, 14U, kPORT_MuxAlt3);&lt;/P&gt;&lt;P&gt;PORT_SetPinMux(PORTC, 15U, kPORT_MuxAlt3);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;uart_edma_transfer.c&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;#define DEMO_UART UART4&lt;/P&gt;&lt;P&gt;#define DEMO_UART_CLKSRC kCLOCK_BusClk&lt;/P&gt;&lt;P&gt;#define UART_TX_DMA_CHANNEL 6U&lt;/P&gt;&lt;P&gt;#define UART_RX_DMA_CHANNEL 7U&lt;/P&gt;&lt;P&gt;#define UART_TX_DMA_REQUEST kDmaRequestMux0UART4&lt;/P&gt;&lt;P&gt;#define UART_RX_DMA_REQUEST kDmaRequestMux0UART4&lt;/P&gt;&lt;P&gt;#define ECHO_BUFFER_LENGTH 8&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The test result is: TX is OK, but RX always get same data, g_rxBuffer full fill with the first byte.&lt;/P&gt;&lt;P&gt;I found that when enter DMA IRQ handler first time, UART4 S1[RDRF] is set to 1, then DMA IRQ handler will be called endlessly and RDRF is keep 0.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also test UART3, it is normal.&lt;/P&gt;&lt;P&gt;Any additional configs are needed for UART4?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Yang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 05:38:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593296#M6009</guid>
      <dc:creator>jimyang</dc:creator>
      <dc:date>2016-07-01T05:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: K21 UART4 RX with DMA problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593297#M6010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP experts,&lt;/P&gt;&lt;P&gt;Any body help to check this problem?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2016 06:27:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593297#M6010</guid>
      <dc:creator>jimyang</dc:creator>
      <dc:date>2016-07-04T06:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: K21 UART4 RX with DMA problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593298#M6011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem. Removing the transmitter configuration allows the receiver to work fine, so I assume it is something to do with the shared&amp;nbsp;Mux for transmit and receive.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Jim, did you find a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 09:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593298#M6011</guid>
      <dc:creator>matthew_rowe</dc:creator>
      <dc:date>2019-11-05T09:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: K21 UART4 RX with DMA problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593299#M6012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I found the answer. It's not possible.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/475893"&gt;https://community.nxp.com/thread/475893&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 09:19:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K21-UART4-RX-with-DMA-problem/m-p/593299#M6012</guid>
      <dc:creator>matthew_rowe</dc:creator>
      <dc:date>2019-11-05T09:19:04Z</dc:date>
    </item>
  </channel>
</rss>

