<?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: Trigger pulse delay longer than expected — is SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY causing ina in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Trigger-pulse-delay-longer-than-expected-is-SDK-DEVICE-MAXIMUM/m-p/2136921#M3591</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY is not real frequency, it's the&amp;nbsp;maximum value.&lt;/P&gt;
&lt;P&gt;You can use&amp;nbsp;CLOCK_GetFreq to get real frequency, the pass this value to&amp;nbsp;&lt;SPAN&gt;SDK_DelayAtLeastUs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jul 2025 01:42:40 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2025-07-21T01:42:40Z</dc:date>
    <item>
      <title>Trigger pulse delay longer than expected — is SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY causing inaccur</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Trigger-pulse-delay-longer-than-expected-is-SDK-DEVICE-MAXIMUM/m-p/2132761#M3527</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello NXP Team,&lt;/P&gt;&lt;P&gt;I’m working with an NXP MCU based on the Cortex-M33 core (e.g., i.MX93 mcimx9352), and I noticed that when I use:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;SDK_DelayAtLeastUs(&lt;SPAN class=""&gt;10&lt;/SPAN&gt;, SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY); &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to generate a 10 µs trigger pulse, the actual pulse width measured on the oscilloscope is around &lt;STRONG&gt;16 µs&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I’m using the default SDK definition:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;#&lt;SPAN class=""&gt;define&lt;/SPAN&gt;&lt;/SPAN&gt; SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY (250000000UL) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;which, according to the datasheet, is the &lt;STRONG&gt;maximum&lt;/STRONG&gt; clock frequency supported by the M33 core.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY supposed to match the &lt;STRONG&gt;actual core frequency at runtime&lt;/STRONG&gt;, or is it just a max-safe default?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there a recommended way to dynamically query the actual core clock and pass it to SDK_DelayAtLeastUs() instead of relying on the macro?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any clarification or best practices would be appreciated. Thanks in advance!&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Manjunath B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="i.MX93" id="i.MX93"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="CONTROL-AND-TIMING-RELAY" id="CONTROL-AND-TIMING-RELAY"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 06:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Trigger-pulse-delay-longer-than-expected-is-SDK-DEVICE-MAXIMUM/m-p/2132761#M3527</guid>
      <dc:creator>Manjunathb</dc:creator>
      <dc:date>2025-07-12T06:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger pulse delay longer than expected — is SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY causing ina</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Trigger-pulse-delay-longer-than-expected-is-SDK-DEVICE-MAXIMUM/m-p/2136921#M3591</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY is not real frequency, it's the&amp;nbsp;maximum value.&lt;/P&gt;
&lt;P&gt;You can use&amp;nbsp;CLOCK_GetFreq to get real frequency, the pass this value to&amp;nbsp;&lt;SPAN&gt;SDK_DelayAtLeastUs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 01:42:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Trigger-pulse-delay-longer-than-expected-is-SDK-DEVICE-MAXIMUM/m-p/2136921#M3591</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-07-21T01:42:40Z</dc:date>
    </item>
  </channel>
</rss>

