<?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: LPC 4357 booting issue. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1792997#M55200</link>
    <description>&lt;P&gt;I am not a hardware designer, but picked up one or the other thing during the years ...&lt;/P&gt;&lt;P&gt;First, I guess you are talking about a custom board, i.e. your own design, don't you ?&lt;/P&gt;&lt;P&gt;Second, such instabilities can come from the clock path or the power supply path. Insufficient power supply or capacitive buffering can cause such problems, especially during transients (like clock switching).&lt;/P&gt;&lt;P&gt;And third, I would check the PLL setting code, so as to not exceed any parameter limits, even temporarily (multiplier, divider).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would try lower core clock values, and see if they work more stable. At least as a start.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2024 12:45:34 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2024-01-22T12:45:34Z</dc:date>
    <item>
      <title>LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1792947#M55196</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using LPC4357 controller. I wrote a code for led blinking. After downloading the code into uC&amp;nbsp; and reset the uC the code is not running. If I do restart some 4-6 times, then 1-2 times uC running properly. but in debug mode it is running every time properly. If I change the code to internal oscillator, then every time the code is running. I probed the crystal output (crystal load capacitance is 20pf) and input it is coming proper waveform including the time when led is not blinking. After that I probed reset circuit also it is taking around 80msec to reach 3.3V. I observed a strange behavior while measuring reset voltage, whenever I touch reset pin with multimeter probe then controller is up and running properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am understanding is controller is getting up with internal oscillator, but it is not able to shift to external oscillator sometimes. I am not able to find the proper root cause of the issue. can anyone please help me to debug the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 11:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1792947#M55196</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-01-22T11:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1792997#M55200</link>
      <description>&lt;P&gt;I am not a hardware designer, but picked up one or the other thing during the years ...&lt;/P&gt;&lt;P&gt;First, I guess you are talking about a custom board, i.e. your own design, don't you ?&lt;/P&gt;&lt;P&gt;Second, such instabilities can come from the clock path or the power supply path. Insufficient power supply or capacitive buffering can cause such problems, especially during transients (like clock switching).&lt;/P&gt;&lt;P&gt;And third, I would check the PLL setting code, so as to not exceed any parameter limits, even temporarily (multiplier, divider).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would try lower core clock values, and see if they work more stable. At least as a start.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 12:45:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1792997#M55200</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-01-22T12:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793005#M55202</link>
      <description>Yes, this is a custom board. I used PLL1 setting to 192Mhz and all PLL parameters are in the limit. I have taken an example code of keil for LPC4357 and changed the clock parameters. My external clock is 16 Mhz. If I changed this to internal RC clock 12Mhz and PLL1 frequency to 180Mhz then it is working fine.&lt;BR /&gt;I think the clock switch is not happening sometime and code is stuck in that place. but same thing is not happening in debug case.&lt;BR /&gt;I tried giving 3.3V direct to board from a DC power supply and making current limit set as 3A. but I didn,t observed any improvement.</description>
      <pubDate>Mon, 22 Jan 2024 13:04:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793005#M55202</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-01-22T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793017#M55203</link>
      <description>&lt;P&gt;I tried to set PLL1 at 160Mhz and it is working fine. But what could be the issue in higher clock settings? we can set clock upto 204Mhz. In some pcb I used same circuit and I am using 192Mhz.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 13:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793017#M55203</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-01-22T13:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793050#M55204</link>
      <description>&lt;P&gt;As said, I'm not a hardware guy, thus I can't really answer the question.&lt;BR /&gt;But the result would give an indication.&lt;BR /&gt;I assume you (or the designer) used the recommended values and placement of clock tree and power supply components.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; In some pcb I used same circuit and I am using 192Mhz.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That would indicate hardware, IMHO. Perhaps one of the component values is "marginal", or the PCB layout is needs improvement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I leave that to hardware guys with more experience in this area ...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 14:18:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793050#M55204</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-01-22T14:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793343#M55209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls check if the P2_7 is high during/after Reset so that the LPC4357 can boot-up from internal flash.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1705974683607.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259514i82286B7B7A23AB81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1705974683607.png" alt="xiangjun_rong_0-1705974683607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 01:52:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793343#M55209</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-01-23T01:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793432#M55211</link>
      <description>&lt;P&gt;Yes, P2_7 is pulled high.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 04:48:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793432#M55211</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-01-23T04:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793550#M55214</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;From your description, it appears that the external crystal leads to the issue that the LPC4357 can not start-up reliably, because the chip runs fine if you use internal clock.&lt;/P&gt;
&lt;P&gt;First of all, pls check the loading capacitor value.&lt;/P&gt;
&lt;P&gt;The Cx1=Cx2=2*(crystal load capacitance)-cap_parasitic.&lt;/P&gt;
&lt;P&gt;for example, if the required crystal load capacitance is 20pF, assume the parasitic cap value is 3pF,the&lt;/P&gt;
&lt;P&gt;Cx1=Cx2=2*20pF-3pF=37pF.&lt;/P&gt;
&lt;P&gt;Secondly, pls check the code to switch from internal clock to external crystal clock? do you use PLL?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 07:27:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793550#M55214</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-01-23T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793726#M55216</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;My load capacitance of crystal is 10pf and I mounted 20pf. yes code is working in PLL1. Since low frequency clock shifting from internal to external is happening so I think code is right.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 10:07:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793726#M55216</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-01-23T10:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793817#M55218</link>
      <description>&lt;P&gt;&amp;nbsp;This is my PLL configuration.&lt;/P&gt;&lt;P&gt;for 192Mhz&lt;/P&gt;&lt;P&gt;MSEL 11&lt;/P&gt;&lt;P&gt;DIRECT 1&lt;/P&gt;&lt;P&gt;and other values are zero.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 12:45:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1793817#M55218</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-01-23T12:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1795063#M55230</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You use 16MHz external clock as the PLL1 input clock, the M is 12, the FCCO is 16*12=192MHz, so the FCLKOUT is 192MHz, I suppose it is okay.&lt;/P&gt;
&lt;P&gt;I suppose that PLL1 lock is not implemented, you poll the lock bit, but is it not set, the the code hangs.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 03:40:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1795063#M55230</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-01-25T03:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 4357 booting issue.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1801620#M55337</link>
      <description>&lt;P&gt;&amp;nbsp;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I attached the PLL1 code part.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaga123_0-1707110127515.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261882i7FC9AE27EA6BE9E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jaga123_0-1707110127515.png" alt="Jaga123_0-1707110127515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am thinking it is correct. please check the same. If I call this part two times once for PLL1 clock for 144Hz and other for 192 MHz then code is working fine.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 05:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-4357-booting-issue/m-p/1801620#M55337</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-02-05T05:19:11Z</dc:date>
    </item>
  </channel>
</rss>

