Skip to content

Commit 3026c65

Browse files
author
Adrian Negreanu
committed
lpc43xx_hic,system: Enable USB0 PHY power
this part is taken from board_LPC43xx.c
1 parent a3e0b08 commit 3026c65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/hic_hal/nxp/lpc4322/system_LPC43xx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ static void SetClock (void) {
523523
(PLL0USB_DIRECTI << 2 ) | /* Direct input */
524524
(PLL0USB_BYPASS << 1 ) | /* PLL bypass */
525525
(0 << 0 ) ; /* PLL0USB Enabled */
526+
LPC_CREG->CREG0 &= ~(1 << 5); // Enable USB0 PHY power.
526527
while (!(LPC_CGU->PLL0USB_STAT & 1));
527528

528529

0 commit comments

Comments
 (0)