t
Fork of mbed-dev by
Revision 76:2aa1c040b668, committed 2016-02-29
- Comitter:
- mbed_official
- Date:
- Mon Feb 29 07:15:09 2016 +0000
- Parent:
- 75:245e7931bad6
- Child:
- 77:78ca4485fc41
- Commit message:
- Synchronized with git revision 08f4e17d695dae8bf945bcb506d81399fc42b732
Full URL: https://github.com/mbedmicro/mbed/commit/08f4e17d695dae8bf945bcb506d81399fc42b732/
[LPC15XX] Fix Clock Configuration
Changed in this revision
targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c Fri Feb 26 17:15:12 2016 +0000 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c Mon Feb 29 07:15:09 2016 +0000 @@ -73,14 +73,14 @@ // <o.0..5> MSEL: Feedback Divider Selection // <i> M = MSEL + 1 // <0-31> -// <o.5..7> PSEL: Post Divider Selection +// <o.6..7> PSEL: Post Divider Selection // <i> Post divider ratio P. Division ratio is 2 * P // <0=> P = 1 // <1=> P = 2 // <2=> P = 4 // <3=> P = 8 // </h> -#define SYSPLLCTRL_Val 0x00000005 // Reset value: 0x000 +#define SYSPLLCTRL_Val 0x00000045 // Reset value: 0x000 // // <o.0..7> System AHB Clock Divider (SYSAHBCLKDIV.DIV) // <i> Divides main clock to provide system clock to core, memories, and peripherals. @@ -156,7 +156,7 @@ // <2=> P = 4 // <3=> P = 8 // </h> -#define SCTPLLCTRL_Val 0x00000005 // Reset value: 0x000 +#define SCTPLLCTRL_Val 0x00000045 // Reset value: 0x000 // // <o.0..1> SCT PLL Clock Source Select (SCTPLLCLKSEL.SEL) // <0=> IRC Oscillator