<?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 how do i know if a clock is enabled already? in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1922846#M31397</link>
    <description>&lt;P&gt;If I need to init ADC and QDC,&amp;nbsp; and they both use XBARA, and `CLOCK_EnableClock(kCLOCK_Xbar1);` is invoked twice.&lt;/P&gt;&lt;P&gt;Would it be a problem that&amp;nbsp;kCLOCK_Xbar1 enable twice? Is there a function I can use to know if the module already has been enabled before I try to enable the module?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 09:36:09 GMT</pubDate>
    <dc:creator>5angxr</dc:creator>
    <dc:date>2024-08-01T09:36:09Z</dc:date>
    <item>
      <title>how do i know if a clock is enabled already?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1922846#M31397</link>
      <description>&lt;P&gt;If I need to init ADC and QDC,&amp;nbsp; and they both use XBARA, and `CLOCK_EnableClock(kCLOCK_Xbar1);` is invoked twice.&lt;/P&gt;&lt;P&gt;Would it be a problem that&amp;nbsp;kCLOCK_Xbar1 enable twice? Is there a function I can use to know if the module already has been enabled before I try to enable the module?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 09:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1922846#M31397</guid>
      <dc:creator>5angxr</dc:creator>
      <dc:date>2024-08-01T09:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: how do i know if a clock is enabled already?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1925588#M31434</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195866"&gt;@5angxr&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Sorry for taking a while to get back to you. In order to support you better, can you provide me which RTxxxx you are currently using?&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;BR&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Habib&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 17:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1925588#M31434</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2024-08-05T17:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: how do i know if a clock is enabled already?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1926799#M31460</link>
      <description>RT1042</description>
      <pubDate>Wed, 07 Aug 2024 01:23:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1926799#M31460</guid>
      <dc:creator>5angxr</dc:creator>
      <dc:date>2024-08-07T01:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: how do i know if a clock is enabled already?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1927764#M31477</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195866"&gt;@5angxr&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;It is not a problem to use "CLOCK_EnableClock(kCLOCK_Xbar1);" twice, this because the clock will be enabled.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Also, to know if the clock is enabled you can see the bits 22 and 23 in the register called "CCM Clock Gating Register 2" where is in the chapter 14.7.23 in the RM. As shows the next image:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Habib_MS_0-1723070379468.png" style="width: 481px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292496i4706CD985AD7C51D/image-dimensions/481x396?v=v2" width="481" height="396" role="button" title="Habib_MS_0-1723070379468.png" alt="Habib_MS_0-1723070379468.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Also, if you experience any issue, do not hesitate to let me know.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;BR&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Habib&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 22:40:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/how-do-i-know-if-a-clock-is-enabled-already/m-p/1927764#M31477</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2024-08-07T22:40:45Z</dc:date>
    </item>
  </channel>
</rss>

