<?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)中的主题 Processor load</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Processor-load/m-p/1163751#M5110</link>
    <description>&lt;P&gt;Hello community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on information about how to calculate the load processor found&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/MBDT-blocks-for-measuring-Idle-Time-or-ProcessorLoad/m-p/1081223#M4719" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and bloc configurations found&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-do-I-use-the-Profiler-Function-correctly/m-p/908937" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;, I calculated the approximate load used in my S32k144. The model of interest is basically a reception and transmission over CAN system. As it is asynchronous, I have doubts about the calculations results. The procedure followed was the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;* I included a profiler bus clock tick block inside each interruption subsystem (one for CAN 1 and one for CAN 2) and another profiler bus clock tick block on the main.&lt;/P&gt;&lt;P&gt;* I substracted the values in order to get the difference of ticks (I obtained an approximate of 888859 ticks).&lt;/P&gt;&lt;P&gt;* I divided those values obtained by the clock frequency (20MHz).&lt;/P&gt;&lt;P&gt;* I took those results and divided them by the step time (0.2s).&lt;/P&gt;&lt;P&gt;Are these steps correct for calculating the load in the MCU? Since it is not synchronous, I'd appreciate any feedback to assure this results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides this, I am trying to implement a DMA. Would this method of processor calculation work for this model (with the DMA included) as well?&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 06:55:25 GMT</pubDate>
    <dc:creator>juliana_rojas30</dc:creator>
    <dc:date>2020-10-07T06:55:25Z</dc:date>
    <item>
      <title>Processor load</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Processor-load/m-p/1163751#M5110</link>
      <description>&lt;P&gt;Hello community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on information about how to calculate the load processor found&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/MBDT-blocks-for-measuring-Idle-Time-or-ProcessorLoad/m-p/1081223#M4719" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and bloc configurations found&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-do-I-use-the-Profiler-Function-correctly/m-p/908937" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;, I calculated the approximate load used in my S32k144. The model of interest is basically a reception and transmission over CAN system. As it is asynchronous, I have doubts about the calculations results. The procedure followed was the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;* I included a profiler bus clock tick block inside each interruption subsystem (one for CAN 1 and one for CAN 2) and another profiler bus clock tick block on the main.&lt;/P&gt;&lt;P&gt;* I substracted the values in order to get the difference of ticks (I obtained an approximate of 888859 ticks).&lt;/P&gt;&lt;P&gt;* I divided those values obtained by the clock frequency (20MHz).&lt;/P&gt;&lt;P&gt;* I took those results and divided them by the step time (0.2s).&lt;/P&gt;&lt;P&gt;Are these steps correct for calculating the load in the MCU? Since it is not synchronous, I'd appreciate any feedback to assure this results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides this, I am trying to implement a DMA. Would this method of processor calculation work for this model (with the DMA included) as well?&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Processor-load/m-p/1163751#M5110</guid>
      <dc:creator>juliana_rojas30</dc:creator>
      <dc:date>2020-10-07T06:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Processor load</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Processor-load/m-p/1175179#M5225</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/179730"&gt;@Pugliese82&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I never got any response on this issue. What I ended up doing was putting a profiler only in the main, taking those values and calculating as I explained before.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put it only in the main because since my CAN system is asyncrhonous, the only part of the system that has a controlled time response is the main. I got values that seem to have sense, so I stuck with this method.&lt;/P&gt;&lt;P&gt;I hope this response helps you.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Juliana.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Processor-load/m-p/1175179#M5225</guid>
      <dc:creator>juliana_rojas30</dc:creator>
      <dc:date>2020-10-29T09:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Processor load</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Processor-load/m-p/1175678#M5232</link>
      <description>&lt;P&gt;Thanks for the information&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 06:19:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Processor-load/m-p/1175678#M5232</guid>
      <dc:creator>Regina_U</dc:creator>
      <dc:date>2020-10-30T06:19:56Z</dc:date>
    </item>
  </channel>
</rss>

