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.
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.
Retrieving data ...