<?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>LPC Microcontrollers中的主题 Re: LPC 553x with timer, ADC, DMA</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1835290#M55750</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231316"&gt;@TRCooper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry it seems there is no other better example than this. You can use configuration tool to configure.&lt;/P&gt;
&lt;P&gt;Q3: "&lt;SPAN&gt;, this signal does not appear in the list of signals under ADC0&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; How about refer to below picture:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1711443179900.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270405i16AF2ED241F16046/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1711443179900.png" alt="Alice_Yang_0-1711443179900.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_1-1711443189705.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270406i15D01E162E04AB47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1711443189705.png" alt="Alice_Yang_1-1711443189705.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q4&amp;gt; On my side, there is no&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;ADC0_TCOMP0 under DMA request list:&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_3-1711443268893.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270408i361DA2453A45923F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_3-1711443268893.png" alt="Alice_Yang_3-1711443268893.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;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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 08:54:39 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2024-03-26T08:54:39Z</dc:date>
    <item>
      <title>LPC 553x with timer, ADC, DMA</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1833851#M55720</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am putting together an app that wants to perform ADC conversions based on a timer at a steady state, modest rate (32K samples/sec).&amp;nbsp; It is not clear from the ConfigTools how to set this up. Hardware platform is LPCXpresso 55S36.&amp;nbsp; MCU Expresso IDE is v11.9.0.&lt;/P&gt;&lt;P&gt;I am using CTIMER1 for ADC trigger generation, ADC0 for conversion, and DMA0 for data movement.&amp;nbsp; Some of the items and features are clear.&amp;nbsp; Some (the signal and trigger routing) are not.&amp;nbsp; Also, though there is an example, the example appears not to have a MEX file (so, unable to compare generated code), and it converts 3 values when a character is entered, which is not terribly useful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Is there a better example of timer/ADC/DMA?&lt;/P&gt;&lt;P&gt;2) Though ADC can trigger on CTIMER1 match 3, the config tool gives a warning on CTIMER1 unless the match output is directed to a real pin.&amp;nbsp; Is this necessary?&amp;nbsp; Nothing about the processor data sheet seems to imply routing to a real pin is needed.&lt;/P&gt;&lt;P&gt;3) The ADC0 FIFO ready flag (table 400 in LPC553xRM) indicates that the FIFO ready signal can generate a DMA request.&amp;nbsp; However, this signal does not appear in the list of signals under ADC0, TRIG 21 (21 is selected automatically by the tool when configuring the ADC FIFO operation).&amp;nbsp; How is this connection made?&lt;/P&gt;&lt;P&gt;4) Also table 400, ADCn_TCOMP can generate an interrupt but not a DMA request.&amp;nbsp; Why does the config tool list ADC0_TCOMP0 and ADC1_TCOMP0 as an option for triggering the DMA??&lt;/P&gt;&lt;P&gt;5) The examples do not include MEX files.&amp;nbsp; Were they generated with the MEX Config tools?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;TRC&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 15:54:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1833851#M55720</guid>
      <dc:creator>TRCooper</dc:creator>
      <dc:date>2024-03-22T15:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 553x with timer, ADC, DMA</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1834260#M55730</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231316"&gt;@TRCooper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recommend you first refer the below thread, includes ADC example based on LPC55s69.&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/ADC-multi-channel-sampling-and-DMA-transfer-in-LPC55xx/ta-p/1304608" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/ADC-multi-channel-sampling-and-DMA-transfer-in-LPC55xx/ta-p/1304608&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About MEX file, if not use Configuration tool to configure, there is no .mex file.&lt;/P&gt;
&lt;P&gt;About other question, if you still have after refer to above example,&amp;nbsp; feel free to contact me. thanks.&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>Mon, 25 Mar 2024 06:28:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1834260#M55730</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-03-25T06:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 553x with timer, ADC, DMA</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1834680#M55739</link>
      <description>&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;I have reviewed the example you referenced.&lt;/P&gt;&lt;P&gt;It does not show how to trigger the DMA from the ADC, (nor how to trigger the ADC from a timer).&amp;nbsp; Rather, it polls the ADC for completion, and starts the DMA through software.&amp;nbsp; This is not useful in the application we have.&lt;/P&gt;&lt;P&gt;Is there a better example, showing triggering?&amp;nbsp; And, can you address questions 3 and 4 in the original request?&lt;/P&gt;&lt;P&gt;Thank you and Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 13:46:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1834680#M55739</guid>
      <dc:creator>TRCooper</dc:creator>
      <dc:date>2024-03-25T13:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 553x with timer, ADC, DMA</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1835290#M55750</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231316"&gt;@TRCooper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry it seems there is no other better example than this. You can use configuration tool to configure.&lt;/P&gt;
&lt;P&gt;Q3: "&lt;SPAN&gt;, this signal does not appear in the list of signals under ADC0&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; How about refer to below picture:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1711443179900.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270405i16AF2ED241F16046/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1711443179900.png" alt="Alice_Yang_0-1711443179900.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_1-1711443189705.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270406i15D01E162E04AB47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1711443189705.png" alt="Alice_Yang_1-1711443189705.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q4&amp;gt; On my side, there is no&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;ADC0_TCOMP0 under DMA request list:&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_3-1711443268893.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270408i361DA2453A45923F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_3-1711443268893.png" alt="Alice_Yang_3-1711443268893.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;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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 08:54:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-553x-with-timer-ADC-DMA/m-p/1835290#M55750</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-03-26T08:54:39Z</dc:date>
    </item>
  </channel>
</rss>

