<?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>S32 Design StudioのトピックRe: Clock_Ip_GetClockFrequency() not enabled</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Clock-Ip-GetClockFrequency-not-enabled/m-p/1876492#M12347</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227300"&gt;@Hareesh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To enable the get clock frequency API, you have to activate it in the clock tool of Config Tools.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_0-1716920261633.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/281198i84BE5872828A3F7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_0-1716920261633.png" alt="VaneB_0-1716920261633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2024 18:18:24 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2024-05-28T18:18:24Z</dc:date>
    <item>
      <title>Clock_Ip_GetClockFrequency() not enabled</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Clock-Ip-GetClockFrequency-not-enabled/m-p/1876333#M12345</link>
      <description>&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;We are using S32K344 EVK board and S32 design studio v3.5.&lt;/P&gt;&lt;P&gt;We want to use&amp;nbsp;Clock_Ip_GetClockFrequency() function from&amp;nbsp; ..../RTD/include/Clock_Ip.h file&amp;nbsp; to calculate time in millisecs as per below code.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;void BCC_MCU_WaitMs(uint16_t delay)
{
    g_sysClk = (g_sysClk) ? g_sysClk : BCC_MCU_GetSystemClockFreq();

    uint32_t cycles = (uint32_t) BCC_GET_CYCLES_FOR_MS(1U, g_sysClk);

    /* Advance to next multiple of 4. Value 0x04U ensures that the number
     * is not zero. */
    cycles = (cycles &amp;amp; 0xFFFFFFFCU) | 0x04U;

    for (; delay &amp;gt; 0U; delay--) {
        BCC_WAIT_FOR_MUL4_CYCLES(cycles);
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in my SDK the&amp;nbsp;Clock_Ip_GetClockFrequency() function is not enabled. How to enable this function?(Please find the attached image for your reference)&lt;/P&gt;&lt;P&gt;Please assist me to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Hareesh&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 13:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Clock-Ip-GetClockFrequency-not-enabled/m-p/1876333#M12345</guid>
      <dc:creator>Hareesh</dc:creator>
      <dc:date>2024-05-28T13:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Clock_Ip_GetClockFrequency() not enabled</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Clock-Ip-GetClockFrequency-not-enabled/m-p/1876492#M12347</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227300"&gt;@Hareesh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To enable the get clock frequency API, you have to activate it in the clock tool of Config Tools.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_0-1716920261633.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/281198i84BE5872828A3F7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_0-1716920261633.png" alt="VaneB_0-1716920261633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 18:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Clock-Ip-GetClockFrequency-not-enabled/m-p/1876492#M12347</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-05-28T18:18:24Z</dc:date>
    </item>
  </channel>
</rss>

