Parameters like below returns status: 0x03 cmd[0] = 12 * 1000; cmd[1] = 30 * 1000; cmd[2] = CPU_FREQ_EQU; cmd[3] = 0; LPC_PWRD_API->set_pll(cmd, resp); ==> resp[0] is: 0x03 (PLL_FREQ_NOT_FOUND) ==> resp[1] is: 12*1000 ==> 00000000 =SYSPLLCTRL ==> 00000000 =SYSPLLSTAT ==> 00000001 =SYSAHBCLKDIV ==> 0000EDF0 =PDRUNCFG Parameters like below returns status: 0x00, and the PLL is set to 24MHz. cmd[0] = 12 * 1000; cmd[1] = 30 * 1000; cmd[2] = CPU_FREQ_LTE; cmd[3] = 0; LPC_PWRD_API->set_pll(cmd, resp); ==> resp[0] is: 0x00 (PLL_CMD_SUCCESS) ==> resp[1] is: 24*1000 ==> 00000041 =SYSPLLCTRL ==> 00000001 =SYSPLLSTAT ==> 00000001 =SYSAHBCLKDIV ==> 0000ED70 =PDRUNCFG Parameters like below returns status: 0x00, and the PLL is set to 36MHz !!. cmd[0] = 12 * 1000; cmd[1] = 30 * 1000; cmd[2] = CPU_FREQ_GTE; cmd[3] = 0; LPC_PWRD_API->set_pll(cmd, resp); ==> resp[0] is: 0x00 (PLL_CMD_SUCCESS) ==> resp[1] is: 36*1000 ==> 00000042 =SYSPLLCTRL ==> 00000001 =SYSPLLSTAT ==> 00000001 =SYSAHBCLKDIV ==> 0000ED70 =PDRUNCFG |
/* * +------------+ * | LPC810 | * ) P M021F | * ) X 1M28603 | * | N +D3414C | ... year 3, week 41, 4C' ver.13.4 * +------------+ * | Dev.ID: 0x00008100 * | B.L.Ver: 13.4 <-- by FlashMagic */ |
/* * UM10601: LPC81x User manual Rev.1.6 * LPC81xM: Product data sheet Rev.4.3 * lpcopen_2_01_lpcxpresso_nxp_lpcxpresso_812.zip */ |