<?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 EVK SPI DMA Example error when changing Flexcomm interface in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-EVK-SPI-DMA-Example-error-when-changing-Flexcomm/m-p/1688430#M53490</link>
    <description>&lt;P&gt;Hi Ms.Alice,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion. Will try this and update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2023 10:22:31 GMT</pubDate>
    <dc:creator>SrinathVelavan</dc:creator>
    <dc:date>2023-07-14T10:22:31Z</dc:date>
    <item>
      <title>LPC55S69 EVK SPI DMA Example error when changing Flexcomm interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-EVK-SPI-DMA-Example-error-when-changing-Flexcomm/m-p/1687516#M53475</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run the SPI_DMA example for LPC55S69 on the EVK. By default the FC7 configuration is working fine with expected outputs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, when we change the flexcomm interface from FC7 to FC4, there is no data transfer happening on the DMA channel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have changed the pin_mux pins and the following lines in the main code&lt;/P&gt;&lt;P&gt;#define EXAMPLE_SPI_MASTER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SPI4&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_IRQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FLEXCOMM4_IRQn&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_CLK_SRC &amp;nbsp; &amp;nbsp;kCLOCK_Flexcomm4&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_CLK_FREQ &amp;nbsp; CLOCK_GetFlexCommClkFreq(4U)&lt;BR /&gt;#define EXAMPLE_SPI_SSEL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;#define EXAMPLE_DMA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DMA0&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_RX_CHANNEL 18&lt;BR /&gt;#define EXAMPLE_SPI_MASTER_TX_CHANNEL 19&lt;BR /&gt;#define EXAMPLE_MASTER_SPI_SPOL &amp;nbsp; &amp;nbsp; &amp;nbsp; kSPI_SpolActiveAllLow&lt;/P&gt;&lt;P&gt;#define TRANSFER_SIZE 64U /*! Transfer dataSize */&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* attach 12 MHz clock to SPI3 */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; CLOCK_AttachClk(kFRO12M_to_FLEXCOMM4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;/* reset FLEXCOMM for SPI */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; RESET_PeripheralReset(kFC4_RST_SHIFT_RSTn);&lt;/P&gt;&lt;P&gt;Kindly request anyone to let me know if I am missing anything in the code. The examples of Polling SPI and Interrupt SPI work fine when we change the Flexcomm interface. Facing issues only with I2C DMA and SPI DMA code.&lt;/P&gt;&lt;P&gt;NOTE: Attached outputs for reference.&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 11:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-EVK-SPI-DMA-Example-error-when-changing-Flexcomm/m-p/1687516#M53475</guid>
      <dc:creator>SrinathVelavan</dc:creator>
      <dc:date>2023-07-13T11:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 EVK SPI DMA Example error when changing Flexcomm interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-EVK-SPI-DMA-Example-error-when-changing-Flexcomm/m-p/1688356#M53489</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214422"&gt;@SrinathVelavan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recommend you debugging step by step, check the registers of DMA, whether they are configured well&lt;/P&gt;
&lt;P&gt;as your requirements, and source address of DMA. Also check whether enble Flexcomm4 clock.&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;</description>
      <pubDate>Fri, 14 Jul 2023 09:19:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-EVK-SPI-DMA-Example-error-when-changing-Flexcomm/m-p/1688356#M53489</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-07-14T09:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 EVK SPI DMA Example error when changing Flexcomm interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-EVK-SPI-DMA-Example-error-when-changing-Flexcomm/m-p/1688430#M53490</link>
      <description>&lt;P&gt;Hi Ms.Alice,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion. Will try this and update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 10:22:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-EVK-SPI-DMA-Example-error-when-changing-Flexcomm/m-p/1688430#M53490</guid>
      <dc:creator>SrinathVelavan</dc:creator>
      <dc:date>2023-07-14T10:22:31Z</dc:date>
    </item>
  </channel>
</rss>

