<?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>S12 / MagniV MicrocontrollersのトピックRe: Question about VCOFRQ setting in S12ZVL</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063324#M17251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The busclk can be measured at ECLK pin (PS3) you clear bit NECLK in ECLKCTL register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Back to original issue:....&lt;/P&gt;&lt;P&gt;80Mhz mentioned in 9.7.3 Application Information for PLL and Oscillator Startup looks to be a copy/paste typo from a datasheet with the same peripheral but higher frequency possibilities.&lt;/P&gt;&lt;P&gt;You wrote you have CPMUSYNR = 0x66. It is not correct value. The data sheet says to use max fvco=64MHz. If the setup is made by any tool then it must be a bug if it uses fvco= 78MHz for this type of MCU. However, it is possible that this setup will provide you "correct" busclk (I mean the MCU will work) but you will use the MCU out of operating specifications (&amp;gt;32 MHz). I suggest you to change it to defined range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your original values:&lt;/P&gt;&lt;P&gt;fref = 1&lt;/P&gt;&lt;P&gt;fvco= 2 * fref * (syndiv+1)&amp;nbsp;&amp;nbsp; ; 0x66=0B01100110 =&amp;gt; SYNDIV=0B100110=38&lt;/P&gt;&lt;P&gt;fvco= 78MHz =&amp;gt; out of el. specification range&lt;/P&gt;&lt;P&gt;Busclk = fpll/2 = (fvco / (POSTDIV +1)) / 2 = 39MHz &amp;nbsp;=&amp;gt; out of el. specification range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required values for fbus=32MHz:&lt;/P&gt;&lt;P&gt;SYNR = 0x5F&lt;/P&gt;&lt;P&gt;REFDIV =0&lt;/P&gt;&lt;P&gt;POSTDIV=0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2020 08:53:23 GMT</pubDate>
    <dc:creator>lama</dc:creator>
    <dc:date>2020-07-10T08:53:23Z</dc:date>
    <item>
      <title>Question about VCOFRQ setting in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063318#M17245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently at the configuration of the fvco of the S12ZVL128. However, I find some difference in the datasheet for&amp;nbsp;VCOFRQ setting. Just want to confirm which is correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In page. 235, chapter &lt;STRONG&gt;'9.3.2.4&amp;nbsp;S12CPMU_UHV Synthesizer Register (CPMUSYNR)'&lt;/STRONG&gt;, I found the following information:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114593iEEBEC8DD78C4B40E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, in page.&amp;nbsp;285, for the &lt;STRONG&gt;‘9.7.3 Application Information for PLL and Oscillator Startup’&lt;/STRONG&gt;, it says that range is between 48MHz to 80MHz for VCOFRQ[1:0]&amp;nbsp;= 01:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114594iF28AA106A178C735/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also seen&amp;nbsp;the same information in my register window when I was debugging:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_12.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114595i119921D5F5245850/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_12.png" alt="pastedImage_12.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone confirm which is the correct range for the setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Junxi&lt;/P&gt;&lt;DIV style="position: absolute; left: 152px; top: 1280.11px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 14:06:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063318#M17245</guid>
      <dc:creator>junxi_cai</dc:creator>
      <dc:date>2020-07-03T14:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question about VCOFRQ setting in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063319#M17246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max bus clock is 32MHz and you shouldn't&amp;nbsp;violate it. While clocking from PLL, VCO clock is 2x bus clock. Clearly PLL should be able to work reliably way above the 32*2=64MHz margin. Perhaps 80MHz is the real limit for PLL, but CPU and peripherals&amp;nbsp;still are limited to 32MHz and thus 32*2=64MHz VCO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 13:54:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063319#M17246</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2020-07-07T13:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Question about VCOFRQ setting in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063320#M17247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in order to be sure you can also use: &lt;A href="https://community.nxp.com/docs/DOC-341785"&gt;https://community.nxp.com/docs/DOC-341785&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 18:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063320#M17247</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2020-07-09T18:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question about VCOFRQ setting in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063321#M17248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing the tools. I got one question here for setting it up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Oscillator freq, I am using the internal clock fIRC1M which is 1MHz (OSCE=0), I find I cannot find the correct value here to run the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/115430i43137C82A778DAEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know if you have any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Junxi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 18:39:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063321#M17248</guid>
      <dc:creator>junxi_cai</dc:creator>
      <dc:date>2020-07-09T18:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Question about VCOFRQ setting in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063322#M17249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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/115412iE6DA466EB6C79DB7/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;&lt;/P&gt;&lt;P&gt;So write 1 to the cell.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 19:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063322#M17249</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2020-07-09T19:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Question about VCOFRQ setting in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063323#M17250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion, I tried it works. I think the maximum I could go is 64MHz for fvco with SYNR 0x5F.&amp;nbsp;&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/115427i5E316323FC647B2D/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;&lt;/P&gt;&lt;P&gt;However, what I have seen in my setting is SYNR 0x66, which makes the fvco 78MHz.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/115429iA8A864FF0630B11E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am using this setting for the fvco, is that means the actual fvco is still 64MHz instead of 78MHz? Or something else?&lt;/P&gt;&lt;P&gt;Is there any easy way to measure the actual fvco or fbus? I think to toggle the I/O pin, which usually take 2 clocks for that to calculate the frequency. Could you please let me know if you have better suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Junxi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 20:20:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063323#M17250</guid>
      <dc:creator>junxi_cai</dc:creator>
      <dc:date>2020-07-09T20:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Question about VCOFRQ setting in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063324#M17251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The busclk can be measured at ECLK pin (PS3) you clear bit NECLK in ECLKCTL register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Back to original issue:....&lt;/P&gt;&lt;P&gt;80Mhz mentioned in 9.7.3 Application Information for PLL and Oscillator Startup looks to be a copy/paste typo from a datasheet with the same peripheral but higher frequency possibilities.&lt;/P&gt;&lt;P&gt;You wrote you have CPMUSYNR = 0x66. It is not correct value. The data sheet says to use max fvco=64MHz. If the setup is made by any tool then it must be a bug if it uses fvco= 78MHz for this type of MCU. However, it is possible that this setup will provide you "correct" busclk (I mean the MCU will work) but you will use the MCU out of operating specifications (&amp;gt;32 MHz). I suggest you to change it to defined range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your original values:&lt;/P&gt;&lt;P&gt;fref = 1&lt;/P&gt;&lt;P&gt;fvco= 2 * fref * (syndiv+1)&amp;nbsp;&amp;nbsp; ; 0x66=0B01100110 =&amp;gt; SYNDIV=0B100110=38&lt;/P&gt;&lt;P&gt;fvco= 78MHz =&amp;gt; out of el. specification range&lt;/P&gt;&lt;P&gt;Busclk = fpll/2 = (fvco / (POSTDIV +1)) / 2 = 39MHz &amp;nbsp;=&amp;gt; out of el. specification range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required values for fbus=32MHz:&lt;/P&gt;&lt;P&gt;SYNR = 0x5F&lt;/P&gt;&lt;P&gt;REFDIV =0&lt;/P&gt;&lt;P&gt;POSTDIV=0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 08:53:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Question-about-VCOFRQ-setting-in-S12ZVL/m-p/1063324#M17251</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2020-07-10T08:53:23Z</dc:date>
    </item>
  </channel>
</rss>

