i.mx6 with zigbee
TRANSCRIPT
External Use
TM
i.MX6 with Zigbee
Subtitle of Presentation
A p r i l . 1 0 . 2 0 1 5
Carl Chien | Sr. FAE
TM
External Use 1
Agenda
• i.MX Roadmap Update
• i.MX6SoloX Overview
• i.MX6Q SabreSD with Zigbee KW20
• Live Demo
• Q&A
TM
External Use 2
i.MX Applications Processor Family Roadmap
i.MX3x
i.MX2x
i.MX5x
2014 2015 2016
ARM v7
Execution Production
Proposal
Product Qual
Samples
Planning
ARM v7/v8
i.MX 7Solo
i.MX 7Dual
i.MX 6DualLite
i.MX 6Quad
i.MX 6Dual
2017 +
i.MX 6Solo
Vybrid
i.MX 6SoloLite
• upto 10X GPU
• upto 6 CPU’s
• Cortex M4 standard
• 40nm to 28nm
• 32b to 64b architecture
i.MX 6 to i.MX 8
i.MX 6SoloX
>22000 DMIPS
>256 GFLOPS
Vision
big.LITTLE
>15000 DMIPS
>128 GFLOPS
Vision
<10000 DMIPS
< 64 GFLOPS
Graphics:
8 Shaders
Graphics:
32 Shaders
i.MX SuperMax
Graphics:
4 Shaders
Pin
/ S
W c
om
pa
tib
le
i.MX 8 Future
Graphics:
16 Shaders i.MX 8QuadMax
i.MX 8QuadPlus8
i.MX 8QuadPlus4 Graphics:
4 Shaders
i.MX 8Quad
i.MX 8
Development
IC
Pin
/ S
W c
om
pa
tib
le
i.MX 6QuadPlus
i.MX 6DualPlus
i.MX 7ULP i.MX 6UL
Production Cortex-A8
Cortex-A9
ARM9
ARM11 A5+M4
A9+M4 A7 A7+M4 A57+A53+M4
A53+M4
TM
External Use 3
i.MX 6 Series: Supreme Scalability and Flexibility Leverage One Design Into Diverse Product Portfolio
Scalable series of Seven ARM Cortex-A based SoC Families
i.MX 6Solo i.MX 6Dual i.MX 6Quad
i.MX
6Solo
Family
i.MX
6Dual
Family
i.MX
6Quad
Family
i.MX 6DualLite
i.MX
6DualLite
Family
i.MX
6SoloLite
i.MX
6SoloLite
Family
i.MX 6SLX
Pin-to-pin Compatible
Software Compatible
i.MX
6SoloX
Family
i.MX 6UL
i.MX
6UltraLite
Family
TM
External Use 4 4
i.MX6SoloX
TM
External Use 5
i.MX 6Solo
i.MX 6Dual i.MX 6Quad
• Dual ARM Cortex-A9
up to 1.2GHz
• 1 MB L2 cache, Neon,
VFPvd16, Trustzone
• 3D graphics
with 4 shaders
• Two 2D GFX engines
• 64-bit DDR3 and 2-
channel 32-bit
LPDDR2 at 533MHz
• 1080p60 video
• PCIe (x1 lane)
• Gigabit Ethernet
• SATA-II
• Single ARM
Cortex-A9 up to 1GHz
• 512KB L2 cache,
Neon, VFPvd16,
Trustzone
• 3D graphics
with 1 shader
• 2D graphics
• 32-bit DDR3 and
LPDDR2 at 400MHz
• 1080p30 video
• Gigabit Ethernet
• PCIe (x1 lane)
• EPD controller
• Quad ARM Cortex-A9
up to 1.2GHz
• 1 MB L2 cache,
Neon, VFPvd16,
Trustzone
• 3D graphics
with 4 shaders
• Two 2D GFX engines
• 64-bit DDR3 and 2-
channel 32-bit
LPDDR2 at 533MHz
• 1080p60 video
• PCIe (x1 lane)
• Gigabit Ethernet
• SATA-II
• Dual ARM
Cortex-A9 up to 1GHz
• 512KB L2 cache,
Neon, VFPvd16,
Trustzone
• 3D graphics
with 1 shader
• 2D graphics
• 64-bit DDR3 and 2-
channel 32-bit
LPDDR2 at 400MHz
• 1080p30 video
• Gigabit Ethernet
• PCIe (x1 lane)
• EPD controller
• Single ARM®
Cortex™- A9 at 1GHz
• 256KB L2 cache,
Neon, VFPvd16,
Trustzone
• 2D graphics
• 32-bit DDR3 and
LPDDR2 at 400MHz
• 10/100 Ethernet
• EPD controller
i.MX 6DualLite
i.MX 6SoloLite
i.MX 6 Series At a Glance
Scalable series of six ARM Cortex A9-based SoC families
Red indicates change from column to the left
• Single Cortex™- A9
up to 1GHz
• Single Cortex-M4
up to 200MHz
• 256KB L2 cache,
Neon, VFP,
Trustzone
• 3D and 2D Graphics
• 32-bit DDR3 and
LPDDR2 at 400MHz
• Dual Gigabit
Ethernet
• PCIe (x1 lane)
i.MX 6SoloX
Pin-to-pin and Power Compatible
Software Compatible • ARM Cortex-A9 based solutions ranging up to 1.2GHz
• HD 1080p encode and decode (except 6SoloLite/6SoloX), 3D video playback in high definition (except 6SoloLite/6SoloX)
• Integrated IO’s may include HDMI v1.4, MIPI and LVDS, display ports, MIPI camera, Gigabit Ethernet, multiple USB 2.0, SATA and PCI-Express
• SW support: Google Android™, Linux®, QNX (3rd party), Windows® Embedded CE (3rd party)
TM
External Use 6
When to Choose i.MX 6SoloX vs. i.MX 6Solo/6SoloLite
Key Differences
Feature i.MX 6SoloLite i.MX 6SoloX i.MX 6Solo
CPU1 1GHz Cortex-A9 (2400 DMIPS) 800MHz -1GHz Cortex-A9 (2400 DMIPS) 800MH-1GHz Cortex-A9 (2400 DMIPS)
CPU2 - 166MHz-200MHz Cortex-M4 (208 DMIPS) -
On-chip memory 256KB L2 + 256KB SRAM 256KB L2 + 128KB SRAM 512KB L2 + 128KB SRAM
Serial Flash I/F SPI Dual DDR QuadSPI SPI
Raw NAND Flash I/F - 8-bit NAND BCH60 8-bit NAND BCH40
DRAM interface 32-bit LPDDR2/DDR3 @400MHz 32-bit LPDDR2/DDR3 @400MHz 32-bit LPDDR2/DDR3 @400MHz
Ethernet 1x 10/100 2x Gb AVB 1x Gb + 1588
PCIe - 1x PCIe 2.0 (x1 lane) *n/a on all packages 1x PCIe 2.0 (x1 lane)
USB 2 x USB OTG HS w/PHY
1 x HSIC
2 x USB OTG HS w/PHY
1 x HSIC
1x USB OTG HS w/PHY
1x USB Host HS w/PHY
2x HSIC
UART, SPI, I2C 5, 4, 4 6, 4, 4 5, 4, 4
SD/MMC interface 3x SD/MMC, 1x SDXC 3x SD/MMC, 1x SDXC 3x SD/MMC, 1x SDXC
12-bit ADC - 2x 12-bit ADC *n/a on all packages -
Camera Input 16-bit parallel 2 x 24-bit parallel CSI *n/a on all packages
Video ADC (NTSC/PAL) *n/a on all packages
20-bit parallel
1x MIPI CSI
GPU 2D GC320 Composition (600Mpxl/s) via GPU 3D (300Mpxl/s) GC320 Composition (600Mpxl/s)
GPU 3D - GC400T Open GLES 2.0
27M Tri/s, 133 Mpxl/s
GC880 Open GLES 2.0
53M Tri/s, 266 Mpxl/s
Video Decode via Software via Software 1080p30 + D1
Display interface 1x 24-bit RGB up to WXGA
1x EPDC
1x 24-bit RGB up to WXGA
1x LVDS *n/a on all packages
2x 24-bit RGB up to WXGA
1x LVDS, HDMI, MIPI DSI, EPDC
Package 13x13, 0.5P 14x14, 0.65P, 17 x17, 0.8P or 19x19, 0.8P 21 x 21, 0.8P
Qual. Tiers Commercial Commercial, Industrial, Automotive Commercial, Industrial, Automotive
Availability Now Now Now
Blue indicates feature advantage
TM
External Use 7
TM
External Use 8
i.MX 6SoloX “6X4” Block Diagram
CPU1 Platform System Control
Cortex-A9
Secure JTAG
PLL, Osc
Clock & Reset
NEON
Watch Dog x3
Timer x3
PWM x8
Internal Memory
ROM
RAM
Smart DMA
256KB L2-cache
32KB D-cache
Connectivity
MMC 4.4 / SD 3.0 x3
MMC 4.4 / SDXC
UART x6
I2C x4, SPI x5
ESAI, I2S/SSI x5
USB2 OTG & PHY USB2 OTG & PHY
S/PDIF Tx/Rx
NAND (BCH60)
Power Mgmt
LDO
IOMUX
Temp Monitor
ASRC
PTM
32KB I-cache
External Memory
16/32 LP-DDR2 /
DDR3 / DDR3L
USB2 HSIC Host
Security
RNG
TrustZone
Security Ctrl
Secure RTC
eFuses
Ciphers
2x 1Gb Ethernet
+ IEEE1588 +AVB
16-bit NOR
2x DDR Quad SPI
GPIO, Keypad
ADC
2 x12-bit ADC
2 x FlexCAN/FD
MLB25/50
Graphics
Graphics: OpenGL/ES 2.x,
OpenVG 1.x (on 3D GPU)
Imaging Processing
Resizing, Blending
Inversion / Rotation
Camera Interfaces
LCD Interfaces
24-bit RGB
24-bit Parallel RGB
BitBLT, DirectFB / GAL
1x PCIe 2.0 (x1 lane)
i.MX 6SoloX “6X4” • Specifications:
− CPU1: ARM Cortex-A9 at 800MHz-1GHz
− CPU2: ARM Cortex-M4 at 166MHz-200MHz
• Temp Range (Tj):
− Extended Commercial: -20 to 105C
− Industrial: -40 to 105C
− Automotive: -40 to 125C, AEC-Q100 Grade 3
• Key Features and Advantages
− Cortex-A9 to run open OS or RTOS
− Cortex-M4 for real-time response, system control / CAN messaging and low-
power system monitoring
− Support for 32-bit LPDDR2 and DDR3/DDR3L up to 400MHz (800MHz DDR)
− Multiple boot sources include managed NAND, raw NAND, parallel NOR and
2x DDR Quad SPI
− Multimedia:
Vivante GC400T GPU with separate 2D and 3D pipelines to support
OpenGLES 2.x / OpenVG 1.x
LVDS up to WXGA -1366x768@60Hz + 35% blanking, 85 MP/sec
LCDIF parallel 24bit RGB up to 1080p@60Hz
Video ADC (NTSC/PAL) or 2 x 24-bit parallel CSI
− Connectivity:
2 x 2-bit ADC
1x USB Host + 2 x USB OTG with PHY, USB HSIC for Modem Interface
2x Gb Ethernet with AVB for QoS
2x FlexCAN / CAN FD, 1x MLB25/50 (automotive only)
1x PCIe 2.0 (x1 lane)
Updated from i.MX 6Solo
Preliminary, subject to change
Cortex-M4, MPU, FPU
16KB D-cache 16KB I-cache
CPU2 Platform
64KB TCM
1ch LVDS
Analog TV-IN
TM
External Use 9
EVK for i.MX6 SoloX
TM
External Use 10
Enabling Faster Time to Market
i.MX 6SoloX
SABRE SDB
i.MX 6SoloX SABRE for
Automotive Infotainment • i.MX 6SoloX applications processor
• 1GHz Cortex-A9 processor
• 200MHz Cortex-M4 processor
• 19x19 BGA, 0.8mm pitch
• OS: Linux and Android (Cortex-A9), MQX (Cortex-M4)
• 1GB total x16 DDR3-800
• Dual DDR Quad SPI
• Mini-PCIe
• 2x GbE PHYs and 2x Ethernet RJ45 connectors
• 1x Type A USB, 1x Micro-AB USB
• 1x CAN connector
• 3x Full-size SD slots (boot/storage/Wi-Fi)
• Stereo audio codec, microphone input
• Accessory boards (available separately): 10.1”
capacitive multi-touch display (MCIMX-LVDS1), HDMI
card (MCIMXHDMICARD), Wi-Fi
• Availability:
• 4Q14 (general availability)
• Available to Tier 1 automotive OEMs
• i.MX 6SoloX applications processor
• 800MHz Cortex-A9 processor
• 166MHz Cortex-M4 processor
• 19x19 BGA, 0.8mm pitch
• OS: Linux and Android (Cortex-A9), MQX (Cortex-M4)
• 1GB total x16 DDR3-800
• Dual DDR Quad SPI
• 2x Ethernet connectors, mini/micro USB
• 2x Full-size SD slots (boot/storage/Wi-Fi)
• 2x CAN connectors, 1x MLB connector
• Analog video input
• 8ch audio codec, microphone input
• Support for terrestrial and satellite radio tuners, Wi-Fi, Bluetooth,
GPS, cellular modem, iAP authentication modules, MOST vehicle
networking, cameras and displays
• Accessory boards (available separately): 10.1” capacitive multi-
touch display (MCIMX-LVDS1), HDMI card (MCIMXHDMICARD),
Wi-Fi
i.MX 6 SoloX development tools are Freescale designed and Freescale supported
Preliminary, subject to change
TM
External Use 11
i.MX6SoloX SabreSD
TM
External Use 12
SABRE Platform based on i.MX 6SX Block Diagram
eCompass (MAG3110)
3- AXIS Accelerometer
(MMA8451Q)
GPS
i.MX 6SX
Applications
Processor
Cortex-M4@200Mhz
0.8mm BGA
Audio
CODEC
WiFi
and
Bluetooth®
Sensors
MIC
Speakers SDIO
UART
UART
USB host
PF100
Platform
Power
Management
IC
3G
Modem
2 x 16MB
QSPI
Nor Flash
DDR3 256Mb x16 x2
1GB
SSI
ESAI
l2C
C
SI
l2C
SD
IO
US
B
OT
G
RG
MII
CSI Camera
Device Storage
and Connectivity
ZigBee
RF4CE
QSPI
8GB
eMMC
Gb Ethernet
LVDS
RGB
UART1
UART2
Debug UART for A9
Debug UART for M4 JTAG
SDIO
TM
External Use 13
BSP for i.MX6 SoloX
TM
External Use 14
Linux BSP for i.MX6SoloX A9
L3.10.53-1.1.0 (Linux kernel : 3.10.53)
Documents (Linux BSP release note/user guide/porting guide/ reference
manual, graphics user guide, VPU API reference maunal, ..)
Pre-built images
Tools – MFG tool, unit_test
Multimedia Codecs (standard and limited access package)
• Limited Access packages are provided on freescale.com with controlled
access. Contact your marketing representative for access. They are listed
in the table below. These include codecs to support WMA, WMV, RMVB,
AAC+, AC3, DD+ decoding, and WMA encoding.
TM
External Use 15
Android BSP for i.MX6SoloX A9
kk4.4.3_2.0.0 (kitkat 4.4.3 release, Linux kernel : 3.10.53)
Documents (Android BSP release note, user guide, quick start
guide, graphics user guide, codec release note, FAQ..)
Pre-built images
Tools - MFG tool, unit_test
Android source code patch
− Freescale i.MX specific patches (apply to Google Android repo) to
enable Android on i.MX based boards. For example, Hardware
Abstraction Layer implementation, hardware codec acceleration, etc.
Freescale extended feature packages
TM
External Use 16
Extended Feature Packages for Android BSP
There are two packages available:
1. Extended Multimedia Feature Package
2. Wi-Fi Display Sink Feature Package
• Available for the release are several packages to extend the base
Android Multimedia features. For more information and details
about any of extended feature packages, please send inquiry to
• An un-supported source code package will be available to
approved customers via an extranet site. The source code
package is provided “as-is”.
TM
External Use 17
Multimedia Codecs for Android BSP
Follow Google Android 4.4 Compatibility Definition Document (CDD), Section 5 for multimedia codecs and features.
Extended and additional features include:
Local playback − Freescale Enhanced Codecs, Demultiplexer, and File Format support
MOV, AVI, ASF, FLV, MPEG-PS, MPEG-TS, real media(.rmvb/rm/ra), Microsoft (.wma/wmv/mkv), Dolby Digital
Recording
Streaming playback − HTTP
− RTSP
− RTP
− UDP
Subtitle support
In/out band SRT UTF-8
TM
External Use 18
Miracast
Miracast is a peer-to-peer wireless screencast standard formed via
Wi-Fi Direct connections in a manner similar to Bluetooth. It was
created by the Wi-Fi Alliance and billed as an open alternative to
Apple's AirPlay Mirroring. Both the sending and receiving devices
must be Miracast certified for the technology to work.
http://www.wi-fi.org/wi-fi-certified-miracast%E2%84%A2
Miracast allows a portable device or computer to send, securely, up
to 1080p HD video and 5.1 surround sound (AAC and AC3 are
optional codecs, mandated codec is LPCM — 16 bits 48 kHz 2
channels).
TM
External Use 19
Miracast Source/Sink-Automotive Infotainment
TM
External Use 20
FSL Optimized Miracast
FSL Optimized Miracast
Video Codec
Miracast Source/Sink Data Flow
Screen
Capture
Audio Codec
Audio
Capture
Packetized Elementary Steam
(PES)
MPEG2-TS
RTP-UDP-IP
Wifi driver
Network Stack
HDCP
S
o
u
r
c
e
Video Codec
Screen
Capture
Audio Codec
Audio
Capture
Packetized Elementary Steam
(PES)
MPEG2-TS
RTP-UDP-IP
Wifi driver
Network Stack
HDCP
S
i
n
k
TM
External Use 21
Miracast Sink for Android BSP
Android Jelly Bean 4.2 or later version adds Miracast Source support by default. Freescale expands the software to support Miracast Sink: Wi-Fi P2P
RTSP streaming decoding (up to 1080P resolution)
Compatible for variable Wi-Fi cards
• Silex AR6233X SDIO card (Atheros AR6103)
• Realtek 8723AS SDIO card
Delivery:
• Freescale proprietary java archive and native library
• Simple APIs to customize Miracast Sink Application.
• Demo Sink Application
Non- Supported features: (both are options)
• TDLS (Tunneled Direct Link Setup)
• HDCP (High-bandwidth Digital Content Protection)
TM
External Use 22
MQX RTOS for i.MX6SoloX M4
MQX RTOS 4.1.0
Documents (Release note, user guide)
BSP/examples source code (in one .exe file/package installer)
No pre-built image
Tools (check MQX for latest version tool)
TM
External Use 23 23
i.MX6Q SabreSD with Zigbee KW20
TM
External Use 24
Freescale i.MX 6 series Development Systems
SABRE Board for
Smart Devices SABRE Platform for
Smart Devices
P/N: MCIMX6Q-SDB
• Cost-effective ($399),
open source
development platform
• Designed to simplify
product evaluation
P/N: MCIMX6Q-SDP
MCIMX6DL-SDP
• Smart Device Market-
focused
• Form-factor ready to
accelerate design & time to
market ($999)
SABRE Platform for
Automotive Infotainment
P/N: MCIMXABASEV1
MCIMX6SAICPU1
MCIMX6QAICPU1
• Automotive Market-focused
• Standard base board ($699)
and adaptable CPU card
($799) system
TM
External Use 25
SABRE Platform based on i.MX 6 Block Diagram
Compass
Gyro
Accelerometer
Multi-Format
Radio
RF
RF
GPS Zigbee
i.MX 6
Applications
Processor
1.2Ghz
Dual 1080p Video
Triple Play Graphics
0.8mm BGA or 0.4mm POP
Audio
CODEC
WiFi
and
Bluetooth®
Sensors
LVDS
Dual MIC
Speakers SDIO
UART
UART
USB ULPI
PF100
Platform
Power
Management
IC
3G
Modem
Flash
Memory
Dual LP-
DDR2 or
Dual DDR3
DRAM up to 2GB
SSI
ESAI
l2C
MIP
I
CS
I
l2C
H
DM
I
SA
TA
SD
IO
US
B
SP
,
HS
I I
I2S
3D (Dual) Camera
Dual
Displays
Device Storage
and Connectivity
Wireless
charging/docking
station
MCU MCU
l2C
Cap
Touch
Sensors
TM
External Use 26
Philips Hue Light toggled through Zigbee KW20
Debug console (USB-to-UART)
USB OTG connected Zigbee KW20 USB dongle
i.MX6Q SabreSD board
Phillip Hue light
TM
External Use 27
Linux Kernel for Zigbee KW20 USB dongle
Device DriversUSB supportUSB Modem (CDC ACM) support
TM
External Use 28
/dev/ttyACM0 will be a device as a virtual com for Zigbee
USB dongle
usb 1-1: USB disconnect, device number 2
usb 1-1: new full speed USB device number 3 using fsl-ehci
usb 1-1: device v15a2 p0300 is not supported
cdc_acm 1-1:1.0: This device cannot do calls on its own. It is not a modem.
cdc_acm 1-1:1.0: ttyACM0: USB ACM device
ehci_fsl_bus_resume begins, Host 1
ehci_fsl_bus_resume ends, Host 1
ehci_fsl_bus_suspend begins, Host 1
ehci_fsl_bus_suspend ends, Host 1
TM
External Use 29
Issue commands through Zigbee dongle (coordinator) to
control Philips Hue light (end-node)
Send factory reset to Philips Hue light
echo -en '\x02\xA3\x52\x03\xC0\x01\x10\x23' > /dev/ttyACM0
echo -en '\x02\xA3\x52\x03\x80\x01\x08\x7B' > /dev/ttyACM0
(Repeat this command to On/off toggle Philips Hue light)
echo -en
\x02\x70\x50\x10\x02\xFF\xFF\x00\x00\xD0\x00\x00\x00\x0B\x06\x00\x08\x00\x05\x02\xE
0' > /dev/ttyACM0
TM
External Use 30
Live Demo
TM
© 2014 Freescale Semiconductor, Inc. | External Use
www.Freescale.com
TM
External Use 32
HSDK
TM
External Use 33
i.MX 6SoloX Devices, Major Differences
Consumer Devices Industrial Devices Automotive Devices
Tj -20C to 105C -40C to +105C -40C to +125C
Cortex-A9 1GHz 800MHz 800MHz
Cortex-M4 200MHz 166MHz 166MHz
Other Features 2x GbE, CAN
Parallel LCD
2x GbE, CAN
Parallel LCD
2x GbE, CAN, MLB
Parallel LCD
6X1 6X3 6X2 6X3 6X4 6X1 6X3 6X2 6X3 6X4 6X1 6X4
GPU N Y N Y Y N Y N Y Y N Y
Pin Compatible Pin Compatible Pin Compatible Pin Compatible
Package
17x17 VO
0.8mm pitch
400-ball
OR
14x14 VK
0.65mm pitch
400-ball
17x17 VN
0.8mm pitch
400-ball
19x19 VM
0.8mm pitch
529-ball
17x17 VO
0.8mm pitch
400-ball
17x17 VN
0.8mm pitch
400-ball
19x19 VM
0.8mm pitch
529-ball
17x17 VO
0.8mm pitch
400-ball
19x19 VM
0.8mm pitch
529-ball
PCIe n/a Y Y n/a Y Y n/a Y
LVDS n/a n/a Y n/a n/a Y n/a Y
Parallel CSI 8-bit via RGMII2 8-bit via RGMII2 20-bit 8-bit via RGMII2 8-bit via RGMII2 20-bit 8-bit via RGMII2 20-bit
SDIO 3 3 4 3 3 4 3 4
Analog Camera n/a n/a Y n/a n/a Y n/a Y
12-bit ADC Y n/a Y Y n/a Y Y Y
Pin compatibility within package type
No pin compatibility across packages
VO = pin compatible options
VN = pin compatible options
VK = pin compatible options