EmbeddedRelated.com
Forums

LPC1788 is going crazy(No Exception) after calling SystemInit() function.

Started by Murat May 23, 2012
Hi,

I have some LPC1788 ICs. One of them is on Embedded Artist Development Board and another ones are on my boards.
I call SystemInit() function on Embedded Artist Board and everything is OK. But When I try to call SystemInit() on Myboards, program counter jump meanless locations and do meanless something. There is no Exception (Hardfault, Busfault etc.)

If I dont call SystemInit() Embedded Artist and My Boards Behaviors are same.

Can it be Oscillator problem? I have changed Oscillator on my board but result is same.

Thanks.

Murat.

An Engineer's Guide to the LPC2100 Series

There is a similar issue with the LPC4350 caused if you switch the clock
speed too much, it cannot handle a direct switch from 12 to 204 MHz, this is
an internal power regulator problem but gives exactly the same symptoms so
it's possible that your board is having some power supply issues I guess.

Have you tried increasing the decoupling, and monitoring the power supply
voltage for any droop when system init is called.

We had similar issues a couple of years ago where a chip was resetting
itself during system init on one customers board, that turned out to be an
issue with the wrong type of capacitor connected to the voltage regulator
and causing the regulator output voltage to drop momentarily.

Regards

Phil.

From: l... [mailto:l...] On Behalf Of
Murat
Sent: 23 May 2012 17:39
To: l...
Subject: [lpc2000] LPC1788 is going crazy(No Exception) after calling
SystemInit() function.

Hi,

I have some LPC1788 ICs. One of them is on Embedded Artist Development Board
and another ones are on my boards.
I call SystemInit() function on Embedded Artist Board and everything is OK.
But When I try to call SystemInit() on Myboards, program counter jump
meanless locations and do meanless something. There is no Exception
(Hardfault, Busfault etc.)

If I dont call SystemInit() Embedded Artist and My Boards Behaviors are
same.

Can it be Oscillator problem? I have changed Oscillator on my board but
result is same.

Thanks.

Murat.



Hi Phil ,

Thanks for your response.
My problem is wrong Inductance on VSSA pin for LPC1788.
Inductance has big DC Resistance. When We remove it and make short circuit my IC start to works fine.

Thanks.

Murat.

--- In l..., "Phil Young" wrote:
>
> There is a similar issue with the LPC4350 caused if you switch the clock
> speed too much, it cannot handle a direct switch from 12 to 204 MHz, this is
> an internal power regulator problem but gives exactly the same symptoms so
> it's possible that your board is having some power supply issues I guess.
>
> Have you tried increasing the decoupling, and monitoring the power supply
> voltage for any droop when system init is called.
>
>
>
> We had similar issues a couple of years ago where a chip was resetting
> itself during system init on one customers board, that turned out to be an
> issue with the wrong type of capacitor connected to the voltage regulator
> and causing the regulator output voltage to drop momentarily.
>
>
>
> Regards
>
>
>
> Phil.
>
>
>
> From: l... [mailto:l...] On Behalf Of
> Murat
> Sent: 23 May 2012 17:39
> To: l...
> Subject: [lpc2000] LPC1788 is going crazy(No Exception) after calling
> SystemInit() function.
>
>
>
>
>
> Hi,
>
> I have some LPC1788 ICs. One of them is on Embedded Artist Development Board
> and another ones are on my boards.
> I call SystemInit() function on Embedded Artist Board and everything is OK.
> But When I try to call SystemInit() on Myboards, program counter jump
> meanless locations and do meanless something. There is no Exception
> (Hardfault, Busfault etc.)
>
> If I dont call SystemInit() Embedded Artist and My Boards Behaviors are
> same.
>
> Can it be Oscillator problem? I have changed Oscillator on my board but
> result is same.
>
> Thanks.
>
> Murat.
>
>
>