LPC55s69 IAP Flash init generates hardfault @150MHz system clk

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

LPC55s69 IAP Flash init generates hardfault @150MHz system clk

2,445件の閲覧回数
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,423件の閲覧回数
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,416件の閲覧回数
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,396件の閲覧回数
cgarcia
Contributor II

Got it, thanks Alice.

0 件の賞賛
返信

2,435件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello cgarcia,

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

 

BR

Alice

0 件の賞賛
返信