Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPC54608: Raise the core freq on LPC54608 targets #8486

Merged
merged 1 commit into from
Oct 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/* Defines used by the sleep code */
#define LPC_CLOCK_INTERNAL_IRC BOARD_BootClockFRO12M()
#define LPC_CLOCK_RUN ((SYSCON->DEVICE_ID0 == 0xFFF54628) ? \
BOARD_BootClockPLL220M() : BOARD_BootClockFROHF48M())
BOARD_BootClockPLL220M() : BOARD_BootClockPLL180M())

#define DEVICE_ID_LENGTH 24

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@
void mbed_sdk_init()
{
if (SYSCON->DEVICE_ID0 == 0xFFF54628) {
BOARD_BootClockFROHF96M(); /* Boot up FROHF96M for SPIFI to use*/
/* LPC54628 runs at a higher core speed */
BOARD_BootClockPLL220M();
} else {
BOARD_BootClockFROHF48M();
BOARD_BootClockFROHF96M(); /* Boot up FROHF96M for SPIFI to use*/
BOARD_BootClockPLL180M();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/* Defines used by the sleep code */
#define LPC_CLOCK_INTERNAL_IRC BOARD_BootClockFRO12M()
#define LPC_CLOCK_RUN ((SYSCON->DEVICE_ID0 == 0xFFF54628) ? \
BOARD_BootClockPLL220M() : BOARD_BootClockFROHF48M())
BOARD_BootClockPLL220M() : BOARD_BootClockPLL180M())

#define DEVICE_ID_LENGTH 24

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ uint32_t FLASHIAP_ReadUid(uint32_t *addr)
void mbed_sdk_init()
{
if (SYSCON->DEVICE_ID0 == 0xFFF54628) {
BOARD_BootClockFROHF96M(); /* Boot up FROHF96M for SPIFI to use*/
/* LPC54628 runs at a higher core speed */
BOARD_BootClockPLL220M();
} else {
BOARD_BootClockFROHF48M();
BOARD_BootClockFROHF96M(); /* Boot up FROHF96M for SPIFI to use*/
BOARD_BootClockPLL180M();
}
}

Expand Down