<?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のトピックAdvice for predictable DMA timing?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-for-predictable-DMA-timing/m-p/551717#M14240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rockyh on Fri Sep 19 08:12:44 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a design where I am using a State Configurable Timer event to generate a single 16 bit DMA transfer from external SRAM to the internal RAM of the 4330.&amp;nbsp; The external SRAM EMC is set to zero wait states, and running the core at 204MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At slower speeds this works without issue, but as I bring the SCT up to the speed where we need it (the DMA transfer needs to occur within 200 nsec), I start to see unexpected "glitches" where the DMA transfer is delayed. This doesn't happen very often, but often enough that it is a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is running in the internal SRAM of the 4330 and interrupts are disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking for any advice or tips.&amp;nbsp; Is this "glitch" something to expect with DMA? Is there anyway to avoid this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:36:29 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:36:29Z</dc:date>
    <item>
      <title>Advice for predictable DMA timing?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-for-predictable-DMA-timing/m-p/551717#M14240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rockyh on Fri Sep 19 08:12:44 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a design where I am using a State Configurable Timer event to generate a single 16 bit DMA transfer from external SRAM to the internal RAM of the 4330.&amp;nbsp; The external SRAM EMC is set to zero wait states, and running the core at 204MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At slower speeds this works without issue, but as I bring the SCT up to the speed where we need it (the DMA transfer needs to occur within 200 nsec), I start to see unexpected "glitches" where the DMA transfer is delayed. This doesn't happen very often, but often enough that it is a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is running in the internal SRAM of the 4330 and interrupts are disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking for any advice or tips.&amp;nbsp; Is this "glitch" something to expect with DMA? Is there anyway to avoid this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-for-predictable-DMA-timing/m-p/551717#M14240</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Advice for predictable DMA timing?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-for-predictable-DMA-timing/m-p/551718#M14241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Sat Sep 20 01:16:26 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there contention for the external or internal RAM, i.e. is a processor accessing it simultaneously with the DMA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are the code and the data in different RAM areas? Take a look at UM10503 "3.6 AHB Multilayer matrix configuration".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How many read/write cycles can the external RAM do in 200ns? Since external RAM is slower than internal memory, it is more likely to be the culprit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:36:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-for-predictable-DMA-timing/m-p/551718#M14241</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:36:30Z</dc:date>
    </item>
  </channel>
</rss>

