Content originally posted in LPCWare by mburton on Wed Mar 06 10:52:18 MST 2013
Hi,
I have a LPC1313 with no external crystal (VDD is 3V) and it is running OK at 12MHz using the IRC but when I try to use the PLL it never locks. I am using lpcopen 1.01 and this is the code used to setup the PLL:
/* Set system PLL input to IRC */ Chip_Clock_SetSystemPllSource(SYSCTL_PLLSRC_IRC);
/* Powerup system PLL */ Chip_SYSCTL_PowerUp(SYSCTL_POWERDOWN_SYSPLL_PD);
Content originally posted in LPCWare by lpcadmin on Thu Mar 07 09:47:37 MST 2013 <code> -__I uint32_t RESERVED17[3]; +__I uint32_t RESERVED17[4]; </code>
Ouch, that's a bad one - sorry you had to find it, but thanks for identifying it. We'll get this change into the v1.02 release and also check out the full register structure for the CHIP_LPC1343 and CHIP_LPC1347 paths.