<?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>CodeWarrior for MCU中的主题 Re: Capture Component Maximum Time - CW Bug?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387543#M11452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a problem with default settings of Allowed error in the timing dialog of the Maximum time event property. The default value of Allowed error is&amp;nbsp; 5ms and therefore Processor Expert used the first value that fit the range 5.461333 +- 5ms. Therefore the value has been set to 2.731ms in the Details column. When you set Allowed error to 0.001 ms and select the 5.461333 ms in the Init. Value the same value will appear in the Details column in the Component Inspector, see the screenshot as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CT_Capture Timing Dialog - allowed error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51695i103EAEAC1EE0202E/image-size/large?v=v2&amp;amp;px=999" role="button" title="CT_Capture Timing Dialog - allowed error.png" alt="CT_Capture Timing Dialog - allowed error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiona Kuang&lt;/P&gt;&lt;P&gt;Technical Information &amp;amp; Commercial Support&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 14:46:41 GMT</pubDate>
    <dc:creator>TICS_Fiona</dc:creator>
    <dc:date>2015-03-19T14:46:41Z</dc:date>
    <item>
      <title>Capture Component Maximum Time - CW Bug?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387539#M11448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the Capture component in CodeWarrior. For the field "Maximum time of event", I do not understand why the value in the "Value" column is different to that in the "Details" column. Which value will be used in the code? I've put a screen shot below:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20862_20862.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120220i03C558F4B72A609D/image-size/large?v=v2&amp;amp;px=999" role="button" title="20862_20862.png" alt="20862_20862.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cw capture time.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51417i548B55F528B9BDB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="cw capture time.png" alt="cw capture time.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 11:22:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387539#M11448</guid>
      <dc:creator>abhiembedded</dc:creator>
      <dc:date>2015-03-16T11:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Component Maximum Time - CW Bug?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387540#M11449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To look into this issue, we need to know the CodeWarrior version, as well as the part number of your MCU. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiona Kuang&lt;/P&gt;&lt;P&gt;Technical Information &amp;amp; Commercial Support&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 00:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387540#M11449</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2015-03-17T00:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Component Maximum Time - CW Bug?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387541#M11450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some install information is below:&lt;/P&gt;&lt;P&gt;Processor Expert for MCU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Version 10.6.0&lt;/P&gt;&lt;P&gt;Build: RT6_b1446-0504&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - CodeWarrior for MCU&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version: 10.6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build Id:140329&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MCU I am using is MKL25Z128VLK4 in LQFP 80-pin package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only seems to happend when selecting the 5.461333 ms option. My chip is setup with a core clock of 48 MHz and bus clock of 24 MHz.&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 09:02:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387541#M11450</guid>
      <dc:creator>abhiembedded</dc:creator>
      <dc:date>2015-03-17T09:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Component Maximum Time - CW Bug?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387542#M11451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I reviewed the TMP initialization code generated by PE, and I think the value in "Details" column is the real maximum time of even used in code. When selecting the 5.461333 ms option in your project, the PS bit in TPMx_SC is configured into 0, see the code generated by PE as below:&lt;/P&gt;&lt;P&gt;TPM2_SC = (TPM_SC_CMOD(0x01) | TPM_SC_PS(0x00));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The modulo is initialized as 0xFFFF:&lt;/P&gt;&lt;P&gt;TPM2_MOD = TPM_MOD_MOD(0xFFFF);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set up modulo register */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maximum time of even should be: 65535/(24*10^6) s = 2.731ms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have contacted PE dev. team for how to configure this option correctly, and reply you later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiona Kuang&lt;/P&gt;&lt;P&gt;Technical Information &amp;amp; Commercial Support&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 12:08:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387542#M11451</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2015-03-18T12:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Component Maximum Time - CW Bug?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387543#M11452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a problem with default settings of Allowed error in the timing dialog of the Maximum time event property. The default value of Allowed error is&amp;nbsp; 5ms and therefore Processor Expert used the first value that fit the range 5.461333 +- 5ms. Therefore the value has been set to 2.731ms in the Details column. When you set Allowed error to 0.001 ms and select the 5.461333 ms in the Init. Value the same value will appear in the Details column in the Component Inspector, see the screenshot as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CT_Capture Timing Dialog - allowed error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51695i103EAEAC1EE0202E/image-size/large?v=v2&amp;amp;px=999" role="button" title="CT_Capture Timing Dialog - allowed error.png" alt="CT_Capture Timing Dialog - allowed error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiona Kuang&lt;/P&gt;&lt;P&gt;Technical Information &amp;amp; Commercial Support&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 14:46:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Capture-Component-Maximum-Time-CW-Bug/m-p/387543#M11452</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2015-03-19T14:46:41Z</dc:date>
    </item>
  </channel>
</rss>

