<?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: Capture module in code warrior 8 in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Capture-module-in-code-warrior-8/m-p/200617#M5422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;I suggest you to log your request to the Freescale CRM system.&lt;BR /&gt;Can I suggest you to have a look to your request via the web access ?&lt;BR /&gt;Please use Freescale on line support web page.&lt;BR /&gt;&amp;nbsp; - Go to following URL: &lt;A href="http://www.freescale.com/TechSupport" rel="nofollow" target="_blank"&gt;http://www.freescale.com/TechSupport&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; - Click on Submit a Service Request to create a new one or Manage Existing Service Request.&lt;BR /&gt;&amp;nbsp; - You will come to a login page.&lt;BR /&gt;&amp;nbsp; - You can submit your request through the web from there or view the activities of a SR.&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Please provide us more details about the Tool version used.&lt;BR /&gt;To do that you must:&lt;BR /&gt;* CW:&lt;BR /&gt;Start the IDE and click on Help | About Metrowerks CodeWarrior.&lt;BR /&gt;Click on Installed Products&amp;nbsp;&lt;BR /&gt;Provide us all info displayed.&lt;BR /&gt;Or you can save them in a txt file.&lt;/DIV&gt;&lt;DIV&gt;Can you please provide us your example reproducing the issue ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 17:02:24 GMT</pubDate>
    <dc:creator>trytohelp</dc:creator>
    <dc:date>2008-11-14T17:02:24Z</dc:date>
    <item>
      <title>Capture module in code warrior 8</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Capture-module-in-code-warrior-8/m-p/200616#M5421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone. Here's my problem. I have zero crossing detector circuit that sends a 50Hz PWM to my timer D capture module (DSP56f807). I am using the timer1 pin as the input pin. I want to detect this PWM on the rising edge and this will start a timer. On the second rising edge the timer must stop. I want to retrieve this value and use it to determine the period of the signal. I used the following code in my interrupt service routine to do this:&lt;BR /&gt;&lt;BR /&gt;void Cap1_OnCapture(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; /* Write your code here ... */&lt;BR /&gt;if(u==2)&lt;BR /&gt;{&lt;BR /&gt;Cap1_DisableEvent();&lt;BR /&gt;/&lt;BR /&gt;Cap1_GetCaptureValue(&amp;amp;SAMPLES_Current[t]);&lt;BR /&gt;&lt;BR /&gt;if(t==MAXSAMPLES)&lt;BR /&gt;{&lt;BR /&gt;for(p=20;p&amp;lt;40;p++)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;printf("ms - %u\n" , SAMPLES_Current[p]);&lt;BR /&gt;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;u=0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;if(t&amp;lt;MAXSAMPLES)&lt;BR /&gt;t++;&lt;BR /&gt;else&lt;BR /&gt;t==0;&lt;BR /&gt;Cap1_Reset();&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;else u++;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I just used the printf to test if it was capturing the time. My problem is the value it reads isn't constant even though the input PWM is constant. Please help!!!! I have included my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fcommunity_files%2FCWDSPCOMM%2F1132_eaw_code.zip" rel="nofollow" target="_blank"&gt;eaw_code.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:59 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 10:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Capture-module-in-code-warrior-8/m-p/200616#M5421</guid>
      <dc:creator>rickross</dc:creator>
      <dc:date>2008-11-10T10:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Capture module in code warrior 8</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Capture-module-in-code-warrior-8/m-p/200617#M5422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;I suggest you to log your request to the Freescale CRM system.&lt;BR /&gt;Can I suggest you to have a look to your request via the web access ?&lt;BR /&gt;Please use Freescale on line support web page.&lt;BR /&gt;&amp;nbsp; - Go to following URL: &lt;A href="http://www.freescale.com/TechSupport" rel="nofollow" target="_blank"&gt;http://www.freescale.com/TechSupport&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; - Click on Submit a Service Request to create a new one or Manage Existing Service Request.&lt;BR /&gt;&amp;nbsp; - You will come to a login page.&lt;BR /&gt;&amp;nbsp; - You can submit your request through the web from there or view the activities of a SR.&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Please provide us more details about the Tool version used.&lt;BR /&gt;To do that you must:&lt;BR /&gt;* CW:&lt;BR /&gt;Start the IDE and click on Help | About Metrowerks CodeWarrior.&lt;BR /&gt;Click on Installed Products&amp;nbsp;&lt;BR /&gt;Provide us all info displayed.&lt;BR /&gt;Or you can save them in a txt file.&lt;/DIV&gt;&lt;DIV&gt;Can you please provide us your example reproducing the issue ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 17:02:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Capture-module-in-code-warrior-8/m-p/200617#M5422</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-11-14T17:02:24Z</dc:date>
    </item>
  </channel>
</rss>

