Publicity around hacking of today's cars OEM s want to prevent software from being copied

Similar documents
Configuring and using the DCU2 on the MPC5606S MCU

Laboratory Exercise 4

Overview of BDM nc. The IEEE JTAG specification is also recommended reading for those unfamiliar with JTAG. 1.2 Overview of BDM Before the intr

Module Introduction. Purpose This training module covers 68K/ColdFire Specific Peripherals

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

Dynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li

EDA385 Bomberman. Fredrik Ahlberg Adam Johansson Magnus Hultin

SignalTap Plus System Analyzer

A MISSILE INSTRUMENTATION ENCODER

Manual Version Ver 1.0

Low-speed serial buses are used in wide variety of electronics products. Various low-speed buses exist in different

Embedded System Training Module ABLab Solutions

TV Character Generator

Alice EduPad for Tiva or MSP432 TI ARM Launchpad. User s Guide Version /23/2017

AD9884A Evaluation Kit Documentation

igh-performance Image Display LSI optimal for Driving Support MB86R11/MB86R12

UNIT V 8051 Microcontroller based Systems Design

IEEE802.11a Based Wireless AV Module(WAVM) with Digital AV Interface. Outline

STA2051E VESPUCCI 32-BIT SINGLE CHIP BASEBAND CONTROLLER FOR GPS AND TELEMATIC APPLICATIONS 1 FEATURES. Figure 1. Packages

SingMai Electronics SM06. Advanced Composite Video Interface: DVI/HD-SDI to acvi converter module. User Manual. Revision th December 2016

NS8050U MICROWIRE PLUSTM Interface

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

Major Differences Between the DT9847 Series Modules

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

LAX_x Logic Analyzer

DT9834 Series High-Performance Multifunction USB Data Acquisition Modules

RF4432 wireless transceiver module

Section 14 Parallel Peripheral Interface (PPI)

Lattice Embedded Vision Development Kit User Guide

AL330B-DMB-A0 Digital LCD Display SOC Demo Board

Display Interfaces. Display solutions from Inforce. MIPI-DSI to Parallel RGB format

Implementing Audio IP in SDI II on Arria V Development Board

Design of Vision Embedded Platform with AVR

EECS150 - Digital Design Lecture 12 - Video Interfacing. Recap and Outline

Alice EduPad Board. User s Guide Version /11/2017

R5 RIC Quickstart R5 RIC. R5 RIC Quickstart. Saab TransponderTech AB. Appendices. Project designation. Document title. Page 1 (25)

Senior Design Project: Blind Transmitter

The World Leader in High Performance Signal Processing Solutions. Section 15. Parallel Peripheral Interface (PPI)

Configuring the Élan SC300 Device s Internal CGA Controller for a Specific LCD Panel

Design and Implementation of Timer, GPIO, and 7-segment Peripherals

SPI Serial Communication and Nokia 5110 LCD Screen

WaveMaker III Gartech Enterprises Inc. 12/17/2012

RF4432F27 wireless transceiver module

Group 1. C.J. Silver Geoff Jean Will Petty Cody Baxley

Parallel Peripheral Interface (PPI)

Why Use the Cypress PSoC?

Hitachi Europe Ltd. ISSUE : app084/1.0 APPLICATION NOTE DATE : 28/04/99

Entry Level Tool II. Reference Manual. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408) Version : 1.0.

Logic Devices for Interfacing, The 8085 MPU Lecture 4

AN4178 Application note

Chapter 9 MSI Logic Circuits

Netzer AqBiSS Electric Encoders

Design and Implementation of an AHB VGA Peripheral

Sapera LT 8.0 Acquisition Parameters Reference Manual

UNIVERSITY OF TORONTO JOÃO MARCUS RAMOS BACALHAU GUSTAVO MAIA FERREIRA HEYANG WANG ECE532 FINAL DESIGN REPORT HOLE IN THE WALL

Laboratory 4. Figure 1: Serdes Transceiver

Digital (5hz to 500 Khz) Frequency-Meter

The Infinity Portal Craig A. Lindley 03/16/2011

Hello and welcome to this presentation of the STM32L4 Analog-to-Digital Converter block. It will cover the main features of this block, which is used

Pivoting Object Tracking System

TABLE 3. MIB COUNTER INPUT Register (Write Only) TABLE 4. MIB STATUS Register (Read Only)

ArcticLink III VX6 Solution Platform Data Sheet

Interfacing the TLC5510 Analog-to-Digital Converter to the

TV Synchronism Generation with PIC Microcontroller

GAUGE M7 Connected Display 7

New GRABLINK Frame Grabbers

BASCOM-TV. TV Code Features: ICs supported: BASCOM versions:

SPATIAL LIGHT MODULATORS

Spatial Light Modulators XY Series

AN-ENG-001. Using the AVR32 SoC for real-time video applications. Written by Matteo Vit, Approved by Andrea Marson, VERSION: 1.0.0

CAN, LIN and FlexRay Protocol Triggering and Decode for Infiniium 9000A and 9000 H-Series Oscilloscopes

AVRcam Code Commentary. Version 1.3

Super-Doubler Device for Improved Classic Videogame Console Output

RS-232/UART Triggering and Hardware-Based Decode (N5457A) for Agilent InfiniiVision Oscilloscopes

HD66840/HD LVIC/LVIC-II (LCD Video Interface Controller) Description. Features

Embedded Master Module

8 DIGITAL SIGNAL PROCESSOR IN OPTICAL TOMOGRAPHY SYSTEM

DDS VFO CONSTRUCTION MANUAL. DDS VFO Construction Manual Issue 1.1 Page 1

Point System (for instructor and TA use only)

Press Publications CMC-99 CMC-141

DMC550 Technical Reference

16 Stage Bi-Directional LED Sequencer

EN2911X: Reconfigurable Computing Topic 01: Programmable Logic. Prof. Sherief Reda School of Engineering, Brown University Fall 2014

8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

Introduction to Serial I/O

Page 1. Introduction to Serial I/O. Definitions. A Serial Channel CS/ECE 6780/5780. Al Davis. Today s topics: Serial I/O

ET-REMOTE DISTANCE. Manual of ET-REMOTE DISTANCE

DT9857E. Key Features: Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil

S6B CH SEGMENT DRIVER FOR DOT MATRIX LCD

VIDEO GRABBER. DisplayPort. User Manual

Fast Quadrature Decode TPU Function (FQD)

G406 application note for projector

EAN-Performance and Latency

DisplayPort 1.4 Link Layer Compliance

Combo Board.

EXOSTIV TM. Frédéric Leens, CEO

G-106Ex Single channel edge blending Processor. G-106Ex is multiple purpose video processor with warp, de-warp, video wall control, format

Quick Reference Manual

Transcription:

September 2013

Security Publicity around hacking of today's cars OEM s want to prevent software from being copied Hi-Res Color Graphics WVGA LCD is becoming more economical Fully reconfigurable clusters moving from luxury cars to mainstream Even small cars will have color TFT Head-Up Displays HUD attach rates set to grow significantly Current generation systems use mechanical warping Next generation HUDs will require electronic warping in the MCU 3

Safety Rear-view camera being legislated in US Growth of panoramic camera and vision applications Internal cameras for drowsiness detection More instrument clusters with camera inputs Graphics Tools & Software OpenVG1.1 becoming widely used in Cluster applications for needle animation, fonts, textures OpenGL ES2.0 and beyond for high-end 3D effects Sophisticated tools and graphic design capabilities required 4

Motocycle/Basic Cluster Low-line Cluster Mid-/High-line Cluster Premium Cluster One or two Two to Four Up to six gauges Few or no gauges gauges Basic segment LCD only Lowest component count and system cost Gauges Large segment LCD, or Low resolution dot-matrix LCD Low component count and system Medium resolution color LCD Video input from rearview camera or from infotainment system Some sophisticated graphics Very high-resolution color LCD Dual video inputs Very demanding animation requirements State-of-the-Art Graphics cost Strong focus on system cost Motorcycles Small Cars Compact Cars Medium Cars Large Cars Luxury & SUV 5

Family Concept MPC560xS is the latest generation of 32- bit Power Architecture microcontrollers that address color thin-film transistor (TFT) displays in automotive instrument cluster applications. It offers a cost-effective, entry-level instrument cluster solution with the ability to scale designs to fit performance needs. Performance - Single core MCUs 64MHz up to 1MB Flash Powerful crossbar switch for parallel access Memory Protection Unit to avoid different task to access the same memory address DCU Display Control Unit Direct drive of TFT displays up to WQVGA resolution Advanced Peripherals CAN, LIN Stepper motor, Stall detect LCD Driver MPC564xS Dual issue 2MB Flash 1-2 DCUs 176/208 LQFP, 416 TEPBGA i.mx6x Quad, Dual or Single Core Options Up to 1.2 GHz Up to-1 MB L2 Cache Healthy Ecosystem: MPC560xS Single Core 256KB-1MB Flash 1 DCU 144/176 LQFP 6

Delivers all system components in a single device No external DRAM => low-cost PCB Integrated stepper motor drivers Patented stall detect capabilities Display Control Unit Dramatically reduces VRAM requirements for large color displays Delivers 60fps animation with very low CPU load Ideal for cluster with single color display and segment LCD Multiple stepper motors for true hybrid solution 7

Sound Generation System Integration VReg Oscillator FMPLL RTC Interrupt Controller 8 CROSSBAR SWITCH Memory Protection Unit (MPU) Power Management Boot Assist Module (BAM) emios 24 ch I/O Bridge Crossbar Masters 16ch DMA 1Mb Flash Power e200z0h Core 48K SRAM Communications I/O System 2 FlexCAN 4x16k EEE 2 LINFlex 3 SPI Display Control Unit Crossbar Slaves 2 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 Characteristics: 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 Graphics 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 24 channel emios (PWM+Timer) 16 channel, 10bit ADC 8

Internal Flash DMA Internal RAM DMA DCU DMA External Flash 10

DCU combines layers of sprites to create the final content There are up to 19 different sources of content possible 16 programmable layers that contain source graphics A cursor layer 1 layer as a default color for the background OR 1 layer for an external video input Layers are set in a fixed priority that determines order of pixels selected to blend 11

For each pixel position The DCU fetches a pixel from the topmost layer placed there AND A pixel from the next layer in the priority And pixels from up to two further layers (dependent on user configuration) Indexed colors are converted to 24bpp colors for internal processing The fetched pixels are then blended to give the display content for that position The blending attributes are determined per layer and the lowest priority pixel s blending attributes are ignored Each resulting pixel can be gamma corrected The output format is 8-bits per color (24bpp) 12

A layer is the DCU mechanism by which graphics are displayed on the panel Pick the paradigm that works for you: A layer is a graphics-oriented interface to the DCU s DMA function and contains commands for the blending engine A layer is an object that encapsulates all of the information needed to display and blend a single image on the TFT panel A layer is a set of registers that you program to display an image There are 16 layers available Each has a fixed priority 0.. 15 (0 highest priority) Each can be enabled individually Each is buffered and can be changed at any time The DCU automatically synchronizes changes to the panel refresh cycle Not all graphic content is provided by the layers 13

The DCU has a set of 7 registers to configure each layer The layer registers configure Height & width of layer (pixels) Position on panel (x,y) (pixels) Pointer to the graphic (address) and its encoding and its palette (if needed) Pixel selection By color range Transparency Tile option y x 14

There are two main types of graphic encoding and one special type RGB where each pixel in the image contains red, green and blue components ARGB where each pixel in the image contains red, green and blue components and an alpha channel Transparency where each pixel in the image contains only an alpha channel 15

For RGB images, there are two ways of encoding the image Direct color where each pixel in memory contains its color components Indexed color where each pixel in memory contains an index to a table that contains the color of the pixel Indexed colors use less memory than direct colors: 8bit per pixel (bpp) stores 1 x 24bpp pixel as a single byte There are 4bpp, 2bpp and 1bpp options that use progressively less memory Each indexed image references a palette of colors stored in a color look-up table (CLUT) 1bpp CLUTs have two entries, 2bpp have up to 4 entries etc. However pixels are encoded, all blending occurs after conversion to 24bpp 16

Image Color look up table 17

Where layers overlap each other or the background the pixels may be blended Up to four layers may be blended at each pixel location The position of each pixel in the blend stack determines how it is blended Layers below the lowest priority pixel are not visible The blending settings for the lowest priority pixel are ignored Layers active at pixel position (x,y) Selected pixels in blend stack Blended pixel Pixel ignored Blend settings ignored 18

There are two aspects to the blending of the pixels Selection of pixels to blend This is done by chroma keying In other words, the DCU changes the way the blend works according to the color of the individual pixel The amount of transparency applied to each selected pixel Depending on the settings and the content of the source graphic, there are 12 different blend settings Images with RGB data have 5 options Images with ARGB (alpha content) have 6 options When active, the alpha setting applied to the image is defined by an 8-bit value in the layer (TRANS bitfield) 19

The DCU can blend graphics containing only red, green and blue components (RGB) Three formats are supported RGB888: 24-bit data containing red, green and blue all at 8 bits per color channel Indexed color 1bpp, 2bpp, 4bpp, 8bpp where all pixels are blended as RGB888 RGB565: 16-bit data containing red and blue channels at 5 bits per color channel and green at 6 bits per channel RGB565 is converted automatically to RGB888 before blending takes place All blending takes place at 24bpp 20

The range is defined by giving maximum and minimum values for each color component Red, green and blue have minimum and maximum values If the color of a pixel falls into the range in each of the components, then it is selected Red Green Blue 0 255 0 255 0 255 0 0 0 255 255 255 X X 21

The DCU can blend graphics with an embedded alpha channel (ARGB) Three formats are supported ARGB8888: 32-bit data containing alpha and RGB channels all at 8-bits per color channel ARGB4444 : 16-bit data containing alpha and RGB channels all at 4- bits per color channel ARGB1555: 16-bit data containing alpha channel of 1-bit (on/off) and RGB channels at 5-bits per color channel The DCU can blend these layers using the blend options already described The behavior in certain modes is modified However an image is encoded, all blending takes place at 32bpp 22

# AB (alpha blending) BB (chroma blend) Result A 0 0 No blend E B 0 1 Removes selected pixels C 1 0 Alpha blend all D 1 1 Alpha active for selected pixels E 2 0 Same as C + TRANS alpha F 2 1 Same as D + TRANS alpha D Original ARGB image over white background F A B C 23

The transparency mode graphic contains no color information Only alpha values are stored The front color of the graphic and the rear color of the background are fetched from dedicated foreground and background registers The anti-aliased edges are pre-blended by the DCU to give smooth edges between the graphic (front color) and its background (rear color) Stored graphic White rear color Red rear color Blue front 1 color Green front color 24

The DCU supports further operating modes for the layer Tile mode allows the filling of a large area using a small pattern that is repeated or tiled across the area The luminance of an area in a graphic can be adjusted for those cases where it is desirable to highlight a graphic element such as an area on a map or a menu selection For user-input operations, there is on-screen cursor available separate from the rest of the graphic layers The DCU also allows users to specify the default background color that layers can blend with in the absence of other layers and that is visible where no layer is active The DCU also can adjust the value of any color on the panel by using its gamma correction transfer function 25

The DCU provides a memory-efficient method of creating a textured layer by allowing a graphic to be tiled within a layer Layer size defines the extent of the layer Tile size defines the extent of the tile The DCU automatically repeats the tile to fill the layer Layer Tile graphic Layer on panel (before blending) + = 1 26

The DCU BGND register contains the RGB888 color used as a background color When the background pixel is involved in the blend stack, it is always as the lowest priority pixel The background can be replaced optionally with a video input signal from the Parallel Digital Interface (PDI) 27

In automotive cluster applications the rotor of the stepper motor is fitted with a pointer. At startup the position should be zeroed out to maintain an accurate reference. As the gauge returns to zero, the SSD module detects the pointer collision with the stopper. 29

The polarity of the SSD pins can be switched Flexible preescaler Offset cancelation minimizes the internal accumulation error Drives the movement of the stepper motor in full steps. At the same time the motor is moved, the stall detection works to detect the zero Complete return to zero function supported for all 6 motors 30

The Stepper Motor Control (SMC) module is designed to facilitate the simple creation of the waveforms required to drive stepper motors using micro-stepping. The module contains 12 Pulse Wave Modulation (PWM) channels, clocked by an 11-bit counter. Each channel is associated with two pins giving a total of 24 pins. The module also has the ability to detect a short circuit on any of these pins and can be configured to trigger an interrupt when one occurs. An optional interrupt can also be triggered upon a timer counter overflow. 31

Integrated high current drivers for stepper motors. Up to 6 motors are supported. Direct connection from MCU to motors with no external components. Advanced PWM functions to create waveforms. Alignment, delay, dithering of PWM is supported. Choice of type of step (full step, half step, micro step) is up to the user and is supported by hardware module 32

33

Two types of sounds supported: monophonic and polyphonic Selects any PWM channel for sound generation One PWM is used for monophonic, the anded output of two PWM s is used for polyphonic. Configurable periodicity or continuous sound. Duration can be programmed. Interrupts can be configured. 34

LIN Protocol Handler Master mode Slave mode LIN message buffer Filtering Unit (slave) Re-synchronization (slave) Enhanced error detection Standard UART/SCI mode CONTROL STATUS REGISTERS RX/TX MESSAGE BUFFER Filtering Unit LIN 1.3/2.0 Protocol Handler LIN TX LIN RX 35

Bit error Detection on all bits transmitted including header, delimiters Identifier Parity Break Delimiter Inconsistent Synch Field Framing error Checksum Error Classic Enhanced Slave response timeout Dedicated timer programmable by application LINRX stuck dominant Error signalling 9 error sources Each error source can be independently enabled/disabled 36

Mode Full Duplex 8-bit / 9-bit Even / Odd parity Transmit Buffer Depth configurable from 1 to 4 Receive Buffer Depth configurable from 1 to 4 Error Parity Overrun CONTROL STATUS REGISTERS TRANSMIT BUFFER 4 BYTES UART/SCI CORE LIN TX LIN RX RECEIVE BUFFER 4 BYTES 37

Full Implementation of the CAN protocol specification, Version 2.0A/B Standard and Extended ID frames and Remote Frames Zero to eight bytes data length Programmable bit rate up to 1Mbit/s content-related addressing 64 Message Buffers of zero to eight bytes data length Programmable loop-back mode supporting self-test operation Individual Rx Mask Registers per Message Buffer Powerful Rx FIFO ID filtering, capable of matching incoming IDs against either eight extended, 16 standard, or 32 partial (8 bits) IDs, with individual masking capability individual Tx message buffers.time Stamp based on 16-bit free-running timer Hardware cancellation on Tx message buffers FlexCAN 38

Normal Mode Module Rx and Tx frames, error handling, module fully operational Freeze Mode No Transmission/Reception of frames and synchronicity to the CAN bus lost. Some registers are only accessible in this mode Listen-Only Mode Transmit disabled, all error counters are frozen. Only messages acknowledged from other nodes will be received Loop-Back Mode Module performs internal loop back. Bit steam output from the transmitter is fed back to the receiver. Used for self-test operation. 39

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 BUFFER 13 BUFFER 14 For backwards compatibility, Global mask, Mask 14 & 15 register are used out of reset. Buffers 0-7 can be used to implement an 8 frame Rx FIFO... 29 29 BUFFER 15 DATA DATA LENGTH DATA BUFFER 62 TIME DATA STAMP LENGTH DATA BUFFER 63 TIME ID DATA STAMP LENGTH DATA TIME ID STAMP DATA LENGTH ID TIME STAMP ID 40

MPC5606S http://www.youtube.com/watch?v=v-rfl1ogikw MPC5645S http://www.youtube.com/watch?v=vkqr6esqcim 42

Try all the features in the MPC5606S. This board includes: MPC5606S Microcontroller in a 176 LQFP package On-board JTAG connection 4.3" 480x272 24bit Touchscreen LCD Display MC34845 Backlight controller High Speed QSPI 8MB Flash Memory Loudspeaker with sound amplifier CAN & LIN Interface MPC5606S-DEMO 43

Try out all the features of the MPC5645S 2x connections for LCD TFT panels 2x connections for touchscreen panels 2x DVI outputs Headphone amplifier Video in port 64 MB of serial flash 64 MB of mobile LPDDR CAN and LIN USB port for debug and communication 44

XPC56xxMB2 12 V DC power supply input barrel connector Two CAN channels with jumper enables One CAN channel with high-speed transceiver One CAN channel with low-speed fault tolerant and high-speed transceiver (selectable with jumpers) Two LIN channels with jumper enables One channel with footprints only One channel with transceiver One SCI channel with jumper enables Two FlexRay channels with jumper enables One channel with transceiver One channel with footprint only Four user push buttons with jumper enables and polarity selection Four user LEDs with jumper enables XPC560SKIT: Adapter Mini-Module for the XPC56xxMB2 board. Can be used as a standalone board by providing external 5-volt power supply input 45

Pre-integrated key technologies from industryleading partners help the customer get to market faster and leverage the differentiated advantage of Freescale s technologies particularly the DCU Proven, tested, production-ready code ready for evaluation and integration Specifically optimized for Freescale processor performance and memory footprint Altia has been publically announced as our Select HMI tool partner (FTF 2012) Non-exclusive partnership 46

AN3330: Introduction to the stepper stall detector module AN4037: Driving a stepper motor using the MPC56xxS SMC module AN4187: Configuring and using the DCU2 on the MPC5606S MCU AN4444: Configuring and using the DCU3 and DCUlite on the MPC5645S MCU AN4719: MPC5606S Graphical cluster hardware design AN4186: Using the QuadSPI Module on MPC56xxS AN4435 Sound Generation Logic (SGL) Module 47

www.freescale.com/support support@freescale.com 48