<?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 Measuring function time / cycle counter on MPC5748G in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Measuring-function-time-cycle-counter-on-MPC5748G/m-p/738023#M10156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am trying to implement an API to accurately measure code samples running times.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I did a similar thing on an ARM Cortex M4 core, using a cycle counter register.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I cannot find a similar register in&amp;nbsp;e200z4 core.&lt;BR /&gt;I've read about people using the decrementer register as a cycle counter.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I tried accessing this register using ASM_KEYWORD (Diab compiler), but it didn't assemble.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2Fe200z4RM.pdf" rel="nofollow" style="color: #5e89c1; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/e200z4RM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I then read the MPG5748G does not have a decrementer register, even though it has 2&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;e200z4 cores?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.chibios.com%2Fforum%2Fviewtopic.php%3Ft%3D2843" rel="nofollow" style="color: #5e89c1; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;MPC5748G with OS tick lower than 1ms (100us) - ChibiOS Free Embedded RTOS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;What is the formal solution for cycle counting on this chip?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2018 09:45:44 GMT</pubDate>
    <dc:creator>nimrodzarmi</dc:creator>
    <dc:date>2018-02-12T09:45:44Z</dc:date>
    <item>
      <title>Measuring function time / cycle counter on MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Measuring-function-time-cycle-counter-on-MPC5748G/m-p/738023#M10156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am trying to implement an API to accurately measure code samples running times.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I did a similar thing on an ARM Cortex M4 core, using a cycle counter register.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I cannot find a similar register in&amp;nbsp;e200z4 core.&lt;BR /&gt;I've read about people using the decrementer register as a cycle counter.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I tried accessing this register using ASM_KEYWORD (Diab compiler), but it didn't assemble.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2Fe200z4RM.pdf" rel="nofollow" style="color: #5e89c1; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/e200z4RM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I then read the MPG5748G does not have a decrementer register, even though it has 2&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;e200z4 cores?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.chibios.com%2Fforum%2Fviewtopic.php%3Ft%3D2843" rel="nofollow" style="color: #5e89c1; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;MPC5748G with OS tick lower than 1ms (100us) - ChibiOS Free Embedded RTOS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;What is the formal solution for cycle counting on this chip?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 09:45:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Measuring-function-time-cycle-counter-on-MPC5748G/m-p/738023#M10156</guid>
      <dc:creator>nimrodzarmi</dc:creator>
      <dc:date>2018-02-12T09:45:44Z</dc:date>
    </item>
  </channel>
</rss>

