FRDM-KL02Z
User Manual
Rev. 0
Freescale Semiconductor Inc. FRDMKL02ZUM
A guide for users of the OpenSDA embedded circuit.
FRDM-KL02Z Quick Start Guide
This document—overview and detailed information for the
FRDM-KL02Z hardware.
PDF schematics for the FRDM-KL25Z hardware
Spreadsheet of pin connections for all MCU pins. Includes
pinout for the I/O headers, Arduino R3 compatibility chart, and
OpenSDA MCU pinout.
1. Overview
The Freescale Freedom development platform is an evaluation and development tool ideal for rapid
prototyping of microcontroller-based applications. The hardware design is form-factor compatible with
popular third-party hardware designed to work with Arduino™ and Arduino-compatible boards.
The Freescale Freedom KL02Z hardware is a simple, yet sophisticated design featuring a Kinetis L Series
microcontroller, the industry’s first microcontroller built on the ARM Cortex-M0+ core. The
KL02Z32VFM4 is the featured microcontroller on the FRDM-KL02Z. The specifications of the KL02Z32
and the flexible design of the FRDM-KL02Z enable a wide variety of design prototypes including those
dependent on battery power or harvested energy.
The FRDM-KL02Z is the first hardware platform to feature the Freescale open standard embedded
serial and debug adapter known as OpenSDA. This circuit offers the user several options for serial
communications, flash programming and run-control debugging.
There are also many software development tool options available to the user. Choices include
CodeWarrior for Microcontrollers, IAR Embedded Workbench, Keil MDK featuring the µVision IDE,
Atollic TrueSTUDIO, Rowley Crossworks, and more.
All of these features combine to give the user the freedoms needed to rapidly prototype many
embedded designs: a powerful microcontroller built on a very low-power core and SoC platform, easyaccess to I/O with a large ecosystem of compatible hardware, a flexible programming and debug
interface, and a large ecosystem of software development environments. Freedom!
2. Reference Documents
3. Getting Started
The FRDM-KL02 default demo shows the functionality of TSS library, PWM, Accelerometer Sensor,
Timer and I2C module. KL02 has no TSI module on chip, so in this demo the Analog Slider pad is
controlled with GPIO method by TSSW.
Use a mini USB cable to attach the FRDM-KL02Z to a USB power source (either a USB port on a
computer or a USB power supply)
The expected behavior of the demo is as follows:
FRDMKL02ZUM FRDM-KL02Z User Manual Page 2 of 12
Kinetis L-Series
KL02Z32VFM4
32 QFN
USB
D+/D-
RESET
I/O Header
GPIO
10-pin
Debug
Mini-B
USB
Kinetis K-Series
K20DX128VFM5
8 MHz
I/O Header
Touch Pad - Slider
SPI,GPIO à SWD
32.768 Khz
UART
PWM x3
3.3V LDO
Vin
I/O
3.3V
I/O
I2C, GPIO
Inertial
Sensor
10-pin
Debug
CR2032
Indicates optional items that will not be populated by default
OpenSDA
5V
1. Slide Down to Unlock.
Sliding your finger down along the TSS Pad E1 (from “2” to “1”) will unlock the tilt functionality of
the demo.
2. Tilt to adjust the LED.
With the demo “Unlocked”, tilting the board will change the RGB values displayed on the LED
3. Slide Up to Lock.
Sliding your finger up along the TSS Pad E1 (from “1” to “2”) will unlock the tilt functionality of the
demo, and the LED will only display the default color.
This example demo can be restored using the OpenSDA MSD application documented later in this User
Manual.
4. FRDM-KL02Z Hardware Overview
The FRDM-KL02Z is a microcontroller development board based on the Freescale Freedom platform
featuring the following:
Kinetis L Series KL02 family MCU in an 32QFN package
I/O headers for easy access to MCU I/O pins
Freescale 3-axis accelerometer sensor, MMA8451Q
Capacitive touch slider using GPIO method based on TSS lib
Reset pushbutton
RGB LED
On-board serial and debug adapter (OpenSDA)
Figure 1 shows a block diagram of the FRDM-KL02Z design.
FRDMKL02ZUM FRDM-KL02Z User Manual Page 3 of 12
Figure 1. FRDM-KL02Z Block Diagram
Figure 2. FRDM-KL02Z Feature Call-outs
The target MCU featured on the FRDM-KL02Z is a Kinetis L Series KL0 family device, the KL02Z32VFM4.
Features of the KL02Z32VFM4 target MCU include:
32-bit ARM Cortex-M0+ core
- up to 48 MHz operation
- Single-cycle fast I/O access port
Memories
- 32 KB flash
- 4 KB SRAM
System integration
- Power management and mode controllers
- Low-leakage wakeup unit
- Bit manipulation engine for read-modify-write peripheral operations
- Computer operating properly (COP) Watchdog timer
Clocks
FRDMKL02ZUM FRDM-KL02Z User Manual Page 4 of 12