<?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のトピックLPC43XX DMA Control reg TRANSFERSIZE in NONE DMA flow control</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1953085#M56841</link>
    <description>&lt;P&gt;My case is ADCHS with DMA burst transfer.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;ADCHS&lt;/LI&gt;&lt;LI&gt;DMA Flow control is peripheral&amp;nbsp; (0x6)&lt;/LI&gt;&lt;LI&gt;DMA Scatter/gather.&lt;/LI&gt;&lt;LI&gt;DMA Burst mode, in automatically transfer.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Questions&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In case of Flow-Control is peripheral, DMA Control reg b[0:11] TRANSFERSIZE (see figure) set 0 is correct ?&lt;/LI&gt;&lt;LI&gt;How many size will be transfer a “DMA burst request” signal occur.&lt;BR /&gt;Due to I only allocated 256 bytes for destination memory buffer.&lt;BR /&gt;But the DMA keep transfers ata exceed &amp;gt; 256 bytes, and seems never switch to another target buffer I prepared on LLI(Link List Items) automatically.&lt;BR /&gt;In other word, What is the condition leading DMA update (read) LLI to LLI.next&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks&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="robberpen_0-1726121538460.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298757i5DCEE54056809BDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robberpen_0-1726121538460.png" alt="robberpen_0-1726121538460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2024 06:14:38 GMT</pubDate>
    <dc:creator>robberpen</dc:creator>
    <dc:date>2024-09-12T06:14:38Z</dc:date>
    <item>
      <title>LPC43XX DMA Control reg TRANSFERSIZE in NONE DMA flow control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1953085#M56841</link>
      <description>&lt;P&gt;My case is ADCHS with DMA burst transfer.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;ADCHS&lt;/LI&gt;&lt;LI&gt;DMA Flow control is peripheral&amp;nbsp; (0x6)&lt;/LI&gt;&lt;LI&gt;DMA Scatter/gather.&lt;/LI&gt;&lt;LI&gt;DMA Burst mode, in automatically transfer.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Questions&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In case of Flow-Control is peripheral, DMA Control reg b[0:11] TRANSFERSIZE (see figure) set 0 is correct ?&lt;/LI&gt;&lt;LI&gt;How many size will be transfer a “DMA burst request” signal occur.&lt;BR /&gt;Due to I only allocated 256 bytes for destination memory buffer.&lt;BR /&gt;But the DMA keep transfers ata exceed &amp;gt; 256 bytes, and seems never switch to another target buffer I prepared on LLI(Link List Items) automatically.&lt;BR /&gt;In other word, What is the condition leading DMA update (read) LLI to LLI.next&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks&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="robberpen_0-1726121538460.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298757i5DCEE54056809BDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robberpen_0-1726121538460.png" alt="robberpen_0-1726121538460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 06:14:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1953085#M56841</guid>
      <dc:creator>robberpen</dc:creator>
      <dc:date>2024-09-12T06:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43XX DMA Control reg TRANSFERSIZE in NONE DMA flow control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1953895#M56852</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230642"&gt;@robberpen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Setting TRANSFERSIZE to 0:&lt;BR /&gt;• Since the flow control is being managed by the peripheral (in this case, ADCHS), the TRANSFERSIZE field is not used to limit the number of transfers (as indicated by the red-highlighted text in your image). Instead, the peripheral controls the number of transfers in each burst, so setting the TRANSFERSIZE to 0 is valid when the peripheral is the flow controller.&lt;BR /&gt;2. DMA Burst Request and Transfer Size:&lt;BR /&gt;• The DMA burst request signal initiates the transfer. Typically, the burst size for each transfer is set in the burst size configuration of the DMA or ADCHS peripheral. If the burst transfer size exceeds 256 bytes (your allocated buffer size), you will run into issues, which might explain why your DMA is exceeding the 256-byte buffer. You’ll need to review your DMA burst size configuration in the ADCHS peripheral or the DMA settings to match it to your allocated buffer size.&lt;BR /&gt;3. DMA and Linked List Item (LLI) Switching:&lt;BR /&gt;• In scatter/gather mode, the DMA switches to the next LLI (Linked List Item) once the current transfer completes. If the DMA is not switching to the next LLI, it could indicate that the DMA doesn’t detect that the current buffer is full or the transfer size isn’t being processed correctly.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hang&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 03:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1953895#M56852</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-09-13T03:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43XX DMA Control reg TRANSFERSIZE in NONE DMA flow control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1954418#M56860</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks your clarify&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Based your 3rd reply&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;In scatter/gather mode, the DMA switches to the next LLI (Linked List Item) once the current transfer completes&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;What is the exactly defination of "transfer completes" for peripheral as flow-control(HSADC) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;In this case I set DMA control register b[14:12] = burst&amp;nbsp;(0x0 &amp;lt;&amp;lt; 12) . that is means&amp;nbsp; DMA burst "transfer completed" in burst on 4 bytes&amp;nbsp; = (1(SBSIZE) x&amp;nbsp; 4(SWIDTH))? then DMA will lookup next LLI or raise DMA ISR for furture set/confiig? see below another post for sample code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;But as my tested, The behavior is not like as what I expect. it never raise any DMA interrupt nor stop transfer untill SRAM been full-up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC4300-DMA-scatter-gatter-with-LLI/m-p/1953641#M56846" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC4300-DMA-scatter-gatter-with-LLI/m-p/1953641#M56846&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 17:19:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1954418#M56860</guid>
      <dc:creator>robberpen</dc:creator>
      <dc:date>2024-09-13T17:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43XX DMA Control reg TRANSFERSIZE in NONE DMA flow control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1956178#M56875</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230642"&gt;@robberpen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will reply in the link you mentioned.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hang&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 03:39:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-DMA-Control-reg-TRANSFERSIZE-in-NONE-DMA-flow-control/m-p/1956178#M56875</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-09-18T03:39:52Z</dc:date>
    </item>
  </channel>
</rss>

