<?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>LPCXpresso IDEのトピックRe: main clock vs system clock confusion</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584517#M26316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by borik2003 on Thu Nov 25 10:53:09 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry , i am still not understand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if i look on schematic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;there are 2 clocks : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) main_clk (not oscilator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)system_clk that derived from main_clk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the boud rate generated from "main_clk/uartdiv" (that what i found when played with a code) and it can be seen also&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on schematics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What i can't understand - What for used "system_clk" enabled via AHBCLKCTRL register ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can be that "system_clk" used for UART register accsess and "main_clk" for UART baud rate only ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In general the NXP technical staff whrite very bad user guides in my openion . The datasheet and user guide of lpc1114 seems writen for themselfs and not for one that wonts to learn how this chip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;works exactly for the first time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:18:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:18:07Z</dc:date>
    <item>
      <title>main clock vs system clock confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584515#M26314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by borik2003 on Thu Nov 25 01:00:37 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some missunderstanding for main clk and system clk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for example UART:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it get its clock from "main clk" or from "system clk"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found that it get its clock from "main clk" , but what clock&amp;nbsp; the bit 12 in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B][FONT=Arial][SIZE=1][COLOR=#005042][FONT=Arial][SIZE=1][COLOR=#005042][FONT=Arial][SIZE=1][COLOR=#005042]SYSAHBCLKCTRL register enable ?&amp;nbsp; "main clk" or "system clk" ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/B][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584515#M26314</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: main clock vs system clock confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584516#M26315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Thu Nov 25 07:30:04 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=#000000]The "Main clock" is not an oscillator, but a clock source, you can select different oscillators.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[/COLOR]The main clock feeds the "System clock", and is used by the system (memory, peripherals, etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=#000000]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/COLOR]The UART uses two clock sources:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The UART block is gated by the AHBCLKCTRL register (see Table 3–19). The peripheral&lt;BR /&gt;UART clock, which is used by the UART baud rate generator, is controlled by the&lt;BR /&gt;UARTCLKDIV register (see Table 3–21).&lt;BR /&gt;&lt;BR /&gt;The UART_PCLK can be disabled in the UARTCLKDIV register (see Section 3–4.16) and&lt;BR /&gt;the UART block can be disabled through the System AHB clock control register bit 12&lt;BR /&gt;(see Section 3–4.14) for power savings.&lt;BR /&gt;Remark: The UART pins must be configured in the corresponding IOCON registers&lt;BR /&gt;before the UART clocks are enabled.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We now understand a little better how it works. ;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584516#M26315</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: main clock vs system clock confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584517#M26316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by borik2003 on Thu Nov 25 10:53:09 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry , i am still not understand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if i look on schematic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;there are 2 clocks : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) main_clk (not oscilator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)system_clk that derived from main_clk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the boud rate generated from "main_clk/uartdiv" (that what i found when played with a code) and it can be seen also&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on schematics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What i can't understand - What for used "system_clk" enabled via AHBCLKCTRL register ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can be that "system_clk" used for UART register accsess and "main_clk" for UART baud rate only ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In general the NXP technical staff whrite very bad user guides in my openion . The datasheet and user guide of lpc1114 seems writen for themselfs and not for one that wonts to learn how this chip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;works exactly for the first time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584517#M26316</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: main clock vs system clock confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584518#M26317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gbm on Thu Nov 25 12:22:38 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No, NXP has simply "not very good" manuals. In "very bad MCU manual" competition first place belong to Nuvoton and second - to Renesas.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584518#M26317</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: main clock vs system clock confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584519#M26318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Luis Digital on Thu Nov 25 15:00:24 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;"System clock" is the heart of the UART, the other clock is to generate the baud rate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The manuals are of low quality, but these microcontrollers are difficult by definition. In&amp;nbsp; other microcontrollers simply modify a registry to be put to work a&amp;nbsp; peripheral, but in the ARM we have to modify several, usually: power,&amp;nbsp; clock (sometimes several), and of course activate the peripheral.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I was forgetting that there is usually a register to divide the clock frequency.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Too many things that can easily forget a human, and very much a beginner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ARM: complicated unnecessarily.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584519#M26318</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: main clock vs system clock confusion</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584520#M26319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Fri Nov 26 07:00:34 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Luis Digital&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;ARM: complicated unnecessarily.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is nothing to do with ARM. It is the peripheral(s) chosen by NXP to put into their devices. They are NXP's and AFAIK, have nothing to do with ARM. ARM supply the processor and, on Cortex-Mx, the NVIC and SYSCTRL peripherals. Everything else is up the NXP (or any other MCU vendor).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/main-clock-vs-system-clock-confusion/m-p/584520#M26319</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:18:08Z</dc:date>
    </item>
  </channel>
</rss>

