<?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: DMA with 5472 - performace in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145870#M3162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;MartinW,&lt;BR /&gt;&lt;BR /&gt;Can you give us some additional details on your test setup.&amp;nbsp; My first guess, without seeing a lot of detail is that you have the waitstates on the FlexBus set too high.&amp;nbsp; The FlexBus can be a fast bus, if configured correctly, but also can be very slow if you are not careful.&lt;BR /&gt;&lt;BR /&gt;If the only thing going on in the system is a DMA copy, then this number seems really large.&amp;nbsp; Even if you have other things going on, this seems a bit large.&lt;BR /&gt;&lt;BR /&gt;How are you configuring the DMA?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;-JWW&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2007 10:26:24 GMT</pubDate>
    <dc:creator>JWW</dc:creator>
    <dc:date>2007-09-14T10:26:24Z</dc:date>
    <item>
      <title>DMA with 5472 - performace</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145869#M3161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using dma on a 5472 to transfer data from memory to memory, using single buffer dma.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know what performance I can expect doing this.&amp;nbsp; I seem to get around 590nS per long transfer.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CPU clock input is 50MHz, flexbus is 50MHz, internal bus 100MHz, core is 200MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried sram to sram, both on flexbus - 16 bits wide, each 16 bit transfer was around 580nS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried SDRAM to graphics memory on the flexbus, 32 bits wide, each transfer again around 590nS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the best I can expect?&amp;nbsp; I was hoping for much faster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything I can do to improve performance?&amp;nbsp; Is it possible to modify the bus arbitration so that the dma controller gets more bandwidth?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MartinW&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 22:59:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145869#M3161</guid>
      <dc:creator>martinw</dc:creator>
      <dc:date>2007-09-13T22:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: DMA with 5472 - performace</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145870#M3162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;MartinW,&lt;BR /&gt;&lt;BR /&gt;Can you give us some additional details on your test setup.&amp;nbsp; My first guess, without seeing a lot of detail is that you have the waitstates on the FlexBus set too high.&amp;nbsp; The FlexBus can be a fast bus, if configured correctly, but also can be very slow if you are not careful.&lt;BR /&gt;&lt;BR /&gt;If the only thing going on in the system is a DMA copy, then this number seems really large.&amp;nbsp; Even if you have other things going on, this seems a bit large.&lt;BR /&gt;&lt;BR /&gt;How are you configuring the DMA?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;-JWW&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2007 10:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145870#M3162</guid>
      <dc:creator>JWW</dc:creator>
      <dc:date>2007-09-14T10:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: DMA with 5472 - performace</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145871#M3163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi JWW,&lt;BR /&gt;&lt;BR /&gt;When doing the 16 bit sram to sram copy, I was looking at the read and write lines using a logic analyser - both read and write pulses were around 60nS, but there was a huge gap between the write and the next read.&lt;BR /&gt;&lt;BR /&gt;My dma test function does a call to StartDMA, then sits and reads the dma status until it is 'done'.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;I'll get the setup information together and post it here later this morning.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Martin W&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2007 14:03:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145871#M3163</guid>
      <dc:creator>martinw</dc:creator>
      <dc:date>2007-09-14T14:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: DMA with 5472 - performace</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145872#M3164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi JWW,&lt;BR /&gt;&lt;BR /&gt;I've attached some c code showing the chip select initialisation for the sram, and the dma calls used.&lt;BR /&gt;&lt;BR /&gt;I've also attached a diagram of the signals measure on the actual sram device.&lt;BR /&gt;&lt;BR /&gt;Please let me know if you need any more information.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Martin W&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by martinw on &lt;SPAN class="date_text"&gt;2007-09-14&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:39 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2007 15:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DMA-with-5472-performace/m-p/145872#M3164</guid>
      <dc:creator>martinw</dc:creator>
      <dc:date>2007-09-14T15:39:22Z</dc:date>
    </item>
  </channel>
</rss>

