<?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>i.MX ProcessorsのトピックUsing DMA from M7 target on IMX8M+</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2207449#M242270</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using IMX8M+ SOC with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LINUX kernel on A53 using UART1 with SDMA1&lt;/LI&gt;&lt;LI&gt;FreeRTOS on M7 using UART2 bus&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I want to use a DMA on UART2, but the refManual says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;• SDMA-1 is a general-purpose DMA engine which can be used by low speed&lt;/P&gt;&lt;P&gt;peripherals including UART, SPI and also others peripherals.&lt;/P&gt;&lt;P&gt;• SDMA-2 and SMDA-3 is used for audio interface, including SAI-1/2/3/5/6/7, SPDIF and PDM audio input.&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If SDMA1 is already used by LINUX four UART1, can I use SDMA1 on M7 side for UART2 ?&lt;/LI&gt;&lt;LI&gt;SDMA2/3 are dedicated to another functions, can I use them if I don't use SAI or audio?&lt;/LI&gt;&lt;LI&gt;I've seen that eDMA is available, but I don't see it on memory map, only SDMA are mapped (chap 2.4). Is it possible to use it for UART?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
    <pubDate>Wed, 19 Nov 2025 08:27:03 GMT</pubDate>
    <dc:creator>David_Sailor</dc:creator>
    <dc:date>2025-11-19T08:27:03Z</dc:date>
    <item>
      <title>Using DMA from M7 target on IMX8M+</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2207449#M242270</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using IMX8M+ SOC with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LINUX kernel on A53 using UART1 with SDMA1&lt;/LI&gt;&lt;LI&gt;FreeRTOS on M7 using UART2 bus&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I want to use a DMA on UART2, but the refManual says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;• SDMA-1 is a general-purpose DMA engine which can be used by low speed&lt;/P&gt;&lt;P&gt;peripherals including UART, SPI and also others peripherals.&lt;/P&gt;&lt;P&gt;• SDMA-2 and SMDA-3 is used for audio interface, including SAI-1/2/3/5/6/7, SPDIF and PDM audio input.&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If SDMA1 is already used by LINUX four UART1, can I use SDMA1 on M7 side for UART2 ?&lt;/LI&gt;&lt;LI&gt;SDMA2/3 are dedicated to another functions, can I use them if I don't use SAI or audio?&lt;/LI&gt;&lt;LI&gt;I've seen that eDMA is available, but I don't see it on memory map, only SDMA are mapped (chap 2.4). Is it possible to use it for UART?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 08:27:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2207449#M242270</guid>
      <dc:creator>David_Sailor</dc:creator>
      <dc:date>2025-11-19T08:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using DMA from M7 target on IMX8M+</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2221857#M242310</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I can address your question about using DMA with UART2.&lt;BR /&gt;&lt;BR /&gt;The i.MX8M Plus has multiple SDMA controllers with specific purposes:&lt;BR /&gt;- SDMA-1 is the general-purpose DMA engine designed for low-speed peripherals including UART&lt;BR /&gt;- SDMA-2 and SDMA-3 are dedicated to audio interfaces (SAI, SPDIF, PDM)&lt;BR /&gt;&lt;BR /&gt;For UART2 implementation with DMA, you should use SDMA-1. This controller is specifically intended to handle DMA operations for UART interfaces along with other low-speed peripherals like SPI.&lt;BR /&gt;&lt;BR /&gt;When implementing this on the M7 core, be aware of potential resource conflicts if Linux is running on the A53 cores simultaneously. In such cases, you may need to disable SDMA1 in the Linux device tree to prevent conflicts between cores attempting to access the same DMA controller.&lt;BR /&gt;&lt;BR /&gt;The UART driver in combination with SDMA1 is the appropriate configuration for your UART2 DMA implementation on the i.MX8M Plus.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 13:36:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2221857#M242310</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-11-20T13:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using DMA from M7 target on IMX8M+</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2248169#M242391</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;Linux uses UART1 with SDMA1, so if I understand your answer, I can't use SDMA1 for UART2 on M7 side.&lt;/P&gt;&lt;P&gt;Can I use eDMA to retrieve data from UART2 ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 08:30:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2248169#M242391</guid>
      <dc:creator>David_Sailor</dc:creator>
      <dc:date>2025-11-25T08:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using DMA from M7 target on IMX8M+</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2248441#M242402</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes, you can use eDMA to retrieve data from a UART, including UART2, on an i.MX processor by configuring the eDMA controller to trigger on a UART receive request and directing the data to a memory buffer.&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 14:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-DMA-from-M7-target-on-IMX8M/m-p/2248441#M242402</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-11-25T14:19:48Z</dc:date>
    </item>
  </channel>
</rss>

