<?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: a LPC54xx  main clock issue. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/a-LPC54xx-main-clock-issue/m-p/854523#M33981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because you are executing MANY more than a single instruction when calling the function GPIO_PortToggle. Assuming that you have set up your clock correctly, I'd calculate that you are executing approx 15 instructions to toggle the GPIO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2019 13:04:53 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2019-01-07T13:04:53Z</dc:date>
    <item>
      <title>a LPC54xx  main clock issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/a-LPC54xx-main-clock-issue/m-p/854522#M33980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what i did :&lt;/P&gt;&lt;P&gt;&amp;nbsp;1.&amp;nbsp; i set the lpc54606 main_clk:48Mhz&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71623iC2884C21DE7165B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I initialize&amp;nbsp;a GPIO as output, then in main i did this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71651i0060AC7D735C53A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i got a clk&amp;nbsp;.&amp;nbsp;but&amp;nbsp; the frequency is 750khz according&amp;nbsp;to my oscilloscope. I think it should be 24Mhz .&amp;nbsp;Why?&lt;/P&gt;&lt;P&gt;forgive my&amp;nbsp;poor English.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 05:46:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/a-LPC54xx-main-clock-issue/m-p/854522#M33980</guid>
      <dc:creator>yy0824_2006</dc:creator>
      <dc:date>2019-01-07T05:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: a LPC54xx  main clock issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/a-LPC54xx-main-clock-issue/m-p/854523#M33981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because you are executing MANY more than a single instruction when calling the function GPIO_PortToggle. Assuming that you have set up your clock correctly, I'd calculate that you are executing approx 15 instructions to toggle the GPIO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 13:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/a-LPC54xx-main-clock-issue/m-p/854523#M33981</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2019-01-07T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: a LPC54xx  main clock issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/a-LPC54xx-main-clock-issue/m-p/854524#M33982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="333055" data-username="yy0824_2006@163.com" href="https://community.nxp.com/people/yy0824_2006@163.com"&gt;yangyong wu&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Yes, as&amp;nbsp;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="290358" data-username="converse" href="https://community.nxp.com/people/converse"&gt;Con Verse&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; said, the function " GPIO_PortToggle" not only one instruction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You can check the instructions on Disassembly view. For MCUXpresso IDE example, you can open it as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76675i8A6EC6BBED6F0009/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Hope it helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 03:10:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/a-LPC54xx-main-clock-issue/m-p/854524#M33982</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-01-11T03:10:55Z</dc:date>
    </item>
  </channel>
</rss>

