AUTOSAR MCALs and OS implementation

Size: px
Start display at page:

Download "AUTOSAR MCALs and OS implementation"

Transcription

1 March, 2010 AUTOSAR MCALs and OS implementation Francisco Ramirez Field Applications Engineer

2 Designing with Freescale March, 2010 AUTOSAR MCALs and OS implementation Francisco Ramirez Field Applications Engineer

3 AUTOSAR Overview MCAL & OS layers CONFIGURATION METHODOLOGY TOOLS AUTOSAR/OS Design Process Flow Chart EXAMPLE

4 AUTomotive Operative System ARchitecture Application Software Component Application Software Component Application Layer Application Software Component Application Software Component AUTOSAR Runtime Environment (RTE) Operating System System Services Onboard Device Abstraction Memory Services Memory Hardware Abstraction Communication Services Communication Hardware Abstraction I/O Hardware Abstraction Microcontroller Drivers Memory Drivers Communication Drivers I/O Drivers Complex Driver Basic Software Microcontroller AUTOSAR Software Packages from Freescale 4

5 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. 5

6 Worldwide, OEMs and Suppliers Participate in AUTOSAR Core Partners Associate Members CapeWare Premium Members OEM Tier 1 Semiconductors Standard Software Tools Source:, actual status at 6

7 AUTOSAR An Industry Standard Phase I ( ) Basic Software & RTE Specification R2.0 Improvements R2.1 Release 2.0 Release 2.1 2H H H 2006 Phase II ( ) Basic Software & RTE Specification R3.0 Concepts R4.0 Specification R4.0 Improvements R4.0 Release 3.0 Release 3.1 Release 4.0 1H H H H H H

8 AUTOSAR BSW Architecture Basic Layers Application Software Component Application Software Component Application Layer Application Software Component Application Software Component AUTOSAR Runtime Environment Services Layer ECU Abstraction Layer Microcontroller Abstraction Layer Complex Driver Basic Software Microcontroller 8

9 AUTOSAR BSW Architecture Sub-Layers Application Software Component Application Software Component Application Layer Application Software Component Application Software Component AUTOSAR Runtime Environment (RTE) System Services Memory Services Communication Services Operating System Onboard Device Abstraction Memory Hardware Abstraction Communication Hardware Abstraction I/O Hardware Abstraction Microcontroller Drivers Memory Drivers Communication Drivers I/O Drivers Complex Driver Basic Software Microcontroller 9

10 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 Layer Application Software Component Application Software Component AUTOSAR Runtime Environment (RTE) Operating System System Services Onboard Device Abstraction Memory Services Memory Hardware Abstraction Communication Services Communication Hardware Abstraction I/O Hardware Abstraction Microcontroller Drivers Memory Drivers Communication Drivers I/O Drivers Complex Driver Basic Software Microcontroller 10

11 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 Studio Memory Hardware Abstraction Flash EEPROM Emulation AUTOSAR MCAL Product Microcontroller Drivers Memory Drivers Communication Drivers I/O Drivers ICU Driver PWM Driver ADC Driver DIO Driver GPT Driver Watchdog Driver MCU Driver Internal Flash Driver SPI Driver LIN Driver CAN Driver FlexRay Driver GPT WDT MCU Power & Clock Unit PORT Driver Flash Microcontroller Hardware SPI LIN / SCI CAN FlexRay Timer PWM ADC DIO PORTS 11

12 OS & System Services Application Software Component Application Software Component Application Layer Application Software Component Application Software Component AUTOSAR Runtime Environment (RTE) System Services Operating System System Services Onboard Device Abstraction Memory Services Memory Hardware Abstraction Microcontroller Communication Services Communication Hardware Abstraction I/O Hardware Abstraction Microcontroller Drivers Memory Drivers Communication Drivers I/O Drivers 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) Complex Driver Basic Software (BSW) Operating System Communication Manager ECU State Manager CRC Library Function Inhibition Manager Watchdog Manager Diagnostic Event Manager Diagnostic Error Tracer 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 12

13 AUTOSAR OS Scalability Classes 1 4 Scalability Class 1 Scalability Class 2 Scalability Class 3 Scalability Class 4 OSEK OS (all conformance classes) Counter Interface Schedule Tables Stack Monitoring Protection Hook Timing Protection Global Time/Synchronization Support Memory Protection OS Applications Service Protection CallTrustedFunction 13

14 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 14

15 Parameter Description Files EPD/EPC Legend read EPD BSW Module Description BSW Module Configuration AUTOSAR Files Elektrobit Files Generated Files EB tresos Studio Configurator write EPC read read write c, h EB tresos Studio Generator Generated Code read c, h templates Code Templates Source: Elektrobit 15

16 Parameter Description Files XDM Legend EPD convert read XDM BSW Module Description import/ export EPC BSW Module Configuration AUTOSAR Files Elektrobit Files Generated Files EB tresos Studio Configurator write XDM read read write c, h EB tresos Studio Generator Generated Code read c, h templates Code Templates Source: Elektrobit 16

17 Main Window Project Browser Editor Node Outline Error & Problem Messages Parameter Information Source: Elektrobit 17

18 Parameter Description Files XDM read EPD XDM BSW Module Description BSW Module Configuration Legend AUTOSAR Files Elektrobit Files Generated Files EB tresos Studio Config Editor write EPC XDM read read write c, h XDM is a proprietary format (EB) providing enhanced usability features during configuration with EB tresos Studio. EB tresos Studio Generator read Generated Code c, h templates Code Templates Source: Elektrobit 18

19 Parameter Description Files EPD/EPC read EPD EPD BSW Module Description BSW Module Configuration Legend AUTOSAR Files Elektrobit Files Generated Files Any other AUTOSAR-compliant Config Editor write EPC EPC read read write c, h EPD is the standard AUTOSAR format. This allows the Freescale Autosar software to be used with any other Autosar GCE tool. EB tresos Studio Generator read Generated Code c, h templates Code Templates 19

20 March, 2010 New Power Architecture Solutions for Automotive Body Electronics Francisco Ramirez Field Applications Engineer

21 March, 2010 New Power Architecture: MPC560X MPC560XB Bolero for Body Electronics

22 Power Architecture : e200 Core Key Characteristics Programming Model Auxiliary Processing Unit: Signal Processing Engine Memory Management Unit Cache 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 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

23 Enabling More Integration Body Controller (interior features + lighting) Benefits: Less modules, less cables Reduced weight, fuel efficiency Reduced manufacturing costs Better quality Lower total cost of ownership CAN Gateway Fuses Box Replacement Central Body Domain Controller RF Receiver (key, tires) 23

24 Application Performance / Integration MPC5510 e200z1, edma e200z0 optional MHz 144/176LQFP 208MAPBGA 130nm Available In Design Planned Proposed MPC5517x 1.5M Flash, 80 KB RAM Up to 6 CAN, FlexRay, MLB MPC5516x 1M Flash, 64KB RAM Up to 6 CAN, FlexRay, MLB MPC5515S 768KB Flash, 48 KB RAM 5 CAN, 6 esci MPC5514E/G 512KB Flash 32K/64K RAM MPC5604B/C 512KB Flash, 64KB Data flash 3/6 CAN, 32/48KB RAM 32-bit Body Electronics MCU Roadmap MPC5668G 2MB Flash, 592KB RAM FlexRay, Ethernet, MediaLB MPC564xB/C e200z4 or e200z4+z MHz 90nm MPC5668E 2MB Flash, 128KB RAM, 6 CAN, 12LIN MPC5607B (w/ edma) 1.5M Flash, 64KB Data Flash 6 CAN, 96KB RAM MPC5606B (w/ edma) 1M Flash, 64KB Data Flash 6 CAN, 80KB RAM MPC5605B (w/ edma) 768KB Flash, 64KB Data Flash 6 CAN, 64KB RAM MPC5646B/C 3MB Flash, up to 256K RAM, 6 CAN, Flexray, Ethernet option MPC5668G/E High performance gateways Dual-core 200z6+z0, 208MAPBGA MPC560xB/C e200z0 32, 48, 64MHz 64/100/144/176LQFP 90nm 90nm 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 MPC5602D 256K Flash, 64KB Data Flash 1 CAN, 20KB RAM MPC5601D 128K Flash, 64KB Data Flash 1 CAN, 16KB RAM NOW

25 MPC5604B (Bolero 512K) System Integration VReg PIT 4ch 32b Oscillator FMPLL Interrupt Controller MCM Power Mgt Crossbar Masters PowerPC e200z0 Core Debug JTAG Nexus 2+ CORE 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 MEMORY 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) emioslite 6ch IC/OC 50ch PWM I/O Bridge CTU CROSSBAR SWITCH Memory Protection Unit (MPU) 512K Flash 32K SRAM Crossbar Slaves Communications I/O System 36 ch ADC 10bit 64K Data Flash 3 FlexCAN Standby RAM 4 LINFlex 3 DSPI 1 I2C Boot Assist Module (BAM) COMMUNICATIONS 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 ANALOG 5V ADC 10-bit resolution TIMED I/O 16-bit emios module OTHER 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 25

26 System Integration VReg PIT 4ch 32b Oscillator FMPLL Interrupt Controller emios 64ch, 16 bit MCM Power Mgt I/O Bridge Up to 52 ch ADC 16x12bit, 36x10 Bit Crossbar Masters PowerPC e200z0 Core CROSSBAR SWITCH Memory Protection Unit (MPU) 1.5M Flash 64K Data Flash 96K SRAM Crossbar Slaves Communications I/O System CTU 6 FlexCAN Standby RAM 10 LINFlex DMA 6 DSPI 1 I2C Debug JTAG Nexus 2+ Boot Assist Module (BAM) MPC5607 (Bolero 1.5M) CORE 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 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 ANALOG Up to 52 ch 5V ADC (16x12-bit, 36x10-bit) resolution, CTU (Cross Triggering Unit) to sync with PWM Channels 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 OTHER 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 26

27 Power Architecture: e200 Core

28 Power Architecture e200 Core Family Key Characteristics Synthesizable Power Architecture cores with Power ISA 2.03 Additional 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.

29 Highly modular core add DSP & FP, cache, pre-fetch buffers packaging, module library, peripherals single and dual core options Cost reduction through maximum re-use same tools, drivers, application code cross-application platform with 1 core 60MHz 2 x 300MHz, 256K 8MB Z0/Z1 First embedded PowerPC processor Separate products for embedded and computing markets Z3/Vector 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) Z4 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) Increased Integration / Advanced Process Technology 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 e200 Power Core Platform Z7 preliminary 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 Software Compatible Architecture * Future Versions Next Generation 64 bit, 3+ GHz (Power Architecture driven High Performance Applications) 86XX Performance Original Slide by J. Shockey

30 e200z Core Roadmap 10-stage pipeline Up to 32k cache Dual Issue /VLE Performance / Features 7-stage pipeline Up to 32k cache FPU e200z6 144MHz SIMD Powertrain & Chassis 4-stage pipeline FPU VLE e200z3 80MHz SIMD 7-stage pipeline Up to 32k cache FPU VLE e200z6 200MHz SIMD 4-stage pipeline VLE e200z1 80MHz 5-stage pipeline Up to 16k cache Dual Issue / VLE FPU e200z4 120MHz SIMD 4-stage pipeline VLE Only e200z0 80MHz FPU e200z7 266MHz SIMD Body Electronics 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.

31 Dhrystone Comparative Performance Core DMIPS/MHz e200 z4d 2.79 e200 z e500 v SH-2A 2.40 QCOM Scorpion 2.10 Cortex A Cortex A IBM e MIPS 74k 1.80 Cortex R e200 z1 & z MIPS 4K 1.50 Tri-Core 1.50 SH Cortex M3 1.25

32 Variable Length Encoding (VLE) VLE is an extension to the existing 32bit Power Book E instruction set. VLE instruction set includes 16-bit and 32-bit VLE instructions VLE and Power code can be mixed in the application by using separate MMU pages Power ISA VLE The e200z0 core only uses VLE instructions 0 Code Size Performance

33 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

34 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, r ra r3 rb r4 op op add evfs* add r5, r3, r4 rd r5 SPE extends the ordinary Book E 32 bit registers to be 64 bits in size 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 ra r3 rb r4 rd op77 op 34 r5 evfs* Register File SPE: evadd r5, r3, r ra r3 rb r4 op op add add evfs* evadd r5, r3, r4 rd r5

35 Memory Management Unit Core Effective virtual Address (32-bits) Memory Management Unit (MMU) MMU TLB TLB Entry 0 TLB Entry 1 TLB Entry 2 TLB Entry 3 TLB Entry 31 Real Address (32-bits) Physical Memory Yellow: Flash Green: Peripherals Blue: SRAM Page0 Page1 Memory 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: 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 Each page is created by an entry in the Translation Lookaside Buffer (TLB) ECU calibration does not require any change in the software As required by OEMs same build is used for ECU calibration e200 MMU is Autosar compatible. Page2 cal_var Page3

36 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. MMU selects which of many calibrations the software sees at a fixed address Effective Address Calibration MMU Physical Address Internal FLASH Calibration #1 Internal FLASH Calibration #2 External SRAM Calibration #3 External SRAM Calibration #4 External Memory Emulator Calibrations #5&6

37 Common Microcontroller System Features

38 Architecture Performance Support The crossbar switch allows two bus masters to simultaneously connect to different bus slaves Example snapshot In addition, e200z1 has a private connection to flash module for instructions The edma offloads the processor tasks for data movement, especially for communications Optional second processor, e200z0 CPU 1 Instructions e200z1 e200z0 Crossbar Flash SRAM edma Controller 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

39 Simultaneous transfers between independent master and slave ports Crossbar Switch 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 AHB Slave Ports Flash SRAM Peripheral Bridge (AIPS)

40 Memory Protection Unit Overview Unlike MMU, provides access control for DMA, EBI, and FlexRAY, in addition to core accesses Full compliance with Autosar Class 4 Protects slaves against erroneous master accesses Supports concurrent accesses between masters Splits the memory space into regions 8 or 16 regions with a granularity of up minimal 32 bytes Assigns access rights for each region For supervisor (read, write, execute) For user mode (read, write, execute) Flexray: read and write attributes only Regions can be assigned per task or group of tasks Patented scheme allowing static MPU configuration in safety systems 2 supported MPU schemes MPU entries reload on task change Fully static configuration Memory Protection Unit (MPU) Masters Master# (optional PID) Transfer Error Crossbar MPU Slaves

41 Up to 64 DMA channels implemented Each channel source is selected by Software - Sources are NOT pre-assigned to peripherals Hardware - Sources are not pre-assigned to peripherals edma Features 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

42 Software Selection Of A DMA Source Disabled Source # 0 Source # 1 Peripherals Always Enabled Source # 2... Source # n # n+1.. # 32 or. 64 DMA Channel Mux DMA Channel #0 DMA Channel #1... DMA Channel # 15 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)

43 DMA Channel Mux Sources (shown for MPC5604P) DMA Mux Source Input # # sources DMA Source 0 1 Channel Disabled DSPIs: TX and RX CTU, CTU FIFO 1:5 14, 15 2 FlexPWM 0: WR, RD etimer 0 channels 0:1 and etimer 1 channels 0: ADC 0: Always Enabled -With PIT to generate periodic DMA - w/o PIT for continuous DMA transfer

44 Lock Detect Loss of Clock Detect FMPLL Block Diagram (MPC563xM) LOCK Loss Of Clock FM Mod. Control f ref (xtal) PRE DIV PFD (Phase Freq. Detector) Charge Pump Filter ICO (Current Controlled Osc.) f ico RFD fsys feedbackclk MFD fsys = fref x (MFD + 4) (PREDIV + 1) x 2 RFD Default Fsys = 1.5 x Fextclk unless PLLCFG2 = 1, then Fsys = 0.75 x Fextclk

45 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. Based on ME_RUN_PCx, ME_LPx and various ME_PCTLx registers 2. Clock generation on a peripheral or peripheral set basis.

46 Peripheral Clock Generation Examples

47 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 Searches for a BOOTID value in pre-assigned locations in flash Can allow serial download of code into internal SRAM for execution 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

48 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)

49 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] Pad SIU_PCR179[PA] (Pad Assignment can be 1, 2 or 3 bits)

50 Bit Field Name Symbol Description SIU_PCR: Pad Configuration Registers 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

51 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

52 Peripheral Example Overviews

53 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

54 emios Timer Module 24 Independent Channels Unified all have same output and input time function (mode) capability 24-bit wide counter buses 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, 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, provide disable control to 8 groups of 8 channels on etpua, etpub Bus A etpua etpub Bus B Bus C Bus D Chan 0 Chan 7 Chan 8-11 Chan 8 Chan 15 Chan 16 Chan 23 Chan Output disable control to etpua, etpub

55 Timer Mode Modulus Counter 1,2 (does not use pin) emios Modes of Operation Input Channel Modes Single Action Input Capture 1 Input Pulse Width Measurement 1 Note: As a supplement to the reference Input Period Measurement 1 manual, see EB651: MPC5500 emios Pulse/Edge Accumulation Avoiding Unexpected Module Operation Pulse Edge Counting Quadrature Decode Windowed Programmable Time Accumulation Modulus Counter Output Channel Modes Single Action Output Compare 1 Double Action Output Compare 1 Output Pulse Width Modulation 1,2 Output Pulse Width and Frequency Modulation 2 Center Aligned Output Pulse Width Modulation with dead time insertion 2 1 Mode supported on MPC500 2 Buffered mode versions avaialble except for MPC5554 and MPC5552 input modes

56 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 K /sec 2.5 usec Single Ended K / sec 2.67 usec 8 bit 12 MHz Differential K /sec 1.25 usec Single Ended K /sec 1.33 usec

57 Trigger (0) eqadc Command/Data Flow Command Queue 0 DMA Push Reg. 0 Command FIFO 0 Trigger (1) A/D BN 0 Result FIFO 0 Pop Reg. 0 DMA Result Queue 0 Command Queue 1 DMA Push Reg. 1 Command FIFO 1 Result FIFO 1 Pop Reg. 1 DMA Result Queue 1 O O O O O O Trigger (5) A/D BN 1 O O O O O O Command Queue 5 DMA Push Reg. 5 Command FIFO 5 Result FIFO 5 Pop Reg. 5 DMA Result Queue 5 Each CFIFO and RFIFO are hard-wired to individual DMA channels Each result can return through any RFIFO

58 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 3 interrupt sources : error, Rx, Tx MSB / LSB first Transmit/receive data inversion at pin level LINFlex(LIN and UART) SCI / LIN

59 FlexCAN: Architecture with MPC5510 FlexCAN CONTROL 20 IRQs 64 Transmit/Receive Message Buffers CANTx CANRx SERIAL BUFFERS Tx Shifter Rx Shifter Transparent to user Rx ID Mask 0 Rx ID Mask 63 Each buffer has it s own receive ID mask (up to 3 diff IDs) BUFFER 13 BUFFER 14 BUFFER 15 DATA DATA LENGTH DATA BUFFER 62 TIME DATA STAMP LENGTH DATA BUFFER 63 TIME IDDATA STAMP LENGTH DATA TIME ID STAMP DATA LENGTH ID TIME STAMP Buffers 0-7 can be used to implement an 8 frame Rx FIFO ID

60 Flexcan: Architecture - Combining FlexCAN Modules FlexCAN A (Transmit and Receive) Message Buffer 0 Message Buffer 1... CNTXA CNRXA Transceiver CANH CANL Vehicle CAN 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)

61 MPC560xB Family Unique Features

62 emios Enhanced Modular IO System CTU conversion CTU Cross Triggering Unit 16 ANP (Precise) TUE +/-2 counts PIT Period Interrupt INJECTED conversion ADC 16 ANS (Standard) TUE +/-3 counts 10-bit 64 channel e200 z0h NORMAL or SW INJ. conversion 4 32 MUX x4 ANX (Muxed) TUE +/-3 counts Power Architecture CORE 3 INTC Interrupt Controller WATCHDOG End of of CONV. CHAIN CTU INJ. MPC5604B Bolero 512K

63 Lighting - PWM Channels period n period n Hz channels (n+1) Ch 0 Ch 1 Ch 2 Ch 3 Ch n-1 Ch n 0% shift, 40% duty cycle 5% shift, 40% duty cycle 10% shift, 100% duty cycle OFF 90% shift, 70% duty cycle 95% shift, 90% duty cycle 160Hz channels (n+1) Ch 0 Ch 1 Ch 2 Ch 3 Ch n-1 Ch n period n period n+1 period n+2 0% shift, 15% duty cycle 5% shift, 100% duty cycle 20% shift, 30% duty cycle OFF 80% shift, 15% duty cycle 90% shift, 90% duty cycle

64 emios - OPWMT Mode Period Match A1 Match C1 Match B1 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.

65 Application Performance / Integration MPC5510 e200z1, edma e200z0 optional MHz 144/176LQFP 208MAPBGA 130nm Available In Design Planned Proposed MPC5517x 1.5M Flash, 80 KB RAM Up to 6 CAN, FlexRay, MLB MPC5516x 1M Flash, 64KB RAM Up to 6 CAN, FlexRay, MLB MPC5515S 768KB Flash, 48 KB RAM 5 CAN, 6 esci MPC5514E/G 512KB Flash 32K/64K RAM 32-bit Body Electronics MCU Roadmap MPC5668G 2MB Flash, 592KB RAM FlexRay, Ethernet, MediaLB MPC564xB e200z4 or e200z4+z MHz MPC5606B (w/ edma) 1M Flash, 64KB Data Flash 6 CAN, 80KB RAM 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 MPC5668E 2MB Flash, 128KB RAM, 6 CAN, 12LIN 90nm MPC5607B (w/ edma) 1.5M Flash, 64KB Data Flash 6 CAN, 96KB RAM MPC5668G/E High performance gateways Dual-core 200z6+z0, 208MAPBGA Bolero Gateway 2MB 2Mb Flash, 192K RAM, 64K Dataflash 6 CAN, 10 LIN, 6SPI. FR, Ethernet Samples: May 2009 Qual: Q MPC560xB/C e200z0 32, 48, 64MHz 64/100/144/176LQFP 90nm 90nm Bolero Gateway 4MB 4Mb flash, 256K RAM, 64K Dataflash 6 CAN, 12 LIN, 6SPI. FR, Ethernet 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 MPC5602D 256K Flash, 64KB Data Flash 1 CAN, 20KB RAM MPC5601D 128K Flash, 64KB Data Flash 1 CAN, 16KB RAM Samples: Feb 2010 Qual:Q NOW

66 Bolero Family Line-up Data Flash Code Flash 4Mb 3Mb 2Mb 1.5Mb 1Mb 768K 512K 384K 256K 256K 128K Pin Out 64Kb 64Kb 64Kb 64Kb 64Kb 64 Kb Technology 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 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 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 T a 90nm 64 MHz 125oC T a 90nm 64 MHz 125oC T a 90nm 48 MHz 125oC T a QFP 208 (*1) 256 (*1) BGA Device Ram Size Committed Proposed *1= package subject to confirmation. All proposed parts features subject to change with out notice.

67 Cross Family Compatibility Monaco (Powertrain) Pictus/Tokay (Airbag/Steering) Bolero (Body) Spectrum (Instrument Cluster) System Integration VReg Oscillator FMPLL RTC Interrupt Controller Crossbar Masters PowerPC e200z3 Core SIMD DMA MMU CROSSBAR SWITCH Debug JTAG Nexus Cal Bus Interface System Integration VReg Oscillator FMPLL RTC Interrupt Controller Crossbar Masters PowerPC e200z0 Core DMA FlexRay CROSSBAR SWITCH Debug JTAG Nexus System Integration VReg Oscillator FMPLL RTC Interrupt Controller Crossbar Masters DMA Ready PowerPC e200z0 Core CROSSBAR SWITCH Memory Protection Unit (MPU) Debug JTAG Nexus PIT 4ch 32b MCM System Integration VReg Oscillator FMPLL RTC Interrupt Controller Crossbar Masters PowerPC e200z0 Core Display DMA Interface Unit CROSSBAR SWITCH Memory Protection Unit (MPU) Debug JTAG Nexus I/O Bridge 48K 1Mb SRAM Flash Crossbar Slaves Communications I/O System Boot Assist Module (BAM) I/O Bridge 40K 512Kb SRAM Flash Crossbar Slaves Communications I/O System Boot Assist Module (BAM) I/O Bridge 512Kb Flash 32K SRAM Power Sw Crossbar Slaves Communications I/O System Boot Assist Module (BAM) I/O Bridge 64K Video External 1Mb SRAM RAM Bus Flash (tbd) (208MAPBGA) Crossbar Slaves Communications I/O System Boot Assist Module (BAM) emioslite 24ch 2.5K Code RAM 12K Data RAM etpu 32 ch. 2 FlexCAN 2 esci 2 DSPI 32 ch ATD 12bit Mc Timer Mc Timer Mc Timer Mc PWM 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 4 LINFlex 3 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 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

68 Tools

69 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 CodeWarrior, 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. RAppID Time to Market Improvement for the MPC560xB/C Family 69

70 Pin Allocation Wizard - Screenshot 70

71 Fully enabled RAppID MPC5516 CodeWarrior 71

72 Development Tools An Existing Ecosystem CodeWarrior Green Hills Wind River GNU Lauterbach isystem P&E Micro RAppID Init dspace MathWorks Compilers Debuggers Simulators Eval Boards works w/ any (v2.2) debugger Initialization Tools Modeling and Code 72

73 March, 2010 New Power Architecture Solutions for Automotive Body Electronics Francisco Ramirez Field Applications Engineer

74 March, 2010 New Power Architecture: MPC560X MPC560XS Spectrum for Clusters

75 Common Microcontroller System Features Building Block Diagram DCU Quad SPI Interface Sound Generation Software Librarles Software / Tools Graphic Application Concept Design

76 DIS MCU Roadmap Application Performance / Integration Production Committed Proposed 0.25um Stepper Motor, LCD drive 25MHz 80,112 pin (ROM 32K-256K 512K 384K 256K S12HZ 256K 128K 64K MPC5121e 400MHz OpenGL ES1.1 Accelerator Up to XGA display External Flash & DRAM i/f 400 BGA i.mx35g ARM1136JF-S 400MHz Open VG 1.1 2D Graphics Accelerator Ip to SVGA display External Flash & DRAM i/f 400 BGA 0.25um 400 MHz MPC560xS Z0h 64MHz DCU on 1MB & 768K Up to 160KB GRAM Stepper Motor, LCD drive 144 / 176 pin 800 MIPs Stepper Motor, S12XHZ LCD drive 40MHz XGATE 112,144 pin 1MB 768KB 512KB 256KB 90nm Stepper Motor, LCD drive 32MHz 100,64 pin S12HY Stepper Motor, LCD drive 32MHz 112, 144 pin 64K 48K 32K 256K 128K i.mx51 Coretex A8 600MHz OpenVG1.1 & OpenGL2.0 Accel Up to WXGA display External Flash & DRAM i/f 530 BGA MPC564xS Z4d 120MHz DCU (TFT Display Driver) Graphics Accelerator 1MB of GRAM Stepper Motor Drive 176 / 208 QFP, 324 BGA 0.18um 1200 MIPS 2MB 1MB 90nm High end Multimedia MCU s Single chip Instrument cluster 76

77 MPC5606S: Spectrum 1M (64MHz) System Integration VReg Oscillator FMPLLx2 RTC/32kHz Interrupt Controller Power Management Boot Assist Module (BAM) Sound Generation emios 24 ch Crossbar Masters I/O Bridge 2 FlexCAN 16ch DMA 1Mb Flash Power e200z0h Core CROSSBAR SWITCH Memory Protection Unit (MPU) 4x16k EEE 48K SRAM Display Control Unit Crossbar Slaves Communications I/O System 2 LINFlex 3 SPI 4 I2C 160K Graphics SRAM 16 ch ATD 10bit Debug JTAG Nexus RGB / Control QuadSPI Serial Flash Controller Stall Detect 6 Gauge Drivers PDI 40x4 LCD General Characteritics: 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: 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: 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 77

78 Investment reuse/portability WXGA Application Performance / Integration WVGA HVGA TFT MPC5121e 400MHz OpenGL ES1.1 Accelerator Up to XGA display External Flash & DRAM i/f 400 BGA i.mx51 Coretex A8 600MHz OpenVG1.1 i.mx35g & OpenGL2.0 Accel Up to WXGA display ARM1136JF-S External CPU 400MHz & DRAM i/f Open VG 1.1 2D Graphics Accelerator 530 BGA Ip to SVGA display External Flash & DRAM i/f 400 BGA MPC5645S 800 MIPs 1200 MIPS 400 MHz Z4d 120MHz DCU (TFT Display Driver) MPC5645S Graphics Accelerator Z4d CPU 120MHz Motor Drive DCU (TFT Display Driver) 176 / 208 pin MPC5606S Graphics Accelerator Stepper Motor Drive Z0h 64MHz 176 / 208 pin DCU (TFT Display Driver) Up to 160KB GRAM Stepper Motor, LCD drive 144 / 176 pin 3MB 2MB 3MB 1.5MB 2MB 1MB1.5MB 768KB + + MPC5604S MPC5604S DRAM Connectivity, application, tools DCU OpenVG OpenGL No TFT MPC5604S Z0h 64MHz Stepper Motor, LCD drive 144 / 176 pin 512KB 256KB 78

79 DCU The display driver used in Spectrum family MCU s 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 79

80 Bliting concepts OBJECT memory Blit engine FRAME buffer Visible buffer Shadow buffer Display driver Classic solution Flexible and typically slow Needs typically 3x full frame buffer RAM for RGB888 that is 1147kB. Typically needs external fast RAM. CPU Scratch pad Needs min. 2 x resolution RAM for video input. Display frame rate asynchronous output composition DCU direct un-buffered blit engine OBJECT memory edma CPU FRAME buffer Fragmented frame buffer Bliter Display driver Fixed function and typically much faster Needs less frame buffer RAM. For RGB888 that is typically less than 160kB 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 80

81 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) s 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 81

82 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 82

83 MPC5606S, Layers and planes usage Green frame show Planes and HW cursor Red frames show Layers 83

84 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. 84

85 Transparency Mode Blending examples 85

86 Transparency Mode Blending examples 86

87 DCU layers 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. 87

88 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. 88

89 MPC5606S, DCU timing example A B C 1 frame = 60Hz D 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. 89

90 PDI video input, use case example Camera ITU-R BT.656 (progressive RGB) MCU PDI 9 pin Digital RGB CCIR 656 Digital RGB Proprietary LVDS FPGA De-interlacing Scaling muxing Digital RGB MCU PDI 10 pin Digital RGB Camera or Navigation or DVD decoder or TV tuner or 16/18 bit RGB MCU PDI 20/22 pin Digital RGB 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 90

91 QuadSPI / Serial Flash 91

92 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): 5MHz pixel clock 16bpp layer = 10MByte/sec 24bpp layer = 15MByte/sec 32bpp layer = 20MByte/sec 9MHz pixel clock 16bpp layer = 18MByte/sec 24bpp layer = 27MByte/sec 32bpp layer = 36MByte/sec 92

93 AMBA AHB Slave: Memory-mapped Serial Flash looks like On-Platform memory Accessible by all crossbar masters Direct access by DCU for prerendered layers. QuadSPI Integration Spectrum1M System Integration VReg Oscillator 2xFMPLL RTC Interrupt Controller Crossbar Masters 16ch DMA Power e200z0h Core Display Control Unit Debug JTAG Nexus RGB / Control PDI IPS: Connected as an IPS peripheral Useable as regular SPI Clocking Serial Interface runs up to full 48MHz platform speed Auxiliary PLL available as optional clock source. Power Management Boot Assist Module (BAM) Sound Generation emios 24 ch I/O Bridge 2 FlexCAN 1Mb Flash CROSSBAR SWITCH Memory Protection Unit (MPU) 4x16k EEE 48K SRAM Crossbar Slaves Communications I/O System 2 LINFlex 2 DSPI 4 I2C 160K Graphics SRAM 16 ch ATD 10bit QuadSPI Serial Flash Controller Stall Detect 6 Gauge Drivers 40x4 LCD 93

94 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 128k QuadSPI Slot-0 MCU Memory Map 0x8000_0000 0x8000_0004 0x8000_0008 0x8000_000C 0x803F_FFFC 0x87FF_FFFC QSPI_ARDB Serial Flash Memory Map 0x00_0000 0x00_0004 0x00_0008 0x00_000C 0x3F_FFFC 32Mbit Serial Flash (4MByte) 94

95 Sound Generation 95

96 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 LPF Freq. Amplitude Filtered 96

97 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 97

98 Software Libraries 98

99 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 99

100 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 SERVICES DMA Handler, Animation Handler, Interrupts, Others APPLICATION LAYER Movie Clips, Stimuli, Images, Font files HARDWARE INDEPENDENT LAYER (HIL) Font library, Graphics Library, Animation Library and Display driver. HARDWARE ABSTRACTION LAYER (HAL) Graphic Memory Allocation, DCU and DMA 100

101 Software / Tools 101

102 Freescale Image Encoder *.h Image File (gif, bmp, jpeg png, others) Freescale Image Encoder *.c Spectrum Graphics Libaries 102

103 Freescale Font Encoder *.fnt (xml file) Angel Code Font Bitmap Generator *_00.png [*_01.png] Freescale Font Encoder Spectrum Font Library 103

STM32 F-2 series High-performance Cortex-M3 MCUs

STM32 F-2 series High-performance Cortex-M3 MCUs STM32 F-2 series High-performance Cortex-M3 MCUs STMicroelectronics 32-bit microcontrollers, 120 MHz/150 DMIPS with ART Accelerator TM and advanced peripherals www.st.com/mcu STM32 F-2 series The STM32

More information

Atmel Norway 2005. XMEGA Introduction

Atmel Norway 2005. XMEGA Introduction Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K

More information

Freescale Leadership in Driving Standards. Customer Relationships. Long-term Global Presence. Broadest Automotive MCU Product Portfolio

Freescale Leadership in Driving Standards. Customer Relationships. Long-term Global Presence. Broadest Automotive MCU Product Portfolio September 2013 Freescale Leadership in Driving Standards First semiconductor supplier to join the AUTOSAR partnership Active member of JASPAR Member of GENIVI Co-founded Open Alliance on Ethernet for Automotive

More information

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor Von der Hardware zur Software in FPGAs mit Embedded Prozessoren Alexander Hahn Senior Field Application Engineer Lattice Semiconductor AGENDA Overview Mico32 Embedded Processor Development Tool Chain HW/SW

More information

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications C ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications 1-chip solution for color display, video input and meter control with built-in highperformance CPU core FR81S

More information

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah (DSF) Soft Core Prozessor NIOS II Stand Mai 2007 Jens Onno Krah Cologne University of Applied Sciences www.fh-koeln.de jens_onno.krah@fh-koeln.de NIOS II 1 1 What is Nios II? Altera s Second Generation

More information

System Design Issues in Embedded Processing

System Design Issues in Embedded Processing System Design Issues in Embedded Processing 9/16/10 Jacob Borgeson 1 Agenda What does TI do? From MCU to MPU to DSP: What are some trends? Design Challenges Tools to Help 2 TI - the complete system The

More information

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

COMPUTER HARDWARE. Input- Output and Communication Memory Systems COMPUTER HARDWARE Input- Output and Communication Memory Systems Computer I/O I/O devices commonly found in Computer systems Keyboards Displays Printers Magnetic Drives Compact disk read only memory (CD-ROM)

More information

7a. System-on-chip design and prototyping platforms

7a. System-on-chip design and prototyping platforms 7a. System-on-chip design and prototyping platforms Labros Bisdounis, Ph.D. Department of Computer and Communication Engineering 1 What is System-on-Chip (SoC)? System-on-chip is an integrated circuit

More information

OpenSPARC T1 Processor

OpenSPARC T1 Processor OpenSPARC T1 Processor The OpenSPARC T1 processor is the first chip multiprocessor that fully implements the Sun Throughput Computing Initiative. Each of the eight SPARC processor cores has full hardware

More information

SABRE Lite Development Kit

SABRE Lite Development Kit SABRE Lite Development Kit Freescale i.mx 6Quad ARM Cortex A9 processor at 1GHz per core 1GByte of 64-bit wide DDR3 @ 532MHz UART, USB, Ethernet, CAN, SATA, SD, JTAG, I2C Three Display Ports (RGB, LVDS

More information

DS1104 R&D Controller Board

DS1104 R&D Controller Board DS1104 R&D Controller Board Cost-effective system for controller development Highlights Single-board system with real-time hardware and comprehensive I/O Cost-effective PCI hardware for use in PCs Application

More information

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com Best Practises for LabVIEW FPGA Design Flow 1 Agenda Overall Application Design Flow Host, Real-Time and FPGA LabVIEW FPGA Architecture Development FPGA Design Flow Common FPGA Architectures Testing and

More information

Serial Communications

Serial Communications Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation

More information

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc. SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance

More information

Chapter 13. PIC Family Microcontroller

Chapter 13. PIC Family Microcontroller Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to

More information

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ nc. Order this document by MC68328/D Microprocessor and Memory Technologies Group MC68328 MC68328V Product Brief Integrated Portable System Processor DragonBall ΤΜ As the portable consumer market grows

More information

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Course & Kit Contents LEARN HOW TO: Use of Keil Real View for ARM Use ARM Cortex-M3 MCU for professional embedded application development Understanding

More information

Notes and terms of conditions. Vendor shall note the following terms and conditions/ information before they submit their quote.

Notes and terms of conditions. Vendor shall note the following terms and conditions/ information before they submit their quote. Specifications for ARINC 653 compliant RTOS & Development Environment Notes and terms of conditions Vendor shall note the following terms and conditions/ information before they submit their quote. 1.

More information

Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer. October 2009

Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer. October 2009 Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer October 2009 Jennic highlights Jennic is a fabless semiconductor company providing Wireless Microcontrollers to high-growth

More information

ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654

ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654 ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654 Features ARM Cortex-A8 processor, 800MHz Xilinx Spartan-6 FPGA expands vision processing capabilities Dual MIPI CSI-2 CMOS camera ports,

More information

BEAGLEBONE BLACK ARCHITECTURE MADELEINE DAIGNEAU MICHELLE ADVENA

BEAGLEBONE BLACK ARCHITECTURE MADELEINE DAIGNEAU MICHELLE ADVENA BEAGLEBONE BLACK ARCHITECTURE MADELEINE DAIGNEAU MICHELLE ADVENA AGENDA INTRO TO BEAGLEBONE BLACK HARDWARE & SPECS CORTEX-A8 ARMV7 PROCESSOR PROS & CONS VS RASPBERRY PI WHEN TO USE BEAGLEBONE BLACK Single

More information

Building Blocks for PRU Development

Building Blocks for PRU Development Building Blocks for PRU Development Module 1 PRU Hardware Overview This session covers a hardware overview of the PRU-ICSS Subsystem. Author: Texas Instruments, Sitara ARM Processors Oct 2014 2 ARM SoC

More information

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

Motor Control using NXP s LPC2900

Motor Control using NXP s LPC2900 Motor Control using NXP s LPC2900 Agenda LPC2900 Overview and Development tools Control of BLDC Motors using the LPC2900 CPU Load of BLDCM and PMSM Enhancing performance LPC2900 Demo BLDC motor 2 LPC2900

More information

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT HARDWARE GUIDE This document is part of Turbo Programmer documentation. For Developer Documentation, Applications and Examples, see http:/// PRELIMINARY (C)

More information

What is a System on a Chip?

What is a System on a Chip? What is a System on a Chip? Integration of a complete system, that until recently consisted of multiple ICs, onto a single IC. CPU PCI DSP SRAM ROM MPEG SoC DRAM System Chips Why? Characteristics: Complex

More information

National CR16C Family On-Chip Emulation. Contents. Technical Notes V9.11.75

National CR16C Family On-Chip Emulation. Contents. Technical Notes V9.11.75 _ V9.11.75 Technical Notes National CR16C Family On-Chip Emulation Contents Contents... 1 1 Introduction... 2 2 Emulation options... 3 2.1 Hardware Options... 3 2.2 Initialization Sequence... 4 2.3 JTAG

More information

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions September 2013 Silicon Support & Professional Eng. Services Customer Experience Freescale Provided SW & Solutions Provide Valued Software, Support & Professional Engineering Services, Competitively 2 Customer

More information

All Programmable Logic. Hans-Joachim Gelke Institute of Embedded Systems. Zürcher Fachhochschule

All Programmable Logic. Hans-Joachim Gelke Institute of Embedded Systems. Zürcher Fachhochschule All Programmable Logic Hans-Joachim Gelke Institute of Embedded Systems Institute of Embedded Systems 31 Assistants 10 Professors 7 Technical Employees 2 Secretaries www.ines.zhaw.ch Research: Education:

More information

Single Phase Two-Channel Interleaved PFC Operating in CrM

Single Phase Two-Channel Interleaved PFC Operating in CrM Freescale Semiconductor Application Note Document Number: AN4836 Rev. 0, 12/2013 Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers by Freescale

More information

Electronic Transmission Control/ Continuously Variable Transmission Control

Electronic Transmission Control/ Continuously Variable Transmission Control Powertrain Control Electronic Transmission Control/ Continuously Variable Transmission Control Overview Automatic transmissions simplify car driving and for most users, offer smoother vehicle operation.

More information

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Fondamenti su strumenti di sviluppo per microcontrollori PIC Fondamenti su strumenti di sviluppo per microcontrollori PIC MPSIM ICE 2000 ICD 2 REAL ICE PICSTART Ad uso interno del corso Elettronica e Telecomunicazioni 1 2 MPLAB SIM /1 MPLAB SIM is a discrete-event

More information

Digital Signal Controller Based Automatic Transfer Switch

Digital Signal Controller Based Automatic Transfer Switch Digital Signal Controller Based Automatic Transfer Switch by Venkat Anant Senior Staff Applications Engineer Freescale Semiconductor, Inc. Abstract: An automatic transfer switch (ATS) enables backup generators,

More information

POCKET SCOPE 2. The idea 2. Design criteria 3

POCKET SCOPE 2. The idea 2. Design criteria 3 POCKET SCOPE 2 The idea 2 Design criteria 3 Microcontroller requirements 3 The microcontroller must have speed. 3 The microcontroller must have RAM. 3 The microcontroller must have secure Flash. 3 The

More information

ZigBee Technology Overview

ZigBee Technology Overview ZigBee Technology Overview Presented by Silicon Laboratories Shaoxian Luo 1 EM351 & EM357 introduction EM358x Family introduction 2 EM351 & EM357 3 Ember ZigBee Platform Complete, ready for certification

More information

Am186ER/Am188ER AMD Continues 16-bit Innovation

Am186ER/Am188ER AMD Continues 16-bit Innovation Am186ER/Am188ER AMD Continues 16-bit Innovation 386-Class Performance, Enhanced System Integration, and Built-in SRAM Problem with External RAM All embedded systems require RAM Low density SRAM moving

More information

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Hello, and welcome to this presentation of the STM32L4 reset and clock controller. Hello, and welcome to this presentation of the STM32L4 reset and clock controller. 1 The STM32L4 reset and clock controller manages system and peripheral clocks. STM32L4 devices embed three internal oscillators,

More information

Local Interconnect Network Training. Local Interconnect Network Training. Overview

Local Interconnect Network Training. Local Interconnect Network Training. Overview Overview Local Interconnect Network Training History and introduction Technical features The ISO/OSI reference model and LIN Frames Message Frames Communication concept of LIN Command Frames and Extended

More information

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS SERIAL I/O COMMON PROTOCOLS RS-232 Fundamentals What is RS-232 RS-232 is a popular communications interface for connecting modems and data acquisition devices (i.e. GPS receivers, electronic balances,

More information

Preliminary Draft May 19th 1992. Video Subsystem

Preliminary Draft May 19th 1992. Video Subsystem Video Subsystem 2 Preliminary Draft May 19th 1992 Video Subsystem Section 1. Introduction....................... 1-1 Video Subsystem.......................... 1-2 Section 2. VGA Function......................

More information

A Design of Video Acquisition and Transmission Based on ARM. Ziqiang Hao a, Hongzuo Li b

A Design of Video Acquisition and Transmission Based on ARM. Ziqiang Hao a, Hongzuo Li b A Design of Video Acquisition and Transmission Based on ARM Ziqiang Hao a, Hongzuo Li b Changchun University of Science & Technology, Changchun, Jilin, China a shuil47@163.com, b lihongzuo@sohu.com Keywords:video

More information

MONOCHROME RGB YCbCr VIDEO DIGITIZER

MONOCHROME RGB YCbCr VIDEO DIGITIZER Active Silicon SNAPPER-PMC-8/24 MONOCHROME RGB YCbCr VIDEO DIGITIZER High quality analogue video acquisition board with square pixel sampling for CCIR, EIA (RS-170) standards, and nonstandard video formats.

More information

Software User Guide UG-461

Software User Guide UG-461 Software User Guide UG-461 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ezlinx icoupler Isolated Interface Development Environment

More information

Migrating Application Code from ARM Cortex-M4 to Cortex-M7 Processors

Migrating Application Code from ARM Cortex-M4 to Cortex-M7 Processors Migrating Application Code from ARM Cortex-M4 to Cortex-M7 Processors Joseph Yiu and Robert Boys January 2015 Version 1.1 The latest version of this document is here: /appnotes/docs/apnt_270.asp 1 Cortex

More information

MAC71x6 Microcontroller Device Product Brief Covers MAC7106, MAC7116, MAC7126, MAC7136

MAC71x6 Microcontroller Device Product Brief Covers MAC7106, MAC7116, MAC7126, MAC7136 Freescale Semiconductor Product Brief MAC7106PB Rev. 2, 09/2004 MAC71x6 Microcontroller Device Product Brief Covers MAC7106, MAC7116, MAC7126, MAC7136 32-bit Embedded Controller Division MAC71x6 microcontrollers

More information

FLYPORT Wi-Fi 802.11G

FLYPORT Wi-Fi 802.11G FLYPORT Wi-Fi 802.11G System on module 802.11g WIFI - Infrastructure mode - softap mode - Ad hoc mode Microchip PIC 24F 16 bit processor Microchip MRF24WG0MA/MB - Native WiFi 802.11g transceiver - PCB

More information

In-Vehicle Networking

In-Vehicle Networking In-Vehicle Networking SAE Network classification Class A networks Low Speed (

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the DVI Interface The outline: The reasons for digital interface of a monitor the transfer from VGA to DVI. DVI v. analog interface. The principles of LCD control through DVI interface. The link between DVI

More information

Networking Remote-Controlled Moving Image Monitoring System

Networking Remote-Controlled Moving Image Monitoring System Networking Remote-Controlled Moving Image Monitoring System First Prize Networking Remote-Controlled Moving Image Monitoring System Institution: Participants: Instructor: National Chung Hsing University

More information

ET-BASE AVR ATmega64/128

ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on

More information

Computer Systems Structure Input/Output

Computer Systems Structure Input/Output Computer Systems Structure Input/Output Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output Ward 1 Ward 2 Examples of I/O Devices

More information

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the

More information

Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com

Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

ARM Cortex STM series

ARM Cortex STM series ARM Cortex board 1 ARM Cortex STM series 2 STM32 Series 3 Abbreviation FS full speed HS high speed MC motor controller MSI multi speed internal oscillator RNG random number generator SDIO secure digital

More information

Solomon Systech Image Processor for Car Entertainment Application

Solomon Systech Image Processor for Car Entertainment Application Company: Author: Piony Yeung Title: Technical Marketing Engineer Introduction Mobile video has taken off recently as a fun, viable, and even necessary addition to in-car entertainment. Several new SUV

More information

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at Embedded Software for FlexRay Systems Special aspects and benefits of implementing modularized software Standardized software components will help in mastering the growing complexity of the interplay of

More information

Designing a System-on-Chip (SoC) with an ARM Cortex -M Processor

Designing a System-on-Chip (SoC) with an ARM Cortex -M Processor Designing a System-on-Chip (SoC) with an ARM Cortex -M Processor A Starter Guide Joseph Yiu November 2014 version 1.02 27 Nov 2014 1 - Background Since the ARM Cortex -M0 Processor was released a few years

More information

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM 1 The ARM architecture processors popular in Mobile phone systems 2 ARM Features ARM has 32-bit architecture but supports 16 bit

More information

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers Freescale Semiconductor Application Note Document Number: AN4836 Rev. 1, 07/2014 Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers by Freescale

More information

Data Transfer between Two USB Flash SCSI Disks using a Touch Screen

Data Transfer between Two USB Flash SCSI Disks using a Touch Screen Data Transfer between Two USB Flash SCSI Disks using a Touch Screen Anurag A. Chakravorty #1, Raghwendra J. Suryawanshi *2, # Bachelor of Engineering, Department of Information Technology, Matsyodari Shikshan

More information

SBC8600B Single Board Computer

SBC8600B Single Board Computer SBC8600B Single Board Computer 720MHz TI s Sitara AM3359 ARM Cortex-A8 Microprocessor Onboard 512MByte DDR3 SDRAM and 512MByte NAND Flash UARTs, 2*USB Host and 1*OTG, 2*Ethernet, CAN, RS485, LCD/TSP, Audio,

More information

Camera Sensor Driver Development And Integration

Camera Sensor Driver Development And Integration Camera Sensor Driver Development And Integration Introduction Camera enables multimedia on phones. It is going to be an important human machine interface, adding to augmented reality possibilities on embedded

More information

Lab Experiment 1: The LPC 2148 Education Board

Lab Experiment 1: The LPC 2148 Education Board Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,

More information

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse: PS-2 Mouse: The Protocol: For out mini project we designed a serial port transmitter receiver, which uses the Baud rate protocol. The PS-2 port is similar to the serial port (performs the function of transmitting

More information

The Orca Chip... Heart of IBM s RISC System/6000 Value Servers

The Orca Chip... Heart of IBM s RISC System/6000 Value Servers The Orca Chip... Heart of IBM s RISC System/6000 Value Servers Ravi Arimilli IBM RISC System/6000 Division 1 Agenda. Server Background. Cache Heirarchy Performance Study. RS/6000 Value Server System Structure.

More information

PAC52XX Clock Control Firmware Design

PAC52XX Clock Control Firmware Design APPLICATION NOTE PAC52XX Clock Control Firmware Design TM Marc Sousa Senior Manager, Systems and Firmware www.active-semi.com Copyright 2014 Active-Semi, Inc. TABLE OF CONTENTS APPLICATION NOTE... 1 Table

More information

Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED

Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED www.analog.com www.hittite.com THIS PAGE INTENTIONALLY LEFT BLANK PLL & PLL with Integrated VCO Evaluation

More information

System Considerations

System Considerations System Considerations Interfacing Performance Power Size Ease-of Use Programming Interfacing Debugging Cost Device cost System cost Development cost Time to market Integration Peripherals Different Needs?

More information

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent

More information

Gecko. Energy-friendly microcontrollers for the IoT. Gecko MCUs Complete portfolio of energyfriendly 32-bit microcontrollers PRODUCT SELECTOR GUIDE

Gecko. Energy-friendly microcontrollers for the IoT. Gecko MCUs Complete portfolio of energyfriendly 32-bit microcontrollers PRODUCT SELECTOR GUIDE Gecko MCUs Energy-friendly microcontrollers for the IoT PRODUCT SELECTOR GUIDE Gecko MCUs Complete portfolio of energyfriendly 32-bit microcontrollers www.silabs.com/efm32 Smart. Connected. Energy-Friendly.

More information

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD Quick Start Guide MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD Quick Start Guide Get to Know the MRB-KW01x Module UART Selector ANT 1 RFIO (TX/RX) USB 2.0 Serial

More information

Freescale Semiconductor, I

Freescale Semiconductor, I nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development

More information

VELOCITY LAB TM Embedded Development Ecosystem

VELOCITY LAB TM Embedded Development Ecosystem VELOCITY LAB TM Embedded Development Ecosystem 0C05B Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Microcontroller and Microprocessor Line-up 2010 2013 32-bit 8/16-bit 1200

More information

ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information

ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information Rev. 1.1 8 August 2012 Errata sheet Document information Info Keywords Abstract Content LPC4357FET256; LPC4357FET180; LPC4357FBD208; LPC4353FET256; LPC4353FET180; LPC4353FBD208; LPC4337FET256; LPC4337FET180;

More information

SHE Secure Hardware Extension

SHE Secure Hardware Extension SHE Secure Hardware Extension Data Security for Automotive Embedded Systems Workshop on Cryptography and Embedded Security Embedded World @ Nuremberg, February 2012 Content Data Security - What does it

More information

Video/Cameras, High Bandwidth Data Handling on imx6 Cortex-A9 Single Board Computer

Video/Cameras, High Bandwidth Data Handling on imx6 Cortex-A9 Single Board Computer Video/Cameras, High Bandwidth Data Handling on imx6 Cortex-A9 Single Board Computer The SBC4661 is a powerful 1 GHz Quad Core Cortex-A9 with multiple video ports, quad USB3.0 and dual GigE Ethernet. Using

More information

A case study of mobile SoC architecture design based on transaction-level modeling

A case study of mobile SoC architecture design based on transaction-level modeling A case study of mobile SoC architecture design based on transaction-level modeling Eui-Young Chung School of Electrical & Electronic Eng. Yonsei University 1 EUI-YOUNG(EY) CHUNG, EY CHUNG Outline Introduction

More information

Pre-tested System-on-Chip Design. Accelerates PLD Development

Pre-tested System-on-Chip Design. Accelerates PLD Development Pre-tested System-on-Chip Design Accelerates PLD Development March 2010 Lattice Semiconductor 5555 Northeast Moore Ct. Hillsboro, Oregon 97124 USA Telephone: (503) 268-8000 www.latticesemi.com 1 Pre-tested

More information

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory 1 1. Memory Organisation 2 Random access model A memory-, a data byte, or a word, or a double

More information

SOC architecture and design

SOC architecture and design SOC architecture and design system-on-chip (SOC) processors: become components in a system SOC covers many topics processor: pipelined, superscalar, VLIW, array, vector storage: cache, embedded and external

More information

The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements.

The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements. HARDWARE DESCRIPTION The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements. BASE MODULE GO LINE Digital I/O 8 Analog Out AUX 1

More information

Accurate Measurement of the Mains Electricity Frequency

Accurate Measurement of the Mains Electricity Frequency Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC dogan@neu.edu.tr Abstract The frequency of the mains electricity supply

More information

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools

More information

High-Performance, Highly Secure Networking for Industrial and IoT Applications

High-Performance, Highly Secure Networking for Industrial and IoT Applications High-Performance, Highly Secure Networking for Industrial and IoT Applications Table of Contents 2 Introduction 2 Communication Accelerators 3 Enterprise Network Lineage Features 5 Example applications

More information

Embedded OS. Product Information

Embedded OS. Product Information Product Information Table of Contents 1 Operating Systems for ECUs... 3 2 MICROSAR.OS The Real-Time Operating System for the AUTOSAR Standard... 3 2.1 Overview of Advantages... 3 2.2 Properties... 4 2.3

More information

PowerPC Microprocessor Clock Modes

PowerPC Microprocessor Clock Modes nc. Freescale Semiconductor AN1269 (Freescale Order Number) 1/96 Application Note PowerPC Microprocessor Clock Modes The PowerPC microprocessors offer customers numerous clocking options. An internal phase-lock

More information

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM TWR-MECH Mechatronics Board TOWER SYSTEM Get to Know the Tower Mechatronics Board Primary Connector / Switch MCF52259 Connectors for Up to Eight Servos SW4 (Reset) USB OTG 5V Supply Touch Panel Socket

More information

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Design of a High Speed Communications Link Using Field Programmable Gate Arrays Customer-Authored Application Note AC103 Design of a High Speed Communications Link Using Field Programmable Gate Arrays Amy Lovelace, Technical Staff Engineer Alcatel Network Systems Introduction A communication

More information

82557 10 100 Mbps PCI LAN Controller A Guide to 82596 Compatibility

82557 10 100 Mbps PCI LAN Controller A Guide to 82596 Compatibility APPLICATION NOTE 82557 10 100 Mbps PCI LAN Controller A Guide to 82596 Compatibility Technical Marketing Network Products Division November 1995 Order Number 644126-001 Information in this document is

More information

Embedded Display Module EDM6070

Embedded Display Module EDM6070 Embedded Display Module EDM6070 Atmel AT91SAM9X35 Based Single Board Computer BY Product Overview Version 1.0 Dated: 3 rd Dec 2013 Table of Contents Product Overview... 2 Introduction... 2 Kit Contents...

More information

STLinux Software development environment

STLinux Software development environment STLinux Software development environment Development environment The STLinux Development Environment is a comprehensive set of tools and packages for developing Linux-based applications on ST s consumer

More information

CHAPTER 7: The CPU and Memory

CHAPTER 7: The CPU and Memory CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides

More information

Embedded Systems Design Course Applying the mbed microcontroller

Embedded Systems Design Course Applying the mbed microcontroller Embedded Systems Design Course Applying the mbed microcontroller Serial communications with SPI These course notes are written by R.Toulson (Anglia Ruskin University) and T.Wilmshurst (University of Derby).

More information

Tutorial for MPLAB Starter Kit for PIC18F

Tutorial for MPLAB Starter Kit for PIC18F Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is

More information

Architekturen und Einsatz von FPGAs mit integrierten Prozessor Kernen. Hans-Joachim Gelke Institute of Embedded Systems Professur für Mikroelektronik

Architekturen und Einsatz von FPGAs mit integrierten Prozessor Kernen. Hans-Joachim Gelke Institute of Embedded Systems Professur für Mikroelektronik Architekturen und Einsatz von FPGAs mit integrierten Prozessor Kernen Hans-Joachim Gelke Institute of Embedded Systems Professur für Mikroelektronik Contents Überblick: Aufbau moderner FPGA Einblick: Eigenschaften

More information

Network connectivity controllers

Network connectivity controllers Network connectivity controllers High performance connectivity solutions Factory Automation The hostile environment of many factories can have a significant impact on the life expectancy of PCs, and industrially

More information

DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD

DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD PRELIMINARY DATA SHEET Wednesday, 16 May 2012 Version 0.5 Copyright 2000-2012 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes

More information