mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #8486 from NXPmicro/Update_LPC546XX_Core_Freq
LPC54608: Raise the core freq on LPC54608 targetspull/8495/head
commit
93c5573b4d
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue