<?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 Measure Code Execution Time on FRDMK32L3A6 (CortexM4F) in K32 L Series Microcontrollers</title>
    <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/Measure-Code-Execution-Time-on-FRDMK32L3A6-CortexM4F/m-p/1468743#M89</link>
    <description>&lt;P&gt;Hello i want to measure code execution time of some functions in my implementation. I´m working with the Development Board FRDMK32L3A6 it has an CortexM4F on it.&lt;/P&gt;&lt;P&gt;I want something like:&lt;/P&gt;&lt;P&gt;start_Timer()&lt;/P&gt;&lt;P&gt;Execute code...&lt;/P&gt;&lt;P&gt;stop_timer()&lt;/P&gt;&lt;P&gt;read_timer_value()&lt;/P&gt;&lt;P&gt;Is there a simple way to do this?&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2022 13:41:36 GMT</pubDate>
    <dc:creator>Kolibri</dc:creator>
    <dc:date>2022-06-03T13:41:36Z</dc:date>
    <item>
      <title>Measure Code Execution Time on FRDMK32L3A6 (CortexM4F)</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/Measure-Code-Execution-Time-on-FRDMK32L3A6-CortexM4F/m-p/1468743#M89</link>
      <description>&lt;P&gt;Hello i want to measure code execution time of some functions in my implementation. I´m working with the Development Board FRDMK32L3A6 it has an CortexM4F on it.&lt;/P&gt;&lt;P&gt;I want something like:&lt;/P&gt;&lt;P&gt;start_Timer()&lt;/P&gt;&lt;P&gt;Execute code...&lt;/P&gt;&lt;P&gt;stop_timer()&lt;/P&gt;&lt;P&gt;read_timer_value()&lt;/P&gt;&lt;P&gt;Is there a simple way to do this?&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 13:41:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/Measure-Code-Execution-Time-on-FRDMK32L3A6-CortexM4F/m-p/1468743#M89</guid>
      <dc:creator>Kolibri</dc:creator>
      <dc:date>2022-06-03T13:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Measure Code Execution Time on FRDMK32L3A6 (CortexM4F)</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/Measure-Code-Execution-Time-on-FRDMK32L3A6-CortexM4F/m-p/1468774#M90</link>
      <description>&lt;P&gt;I´ve found this&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2017/01/30/cycle-counting-on-arm-cortex-m-with-dwt/" target="_self"&gt;https://mcuoneclipse.com/2017/01/30/cycle-counting-on-arm-cortex-m-with-dwt/&lt;/A&gt;&amp;nbsp; in the meanwhile and also this &lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Measure-the-running-time-of-one-function-on-S32K/ta-p/1114941" target="_self"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Measure-the-running-time-of-one-function-on-S32K/ta-p/1114941&lt;/A&gt; and i´ve just tried to search for DWT in the SDK examples of my Board. I activated the Cycle Counter and everything works fine which is pretty nice.&lt;/P&gt;&lt;P&gt;Why stands in the Reference Manual: &lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_self"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/A&gt; on page 318 that the Clock Cycle Counter is not supported?&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 14:34:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/Measure-Code-Execution-Time-on-FRDMK32L3A6-CortexM4F/m-p/1468774#M90</guid>
      <dc:creator>Kolibri</dc:creator>
      <dc:date>2022-06-03T14:34:40Z</dc:date>
    </item>
  </channel>
</rss>

