Hard Fault after PLL init

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Hard Fault after PLL init

1,551件の閲覧回数
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.


ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,505件の閲覧回数
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 件の賞賛
返信

1,505件の閲覧回数
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 件の賞賛
返信

1,505件の閲覧回数
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 件の賞賛
返信