LPC845 issues with 30 MHz clock

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

LPC845 issues with 30 MHz clock

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