<?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: clockout in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546528#M13282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 1234567890 on Sat Dec 28 06:11:09 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Bit 6 in PDRUNCFG is an issue as well ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortuntely this is not documented very well in the UM. At least not at the place one would look for, e.g. watchdog oscillator control register or watchdog timer. Minimum would be a 'remark' at watchdog oscillator control register.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:47:06 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:47:06Z</dc:date>
    <item>
      <title>clockout</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546524#M13278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MARCOS_NAUT1 on Fri Jan 18 08:35:18 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;For LPC1113 the clockout is configure in pin 4 PIO0_1&amp;nbsp; *** IOCON_PIO0_1&amp;nbsp; = 0x00000001;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // CLOCKOUT&amp;nbsp; ***&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but not frequency out this pin??? what more is need?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546524#M13278</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: clockout</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546525#M13279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Fri Jan 18 19:22:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to set source / divider and start clockout as described in User Manual. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//enable CLKOUT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LPC_IOCON-&amp;gt;PIO0_1= (1&amp;lt;&amp;lt;0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// select clock 0 IRC, 1 System oscillator, 2 Watchdog, 3 Main clock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LPC_SYSCON-&amp;gt;CLKOUTCLKSEL = 3;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// select clock divider&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LPC_SYSCON-&amp;gt;CLKOUTDIV = 10;//CLKOUT Divider = 10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Enable CLKOUT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LPC_SYSCON-&amp;gt;CLKOUTUEN = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LPC_SYSCON-&amp;gt;CLKOUTUEN = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546525#M13279</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: clockout</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546526#M13280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jim_Andrews on Wed Oct 30 14:53:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Ex-Zero&lt;/STRONG&gt;&lt;BR /&gt;You have to set source / divider and start clockout as described in User Manual. &lt;BR /&gt;&lt;BR /&gt;&amp;lt;code&amp;gt;&lt;BR /&gt;//enable CLKOUT&lt;BR /&gt; LPC_IOCON-&amp;gt;PIO0_1= (1&amp;lt;&amp;lt;0);&lt;BR /&gt;// select clock 0 IRC, 1 System oscillator, 2 Watchdog, 3 Main clock&lt;BR /&gt; LPC_SYSCON-&amp;gt;CLKOUTCLKSEL = 3;&lt;BR /&gt;// select clock divider&lt;BR /&gt; LPC_SYSCON-&amp;gt;CLKOUTDIV = 10;//CLKOUT Divider = 10&lt;BR /&gt;// Enable CLKOUT&lt;BR /&gt; LPC_SYSCON-&amp;gt;CLKOUTUEN = 0;&lt;BR /&gt; LPC_SYSCON-&amp;gt;CLKOUTUEN = 1;&lt;BR /&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Ex-Zero,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to follow the instructions in the user manual, but it still doesn't work. Any idea what I am doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546526#M13280</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: clockout</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546527#M13281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Wed Oct 30 15:27:19 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Zero isn't member of this forum since 'Forum Migration #1' in March (therefore 'Ex-').&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can add a while loop to check clockout:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
....
LPC_SYSCON-&amp;gt;CLKOUTUEN = 0;
LPC_SYSCON-&amp;gt;CLKOUTUEN = 1;

while (!(LPC_SYSCON-&amp;gt;CLKOUTUEN &amp;amp; 0x01));
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is not working? Did you scope PIO0_1? Did you use debugger to check IOCON settings of PIO0_1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A forgotten IOCON bit in SYSAHBCLKCTRL could cause your problem....&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546527#M13281</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: clockout</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546528#M13282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 1234567890 on Sat Dec 28 06:11:09 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Bit 6 in PDRUNCFG is an issue as well ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortuntely this is not documented very well in the UM. At least not at the place one would look for, e.g. watchdog oscillator control register or watchdog timer. Minimum would be a 'remark' at watchdog oscillator control register.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/clockout/m-p/546528#M13282</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:06Z</dc:date>
    </item>
  </channel>
</rss>

