<?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>MCX MicrocontrollersのトピックDMA request0 to start DMA for LP_FLEXCOMM</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2004591#M2082</link>
    <description>&lt;P&gt;I am working with the FRDMMCX947 and MCUXpresso IDE v24.9&lt;/P&gt;&lt;P&gt;The DMA request 0 of SCT0 timer should start a DMA with data for the SPI interface LP_FLEXCOMM1. The data for the DMA is in the structure "lpspi_transfer_t masterXfer;" filed.&lt;/P&gt;&lt;P&gt;I didn't know, how to start this DMA. In another project with the LPC54618 I used the following commands:&lt;/P&gt;&lt;P&gt;Send_Tx_DMA_Handle.base-&amp;gt;CHANNEL[SEND_TX_DMA_CHANNEL].CFG |= DMA_CHANNEL_CFG_HWTRIGEN(1) | DMA_CHANNEL_CFG_TRIGPOL(1);&lt;BR /&gt;SPI_MasterTransferDMA(SPI6, &amp;amp;Send_SPI_DMA_Handle, &amp;amp;masterXfer))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the MCUXpresso SDK API Reference Manual&amp;nbsp;I didn't find any description about the LPSPI_Master.... functions.&lt;/P&gt;&lt;P&gt;What are the corresponding functions for the MCXN947 ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A manual start of the DMA with the function "LPSPI_MasterTransferEDMALite(EIA_RS_TX_LPSPI_BASE, g_s_edma_TxHandle, &amp;amp;masterXfer);" works well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;</description>
    <pubDate>Sun, 01 Dec 2024 19:49:32 GMT</pubDate>
    <dc:creator>klausfetscher</dc:creator>
    <dc:date>2024-12-01T19:49:32Z</dc:date>
    <item>
      <title>DMA request0 to start DMA for LP_FLEXCOMM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2004591#M2082</link>
      <description>&lt;P&gt;I am working with the FRDMMCX947 and MCUXpresso IDE v24.9&lt;/P&gt;&lt;P&gt;The DMA request 0 of SCT0 timer should start a DMA with data for the SPI interface LP_FLEXCOMM1. The data for the DMA is in the structure "lpspi_transfer_t masterXfer;" filed.&lt;/P&gt;&lt;P&gt;I didn't know, how to start this DMA. In another project with the LPC54618 I used the following commands:&lt;/P&gt;&lt;P&gt;Send_Tx_DMA_Handle.base-&amp;gt;CHANNEL[SEND_TX_DMA_CHANNEL].CFG |= DMA_CHANNEL_CFG_HWTRIGEN(1) | DMA_CHANNEL_CFG_TRIGPOL(1);&lt;BR /&gt;SPI_MasterTransferDMA(SPI6, &amp;amp;Send_SPI_DMA_Handle, &amp;amp;masterXfer))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the MCUXpresso SDK API Reference Manual&amp;nbsp;I didn't find any description about the LPSPI_Master.... functions.&lt;/P&gt;&lt;P&gt;What are the corresponding functions for the MCXN947 ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A manual start of the DMA with the function "LPSPI_MasterTransferEDMALite(EIA_RS_TX_LPSPI_BASE, g_s_edma_TxHandle, &amp;amp;masterXfer);" works well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;</description>
      <pubDate>Sun, 01 Dec 2024 19:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2004591#M2082</guid>
      <dc:creator>klausfetscher</dc:creator>
      <dc:date>2024-12-01T19:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: DMA request0 to start DMA for LP_FLEXCOMM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2006899#M2108</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96755"&gt;@klausfetscher&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The DMA implementation differs between the LPC54618 and the MCXN947, so please do not refer to the demos designed for the LPC54618. Instead, there is an SPI + DMA demo available in the MCXN947 SDK. Please refer to this demo.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1733306815055.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/314013i50C746ABEC1024A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1733306815055.png" alt="Alice_Yang_0-1733306815055.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 10:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2006899#M2108</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-12-04T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: DMA request0 to start DMA for LP_FLEXCOMM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2007067#M2110</link>
      <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;We know this example and this part works already in our implementation. But we want to control the start of the DMA with Timer SCT0 without Software overhead.&lt;/P&gt;&lt;P&gt;Our problem is: How to link the DMA request 0 from Timer SCT0 to start the DMA for LP_FLEXCOMM1.&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 12:58:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2007067#M2110</guid>
      <dc:creator>klausfetscher</dc:creator>
      <dc:date>2024-12-04T12:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: DMA request0 to start DMA for LP_FLEXCOMM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2010970#M2147</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96755"&gt;@klausfetscher&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The configuration steps are as follows:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Configure SCT_DMA as a DMA channel request.&lt;/LI&gt;
&lt;LI&gt;Configure the SCT DMA request through the DMA Request 0 register.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-spm-anchor-id="5176.28103460.0.i3.7bfc5d27pgKjis"&gt;I recommend using the Peripheral Tool within the MCUXpresso IDE to configure these settings. This tool can automatically generate the necessary code for you. If you prefer to write the code manually, you can still refer to the generated code as a guide.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1733826066593.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315053iF3CBDC5D112A92F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1733826066593.png" alt="Alice_Yang_0-1733826066593.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_2-1733826136474.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315055i76041E2A0372C51D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_2-1733826136474.png" alt="Alice_Yang_2-1733826136474.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 10:22:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/DMA-request0-to-start-DMA-for-LP-FLEXCOMM/m-p/2010970#M2147</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-12-10T10:22:27Z</dc:date>
    </item>
  </channel>
</rss>

