Fork of mbed for KL05Z based smart sensor which has no crystal on the board, so MCG FEI mode is required.
Dependents: smart-sensor-KL05Z-debug
Fork of mbed-src by
Revision 1:da408b460382, committed 2018-01-29
- Comitter:
- r14793
- Date:
- Mon Jan 29 15:38:37 2018 +0000
- Parent:
- 0:0a673c671a56
- Commit message:
- changed KL05 MCG mode to FEI for smart sensor boards (no crystal)
Changed in this revision
targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.c Wed Jul 27 18:35:32 2016 +0000 +++ b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.c Mon Jan 29 15:38:37 2018 +0000 @@ -59,7 +59,7 @@ #define DISABLE_WDOG 1 -#define CLOCK_SETUP 1 +#define CLOCK_SETUP 0 // dgd: need to use MCG in FEI mode since no crystal on sensor board... /* Predefined clock setups 0 ... Multipurpose Clock Generator (MCG) in FLL Engaged Internal (FEI) mode Reference clock source for MCG module is the slow internal clock source 32.768kHz