TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. 8/16-bit 32-bit ARM Cortex-M0 + Performance Performance •Older, slower architectures & technology •2x to 40x more than 8/16-bit, 9% more than Cortex-M0 •Increased code size/complexity when •Fast 32-bit math processing performing complex math operations •Fast single-cycle access to I/O Energy-Efficiency Energy-Efficiency •Low energy-efficiency •>2x CoreMark/mA than closest 8/16-bit MCU, +30% / CM0 Low Cost Low Cost •6-35kgates •12-35kgates •Variable code density •Excellent code density Ease-of-Development Ease-of-Development •Limited addressable memory •Linear 4GB address space – no need for paging •Simplistic interrupt controllers •Full-featured interrupt controller – simpler s/w architecture •Limited scalability (MHz, flash, features) •Huge scalability – h/w and s/w reuse across end products •Limited ecosystem support •Huge ARM ecosystem – off-the-shelf software/tools/training •Micro Trace Buffer – lightweight, non-intrusive trace
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 2 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Performance Cortex-M0+ packages. packages. ‘K’ withCompatible Ultra-low power/cost Ultra-low signal, &connectivity HMI 32MHz/ 8KBmixed- with features features inpin-count low recl ude D,RO ideae-Rapid pro Freescale Bundled IDE, RTOS &Middleware - Kinetis L Series Alpha Samples: Q32012Samples: Alpha Production: Q4 2012 Production: Q4 Series & S08Px MCU families from from families MCU edn efrac o oe clblt Indust Scalability - Low Power - Leading Performance - TM ARM Compatible Compatible S08Pxwith and ‘L’ Cortex-M0+ Cortex-M0+ for for applications.high-reliability environments. environments. Safety features use use highinnoise electrical Robust, cost low Kinetis E Series Alpha Samples: Apr Samples: Alpha 2013 Production: Production: 2013July NEW Series MCU families for for families MCU VARM 5V 3 oyigPafr BroadARM EcosystemSupport totyping Platform - FlexMemory, mixed-signal and mixed-signal FlexMemory, Industry-first mobileGT, mobileGT, PEG, PowerQUICC, Processor Expert,QorIQ, Qo Freescale, theFreescale logo, AltiVec, C-5, CodeTEST,C Semiconductor, Inc. All other product or service names are Engine, logo, SMARTReady Play, SafeAssure, the SafeAssure Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit,BeeStack, C MCU families from / from 50MHzfamilies MCU broad & HMI connectivity, Kinetis K Series 32KB power,lowwith Alpha Samples: Q42010Samples: Alpha security features. securityfeatures. Production: Production: Now rial-grade reliability &temp ARM Cortex-M4ARM ARMCortex-M0+ powered oreNet, Flexis, Layerscape, MagniV, MXC, Platform in a odeWarrior, odeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Integration theproperty of their respective owners. © 2013 Freescale rivva, rivva, StarCore, Symphony and VortiQa aretrademarks of F ARM Cortex-M4 powered O,Twr ubLn,Vbi n tiscare trademarks and Xtrinsic MOS, Tower, TurboLink, Vybrid akg,QrQQonverge, QUICC Package, QorIQ Efficient Efficient Solutions logo, Kinetis, Semiconductor, Semiconductor, Inc. reescale Semiconductor, Inc., of of Freescale Robust 5 Volt MCUs for Harsh Environments
Kinetis E series MCUs are the industry’s first 5V MCUs built on the ARM® Cortex™- M0+ processor and are designed with reliability and safety in mind when systems need to operate in electrically harsh environments.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 4 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Designed for Efficiency and Operation In Harsh Environments
Robust : 5V operating voltage and I/O levels make these MCUs more resilient to signal corruption from system generated noise and EMI.
Highly Capable System-on-Chip • Built on ARM ® Cortex™-M0+ processors Kinetis E series MCUs deliver 2x better CoreMark ®/MHz with better code density than 8- and 16-bit MCUs. • Single instruction bit manipulation engine offloads the processor to achieve even higher performance . • Fast, single-cycle GPIO can be used to emulate a dedicated communications interface.
5-volt MCUs are ideal for use in electrically harsh environments and provide 2x better CoreMark®/MHz with better code density than 8- and 16-bit MCUs.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 5 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Complies with IEC 61000-4-2 and 61000-4-4 standards and delivered with certified IEC60730 Class B safety software routines • Optimized design to reduce susceptibility to ESD/EFT induced failures to help customers comply with IEC 61000-4-2 and 61000-4-4 standards and increase system reliability. • Includes hardware fault detect pins and comparators to provide over voltage/current protection • Software libraries compliant with IEC60730 Class B safety standards can be leveraged in efforts to improve safety.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 6 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Leverage the MCU robustness and reliability to reduce system cost by eliminating additional protection components and selecting low cost materials like single layer printed circuit boards. • Reduce component costs by using the high current I/O to connect directly to LED drive circuits or take advantage of the on-chip EEPROM • Pin and peripheral compatibility within the Kinetis E-series and with Freescale’s 8-bit S08P products increases hardware and software reuse speeding time to market and creating designs that are easily scaled to suit different needs. • High-value enablement bundle (software, middleware and tools) plus the vast ARM third-party ecosystem helps speed and ease development
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 7 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Reliability – some system’s proximity of the MCU to high electrically noise environments can cause damage • Safety – designers need to reduce susceptibility to ESD/EFT induced failures and need to comply with IEC 61000-4-2 and 61000-4-4 standards • Migration – from 8/16-bit to 32-bit MCUs is on the rise; big performance improvements can be made using 32 -bit MCUs − Kinetis E series MCUs are built on the highly energy efficient, state-of-the-art ARM® Cortex™-M0+ processor • Development speed – comes with enablement bundles, is pin compatible with KE and S08P, comes with a rich ecosystem, and SW is reusable
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 8 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Unique ID System Clock Management Power Management Flash RAM Ext Osc Int R/C OSC Cortex M0+ CRC Single 2.7-5.5V Power Supply 48MHz Core Freq 128KB 16KB (4-24M, 32K) (~32KHz 2%) NVIC SWD (1) 1-Cycle Int LP Osc FLL Clock Power On Low Voltage Debugger BME WDT 1-CY MUL GPIO (1KHz) Multiplier Reset Detector
Peripheral Bus
Analog Interfaces Timers & Triggers Serial Interfaces I/O Ports 16ch 12bit ADC 6ch + 2ch + 2ch Up to 71 GPIO with 8 FIFO 16bit Flex Timer (2) 3 x SCI (LIN capable)
8 pins 2 pins True 2 x ACMP 1 x PWT 2 x 8bit SPI 20mA Open-Drain
1 x 32bit PIT(2 ch) 2 x IIC (1 x SMBUS) 8 x KBI Reset/Input
16bit Real Time Counter 1 x msCAN
(1) Support bit operation in RAM 80LQFP(0.65mm pitch); 64QFP (0.8mm pitch); 64LQFP(0.5mm pitch); (2) Faster timer running 2 x core clock 44LQFP (0.8mm pitch); 32LQFP (0.8mm pitch); 24QFN(0.65mm pitch); Pin compatible within E-series on same package 20SOIC(1.27mm pitch); 16TSSOP(0.65mm pitch) Temp: -40~105°C operation
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 9 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Common Features Optional Features System Key Features
ARM Cortex-M0+ Core, 48MHz [1] Family Speed Flash SRAM Seg. Fast CAN PWT ADC LCD Timer Multiple power modes, Clock Gating, 2.7V – 5.5V KE06Z 48MHz 64-128KB 8-16KB 12-bit Operating Temp: -40 to 105°C
Clock Management KE04Z128 48MHz 128KB 16KB 12-bit External OSC, 4~20MHz, 32KHz
Internal OSC, 32KHz, 1KHz KE04Z64 48MHz 64KB 8KB 12-bit Analog Peripherals
12 -Bit ADC KE04Z8 48MHz 8KB 1KB 12-bit Analog Comparators Serial Interfaces KE02Z 20MHz 16-64KB 2-4KB 12-bit SCI
SPI, IIC Timers
Real Time Clock
16bit Flex timers
32bit Periodic Interrupt Timer
[1] 20MHz for KE02
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 10 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Kinetis E Series: •2.7–5.5V, -40 to +105C •High EMC/ESD robustness •Pin compatible within E-series and with 8-bit S08P First Family Production Sample KE02Z 2013 Apr 2013 Jul KE04Z8 2013 Q3 2013 Q4 KE04Z64 2013 Q4 2014 Q1 Flash Memory Flash KE04Z128 2013 Q4 2014 Q1 KE06 KE06 KE06 KE06 KE06Z 2013 Q4 2014 Q1 128KB KE04 KE04 KE04 KE04
KE06 KE06 KE06 KE06
KE04 KE04 KE04 KE04 64KB KE02 KE02 KE02 KE02
32KB KE02 KE02 KE02 KE02
16KB KE02 KE02
8KB KE04 KE04 KE04
16TSSOP 20SOIC24QFN 32LQFP 44LQFP 64LQFP64QFP 80LQFP Package Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 11 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Motor Control Appliance Industrial
AC Motor Convection Oven E-Bike DC Motor Air conditioner
3 Circuit Intelligent Breaker MCCB Washer Induction Cooker Refrigerator 2 4
Metering/PLC 1 5 General Purpose
UPS Industrial HVAC HMI
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 12 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. 44-pin LQFP compromises size, cost, and features. Strong Noise Immunity •• FTM generating PWM for driving Buzzer GPIO for LED lighting and fan control −− KE02 BUZ LED GP FT IO M ZER 2 SCI CM0+ −− 1 IIC FAN SC RS2 ADC FLASH F CON I 32 T TRO −− FTM RAM M L
MTIM IR EEP IIC REC ROM FT −− M EIVE R
FTM capture function RS2323 GP GP AD to implement IR −− communications IO IO C SWI TEM receiver TCH Rela P Multi AD channels IIC for accessing & y SEN monitoring analog external l IIC KEY SOR signal components Rich GPIO for all kinds of control
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 13 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. 32-pin LQFP compromises size, cost, and •• features. ADC Sampling RS232 interface for for power meter host communication
−− VOLTA SCI AD RS2 KE02 C GE 32 MONIT OR −− 1 SCI CM0+ FTM Channel Kinds of ADC Capture for Zero switching ZER Cross Detect O GPIO FLASH FTM CRO −− SWITCH SS GPIO ES FTM RAM
MTIM IIC
FTM −− INVERTE FTM BUZZ R ER
−− IIC/GPIO FTM PWM output driving Square Wave IIC/GPIO Buzzer Generation LCM emulation for human interface
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 14 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. 16-pin TSSOP compromises size, Power VDD •• M cost, and features. 18V ~ 24V
H-Bridge Regulator −− driver 2-CH PMC FTM
On-chip FLASH Vol providing software CM0+ Sensor −− flexibility for fast development and Motor manufacture 16/8KB Current FTM Sensor FLASH Temp Sensor −− Hall 512/256B Senso RAM 12-bit r ADC PWM control Host −− ACMP
KE02 Analog control −−
Rich on-chip digital and Flexible external analog module providing Power package interface providing high-performance control providing excellent communication from with least external power dissipation host components
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 15 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. core/bus clock type condition VDD IDD clock gating 10.70m ON A 5V OFF 9.23mA 40M:20M Core power System/chip ON 9.75mA mode power Mode 3V run code in OFF 8.27mA RIDD Flash RUN RUN FEI mode ON 8.53mA 5V Sleep WAIT OFF 7.04mA 20M:20M Deep sleep STOP ON 7.60mA 3V core/bus clock OFF 6.10mA type condition VDD IDD clock gating 11.19m 5V ON ON 7.46mA A 5V run code in 40M:20M OFF 5.98mA 10.24m 40M:20M Flash 3V ON ON 6.51mA A 3V RIDD FEI mode WID Wait mode, OFF 5.03mA enable most 5V ON 8.94mA D run code in Flash ON 6.95mA 5V modules 20M:20M OFF 5.47mA 20M:20M 3V ON 8.01mA ON 6.01mA 3V 13.96m OFF 4.53mA run code in 5V ON A - 5V - 1.2uA Flash 40M:20M 12.83m LVD off FEI mode 3V ON - 3V - 1.1uA A RIDD enable most - 5V - 126.8uA 11.265 SIDD LVD on modules 5V ON - 3V - 122.8uA mA while to access 20M:20M - 5V - 39.7uA 10.246 LVD off, ADC on SRAM 3V ON - 3V - 39.2uA mA
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 17 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 18 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 19 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. AD0 + INITTRG/ FAULTn ACMP0
AD1 … ADC Delay MATCHTRG AD15 - TRIGn FTM2
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 20 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. UART0 UART0_TX
FTM0 CH0
TXDME
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 21 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. UART0_RX RX UART0 - ACMP0 +
RXDFE
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 22 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. RX UART0 UART0_RX
FTM0 CH1 FTM0_CH1
RXDCE
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 23 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • The BME is a hardware block that resides between the platform and E-Series Core that allows read-modify-write operations to be performed on peripheral registers using data stored in the target address − Decorated Stores AND, OR, XOR and Bit field insert (BFI) − Decorated Loads Load and clear one bit (LAC1), Load and Set one bit (LAS1), Unsigned bit field extract (UBFX)
Peripherals Core Accesses BME
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 24 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Atomic read-modify-write to peripheral address space − Support decorated load and store operations − Single read/write is converted into atomic read-modify-write − Operation is encoded within 10-bit of the reference address aliased to 512kB peripheral address space (4kB peripheral slot) − Most operations support 1MB peripheral address (Kinetis K)
• ARM define peripheral address space to be 512 MB − ADDR[31:29] = decode peripheral address space (010) − ADDR[28:19] = decode if BME operation, what operation is performed and optionally bit index and width − ADDR[18:0] = peripheral address space where the BME operation is performed
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 25 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. BME decorated references are only available on system bus transactions generated by the processor core
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 26 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Decorated loads − Unsigned bit field extract (width limited to 16-bits) from register (read only, does not perform read-modify-write) − Load 1 bit (single bit extract) and set that bit in register − Load 1 bit (single bit extract) and clear that bit in register
• Decorated stores − Bit field insert (write data inserted into register, width of insert limited to 16-bits) − Logical AND (write data AND register) − Logical OR (write data OR register) − Logical XOR (write data XOR register)
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 27 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Peripherals • Decorated store: OR operation New for ARM contain normal Cortex-M0+ is access space single cycle and decorated multiply access space
Data within the decorated address space defines the operation
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 28 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Decorated Store : Logical XOR (XOR)
• Addr [28:26] = 011 = XOR operation • Addr[19:0] specifies the address offset into the peripheral space based at 0x4000_0000. • "-" indicates an address bit "don't care". • The data size is specified by the write operation access size and can be byte, half-word or word access.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 29 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Logical XOR operation : Normal C code implementation
GPIOA_PDOR ^= 0x02;
0000005E 0x.... LDR R0,??DataTable6_5 ;; 0x400ff000 00000060 0x6800 LDR R0,[R0, #+0] 00000062 0x2102 MOVS R1,#+2 00000064 0x4041 EORS R1,R1,R0 00000066 0x.... LDR R0,??DataTable6_5 ;; 0x400ff000 00000068 0x6001 STR R1,[R0, #+0]
Uses 12 bytes
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 30 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Logical XOR operation : Normal C code implementation
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 31 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Logical XOR operation : hard coded macro implementation //macro used to generate hardcoded XOR address #define BME_XOR_ADDR(ADDR) (*(volatile uint32_t *)(((uint32_t)ADDR) | (3<<26)))
BME_XOR_ADDR(&GPIOA_PDOR) = 0x02; 00000014 0x.... LDR R0,??DataTable6_6 ;; 0x4c0ff000 00000016 0x2102 MOVS R1,#+2 00000018 0x6001 STR R1,[R0, #+0]
Uses 6 bytes, compared to 12 bytes for straight C – 50% improvement.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 32 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Logical XOR operation : hard coded macro implementation
166ns vs. 276ns 40% reduction in execution time
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 33 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Decorated Store : Bit Field Insert (BFI)
• Addr[28] = 1 = BFI operation • Addr[27:23] specifies the LSB position of the bit field. • Addr [22:19] specifies the width of the bit field, (w+1) = width − The maximum bit field width is 16. • If the width of the bit field and the bit offset exceeds the size of the access, the data written will be truncated. • Addr[18:0] specifies the address offset into the peripheral space based at 0x4000_0000. • "-" indicates an address bit "don't care". • The data size is specified by the write operation access size and can be byte, half-word or word access.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 34 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. BFI Example – inserting 3 bit wide field “xyz” into an existing byte location containing “abcd_efgh”
Bit field offset “b” Data being written New destination value 0 ----_-xyz abcd_exyz 1 ---- _xyz - abcd_xyzh 2 ---x_yz-- abcx_yzgh 3 --xy_z--- abxy_zfgh 4 -xyz_---- axyz_efgh 5 xyz-_---- xyzd_efgh 6 yz--_---- yzcd_efgh 7 z---_---- zbcd_efgh
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 35 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Bit Field Insert : Normal C code implementation reg_val = *addr; mask = ((1 << (fieldwidth+1)) - 1) << bitpos; reg_val = (reg_val & ~mask)|((wdata) & mask); *addr = reg_val; reg_val = *addr; 00000022 0x6804 LDR R4,[R0, #+0] mask = ((1 << (fieldwidth+1)) - 1) << bitpos; 00000024 0x2501 MOVS R5,#+1 00000026 0x1C5B ADDS R3,R3,#+1 00000028 0x409D LSLS R5,R5,R3 0000002A 0x1E6D SUBS R5,R5,#+1 0000002C 0x4095 LSLS R5,R5,R2 reg_val = (reg_val & ~mask)|((wdata) & mask); 0000002E 0x43AC BICS R4,R4,R5 00000030 0x0022 MOVS R2,R4 00000032 0x002C MOVS R4,R5 00000034 0x400C ANDS R4,R4,R1 00000036 0x4314 ORRS R4,R4,R2 *addr = reg_val; 00000038 0x6004 STR R4,[R0, #+0] Uses 24 bytes
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 36 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Bit Field Insert : Normal C code implementation
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 37 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Bit Field Insert : Hard coded macro implementation //macro used to generate hardcoded BFI address #define BME_BFI_ADDR(ADDR, BIT, WIDTH) (*(volatile uint32_t *)(((uint32_t)ADDR) | (1<<28) | (BIT<<23) | (WIDTH<<19)))
BME_BFI_ADDR(&ADC0_CFG1, 0x05, 0x01) = 0x40; 00000020 0x.... LDR R0,??DataTable6_9 ;; 0x528bb008 00000022 0x2140 MOVS R1,#+64 00000024 0x6001 STR R1,[R0, #+0]
Uses 6 bytes compared to 24 bytes for straight C – 75% improvement
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 38 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Bit Field Insert : Hard coded macro implementation
440ns vs. 608ns 168ns reduction in execution time
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 39 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. AXBS Flash
FMC 32 32 32-bit prefetch speculation buffer
4-Way by 4-set x 32-bit cache for a total of 64bytes
• The FMC sits between the platform masters (Core) and the Flash, accelerates access time with buffers which will provide 0 wait state access times when hit. • Each access of the Flash pulls next 32-bits into the FMC cache buffer, This way we move 2 instructions and can deliver full performance to the 48MHz bus from the 24Mhz Flash bus. • When flash cache enabled, the power consumption is also improved
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 40 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Flash memory 64-bit security and backdoor key Automated program and erase algorithm with verify − Fast sector erase (sector size = 512B) and longword (32-bit) program operation − Flexible protection scheme to prevent accidental program or erase of flash memory Accessible 64-byte in hidden non-volatile information block Ability to set flash read margin levels
EEPROM − Single-bit fault correction and double-bit fault detection within a word during read operations NVM − Automated program and erase algorithm with verification and Control generation of ECC parity bits ler − Fast sector erase (sector size = 2B) and byte program operation − Protection scheme to prevent accidental program or erase of EEPROM memory − Ability to program up to four bytes in a burst sequence − Ability to set EEPROM read margin levels − 500K program/erase cycles KE family has another new flash operation feature: read-while-write. It allows read from flash while programming/erasing the flash by setting Enable Stalling Flash Controller bit inFreescale, MCM_P the Freescale logo, AltiVec, C-5,LACR CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 41 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Optimized for motor control and power conversion applications Generation of independent, complementary and asymmetric PWM hardware dead time insertion rich PWM synchronization scheme and fault protection PWM output masking and polarity control Enhanced triggering functionality (channel match trigger and init trigger) Dual edge capture Immediate PWM registers load Invert control/channel swap Fault input polarity control Programmable TOF frequency Software output control Debug mode function (The FTM can be set to still function when the debug mode is entered)
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 42 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Complementary PWM Channel
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 43 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Deadtime insertion Deadtime insertion on either rising edge or falling edge Counter clock derived from 1/4/16 system clocks Count from 1 to 63 Dead time from 1 to 1008 system clocks ( 0.05 to 50.4us @20MHz )
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 44 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. PWM synchronization Provide opportunity to • force FTM counter to its initial value (CNTINH:L) and the channel outputs are forced to initial value (known as FTM counter synchronization) and • update 3 kinds of registers (MOD, CnV, OUTMASK[CHnOM]) with their write buffers and sync two or more FTMs Trigger event: hardware trigger or software trigger Update point: boundary cycle • Minimum/low boundary (FTM counter == CNTINH:L )
Mod1
Mod 0
FTM counter
Init0
Init1
Sync
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 45 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. PWM synchronize with ADC PWM trigger signal controlled by 8-bit programmable delay block before triggering ADC conversion
• KE02 PWM 1A PWM 3A PWM 5A sync FlexTimer 6-ch deadtime PWM PWM 2A PWM 4A PWM 6A
System clock PWM Signal
8-bit programmable Trigger delay block ADC Sync Pulse
Time delay ADC Trigger
Conversion
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 46 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. PWM Synchronize with ADC ADC sampling helps to filter the measured current – anti-aliasing noise free sampling possible when the switch is inactive Conversion at the point when the shunt resistor signal is available Sampling and Average Current PWM Period
Phase Current
Shunt Resistor Signals
PWM top PWM Bottom
A/D
calc.
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 47 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. − Channel outputs are forced to a safe value when a fault is detected • Up to 4 fault control input pins with fault filters able to filter glitches of 15 system clocks wide • Manual fault clearing (output re-enabled only when Fault flag cleared by s/w) and automatic fault clearing (output re- enabled when fault input returns to 0) Automatic fault clearing Manual fault clearing
FTM counter
Channel output Without fault
Fault input
Channel output With fault
Fault flag
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+,Fault C-Ware, flag the clearedEnergy Efficient Solutions logo, Kinetis, Fault flag cleared mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 48 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. − One-shot or continuous mode • Pulse width measurement • Period measurement
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 49 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Linear Successive Approximation algorithm with 8-, 10-, or 12-bit resolution Up to 16 external analog inputs, external pin inputs, and 5 internal analog inputs including internal bandgap, temperature sensor, and references Single or Continuous Conversion (automatic return to idle after single conversion) Operation in wait or stop3 modes for lower noise operation Automatic compare with interrupt for less-than, or greater-than or equal-to programmable value 8-entry channel FIFO and result FIFO to minimize the CPU overhead • Configurable FIFO depth from 2 to 8 entries as FIFO full condition • When channel FIFO is full: • For software trigger mode Immediately start the first channel conversion, after the previous conversion completes, start the next conversion until the conversion of the last channel in FIFO depth completed, set conversion complete COCO flag • For hardware trigger mode
− When the first trigger occurs, start the first conversion, after previous conversion completes and when the next trigger occurs, start the next conversion until all channels in FIFO depth completes conversion, then set conversion complete COCO flag
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 50 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. FIFO scan mode − Always use the first dummied channel in spite of the value in the input channel FIFO to simplify the dummy work of input channel FIFO − ADC conversion start to work in FIFO mode as soon as the first channel is dummied; when the previous conversion is completed, start the next conversion until the result FIFO is full and then set conversion complete COCO flag − In continuous conversion in which the ADC_SC1[ADCO] bit is set, the ADC starts next round of conversion immediately when all conversions are completed. Input channel FIFO Channel conversion
8 COCO = 1 FIFO Full H/W trigger Write ADC_SC1_ADCH N N
H/W trigger Write ADC_SC1_ADCH 2 2 H/W trigger Write ADC_SC1_ADCH 1 1
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 51 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. ADC hardware trigger selection • RTC overflow/ PIT overflow/FTM2 trigger (match trigger or initialization trigger) with 8-bit programmable delay
KE02 ADC triggers
RTC ovf 00
PIT ovf 01 ADC H/W trigger
Init trig 10 8-bit FTM2 delay 11 match trig
Bus clock 1/2 N ADHWT
NOTE: different devices may have different settings Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 52 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Compliant with IEC60730 safety standard Independent clock source • Internal 32 kHz RC oscillator • internal1 kHz RC oscillator • External clock 16 -bit Programmable timeout period with optional fixed 256 clock prescaler when longer timeout periods are needed Robust write sequence for counter refresh Refresh sequence of writing 0x02A6 and then 0x80B4 MUST be within 16 bus clocks
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 53 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Window mode option for the refresh mechanism − Programmable 16-bit window value 7 − Provides robust check that program flow is faster than expected T0 Twindow Toverflow − Early refresh attempts trigger a reset Robust write sequence for unlocking write- once configuration bits − Configuration bits and registers are write-once- after-reset, to ensure watchdog configuration cannot be mistakenly altered − Unlock sequence of writing 0x20C5 and then 0x28D9 within 16 bus clocks for allowing updates to write-once configuration bits • Flexible test mode enabling fast testing watchdog in the safety environment (either high 8-bit counter or lower 8-bit counter for comparison) • Backup reset to prevent hardware lockup condition driven by bus clock
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 54 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. 16/32-bit CRC code for error Name Poly Seed Final Type of Type of Standards detection XOR Transpose Transpos Programmable 16/32-bit ? for Input e for CRC initial seed value Read Programmable 16/32-bit CRC-16 0x1021 0xFFFF No No transpose No CRC- transpose CCITT, polynomial (ITU-T ADCCP, V.41) SDLC/HDL Reverse input and output C data by bit in a byte (no byte 0x0000 (ITU-T reverse) T.30, Final complement output of X.25) CRC-16 0x1021 0 No Transpose Transpose CRC-CCITT result only bits in a only bits in (Kermit) byte a byte XMODE 0x8408 0x0000 No Transpose Transpose XMODEM M only bits in a only bits in byte a byte ARC 0x8005 0x0000 No Transpose Transpose ARC (zip only bits in a only bits in file) byte a byte CRC-32 0x04C 0xFFFF Yes Transpose Transpose PKZIP, 11DB7 FFFF only bits in a both bits AUTODIN byte and bytes II, Ethernet, FDDI
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 55 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Positive Input0
M Input1 Falling edge interrupt U Enabl Edge X e Rising edge interrupt Control + Either edge interrupt Negative - Pin-out Hyste M ris FTM1 ch0 U 6b DAC X SCI0 input
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 56 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • GPIO is similar to KL series with addition of Port Input Disable Register − For GPIO input, need clear these bits • Port control is different from KL series − Up to 8 high driver pins, each can be enabled to offer high drive (20mA) − 2 true open -drain pins, need pull -up to drive high level − Support glitch filter with programmable width from LPO ( divided by 1, 2,…,128) or bus clock (divided by 2, 4,…, 4096) − Internal pullup can be disabled or enabled individually − Has one maskable IRQ pin in addition to NMI pin
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 57 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Support 1 or 2 STOP bits Programmable 8-bit or 9-bit character Support LIN protocol length Double-buffered transmitter and Two wakeup mode receiver with separate enables idle-line Full-duplex, standard non-return-to- address-mark zero (NRZ) format Optional 13-bit break character Programmable 13-bit baud rates generation / 11-bit break character Interrupt-driven or polled operation detection Configurable transmitter output polarity − Transmit data register empty and transmission complete Input can be from ACMP − Receive data register full Output can be modulated by FTM − Receive overrun, parity error, framing error, and noise error 6ACMP e − Idle receiver detect FTM0 6 − Active edge on receive pin − Break detect supporting LIN Hardware parity generation and checking
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 58 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Master mode or slave mode operation • Full-duplex or single-wire bidirectional mode • Programmable transmit bit rate • Double-buffered transmit and receive data register • 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
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 59 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. 16-bit up-counter and 16-bit modulo match register Software controllable periodic interrupt on match • Selectable clock sources for input to prescaler • External clock: XOSC • LPO (~1 kHz) • Bus clock programmable 16 bit prescaler can be binary-based or decimal- based • 1,2,4,8,16,32,64,128,256,512,1024,2048, 100,1000 Can work in stop mode to wake up MCU RTC overflow signal can trigger to ADC RTC overflow can toggle output on pin RTCO
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 60 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. an array of 32-bit count-down-to-0 timers that can be used to raise interrupts and triggers KE02 has two timers in a PIT 64-bit timer Each timer can work independently Two timer can be chained to form a 64-bit Timer 1 Timer0 timer A timer can be programmed to function in debug mode
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 61 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Compatible with The I2C-Bus Specification and SMBus spec version 2 • Slave address can be 7-bit or 10-bit • Support general call recognition, alert response and so on • Programmable bus low and high timeout • Bit rate up to 100kbps at maximum bus loading Multimaster operation Software programmable for one of 64 different serial clock frequencies 5-bit glitch input filter Range slave address recognition Automatic switch to slave mode when bus arbitration lost and interrupt generation Calling address identification interrupt Bus busy detection Low power mode wakeup on slave address match Acknowledge bit generation and detection START and STOP signal generation and detection Repeated START signal generation and detection
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 62 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Order Now $12.95 Freedom Platform (FRDM(FRDM--KE02Z)KE02Z)
The Freescale Freedom development platform is a set of software and hardware tools for evaluation and development. It is ideal for rapid prototyping of microcontroller-based applications. The Freescale Freedom KE02Z hardware, FRDM-KE02Z, is a simple, yet sophisticated design featuring a Kinetis E Series microcontroller, the industry’s 5V microcontroller built on the ARM® Cortex™-M0+ core.
Features: MKE02Z64VQH2 MCU – 20MHz, 64KB Flash, 4KB SRAM, 64QFP Capacitive touch slider, MMA8451Q accelerometer, Tri-color LED Flexible power supply options – USB, external source Easy access to MCU I/O IrDA transmitter and receiver Thermistor sensor to measuring temperature Form factor compatible with Arduino ™ R3 pin layout New, OpenSDA debug interface Mass storage device flash programming interface (default) – no tool installation required to evaluate demo apps P&E Debug interface provides run-control debugging and compatibility with IDE tools CMSIS-DAP interface: new ARM standard for embedded debug interface Refer to the FRDM-KE02Z User’s Manual and OpenSDA User’s Guide for more information. Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 64 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Software Tools − CW10.4 with KE02 service pack − IAR 6.60.1 − Keil uVision4 (v4.72) − Atollic TrueSTUDIO® for ARM ( http://www.atollic.com ) − Crossworks for ARM from Rowley Associates Limited − ProcessorExpert − IEC60730 compliant library ( Class B Safety S/W routines certified by VDE) − Motor control library − Software Driver (SSD) for Flash and EEPROM − KE driver library Hardware Tools − FRDM-KE02 − Freedom to motor tower board (FRDM2TWRMC-KE) − Debug interfaces: Jlink, U-link, UMultilink, OpenSDA − P&E Cyclone MAX Reference Design Sensorless BLDC motor control based on KE02 and motor tower
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, board mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 65 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Get to know KE02 freedom Reset Button USB OpenSDA IrDA
Arduino R3 Arduino R3 compatible compatible I/O Header I/O Header
Accelerometer KE02Z64VQH2 Thermistor Arduino R3 compatible I/O Arduino R3 Header compatible I/O Header RGB LED Touch Slider
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 66 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • Max bus speed = 20 MHz (Future E-series will run at 48 MHz) • No DMA • Added EEPROM (Not on all future devices • True 5V I/O • Limited Low power modes (Wait and Stop)
• Similarities − Cortex M0+ core − Debug tools
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 68 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. • KE peripheral driver software library available • No Micro trace buffer (MTB) • Only Freedom boards available
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 69 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Feature Feature Benefit to customer category Robust Improved 5V I/O pad with Better EMC performance digital filter and system robust in the harness environment and easy for PCB layout Safety IEC60730 compliant Makes system more safer watchdog, CRC and certified while reducing system cost IEC60730 safety S/W library by removing external BOM Fast processing Single cycle 32bx32b ARM Much higher performance Cortex-M0+ core than M0, and 8/16-bit MCU with more CPU bandwidth for processing additional tasks Fast response Nested Vectored Interrupt True hardware interrupt Controller nesting and less interrupt latency than M0 and 8/16-bit
Freescale, the Freescale logo,MCUs AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 71 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Feature Feature Benefit to customer category Fast response 12-bit x 16ch SAR ADC Provide faster sampling rate, with 8-entry FIFO higher resolution, and faster response Fast response 2x ACMP with 6-bit DAC Provide over-current, over- voltage protection as well as zero -crossing detection for full voltage range. PWM cycle can be reset at each commutation boundary to reduce speed dithering in high speed applications. Make sensorless BLDC motor operation more smoother Fast response Bit manipulation engine Support bit-band on peripherals that extends the core instructions and generates more efficient
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 72 Reg. U.S.code Pat. & Tm. Off. Airfast, with BeeKit, BeeStack, fast CoreNet, Flexis, execution Layerscape, MagniV, MXC, Platform intime a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Feature Feature Benefit to customer category Fast response Single cycle fast GPIO Provide faster response bit- banging and software protocol emulation without additional BOM Motor control 6-ch 16-bit Flextimer Make motor control easier optimized for motor control with sync to ADC via PDB High drive Up to 8 high drive pins with Provide direct connection to each supporting 20mA LED drive circuit without additional cost Data Up to 256B EEPROM with Provide longer life time of the endurance 500K endurance cycles NVM SMBus SMBus compatible IIC Make SMBus connection easier without additional overhead Scalable & Wide range of packages Makes code easy to reuse and Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Pin-CompatibleTM with pin-compatible 73 Reg. U.S. Pat. & platformTm. Off. Airfast, BeeKit, BeeStack, design CoreNet, Flexis, Layerscape, easier MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. Feature Feature Benefit to customer category Low PCBA cost 0.8mm pitch package Cost down PCBA process (64QFP) Lost cost CW special edition free for Cost down development development 64KB tool
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PEG, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., TM 74 Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, Layerscape, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, Tower, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2013 Freescale Semiconductor, Inc. TM