<?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 Re: S32G2/G3 Timer and Program Execution on Cortex - M7 in S32G</title>
    <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2190681#M15313</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232536"&gt;@arun_belamge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;It is not write protected,&amp;nbsp; you may directly access it.&lt;/P&gt;
&lt;P&gt;Have you tried other STM instance? have you checked the CR[FRZ] bit? not sure if it is in debug mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 10:32:16 GMT</pubDate>
    <dc:creator>chenyin_h</dc:creator>
    <dc:date>2025-10-22T10:32:16Z</dc:date>
    <item>
      <title>S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2187489#M15245</link>
      <description>&lt;P&gt;Hello All.&lt;/P&gt;&lt;P&gt;I want to run a &lt;STRONG&gt;baremetal program&lt;/STRONG&gt; on the &lt;STRONG&gt;Cortex - M7&lt;/STRONG&gt; core and want to measure the execution time of my function.&lt;/P&gt;&lt;P&gt;I want to make use of the timers to output the timestamp before and after the function execution. For this, is there any API that does the above and prints the timestamp on the UART console? Or should I make use of the LinflexD_Uart implementation to output the timestamp on the console?&lt;/P&gt;&lt;P&gt;What is the best way to approach this in a truly baremetal way so that I can measure the performance of my function without any unwanted overhead?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Arun&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 10:59:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2187489#M15245</guid>
      <dc:creator>arun_belamge</dc:creator>
      <dc:date>2025-10-16T10:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2187949#M15254</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232536"&gt;@arun_belamge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;For M7 side, the formally provisioned code is RTD, I suggest referencing the STM module part for your reference, and implement your own bare-metal application by utilizing the STM timer in order for measuring the execution time for your functions.&lt;/P&gt;
&lt;P&gt;If you need to print the results to the consoles instead of checking it other way, then you may have to bring up the UART function for printing the test results on the console.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 03:45:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2187949#M15254</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-10-17T03:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2188008#M15257</link>
      <description>&lt;P&gt;Hello Chenyin.&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I am using the &lt;STRONG&gt;STM_0 timer&lt;/STRONG&gt; to count the time elapsed and &lt;STRONG&gt;Linflexd_UART&lt;/STRONG&gt; for printing to the console.&lt;/P&gt;&lt;P&gt;In the Linflexd_UART implementation, is there any way to print integers? I couldn't find any such function.&lt;/P&gt;&lt;P&gt;Or do I have to write a separate function to convert the 32 bit integer to string and then feed it to the &lt;SPAN&gt;&lt;EM&gt;Linflexd_Uart_Ip_AsyncSend()&lt;/EM&gt; function?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Arun&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 06:14:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2188008#M15257</guid>
      <dc:creator>arun_belamge</dc:creator>
      <dc:date>2025-10-17T06:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2188840#M15278</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232536"&gt;@arun_belamge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;From function definition in S32 Uart UM,&amp;nbsp; there is not other functions implemented for format prints, you may need to manually convert it to feed to the default APIs.(or implement your own functions with format prints based on the default API)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 03:13:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2188840#M15278</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-10-20T03:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2189293#M15297</link>
      <description>Hello Chenyin.&lt;BR /&gt;I am trying to enable and then get the timer count for STM_0 but, although I am able to write 0x1 to the Control Register (CR) of STM_0, I am not sure if it is getting enabled, as when I read the Count (CNT) register, I see 0x000000.&lt;BR /&gt;Is this register write protected? If so, how do I enable RW permission for it?&lt;BR /&gt;I am not using any APIs for the same, I am directly writing/reading to the registers.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Arun</description>
      <pubDate>Mon, 20 Oct 2025 16:41:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2189293#M15297</guid>
      <dc:creator>arun_belamge</dc:creator>
      <dc:date>2025-10-20T16:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2190681#M15313</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232536"&gt;@arun_belamge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;It is not write protected,&amp;nbsp; you may directly access it.&lt;/P&gt;
&lt;P&gt;Have you tried other STM instance? have you checked the CR[FRZ] bit? not sure if it is in debug mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 10:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2190681#M15313</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-10-22T10:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2191424#M15332</link>
      <description>&lt;P&gt;Hi Chenyin.&lt;/P&gt;&lt;P&gt;I am taking a different approach by using the low level API&amp;nbsp;&lt;SPAN&gt;OsIf_Timer_System_Internal_Systick.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a different query regarding the DDR0 External RAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to place a part of my code in DDR0 i.e., ORIGIN = 0x80000000, LENGTH = 0x40000000 (1GB).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when my code tries to access this address, it crashes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What could be the reason? How to initialize the DDR memory and work with it from Cortex - M7 point of view?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Arun&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 10:01:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2191424#M15332</guid>
      <dc:creator>arun_belamge</dc:creator>
      <dc:date>2025-10-23T10:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2192166#M15343</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232536"&gt;@arun_belamge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad that your issue was solved by using the new API.&lt;/P&gt;
&lt;P&gt;Initializing DDR for M core side is possible, you may have to firstly initializing the DDR controller the same as using it in A53 side, I suggest referencing the ddr_init in BSP for details.&lt;/P&gt;
&lt;P&gt;By the way, I suggest posting a new thread for tracking your new queries about DDR, it would be helpful for following supporting and tracking for different topics according to our guide line.&lt;/P&gt;
&lt;P&gt;Thanks for your understanding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 02:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2192166#M15343</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-10-24T02:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32G2/G3 Timer and Program Execution on Cortex - M7</title>
      <link>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2192229#M15347</link>
      <description>Hi Chenyin.&lt;BR /&gt;Thank you for the response.&lt;BR /&gt;I will refer the ddr_init and if I face any issues, I will create a new ticket for the same.&lt;BR /&gt;Thank you again. &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Arun</description>
      <pubDate>Fri, 24 Oct 2025 04:11:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G2-G3-Timer-and-Program-Execution-on-Cortex-M7/m-p/2192229#M15347</guid>
      <dc:creator>arun_belamge</dc:creator>
      <dc:date>2025-10-24T04:11:31Z</dc:date>
    </item>
  </channel>
</rss>

