Hard Fault after PLL init

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hard Fault after PLL init

542 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by GPh on Wed May 20 09:54:12 MST 2015
Hello,

I have a problem and i don't know the way to find the solution, it is why i search help.

We made a LPC11E68 board, with LPCXpresso, LPCOpen 2.11.
We made our board library and import the chip library.

For the first program is to troggle a led.
The program compile and run in debug mode.

But in the PLL initialization, i have a HardFault.
It's strange because it's on the function return (Sceenshoot joined).

We are using a 16MHz crystal.
The good frequency is set in the board library.

I don't know where is the problem.

Any advise is welcome, Thanks a lot.

Regards, Philippe.


Labels (1)
0 Kudos
3 Replies

496 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by GPh on Thu May 21 01:57:43 MST 2015
You are rigth !

I miss one param in sysinit_11u6x.c
This is the change setting in Chip_Clock_SetupSystemPLL(2, 1);

Thanks.
0 Kudos

496 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed May 20 11:13:33 MST 2015

Quote: GPh
Any advise is welcome...



Did you change PLL settings for 16MHz  :quest:
0 Kudos

496 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by GPh on Wed May 20 09:55:45 MST 2015
The attachment.
I fail on previous thread.

0 Kudos