LPC845 issues with 30 MHz clock

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

LPC845 issues with 30 MHz clock

1,411 次查看
LucaCalicchia
Contributor I

Hi guys,

I'm working with LPC845 microcontroller.

My problem is when I configure the source clock to 30 MHz --> hardfault.

If I set this point to 24 MHz evething works well.

Are you able to help me?

Thanks.

Luca

0 项奖励
回复
3 回复数

1,369 次查看
ErichStyger
Specialist I

Hi @LucaCalicchia ,

It might have something to do with Flash access time.

I wrote about this here:

https://mcuoneclipse.com/2021/12/20/doubling-the-performance-of-nxp-lpc845-with-improved-flash-acces...

What wait states are you using?

Erich

0 项奖励
回复

1,376 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @LucaCalicchia,

Could you please tell us how are you configuring the source clock to 30MHz?

Also, could you please try out an LPC845 example like led_blinky and modify the source clock to 30MHz? Let us know if the hardfault appears there too.

Best regards, Raul.

0 项奖励
回复

1,370 次查看
ErichStyger
Specialist I

Could you please tell us how are you configuring the source clock to 30MHz?

Like this?

ErichStyger_0-1676964793645.png

It is part of the normal SDK examples for the LPC845-BRK.

0 项奖励
回复