File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC546XX Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 27
27
/* Defines used by the sleep code */
28
28
#define LPC_CLOCK_INTERNAL_IRC BOARD_BootClockFRO12M()
29
29
#define LPC_CLOCK_RUN ((SYSCON->DEVICE_ID0 == 0xFFF54628) ? \
30
- BOARD_BootClockPLL220M() : BOARD_BootClockFROHF48M ())
30
+ BOARD_BootClockPLL220M() : BOARD_BootClockPLL180M ())
31
31
32
32
#define DEVICE_ID_LENGTH 24
33
33
Original file line number Diff line number Diff line change 41
41
void mbed_sdk_init ()
42
42
{
43
43
if (SYSCON -> DEVICE_ID0 == 0xFFF54628 ) {
44
+ BOARD_BootClockFROHF96M (); /* Boot up FROHF96M for SPIFI to use*/
44
45
/* LPC54628 runs at a higher core speed */
45
46
BOARD_BootClockPLL220M ();
46
47
} else {
47
- BOARD_BootClockFROHF48M ();
48
+ BOARD_BootClockFROHF96M (); /* Boot up FROHF96M for SPIFI to use*/
49
+ BOARD_BootClockPLL180M ();
48
50
}
49
51
}
50
52
Original file line number Diff line number Diff line change 27
27
/* Defines used by the sleep code */
28
28
#define LPC_CLOCK_INTERNAL_IRC BOARD_BootClockFRO12M()
29
29
#define LPC_CLOCK_RUN ((SYSCON->DEVICE_ID0 == 0xFFF54628) ? \
30
- BOARD_BootClockPLL220M() : BOARD_BootClockFROHF48M ())
30
+ BOARD_BootClockPLL220M() : BOARD_BootClockPLL180M ())
31
31
32
32
#define DEVICE_ID_LENGTH 24
33
33
Original file line number Diff line number Diff line change @@ -57,10 +57,12 @@ uint32_t FLASHIAP_ReadUid(uint32_t *addr)
57
57
void mbed_sdk_init ()
58
58
{
59
59
if (SYSCON -> DEVICE_ID0 == 0xFFF54628 ) {
60
+ BOARD_BootClockFROHF96M (); /* Boot up FROHF96M for SPIFI to use*/
60
61
/* LPC54628 runs at a higher core speed */
61
62
BOARD_BootClockPLL220M ();
62
63
} else {
63
- BOARD_BootClockFROHF48M ();
64
+ BOARD_BootClockFROHF96M (); /* Boot up FROHF96M for SPIFI to use*/
65
+ BOARD_BootClockPLL180M ();
64
66
}
65
67
}
66
68
You can’t perform that action at this time.
0 commit comments