This Freedom board is based on the KL05Z32VFM4 which is a 48MHz device from the ultra-low-power KL family with Cortex-M0+ core. This KL05 device has 32k Flash and 4k SRAM and is in a 32 pin QFN package, whereby the KL05 is also available in 24 and 48 pin housing and its memory ranges from 8k .. 32k Flash and 1k .. 4k SRAM. There is a 32.768kHz crystal on the board for clocking the part.

Full details and documentation for this board can be obtained from the NXP web site: FRDM-KL05Z

To configure the µTasker project for this board simply enable the define FRDM_KL05Z in the project's config.h file. The compiler needs to be set to build for Cortex m0+ (and not Cortex M4) and the linker script KL_32_4.ld should be selected [KL_32_4_BM.ld for downloadable version] {the linker script extension may vary for different compilers, whereby *.ld is valid for GCC}

FRDM-KL05Z Binaries

Here are some binary files that can be loaded to the board. These were built using the µTasker applications (serial loader and V1.4 application) and can be simply generated using the supported compilers/IDEs [these were built using GCC], built using different configuration options or modified to suit specific requirements or hardware derived from this board :

  • uTaskerSerialBoot_FRDM-KL05Z_KBOOT_UART.bin KBOOT compatible UART loader [6.4k] allowing applications to be loaded at link address 0x2800 - 57600 Baud. When operating, the blue LED blinks at 5Hz. To force the loader reset the board with header J8-3 connected to GND (PTA11). To disable the watchdog reset the board with header J8-4 connected to GND (PTB5). This can be loaded using the FRDM-KL05Z's USB-MSD (OpenSDA) boot loader. Note that the loader limits application sizes to 22k - it can be built without limits using the µTasker project.
  • uTaskerV1.4.8_BM_FRDM_KL05Z_2800.bin KL05 application with command-line menu on the virtual COM connection (115200 Baud) and accelerometer operation (activate output in I2C menu). Low power modes can be set in the application menu and the processor runs at 47.97MHz {FLL} [19.2k]. Linked to 0x2800, it can be loaded using the KBOOT PC tool - 57600 Baud. When the application is running the green LED blinks at 2.5Hz.
  • uTaskerV1.4.8_FRDM_KL05Z.bin The same KL05 application as stand-alone software that can be loaded using the FRDM-KL05Z's USB-MSD (OpenSDA) boot loader [20.2k].

FRDM-KL05Z Low Leakage STOP (LLS) Mode and Wake-Ups

This FRDM-KL05Z binary shows the on-board accelerometer being continuously read and regularly output to the debug output. It can be commanded to stop operation and enter the LLS mode, where it waits for a wake-up event to occur before continuing with the operation.

The LLS mode can be entered by typing an 'L' on the OpenSDA UART connection, whereby the current consumption will fall from its initial value of around 5mA to approximately 3uA. To wake the processor from this mode a LLWU port can be used - J7-4 (PTA7 - LLWU_P3) - the wake-up takes place when this is pulled to 0V (falling-edge), after which the normal operation continues from where it left off.

The same LLS mode can be entered by typing 'A' on the interface. In this case the internal RTC (clocked from 1kHz LPO) is configured to wake the processor after a delay of 5s (timed alarm wake-up). After this period has expired the processor will wake and continue the original operation again.

See this in operation in the following video.

Return to the Kinetis landing page

µTasker Kinetis support. Copyright (c) 2004..2018 M.J.Butcher Consulting