<?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>S32KのトピックS32K144 ADC to DMA with circular buffer - looking for example</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1303447#M11270</link>
    <description>&lt;P&gt;Hello, thats my first project with S32K.&lt;BR /&gt;&lt;BR /&gt;I'm looking to find a example of how to implement a circular buffer (ADC to RAM using the DMA) in circular mode buffer.&amp;nbsp;I need to sample 3s of data at 5KSa/s and keep these values in ram.&lt;BR /&gt;&lt;BR /&gt;Attached is my project, the DMA is working fine but only one sample is being stored in buffer&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 01:06:23 GMT</pubDate>
    <dc:creator>rvalente</dc:creator>
    <dc:date>2021-07-07T01:06:23Z</dc:date>
    <item>
      <title>S32K144 ADC to DMA with circular buffer - looking for example</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1303447#M11270</link>
      <description>&lt;P&gt;Hello, thats my first project with S32K.&lt;BR /&gt;&lt;BR /&gt;I'm looking to find a example of how to implement a circular buffer (ADC to RAM using the DMA) in circular mode buffer.&amp;nbsp;I need to sample 3s of data at 5KSa/s and keep these values in ram.&lt;BR /&gt;&lt;BR /&gt;Attached is my project, the DMA is working fine but only one sample is being stored in buffer&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 01:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1303447#M11270</guid>
      <dc:creator>rvalente</dc:creator>
      <dc:date>2021-07-07T01:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 ADC to DMA with circular buffer - looking for example</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1305152#M11301</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="mailto:Hi@rvalente," target="_blank"&gt;Hi@rvalente,&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I use S32K142 EVB and modified some codes in your project to sample ADC0-SE8, ADC0-SE9, ADC0-SE12 through DMA, and then print the sampling results through the serial port.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1625805802617.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149333i26F21C7266B8F82F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_0-1625805802617.png" alt="Senlent_0-1625805802617.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_0-1625805802617.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_1-1625805802625.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149332iE3F745B17FA4D0C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_1-1625805802625.png" alt="Senlent_1-1625805802625.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_1-1625805802625.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to optimize it，hope this will solve your problem.&lt;/P&gt;
&lt;P&gt;BR,Jim&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 04:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1305152#M11301</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2021-07-09T04:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 ADC to DMA with circular buffer - looking for example</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1306332#M11326</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;tks by the reply but, I do not want to sample 3 channels sequentially, but to sample one channel at a given sample rate (then the use of lptmr) and have this sample fill the DMA buffer. So 3 seconds of sample&amp;nbsp;@ 5KSa/s and 12 bits, Ill use 30720Bytes of ram.&lt;BR /&gt;&lt;BR /&gt;So, how to set the DMA MODULO to sample and increment the buffer address?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 18:48:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1306332#M11326</guid>
      <dc:creator>rvalente</dc:creator>
      <dc:date>2021-07-12T18:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 ADC to DMA with circular buffer - looking for example</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1306600#M11329</link>
      <description>&lt;P&gt;Hi@rvalente&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Sorry for the misunderstanding,I test this code and it should be what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; You still need to modify some configurations to meet your needs(such as sample rates,buff size)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1626156102676.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149564i65A306A9F62996F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_0-1626156102676.png" alt="Senlent_0-1626156102676.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_0-1626156102676.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_1-1626156948925.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149566i517251C47D4EF6D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_1-1626156948925.png" alt="Senlent_1-1626156948925.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_1-1626156948925.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this answer is useful to you!&lt;/P&gt;
&lt;P&gt;best regards!&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 06:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1306600#M11329</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2021-07-13T06:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 ADC to DMA with circular buffer - looking for example</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1307190#M11337</link>
      <description>&lt;P&gt;Excellent! Worked exactly as I expected but, after the amount of data has been captured (buffer full), how should I restart the DMA buffer transfer?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 22:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1307190#M11337</guid>
      <dc:creator>rvalente</dc:creator>
      <dc:date>2021-07-13T22:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 ADC to DMA with circular buffer - looking for example</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1307294#M11341</link>
      <description>&lt;P&gt;&lt;U&gt;Hi@&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181060" target="_self" aria-label="View Profile of rvalente"&gt;&lt;SPAN class=""&gt;rvalente&lt;/SPAN&gt;&lt;/A&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;below is my code,you can refer to it.&lt;/P&gt;
&lt;P&gt;step1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1626232580961.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149740i314E58ACF0FD17E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_0-1626232580961.png" alt="Senlent_0-1626232580961.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_0-1626232580961.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;step2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_1-1626232602559.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149741i29C97122C68E1D03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_1-1626232602559.png" alt="Senlent_1-1626232602559.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_1-1626232602559.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;step3.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_2-1626232661970.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149743iBD2E2DD05E82CB90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_2-1626232661970.png" alt="Senlent_2-1626232661970.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_2-1626232661970.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;step4.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_3-1626232728554.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149744i349D9C25C1639C6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_3-1626232728554.png" alt="Senlent_3-1626232728554.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_3-1626232728554.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Done!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Jim,&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 03:20:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/1307294#M11341</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2021-07-14T03:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 ADC to DMA with circular buffer - looking for example</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/2125356#M50366</link>
      <description>&lt;P&gt;I'm trying to read analog pins PTD2(ADC1 channel2) and PTE6(ADC1 channel 11) using LPTMR, PDB1 and&amp;nbsp; DMA . I'm using DMA loop transfer to move contents of ADC1-&amp;gt;R[0] to an user created buffer. But I'm not getting DMA callback, which is supposed to be received after successful DMA transfer.&lt;/P&gt;&lt;P&gt;Can someone tell me, where I'm going wrong. I have attached the project code zip file below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 06:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-ADC-to-DMA-with-circular-buffer-looking-for-example/m-p/2125356#M50366</guid>
      <dc:creator>rohit1749</dc:creator>
      <dc:date>2025-06-30T06:08:09Z</dc:date>
    </item>
  </channel>
</rss>

