<?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: excution time in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/excution-time/m-p/155303#M4422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi&lt;BR /&gt;&lt;BR /&gt;There has been a recent discussion on the Coldfire Wildrice mail list where this point was addressed and Freescale's John Bodnar gave some useful clarifications. I am assuming that this is also pertinent to your device.&lt;BR /&gt;&lt;BR /&gt;Original question:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;"Do you have any influence over the GPIO modules?&amp;nbsp; On the MCF5234, setting output pins high and low is painfully slow (despite the "set pin" and "clear pin" registers).&amp;nbsp; The latency as the write goes over to a slower internal bus with multiple wait states (even at the lower speed), is just too high.&amp;nbsp; I was trying to test and debug an interrupt routine using the traditional method of setting a pin high on entry and low on exit - driving the pins high and low took more time than the interrupt routine itself."&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;The complete mail exchanges can be found at &lt;A href="http://www.wildrice.com/ColdFire/" target="test_blank"&gt;http://www.wildrice.com/ColdFire/&lt;/A&gt; [2.5.2008]. Since these are public I don't think there is any problem with me reproducing the main details here.&lt;BR /&gt;&lt;BR /&gt;"This is a limitation of the platform architecture used on the MCF528x, MCF523x, MCF521x, MCF522xx, and MCF5270/1/4/5. The PORTS module resides on the other side of a bus bridge that runs at half the platform clock rate.&amp;nbsp; That means that for a 150 MHz MCF5234, the PORTS block is running in a 37.5 MHz clock domain, and that doesn't help.&lt;BR /&gt;&lt;BR /&gt;The MCF5207/8, MCF532x, MCF537x, and MCF5445x are better in this respect.&amp;nbsp; The PORTS module resides in the platform clock domain, meaning that it gets clocked at 83.33, 80, 80, or 133 MHz, respectively, on these devices.&amp;nbsp; I/O toggles times, based on our benchmarks, are about 4 times as fast as on those devices listed in the previous paragraph."&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_blank"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2008 21:00:12 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2008-05-12T21:00:12Z</dc:date>
    <item>
      <title>excution time</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/excution-time/m-p/155301#M4420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I writed this code on MCF5485:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//interuupt disabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while(1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPIO_PODR_FBCS=0x00;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asm( nop);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_GPIO_PODR_FBCS=0xFF;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then I connected one of MCF_GPIO_PODR_FBCS pin to the Osil. I measured the period of&amp;nbsp; signal.It was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;about 4 microsecond.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it is wrong because my microprocessor is working on 200MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the execution time of "NOP" instruction in my program is about 200 nano second when this instruction exution time is 6 clock cycle.(about 30 nanosecond)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it is unormal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what is your idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 12:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/excution-time/m-p/155301#M4420</guid>
      <dc:creator>mkhademism</dc:creator>
      <dc:date>2008-05-12T12:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: excution time</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/excution-time/m-p/155302#M4421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi&lt;BR /&gt;&lt;BR /&gt;A couple of suggestions:&lt;BR /&gt;&lt;BR /&gt;(1) Make sure that you have all compiler optimisations turned on. Without optimisations, some compilers generate truly dreadful code.&lt;BR /&gt;&lt;BR /&gt;(2) Make sure that the code is running out of the on-chip SRAM, or that you have the instruction cache enabled. Otherwise you will be slowed down a lot by the time it takes to fetch the opcodes from external memory on each loop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try these, and let us know how you get on.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 16:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/excution-time/m-p/155302#M4421</guid>
      <dc:creator>SimonMarsden_de</dc:creator>
      <dc:date>2008-05-12T16:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: excution time</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/excution-time/m-p/155303#M4422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi&lt;BR /&gt;&lt;BR /&gt;There has been a recent discussion on the Coldfire Wildrice mail list where this point was addressed and Freescale's John Bodnar gave some useful clarifications. I am assuming that this is also pertinent to your device.&lt;BR /&gt;&lt;BR /&gt;Original question:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;"Do you have any influence over the GPIO modules?&amp;nbsp; On the MCF5234, setting output pins high and low is painfully slow (despite the "set pin" and "clear pin" registers).&amp;nbsp; The latency as the write goes over to a slower internal bus with multiple wait states (even at the lower speed), is just too high.&amp;nbsp; I was trying to test and debug an interrupt routine using the traditional method of setting a pin high on entry and low on exit - driving the pins high and low took more time than the interrupt routine itself."&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;The complete mail exchanges can be found at &lt;A href="http://www.wildrice.com/ColdFire/" target="test_blank"&gt;http://www.wildrice.com/ColdFire/&lt;/A&gt; [2.5.2008]. Since these are public I don't think there is any problem with me reproducing the main details here.&lt;BR /&gt;&lt;BR /&gt;"This is a limitation of the platform architecture used on the MCF528x, MCF523x, MCF521x, MCF522xx, and MCF5270/1/4/5. The PORTS module resides on the other side of a bus bridge that runs at half the platform clock rate.&amp;nbsp; That means that for a 150 MHz MCF5234, the PORTS block is running in a 37.5 MHz clock domain, and that doesn't help.&lt;BR /&gt;&lt;BR /&gt;The MCF5207/8, MCF532x, MCF537x, and MCF5445x are better in this respect.&amp;nbsp; The PORTS module resides in the platform clock domain, meaning that it gets clocked at 83.33, 80, 80, or 133 MHz, respectively, on these devices.&amp;nbsp; I/O toggles times, based on our benchmarks, are about 4 times as fast as on those devices listed in the previous paragraph."&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_blank"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 21:00:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/excution-time/m-p/155303#M4422</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2008-05-12T21:00:12Z</dc:date>
    </item>
  </channel>
</rss>

