Skip to content

Commit 19fec11

Browse files
author
Adrian Negreanu
committed
lpc43xx_hic: use pll1 in direct mode
1 parent 887c9fb commit 19fec11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/hic_hal/nxp/lpc4322/system_LPC43xx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@
161161

162162
/* PLL1 output clock: 120MHz, Fcco: 240MHz, N = 1, M = 20, P = 1 */
163163
#define PLL1_NSEL 0 /* Range [0 - 3]: Pre-divider ratio N */
164-
#define PLL1_MSEL 19 /* Range [0 - 255]: Feedback-divider ratio M */
164+
#define PLL1_MSEL 9 /* Range [0 - 255]: Feedback-divider ratio M */
165165
#define PLL1_PSEL 0 /* Range [0 - 3]: Post-divider ratio P */
166166

167167
#define PLL1_BYPASS 0 /* 0: Use PLL, 1: PLL is bypassed */
168-
#define PLL1_DIRECT 0 /* 0: Use PSEL, 1: Don't use PSEL */
168+
#define PLL1_DIRECT 1 /* 0: Use PSEL, 1: Don't use PSEL */
169169
#define PLL1_FBSEL 0 /* 0: FCCO is used as PLL feedback */
170170
/* 1: FCLKOUT is used as PLL feedback */
171171

0 commit comments

Comments
 (0)