<?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 Re: LPC55S69 SPI DMA Example doesn't function properly when changing Flexcomm port in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2075458#M58020</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248824"&gt;@AveryDauben&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The DMA has a separate DMA request for each Flexcomm, as shown in the following image:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Habib_MS_0-1744062424504.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331701iEDAA9B34E6453B90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Habib_MS_0-1744062424504.png" alt="Habib_MS_0-1744062424504.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you wish to modify the Flexcomm, it is essential to modify these channels. For example, channels 18 and 19 correspond to the Flexcomm 7 interface, which is why the macros are defined as follows:&lt;/P&gt;
&lt;P&gt;#define EXAMPLE_SPI_MASTER_RX_CHANNEL 18&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_TX_CHANNEL 19&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Also, if you experience any issue, does not hesitate to let me know.&lt;/P&gt;
&lt;P&gt;BR&lt;BR /&gt;Habib.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 21:47:35 GMT</pubDate>
    <dc:creator>Habib_MS</dc:creator>
    <dc:date>2025-04-07T21:47:35Z</dc:date>
    <item>
      <title>LPC55S69 SPI DMA Example doesn't function properly when changing Flexcomm port</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2073981#M58010</link>
      <description>&lt;P&gt;When using the spi_dma_b2b example, I simply switched the SPI7 defines and clock source to SPI3, activated it's pins in the pin tool and it stops functioning. Here is the defines I changes, notice how the DMA channels are updated as well for Flexcomm 3.&lt;/P&gt;&lt;P&gt;#define EXAMPLE_SPI_MASTER SPI3&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_IRQ FLEXCOMM3_IRQn&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_CLK_SRC kCLOCK_Flexcomm3&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_CLK_FREQ CLOCK_GetFlexCommClkFreq(3U)&lt;BR /&gt;#define EXAMPLE_SPI_SSEL 0&lt;BR /&gt;#define EXAMPLE_DMA DMA0&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_RX_CHANNEL 10&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_TX_CHANNEL 11&lt;BR /&gt;#define EXAMPLE_MASTER_SPI_SPOL kSPI_SpolActiveAllLow&lt;/P&gt;&lt;P&gt;Then I change this code for Flexcomm 3 as well:&lt;/P&gt;&lt;P&gt;/* attach 12 MHz clock to SPI3 */&lt;BR /&gt;CLOCK_AttachClk(kFRO12M_to_FLEXCOMM3);&lt;/P&gt;&lt;P&gt;/* reset FLEXCOMM for SPI */&lt;BR /&gt;RESET_PeripheralReset(kFC3_RST_SHIFT_RSTn);&lt;BR /&gt;&lt;BR /&gt;At this point it stops working, so I believe something in the background is needing to be changed as well, but I'm not familiar with the SPI, DMA or SPI_DMA drivers.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 23:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2073981#M58010</guid>
      <dc:creator>AveryDauben</dc:creator>
      <dc:date>2025-04-03T23:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 SPI DMA Example doesn't function properly when changing Flexcomm port</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2075458#M58020</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248824"&gt;@AveryDauben&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The DMA has a separate DMA request for each Flexcomm, as shown in the following image:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Habib_MS_0-1744062424504.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331701iEDAA9B34E6453B90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Habib_MS_0-1744062424504.png" alt="Habib_MS_0-1744062424504.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you wish to modify the Flexcomm, it is essential to modify these channels. For example, channels 18 and 19 correspond to the Flexcomm 7 interface, which is why the macros are defined as follows:&lt;/P&gt;
&lt;P&gt;#define EXAMPLE_SPI_MASTER_RX_CHANNEL 18&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_TX_CHANNEL 19&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Also, if you experience any issue, does not hesitate to let me know.&lt;/P&gt;
&lt;P&gt;BR&lt;BR /&gt;Habib.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 21:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2075458#M58020</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2025-04-07T21:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 SPI DMA Example doesn't function properly when changing Flexcomm port</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2076451#M58025</link>
      <description>&lt;P&gt;Thank you, this fixed the issue. I must've had an outdated version of the DMA channels as FlexComm 2 and 3 aren't switched on this pdf.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 19:35:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2076451#M58025</guid>
      <dc:creator>AveryDauben</dc:creator>
      <dc:date>2025-04-08T19:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 SPI DMA Example doesn't function properly when changing Flexcomm port</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2079326#M58050</link>
      <description>&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231807"&gt;@Habib_MS&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Hello,&lt;BR /&gt;could you please attach the file that you are looking at? The Dual-DMA usage pdf on the LPC55S6x page is not fully up-to-date. Thank you!</description>
      <pubDate>Fri, 11 Apr 2025 20:26:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2079326#M58050</guid>
      <dc:creator>AveryDauben</dc:creator>
      <dc:date>2025-04-11T20:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 SPI DMA Example doesn't function properly when changing Flexcomm port</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2080135#M58060</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248824"&gt;@AveryDauben&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The table was taken from the user manual, which you can find on this &lt;A href="https://www.nxp.com/products/LPC55S6x#documentation" target="_self"&gt;page&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Habib_MS_1-1744646940073.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332967i364B6328AB14B1EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Habib_MS_1-1744646940073.png" alt="Habib_MS_1-1744646940073.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;BR /&gt;Habib.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 16:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI-DMA-Example-doesn-t-function-properly-when-changing/m-p/2080135#M58060</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2025-04-14T16:10:49Z</dc:date>
    </item>
  </channel>
</rss>

