<?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 Design StudioのトピックRe: How to configure uart edma with Processor expert?</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581840#M7397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter ,&lt;/P&gt;&lt;P&gt;Sorry for my mistake.&lt;/P&gt;&lt;P&gt;It isn't need add the component of "Init_eDMA " .&lt;/P&gt;&lt;P&gt;When configure the fsl_UART to DMA mode :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5865i5AED0A79E3CDBE68/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;there will be add the component of "fsl_edma" automatic .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then we can utilize this component&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5915i3811667DF09FBEB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then refer to the demo code to have a test.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2016 10:22:40 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2016-09-06T10:22:40Z</dc:date>
    <item>
      <title>How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581835#M7392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am using Kinetis K64 in multiple projects with KDS3.2 and KSDK1.3 without many issues. For UART applications (modbus RTU) we have found the&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.5pt;"&gt;UART_DRV_SendDataBlocking &amp;nbsp; and&amp;nbsp; UART_DRV_ReceiveDataBlocking functions to work well under FreeRTOS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Recently we tried to use the EDMA version of these functions without success while trying to configure them with Processor Expert.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Is there any documentation describing how this can be done? Or is there a limitation of KDSK1.3??&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 18:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581835#M7392</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2016-09-01T18:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581836#M7393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are UART-eDMA demo under KSDK1.3 :&lt;/P&gt;&lt;P&gt;KSDK_1.3.0\examples\frdmk64f\driver_examples\uart\uart_edma_blocking&lt;/P&gt;&lt;P&gt;\KSDK_1.3.0\examples\frdmk64f\driver_examples\uart\uart_edma_non_blocking &lt;/P&gt;&lt;P&gt;I recommend you can&amp;nbsp; first test it on you board .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 03:08:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581836#M7393</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-02T03:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581837#M7394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;Yes I have tested the examples on the FRDM-K64 and they work fine.&lt;/P&gt;&lt;P&gt;But they are not using processor expert.&lt;/P&gt;&lt;P&gt;How can we configure a processor expert based system&lt;/P&gt;&lt;P&gt;to use uart edma? Is it even possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 13:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581837#M7394</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2016-09-02T13:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581838#M7395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry there is no SDK+PE demo .&lt;/P&gt;&lt;P&gt;Yes, it is possible to use the SDK+PE , you can add the two component of&lt;/P&gt;&lt;P&gt;"Init_eDMA" and "fsl_uart" :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5155i96CA62AF293BD233/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then configure the Properities :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5201i998F24BF9B9B6324/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5236i5317B7A1FB04E90F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the code&amp;nbsp; , you can refer to the demo under KSDK without PE.&lt;/P&gt;&lt;P&gt;For they use the same functions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 08:07:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581838#M7395</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-05T08:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581839#M7396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice&lt;/P&gt;&lt;P&gt;This looks promising. But when I set fsl_uart&amp;nbsp; to DMA mode, PE automatically installs fsl_edma as a referenced component.&lt;/P&gt;&lt;P&gt;How can I get rid of fsl_edma and use Init_eDMA instead?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 02:04:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581839#M7396</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2016-09-06T02:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581840#M7397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter ,&lt;/P&gt;&lt;P&gt;Sorry for my mistake.&lt;/P&gt;&lt;P&gt;It isn't need add the component of "Init_eDMA " .&lt;/P&gt;&lt;P&gt;When configure the fsl_UART to DMA mode :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5865i5AED0A79E3CDBE68/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;there will be add the component of "fsl_edma" automatic .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then we can utilize this component&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5915i3811667DF09FBEB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then refer to the demo code to have a test.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 10:22:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581840#M7397</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-06T10:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581841#M7398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice&lt;/P&gt;&lt;P&gt;I have tried your suggestion and it sort of works. The only problem is when receiving data, it misses the last character and substitutes 00 at other character positions. Example, I receive 8 bytes and echo them using...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void rs485Task( void *pvParameters )&lt;BR /&gt;{&lt;BR /&gt; uint16_t *reg, N,base,k;&lt;BR /&gt; reg = (uint16_t *)pvParameters;&lt;BR /&gt; static uint8_t buf[255];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UART_HAL_SetTransmitterRtsPolarityMode(UART0_BASE_PTR,true); // use RTS to enable RS485&lt;BR /&gt;UART_HAL_SetTransmitterRtsCmd(UART0_BASE_PTR,true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while(1)&lt;BR /&gt; {&lt;BR /&gt; if (kStatus_UART_Success == UART_DRV_EdmaReceiveDataBlocking(rs485_IDX, buf, 8,OSA_WAIT_FOREVER))&lt;BR /&gt; UART_DRV_EdmaSendDataBlocking(rs485_IDX, buf, 8, OSA_WAIT_FOREVER);&lt;/P&gt;&lt;P&gt;..........etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a typical log of data (TX) sent by an external source vs. what has been received (RX):&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5543iE944DAFE961F8DCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using UART0 with its 4 byte fifo. Should the fifo be disabled when using DMA?&lt;/P&gt;&lt;P&gt;Any other suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 00:27:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581841#M7398</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2016-09-26T00:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581842#M7399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please disable the UART fifo to have a try .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 10:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581842#M7399</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-26T10:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581843#M7400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice&lt;/P&gt;&lt;P&gt;It works now. The problem with zero bytes was not related&amp;nbsp; to the Uart.&lt;/P&gt;&lt;P&gt;Some last questions:&lt;/P&gt;&lt;P&gt;Are callbacks necessary for proper edma operation? If so, how exactly do you set them in the Processor Expert Tabs?&lt;/P&gt;&lt;P&gt;If callbacks are not used, then is the edma engine simply polling the Uart and not interrupting the CPU, except at the end of a blocking function?&lt;/P&gt;&lt;P&gt;I am trying to unload the CPU as much as possible so it can do other things, without being interrupted frequently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; best regards&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 23:38:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581843#M7400</guid>
      <dc:creator>petertsipouras</dc:creator>
      <dc:date>2016-09-26T23:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581844#M7401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;I assume you said the eDMA callback .&lt;/P&gt;&lt;P&gt;In the PE, you can configure it at here :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1812iB7C5344CA82B8444/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After generate code , you can find :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1860iD27DF0E3D5A35D08/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think use the callback&amp;nbsp; is optional , if you want do something after one DMA channel, you can realize it&lt;/P&gt;&lt;P&gt;in the function :&amp;nbsp;dmaController1_Callback0(). You can have a test .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 10:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581844#M7401</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-27T10:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure uart edma with Processor expert?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581845#M7402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;i am trying to setup the configuration for DMA with UART for Transmission using Processor expert but i dont get the option of component mode in UART as "DMA mode"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109004i7CA582E5365D5406/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell whether i m missing any component...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could setup the DMA Channel as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109042i7F136100F6C5C519/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Aalakh Devari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 04:11:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-configure-uart-edma-with-Processor-expert/m-p/581845#M7402</guid>
      <dc:creator>aalakh_devari</dc:creator>
      <dc:date>2020-07-30T04:11:37Z</dc:date>
    </item>
  </channel>
</rss>

