<?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: MC9s12DG128 RTI</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127433#M707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Serkan,&lt;/P&gt;&lt;P&gt;The RTI period is based on the Xtal frequency directly and you have selected Fxtal/16384. But you have only mentioned the Fbus which is determined by the PLL setup in conjunction with the Fxtal.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Peg&lt;/P&gt;&lt;P&gt;P.S. This should probably have been a new subject in the 16 bit forum!&lt;/P&gt;&lt;P&gt;[Alban changed subject after moved thread to proper board]&lt;/P&gt;&lt;P&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;02-28-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:49 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2006 19:22:21 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2006-02-28T19:22:21Z</dc:date>
    <item>
      <title>MC9s12DG128 RTI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127432#M706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;dear warriors&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;could you say me how i can calculate real time interrupt period for the following configuration on MC9s12DG128 microcontroller&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;RTICTL = 0x1F;&amp;nbsp;&amp;nbsp; fbus=12 Mhz&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;could you say me what is the my rti period according to&amp;nbsp; configuration written over.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;best regards&lt;/DIV&gt;&lt;P&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;02-28-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:48 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 18:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127432#M706</guid>
      <dc:creator>desponia_</dc:creator>
      <dc:date>2006-02-28T18:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: MC9s12DG128 RTI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127433#M707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Serkan,&lt;/P&gt;&lt;P&gt;The RTI period is based on the Xtal frequency directly and you have selected Fxtal/16384. But you have only mentioned the Fbus which is determined by the PLL setup in conjunction with the Fxtal.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Peg&lt;/P&gt;&lt;P&gt;P.S. This should probably have been a new subject in the 16 bit forum!&lt;/P&gt;&lt;P&gt;[Alban changed subject after moved thread to proper board]&lt;/P&gt;&lt;P&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;02-28-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:49 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 19:22:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127433#M707</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-02-28T19:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: MC9s12DG128 RTI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127434#M708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Dear warrior&lt;/P&gt;&lt;P&gt;i m using in real time interrupt system clock which is driven by PLL. that is&amp;nbsp; PLLCLK=SYSCLK=RTI main clock (see attachment please)&lt;/P&gt;&lt;P&gt;my PLL&amp;nbsp; sysclk=12Mhz&lt;/P&gt;&lt;P&gt;then for RTICTL= 0x1F my ral time int period will be T= 1/[f/16384]&lt;/P&gt;&lt;P&gt;T= 1/ [12Mhz/16384] =1 / 732.421Hz = 1.365milisecond.&lt;/P&gt;&lt;P&gt;but i m seeing it on asciloscope screen as 4.1 milisecond. what is the problem.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 21:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127434#M708</guid>
      <dc:creator>desponia_</dc:creator>
      <dc:date>2006-03-01T21:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: MC9s12DG128 RTI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127435#M709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The only time the RTI clock is derived from PLLCLK is when SCM is set. This is Self Clocked Mode which is meant to keep everything alive during clock loss. In SCM the PLLCLK runs at fSCM which is quoted in the electrical specs as 1-5.5MHz.&lt;/P&gt;&lt;P&gt;So if your measuring 4.1 ms period of RTI then this particular device has a fSCM of 3.996MHz (16384/0.0041). Well within spec!&lt;/P&gt;&lt;P&gt;From CRG manual:&lt;/P&gt;&lt;FONT face="Times New Roman"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;SCM — Self Clock Mode Status Bit&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;SCM reflects the current clocking mode. Writes have no effect.&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;1 = MCU is operating in Self Clock Mode with OSCCLK in an unknown state. All clocks are derived from PLLCLK running at its minimum frequency f&lt;FONT face="Times New Roman" size="2"&gt;SCM&lt;/FONT&gt;&lt;FONT face="Times New Roman"&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;0 = MCU is operating normally with OSCCLK available.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;From DG manual:&lt;/P&gt;&lt;FONT face="Arial" size="1"&gt;&lt;B&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;B&gt;&lt;FONT face="Arial" size="2"&gt;Rating&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Symbol &amp;nbsp;Min Typ Max Unit&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;B&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;Self Clock Mode frequency&amp;nbsp; f&lt;FONT face="Arial" size="1"&gt;SCM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;5.5 &amp;nbsp; MHz&lt;/FONT&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Peg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 05:20:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9s12DG128-RTI/m-p/127435#M709</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-03-02T05:20:49Z</dc:date>
    </item>
  </channel>
</rss>

