<?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: Clock modes</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143335#M3545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've been flagged something on Pierce availability on early DT256.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Can you please give me the mask set so I check ?&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;The mask set is 0X00X format with X = letter and 0 = digit.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The series resistor is determined by Negative Resistance Margin (NRM) or Safety Factor measurements.&lt;/DIV&gt;&lt;DIV&gt;If you have very high oscillations, they cause noise (EMI).&lt;/DIV&gt;&lt;DIV&gt;If oscillations are too low, the oscillator may not start.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;NRM is taken by adding a resistor is series (damping) and see at which value it stops oscillating.&lt;/DIV&gt;&lt;DIV&gt;Then you can take the Safety Factor by dividing this resistor value by the resistance in the system.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2007 20:55:20 GMT</pubDate>
    <dc:creator>Alban</dc:creator>
    <dc:date>2007-01-22T20:55:20Z</dc:date>
    <item>
      <title>Clock modes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143331#M3541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;We are using the MC9S12DT256. Normally it is has a colpit clock circuit, which is working without any problems at 16MHz.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now we need to have a large clock signal amplitde&amp;nbsp;to synchronize it with other ICs on the same board. So I want to run it in Pierce-clock mode. So I changed PE7/XCLKS_not to ground and placed two&amp;nbsp;capacitance&amp;nbsp;from XTAL and EXTAL to ground (15pF) and parallel to the Crystal a resistor of 3MOhm.&amp;nbsp; And I removed the series capacitance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But now the processor is runing on a low clock frequency (internal clock), and I measure no clock signal on EXTAL and XTAL pins. I also see no DC voltage on these pins (VDDPLL is above 2V).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So my question is:&lt;/DIV&gt;&lt;DIV&gt;- Is our processor able to run in Pierce mode?&lt;/DIV&gt;&lt;DIV&gt;- Do I need to change more than the clock circuit, and pull-up/down resistor connected to PE7? (some code perhaps?)&lt;/DIV&gt;&lt;DIV&gt;- Should there be a DC voltage on the EXTAL and XTAL pins?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 19:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143331#M3541</guid>
      <dc:creator>Roelof</dc:creator>
      <dc:date>2007-01-22T19:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Clock modes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143332#M3542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello &lt;A href="http://forums.freescale.com/freescale/view_profile?user.id=6002" target="_blank"&gt;&lt;STRONG&gt;Roelof&lt;/STRONG&gt;&lt;/A&gt;,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Yes, S12 work on Pierce mode as you described.&lt;/DIV&gt;&lt;DIV&gt;/XCLKS is sampled during RESET to select oscillator mode.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't see any code to change. The only thing to change is the oscillator.&lt;/DIV&gt;&lt;DIV&gt;If you are using the PLL, check your XFC filter values (&lt;A class="subj_read" href="http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;message.id=1780" target="_blank"&gt;&lt;FONT color="#51626F"&gt;&lt;STRONG&gt;S12(X) PLL Calculator Software&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/A&gt;).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Yes, the oscillations are not centered on zero, there is a DC bias.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Your capacitors could be a bit low (I usually see ~22pF) but it depends on your &lt;STRONG&gt;crystal characteristics&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;Also, you can reduce the feedback resistor to 1Mohm.&lt;/DIV&gt;&lt;DIV&gt;Finally, you will probably need a damping resistor in series.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 20:01:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143332#M3542</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-01-22T20:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Clock modes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143333#M3543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello Alban,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So two things are worrying me:&lt;/DIV&gt;&lt;DIV&gt;- Why do I not measure any DC voltage?&lt;/DIV&gt;&lt;DIV&gt;- You mention the PLL. At this moment my PLL&amp;nbsp;inputs are&amp;nbsp;not connected. I have placed a resistor of 0 ohm between XFC and VDDPLL and a capacitance of 220NF between VDDPLL and VSSPLL. Do I need to do anything with the PLL to get the Pierce oscillator running? I downloaded the software, so I can try it. Thanks.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I deteremine the damping resistor?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Roelof&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 20:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143333#M3543</guid>
      <dc:creator>Roelof</dc:creator>
      <dc:date>2007-01-22T20:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Clock modes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143334#M3544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I increased both capacitances to 25pF, but I still measure nothing (no AC nor DC signal).&lt;/DIV&gt;&lt;DIV&gt;How can I get a DC voltage on the XTAL pins?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I&amp;nbsp;used a pull down of 1kOhm on PE7. When this is pull-up I have a DC voltage of 2.5V on the XTAL pins.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 20:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143334#M3544</guid>
      <dc:creator>Roelof</dc:creator>
      <dc:date>2007-01-22T20:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Clock modes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143335#M3545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've been flagged something on Pierce availability on early DT256.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Can you please give me the mask set so I check ?&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;The mask set is 0X00X format with X = letter and 0 = digit.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The series resistor is determined by Negative Resistance Margin (NRM) or Safety Factor measurements.&lt;/DIV&gt;&lt;DIV&gt;If you have very high oscillations, they cause noise (EMI).&lt;/DIV&gt;&lt;DIV&gt;If oscillations are too low, the oscillator may not start.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;NRM is taken by adding a resistor is series (damping) and see at which value it stops oscillating.&lt;/DIV&gt;&lt;DIV&gt;Then you can take the Safety Factor by dividing this resistor value by the resistance in the system.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 20:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143335#M3545</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-01-22T20:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Clock modes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143336#M3546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The mask is:&lt;/DIV&gt;&lt;DIV&gt;2K79x&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've tried random a resistor of 47E, 100E, 1k. So I will look into the NRM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I also tried different crystals (5MHz, 16MHz).&lt;/DIV&gt;&lt;DIV&gt;But still it worries me that there is no DC component.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Roelof&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 21:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143336#M3546</guid>
      <dc:creator>Roelof</dc:creator>
      <dc:date>2007-01-22T21:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Clock modes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143337#M3547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello Roelof,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You use &lt;EM&gt;an early mask set&lt;/EM&gt; which does not support Pierce configuration.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;message.id=115&amp;amp;fsrch=1" target="_blank"&gt;&lt;SPAN&gt;&lt;FONT color="#2D8AA7"&gt;&lt;STRONG&gt;oscillator - 16-Bit Microcontrollers - Freescale Forums&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt; &lt;STRONG&gt;| Discussion Forums | html&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;... C parts - mask sets 0K36N, 0K79X, 1K79X and &lt;B&gt;2K79X&lt;/B&gt; don't support the Pierce crystal configuration ...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also, the mask you are using is &lt;STRONG&gt;discontinued&lt;/STRONG&gt;:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/shared/doc/pcn/PCN11478.htm?fsrch=1" rel="nofollow" target="_blank"&gt;&lt;SPAN&gt;&lt;FONT color="#2D8AA7"&gt;&lt;STRONG&gt;TSPG MCD16 EOL OF SELECTED 0.25UM S12&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt; &lt;STRONG&gt;| Documentation | htm&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;... nbsp;&amp;nbsp; Barracuda2 : 0K36N, 0K79X, 1K79X, &lt;B&gt;2K79X&lt;/B&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sorry to have mislead you at the beginning...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Alban.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 21:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143337#M3547</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-01-22T21:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Clock modes</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143338#M3548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for this quick answer.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Indeed there is an&amp;nbsp;old processor used on this board.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;On the&amp;nbsp;new board type 0L01Y is used, so maybe I can use or try it in the future.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So if I understand correctly: I have to find another solution on the short term (the first batch of this board).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I think the issue is solved.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Again thank you,&lt;/DIV&gt;&lt;DIV&gt;Roelof&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 21:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Clock-modes/m-p/143338#M3548</guid>
      <dc:creator>Roelof</dc:creator>
      <dc:date>2007-01-22T21:51:07Z</dc:date>
    </item>
  </channel>
</rss>

