<?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>MPC5xxx中的主题 Re: Clock Monitor Unit in MPc5604s</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670381#M7705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;could you solve this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar issue, but with an MPC5645S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;János Murai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2017 15:03:16 GMT</pubDate>
    <dc:creator>janos_murai</dc:creator>
    <dc:date>2017-12-05T15:03:16Z</dc:date>
    <item>
      <title>Clock Monitor Unit in MPc5604s</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670375#M7699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to change the&amp;nbsp;&lt;SPAN&gt;CMU_CSR register by the following values,but the register is not changed .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* RC clock division factor */&lt;BR /&gt; CGM.CMU_CSR.B.RCDIV = 2;&lt;BR /&gt; &lt;BR /&gt; /* Enable clock monitor bit */&lt;BR /&gt; CGM.CMU_CSR.B.CME_A = BIT_SET;&lt;BR /&gt; &lt;BR /&gt; /* Start frequency measure */&lt;BR /&gt; CGM.CMU_CSR.B.SFM = BIT_SET;&lt;BR /&gt; &lt;BR /&gt; /*RC Oscillator(s) selection bit */&lt;BR /&gt; CGM.CMU_CSR.B.CLKSEL1 = 0;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; CGM.CMU_MDR.B.MD = 256;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 04:01:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670375#M7699</guid>
      <dc:creator>mhogun</dc:creator>
      <dc:date>2017-05-08T04:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Monitor Unit in MPc5604s</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670376#M7700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi All,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am trying to change the&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;CMU_CSR register by the following values,but the register is not changed .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;/* RC clock division factor */&lt;BR /&gt;CGM.CMU_CSR.B.RCDIV = 2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Enable clock monitor bit */&lt;BR /&gt;CGM.CMU_CSR.B.CME_A = BIT_SET;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Start frequency measure */&lt;BR /&gt;CGM.CMU_CSR.B.SFM = BIT_SET;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*RC Oscillator(s) selection bit */&lt;BR /&gt;CGM.CMU_CSR.B.CLKSEL1 = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CGM.CMU_MDR.B.MD = 256;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to change the register.&lt;/P&gt;&lt;P&gt;I need to monitor the crystal clock and PLL clock.&lt;/P&gt;&lt;P&gt;Also support me to use Clock monitor unit in the controller.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 04:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670376#M7700</guid>
      <dc:creator>mhogun</dc:creator>
      <dc:date>2017-05-08T04:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Monitor Unit in MPc5604s</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670377#M7701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This is strange, as the register is writable:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19632i4F174E39FB58B8C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What comes to my mind is:&lt;/P&gt;&lt;P&gt;1. The writes are protected via register protection mechanism. Are you setting register protection?&lt;/P&gt;&lt;P&gt;2. The header file addresses of CMU are incorrect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you see in debugger that your code in assembly is writing to location of CMU_CSR correctly and it is still not updated??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 05:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670377#M7701</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-05-08T05:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Monitor Unit in MPc5604s</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670378#M7702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;I have checked header files it is seems to be correct.&lt;/P&gt;&lt;P&gt;May be because of write protection i am not able to write the rsgister.&lt;/P&gt;&lt;P&gt;Please help me to unlock the write protection of CMU_CSR register&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 11:05:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670378#M7702</guid>
      <dc:creator>mhogun</dc:creator>
      <dc:date>2017-05-08T11:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Monitor Unit in MPc5604s</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670379#M7703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;I have checked the write protection also. It is disabled after reset hence it is not the issue. I am also not able to change the values of&amp;nbsp;High Frequency Reference Register FMPLL0(CMU_HFREFR_A) and&amp;nbsp;Low Frequency Reference Register FMPLL0(CMU_LFREFR_A).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Mohanraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 15:35:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670379#M7703</guid>
      <dc:creator>mhogun</dc:creator>
      <dc:date>2017-05-08T15:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Monitor Unit in MPc5604s</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670380#M7704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am able to modify it with any issues.&lt;/P&gt;&lt;P&gt;Are you sure you are running system with enabled XOSC and PLL which you want to monitor.&lt;/P&gt;&lt;P&gt;Because without it you cannot write to CMU as there is no valid reference frequency for CMU comparison.&lt;/P&gt;&lt;P&gt;Run one of our examples with PLL as system clock and then change CMU values in debugger to see if it change.&lt;/P&gt;&lt;P&gt;For example I have used:&lt;A href="https://community.nxp.com/docs/DOC-331807"&gt;https://community.nxp.com/docs/DOC-331807&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 13:37:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670380#M7704</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-05-09T13:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Monitor Unit in MPc5604s</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670381#M7705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;could you solve this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar issue, but with an MPC5645S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;János Murai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 15:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Clock-Monitor-Unit-in-MPc5604s/m-p/670381#M7705</guid>
      <dc:creator>janos_murai</dc:creator>
      <dc:date>2017-12-05T15:03:16Z</dc:date>
    </item>
  </channel>
</rss>

