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

Freescale Semiconductor, Inc.
Product Brief
Document Number: KM3XPB
Rev. 0, 06/2015
Kinetis KM3x – Metrology MCUs based on
ARM® Cortex®-M0+ Core
Up to 256 KB Flash and 32 KB SRAM
1. Kinetis M family
Kinetis KM metering MCUs expand the successful line
of Kinetis MCUs based on the ARM® Cortex™-M0+
core. The KM series supports low-cost, highly
integrated solutions for one-, two-, and three- phase
meters with a high accuracy sigma-delta ADC metering
front end.
Kinetis KM metering MCUs address specific regional
needs including neutral disconnect or split phase for
North America and Japan. Full metrology software,
including time or filter based, is provided as well as fast
Fourier transform. These devices include high
electrostatic discharge immunity with high accuracy
RTC with less than 5 ppm drift over temperature.
Standard Tower System boards and regional reference
designs with complete software libraries are available
for design evaluation.
2. Kinetis KM3x subfamily
The Kinetis KM3x MCU family adds a segment LCD
controller in addition to the Kinetis KM1x series. The
Kinetis KM3x MCU family includes KM33 series and
KM34 series with the key difference of 24 bit sigmadelta model number to address metering requirement
from different region.
© 2015 Freescale Semiconductor, Inc. All rights reserved.
Contents
1.
2.
3.
4.
5.
6.
7.
8.
Kinetis M family ................................................................ 1
Kinetis KM3x subfamily .................................................... 1
Kinetis Km3x family key features ...................................... 2
Kinetis KM3x family feature summary .............................. 4
Kinetis KM3x family block diagram .................................. 5
KM3x family common features .......................................... 5
Kinetis KM3x family differences ....................................... 6
Comprehensive enablement solutions ................................ 7
8.1. Kinetis software development kit (SDK) .................... 7
8.2. Processor Expert ......................................................... 7
8.3. Integrated development environments (IDE) .............. 7
8.4. Online enablement with ARM mbed™ development
platform ................................................................................. 7
8.5. Freescale MQX™ Lite RTOS ..................................... 7
8.6. Development hardware ............................................... 8
9. Part identification ............................................................... 9
9.1. Description .................................................................. 9
9.2. Format ......................................................................... 9
9.3. Fields .......................................................................... 9
10. Orderable part numbers .................................................... 10
11. Revision history ................................................................ 11
Kinetis Km3x family key features
•
•
KM33 – With up to 50 MHz Cortex M0+ core, up to 128 KB flash and 16 KB SRAM, featuring
3x 24-bit sigma-delta ADC models, 16-bit SAR ADC, and high accuracy internal VREF. Up to
100 pins package offering 36x8/40x4 segment LCD
KM34 – With up to 75MHz Cortex M0+ core, up to 256 KB Flash and 32 KB SRAM, featuring
4x 24-bit sigma-delta ADC models, 16-bit SAR ADC, and high accuracy internal VREF. Up to
144 pins package offering 56x8/ 58x6/ 60x4 segment LCD
3. Kinetis Km3x family key features
•
Core
— ARM® Cortex®-M0+ core up to 75 MHz
— Memory-mapped Arithmetic Unit (MMAU)
•
Memories
— 128 KB to 256 KB program flash memory
— 16 KB to 32 KB SRAM
•
Clocks
— FLL and PLL
— 4 MHz internal reference clock
— 32 kHz internal reference clock
— 1 kHz LPO clock
— 32.768 kHz crystal oscillator in iRTC power domain
— 1 MHz to 32 MHz crystal oscillator
•
Low power features
— 13 power modes to provide power optimization based on application requirements
— 7.69 mA @ 75 MHz run current
— Less than 124.4 μA/MHz very low power run current
— 6.05 μA very low power stop current
— Down to 357 nA deep sleep current
— VBAT domain current < 1 μA with iRTC operational
— Low-power boot with less than 2.33 mA peak current
•
System peripherals
— Memory Protection Unit (MPU)
— 4-channel DMA controller
— Watchdog and EWM
— Low-leakage Wakeup Unit (LLWU)
— SWD debug interface and Micro Trace Buffer (MTB)
— Bit Manipulation Engine (BME)
— Inter-peripheral Crossbar Switch (XBAR)
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
2
Freescale Semiconductor, Inc.
Kinetis Km3x family key features
•
Analog
— Up to 4 AFE channels (4× 24-bit Sigma Delta ADCs with PGA)
— 16-channel 16-bit SAR ADC with 4 result registers
— High-speed analog comparator containing a 6-bit DAC and programmable reference
input
— Internal 1.2 V reference voltage 10–15 ppm/℃
•
Communication interfaces
— 16-bit SPI modules
— Low power UART module
— UART module complying with ISO7816-3
— Basic UART module
— I2C with SMBus
•
Timers
— Quad Timer
— Periodic Interrupt Timer (PIT)
— Low Power Timer (LPTMR)
— Programmable Delay Block (PDB)
— Watchdog Timer
— External Watchdog Monitor (EWM)
— Independent Real Time Clock (iRTC)
•
Human machine interface
— Up to 4×60 (8×56, 6×58) segment LCD controller operating in all low-power modes
— General purpose input/output (GPIO)
•
Security and integrity modules
— Memory Mapped Cryptographic Acceleration Unit (MMCAU) for AES encryption
— Random Number Generator (RNGA), complying with NIST: SP800-90
— Cyclic Redundancy Check (PCRC)
— 80-bit unique identification number per chip
Operating conditions
— Voltage range: 1.71 to 3.6 V (without AFE)
— Voltage range: 2.8 to 3.6 V (with AFE)
— iRTC battery supply voltage range: 1.71 to 3.6 V
— Temperature range: –40 to 105 °C
•
•
Packages
— 144-pin LQFP 20×20 mm 0.5 mm pitch
— 100-pin LQFP 14×14 mm 0.5 mm pitch
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
Freescale Semiconductor, Inc.
3
Kinetis KM3x family block diagram
4. Kinetis KM3x family feature summary
Table 1. Family feature summary
Sub-Family
KM33
KM34Z128
KM34Z256
CPU Frequency
50MHz
50MHz
75MHz
Memory-mapped
Arithmetic Unit (MMAU)
–
–
Yes
Flash Memory
64-128 KB
128 KB
256 KB
SRAM
16 KB
16 KB
32 KB
Memory Mapped
Cryptographic
Acceleration Unit
(MMCAU)
–
–
Yes
Inter Peripheral Crossbar
In/Out
5/5 - 9/9
9/9
9/9 - 11/11
Segment LCD
20x8/ 22x6/ 24x4 – 36x8
/38x6 /40x4
36x8/ 38x6/ 40x4
36x8/ 38x6/ 40x4 56x8/ 58x6/ 60x4
Analog
24bit ADC, 16bit ADC, PGA,
CMP w/ 6bit DAC, VREF
24bit ADC, 16bit ADC,
PGA,
CMP w/ 6bit DAC, VREF
24bit ADC, 16bit ADC, PGA,
CMP w/ 6bit DAC, VREF
Connectivity
UART w/ ISO7816, SPI,
I2C
UART w/ ISO7816
SPI, I2C
UART w/ ISO7816, LPUART,
SPI, I2C
Package
64LQFP, 100LQFP
100LQFP
100LQFP, 144LQFP
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
4
Freescale Semiconductor, Inc.
KM3x family common features
5. Kinetis KM3x family block diagram
Core
System
ARM Cortex-M0+
Up to 75MHz
Memory
Watchdog
Measurement Front End
64-256KB Flash
Up to 3 x
HSCMP
4 x 24 bit Sigma
Delta ADC
16-32KB SRAM
16ch, 16bit
SAR ADC
Up to
4 x PGA
Phase Shifter
BME
SWD Interface
MTB
Low-Leakage
Wakeup Unit
Interrupt
Controller
MMAU
Inter Peripheral
Crossbar
1.2V VREF
EWM
PDB
MPU
Security
16/32 Cyclic
Redundancy
Checks
MMCAU
Display
Segment LCD
Controller (Up
to 448
Segments,
56x8)
Communication Interfaces
Timers
4x Quad Timer
2 x 16bit SPI
2 x I2C
Low Power Timer
Up to 5 x UARTs
(2 x ISO7816, 1 x
LPUART)
Up to 99 GPIO
Clocks
Phase Locked
Loop
Frequency Locked
Loop
Random
Number
Generator
2 x Periodic
Interrupt Timers
Tamper
Detection
IRTC on vBatt
with T° comp.
Low/High
Frequency
Oscillators
Programmable
Delay Block
Internal Reference
Clocks
Optional
LQFP
LQFP
100
144
Figure 1. Kinetis KM3x family block diagram
6. KM3x family common features
The following features are present on all KM3x MCUs:
• 2-pin serial wire debug (SWD), micro trace buffer (MTB)
• 4-channel DMA controller
• Integrated bit manipulation engine (BME)
• Random number generator
• Low- and high-frequency OSC
• iRTC, with 32KHz OSC, tamper detection and temperature compensation
• 4ch Quad Timer, 2 PIT, 1 LPTMR
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
Freescale Semiconductor, Inc.
5
Kinetis KM3x family differences
•
•
•
•
•
•
•
High-speed analog comparator containing a 6-bit DAC for programmable reference input
Power management controller (PMC) with nine power modes
Non-maskable interrupt (NMI)
Software and COP watchdog
80-bit unique identification number per chip
Voltage range 1.71 V – 3.6 V
Temperature range (TA) -40oC – 105oC
7. Kinetis KM3x family differences
Table 2. Kinetis KM3x family differences
Subfamily
KM33
KM34Z128
KM34Z256
50MHz
50MHz
75MHz
–
–
Yes
64 KB/16 KB 128 KB/16 KB
128 KB/16 KB
256 KB/32 KB
LPUART
–
–
1
UART
2
2
2
UART w/ ISO7816
2
2
2
SPI
2
2
2
I2C
2
2
2
24-bit Sigma Delta ADC
(PGA number)
3(2)
4(2)
4(4)
16-bit ADC
(channels)
1(7 - 12)
1(12)
1(12 - 16)
CMP w/ 6bit DAC
2
2
3
Inter Peripheral Crossbar
In/Out
5/5 - 9/9
9/9
9/9 - 11/11
MMCAU
–
–
Yes
Segment LCD
20x8/ 22x6/ 24x4 –
36x8 /38x6 /40x4
36x8/ 38x6/ 40x4
36x8/ 38x6/ 40x4 56x8/ 58x6/ 60x4
Total GPIOs
38/68
68
72/99
64LQFP, 100LQFP
100LQFP
100LQFP, 144LQFP
Core
Frequency
Memory Mapped Arithmetic
Unit (MMAU)
Other
Analog
Modules
Communication
Interface
Flash / SRAM Size
Package
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
6
Freescale Semiconductor, Inc.
Comprehensive enablement solutions
8. Comprehensive enablement solutions
8.1. Kinetis software development kit (SDK)
•
•
•
Extensive suite of robust peripheral drivers, stacks, and middleware.
Includes software examples demonstrating the usage of HAL, peripheral drivers, middleware,
and RTOSes.
Operating system abstraction (OSA) for Freescale MQX™ Lite RTOS, FreeRTOS, and Micrium
uC / OS kernels and bare-metal (no RTOS) applications.
8.2. Processor Expert
•
•
•
Free software generation tool for device drivers / start-up code
Seven steps from project creation to debug – dramatically reduces development time
Available within Kinetis Design Studio or as a standalone plug-in for IAR/Keil/GNU IDEs
8.3. Integrated development environments (IDE)
•
•
•
•
•
•
Freescale Kinetis Design Studio IDE
— No-cost integrated development environment (IDE) for Kinetis MCUs
— Eclipse and GCC-based IDE for C / C++ editing, compiling, and debugging
IAR Embedded Workbench®
iar.com/kinetis
®
ARM Keil Microcontroller Development Kit
keil.com/freescale
®
®
Atollic TrueSTUDIO
atollic.com/index.php/partnerfreescale
Green Hills Software MULTI
ghs.com/products/MULTI_IDE.html
Broad ARM ecosystem support through Freescale Connect partners
8.4. Online enablement with ARM mbed™ development platform
•
•
•
Rapid and easy Kinetis MCU prototyping and development
Online mbed SDK, developer community
Free software libraries
8.5. Freescale MQX™ Lite RTOS
•
•
•
Free, light-weight MQX kernel customised for small resource MCUs
Packaged as a Processor Expert component
Upwards compatible with MQX RTOS
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
Freescale Semiconductor, Inc.
7
Comprehensive enablement solutions
8.6. Development hardware
Freescale Tower System development board platform is a modular development platform for 8-bit, 16bit, and 32-bit microcontrollers that enable advanced development through rapid prototyping. Featuring
multiple development boards or modules, the Tower System development board platform provides
designers with building blocks for entry-level to advanced microcontroller development.
USB
Power/
Open SDA
Potentiometer
SW3
Segment
LCD
Reset
Button
GPIO
SW1
KM34
JTAG/SWD
TWRPI
Analog
Inputs
IRDA
SW2
Accelerometer
K20
OpenSDA
Battery
Receptacle
Potentiometer
SPI NOR
FLASH
Temperature
Sensor
Y2 8 MHz
Osc
Y1 32 kHz
RTC Osc
Figure 2. Freescale Tower System development board platform
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
8
Freescale Semiconductor, Inc.
Part identification
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Tower-compatible microcontroller module
USB interface with Mini-B USB connector
Large 160-seg. glass LCD
On-board debug circuit: open source JTAG/SWD (OpenSDA) with virtual serial port
Three-axis accelerometer/anti tamper tilt sensor (MMA8451Q)
Four user-controllable LEDs
Two user pushbutton switches for GPIO interrupts
One user pushbutton switch for tamper detection
One user pushbutton switch for MCU reset
Potentiometer
Headers for direct GPIO and ADC access
External Tamper pins
Independent, battery-operated power supply for Real Time Clock (RTC) and tamper detection
modules
IRDA support
NTC temperature sensor
General-purpose Tower Plug-in (TWRPI) socket
9. Part identification
9.1. Description
The chip part numbers have fields that identify the specific part. You can use the values of these fields to
determine the specific part you have received.
9.2. Format
The device part numbers have the following format: Q KM## A FFF T PP CC (N)
9.3. Fields
The following table lists the possible values for each field in the part number. However, not all
combinations are valid.
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
Freescale Semiconductor, Inc.
9
Orderable part numbers
Table 3. Part number field descriptions
Field
Description
Values
Q
Qualification status
M = Fully-qualified, general market flow
P = Prequalification
KM##
Kinetis family
KM33
KM34
A
Key attribute
Z = Cortex-M0+
FFF
Program Flash memory size
64 = 64 KB
128 = 128 KB
256 = 256 KB
R
Silicon revision
(Blank) = Main
A = Revision after main
T
Temperature range
PP
Package identifier
C = =40°C – 85°C
o
o
V = -40 C – 105 C
LH = 64LQFP (10mm × 10mm × 1.4mm, Pitch 0.5mm)
LL = 100LQFP (14mm x 14mm × 1.7mm, Pitch 0.5mm)
LQ = 144LQFP (20mm x 20mm x 1.6mm, Pitch 0.5mm)
CC
Maximum CPU frequency (MHz)
N
Packaging type
5 = 50 MHz
7 = 75 MHz
R = Tape and reel
(Blank) = Trays
10. Orderable part numbers
Table 4. Ordering information
Product
Memory
Core and Security
Package
Analog and HMI
24 bit Sigma
Comparator LCD Segments
Delta ADC
(PGA number)
MC Part number
Freuency
MMAU
MMCAU
Flash
(KB)
SRAM
(KB)
MKM33Z64ACLH5
50MHz
-
-
64
16
64
LQFP
3(2)
2
20x8/22x6/24x4
38
MKM33Z64ACLL5
50MHz
-
-
64
16
100
LQFP
3(2)
2
36x8/38x6/40x4
68
MKM33Z128ACLH5
50MHz
-
-
128
16
64
LQFP
3(2)
2
20x8/22x6/24x4
38
MKM33Z128ACLL5
50MHz
-
-
128
16
100
LQFP
3(2)
2
36x8/38x6/40x4
68
MKM34Z128ACLL5
50MHz
-
-
128
16
100
LQFP
4(2)
2
36x8/38x6/40x4
68
MKM34Z256VLL7
75MHz
Yes
Yes
256
32
100
LQFP
4(4)
3
36x8/ 38x6/ 40x4
72
MKM34Z256VLQ7
75MHz
Yes
Yes
256
32
144
LQFP
4(4)
3
56x8/ 58x6/ 60x4
99
Pin Count Package
GPIOs
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
10
Freescale Semiconductor, Inc.
Revision history
11. Revision history
Revision number
Date
Substantive changes
0
06/2015
Initial release
Kinetis KM3x – Metrology MCUs based on ARM® Cortex®-M0+ Core, Product Brief, Rev. 0, 06/2015
Freescale Semiconductor, Inc.
11
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 are registered trademarks of ARM Limited (or its subsidiaries) in the
EU and/or elsewhere. mbed is a trademark of ARM Limited (or its subsidiaries) in the EU
and/or elsewhere. All rights reserved.
© 2015 Freescale Semiconductor, Inc.
Document Number: KM3XPB
Rev. 0
06/2015