KE02 Sub-Family Product Brief Supports all KE02 devices with 40 MHz core

Similar documents
Product Brief Supports all SKEA64 devices

Product Brief Supports all SKEA8 devices

Product Brief Supports all SKEA128 devices

KL03 Product Brief Supports all KL03 devices

Kinetis KE1xF512 MCUs

KLx7 Product Brief Supports all KLx7 devices

Kinetis KL1x General-Purpose Ultra-Low- Power MCUs Up to 256 KB Flash and 32 KB SRAM

KL04/KL05 Product Brief Supports all KL04 and KL05 devices

KV30F and KV31F Family Product Brief Supports 120/100MHz devices with 64 KB to 512 KB Embedded Flash

Kinetis KV5x Real-Time Control MCUs with Ethernet Up to 1 MB Flash and 256 KB SRAM

FRDM-KE02Z User s Manual

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Kinetis KM3x Metrology MCUs based on ARM Cortex -M0+ Core

Emulating I2S bus on KE06

Three-Phase Power Meter Hardware Design Reference Manual

Emulating Dual SPI Using FlexIO

FRDM-KL03Z User s Guide

Freedom FRDM-KV31F Development Platform User s Guide

HVP-KV10Z32 User s Guide

Kinetis EA Ultra-Reliable Microcontrollers. Automotive and Industrial Applications

Generating a Quick and Controlled Waveform With the DAC

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

Understanding S08P Internal Clock Source

TWR-KV10Z32 Sample Code Guide for CodeWarrior Board configuration, software, and development tools

FRDM-KL26Z User s Guide

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

Emulating I2C Bus Master by using FlexIO

MM912_634, Silicon Analog Mask (M91W) / Digital Mask (N53A) Errata

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

K22F Family Product Brief Supports 120/100MHz devices with 128KB to 512KB Embedded Flash

S12VR Hardware Design. Guidelines. 1 Introduction. 2 Hardware Design. Guidelines. 2.1 Voltage regulator. Freescale Semiconductor

Kinetis KL2x Ultra-Low-Power MCUs with USB

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers Scott Pape and Eduardo Montanez Systems Engineering, Freescale Microcontroller Division

Table of Contents 1 Typical Applications General Description Block Diagram Pinout System Connections Typical A

Power Consumption and Measurement of i.mx RT1020

Working around ERR7026 according to application needs

HVP-KV31F120M User s Guide

MC68HC908GR8A MC68HC908GR4A Data Sheet

FRDM-KE04Z User s Guide User Guide

Freedom FRDM-MC-LVBLDC Development Platform User s Guide

PC87435 Enhanced IPMI Baseboard Management Controller

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

Using DMA for Pulse Counting on S32K

Leading Performance - Low Power - Scalability - Industrial-grade reliability & temp

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

Interconnects, Memory, GPIO

AN5123 Application note

Flash Core Voltage Supply Requirements and Considerations

STM32 F0 Value Line. Entry-level MCUs

MICROPROCESSOR BASED SYSTEM DESIGN

Using the Asynchronous DMA features of the Kinetis L Series

Getting Started with Freescale MQX RTOS for Kinetis SDK and MDK-ARM Keil

Freescale Semiconductor Inc. Microcontroller Solutions Group. FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0

Measuring Interrupt Latency

Mask Set Errata for Mask 3N86B

Kinetis Bootloader to Update Multiple Devices in a Field Bus Network

SEIKO EPSON CORPORATION

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

SPI topics: watchdog, serial output and parity check

Integrate TWR-EPD Software with MQX RTOS Based on the TWR-K21F120M Platform

Mask Set Errata for Mask 2N27B

EDBG. Description. Programmers and Debuggers USER GUIDE

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:

MQX RTOS Release Notes for Kinetis SDK FRDM- KV10Z Freescale Freedom Development Platform

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

USER GUIDE EDBG. Description

Smart Plug Software Design Reference Manual

Table 1 provides silicon errata information that relates to the masks 0M55B, 1M55B, and M55B of the MC9328MX21S (i.mx21s) applications processor.

NXP AN11528 sensor Application note

FRDM-K64F Board Errata

ecog1kg Microcontroller Product Brief

2-Oct-13. the world s most energy friendly microcontrollers and radios

Quick Start Guide TRK-KEA. Kinetis EA Series MCUs for Automotive Electronics Applications. StarterTRAK

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

Military Grade SmartFusion Customizable System-on-Chip (csoc)

Introduction S08P Peripherals deep-dive. CW IDE Setup. S08P V6 Flash and EEPROM FlexTimer ADC Watchdog Timer TSI ACMP SCI, SPI,IIC

Engineer-to-Engineer Note

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

Introduction to ARM LPC2148 Microcontroller

MC68HC908GR16 Data Sheet

Introducing STM32 L0x Series. April

Freescale s Next Generation 8-bit LCD Solutions

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

MQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform

How to Implement USB Suspend/Resume Feature with MCUXpresso SDK USB Stack

C8051F700 Serial Peripheral Interface (SPI) Overview

TWR-KL28Z User s Guide

OPERATIONAL UP TO. 300 c. Microcontrollers Memories Logic

i.mx 6Solo/6DualLite Product Lifetime Usage Estimates

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

AN10955 Full-duplex software UART for LPC111x and LPC13xx

AN Migrating to the LPC1700 series

TWR-KE18F User's Guide

Using the MPC5777M MCAN Module to Exchange CAN FD Messages

MN101E50 Series. 8-bit Single-chip Microcontroller

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used

INTRODUCTION TO FLEXIO

Transcription:

Freescale Semiconductor Document Number:KE02M40PB Product Brief Rev 2, 3/2014 KE02 Sub-Family Product Brief Supports all KE02 devices with 40 MHz core 1 Kinetis E series Kinetis E series provide the highly scalable portfolio of ARM Cortex -M0+ MCUs in the industry. With 2.7 5.5 supply and focus on exceptional EMC/ESD robustness, Kinetis E series devices are well suited to a wide range of applications in electrical harsh environments, and is optimized for cost-sensitive applications offering low pin-count option. The Kinetis E series offers a broad range of memory, peripherals, and package options. They share common peripherals and pin counts allowing developers to migrate easily within an MCU family or among the MCU families to take advantage of more memory or feature integration. This scalability allows developers to standardize on the Kinetis E series for their end product platforms, maximising hardware and software reuse and reducing time-to-market. Following are the general features of the Kinetis E series MCUs. 32-bit ARM Cortex-M0+ core Scalable memory footprints from 8 KB flash / 1 KB SRAM to 128 KB flash / 16 KB SRAM Precision mixed-signal capability with on chip analog comparator and 12-bit ADC Powerful timers for a broad range of applications including motor control Serial communication interfaces such as UART, SPI, I 2 C, and others. High security and safety with internal watchdog and programmable CRC module Contents 1 Kinetis E series...1 2 KE02 sub-family introduction...2 3 Block diagram...3 4 Features...4 5 Power modes...14 6 Revision history...15 2013 2014 Freescale Semiconductor, Inc.

KE02 sub-family introduction Single power supply (2.7 5.5 ) with full functional flash program/erase/read operations Ambient operation temperature range: 40 C ~ Kinetis E series MCU families are supported by a market-leading enablement bundle from Freescale and numerous ARM third-party ecosystem partners. The KE02 sub-family is the entry-point to the Kinetis E series and is pin-compatible within E series and with the Freescale's 8-bit S08P family. 2 KE02 sub-family introduction This sub-family includes a powerful array of analog, communication, and timing and control peripherals with specific flash memory size and the pin count. Core and architecture: ARM Cortex-M0+ core running up to 40 MHz with zero wait state execution from memories Single-cycle access to I/O: Up to 50 percent faster than standard I/O, improves reaction time to external events allowing bit manipulation and software protocol emulation Two-stage pipeline: Reduced number of cycles per instruction (CPI), enabling faster branch instruction and ISR entry, and reducing power consumption Excellent code density in comparison to 8-bit and 16-bit MCUs: Reduced flash size, system cost, and power consumption Optimized access to program memory: Accesses on alternate cycles reduces power consumption 100 percent compatible with ARM Cortex-M0 and a subset ARM Cortex-M3/M4: Reuse existing compilers and debug tools Simplified architecture: 56 instructions and 17 registers enable easy programming and efficient packaging of 8/16/32-bit data in memory Linear 4 GB address space removes the need for paging/banking, reducing software complexity ARM third-party ecosystem support: Software and tools to help minimize development time/cost Bus clock running up to 20 MHz BME: Bit manipulation engine reduces code size and cycles for bit-oriented operations to peripheral registers eliminating traditional methods where the core would need to perform read-modify-write operations. Power-saving: Low-power ARM Cortex-M0+ core with excellent energy efficiency Supports three power modes: Run, Wait and Stop Supports clock gating for unused modules, and specific peripherals remain working in Stop mode Memory: Up to 64 KB program flash, 256 B EEPROM, 4 KB SRAM Embedded 32 B flash cache for optimizing bus bandwidth and flash execution performance Clocks Oscillator (OSC) - supports 32.768 khz crystal or 4 MHz to 20 MHz crystal or ceramic resonator; choice of low power or high gain oscillators Internal clock source (ICS) - internal FLL with internal or external reference, 31.25 khz pretrimmed internal reference for 40 MHz system clock Internal 1 khz low-power oscillator (LPO) Mixed-signal analog: Up to 16 channels of 12-bit analog-to-digital conversion (ADC) with 2.5 µs conversion time, 1.7 m/ C temperature sensor, internal bandgap reference channel, supporting automatic compare, optional hardware trigger, and operating in Stop mode Up to two analog comparators (ACMP) with both positive and negative inputs, separately selectable interrupt on rising and falling comparator output Human-machine interface (HMI): Up to two 8-bit keyboard interrupt modules (KBI) Connectivity and communications: Up to three serial communications interface (UART) modules with optional 13-bit break, full duplex non-return to zero (NRZ) and LIN extension support 2 Freescale Semiconductor, Inc.

Block diagram Up to two serial peripheral interface (SPI) modules with full-duplex or single-wire bidirectional and master or slave mode One Inter-integrated circuit ( I 2 C) module with support of system management bus Reliability, safety and security: Internal watchdog with independent clock source Cyclic redundancy check (CRC) with programmable 16- or 32-bit polynomial generator Timing and control: FlexTimer module (FTM) including one 6-channel FTM with deadtime insertion and fault detection, and up to two 2-channel FTMs backward compatible with TPM modules. Each channel can be configured for input capture, output compare, edge- or center-aligned PWM mode. Periodic interrupt timer (PIT) for RTOS task scheduler time base or trigger source for ADC conversion and timer modules 16-bit real timer counter (RTC) I/O and package: Up to 57 GPIO pins with interrupt functionality Up to 2 true open-drain output pins Up to 8 high current drive pins supporting 20 ma source/sink current Multiple package options from 32-pin to 64-pin The family acts as a low-power, high-robustness, and cost-effective microcontroller to provide developers an appropriate entry-level 32-bit solution. The family is next generation MCU solution with enhanced EMC/ESD performance for costsensitive, high-reliability devices applications used in high electrical noise environments. 3 Block diagram The following figure shows a superset block diagram of the device. Other devices within the family have a subset of the features. Freescale Semiconductor, Inc. 3

Features Kinetis KE02 Family ARM Cortex -M0+ Core Serial wire debug interfaces NIC System Watchdog BME PMC NMI Memories and Memory Interfaces Flash EEPROM RAM Clocks Frequencylocked loop Low/High frequency oscillator Internal reference clocks UID Security and Integrity CRC WDOG Analog Timers Communication Interfaces 12-bit ADC x1 ACMP x2 FTMs 2x2ch 1x6ch PIT x1 I 2 C x1 UART x3 Human-Machine Interface (HMI) GPIOs KBI x2 RTC x1 SPI x2 IRQ Figure 1. KE02 family block diagram 4 Features 4.1 Feature summary All devices within the KE02 sub-family have a minimum of the following features. Table 1. Common features among all KE02 devices Operating characteristics Core features 2.7 to 5.5 Temperature range (T A ) -40 C to Three operation modes: Run, Wait, Stop Next generation 32-bit ARM Cortex M0+ core Supports up to 32 interrupt request sources Nested vectored interrupt controller (NIC) 2-pin serial wire debug (SWD) interface Table continues on the next page... 4 Freescale Semiconductor, Inc.

Table 1. Common features among all KE02 devices (continued) Features System and power management Clocks Memory and memory interfaces Security and integrity Analog Timers Communications Human-machine interface Watchdog Integrated bit manipulation engine (BME) Power management controller with three different power modes Non-maskable interrupt (NMI) 64-bit unique identification (ID) number External crystal oscillator or resonator Up to DC-40 MHz external square wave input clock Internal clock references 31.25 39.063 khz oscillator 1 khz oscillator Frequency-locked loop with the range of 32 40 MHz Up to 64 KB flash memory Up to 256 B EEPROM Up to 4 KB SRAM Watchdog (WDOG) Cyclic redundancy check (CRC) module One 12-bit analog-to-digital converter (ADC) Two analog comparators (ACMP) with internal 6-bit digital-to-analog converter (DAC) One 6-channel and two 2-channel 16-bit FTM modules 32-bit programmable interrupt timer (PIT) Real-time clock (RTC) System tick timer (SYSTICK) Two serial peripheral interfaces (SPI) One inter-integrated circuit (I 2 C) module Three universal asynchronous receiver/transmitter (UART) modules Up to 57 GPIO pins Up to two keyboard interface (KBI) modules Interrupt (IRQ) 4.2 Memory and package options The following table summarizes the memory and package options for the KE02 family. All devices which share a common package are pin-for-pin compatible. Table 2. KE02 family summary Memory Package Sub-Family Performance (MHz) Flash (KB) SRAM (KB) 32 LQFP (7x7) 44 LQFP (10x10) 64 LQFP (10x10) 64 QFP (14x14) KE02 40 16 2 + + Table continues on the next page... Freescale Semiconductor, Inc. 5

Features Table 2. KE02 family summary (continued) Memory Package Sub-Family Performance (MHz) Flash (KB) SRAM (KB) 32 LQFP (7x7) 44 LQFP (10x10) 64 LQFP (10x10) 64 QFP (14x14) 40 32 4 + + + + 40 64 4 + + + + 4.3 Part numbers and packaging Q KE## A FFF T PP CC (N) Qualification status Family Key attribute Speed (MHz) Package identifier Tape and Reel (T&R) Flash size Figure 2. Part numbers diagrams Table 3. Part number field description Temperature range ( C) Field Description alues Q Qualification status M = Fully qualified, general market flow P = Prequalification KE## Kinetis family KE02 A Key attribute Z = Cortex-M0+ FFF Program flash memory size 16 = 16 KB 32 = 32 KB 64 = 64 KB R Silicon revision (Blank) = Main A = Revision after main T Temperature range ( C) = 40 to 105 PP Package identifier LC = 32 LQFP (7 mm x 7 mm) LD = 44 LQFP (10 mm x 10 mm) LH = 64 LQFP (10 mm x 10 mm) QH = 64 QFP (14 mm x 14 mm) CC Maximum CPU frequency (MHz) 4 = 40 MHz N Packaging type R = Tape and reel (Blank) = Trays 6 Freescale Semiconductor, Inc.

Features 4.4 KE02 family features The following sections list the differences among the various devices available within the KE02 family. The features listed below each part number specify the maximum configuration available on that device. The signal multiplexing configuration determines which modules can be used simultaneously. 4.4.1 KE02 family features (40 MHz performance) The following table list the differences among the various devices available within the KE02 family. The features listed below each part number specify the maximum configuration available on that device. The signal multiplexing configuration determines which modules can be used simultaneously. Table 4. KE02 40 MHz performance table MC part number MKE02Z16LC4(R) MKE02Z32LC4(R) MKE02Z64LC4(R) MKE02Z16LD4(R) MKE02Z32LD4(R) MKE02Z64LD4(R) MKE02Z32LH4(R) MKE02Z64LH4(R) MKE02Z32QH4(R) MKE02Z64QH4(R) General CPU frequency 40 MHz 40 MHz 40 MHz 40 MHz 40 MHz 40 MHz 40 MHz 40 MHz 40 MHz 40 MHz Pin count 32 32 32 44 44 44 64 64 64 64 Package LQFP LQFP LQFP LQFP LQFP LQFP LQFP LQFP QFP QFP Memories and memory interfaces Flash 16 KB 32 KB 64 KB 16 KB 32 KB 64 KB 32 KB 64 KB 32 KB 64 KB SRAM 2 KB 4 KB 4 KB 2 KB 4 KB 4 KB 4 KB 4 KB 4 KB 4 KB EEPROM 256 B 256 B 256 B 256 B 256 B 256 B 256 B 256 B 256 B 256 B Cache 32 B 32 B 32 B 32 B 32 B 32 B 32 B 32 B 32 B 32 B ROM - - - - - - - - - - Core modules Debug-SWD Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes NMI Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Trace - - - - - - - - - - System modules Watchdog /w ind. clock Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes PMC Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes DMA - - - - - - - - - - BME (bit manipulation engine) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Clock modules ICS FLL FLL FLL FLL FLL FLL FLL FLL FLL FLL Table continues on the next page... Freescale Semiconductor, Inc. 7

Features Table 4. KE02 40 MHz performance table (continued) MC part number MKE02Z16LC4(R) MKE02Z32LC4(R) MKE02Z64LC4(R) MKE02Z16LD4(R) MKE02Z32LD4(R) MKE02Z64LD4(R) MKE02Z32LH4(R) MKE02Z64LH4(R) MKE02Z32QH4(R) MKE02Z64QH4(R) Main OSC (32 khz, 4-20 MHz) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes IRC (~32 khz) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes LPO (~1 khz) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 16-bit RTC 1 1 1 1 1 1 1 1 1 1 Security and integrity CRC Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes ADC with 8 buffer entry 1x12 ch 1x12 ch 12bit, 1x12 ch Analog 1x12 ch 1x12 ch 1x12 ch 1x16 ch 1x16 ch 1x16 ch 6-bit DAC 2 2 2 2 2 2 2 2 2 2 ACMP 2 2 2 2 2 2 2 2 2 2 Bandgap ref (no pin-out) 1 1 1 1 1 1 1 1 1 1 Timers 16-bit FTM (6-ch) 1 1 1 1 1 1 1 1 1 1 16-bit FTM (2-ch) 2 2 2 2 2 2 2 2 2 2 1x16 ch PIT (32-bit) 1x2 ch 1x2 ch 1x2 ch 1x2 ch 1x2 ch 1x2 ch 1x2 ch 1x2 ch 1x2 ch 1x 2ch Communication interfaces UART (LIN slave capable) 3 3 3 3 3 3 3 3 3 3 SPI (8-bit) 2 2 2 2 2 2 2 2 2 2 I2C 1 1 1 1 1 1 1 1 1 1 CAN - - - - - - - - - - Human-machine interface Segment LCD - - - - - - - - - - TSI (capacitive touch) - - - - - - - - - - Total GPIOs 28 28 28 37 37 37 57 57 57 57 20 ma high-drive GPIO 4 4 4 6 6 6 8 8 8 8 True open-drain 2 2 2 2 2 2 2 2 2 2 oltage range Operating characteristics Flash write 2.7 2.7 2.7 2.7 2.7 2.7 2.7 2.7 2.7 2.7 Temperature range 8 Freescale Semiconductor, Inc.

Core modules 4.5 Module-by-module feature list The following sections describe the high-level module features for the family's superset device. See KE02 family features (40 MHz performance) for differences among the subset devices. 4.5.1 Core modules 4.5.1.1 ARM Cortex-M0+ core Up to 40 MHz core frequency from 2.7 to 5.5 across temperature range of 40 C to Supports up to 32 interrupt request sources 2-stage pipeline microarchitecture for reduced power consumption and improved architectural performance (cycles per instruction) Binary compatible instruction set architecture with the Cortex-M0 core Thumb instruction set combines high code density with 32-bit performance Serial wire debug (SWD) reduces the number of pins required for debugging Single cycle 32 bits by 32 bits multiply 4.5.1.2 Nested ectored Interrupt Controller (NIC) Following are the features of the NIC module. Up to 32 interrupt sources Includes a single non-maskable interrupt 4.5.1.3 Asynchronous Wake-up Interrupt Controller (AWIC) The features of the AWIC module are given below. Supports interrupt handling when system clocking is disabled in low-power modes Takes over and emulates the NIC behavior when correctly primed by the NIC on entry to very deep sleep mode. A rudimentary interrupt masking system with no prioritization logic signals for wake-up as soon as a non-masked interrupt is detected Contains no programmer s model visible state and is therefore invisible to end users of the device other than through the benefits of reduced power consumption while sleeping 4.5.1.4 Debug controller 2-pin serial wire debug (SWD) provides external debugger interface 4.5.2 System modules 4.5.2.1 Power Management Control (PMC) unit The features of the PMC module are listed below. Separate digital (regulated) and analog (referenced to digital) supply outputs Programmable power saving modes No output supply decoupling capacitors required Freescale Semiconductor, Inc. 9

Memories and memory interfaces Available wake-up from power saving modes via RTC and external inputs Integrated power-on-reset (POR) Integrated low voltage detect (LD) with reset (brownout) capability Selectable LD trip points Programmable low-voltage warning (LW) interrupt capability Buffered bandgap reference voltage output Factory programmed trim for bandgap and LD 1 khz low-power oscillator (LPO) 4.5.2.2 Bit Manipulation Engine (BME) Bit manipulation engine reduces code size and cycles for bit-oriented operations to peripheral registers and SRAM memory eliminating traditional methods where the core would need to perform read-modify-write operations. The features of the BME module are listed below. Lightweight implementation of decorated storage for peripheral address space Additional access semantics encoded into the reference address Two-stage pipeline design matching the AHB system bus protocol Combinationally passes non-decorated accesses to peripheral bridge bus controller Conversion of decorated loads and stores from processor core into atomic readmodify- writes Decorated loads support unsigned bit field extracts, load-and-{set,clear} 1-bit operations Decorated stores support bit field inserts, logical AND, OR, and XOR operations Support for byte, halfword and word-sized decorated operations Supports minimum signal toggling on AHB output bus to reduce power dissipation 4.5.2.3 Watchdog (WDOG) module The features of the Watchdog module are described as follows. Independent clock source input (independent from CPU/bus clock) Choice between clock sources 1 khz internal low-power oscillator (LPOCLK) Internal 32 khz reference clock (ICSIRCLK) External clock (OSCERCLK) Bus clock 4.5.2.4 System clocks The following clock sources can be used as system clocks. System oscillator (OSC) Loop-control pierce oscillator; crystal or ceramic resonator range of 31.25 to 39.0625 khz (low-range mode) or 4-20 MHz (high-range mode) Internal clock source (ICS) Frequency-locked loop (FLL) controlled by internal or external reference 32 MHz~40 MHz FLL output Internal reference clocks Can be used as a clock source for the other on-chip peripherals On-chip RC oscillator range of 31.25 to 39.0625 khz oscillator as the reference of FLL input. 4.5.3 Memories and memory interfaces 4.5.3.1 On-chip memory 10 Freescale Semiconductor, Inc.

Security and Integrity 40 MHz performance devices Up to 64 KB flash memory Up to 256 B EEPROM memory Up to 4 KB SRAM Security circuitry to prevent unauthorized access to RAM and flash contents 4.5.4 Security and Integrity 4.5.4.1 Cyclic Redundancy Check (CRC) Following are the features of the real-time clock. Hardware CRC generator circuit using 16/32-bit shift register User configurable 16/32 bit CRC Programmable Generator Polynomial Error detection for all single, double, odd, and most multi-bit errors Programmable initial seed value High-speed CRC calculation Optional feature to transpose input data and CRC result via transpose register, required on applications where bytes are in lsb format 4.5.5 Analog 4.5.5.1 Analog-to-Digital Converter (ADC) The features of the ADC module are given below. Linear successive approximation algorithm with 8-, 10-, or 12-bit resolution Up to 16 external analog inputs, and 5 internal analog inputs including internal bandgap, temperature sensor, and references Output formatted in 8-, 10-, or 12-bit right-justified unsigned format Single or continuous conversion (automatic return to idle after single conversion) Supports up to eight result FIFO with selectable FIFO depth Configurable sample time and conversion speed/power Conversion complete flag and interrupt Input clock selectable from up to four sources Operation in Wait or Stop modes for lower noise operation Asynchronous clock source for lower noise operation Selectable asynchronous hardware conversion trigger Automatic compare with interrupt for less-than, or greater-than or equal-to, programmable value 4.5.5.2 Analog Comparator (ACMP) The ACMP module has the following features. Operational over the whole supply range of 2.7 5.5 On-chip 6-bit resolution DAC with selectable reference voltage from DD or internal bandgap Configurable hysteresis Selectable interrupt on rising-edge, falling-edge, or both rising or falling edges of the comparator output Selectable inversion on comparator output Freescale Semiconductor, Inc. 11

Timer Up to four selectable comparator inputs; one of these is fixed and connected to built-in DAC output while the others are externally mapped on pinouts. Operational in Stop mode 4.5.6 Timer 4.5.6.1 FlexTimers (FTM) The FlexTimer module exhibits the following features. Selectable FTM source clock Programmable prescaler 16-bit counter supporting free-running or initial/final value, and counting is up or up-down Input capture, output compare, and edge-aligned and center-aligned PWM modes Input capture and output compare modes Operation of FTM channels as pairs with equal outputs, pairs with complimentary outputs, or independent channels with independent outputs Deadtime insertion is available for each complementary pair Generation of hardware triggers Software control of PWM outputs Up to four fault inputs for global fault control Configurable channel polarity Programmable interrupt on input capture, reference compare, overflowed counter, or detected fault condition 4.5.6.2 Periodic Interrupt Timer (PIT) The features of the PIT module are given below. Two general-purpose interrupt timers One interrupt timer for triggering ADC conversions 32-bit counter resolution Clocked by bus clock frequency 4.5.6.3 Real-Time Clock (RTC) Following are the features of the real-time clock. 16-bit up-counter 16-bit modulo match limit Software controllable periodic interrupt on match Software selectable clock sources for input to prescaler with programmable 16 bit prescaler OSC 32.768 khz nominal LPO (~1 khz) Bus clock Internal reference clock 4.5.7 Communication interfaces 4.5.7.1 Inter-Integrated Circuit (I 2 C) The features of the I 2 C module are as follows. 12 Freescale Semiconductor, Inc.

Human machine interface Compatible with I 2 C bus standard and SMBus Specification ersion 2 features Up to 100 kbit/s with maximum bus loading Multimaster operation Software programmable for one of 64 different serial clock frequencies Programmable slave address and glitch input filter Interrupt-driven byte-by-byte data transfer Arbitration lost interrupt with automatic mode switching from master to slave Calling address identification interrupt Bus busy detection broadcast and 10-bit address extension Address matching causes wake-up when processor is in low-power mode. 4.5.7.2 Universal Asynchronous Receiver/Transmitter (UART) The UART module has the following features. Full-duplex, standard non-return-to-zero (NRZ) format Double-buffered transmitter and receiver with separate enables Programmable baud rates (13-bit modulo divider) Interrupt-driven or polled operation: Transmit data register empty and transmission complete Receive data register full Receive overrun, parity error, framing error, and noise error Idle receiver detect Active edge on receive pin Break detect supporting LIN Hardware parity generation and checking Programmable 8-bit or 9-bit character length Programmable 1-bit or 2-bit stop bits Receiver wake-up by idle-line or address-mark Optional 13-bit break character generation / 11-bit break character detection Selectable transmitter output polarity 4.5.7.3 Serial Peripheral Interface (SPI) The features of the SPI module are listed below. Master and slave mode Full-duplex, three-wire synchronous transfers Programmable transmit bit rate Double-buffered transmit and receive data registers Serial clock phase and polarity options Slave select output Mode fault error flag with CPU interrupt capability Control of SPI operation during Wait mode Selectable MSB-first or LSB-first shifting Receive data buffer hardware match feature 4.5.8 Human machine interface 4.5.8.1 General-Purpose Input/Output (GPIO) The features of the GPIO module are listed below. Freescale Semiconductor, Inc. 13

Power modes Hysteresis and configurable pull up device on all input pins Configurable drive strength on some output pins Independent pin value register to read logic level on digital pin Fast IO access in single-cycle core clock 4.5.8.2 Keyboard Interrupts (KBI) The KBI features include: Up to eight keyboard interrupt pins with individual pin enable bits Each keyboard interrupt pin is programmable as: falling-edge sensitivity only rising-edge sensitivity only both falling-edge and low-level sensitivity both rising-edge and high-level sensitivity One software-enabled keyboard interrupt Exit from low-power modes 5 Power modes The power management controller (PMC) provides the user with multiple power options. The different modes of operation are supported to allow the user to optimize power consumption for the level of functionality needed. The device supports Run, Wait, and Stop modes which are easy to use for customers both from different power consumption level and functional requirement. I/O states are held in all the modes. Run mode CPU clocks can be run at full speed and the internal supply is fully regulated. Wait mode CPU shuts down to conserve power; system clocks and bus clock are running and full regulation is maintained. Stop mode LD optional enabled, and voltage regulator is in standby. The three modes of operation are Run, Wait, and Stop. The WFI instruction invokes both Wait and Stop modes for the chip. Table 5. Chip power modes Power mode Description Core mode Normal recover method Normal RUN Normal Wait via WFI Normal Stop via WFI Allows maximum performance of chip. Default mode out of reset; on-chip voltage regulator is on. Allows peripherals to function while the core is in Sleep mode, reducing power. NIC remains sensitive to interrupts; peripherals continue to be clocked. Places chip in static state. Lowest power mode that retains all registers while optionally maintaining LD protection. NIC is disabled; AWIC is used to wake up from interrupt; peripheral clocks are stopped. Run Sleep Sleep Deep Interrupt Interrupt 14 Freescale Semiconductor, Inc.

Revision history 6 Revision history The following table provides a revision history for this document. Table 6. Revision history Rev. No. Date Substantial Changes 1 11//2013 Initial NDA publish Freescale Semiconductor, Inc. 15

How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Information in this document is provided solely to enable system and software implementers to use Freescale products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based on the information in this document. Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale data sheets and/or specifications can and do vary in different applications, and actual performance may vary over time. All operating parameters, including typicals, must be validated for each customer application by customer's technical experts. Freescale does not convey any license under its patent rights nor the rights of others. Freescale sells products pursuant to standard terms and conditions of sale, which can be found at the following address: freescale.com/salestermsandconditions. Freescale, the Freescale logo, and Kinetis are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. ARM and Cortex-M0+ are the registered trademarks of ARM Limited. 2013-2014 Freescale Semiconductor, Inc. Document Number KE02M40PB Revision 2, 3/2014