lpcware

Chip_Clock_SetSysClockDiv

Discussion created by lpcware Employee on Jun 15, 2016
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. 



Outcomes