<?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 Re: Let me ask UPOSC bit in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Let-me-ask-UPOSC-bit/m-p/616515#M13261</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;If an external oscillator is not used (OSCE bit is 0, then UPOSC stays 0), in this case, use the LOCK bit to verify the bus clock is working within the expected tolerance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the external oscillator is used (OSCE=1) and the oscillator is qualified then LOCK and UPOSC are set. Loosing PLL lock status (LOCK=0) means that the oscillator status information (UPOSC=0) is cleared as well. You can use Oscillator status interrupt (OSCIE) which is triggered when UPOSC changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System clocks can be derived directly from OSCCLK only if UPOSC=1. If UPOSC is cleared, PLLSEL is set automatically and the Bus clock source is switched back to the PLL clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the clock monitor is enabled, it will reset the MCU in the case of a crystal oscillation stop occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 12:59:27 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2017-03-03T12:59:27Z</dc:date>
    <item>
      <title>Let me ask UPOSC bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Let-me-ask-UPOSC-bit/m-p/616514#M13260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me ask UPOSC bit.&lt;/P&gt;&lt;P&gt;S12 uC uses external resonator, and the manual mentions "UPOSC becomes 1 once external resonator clock becomes stable (not locked)".&lt;/P&gt;&lt;P&gt;I'd like to know how to check if external clock is stable or.&lt;/P&gt;&lt;P&gt;Would you please let me know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 04:53:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Let-me-ask-UPOSC-bit/m-p/616514#M13260</guid>
      <dc:creator>takafumieguchi</dc:creator>
      <dc:date>2017-03-03T04:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Let me ask UPOSC bit</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Let-me-ask-UPOSC-bit/m-p/616515#M13261</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;If an external oscillator is not used (OSCE bit is 0, then UPOSC stays 0), in this case, use the LOCK bit to verify the bus clock is working within the expected tolerance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the external oscillator is used (OSCE=1) and the oscillator is qualified then LOCK and UPOSC are set. Loosing PLL lock status (LOCK=0) means that the oscillator status information (UPOSC=0) is cleared as well. You can use Oscillator status interrupt (OSCIE) which is triggered when UPOSC changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System clocks can be derived directly from OSCCLK only if UPOSC=1. If UPOSC is cleared, PLLSEL is set automatically and the Bus clock source is switched back to the PLL clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the clock monitor is enabled, it will reset the MCU in the case of a crystal oscillation stop occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 12:59:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Let-me-ask-UPOSC-bit/m-p/616515#M13261</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-03-03T12:59:27Z</dc:date>
    </item>
  </channel>
</rss>

