LPC55s69 IAP Flash init generates hardfault @150MHz system clk

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

LPC55s69 IAP Flash init generates hardfault @150MHz system clk

2,448 Views
cgarcia
Contributor II

Using SDK Version: 2.9.1 for LPC55S69 and Running lpcxpresso55s69_flashiap1 example, I tried to set system clk to the maximum: 150MHz.

However it generates hard fault once FLASH_Init function is reached (hard fault type showed in image attached).

In base of lpcxpresso55s69_flashiap1 example in SDK Version: 2.9.1

Is there some restriction using iap flash at 150MHz?

Additional setting is required to make it work?

Thanks

Labels (1)
0 Kudos
Reply
4 Replies

2,426 Views
cgarcia
Contributor II

Thanks Alice,

I attached flash example project which I am taking as base, coming from SDK Version: 2.9.1 for LPC55S69.

There I am trying to set system clk to 150MHz but it triggers a hardfault. I tried with 100MHz and it works. I would like to know if there are some flash limitation or additional setting required in the case of 150MHz.

Thanks

0 Kudos
Reply

2,419 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello cgarcia,

 From UM we can see

"Flash operations (erase, blank check, program) and reading a single word can only be
performed for CPU frequencies of up to 100 MHz. These operations cannot be performed
for frequencies above 100 MHz. "

 

BR

Alice

0 Kudos
Reply

2,399 Views
cgarcia
Contributor II

Got it, thanks Alice.

0 Kudos
Reply

2,438 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello cgarcia,

Could you share your project, I will help to check it, thanks.

 

BR

Alice

0 Kudos
Reply