LPC55s69 IAP Flash init generates hardfault @150MHz system clk

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

LPC55s69 IAP Flash init generates hardfault @150MHz system clk

2,444 次查看
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

标签 (1)
0 项奖励
回复
4 回复数

2,422 次查看
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 项奖励
回复

2,415 次查看
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 项奖励
回复

2,395 次查看
cgarcia
Contributor II

Got it, thanks Alice.

0 项奖励
回复

2,434 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello cgarcia,

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

 

BR

Alice

0 项奖励
回复