<?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>Kinetis MicrocontrollersのトピックRe: Problem with defining external 32K oscillator as FLL source</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187537#M2059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was the fault. can I configure the RTC clock as the system clock?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2011 00:45:23 GMT</pubDate>
    <dc:creator>MichaelDavid</dc:creator>
    <dc:date>2011-12-05T00:45:23Z</dc:date>
    <item>
      <title>Problem with defining external 32K oscillator as FLL source</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187535#M2057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem with configuring 32K as clock soure.. Attached is the configuration code.&lt;/P&gt;&lt;PRE&gt;    MCG_C2 = 0;        //new        MCG_C2 = MCG_C2_HGO_MASK | MCG_C2_EREFS_MASK;        //new    MCG_C1 = 0;        //new    /* Wait for crystal to initialize */    while (!(MCG_S &amp;amp; MCG_S_OSCINIT_MASK)) {};        /* Wait for Reference Clock Status bit to clear */    while (MCG_S &amp;amp; MCG_S_IREFST_MASK) {};        /* Wait for clock status bits to show clock source      * is external reference clock */    //while (((MCG_S &amp;amp; MCG_S_CLKST_MASK) &amp;gt;&amp;gt; MCG_S_CLKST_SHIFT) != 0x2) {};    //new    while (((MCG_S &amp;amp; MCG_S_CLKST_MASK) &amp;gt;&amp;gt; MCG_S_CLKST_SHIFT) != 0x0) {};        //new FEE    MCG_C4 |= MCG_C4_DMX32_MASK | MCG_C4_DRST_DRS(3);    /* Now in FBE     * Configure PLL Reference Divider, PLLCLKEN = 0, PLLSTEN = 0, PRDIV = 0x18     * The crystal frequency is used to select the PRDIV value.      * Only even frequency crystals are supported     * that will produce a 2MHz reference clock to the PLL.     */    //MCG_C5 = MCG_C5_PRDIV(BSP_REF_CLOCK_DIV - 1);    /* Ensure MCG_C6 is at the reset default of 0. LOLIE disabled,      * PLL disabled, clock monitor disabled, PLL VCO divider is clear     */    MCG_C6 = 0;        /* Calculate mask for System Clock Divider Register 1 SIM_CLKDIV1 */    SIM_CLKDIV1_COPY =  SIM_CLKDIV1_OUTDIV1(BSP_CORE_DIV    - 1) |                        SIM_CLKDIV1_OUTDIV2(BSP_BUS_DIV     - 1) |                        SIM_CLKDIV1_OUTDIV3(BSP_FLEXBUS_DIV - 1) |                        SIM_CLKDIV1_OUTDIV4(BSP_FLASH_DIV   - 1);       &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:38:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187535#M2057</guid>
      <dc:creator>MichaelDavid</dc:creator>
      <dc:date>2020-10-29T09:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with defining external 32K oscillator as FLL source</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187536#M2058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Is your external 32 K oscillator connected to EXTAL&amp;nbsp; or &amp;nbsp;EXTAL32 / XTAL32 (the RTC oscillator) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 23:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187536#M2058</guid>
      <dc:creator>tr9</dc:creator>
      <dc:date>2011-12-02T23:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with defining external 32K oscillator as FLL source</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187537#M2059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was the fault. can I configure the RTC clock as the system clock?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 00:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187537#M2059</guid>
      <dc:creator>MichaelDavid</dc:creator>
      <dc:date>2011-12-05T00:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with defining external 32K oscillator as FLL source</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187538#M2060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the SIM module there is a register; SIM_SOPT2 that contains the field; MCGCLKSEL that allows you to map the RTS oscillator (EXTAL32 and XTAL32 inputs) to the FLL. You set this field = 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From there you can use FEE mode to generate higher clock rates out of the FLL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 04:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-defining-external-32K-oscillator-as-FLL-source/m-p/187538#M2060</guid>
      <dc:creator>tr9</dc:creator>
      <dc:date>2011-12-06T04:51:52Z</dc:date>
    </item>
  </channel>
</rss>

