<?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>S12 / MagniV Microcontrollers中的主题 Speed issues with 56F8013</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Speed-issues-with-56F8013/m-p/140104#M3031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I finally have CodeWarrior up and running with my obscure printer port... I am evaluating the 56F8013EVM for a home project I hope to turn into a product, and I am seemingly having some difficulties getting any performace out of the core.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have set up a processor expert project only turing on the bare essentials; The Cpu where I have the PLL clock set at 32MHz and using the On-chip relaxation oscillator, and two of the LEDs since I am using the EVM board for this test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I then simply call LED1_Toggle() in the for(;&lt;/SPAN&gt;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;&lt;SPAN&gt; block of code in the main User Modules secion and observe the output on the pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I was hoping if the core was running at 32MHz to see an output between 4-8MHz, maybe faster. Instead I see an output of 1.6MHz on a bare bones project, and a whopping 276kHz with the A/D module turned on in continuous mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First off, with the JTAG cable attached, does it slow things down when running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get no PLL error interrupts, however when I poll the locked flag of the PLLSR, it always says unlocked, though I am unsure how this could pass the initialization stage if so as the CPU initialization wont exit unless a lock ocurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently this project is pretty darned slim, so I cannot imagine much being wrong at this point, other than the device's PLL not cooperating or ProcessorExpert generating a crummy piece of code someplace which causes the PLL to unlock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any insight if anyone has run into this one before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And quickly: Can I expect to be able to get a 32kHz sample rate on two channels at once? Even better, can I expect 32kHz sample rate staggered on four? I have been unable to confirm this on the demo board thanks to this clocking issue. The datasheet says so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2007 02:32:53 GMT</pubDate>
    <dc:creator>liquidsquid</dc:creator>
    <dc:date>2007-07-16T02:32:53Z</dc:date>
    <item>
      <title>Speed issues with 56F8013</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Speed-issues-with-56F8013/m-p/140104#M3031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I finally have CodeWarrior up and running with my obscure printer port... I am evaluating the 56F8013EVM for a home project I hope to turn into a product, and I am seemingly having some difficulties getting any performace out of the core.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have set up a processor expert project only turing on the bare essentials; The Cpu where I have the PLL clock set at 32MHz and using the On-chip relaxation oscillator, and two of the LEDs since I am using the EVM board for this test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I then simply call LED1_Toggle() in the for(;&lt;/SPAN&gt;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;&lt;SPAN&gt; block of code in the main User Modules secion and observe the output on the pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I was hoping if the core was running at 32MHz to see an output between 4-8MHz, maybe faster. Instead I see an output of 1.6MHz on a bare bones project, and a whopping 276kHz with the A/D module turned on in continuous mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First off, with the JTAG cable attached, does it slow things down when running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get no PLL error interrupts, however when I poll the locked flag of the PLLSR, it always says unlocked, though I am unsure how this could pass the initialization stage if so as the CPU initialization wont exit unless a lock ocurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently this project is pretty darned slim, so I cannot imagine much being wrong at this point, other than the device's PLL not cooperating or ProcessorExpert generating a crummy piece of code someplace which causes the PLL to unlock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any insight if anyone has run into this one before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And quickly: Can I expect to be able to get a 32kHz sample rate on two channels at once? Even better, can I expect 32kHz sample rate staggered on four? I have been unable to confirm this on the demo board thanks to this clocking issue. The datasheet says so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 02:32:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Speed-issues-with-56F8013/m-p/140104#M3031</guid>
      <dc:creator>liquidsquid</dc:creator>
      <dc:date>2007-07-16T02:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Speed issues with 56F8013</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Speed-issues-with-56F8013/m-p/140105#M3032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Ok, it was the debugger slowing things up. I was having trouble getting the pod to run stand-alone to see any signalling, but once I did, the device truly flies. More then enough HP for what I need.&lt;BR /&gt;&lt;BR /&gt;Now on to the next thing:&lt;BR /&gt;Getting the Beans in CodeWarrior setup to create the 32kHz sampling rate all interrupt driven. I want to write my code as an event-driven interface. However I am really struggling with these timer modules and the PWM, which I cannot seem to get enabled to give me a pulse train on a single output. I have some things to try still, but this is tough to do between dinner, bath for Joe, and bed...&lt;BR /&gt;&lt;BR /&gt;This is certainly not the HCS08, which I have a lot of experience on. (Using the BDM, that is why the speed confusion).&lt;BR /&gt;&lt;BR /&gt;BTW is there a more active forum sponsored or otherwise for newb questions like this? This one seems pretty dead compared to the old Yahoo groups.&lt;BR /&gt;&lt;BR /&gt;-Mark&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 07:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Speed-issues-with-56F8013/m-p/140105#M3032</guid>
      <dc:creator>liquidsquid</dc:creator>
      <dc:date>2007-07-17T07:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Speed issues with 56F8013</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Speed-issues-with-56F8013/m-p/140106#M3033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Ok, turns out it runs at full speed even in debug. Some setting somewhere during the process of my testing prevented the PLL from coming up, among other things. I created a spanking-new project to test just the PWM, and it fired right up. Then I imported my older project's beans into it, and it ran fine.&lt;BR /&gt;&lt;BR /&gt;Gotta love problems like that when you are firing up something for the first time.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 09:54:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Speed-issues-with-56F8013/m-p/140106#M3033</guid>
      <dc:creator>liquidsquid</dc:creator>
      <dc:date>2007-07-17T09:54:35Z</dc:date>
    </item>
  </channel>
</rss>

