<?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: HC(S)08DZ - crystal stays silent</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC-S-08DZ-crystal-stays-silent/m-p/177824#M12584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maik, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using a crystal, Rf cannot be "infinite".&amp;nbsp; A resistor value of 1M should be OK.&amp;nbsp; The resistor is required to bias the oscillator circuit, so that oscillations occur in the linear part&amp;nbsp;of the input-to-output characteristic.&amp;nbsp; You can check this by measuring the DC voltage at the oscillator output pin.&amp;nbsp; It should lie at approximately Vdd/2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leave PTGDD at POR default, although this should not matter since enabling the oscillator circuit should over-ride the GPIO setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would expect you to be able to observe the oscillations on an oscilloscope having sufficient bandwidth.&amp;nbsp; I assume that you are using a x10 probe setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that you have tried more than one 16MHz crystal.&amp;nbsp; These are quite fragile, an may not withstand being dropped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2011 20:59:37 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2011-10-28T20:59:37Z</dc:date>
    <item>
      <title>HC(S)08DZ - crystal stays silent</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC-S-08DZ-crystal-stays-silent/m-p/177823#M12583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to freescale's micro controllers. I was recommended the hcs08 for their internal CAN Controller, high stability and small package.&lt;/P&gt;&lt;P&gt;At the moment I'm trying to start external crystal for CAN clocksource, but I'm really getting nuts, because the crystal stays silent.&amp;nbsp;I looked for some reference code in here and found something like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SOPT1_COPT = 0; /* disable COP */&lt;BR /&gt;SOPT2_MCSEL = 1; /* enable MCLK. MCLK = BUSCLK/2 */&lt;BR /&gt;PTGDD = 0xfe; /* EXTAL Input, XTAL Output */&lt;BR /&gt;MCGC2 = 0x36; /* RANGE HF, High Gain,External Reference Selcet Oscillator, MCGERCLK active */&lt;BR /&gt;while (!MCGSC_OSCINIT);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugger halts at oscillator initialisation, and the flag won't be set. With a 8pF probe, i won't see anything but the crystall should be swinging here, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed Crystal and capacitor up and down and I'm still missing reaction.&lt;/P&gt;&lt;P&gt;Q1 = 16MHzQ2=7.3 MHz&lt;/P&gt;&lt;P&gt;C1/2= 10-18pFC1/2=12pF&lt;/P&gt;&lt;P&gt;Rf= infinite/ 1MOhm&lt;/P&gt;&lt;P&gt;Rs=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me out, I'm getting nuts fixing the bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;P&gt;Maik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 16:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC-S-08DZ-crystal-stays-silent/m-p/177823#M12583</guid>
      <dc:creator>mykey</dc:creator>
      <dc:date>2011-10-28T16:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: HC(S)08DZ - crystal stays silent</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC-S-08DZ-crystal-stays-silent/m-p/177824#M12584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maik, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using a crystal, Rf cannot be "infinite".&amp;nbsp; A resistor value of 1M should be OK.&amp;nbsp; The resistor is required to bias the oscillator circuit, so that oscillations occur in the linear part&amp;nbsp;of the input-to-output characteristic.&amp;nbsp; You can check this by measuring the DC voltage at the oscillator output pin.&amp;nbsp; It should lie at approximately Vdd/2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leave PTGDD at POR default, although this should not matter since enabling the oscillator circuit should over-ride the GPIO setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would expect you to be able to observe the oscillations on an oscilloscope having sufficient bandwidth.&amp;nbsp; I assume that you are using a x10 probe setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that you have tried more than one 16MHz crystal.&amp;nbsp; These are quite fragile, an may not withstand being dropped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 20:59:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC-S-08DZ-crystal-stays-silent/m-p/177824#M12584</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-10-28T20:59:37Z</dc:date>
    </item>
  </channel>
</rss>

