LPC11U67 changing the FLASHCFG - FLASHTIM more than once

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

LPC11U67 changing the FLASHCFG - FLASHTIM more than once

752 Views
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

Labels (3)
Tags (2)
0 Kudos
Reply
1 Reply

560 Views
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 Kudos
Reply