<?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>S32KのトピックRe: CLKOUT</title>
    <link>https://community.nxp.com/t5/S32K/CLKOUT/m-p/851389#M3549</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;Could you please tell me which MCU do you use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested it on the S32K144.&lt;/P&gt;&lt;P&gt;My clock settings:&lt;/P&gt;&lt;P&gt;SPLL = 160MHz&lt;/P&gt;&lt;P&gt;SPLLDIV2 is divided by 4 = 40 MHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My clkout init function:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;void CLKOUT_init(void)&lt;BR /&gt;{&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_PORTD_INDEX]=PCC_PCCn_CGC_MASK; //Enable clock for PORTD&lt;BR /&gt;PTD-&amp;gt;PDDR |= 1&amp;lt;&amp;lt;14; //Port D14 is configured as output&lt;BR /&gt;PORTD-&amp;gt;PCR[14] |= PORT_PCR_MUX(7); //Alternative 7, set pin as CLKOUT&lt;BR /&gt;SIM-&amp;gt;CHIPCTL |= SIM_CHIPCTL_CLKOUTSEL(8);&amp;nbsp;&lt;BR /&gt;SIM-&amp;gt;CHIPCTL |= SIM_CHIPCTL_CLKOUTDIV(0); //Output clock divide by 1&lt;BR /&gt;SIM-&amp;gt;CHIPCTL |= SIM_CHIPCTL_CLKOUTEN(1); //Enable CLKOUT&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, I&amp;nbsp;can measure 40 MHz on the CLKOUT&amp;nbsp;pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2019 10:17:21 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2019-01-23T10:17:21Z</dc:date>
    <item>
      <title>CLKOUT</title>
      <link>https://community.nxp.com/t5/S32K/CLKOUT/m-p/851388#M3548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want use CLKOUT，so，I config the&amp;nbsp;SIM-&amp;gt;CHIPCTL as：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PCC-&amp;gt;PCCn[PCC_PORTD_INDEX] |= PCC_PCCn_CGC_MASK;&lt;BR /&gt; PORTD-&amp;gt;PCR[14] |= 7&amp;lt;&amp;lt;8;&amp;nbsp;&lt;BR /&gt; SIM-&amp;gt;CHIPCTL|=SIM_CHIPCTL_CLKOUTEN(1)|SIM_CHIPCTL_CLKOUTSEL(8)|SIM_CHIPCTL_CLKOUTDIV(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I only saw a waveform of 128KHZ, no output SPLLDIV2_CLK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 05:33:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CLKOUT/m-p/851388#M3548</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-01-22T05:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: CLKOUT</title>
      <link>https://community.nxp.com/t5/S32K/CLKOUT/m-p/851389#M3549</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;Could you please tell me which MCU do you use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested it on the S32K144.&lt;/P&gt;&lt;P&gt;My clock settings:&lt;/P&gt;&lt;P&gt;SPLL = 160MHz&lt;/P&gt;&lt;P&gt;SPLLDIV2 is divided by 4 = 40 MHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My clkout init function:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;void CLKOUT_init(void)&lt;BR /&gt;{&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_PORTD_INDEX]=PCC_PCCn_CGC_MASK; //Enable clock for PORTD&lt;BR /&gt;PTD-&amp;gt;PDDR |= 1&amp;lt;&amp;lt;14; //Port D14 is configured as output&lt;BR /&gt;PORTD-&amp;gt;PCR[14] |= PORT_PCR_MUX(7); //Alternative 7, set pin as CLKOUT&lt;BR /&gt;SIM-&amp;gt;CHIPCTL |= SIM_CHIPCTL_CLKOUTSEL(8);&amp;nbsp;&lt;BR /&gt;SIM-&amp;gt;CHIPCTL |= SIM_CHIPCTL_CLKOUTDIV(0); //Output clock divide by 1&lt;BR /&gt;SIM-&amp;gt;CHIPCTL |= SIM_CHIPCTL_CLKOUTEN(1); //Enable CLKOUT&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, I&amp;nbsp;can measure 40 MHz on the CLKOUT&amp;nbsp;pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 10:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CLKOUT/m-p/851389#M3549</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-01-23T10:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: CLKOUT</title>
      <link>https://community.nxp.com/t5/S32K/CLKOUT/m-p/851390#M3550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found the problem, the S32K144 I used should be an early engineering sample, there are some bugs. I changed a piece of the latest development board, there is no problem.Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 03:11:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CLKOUT/m-p/851390#M3550</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-01-25T03:11:02Z</dc:date>
    </item>
  </channel>
</rss>

