Chip_Clock_SetSysClockDiv

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

Chip_Clock_SetSysClockDiv

214 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by oxijin on Tue Jul 21 14:37:13 MST 2015
I'm using the IRC oscillator on an LPC11xx.  The board has no crystal.  The micro will start up using the IRC oscillator.  Can I change the clock divider on the fly in board_sysinit.c, while running on the IRC oscillator, as follows?

STATIC void SystemSetupClocking(void)
{
Chip_Clock_SetSysClockDiv(2);
}

It seems very likely that the answer is yes, but I just want to be sure. 



Labels (1)
0 Kudos
0 Replies