LPC11U67 changing the FLASHCFG - FLASHTIM more than once

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

LPC11U67 changing the FLASHCFG - FLASHTIM more than once

752 次查看
mattiadell_oca
Contributor I

Dear All,

I need to change the FLASHCFG register while my program is running. Is it possible or I have to set it once?

I'm using a LPC11U67.

Best Regards,

Mattia Dell'Oca

标签 (3)
标记 (2)
0 项奖励
回复
1 回复

560 次查看
Dezheng_Tang
NXP Employee
NXP Employee

If you want to raise the CPU clock, make the FLASHTIM value bigger first, then switch the clock to higher speed. If you want to lower the CPU clock, switch the clock to slower clock first, then make the FLASHTIM value smaller.

As long as you follow this order, everything should be fine.

0 项奖励
回复