<?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>MPC5xxx中的主题 Re: execution time per asm instruction in MPC5744P</title>
    <link>https://community.nxp.com/t5/MPC5xxx/execution-time-per-asm-instruction-in-MPC5744P/m-p/656706#M7097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Hi, David&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Do you think that 6.6 cycles per instruction is too slow or is a normal ratio for this micro?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;In the example code the only thing we do is to write in PWM registers. Is there any delay associated to these registers? Is there any method to accelerate the writing in peripheral registers?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Maite&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 10:14:11 GMT</pubDate>
    <dc:creator>maitesierra</dc:creator>
    <dc:date>2017-04-20T10:14:11Z</dc:date>
    <item>
      <title>execution time per asm instruction in MPC5744P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/execution-time-per-asm-instruction-in-MPC5744P/m-p/656704#M7095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a code in C language for the MPC5744P microcontroller, compiled with S32DS. We have checked that the code is compiled to 36 asm instructions. The system clock is configured to 200MHz (5nseg). The execution time of these 36 asm instructions is 1,2useg =&amp;gt; 1200 clock cycles . This implies 6 cycles per asm instruction. Is this a reasonable time or should we check something in our configurations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: code used for time measurements&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17713i4C5386437B8A30F1/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 13:18:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/execution-time-per-asm-instruction-in-MPC5744P/m-p/656704#M7095</guid>
      <dc:creator>pedromonux</dc:creator>
      <dc:date>2017-04-06T13:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: execution time per asm instruction in MPC5744P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/execution-time-per-asm-instruction-in-MPC5744P/m-p/656705#M7096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if you measure 1.2usec with frequency 200MHz, it gives 240 clock cycles i.e. how you said 6.6 average clock cycles.&lt;/P&gt;&lt;P&gt;Of course with this architecture code length is not equal to execution time (such estimation could be maybe used with some simple 8-bit MCUs but not with such complex architecture as Power Arch is with pipelining, pre-fetching, crossbar, cache and so on).&lt;/P&gt;&lt;P&gt;But if you mean the number as average instruction execution time of certain code portion, then it is OK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 11:20:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/execution-time-per-asm-instruction-in-MPC5744P/m-p/656705#M7096</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-04-10T11:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: execution time per asm instruction in MPC5744P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/execution-time-per-asm-instruction-in-MPC5744P/m-p/656706#M7097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Hi, David&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Do you think that 6.6 cycles per instruction is too slow or is a normal ratio for this micro?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;In the example code the only thing we do is to write in PWM registers. Is there any delay associated to these registers? Is there any method to accelerate the writing in peripheral registers?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Maite&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 10:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/execution-time-per-asm-instruction-in-MPC5744P/m-p/656706#M7097</guid>
      <dc:creator>maitesierra</dc:creator>
      <dc:date>2017-04-20T10:14:11Z</dc:date>
    </item>
  </channel>
</rss>

