<?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>8-bit MicrocontrollersのトピックRe: Clock init problems with 9S08DZ32</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Clock-init-problems-with-9S08DZ32/m-p/210043#M17967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I believe that the highest fBUS frequency you can reach with the interal oscillator tuned at 32 kHz is 16 MHz. Do it by including&lt;/DIV&gt;&lt;DIV&gt;MCGC2_BDIV = 0;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;(The default speed is fBUS = 8 MHz).&lt;/DIV&gt;&lt;DIV&gt;If you want to use the PLL part of the clock generator to get higher frequencies, you must use an external oscillator.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Dec 2008 18:13:12 GMT</pubDate>
    <dc:creator>Ake</dc:creator>
    <dc:date>2008-12-16T18:13:12Z</dc:date>
    <item>
      <title>Clock init problems with 9S08DZ32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Clock-init-problems-with-9S08DZ32/m-p/210042#M17966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm trying to start an application in 9S08DZ32 for the first time but I have serious problems when setting up the MCG. First I try the example #1&amp;nbsp;in the data sheet at page 154 (8.5.2.1) and it works fine. Then I try to change the settings just slightly by changing VDIV from 0100 ( * 16) to 0101 ( * 20) and now it won't work anymore. My target is to reach a bus frequency of 20 MHz but I first try with small increments.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this a valid change in VDIV or are there dependencies in other registers that I can’t understand.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using CW v6.2&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 15:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Clock-init-problems-with-9S08DZ32/m-p/210042#M17966</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-12-16T15:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Clock init problems with 9S08DZ32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Clock-init-problems-with-9S08DZ32/m-p/210043#M17967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I believe that the highest fBUS frequency you can reach with the interal oscillator tuned at 32 kHz is 16 MHz. Do it by including&lt;/DIV&gt;&lt;DIV&gt;MCGC2_BDIV = 0;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;(The default speed is fBUS = 8 MHz).&lt;/DIV&gt;&lt;DIV&gt;If you want to use the PLL part of the clock generator to get higher frequencies, you must use an external oscillator.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 18:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Clock-init-problems-with-9S08DZ32/m-p/210043#M17967</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2008-12-16T18:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Clock init problems with 9S08DZ32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Clock-init-problems-with-9S08DZ32/m-p/210044#M17968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Yes, but the example #1 I'm referring to IS using an external clock. This example has the right prerequisites for me except for the bus frequency that should be 20 MHz. So the plan was to alter the settings in VDIV and RDIV to achieve 20 MHz but this has failed. Next try was to change the setting of VDIV only one step higher just to see what happens&amp;nbsp;but it fails again just like I mentioned earlier. If VDIV is adjusted one step lower (0011) it still works. Maybe example #1 is on the 'limit' and higher bus frequencies than 8MHz can not be reached with this method???&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Still confused ...&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 19:24:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Clock-init-problems-with-9S08DZ32/m-p/210044#M17968</guid>
      <dc:creator>BAN</dc:creator>
      <dc:date>2008-12-16T19:24:44Z</dc:date>
    </item>
  </channel>
</rss>

