<?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 Merging different projects and initializing multiple sources for multiple UART ports for DMAMUX in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Merging-different-projects-and-initializing-multiple-sources-for/m-p/1326134#M15945</link>
    <description>&lt;P&gt;Question1&lt;/P&gt;&lt;P&gt;I am currently working on implementing LPUART on top of the the powermode switch example code. From what I understand, transferring code from different project does not work because of the Freertos configuration/setting the project is defined as. How do I check if the configuration of the Freertos in the powermode switch example code would work in corresponding with the code written LPUART edma example code.&lt;/P&gt;&lt;P&gt;Question 2&lt;/P&gt;&lt;P&gt;If I want to initialize three LPUARTS ports, I was not sure how the DMA channels were selected. I was not able to find any documentation and understand how the value are being selected for TX and RX DMA channel. Also, how do I make sure that the channel I set for UART corresponds to the pins that I want to use on the DEV board for UART communication. This is the part of the example code I am not sure about. How to set the LPUART_TX_DMA_CHANNEL? I am assuming that all the LPUART would be set under one DMAMUX and is that a safe assumption.&lt;/P&gt;&lt;P&gt;/* Set channel for LPUART */&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_TX_DMA_CHANNEL, kDmaRequestMuxLPUART1Tx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_RX_DMA_CHANNEL, kDmaRequestMuxLPUART1Rx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_TX_DMA_CHANNEL, kDmaRequestMuxLPUART2Tx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_RX_DMA_CHANNEL, kDmaRequestMuxLPUART2Rx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_TX_DMA_CHANNEL, kDmaRequestMuxLPUART3Tx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_RX_DMA_CHANNEL, kDmaRequestMuxLPUART3Rx);&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 08:45:47 GMT</pubDate>
    <dc:creator>VolcanicCheese</dc:creator>
    <dc:date>2021-08-19T08:45:47Z</dc:date>
    <item>
      <title>Merging different projects and initializing multiple sources for multiple UART ports for DMAMUX</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Merging-different-projects-and-initializing-multiple-sources-for/m-p/1326134#M15945</link>
      <description>&lt;P&gt;Question1&lt;/P&gt;&lt;P&gt;I am currently working on implementing LPUART on top of the the powermode switch example code. From what I understand, transferring code from different project does not work because of the Freertos configuration/setting the project is defined as. How do I check if the configuration of the Freertos in the powermode switch example code would work in corresponding with the code written LPUART edma example code.&lt;/P&gt;&lt;P&gt;Question 2&lt;/P&gt;&lt;P&gt;If I want to initialize three LPUARTS ports, I was not sure how the DMA channels were selected. I was not able to find any documentation and understand how the value are being selected for TX and RX DMA channel. Also, how do I make sure that the channel I set for UART corresponds to the pins that I want to use on the DEV board for UART communication. This is the part of the example code I am not sure about. How to set the LPUART_TX_DMA_CHANNEL? I am assuming that all the LPUART would be set under one DMAMUX and is that a safe assumption.&lt;/P&gt;&lt;P&gt;/* Set channel for LPUART */&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_TX_DMA_CHANNEL, kDmaRequestMuxLPUART1Tx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_RX_DMA_CHANNEL, kDmaRequestMuxLPUART1Rx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_TX_DMA_CHANNEL, kDmaRequestMuxLPUART2Tx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_RX_DMA_CHANNEL, kDmaRequestMuxLPUART2Rx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_TX_DMA_CHANNEL, kDmaRequestMuxLPUART3Tx);&lt;BR /&gt;DMAMUX_SetSource(DMAMUX, LPUART_RX_DMA_CHANNEL, kDmaRequestMuxLPUART3Rx);&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 08:45:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Merging-different-projects-and-initializing-multiple-sources-for/m-p/1326134#M15945</guid>
      <dc:creator>VolcanicCheese</dc:creator>
      <dc:date>2021-08-19T08:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Merging different projects and initializing multiple sources for multiple UART ports for DMAMUX</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Merging-different-projects-and-initializing-multiple-sources-for/m-p/1326706#M15967</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186307"&gt;@VolcanicCheese&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;1. There is no settings or restrictions for use&amp;nbsp; LPUART in freertos.&lt;/P&gt;
&lt;P&gt;2. Please refer to the DMA mux chapter in reference manual. Each DMA channel can only be used once. So, at least you should&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DMAMUX_SetSource(DMAMUX, 1, kDmaRequestMuxLPUART1Tx);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DMAMUX_SetSource(DMAMUX, 2, kDmaRequestMuxLPUART1Rx);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DMAMUX_SetSource(DMAMUX, 3, kDmaRequestMuxLPUART2Tx);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DMAMUX_SetSource(DMAMUX, 4, kDmaRequestMuxLPUART2Rx);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DMAMUX_SetSource(DMAMUX, 5, kDmaRequestMuxLPUART3Tx);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DMAMUX_SetSource(DMAMUX, 6, kDmaRequestMuxLPUART3Rx);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jing&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 07:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Merging-different-projects-and-initializing-multiple-sources-for/m-p/1326706#M15967</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-08-20T07:02:14Z</dc:date>
    </item>
  </channel>
</rss>

