AUTOSAR

advertisement
March, 2010
AUTOSAR
MCALs and OS implementation
Francisco Ramirez
Field Applications Engineer
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
Designing with Freescale
March, 2010
AUTOSAR
MCALs and OS implementation
Francisco Ramirez
Field Applications Engineer
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
► AUTOSAR
•
Overview
MCAL & OS layers
► CONFIGURATION
METHODOLOGY
► TOOLS
► AUTOSAR/OS
•
Design Process
Flow Chart
► EXAMPLE
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
AUTomotive Operative System ARchitecture
Application
Software
Component
Application
Software
Component
Application
Software
Component
Application Layer
Application
Software
Component
Memory
Services
Communication
Services
I/O Hardware
Abstraction
Onboard Device
Abstraction
Memory Hardware
Abstraction
Communication Hardware
Abstraction
Microcontroller Drivers
Memory Drivers
Communication Drivers
I/O Drivers
Basic Software
System
Services
Complex Driver
Operating System
AUTOSAR Runtime Environment (RTE)
Microcontroller
AUTOSAR Software “Packages” from Freescale
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
4
AUTOSAR partnership objectives
►(AUTomotive
Open System ARchitecture)
►Manage
increasing E/E complexity associated with growth in
functional scope
►Improve flexibility for product modification, upgrade and update
►Improve scalability of solutions within and across product lines
►Improve quality and reliability of E/E systems
►Enable detection of errors in early design phases.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
5
Worldwide, OEMs and Suppliers Participate in AUTOSAR
Core Partners
Associate
Members
CapeWare
Premium Members
OEM
Source:
Tier 1
Semiconductors
Standard
Software
Tools
, actual status at http://www.AUTOSAR.org
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
6
AUTOSAR – An Industry Standard
Phase I (2004 – 2006) Basic Software & RTE
Specification R2.0
Improvements R2.1
Release 2.0
2H 2005
Release 2.1
1H 2006
2005
2H 2006
2006
Phase II (2007 – 2009) Basic Software & RTE
Specification R3.0
Concepts R4.0
Specification R4.0
Release 3.0
1H 2007
2H 2007
2007
Improvements R4.0
Release 3.1
1H 2008
2H 2008
1H 2009
2008
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
Release 4.0
2H 2009
2009
TM
7
AUTOSAR BSW Architecture—Basic Layers
Application
Software
Component
Application
Software
Component
Application
Software
Component
Application Layer
Application
Software
Component
Complex Driver
Services Layer
ECU Abstraction Layer
Microcontroller Abstraction Layer
Basic Software
AUTOSAR Runtime Environment
Microcontroller
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
8
AUTOSAR BSW Architecture—Sub-Layers
Application
Software
Component
Application
Software
Component
Application
Software
Component
Application Layer
Application
Software
Component
AUTOSAR Runtime Environment (RTE)
Communication
Services
I/O Hardware
Abstraction
Onboard Device
Abstraction
Memory Hardware
Abstraction
Communication Hardware
Abstraction
Microcontroller Drivers
Memory Drivers
Communication Drivers
I/O Drivers
Basic Software
Memory
Services
Complex Driver
Operating System
System
Services
Microcontroller
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
9
Freescale‘s offering is based on AUTOSAR Basic Software
AUTOSAR software „product“ packages from Freescale
►
•
•
MCAL
Operating System
Application
Software
Component
Application
Software
Component
Application Application
Software
Software
Component Component
Application Layer
Memory
Services
Communication
Services
I/O Hardware
Abstraction
Onboard Device
Abstraction
Memory Hardware
Abstraction
Communication Hardware
Abstraction
Microcontroller Drivers
Memory Drivers
Communication Drivers
I/O Drivers
Basic Software
System
Services
Complex Driver
Operating System
AUTOSAR Runtime Environment (RTE)
Microcontroller
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
10
AUTOSAR MCAL Product
►
►
►
►
MCAL drivers + Flash EEPROM Emulation, compliant to Autosar 2.1 or 3.0
Autosar 2.1/3.0 MCAL releases do not contain RAM Test module
All components configurable in any AUTOSAR-compliant configuration tool
Including plugins for EB tresos StudioTM
Memory Hardware
Abstraction
Flash EEPROM
Emulation
LIN Driver
CAN Driver
FlexRay™ Driver
ICU Driver
PWM Driver
ADC Driver
DIO Driver
PORT Driver
LIN / SCI
CAN
FlexRay
Timer
PWM
ADC
DIO
PORTS
Internal Flash Driver
Flash
Microcontroller
Hardware
I/O Drivers
SPI Driver
MCU Driver
MCU
Power &
Clock Unit
Communication Drivers
SPI
Watchdog Driver
Memory Drivers
WDT
GPT
GPT Driver
Microcontroller Drivers
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
11
OS & System Services
Application
Software
Component
Application
Software
Component
Communication Hardware
Abstraction
Microcontroller Drivers
Memory Drivers
Communication Drivers
I/O Drivers
Microcontroller
System Services
• Provide functionality to be used by all other modules, e.g.,
diagnostic event manager (DEM), diagnostic error tracer (DET), operating system (OS)
• OS is a system service that is MCU dependent, i.e., has to be optimized for each MCU
• Other modules can be application and/or hardware dependent (e.g., ECU state manager)
Diagnostic Error
Tracer
Memory Hardware
Abstraction
Communication
Manager
Onboard Device
Abstraction
I/O Hardware
Abstraction
Operating System
Communication
Services
Basic Software (BSW)
Memory
Services
Complex Driver
Operating System
System
Services
Diagnostic Event
Manager
System Services
AUTOSAR Runtime Environment (RTE)
Watchdog
Manager
Application Layer
Function Inhibition
Manager
Application
Software
Component
ECU State
Manager
Application
Software
Component
CRC Library
AUTOSAR OS is OSEK/VDX™ OS plus:
• New core features
•Software and hardware counters
•Schedule tables with time synchronisation
•Stack monitoring
•
Protection features
•Timing protection, memory protection and service protection
•OS applications, trusted and non-trusted code
•Protection hook
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
12
OSEK OS (all conformance classes)
Counter Interface
Schedule Tables
Stack Monitoring
Protection Hook
Timing Protection
Global Time/Synchronization Support
OS Applications
Service Protection
CallTrustedFunction
Scalability Class 4
Scalability Class 3
Memory Protection
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
Scalability Class 2
Scalability Class 1
AUTOSAR OS Scalability Classes 1–4
TM
13
ElektroBit (EB) Tresos Studio
EB tresos Studio is a easy-to-use tool for ECU standard
software configuration, validation and code generation
Full support for the AUTOSAR standard
Full support for the Freescale AUTOSAR software and the
EB tresos AutoCore
Integrated, graphical user interface
► Based upon Eclipse and open standards
► Online-help and parameter-specific help
►
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
14
Parameter Description Files – EPD/EPC
Legend
EPD
AUTOSAR Files
BSW
Module
Description
Elektrobit Files
BSW Module
Configuration
read
Generated Files
EB tresos Studio
Configurator
write
EPC
read
read
EB tresos Studio
Generator
write
c, h
Generated
Code
read
c, h
templates
Code
Templates
Source: Elektrobit
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
15
Parameter Description Files – XDM
Legend
convert
XDM
EPD
BSW
Module
Description
read
AUTOSAR Files
Elektrobit Files
EPC
import/
export
BSW Module
Configuration
Generated Files
EB tresos Studio
Configurator
write
XDM
read
read
EB tresos Studio
Generator
write
c, h
Generated
Code
read
c, h
templates
Code
Templates
Source: Elektrobit
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
16
Main Window
Editor
Project
Browser
Node
Outline
Parameter
Information
Error & Problem
Messages
Source: Elektrobit
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
17
Parameter Description Files – XDM
EPD
XDM
Legend
AUTOSAR Files
BSW
Module
Description
read
EB tresos Studio
Config Editor
Elektrobit Files
BSW Module
Configuration
write
Generated Files
EPC
XDM
read
XDM is a proprietary format (EB)
providing enhanced usability
features during configuration with
EB tresos Studio.
read
EB tresos Studio
Generator
write
c, h
Generated
Code
read
c, h
templates
Code
Templates
Source: Elektrobit
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
18
Parameter Description Files – EPD/EPC
EPD
EPD
Legend
AUTOSAR Files
BSW
Module
Description
read
Any other
AUTOSAR-compliant
Config Editor
Elektrobit Files
BSW Module
Configuration
write
Generated Files
EPC
EPC
read
EPD is the standard AUTOSAR
format. This allows the Freescale
Autosar software to be used with
any other Autosar GCE tool.
read
EB tresos Studio
Generator
write
c, h
Generated
Code
read
c, h
templates
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
Code
Templates
TM
19
March, 2010
New Power Architecture
Solutions for Automotive Body Electronics
Francisco Ramirez
Field Applications Engineer
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
March, 2010
New Power Architecture: MPC560X
MPC560XB – Bolero for Body Electronics
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
►
Power Architecture™: e200 Core
•
•
•
•
•
►
Common Microcontroller System Features
•
•
•
•
•
•
•
•
•
►
Direct Memory Access
Crossbar
Memory Protection Unit
Phase Lock Loop
Power Control and Peripheral Clock Generation
Boot Assist Module
Memories
Pad Configuration
Interrupts
Peripheral Example Overviews
•
•
•
►
Key Characteristics
Programming Model
Auxiliary Processing Unit: Signal Processing Engine
Memory Management Unit
Cache
Timed I/O: Timers
Analog I/O: eQADC, ADC
Serial I/O: LIN, CAN, FlexRAY
Bolero Unique Features
•
•
•
ADC diagram block/functionality
Lightning PWM Channels
Bolero Roadmaps
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Enabling More Integration
Benefits:
Body Controller
(interior features +
lighting)
CAN Gateway
Fuses Box
Replacement
Central Body
Domain
Controller
•
•
•
•
•
Less modules, less cables
Reduced weight, fuel efficiency
Reduced manufacturing costs
Better quality
Lower total cost of ownership
RF Receiver
(key, tires)
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
23
32-bit Body Electronics MCU Roadmap
Available
In Design
MPC5668G/E
MPC5668G
2MB Flash, 592KB RAM
FlexRay, Ethernet, MediaLB
Planned
Proposed
High performance gateways
Dual-core 200z6+z0, 116MHz @105C
208MAPBGA
Application Performance / Integration
MPC5668E
2MB Flash, 128KB RAM, 6 CAN, 12LIN
MPC5510
e200z1, eDMA
e200z0 optional
48-66-80MHz
144/176LQFP
208MAPBGA
130nm
MPC5517x
1.5M Flash, 80 KB RAM
Up to 6 CAN, FlexRay, MLB
MPC564xB/C
e200z4 or e200z4+z0
80-120MHz
MPC5516x
1M Flash, 64KB RAM
Up to 6 CAN, FlexRay, MLB
MPC5515S
768KB Flash, 48 KB RAM
5 CAN, 6 eSCI
90nm
MPC5646B/C
3MB Flash, up to 256K RAM,
6 CAN, Flexray, Ethernet option
90nm
MPC5514E/G
512KB Flash
32K/64K RAM
MPC5604B/C
512KB Flash, 64KB Data flash
3/6 CAN, 32/48KB RAM
MPC5607B (w/ eDMA)
1.5M Flash, 64KB Data Flash
6 CAN, 96KB RAM
MPC560xB/C
MPC5606B (w/ eDMA)
1M Flash, 64KB Data Flash
6 CAN, 80KB RAM
e200z0
32, 48, 64MHz
64/100/144/176LQFP
90nm
MPC5605B (w/ eDMA)
768KB Flash, 64KB Data Flash
6 CAN, 64KB RAM
MPC5603B/C
384KB Flash, 64KB Data flash
3/6 CAN, 28-40KB RAM
MPC5602D
256K Flash, 64KB Data Flash
1 CAN, 20KB RAM
MPC5602B/C
256KB Flash, 64KB Data flash
3/6 CAN, 24-32KB RAM
MPC5601D
128K Flash, 64KB Data Flash
1 CAN, 16KB RAM
NOW
2011
2010
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
24
MPC5604B (Bolero 512K)
System
Integration
VReg
PIT 4ch 32b
Crossbar
Masters
Debug
JTAG
MCM
PowerPCTM
e200z0
Core
Power Mgt
Oscillator
FMPLL
Nexus 2+
• 3x enhanced FlexCAN
• 64 Message Buffers each, full CAN 2.0 spec
• 4x LINFlex
• 3x DSPI, 8-16 bits wide & chip selects
• 1x I²C
Memory Protection Unit (MPU)
Standby RAM
32K SRAM
64K Data
Flash
MEMORY
COMMUNICATIONS
CROSSBAR SWITCH
512K
Flash
• PowerPC e200z0 core running 48-64MHz
• VLE ISA instruction set for superior code density
• Vectored interrupt controller
• Memory Protection Unit with 8 regions, 32byte granularity
• 512Kbyte embedded program Flash, 64KByte data flash
• 64Kbyte embedded data Flash (for EE Emulation)
• Up to 64MHz non-sequential access with 2WS
• ECC-enabled array with error detect/correct
• 32Kbyte SRAM (single cycle access, ECC-enabled)
Interrupt
Controller
I/O
Bridge
CORE
Crossbar Slaves
Boot
Assist
Module
(BAM)
ANALOG
• 5V ADC 10-bit resolution
TIMED I/O
• 16-bit eMIOS module
Communications I/O System
OTHER
eMIOSLite CTU
6ch IC/OC
50ch PWM
36 ch
ADC
10bit
3
FlexCAN
4
LINFlex
3
DSPI
1
I2C
•CTU (Cross Triggering Unit) to sync ADC with PWM Channels
• Debug: Nexus 2+
• I/O: 5V I/O, high flexibility with selecting GPIO functionality
• Packages: 100LQFP, 144LQFP, 208MAPBGA (Development
only)
• Boot Assist Module for production and bench programming
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
25
MPC5607 (Bolero 1.5M)
CORE
System
Integration
VReg
PIT 4ch 32b
Crossbar
Masters
Debug
JTAG
MCM
• PowerPC e200z0 core running at up to 64MHz
• VLE ISA instruction set for superior code density
• Vectored interrupt controller
• Memory Protection Unit with 16 regions, 32byte granularity
•MEMORY
PowerPCTM
e200z0
Core
Power Mgt
Oscillator
FMPLL
Nexus 2+
DMA
Interrupt
Controller
• 1.5M byte embedded program Flash
• 64Kbyte embedded data Flash (for EE Emulation)
• Up to 64MHz non-sequential access with 2WS
• ECC-enabled array with error detect/correct
• 96Kbyte SRAM (single cycle access, ECC-enabled)
COMMUNICATIONS
• 6x enhanced FlexCAN
• 64 Message Buffers each, full CAN 2.0 spec
• 10 x LINFlex
• 6 x DSPI, 8-16 bits wide & chip selects
• 1 x I²C
CROSSBAR SWITCH
Memory Protection Unit (MPU)
ANALOG
I/O
Bridge
• Up to 52 ch 5V ADC (16x12-bit, 36x10-bit) resolution, CTU (Cross
Triggering Unit) to sync with PWM Channels
Standby RAM
1.5M
Flash
96K SRAM
64K Data
Flash
Crossbar Slaves
Communications I/O System
Boot
Assist
Module
(BAM)
TIMED I/O
• 16-bit eMIOS module, 64ch.
•Counter / OPWM / IC/OC– 10ch
•O(I)PWM / OPWFMCB / IC/OC–7ch
•O(I)PWM / IC/OC - 19 ch
•OPWM / ICOC – 28 ch
eMIOS
64ch, 16 bit
CTU
OTHER
Up to 52 ch
ADC
16x12bit,
36x10 Bit
6
FlexCAN
10
LINFlex
6
DSPI
1
I2C
• 32 Channel DMA Controller
• Debug: Nexus 2+
• I/O: 5V I/O, high flexibility with selecting GPIO functionality
• Packages: 100LQFP, 144LQFP, 176LQFP, 208MAPBGA (TBD)
• Boot Assist Module for production and bench programming
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
26
Power Architecture: e200 Core
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Power Architecture e200 Core Family Key Characteristics
► Synthesizable
► Additional
Power Architecture™ cores with Power ISA 2.03
supported instructions
•
SPE – Signal Processing Engine: DSP, SIMD and vector floating point
•
VLE – Variable Length Encoding: for improved code footprint
► Standard
interfaces:
•
AMBA bus, which has a large following in the licensable-IP community
•
Nexus debug interface (ISTO 5001)
► Leverages
Power Architecture tools and software ecosystem
•
Hardware and software development tools are available.
•
Development support is available from leading tools vendors providing
compilers, debuggers and simulation development environments.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
e200 Power Core Platform
Highly modular core
•
•
•
•
►
add DSP & FP, cache,
pre-fetch buffers
packaging, module library, peripherals
single and dual core options
Future
Versions
Z7 preliminary
Cost reduction through maximum re-use
•
•
•
same tools, drivers, application code
cross-application platform with 1 core
60MHz – 2 x 300MHz, 256K – 8MB
Z4
Z3/Vector
Z0/Z1
•First embedded
PowerPC processor
•Separate products for
embedded and computing
markets
•32 bit PowerPC Book
Single-issue, 4-stage
•32-Bit AMBA AHB bus
•SPE and SPFP APUs
•16-entry unified MMU
•Optional Harvard cache
(4 KB – 16K)
Z6
•32 bit PowerPC Book E
•Single-issue, 7-stage
•64 bit AMBA AHB Bus
•EFP and SPE APUs
•Unified 32KB Cache
•8-way set-associative
•32-entry unified MMU
•32 bit PowerPC Book E
•Dual-issue, 10 stage
•64/128-Bit bus
•Single Precision FP and
SPE SIMD APUs
•Harvard L1 caches and
optional L2
•Large MMU
•Next Generation
•64 bit, 3+ GHz
86XX
*
ure
s)
t
n
c
o
e licati
t
i
rch App
A manc
e
l
b for
e
ti h Per
a
p Hig
m
o riven
C
e ed
•32 bit PowerPC Book
Single-issue, 5-stage
•32-Bit AMBA AHB bus
•SPE and SPFP APUs
•16-entry unified MMU
•Optional Harvard cache
(4 KB – 16K)
r ctur
a
tw ite
f Arch
o
S ower
(P
Performance
►
Increased Integration / Advanced Process Technology
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
Original Slide by J. Shockey
TM
e200z Core Roadmap
10-stage pipeline
Up to 32k cache
Performance / Features
Dual Issue /VLE
7-stage pipeline
Up to 32k cache
e200z6
rain
t
r
e
Pow
&
sis
s
a
h
C
7-stage pipeline
e200z7
Up to 32k cache
266MHz
FPU
VLE
e200z6
5-stage pipeline
200MHz
Up to 16k cache
FPU
SIMD
Dual Issue / VLE
e200z4
144MHz
FPU
SIMD
SIMD
120MHz
4-stage pipeline
FPU
VLE
e200z3
4-stage pipeline
80MHz
VLE
FPU
SIMD
SIMD
Body s
ronic
t
c
e
l
E
e200z1
4-stage pipeline
80MHz
VLE Only
e200z0
80MHz
2004
2005
2007
2006
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
30
This document contains forward-looking statements based on current expectations, forecast and assumptions of Freescale that involves risk and uncertainties. Forward looking statements are subject to risk and
uncertainties associated with Freescale business that could cause actual results to vary materially from those stated or implied by such forward-looking statements.
Dhrystone Comparative Performance
Core
DMIPS/MHz
e200 z4d
2.79
e200 z7
2.42
e500 v2
2.40
SH-2A
2.40
QCOM Scorpion
2.10
Cortex A8
2.00
Cortex A9
2.00
IBM 464
2.00
e300
1.99
MIPS 74k
1.80
Cortex R4
1.60
e200 z1 & z3
1.60
MIPS 4K
1.50
Tri-Core
1.50
SH-2
1.3
Cortex M3
1.25
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Variable Length Encoding (VLE)
►
►
►
►
VLE is an extension to the
existing 32bit Power™ Book
E instruction set.
1.2
VLE instruction set includes
16-bit and 32-bit VLE
instructions
0.8
VLE and Power™ code
can be mixed in the
application by using
separate MMU pages
The e200z0 core only uses
VLE instructions
1
Power ISA
VLE
0.6
0.4
0.2
0
Code Size
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
Performance
TM
Auxiliary Processing Unit: Signal Processing Engine (SPE)
►SPE
is an Auxillary Processing Unit (APU) that provides signal
processing capabilities
•
Aimed specifically at DSP operations, such as filters and FFTs
►Key
SPE Features:
• Single Instruction Multiple Data (SIMD) functionality
• Includes Embedded Floating Point APU
• Support for the following data types:
•
•
•
•
•
32-bit fractional
32-bit integer
Single precision floating point
16-bit fractional
16-bit integer
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Single Instruction Multiple Data (SIMD)
Ordinary PowerPC
instructions operate
as usual just on the
bottom 32 bits,
leaving the top 32 bits
untouched
Classic PowerPC: add r5, r3, r4
0
31 32
31 32
0
13
85
63
63
21 rAr3
rB
46
r4
op
add
op
77
67
evfs*
add r5, r3, r4
rD
r5
SPE extends the
ordinary Book E 32
bit registers to be 64
bits in size
0
31 32
31 32
0
63
63
21 rAr3
rB
46
r4
rD
34
r5
op
13
85
op77
evfs*
Register File
SPE instructions do the
specified operation on
the bottom 32 bits and,
in parallel, on the top
32 bits. So two
independent operations
are executed by the one
instruction
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
SPE: evadd r5, r3, r4
0
31 32
31 32
0
13
85
63
63
21 rAr3
rB
46
r4
op
add
op
add
98
67
evfs*
evadd r5, r3, r4
rD
r5
TM
Memory Management Unit (MMU)
Physical
Memory
Memory Management Unit
Core
Effective virtual Address
(32-bits)
MMU
TLB
TLB Entry 0
TLB Entry 1
TLB Entry 2
TLB Entry 3
…
TLB Entry 31
Real Address
(32-bits)
must be defined in the MMU for Core access
► MMU does not control accesses from EBI, eDMA, or NEXUS
• Nexus may read MMU & change the settings on the fly (in some devices)
► Memory space is divided into up to 32 pages, each having:
Yellow: Flash
Green: Peripherals
Blue: SRAM
…
Page0
Page1
► Memory
•
•
•
•
Defined size (1k, 2k, 4K, 8k,16K, 64K, 256K, 1M …)
Address base, Effective Page Number (EPN), which is translated to a different base,
Real Page Number (RPN)
Permission control
Memory and cache attributes
…
Page2
…
cal_var
Page3
► Each
page is created by an entry in the Translation Lookaside Buffer (TLB)
► ECU calibration does not require any change in the software
•
► e200
As required by OEMs same build is used for ECU calibration
MMU is Autosar compatible.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Calibration Example Using The MMU
►
►
Use the MMU to switch between any number of calibration banks.
MMU solution requires a very small amount of core intervention when
switching banks.
Physical Address
MMU selects which of
many calibrations the
software sees at a fixed
address
Effective Address
MMU
Calibration
Internal FLASH
Calibration #1
Internal FLASH
Calibration #2
External SRAM
Calibration #3
External SRAM
Calibration #4
External Memory
Emulator
Calibrations #5&6
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Common Microcontroller System Features
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Architecture Performance Support
•The crossbar switch allows two bus
masters to simultaneously connect
to different bus slaves
•The eDMA offloads the processor
tasks for data movement,
especially for communications
e200z1
CPU 1 Instructions
•In addition, e200z1 has a private
connection to flash module for
instructions
Example snapshot
e200z0
eDMA
Controller
Crossbar
Flash
•Optional second processor, e200z0
SRAM
IP Bus i/f to
peripherals
and I/Os
•Smart peripherals
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners.
ARM is the registered trademark of ARM Limited. ARM7 is the trademark of ARM Limited.
© Freescale Semiconductor, Inc. 2004
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Crossbar Switch
►
Simultaneous transfers between
independent master and slave ports
►
Programmable master priorities on a perslave port basis
• Fixed and Round-Robin arbitration
priorities
►
Parking on slave ports
• Explicit, park on last master to access
that slave and none (low power parking)
►
32-bit internal address, 32 or 64-bit internal
data paths
►
Master Ports
• Core complex Load/Store port
• Core complex Instruction port
• DMAs
• FlexRay
• EBI
►
Slave Ports
• Flash
• SRAM
• Peripheral Bridge (AIPS)
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
AHB
TM
Memory Protection Unit (MPU)
Memory Protection Unit Overview
►Unlike MMU, provides access control for DMA,
EBI, and FlexRAY, in addition to core accesses
•
8 or 16 regions
with a granularity of up minimal 32 bytes
► Assigns
•
•
•
•
►2
access rights for each region
For supervisor (read, write, execute)
For user mode (read, write, execute)
Flexray: read and write attributes only
► Regions
Slaves
•
Crossbar
compliance with Autosar Class 4
► Protects slaves against erroneous master accesses
► Supports concurrent accesses between masters
► Splits the memory space into regions
Masters
► Full
can be assigned per task or group of tasks
Patented scheme allowing static MPU configuration in
safety systems
supported MPU schemes
• MPU entries reload on task change
• Fully static configuration
MPU
Master#
(optional PID)
Transfer Error
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
• Up to 64 DMA channels implemented
eDMA Features
• Each channel source is selected by
• Software - Sources are NOT pre-assigned to peripherals
• Hardware - Sources are not pre-assigned to peripherals
• One DMA engine services all channels
• Devices may have multiple DMA engines
• DMA requests can come from:
• Peripheral (e.g., eQADC)
• Software command
• Programmable Interrupt Timer (PIT)
• Transfer Control Descriptors define each channel’s transfer
• Optional generation of interrupt request upon
• Reaching half of the transfer
• After completion of the transfer
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Software Selection Of A DMA Source
Disabled
Source # 0
Source # 1
Source # 2
.
.
.
Peripherals
Source # n
DMA
Channel
Mux
# n+1
Always Enabled
DMA Channel #0
DMA Channel #1
.
.
.
DMA Channel # 15
.
.
# 32 or. 64
• Software selects which DMA sources connect to the 16 DMA channels
• DMA request for channels can be initiated by:
• A peripheral (example: ADC conversion result ready to be put into queue)
• Software (example: set a bit to initiate a block move)
• Periodic Interval Timer (example: enable periodic transmit of latest pending SPI data)
• Periodic Interval Timer available to 8 of the 16 channels (DMA channel 0 to 7)
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
DMA Channel Mux Sources (shown for MPC5604P)
DMA Mux
Source Input #
#
sources
0
1
Channel Disabled
1–8
8
4 DSPIs: TX and RX
9 -13
5
CTU, CTU FIFO 1:5
14, 15
2
FlexPWM 0: WR, RD
16 - 19
4
eTimer 0 channels 0:1 and eTimer 1 channels 0:1
20 – 21
2
ADC 0:1
22 - 30
DMA Source
Always Enabled -With PIT to generate periodic DMA
- w/o PIT for continuous DMA transfer
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
FMPLL Block Diagram (MPC563xM)
Lock
Detect
Loss of
Clock Detect
PFD
(Phase
Freq.
Detector)
fref
(xtal)
PRE
DIV
feedbackclk
►
fsys =
LOCK
Loss Of Clock
Charge
Pump
Filter
FM
Mod.
Control
ICO
(Current
Controlled
Osc.)
fico
RFD
fsys
MFD
fref x (MFD + 4)
---------------------------(PREDIV + 1) x 2 RFD
Default Fsys = 1.5 x Fextclk
unless PLLCFG2 = 1, then Fsys = 0.75 x Fextclk
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Peripheral Clock Generation
►
To conserve power, many peripherals do not have a
clock signal after reset.
•
►
A bus error will occur when attempting to access
peripherals without clocks.
Software must initialize in two ways:
1.
Peripheral clock gating on a mode basis.
2.
Based on ME_RUN_PCx, ME_LPx and various ME_PCTLx registers
Clock generation on a peripheral or peripheral set basis.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Peripheral Clock Generation Examples
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Boot Assist Module (BAM) Overview
►The
Boot Assist Module is a block of read-only memory which
assists the boot process.
►Typically it is executed after RESET
►Features:
•
Locates and detects application boot code
•
Can allow serial download of code into internal SRAM for execution
•
•
•
Searches for a BOOTID value in pre-assigned locations in flash
Uses FlexCAN or eSCI for MPC563xM
Uses FlexCAN or LINFlex for MPC560xB / P / S
Can allow boot from external flash (if external bus is implemented)
If an MMU is implemented, MMU pages are configured processor
resources
Censorship protection for internal flash module
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
SIU Pad Configuration
►
Each pad has its own 16-bit Pad Configuration Register (PCR)
•
•
•
•
Registers SIU_PCR0 to SIU_PCR230
Register number corresponds to GPIO number
Not all pads have all bit fields
BAM will alter defaults for some pads
►
Software must configure pin assignments to be other than their
common default GPIO assignment.
►
MPC56xxB / P / S also includes registers to select which pin input
is connected to which peripheral.
•
•
Allows a single input to be routed to 2 peripherals
Pad Selection For Multiplexed Inputs (SIU_PSMIx)
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Pad Configuration Example: Assign EMIOS Channel 0
MPC5553/MPC5554 Microcontroller Reference Manual,
Table 2-1 MPC5553 Signal Properties:
Primary Function: EMIOS chan. 0
Alternate Function: ETPU A chan. 0
[reserved]
GPIO: GPIO[179]
11
10
01
00
Pad
SIU_PCR179[PA]
(Pad Assignment – can be 1, 2 or 3 bits)
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
SIU_PCR: Pad Configuration Registers
Bit Field Name
Symbol
Description
Pad Assignment
PA
Assigns pad as GPIO (common default),
alternate or primary function
Output Buffer Enable
OBE
If pad can be input or output, enables as output.
Input Buffer Enable
IBE
If pad can be input or output, enables as input.
Tip: If pad is configured as an output, the pad
state can be read when IBE is also enabled..
Drive Strength Control
DSC**
Output drive strength of 10, 20, 30 or 50 pf
Open Drain output Enable
ODE
Output
has open drain
*
Input Hysteresis
HYS
Input has Hysteresis (for noise, but slower)
Slew Rate Control
SRC**
Output has minimum, medium or max. slew rate
Reset default is min. slew rate (slowest transition)
Weak Pull down/up Enable
WPE*
Enables selected pull down/up
Weak Pull down/up Select
WPS*
0= pull down, 1 = pull up
*WPE and WPS override initial pullup/down configured at reset by WKCFG for eMIOS/eTPU.
** DSC applies to fast pad types (example: external bus), SRC applies to medium & slow
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Interrupt Generation
►
Interrupts are handled between:
•
•
►
The Interrupt Controller (INTC)
The Core
The Interrupt controller provides a mechanism to service non core
based interrupts
•
•
Software selects one of 16 priority levels for each interrupt
Interrupts are serviced in one of 2 ways:
Software vector mode (which conforms to Power Architecture technology)
Hardware vector mode
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Peripheral Example Overviews
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
PIT Timer Module
► Independent
AutoSAR system
timers
► Down counting with auto reload
► 32 bits wide
► Most channels Clocked by system
clock
► 1 channel clocked by crystal clock
•
•
Operates in stop mode
Used to wake-up CPU
► Interrupt
and trigger on each
channel
•
Ideal tick source for operating
system
► Channel
outputs can trigger
eQADC queues
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
eMIOS Timer Module
•
24 Independent Channels
•
•
24-bit wide counter buses
•
•
•
•
“Unified” – all have same output and input time function (mode) capability
Global: Counter bus A – Driven by channel 23 or eTPUA or eTPUB
Local: Counter buses B, C, D – Driven by channels 0, 8, 16 for channels 0-7, 8-15, 16-23
Internal: Internal Counter – inside the channel.
Output Pins can be disabled by input or output events on other eMIOS Channels
•
•
Any one of channels 8, 9, 10 or 11 disables any user selected eMIOS
eMIOS Channels 8-11, 20-23 provide disable control to 8 groups of 8 channels on eTPUA, eTPUB
eTPUB
Bus A
eTPUA
Bus B
Chan 8
Chan 15
Chan 16
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
Chan 20-23
Chan 7
Bus D
Chan 8-11
Chan 0
Bus C
Chan 23
Output
disable
control
to
eTPUA,
eTPUB
TM
Timer Mode
Modulus Counter1,2 (does not use pin)
eMIOS Modes of Operation
Input Channel Modes
Single Action Input Capture1
Note: As a supplement to the reference
Input Pulse Width Measurement1
manual, see EB651: MPC5500 eMIOS –
Input Period Measurement1
Avoiding Unexpected Module Operation
Pulse/Edge Accumulation
Pulse Edge Counting
Quadrature Decode
Windowed Programmable Time Accumulation Modulus Counter
Output Channel Modes
Single Action Output Compare1
Double Action Output Compare1
Output Pulse Width Modulation1,2
Output Pulse Width and Frequency Modulation2
Center Aligned Output Pulse Width Modulation with dead time insertion2
1
Mode supported on MPC500
2 Buffered mode versions avaialble except for MPC5554 and MPC5552 input modes
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
eQADC Features
►
Two independent on - chip ADC’s
•
•
•
•
•
•
12 bit resolution
Single-ended signal range from 0 to 5V
4 pairs of differential analog input channels
Sample times of 2 (default), 8, 64 or 128 ADC clock cycles
Right- justified unsigned and signed result formats
Provides time stamp information when requested
Target
Accuracy
Max. Rate
ADC_CLK
Conversion
Type
Min. # of
ADC_CLKs
Conversion
Rate
Conversion
Time
10 bit
6 MHz
Differential
15
400 K /sec
2.5 usec
Single Ended
16
375 K / sec
2.67 usec
Differential
15
800 K /sec
1.25 usec
Single Ended
16
750 K /sec
1.33 usec
8 bit
12 MHz
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
eQADC Command/Data Flow
Trigger (0)
Trigger (1)
DMA
Push
Reg. 1
Command
Queue 1
O
O
O
Trigger (5)
Result
Queue 0
DMA
Result
Queue 1
O
O
O
O
O
O
A/D
BN 1
Command
FIFO 5
Result
FIFO 5
Pop
Reg. 5
DMA
Push
Reg. 5
Command
Queue 5
Result
FIFO 1
DMA
A/D
BN 0
Command
FIFO 1
O
O
O
Result
FIFO 0
Pop
Reg. 1
Command
FIFO 0
Pop
Reg. 0
DMA
Push
Reg. 0
Command
Queue 0
DMA
Result
Queue 5
• Each CFIFO and RFIFO are hard-wired to individual DMA channels
• Each result can return through any RFIFO
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Features:
• Supports LIN protocol version 1.3, and 2.0
• UART mode
7/8-bit data, parity/no-parity, 1 or 2 stop bit
MSB / LSB first
LIN Management
• Initialization, Normal and Sleep
• Maskable interrupts
• Wake-up event on dominant bit detection
• 8-bit counter for time-out management
• Software-efficient data buffer interface mapping at a unique address
space
LIN Master Mode
• Autonomous message handling
• Once the software has triggered the header transmission, no further
intervention needed:
until the next header transmission request in transmission mode
until the checksum reception in reception mode
LIN Slave Mode
• Software intervention needed only to:
Trigger transmission or reception depending on the identifier,
Fill the buffer (transmission) or get data from buffer (reception).
• If Filter mode is available for Slave mode (option), Software
intervention needed only to:
Fill the buffer in transmission,
Get data from buffer in reception.
UART mode
• Full duplex; Character length 7 & 8 bits; opt parity, 1 or 2 stop bits
• 4 byte Tx and Rx buffers
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S.•Pat. & Tm.
BeeKit, BeeStack,sources
CoreNet, the Energy
Solutions
Logo, Flexis,
Platform/in LSB
a Package, first
Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
3 Off.
interrupt
: Efficient
error,
Rx,
Tx MXC,
MSB
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
• Transmit/receive data inversion at pin level
LINFlex(LIN and UART)
SCI / LIN
TM
FlexCAN:
Architecture with MPC5510 FlexCAN
20
CONTROL
IRQs
64 Transmit/Receive
Message Buffers
CANTx
SERIAL BUFFERS
Tx Shifter
BUFFER 13
CANRx
Rx Shifter
Transparent to user
BUFFER 14
Rx ID Mask 0
BUFFER 15
29
.
.
.
DATA
DATA LENGTH
DATA
BUFFER 62
Rx ID Mask 63
29
►
Each buffer has it’s own receive ID mask (up to 3 diff IDs)
►
Buffers 0-7 can be used to implement an 8 frame Rx FIFO
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
DATA
TIME
STAMP
DATA
LENGTH
BUFFER 63
DATA
LENGTH
ID STAMP
TIME
DATA
TIME
STAMP
IDDATA
LENGTH
ID
TIME STAMP
ID
TM
Flexcan:
FlexCAN A
(Transmit
and Receive)
Architecture - Combining FlexCAN Modules
Message Buffer 0
CNTXA
Message Buffer 1
CNRXA
CANH Vehicle
CAN
Transceiver CANL
Bus
.
.
.
Message Buffer 63
FlexCAN B
(Receive only)
Message Buffer 0
Message Buffer 1
.
.
.
Message Buffer 63
CNTXB
CNRXB
• Benefit: More buffers available
for one CAN bus.
• CNTXB is not connected.
(Otherwise FlexCAN B would
acknowledge FlexCAN A
transmissions)
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
MPC560xB Family Unique Features
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
CTU conversion
16
eMIOS
Enhanced Modular
IO System
48
CTU
ANP
49
(Precise)
TUE
+/-2 counts
Cross Triggering
Unit
ANS
16
(Standard)
PIT
TUE
+/-3 counts
INJECTED conversion
ADC
Period Interrupt
10-bit
4
e200 z0h
NORMAL or SW INJ. conversion
Power Architecture
CORE
MUX x4
64 channel
32
ANX
(Muxed)
TUE
+/-3 counts
3
INTC
CHAIN
End
WATCHDOG
EndofofCONV.
CTU
INJ.
Interrupt Controller
MPC5604B – Bolero 512K
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Lighting - PWM Channels
100Hz channels (n+1)
period n
Ch 0
0% shift, 40% duty cycle
Ch 1
5% shift, 40% duty cycle
Ch 2
10% shift, 100% duty cycle
Ch 3
OFF
Ch n-1
90% shift, 70% duty cycle
Ch n
95% shift, 90% duty cycle
period n
160Hz channels (n+1)
period n + 1
period n+1
period n+2
Ch 0
0% shift, 15% duty cycle
Ch 1
5% shift, 100% duty cycle
Ch 2
20% shift, 30% duty cycle
Ch 3
OFF
Ch n-1
80% shift, 15% duty cycle
Ch n
90% shift, 90% duty cycle
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
eMIOS - OPWMT Mode
Match C1
Match A1
Match B1
Period
B1
C1
A1
Output Pin
Period: the period of the PWM is defined by a Modulus Counter channel.
A1 Value: define the leading edge (or shift) of the PWM channel. Buffering is not needed as the value of the shift must not
changed on the fly.
B1 Value: define the trailing edge (or duty cycle) of the PWM channel
B2 Value: buffered value of trailing edge
B1 update: transfer from B2 to B1 takes place at A1 match
EDPOL: define the output polarity
C1 Value: define the sampling point for the analog diagnostic. It can be configured anywhere within the PWM period.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
32-bit Body Electronics MCU Roadmap
Available
In Design
Planned
Application Performance / Integration
Proposed
MPC5510
e200z1, eDMA
e200z0 optional
48-66-80MHz
144/176LQFP
208MAPBGA
130nm
MPC5668G/E
MPC5668G
2MB Flash, 592KB RAM
FlexRay, Ethernet, MediaLB
High performance gateways
Dual-core 200z6+z0, 116MHz @105C
208MAPBGA
MPC5668E
2MB Flash, 128KB RAM, 6 CAN, 12LIN
MPC5517x
1.5M Flash, 80 KB RAM
Up to 6 CAN, FlexRay, MLB
MPC564xB
MPC5515S
768KB Flash, 48 KB RAM
5 CAN, 6 eSCI
MPC5514E/G
512KB Flash
32K/64K RAM
Bolero Gateway 4MB
4Mb flash, 256K RAM, 64K Dataflash
6 CAN, 12 LIN, 6SPI. FR, Ethernet
e200z4 or e200z4+z0
80-120MHz
MPC5516x
1M Flash, 64KB RAM
Up to 6 CAN, FlexRay, MLB
90nm
Bolero Gateway 2MB
2Mb Flash, 192K RAM, 64K Dataflash
6 CAN, 10 LIN, 6SPI. FR, Ethernet
90nm
MPC5607B (w/ eDMA)
1.5M Flash, 64KB Data Flash
6 CAN, 96KB RAM
Samples: May 2009
Qual: Q3-2010
MPC560xB/C
e200z0
32, 48, 64MHz
64/100/144/176LQFP
MPC5606B (w/ eDMA)
1M Flash, 64KB Data Flash
6 CAN, 80KB RAM
90nm
MPC5605B (w/ eDMA)
768KB Flash, 64KB Data Flash
6 CAN, 64KB RAM
MPC5604B/C
512KB Flash, 64KB Data flash
3/6 CAN, 32/48KB RAM
MPC5603B/C
384KB Flash, 64KB Data flash
3/6 CAN, 28-40KB RAM
MPC5602B/C
256KB Flash, 64KB Data flash
3/6 CAN, 24-32KB RAM
NOW
MPC5602D
256K Flash, 64KB Data Flash
1 CAN, 20KB RAM
Samples: Feb 2010
Qual:Q1-2011
MPC5601D
128K Flash, 64KB Data Flash
1 CAN, 16KB RAM
2011
2010
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
65
Bolero Family Line-up
Data Flash
Code Flash
64Kb
64Kb
64Kb
4Mb
3Mb
2Mb
1.5Mb
1Mb
5602D
Up to 20K
5601D
Up to 16K
5605
Up to 64K
5604
Up to 48K
5603
Up to 40K
5602B/C
Up to 32K
5602D
Up to 20K
5601D
Up to 16K
64
100
768K
512K
384K
256K
256K
128K
5607
Up to 96K
5606
Up to 80K
5605
Up to 64K
5604
Up to 48K
5603
Up to 28K
5602B/C
Up to 24K
64Kb
64Kb
64 Kb
Technology
5647
Up to 256K
5646
Up to 256K
5645
Up to 192K
5607
Up to 96K
5606
Up to 80K
5605
Up to 64K
5647
Up to 256K
5646
Up to 256K
5645
Up to 192K
5647
Up to 256K
5646
Up to 256K
5645
Up to 192K
90nm(TBC)
120 MHz
125oC Ta
90nm
64 MHz
125oC Ta
90nm
48 MHz
125oC Ta
144
176
Pin Out
Device
Ram Size
90nm
64 MHz
125oC Ta
QFP
208 (*1)
Committed
256(*1)
BGA
Proposed
*1= package subject to confirmation.
All proposed parts features subject to change with out notice.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Cross Family Compatibility
System
Integration
Monaco
Pictus/Tokay
Bolero
Spectrum
(Powertrain)
(Airbag/Steering)
(Body)
(Instrument Cluster)
Crossbar Masters
Debug
JTAG
VReg
PowerPCTM
e200z3
Core
SIMD
MMU
Oscillator
FMPLL
DMA
RTC
Crossbar Masters
JTAG
FMPLL
DMA
Nexus
Cal Bus Interface
40K
SRAM
512Kb
Flash
Boot
Assist
Module
(BAM)
I/O
Bridge
Mc PWM
32 ch
ATD
12bit
Mc Timer
2
DSPI
Nexus
JTAG
Oscillator
PowerPCTM
e200z0
Core
FMPLL
DMA
RTC
PIT 4ch 32b
Interrupt
Controller
Nexus
Display
Interface
Unit
512Kb
Flash
CROSSBAR SWITCH
CROSSBAR SWITCH
Memory Protection Unit (MPU)
Memory Protection Unit (MPU)
32K
SRAM
I/O
Bridge
Power Sw
Crossbar Slaves
Communications I/O System
Mc Timer
2
eSCI
PowerPCTM
e200z0
Core
DMA
Ready
RTC
Crossbar Slaves
Mc Timer
2
FlexCAN
Debug
Boot
Assist
Module
(BAM)
1Mb
Flash
Video
RAM
(tbd)
64K
SRAM
External
Bus
(208MAPBGA)
Boot
Assist
Module
(BAM)
Crossbar Slaves
Communications I/O System
Communications I/O System
ADC I/F
10 bit
650 nsec
S&H S&H
mux mux
1or2
FlexCAN
1
eSCI
3
DSPI
eMIOSLite
8ch IO
36ch shift
PWM
2
I2C
3
FlexCAN
3
4
LINFlex DSPI
32 ch
ATD
12bit
eMIOSLite
24 ch.
2
CAN
2
LIN
Flex
3
DSPI
2
I2C
16 ch
ATD
10bit
6
gauge
drivers
sound
eTPU
32 ch.
Crossbar Masters
VReg
Oscillator
Interrupt
Controller
Communications I/O System
2.5K Code
RAM
12K Data
RAM
System
Integration
MCM
Boot
Assist
Module
(BAM)
Crossbar Slaves
Debug
JTAG
CROSSBAR SWITCH
I/O
Bridge
48K
SRAM
Crossbar Masters
FMPLL
FlexRay
Interrupt
Controller
1Mb
Flash
System
Integration
VReg
PowerPCTM
e200z0
Core
RTC
CROSSBAR SWITCH
eMIOSLite
24ch
Debug
VReg
Oscillator
Nexus
Interrupt
Controller
I/O
Bridge
System
Integration
40x4
LCD
32-bit standard architecture adopted across all product families
Maximum IP reuse
Faster time-to-market
Reduced risk
Leverage software and tools investments
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
Tools
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
RAppID
Time to Market Improvement for the MPC560xB/C Family
RAppID application, initialization, and
documentation software
•
Comprehensive Initialization of MPC560xB/C
•
GUI based tool for easy and fast development of
initialization code.
•
Automatic report generation of Peripheral and
Register settings.
•
Efficient C and Assembly code generation for a
multitude of compilers like CodeWarriorTM,
Diab(WindRiver), and GreenHills.
•
On-line documentation and built-in tool tips for ease of
use
•
Performs consistency checks to eliminate mistakes
and inconsistencies.
•
C code and Documentation templates customizable
as a service.
•
Supports multiple initialization strategy code
generation.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
69
Pin Allocation Wizard - Screenshot
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
70
Fully enabled
RAppID MPC5516
CodeWarrior
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
71
Development Tools – An Existing Ecosystem
Compilers
Simulators
(v2.2)
Debuggers
works w/ any
debugger
Green Hills
Wind River
GNU
CodeWarrior
Lauterbach
iSystem
P&E Micro
Eval Boards
Initialization
Tools
Modeling and
Code
RAppID Init
dSpace
MathWorks
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
72
March, 2010
New Power Architecture
Solutions for Automotive Body Electronics
Francisco Ramirez
Field Applications Engineer
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
March, 2010
New Power Architecture: MPC560X
MPC560XS – Spectrum for Clusters
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
►
Common Microcontroller System Features
•
•
Building Block Diagram
DCU
►
Quad SPI Interface
►
Sound Generation
►
Software Librarles
►
Software / Tools
►
Graphic Application Concept Design
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
i.MX51
Production
Coretex A8 600MHz
OpenVG1.1 & OpenGL2.0 Accel
Up to WXGA display
External Flash & DRAM i/f
530 BGA
Committed
MPC5121e
800 MIPs
E300 @ 400MHz
OpenGL ES1.1 Accelerator
Up to XGA display
External Flash & DRAM i/f
400 BGA
i.MX35G
ARM1136JF-S CPU @ 400MHz
Open VG 1.1 2D Graphics Accelerator
Ip to SVGA display
External Flash & DRAM i/f
400 BGA
400 MHz
90nm
MPC564xS
90nm
MPC560xS
Z0h CPU @ 64MHz
DCU on 1MB & 768K
Up to 160KB GRAM
Stepper Motor, LCD drive
144 / 176 pin
Z4d CPU @ 120MHz
DCU (TFT Display Driver)
Graphics Accelerator
1MB of GRAM
Stepper Motor Drive
176 / 208 QFP, 324 BGA
1MB
768KB
512KB
256KB
0.25um
0.25um
512K
384K
256K
Stepper Motor,
LCD drive
40MHz XGATE
112,144 pin
0.18um
S12XHZ
S12HY
Stepper Motor,
LCD drive
32MHz
112, 144 pin
S12HZ
Stepper Motor,
LCD drive
25MHz
80,112 pin
(ROM 32K-256K
256K
128K
64K
256K
2MB
1MB
Single chip
Instrument cluster
Application Performance / Integration
Proposed
1200 MIPS
High end
Multimedia MCU’s
DIS MCU Roadmap
128K
64K
Stepper Motor,
LCD drive
32MHz
100,64 pin
48K
32K
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
76
MPC5606S: Spectrum 1M (64MHz)
System
Integration
Crossbar Masters
Debug
JTAG
VReg
Oscillator
PowerTM
e200z0h
Core
FMPLLx2
16ch
DMA
RTC/32kHz
Nexus
Display
Control
Unit
Interrupt
Controller
RGB / Control
PDI
CROSSBAR SWITCH
I/O
Bridge
48K
SRAM
1Mb
Flash
Boot
Assist
Module
(BAM)
160K
Graphics
SRAM
QuadSPI
Serial Flash
Controller
Crossbar Slaves
4x16k EEE
Sound
Generation
2
FlexCAN
2
LINFlex
3
SPI
4
I2C
16 ch
ATD
10bit
• 160k Grpahics SRAM (No ECC)
• Display Controller Unit – 18/24bit RGB
• Parallel Data Interface
• QuadSPI Serial Flash controller
General Characteristics:
• Up to 64MHz operation
• Low power modes
• -40 to +105C, 3.0V to 5.5V
• 144 LQFP, 176 LQFP package options
Peripherals and Communications:
Communications I/O System
eMIOS
24 ch
• PPC e200z0h Core
• 1M FLASH with ECC
• 4x16k EEPROM Emulation block with ECC
• 48k SRAM with ECC
• 16 channel DMA
• Memory Protection Unit (12 regions)
• Voltage Regulator with external ballast transistor
• Real Time Counter + 32kHz crystal oscillator
• Watchdog, Periodic Interrupt Timer, System Timer
• 4-16MHz crystal oscillator
• Frequency Modulated PLL (x2)
• Nexus 2+ / JTAG
Graphics Features:
Memory Protection Unit (MPU)
Power
Management
General Characteritics:
Stall Detect
6 Gauge
Drivers
40x4
LCD
• 6 Stepper Motor Drivers with Stall Detection
• Sound generation using eMIOS
• 40x4 LCD Segment Driver
• 2xCAN, 2xDSPI, 4xI2C, 2xLIN, I2S
• 24 channel eMIOS (PWM+Timer)
• 16 channel, 10bit ADC
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
77
Investment reuse/portability
WVGA
HVGA TFT
i.MX51
i.MX35G
Coretex A8 600MHz
OpenVG1.1 & OpenGL2.0 Accel
Up to WXGA display
ARM1136JF-S
CPUFlash
@ 400MHz
External
& DRAM i/f
Open VG 1.1 2D Graphics Accelerator
530 BGA
Ip to SVGA display
External Flash & DRAM i/f
400 BGA
+
MPC5604S
+
MPC5604S
1200 MIPS
400 MHz
MPC5645S
3MB
Z4d CPU @ 120MHz
2MB
DCU (TFT Display Driver)
3MB
1.5MB
Graphics Accelerator
Motor Drive
Z4d CPUStepper
@ 120MHz
2MB
176 / 208 pin
DCU (TFT Display Driver)
1.5MB
Graphics Accelerator1MB
Stepper Motor Drive
Z0h CPU @ 64MHz
176 / 208 pin768KB
DCU (TFT Display Driver)
Up to 160KB GRAM
Stepper Motor, LCD drive
144 / 176 pin
MPC5645S
DRAM
MPC5606S
OpenGL
800 MIPs
OpenVG
E300 @ 400MHz
OpenGL ES1.1 Accelerator
Up to XGA display
External Flash & DRAM i/f
400 BGA
DCU
Application Performance / Integration
MPC5121e
Connectivity, application, tools
WXGA
MPC5604S
No TFT
Z0h CPU @ 64MHz
Stepper Motor, LCD drive
144 / 176 pin
512KB
256KB
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
78
DCU
• The display driver used in Spectrum family MCU’s for instrument cluster
is a combined direct un-buffered blit engine & display driver.
• Main advantages are
• Cost efficient
• Low memory requirement
• Optimized for GUI and advanced OSD
• Safety feature to enable safety related display content
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
79
Bliting concepts
FRAME
buffer
OBJECT
memory
Classic solution
• Flexible and typically slow
Blit
engine
Visible buffer
Display
driver
Shadow buffer
CPU
• Needs typically 3x full frame buffer RAM for
480x272 @24/18bpp RGB888 that is 1147kB.
• Typically needs external fast RAM.
• Needs min. 2 x resolution RAM for video input.
Scratch pad
• Display frame rate asynchronous output
composition
DCU “direct un-buffered blit engine”
• Fixed function and typically much faster
OBJECT
memory
FRAME
buffer
• Needs less frame buffer RAM. For 480x272
@24/18bpp RGB888 that is typically less than
160kB
Fragmented
frame buffer
CPU
Bliter
eDMA
Display
driver
• Suitable for single chip solutions with no external
RAM.
• Blit functions optimized for GUI design.
• No RAM required for video input
• Display frame rate synchronous output
composition
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
80
DCU features, (updated with rev2 enhancements)
• 16 Layers
• 4 planes
• Frame buffer limited by memory size (all memories, RAM, ROM INT, EXT)
• Target size WVGA (Limited by memory bandwidth and pixel clock speed)
• Support 16, 24, 32 bit color depth.
• Support 1, 2, 4, 8bpp indirect color mode
• Support TFT type LCD with 16, 18, 24bit wide digital RGB interface
• Alpha blend (per pixel and per layer in 4 planes)
• Chroma key (range per RGB component in 4 planes)
• Combined alpha blend and chroma key modes
• Font mode blending (transparency mode/alpha map)
• Highlight area mode. (luminance offset)
• Tile mode
• Digital video input
• Safety mode support
• Hardware cursor
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
81
DCU layers & planes
• Layer priority is fixed.
• Layers arbitrate for 4 planes on per pixel basis.
• The active layer that has the highest priority loads in the foreground plane 1,
the next loads in foreground plane 2 etc….
• If no layer qualifies for the BG plane the BG color is loaded in the BG plane
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
82
MPC5606S, Layers and planes usage
• Green frame show Planes and HW
cursor
• Red frames show Layers
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
83
DCU functions – Font mode (Transparency)
•Original image
•Coded in 4bpp transparency
• Run time color selection in hardware to any back/fore color.
*) Images are significantly enlarged for clarity.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
84
Transparency Mode Blending examples
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
85
Transparency Mode Blending examples
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
86
DCU layers
• 16 + 1 background color
• Layers are memory areas that can reside in any memory. Internal or external
FLASH or RAM.
• Size and position is configurable runtime in 1 pixel increments.
•The 2 highest priority layers support a special safety mode.
• Data in layers is coded in 1,2,4,8 bits per pixel or…
• Raw color 16, 24, 32 bpp or.. (RGB565, RGB888, ARGB8888, ARGB1555,
ARGB4444) or…
• 4 or 8bpp transparency with foreground and background color or…
• 4 or 8bpp luminance offset.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
87
DCU CLUT
• CLUT is a color look up table.
• Size is 2k 24bpp colors, CLUT is assigned on a per layer basis.
• Pallet size is dynamic and is shared by all layers.
• Color depth is fixed to 24bpp RGB888
• Layer control descriptor uses a color offset value to mark start position in the
CLUT.
• As an example the CLUT can hold 8 x 8bpp pallets with 24bit colors. Or any
combination required for the other indexed modes i.e. 1, 2, 4bpp.
• Run time manipulation and assignment of CLUT to a layer is possible.
• CLUT is part of the DCU memory and does not load the system memory bus.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
88
MPC5606S, DCU timing example
A
D
C
B
1 frame = 16,7ms @ 60Hz
• A Layer CD’s are latched in shadow buffer and frame
composition starts.
• B CPU writes CD registers to prepare the next frame. Typically
less than 0,1ms. Needs to be done within the frame period.
• C eDMA performs a ROM to RAM scan synchronized BLIT of the
next car and navigation object. (Direct un-buffered frame
synchronized blit)
• D eDMA performs vertical blanking period blit of CLUT, objects,
HWC etc..
* C & D ie. the DMA activation is performed in ISR.
* B The main frame loop is assumed to be a pre-emptive low
priority task. Very relaxed latency requirement. Typically need <5%
CPU as an average measured over 16ms.
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
89
PDI video input, use case example
ITU-R BT.656 (progressive RGB)
Camera
CCIR 656
Digital RGB
Proprietary
LVDS
Camera or
Navigation or
DVD decoder or
TV tuner or…
MCU
Digital RGB
PDI 9 pin
FPGA
De-interlacing
Scaling
MCU
Digital RGB
Digital RGB
PDI 10 pin
muxing
MCU
Digital RGB
16/18 bit RGB
PDI 20/22
pin
• PDI has 5 modes. 8bitcolor, 8bit mono, 16bit, 18bit digital RGB and ITU-R
BT.656 (progressive RGB)
• Input video must be equal clock data must match used display. Example: if
display is 480x272 9MHz input video must be 480x272 9MHZ
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
90
QuadSPI / Serial Flash
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
91
Serial Flash Bandwidth Expectations
• Serial Interface Bandwidth:
• Peak bandwidth = [Serial clock * 4(quad)] / [8bits/byte]
• For 48MHz flash = 24MByte/sec
• For 80MHz flash = 40MByte/sec
• Small overhead incurred to launch Serial Flash read commands reduces
achievable b/w – Impact depends on data size transferred
• As a frame buffer for Spectrum Display Control Unit (DCU):
• QVGA @ 5MHz pixel clock
• 16bpp layer = 10MByte/sec
• 24bpp layer = 15MByte/sec
• 32bpp layer = 20MByte/sec
• 480x272 @ 9MHz pixel clock
• 16bpp layer = 18MByte/sec
• 24bpp layer = 27MByte/sec
• 32bpp layer = 36MByte/sec
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
92
QuadSPI Integration – Spectrum1M
• AMBA AHB Slave:
• Memory-mapped Serial Flash
looks like On-Platform memory
• Accessible by all crossbar
masters
• Direct access by DCU for prerendered layers.
System
Integration
Crossbar Masters
JTAG
VReg
Oscillator
16ch
DMA
RTC
• Serial Interface runs up to full
48MHz platform speed
• Auxiliary PLL available as
optional clock source.
Nexus
Display
Control
Unit
Interrupt
Controller
RGB / Control
PDI
CROSSBAR SWITCH
Memory Protection Unit (MPU)
Power
Management
I/O
Bridge
Boot
Assist
Module
(BAM)
1Mb
Flash
48K
SRAM
160K
Graphics
SRAM
QuadSPI
Serial Flash
Controller
Crossbar Slaves
4x16k EEE
Communications I/O System
Sound
Generation
• Clocking
PowerTM
e200z0h
Core
2xFMPLL
• IPS:
• Connected as an IPS peripheral
• Useable as regular SPI
Debug
eMIOS
24 ch
2
FlexCAN
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
2
2
LINFlex DSPI
4
I2C
16 ch
ATD
10bit
Stall Detect
6 Gauge
Drivers
40x4
LCD
TM
93
QuadSPI Memory Map
• AHB Mapping
• 4 x 128MByte ‘Slots’ reserved for external serial flash in memory map (future expansion)
• AHB RX Data Buffer (QSPI_ARDB) for Serial-Flash-0 is mapped at 0x87FF_FFFC
MCU Memory Map
128k
QuadSPI
Slot-0
Serial Flash Memory Map
0x8000_0000
0x00_0000
0x8000_0004
0x8000_0008
0x8000_000C
0x00_0004
0x00_0008
0x00_000C
0x803F_FFFC
0x3F_FFFC
32Mbit
Serial Flash
(4MByte)
0x87FF_FFFC QSPI_ARDB
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
94
Sound Generation
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
95
MPC560xS : Simple Audio Implementation
Features:
• Used for simple „beeps“ / „alarms“
• Uses dual-PWM outputs
• 1 x PWM channel to control Amplitude
• 1 x PWM channel to control Frequency
• Logical ‚AND‘ of any 2 eMIOS PWM channels to
generate audio output
• Simple external R-C Low pass filter on mixed
PWM output
Frequency
Amplitude
Freq
LPF
. Amplitude
Filtered
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
96
MPC560xS: Advanced Audio Implementation
Features:
• Playback of Sample-Based waveforms
• Polyphonic sound synthesis
• DMA reads sound files from internal (or external) Flash
• Up to 8KHz analog bandwidth
• Variation of duty cycle reconstructs the analog signal
• Speed of duty cycle variation proportional to frequency
• Width of duty cycle variation proportional to amplitude
• Analog signal AC centered around 50% duty cycle
• Low pass filter / amplifier on PWM I/O pin
• Software tools to support sound generation
50% Duty
LPF
Low Duty
High Duty
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
97
Software Libraries
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
98
Introduction
MPC56xxS Software Graphics Libraries
The MPC56xxS Software Graphics Libraries is a set of drivers that allow the designers to develop
fast and clean software animations. The libraries explodes most of the HW features of the Display
Control Unit along with other peripherals such the DMA.
Current Main Features
• Animations (Position, Transparency, Color, Scrolling, and Downscaling) HW accelerated
• Transformations (Rotations, Mirroring, Blitting) DMA accelerated
• RLE Decoding Hybrid CPU/DMA
• Color Look up table dynamic update. DMA accelerated
• Dynamic Memory Allocation for graphics. DMA accelerated
• UNICODE Text Rendering. CPU or DMA Accelerated
• PC Toolset to manipulate graphic
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
99
Software Architecture
Software Architecture Key Features
• Drivers were made to work together in an abstract way
• Architecture allow correct interaction between software layers
• Users will focus in movie clips and functionality leaving alone lower layers
APPLICATION LAYER
Movie Clips, Stimuli, Images, Font files
SERVICES
DMA Handler,
Animation
Handler,
Interrupts,
Others
HARDWARE INDEPENDENT LAYER (HIL)
Font library, Graphics Library, Animation Library and
Display driver.
HARDWARE ABSTRACTION LAYER (HAL)
Graphic Memory Allocation, DCU and DMA
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
100
Software / Tools
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
101
Freescale Image Encoder
*.h
Image File
(gif, bmp, jpeg
png, others)
Freescale
Image
Encoder
Spectrum
Graphics
Libaries
*.c
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
102
Freescale Font Encoder
*.fnt
(xml file)
Angel Code
Font Bitmap
Generator
*_00.png
[*_01.png]
…
Spectrum
Font
Library
Freescale
Font
Encoder
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
103
Freescale HW Tools
►Current
HW Available:
• Spectrum Axiom board
• MPC5606S EVB (Mini-module
+ Motherboard
►In
development:
• Spectrum EVB (low cost)
estimated production date:
April’10
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
104
Graphic Application Design
Spectrum
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
105
Typical Work Flow
Tools
Uses
Illustrator
Photoshop
Paint
Gimp
Blender
Outputs
Images
Fonts
Skins
Vector Files
3D Models
Graphic Designer
Tools
Images
Fonts
Skins
Vector Files
3D Models
Uses
Are used by
Adobe Flash
GIMP
Excel
Image processing
Batch processing
[Others tools]
Specification
(excel files)
(requirements document)
Outputs
+
Images
Fonts
Vector Files
UI Designer
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
106
Typical Work Flow
Specification
Tools & Libraries
(excel files)
(requirements document)
+
Uses
Are used by
Spectrum Libraries
Image Encoder
Font Encoder
Outputs
Spectrum
Rainbow
Application
Images
Fonts
Vector Files
Developer
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
107
Cross Family Compatibility
System
Integration
Monaco
Pictus/Tokay
Bolero
Spectrum
(Powertrain)
(Airbag/Steering)
(Body)
(Instrument Cluster)
Crossbar Masters
Debug
JTAG
VReg
PowerPCTM
e200z3
Core
SIMD
MMU
Oscillator
FMPLL
DMA
RTC
Crossbar Masters
JTAG
FMPLL
DMA
Nexus
Cal Bus Interface
40K
SRAM
512Kb
Flash
Boot
Assist
Module
(BAM)
I/O
Bridge
Mc PWM
32 ch
ATD
12bit
Mc Timer
2
DSPI
Nexus
JTAG
Oscillator
PowerPCTM
e200z0
Core
FMPLL
DMA
RTC
PIT 4ch 32b
Interrupt
Controller
Nexus
Display
Interface
Unit
512Kb
Flash
CROSSBAR SWITCH
CROSSBAR SWITCH
Memory Protection Unit (MPU)
Memory Protection Unit (MPU)
32K
SRAM
I/O
Bridge
Power Sw
Crossbar Slaves
Communications I/O System
Mc Timer
2
eSCI
PowerPCTM
e200z0
Core
DMA
Ready
RTC
Crossbar Slaves
Mc Timer
2
FlexCAN
Debug
Boot
Assist
Module
(BAM)
1Mb
Flash
Video
RAM
(tbd)
64K
SRAM
External
Bus
(208MAPBGA)
Boot
Assist
Module
(BAM)
Crossbar Slaves
Communications I/O System
Communications I/O System
ADC I/F
10 bit
650 nsec
S&H S&H
mux mux
1or2
FlexCAN
1
eSCI
3
DSPI
eMIOSLite
8ch IO
36ch shift
PWM
2
I2C
3
FlexCAN
3
4
LINFlex DSPI
32 ch
ATD
12bit
eMIOSLite
24 ch.
2
CAN
2
LIN
Flex
3
DSPI
2
I2C
16 ch
ATD
10bit
6
gauge
drivers
sound
eTPU
32 ch.
Crossbar Masters
VReg
Oscillator
Interrupt
Controller
Communications I/O System
2.5K Code
RAM
12K Data
RAM
System
Integration
MCM
Boot
Assist
Module
(BAM)
Crossbar Slaves
Debug
JTAG
CROSSBAR SWITCH
I/O
Bridge
48K
SRAM
Crossbar Masters
FMPLL
FlexRay
Interrupt
Controller
1Mb
Flash
System
Integration
VReg
PowerPCTM
e200z0
Core
RTC
CROSSBAR SWITCH
eMIOSLite
24ch
Debug
VReg
Oscillator
Nexus
Interrupt
Controller
I/O
Bridge
System
Integration
40x4
LCD
32-bit standard architecture adopted across all product families
Maximum IP reuse
Faster time-to-market
Reduced risk
Leverage software and tools investments
Freescale, the Freescale logo, AltiVec, C-5, CodeTest, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions Logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SmartMOS, TurboLink
and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2010.
TM
TM
Download