LPC845 issues with 30 MHz clock

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

LPC845 issues with 30 MHz clock

1,414 Views
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 Kudos
Reply
3 Replies

1,372 Views
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 Kudos
Reply

1,379 Views
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 Kudos
Reply

1,373 Views
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 Kudos
Reply