LPC1114 hardfault

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1114 hardfault

688 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yan on Tue Apr 08 08:32:59 MST 2014
Hello,

I use LPC1114 at 96MHz with external crystal at 12MHz :
LPC_SYSCON->MAINCLKSEL = 0x03;
LPC_SYSCON->MAINCLKUEN = 0;
LPC_SYSCON->MAINCLKUEN = 1;

LPC_SYSCON->SYSPLLCLKSEL = 0x01;// select external crystal input
LPC_SYSCON->SYSPLLCTRL = ((0<<5)| 0x07);// 96MHz
LPC_SYSCON->SYSPLLCLKUEN = 0;
LPC_SYSCON->SYSPLLCLKUEN = 1;

It's work fine, but in some case I have a problem Hardfault handler.
If I put 48MHz, I haven't the problem.

What do you think ?

0 项奖励
回复
2 回复数

667 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by atomicdog on Wed Apr 09 10:34:38 MST 2014
The fastest LPC1114 runs is 50Mhz.
0 项奖励
回复

667 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Tue Apr 08 08:39:13 MST 2014

Quote: yan


I use LPC1114 at 96MHz with external crystal at 12MHz :
It's work fine, but in some case I have a problem Hardfault handler.
If I put 48MHz, I haven't the problem.

What do you think ?



:quest:

UM:

Quote:
The LPC111x/LPC11Cxx operate at CPU frequencies of [color=#f00]up to 50 MHz[/color].

0 项奖励
回复