<?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>Model-Based Design Toolbox (MBDT)のトピックRe: How to Measure a Signal with eTimer - Capture</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Measure-a-Signal-with-eTimer-Capture/m-p/665994#M285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Daniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;In your &lt;SPAN&gt;example ,I can't &lt;SPAN style="background-color: #ffffff;"&gt;derectly&amp;nbsp;find&lt;/SPAN&gt;&amp;nbsp;that&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;IPBus clock is&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;160Mhz .How can I calculate the&amp;nbsp;IPBus clock?&lt;span class="lia-inline-image-display-wrapper" image-alt="55.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27060iBB68B96360E5825C/image-size/large?v=v2&amp;amp;px=999" role="button" title="55.PNG" alt="55.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="66.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27108iA0C5AF3F94D21162/image-size/large?v=v2&amp;amp;px=999" role="button" title="66.PNG" alt="66.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hj&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 11:18:02 GMT</pubDate>
    <dc:creator>hjhjhj</dc:creator>
    <dc:date>2017-07-20T11:18:02Z</dc:date>
    <item>
      <title>How to Measure a Signal with eTimer - Capture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Measure-a-Signal-with-eTimer-Capture/m-p/665993#M284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This example shows how you can configure the MPC5744 eTimer block to measure the period of a signal. In addition you should be aware that the eTimer hardware module design includes these distinctive features:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • 6 x 16-bit counters/timers.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Count up or down.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Counters are cascadable.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Enhanced programmable up/down modulo counting.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Max count rate equals peripheral clock/2 for external clocks.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Max count rate equals peripheral clock for internal clocks.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Count once or repeatedly.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Counters are preloadable.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Compare registers are preloadable.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Counters can share available input pins.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Separate prescaler for each counter.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Each counter has capture and compare capability.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Continuous and single shot capture for enhanced speed measurement.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; • Counting start can be synchronized across counters.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The application is going to configure the FlexPWM module to generate a PWM signal that changes its frequency between 1000Hz and 10000Hz. The PWM output pins used are A10(J1.5) and A11(J1.7)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The eTimer modele is configured to read the input pin A0(J5.1) and measure its rising edges based on IPBus clock (160Mhz) and a 128 prescaller.&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HW Setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fautomotive-products%2Fmicrocontrollers-and-processors%2F32-bit-power-architecture%2Fultra-reliable-mpc57xx-32-bit-automotive-industrial-microcontrollers-mcus%2Fdevelopment-board-for-mpc5744p%3ADEVKIT-MPC5744P" rel="nofollow" target="_blank"&gt;MPC5744P DevKit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Connect a wire between A10(J1.5) to A0(J5.1)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188663_188663.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123089i66A97E919D70FFF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="188663_188663.png" alt="188663_188663.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26568iB3AAF13DBDDC9BD4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SW Setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- &lt;A _jive_internal="true" data-containerid="11546" data-containertype="14" data-objectid="333913" data-objecttype="102" href="https://community.nxp.com/docs/DOC-333913"&gt;Model Based Design Toolbox for MPC5744P v2.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Simulink model attached&lt;/P&gt;&lt;P&gt;- Matlab 2015b or newer&lt;/P&gt;&lt;P&gt;- Freemaster 2.0 for data visualization&lt;/P&gt;&lt;P&gt;- Check this &lt;A _jive_internal="true" data-containerid="11546" data-containertype="14" data-objectid="7692" data-objecttype="1100" href="https://community.nxp.com/videos/7692"&gt;video for installation and configuration details&lt;/A&gt;:&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Verification:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Build and Download the application to the MPC5744P microprocessor&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188665_188665.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123090iEE3AAE645E15DC88/image-size/large?v=v2&amp;amp;px=999" role="button" title="188665_188665.png" alt="188665_188665.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26610iDCB2CC070498C956/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Open and connect the Freemaster project attached. You should see:&lt;/P&gt;&lt;P&gt;@10000Hz&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188666_188666.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123091i405EC2D897447144/image-size/large?v=v2&amp;amp;px=999" role="button" title="188666_188666.png" alt="188666_188666.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26476i2BFAB2BDFF4FCECA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;@1000Hz&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="188667_188667.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123092i9E8FC34B20052C99/image-size/large?v=v2&amp;amp;px=999" role="button" title="188667_188667.png" alt="188667_188667.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26653i2A8E74F6C4A9A65F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338798"&gt;eTimer_measure.mot.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338798"&gt;Etimer_PWM_measurement.pmp.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338798"&gt;eTimer_measure.slx.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 06:23:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Measure-a-Signal-with-eTimer-Capture/m-p/665993#M284</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-12T06:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Measure a Signal with eTimer - Capture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Measure-a-Signal-with-eTimer-Capture/m-p/665994#M285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Daniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;In your &lt;SPAN&gt;example ,I can't &lt;SPAN style="background-color: #ffffff;"&gt;derectly&amp;nbsp;find&lt;/SPAN&gt;&amp;nbsp;that&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;IPBus clock is&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;160Mhz .How can I calculate the&amp;nbsp;IPBus clock?&lt;span class="lia-inline-image-display-wrapper" image-alt="55.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27060iBB68B96360E5825C/image-size/large?v=v2&amp;amp;px=999" role="button" title="55.PNG" alt="55.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="66.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27108iA0C5AF3F94D21162/image-size/large?v=v2&amp;amp;px=999" role="button" title="66.PNG" alt="66.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hj&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:18:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Measure-a-Signal-with-eTimer-Capture/m-p/665994#M285</guid>
      <dc:creator>hjhjhj</dc:creator>
      <dc:date>2017-07-20T11:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Measure a Signal with eTimer - Capture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Measure-a-Signal-with-eTimer-Capture/m-p/665995#M286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @hjhjhj,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The IPBus is the generic name used for peripheral configuration. The source of the clock for each peripheral might be different. In case of the ETimer the IPBus clock is the&amp;nbsp;MOTC_CLK. Please refer to the MPC5744P Reference manual. T&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27250i023C21DCA7417217/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maximum frequency of MOTC_CLK is 160Mhz.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27317iAE7F3ACFFFA41C04/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the generated code, the clock setup is made in the mcu_init.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:01:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Measure-a-Signal-with-eTimer-Capture/m-p/665995#M286</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-07-20T12:01:53Z</dc:date>
    </item>
  </channel>
</rss>

