<?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: LPC54102 Triggering SPI DMA from PININT Channel in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1805966#M55405</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. We do not have a ready to use example that fits your full scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the DMA feature, I would recommend checking the spi_dma_b2b_transfer &lt;A href="https://mcuxpresso.nxp.com/en/select" target="_blank"&gt;SDK example&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this example, one spi instance as master and another spi instance on the other board as slave.&lt;/P&gt;
&lt;P&gt;Master sends a piece of data to slave, and receive a piece of data from slave. The examples check if the data received from slave to master and master to slave are correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the DMA trigger source, please refer to &lt;A href="https://www.nxp.com/webapp/Download?colCode=UM10850" target="_blank"&gt;LPC5410x User manual&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 16:26:46 GMT</pubDate>
    <dc:creator>Ricardo_Zamora</dc:creator>
    <dc:date>2024-02-13T16:26:46Z</dc:date>
    <item>
      <title>LPC54102 Triggering SPI DMA from PININT Channel</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1804314#M55387</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am currently trying to interface my LPC54102 with a 24-bit ADC which is expected to run at its max data rate (~150kSPS), via the SPI interface.&amp;nbsp; This ADC features an active low data ready interrupt pin.&lt;/P&gt;&lt;P&gt;The way that I want it to work is that whenever the MCU detects a falling edge on the selected PININT channel, the SPI DMA would immediately get triggered to send out the command to read the ADC DATA.&lt;/P&gt;&lt;P&gt;When such data (4 bytes) has been received, I would like to have it automatically stored.&amp;nbsp; I am assuming that the SPI DMA can also do that for me?&amp;nbsp; So in this case, I may need both the TX and RX channel DMA'ed.&lt;/P&gt;&lt;P&gt;That said, I cannot seem to find a good example linking this procedure mentioned.&amp;nbsp; May anyone please kindly point me to the correct example or examples?&lt;/P&gt;&lt;P&gt;NOTE: I'm using this lib API -&amp;gt; lpc5410x_xpresso54102_keil_iar_v3.04.000&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&lt;/P&gt;&lt;P&gt;#lpc54102&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1804314#M55387</guid>
      <dc:creator>kennethkong852</dc:creator>
      <dc:date>2024-02-08T17:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Triggering SPI DMA from PININT Channel</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1805966#M55405</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. We do not have a ready to use example that fits your full scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the DMA feature, I would recommend checking the spi_dma_b2b_transfer &lt;A href="https://mcuxpresso.nxp.com/en/select" target="_blank"&gt;SDK example&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this example, one spi instance as master and another spi instance on the other board as slave.&lt;/P&gt;
&lt;P&gt;Master sends a piece of data to slave, and receive a piece of data from slave. The examples check if the data received from slave to master and master to slave are correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the DMA trigger source, please refer to &lt;A href="https://www.nxp.com/webapp/Download?colCode=UM10850" target="_blank"&gt;LPC5410x User manual&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1805966#M55405</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2024-02-13T16:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Triggering SPI DMA from PININT Channel</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1806271#M55410</link>
      <description>&lt;P&gt;Thank you for your response.&amp;nbsp; The example that you were pointing to is non-LPCOpen API.&amp;nbsp; Would you happen to have an &lt;STRONG&gt;LPCOpen&lt;/STRONG&gt; example that would walk through configuring a SPI MASTER with DMA support?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 05:22:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1806271#M55410</guid>
      <dc:creator>kennethkong852</dc:creator>
      <dc:date>2024-02-14T05:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Triggering SPI DMA from PININT Channel</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1806669#M55416</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I apologize, but there are no other examples from LPCOpen that the ones included in &lt;A href="https://www.nxp.com/design/design-center/software/software-library/lpcopen-software-development-platform-lpc5410x:LPCOPEN-SOFTWARE-FOR-LPC5410X" target="_blank"&gt;LPCOpen Software for LPC5410X | NXP Semiconductors&lt;/A&gt;. The example that could help you is the "rom_spis_int_dma".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 16:36:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Triggering-SPI-DMA-from-PININT-Channel/m-p/1806669#M55416</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2024-02-14T16:36:01Z</dc:date>
    </item>
  </channel>
</rss>

