Product Info Package V1.0 AUDO-NG TC1796 Infineon Technologies AG 02.2005 Never stop thinking. Fast. Innovative. TriCore. AUDO Next Generation TC1796 + Extension of the award winning AUDO Architecture + 150 MHz high performance 32-bit TriCore™ + 2 MByte embedded Flash + 192 KByte SRAM + Triple Bus Structure + Saving efforts in software and system costs + Speeding up software development with complete toolchain + Ground-breaking peripherals e.g. MSC: save I/O pins = system costs FADC: waive external DSP ASICs GPTA: realize scalable eMotor control MLI: build up multi processor systems and eliminate expensive DPRAM Infineon Technologies AG 02.2005 Never stop thinking. AUDO Next Generation TC1796 Info Package Overview Content TC1796 – at first sight Block Diagram Feature Overview misc. 'going into detail..' - Core Concept - Code Size - Key Peripherals - Tool Support Infineon Technologies AG 02.2005 AUDO Next Generation TC1796 Block Diagram Infineon Technologies AG 02.2005 AUDO Next Generation TC1796 Feature Overview (1/5) High Performance 32-Bit CPU - 32-bit architecture with 4 GBytes unified data, program, and input/output address space - Fast automatic context-switch - Multiply-accumulate unit - Single-precision Floating point unit - Saturating integer arithmetic - Two high performance on-chip peripheral buses (FPI Bus) - Register based design with multiple variable register banks - Bit handling - Packed data operations - Zero overhead loop - Precise exceptions - Flexible power management Infineon Technologies AG 02.2005 Instruction Set with High Efficiency - 16/32-bit instructions for reduced code size - Data types include: Boolean, array of bits, character, signed and unsigned integer, integer with saturation, signed fraction, double word integers, and IEEE-754 single precision floating-point - Data formats include: Bit, 8-bit byte, 16-bit half word, 32-bit word, and 64-bit double word data formats - Powerful instruction set - Flexible and efficient addressing mode for high code density AUDO Next Generation TC1796 Feature Overview (2/5) External Bus Interface - Programmable external bus interface for low cost system implementation - Glueless interface to a wide selection of external memories - 8-/16-/32-bit data transfers - Intel-style and Motorola-style peripheral/device support. - Burst flash memory support - Flexible address generation and access timing Integrated On-Chip Memories - Code memory: - 2 MByte on-chip Program Flash (PFLASH) - 48 KByte Scratch-pad RAM (SPRAM) - 16 KByte Instruction Cache (ICACHE) - 16 KByte Boot ROM (BROM) Infineon Technologies AG 02.2005 - Data memory - 64 KByte Data Memory (SRAM) - 16 KByte data memory (SBRAM) for standby operation during power-down - 56 KByte Local Data RAM (LDRAM) - 8 KByte Dual-port RAM (DPRAM) - 128 KByte on-chip Data Flash (DFLASH) - PCP memory -32 KByte PCP Code Memory (CMEM), 16 KByte PCP Data Memory (PRAM) AUDO Next Generation TC1796 Feature Overview (3/5) Interrupt System - In total 181 Service Request Nodes (SRNs) - Flexible interrupt prioritizing scheme with 256 interrupt priority levels - Fast interrupt response - Service requests are serviced by CPU or PCP2 Peripheral Control Processor (PCP2) - Data move between any two memory or I/O locations - Data move until predefined limit reached supported - Read-Modify-Write capabilities - Full computation capabilities including basic MUL/DIV - Read/move data and accumulate it to previously read data - Read two data values and perform arithmetic or logically operation and store result - Bit handling capabilities (testing, setting, clearing) - Flow control instructions (conditional/unconditional jumps, breakpoint) Infineon Technologies AG 02.2005 AUDO Next Generation TC1796 Feature Overview (4/5) DMA Controller - 16 independent DMA channels - Programmable priority of the DMA sub-blocks on the bus interfaces - Buffer capability for move actions on the buses (min. 1 move per bus is buffered). - Individually programmable operation modes for each DMA channel - Full 32-bit addressing capability of each DMA channel - Programmable data width of DMA transfer/transaction: 8-bit, 16-bit, or 32-bit - Micro Link bus interface support - One register set for each DMA channel - Flexible interrupt generation - DMA Controller operates as bus bridge between System Peripheral Bus and Remote Peripheral Bus Infineon Technologies AG 02.2005 Parallel I/O Ports - 127 digital general purpose input/output (GPIO) port lines - Input/output functionality individually programmable for each port line - Programmable input characteristics (pull-up, pull-down, no pull device) - Programmable output driver strength for EMI minimization (weak, medium, strong) - Programmable output characteristics (push-pull, open drain) - Programmable alternate output functions - Output lines of each port can be updated port-wise or set/reset/toggled bit-wise AUDO Next Generation TC1796 Feature Overview (5/5) On-chip Peripheral Units - Two Asynchronous/Synchronous Serial Channels (ASC) with baud-rate generator, parity, framing and overrun error detection - Two Synchronous Serial Channels (SSC) with programmable data length and shift direction - Two Micro Second Channel Interfaces (MSC) for serial communication - One CAN Module with four CAN nodes (MultiCAN) for high efficiency data handling via FIFO buffering and gateway data transfer - Two Micro Link Serial Bus Interfaces (MLI) for serial multiprocessor communication - Two General Purpose Timer Arrays (GPTA) with a powerful set of digital signal filtering and timer functionality to realize autonomous and complex Input/Output management - One Local Timer Cell Array (LTCA) for signal generation purposes - Two medium speed Analog-to-Digital Converter Units (ADC) with 8-bit, 10-bit, or 12-bit resolution and sixteen analog input each - One fast Analog-to-Digital Converter Unit (FADC) Package - P-BGA-416 package, 1 mm pitch Clock Frequencies - Maximum CPU Clock Frequency: 150 MHz - Maximum System Clock Frequency: 75 MHz Infineon Technologies AG 02.2005 Temperature Rnage - Ambient temperature: -40 ° to +125 °C AUDO Next Generation TC1796 Starter Kit Details Infineon TC1796 Starter Kit includes: – TC1796 TriBoard – StarterKit CD with all device and board information as PDF as well Getting Started Software and a Hands-On-Training for self-study – DAvE (e.g. for generating peripheral initialization code) – Demo CD of third party compiler and debugger vendors – GNU C-Compiler full version – Parallel cable for direct connection to the PCs LPT interface – Extension Board for easy measurement of HW signals with a scope or a logic-analyzer Order Information: www.infineon.com/mc-starterkits – Order Number: B158-H8537-X-0-7600, SK-TC1796 Starter Kit Infineon Technologies AG 02.2005 TC1796 Starter Kit going into detail.. TC1796 – Core Concept Infineon Technologies AG 02.2005 Never stop thinking. AUDO-NG – Outperforming Core Concept TriCore Architecture – Key Features and Benefits (1/2) Program Memory Program Memory Unit 64 Combining the the best of three worlds: RISC (MCU), DSP and µ-Controller together in a single core - TriCore offers maximum system performance for embedded real-time applications 64 LMB Bus - split in PLMB and DLMB 64 Data Memory Unit 64 16 Address 32 bits Registers 64 16 Data 32 bits Registers Data Memory Key Features High Performance 32-bit TriCore CPU (TC v1.3) with 4-stage pipeline and triple issue super-scalar implementation (fCPU = 150 MHz) * Register sets Infineon Technologies AG 02.2005 – 2x16 address/data 32 bits registers – Switch upper shadowed half context in 2/4 cycles (the lower half in 4 cycles) Local Memory Bus (LMB) – 64 bits data – separated busses used for program and data (PLMB and DLMB) mixed 16/32 bit instruction format * referring to TC1796 Key Benefits Optimized chip-size to performance ratio for real-time critical embedded systems. Separated instruction and data busses speed up the system performance due avoided arbitration conflict on a common bus compressed Code-Density optimized for embedded FLASH memory usage The Infineon 32-bit Microcontroller Features/Highlights • fast interrupt response • • fast context switch (2-4 cycle -> ½ context) 16-bit and 32-bit instruction formats • bit manipulation unit • accumulated logical/ compare • integrated peripheral support DSP Features/Highlights • sustainable single-cycle dual-MAC Infineon Technologies AG 02.2005 • • • • • DSP addressing modes zero overhead loop saturation and Q-Math overflow detection rounding RISC Processor Feature/Highlights • 32-bit load/store Harvard architecture • 16 address & 16 data registers • • super-scalar execution (4 stage pipeline) single data-memory model • memory protection • C/C++ and RTOS support AUDO-NG – Outperforming Core Concept TriCore Architecture – Key Features and Benefits (1/2) Program Memory Program Memory Unit 64 Combining the the best of three worlds: RISC (MCU), DSP and µ-Controller together in a single core - TriCore offers maximum system performance for embedded real-time applications 64 LMB Bus - split in PLMB and DLMB 64 Data Memory Unit 64 16 Address 32 bits Registers 64 16 Data 32 bits Registers Data Memory Key Features High Performance 32-bit TriCore CPU (TC v1.3) with 4-stage pipeline and triple issue super-scalar implementation (fCPU = 150 MHz) Register sets Infineon Technologies AG 02.2005 – 2x16 address/data 32 bits registers – Switch upper shadowed half context in 2/4 cycles (the lower half in 4 cycles) Local Memory Bus (LMB) – 64 bits data – separated busses used for program and data (PLMB and DLMB) mixed 16/32 bit instruction format Key Benefits Optimized chip-size to performance ratio for real-time critical embedded systems. Separated instruction and data busses speed up the system performance due avoided arbitration conflict on a common bus compressed Code-Density optimized for embedded FLASH memory usage AUDO-NG – Outperforming Core Concept TriCore Architecture – Key Features and Benefits (2/2) Key Features Key Benefits Program Memory Program Memory Unit 64 – 64 LMB Bus - split in PLMB and DLMB 64 Data Memory Unit 64 16 Address 32 bits Registers 64 Interrupt System 16 Data 32 bits Registers – – – sophisticated interrupt system with up to 255 HW arbitrated sources and very fast response times is optimized for realtime sensitive embedded applications given scalability approach due to MCU and DSP function merged in one core. Only one tool set for development and emulation tightly coupled coprocessor FPU support with single precision IEEE-754 data format compromises acceptable physical precision demands with increased real time behaviour (unaltered fast 2 cycle context switch) and reduced storage memory for FPU variables Flexible multi-master interrupt system (interrupts serviced by CPU, PCP or DMA) Hardware controlled context switch Hardware Interrupt Priority arbitration with 255 priority levels very fast interrupt response time resp. < 180 ns @ 150 MHz) Data Memory Infineon Technologies AG 02.2005 powerful MAC unit supports circular buffer, No data overflow faults due to saturating arithmetic and bit-reverse addressing modes for DSP algorithms single precision Floating Point Unit (FPU) with integrated interrupt capability for exception handling TriCore Architecture – Super-scalar Execution Triple / Dual / Single Issue Triple Issue Arithmetic Load / Store Dual Issue Arithmetic Load / Store Dual Issue Arithmetic Single Issue Single Issue Infineon Technologies AG 02.2005 Single Issue Loop Loop Load / Store Dual Issue ~1.3 instr/cycle Loop Arithmetic Load / Store Loop TriCore Architecture – Powerful Interrupt Service System Features Benefits Up to 4 x 255 request nodes (SRN), concurrently supported Meets real-time requirements Zero Software overhead Parallel Arbiter HW to select highest interrupt & clear when accepted Ease of programming, High flexibility Automatic context save during branch to interrupt routine Large Number of SRNs Flexible grouping of request into priority groups Interrupt table - no jumps needed 7 6 5 4 3 2 1 0 TC1796 @ 150 Mhz Peripheral Peripheral Peripheral Peripheral Peripheral Peripheral SRN SRN SRN SRN SRN SRN SRC SRC SRC SRC SRC SRC • ≥ 200 ns interrupt response time Arbitration Bus until execution of first instruction within Interrupt Service Routine (depending Interrupt Code Location FPI Bus and priority selection) Int. Ack. Infineon Technologies AG 02.2005 Int. Req. Interrupt Control Unit (ICU) TriCore Architecture – DSP Some Results MUL MADD MSUB 32 +/- 16x16 48 +/- 16x16 16 32 32/64 16 16 32/48 add/sub 32/64 Choice of register half Left-alignment 8000*8000 -> 7FFF FFFF Rounding Sat thru-put = 1 cycle MUL MADD MSUB 32 +/- 32x32 64 +/- 32x32 32 32 32/64 mul mul mul Infineon Technologies AG 02.2005 MUL MADD MSUB 32 +/- 16x32 64 +/- 16x32 add/sub 32/48 choice of register half Left-alignment Sat thru-put = 1 cycle MUL MADD MSUB 32 +/- 16x16 || 32 +/- 16x16 16 16 32 16 mul add/sub 32/64 Left-alignment Sat thru-put = 2 cycles 16 mul add/sub add/sub 32 32 choice in register half left-alignment 8000*8000 -> 7FFF FFFF add/sub or sub/add Rounding Sat Packing 2 32bit into 1 32bit thru-put = 1 cycle 32 TriCore Architecture – Reducing Cost and Complexity by merging MCU and DSP Program Memory Program Memory Unit 64 64 LMB Bus - split in PLMB and DLMB 64 Data Memory Unit 64 16 Address 32 bits Registers 64 16 Data 32 bits Registers Control and DSP development and integration/debug can all be done with the same development tools Optimized DSP library algorithms can be used out of the box Easy adaptation of DSP functions integrated in Automatic Code Generation tool package Devices can quickly be adapted to new market requirements smaller silicon Data Memory TriCore™ Infineon Technologies AG 02.2005 one CPU one Tool one RTOS RTOS + DSP + App TriCore Memory I/O Fast Time to Market New Features Lower Cost TriCore Architecture – Supported DSP Operations Two MACs per cycle: Sensors signal processing: Matrix calculus FIR, IIR, DFT, FFT, setup ld k0,k1 ld x0,x1,x2,x3 1 cycle mac x0 k0 mac x1 k1 loop ld k2,k3,k4,k5 ld x4,x5,x6,x7 mac x2,k2 mac x3,k3 Infineon Technologies AG 02.2005 + + a1 a2 a3 z-1 + b0 1 cycle Dual 16x16 hardware MAC Packed data Parallel load Mac-load-(loop) per cycle + z-1 z-1 a4 z-1 b1 b2 b3 b4 + + + + Zero overhead loop Bit reverse addressing going into detail.. TC1796 – Code Size Infineon Technologies AG 02.2005 Never stop thinking. TriCore Architecture – Code Size With an Instruction Set tailored to real-time embedded control applications TriCore offers the best combination for optimized code performance and optimized code size: Key Features Infineon Technologies AG 02.2005 Key Benefits 16 & 32-bit instruction format can be intermixed freely without setting mode bits 40% better code size vs. 32 bit instructions only Dual & Triple operand instructions well suited for C compiler, reduced overhead for temporary operand loads/stores Bit handling instructions cover control-oriented requirements, efficient in control tasks and peripheral register access, allow efficient SW state machine implementation Accumulated Logical/Compare efficient code in state machine programming Saturation Arithmetic and Rounding/MIN/MAX instructions cuts off overhead for immediate result verification, done in HW by saturating math instructions (e.g. extensive lookup table algorithms) Embedded DSP instructions specific data formats and addressing modes, no overhead by additional instructions for operand handling (e.g. digital filter algorithm for knock detection going into detail.. TC1796 – Key Peripherals Infineon Technologies AG 02.2005 Never stop thinking. TC1796 Peripherals – PCP2 Peripheral Control Processor (1/3) Capabilities Structure and Benefits (1/2) PCP2 Core 32 KB PCODE PCP provides programmable improved peripheral intelligence instead of static implementation off-loads TriCore from handling interrupt tasks and allows a parallel execution – PCP fits best for real-time critical tasks due to very fast interrupt response time (approx. 10-15 cycles or < 200ns) – handles fast, interrupt-driven routines for peripheral control (i.e. counterpart of GPTA) Infineon Technologies AG 02.2005 Interrupts SPB Interface The PCP2 is a freely programmable, single cycle, 32-bit processing unit with its own code and data memory unit (Harvard architecture) used as an interrupt service provider (HW Interrupt priority arbitration with 255 priority levels) 16 KB PRAM wide range of flexible programmable applications – intelligent data pre-conditioning e.g. building up mean value of several concurrently sampled ADC values – DMA data transportation like queued memory or FIFO structures e.g. coming from serial communication interfaces like CAN, SPI or ASC off-loads TriCore and realizes partially peripheral functionality in SW – complex state machines easily can be coded e.g. flywheel driver SW TC1796 Peripherals – PCP2 Peripheral Control Processor (2/3) Capabilities Structure and Benefits (2/2) PCP provides programmable improved peripheral intelligence instead of static implementation clear hierarchical SW partitioning possible by today's state of the art SW design techniques, e.g. mapping Low Level Driver Layer to the PCP one embedded tool chain environment for both TriCore and PCP already introduced and approved within AUDO family in a wide spread of applications TriCore/PCP multiprocessor approach supported by debugging/emulation Infineon Technologies AG 02.2005 PCP2 Core Interrupts SPB Interface The PCP2 is a freely programmable, single cycle, 32-bit processing unit with its own code and data memory unit (Harvard architecture) used as an interrupt service provider (HW Interrupt priority arbitration with 255 priority levels) 16 KB PRAM 32 KB PCODE TC1796 Peripherals – PCP2 Peripheral Control Processor (3/3) Key Features Smart interrupt driven Processor runs with fPCP=75 MHz @ fCPU=150 MHz Harvard Architecture with separated Local Code (CRAM) and Parameter Memory (PRAM) SRAM sections Single cycle execution for most implemented instructions Interrupt System – – HW controlled register context switch HW Interrupt priority arbitration with 255 priority levels – very fast interrupt response time (approx. 10-15 cycles or < 0.2 µs) channel restart/resume mode each implemented SRN can be flexible mapped to TriCore or PCP – – Infineon Technologies AG 02.2005 Enhanced PCP Version 2 functions: – – – self-posted PCP interrupt queue enlarged to 10 source request nodes deadlock avoidance implemented 3 nested interrupt levels supported Key Benefits PCP2 Core Interrupts SPB Interface 16 KB PRAM 32 KB PCODE PCP serves as a “first line of defense” for intelligent programmable peripheral interrupt service requests PCP handles typical real-time critical tasks – fast, interrupt-driven routines for peripheral control (e.g. counterpart of GPTA) – manipulation/data pre-conditioning of DMA and peripheral data Channel restart/resume mode supports interrupt-vector-table entry or flexible statemachines with register context saved re-entry vector on EXIT instruction Clear hierarchical SW partitioning possible by mapping Low Level Driver Layer to PCP One embedded tool chain environment for TriCore C-Compiler and PCP assembler Multiprocessor approach TriCore/PCP supported by Debugging/Emulation concept Two independent DMA move engines supporting 8 channels each are used for high flexible memory or peripheral transfer operations. Additional bridge functionality for Read/Write accesses between System Peripheral Bus (SPB) and Remote Peripheral Bus (RPB) is supported. System Peripheral Bus Capabilities Periph01 Periph02 Bridge DMA Remote Peripheral Bus TC1796 Peripherals – DMA Direct Memory Access Controller Periph11 Periph12 MLI0 MLI1 Periph1x Structure and Benefits Two independent move engines for 8 *) channels each can have simultaneous R/W access to SPB and RPB without interfering each other. By mapping simple data transportation tasks to the DMA controller, the TriCore CPU and Peripheral Control Processor (PCP) are significantly released and might focus on their application and low level driver tasks. Infineon Technologies AG 02.2005 flexible usage for single event or continuous transfer operation including programmable data width for 8/16 or 32 bit memory transfer transactions covers a wide range of feasible customer application requirements flexible interrupt generation from up to 34 *) different interrupt sources (e.g. for data pattern recognition) fulfills clear hierarchical separation of HW driven data transfers and needed SW interaction programmable request wiring matrix of 8 hardwired possible inputs for each DMA channel supports maximum adaptation flexibility to the customer combination of hardwired channel priority with programmable SW priority for each individual DMA channel offers maximum adaptation to application demands TC1796 Peripherals – Memory Checker Capabilities Check dedicated memory portions (e.g. program memory flash or program SRAM memory of the PCP) in background for correctness (e.g. to be able to determine code corruption) Structure and Benefits The memory checker has implemented a polynomial generator which equals to the standard used within Ethernet: G32 = x32 + x26 + x23 + x22 + x16 + x12 + x10 + x8 + x7 + x5 + x4 + x2 + x + 1 Any bus master (TriCore CPU, PCP or DMA controller) might serve the memory checker located on the SMIF interface of the DMA module. checking a memory portion is feasible by a sequential read of dedicated memory portion and a sequential write to a single address of the memory checker located on the SMIF interface simple compare function is needed to fell a decision whether calculated memory checker result matches to the pre-calculated expected result stored somewhere in the FLASH area Infineon Technologies AG 02.2005 using a DMA channel offloads TriCore CPU and PCP and additionally offers the benefit of only seen READ operations on the System Peripheral Bus (SPB) or the Remote Peripheral Bus (RPB). The write operation to the memory checker by the move engine is hidden within the DMA (routed to SMIF interface) and does not require any bandwidth of SPB or RPB TC1796 Peripherals – GPTA Functional Block Diagram Clock Generation Unit: Signals IN Clock Generation Unit FPC 00 FPC DCM 00 FPC 01 PDL 00 DCM 01 FPC 02 FPC 03 DIGITAL PLL DCM 02 FPC 04 PDL 01 DCM 03 FPC 05 Signal Generation Unit GT 0 GT 1 LTC 00 GTC 01 LTC 01 GTC 02 LTC 02 GTC 03 GTC 04 LTC 03 LTC 04 Cell Array Global Timer Cell Array Local Timer GTC 30 LTC 62 GTC 31 LTC 63 Flexible cell interaction Infineon Technologies AG 02.2005 Clock Bus GTC 00 Signals IN or OUT Filter and Prescaler Cell amount of cells: 6 PDL Phase Discrimination Logic amount of cells: 2 DCM Duty cycle Measurement Cell amount of cells: 4 PLL Phase Locked Loop amount of cells: 1 Clock Distribution Bus amount of clock lines: 8 Signal Generation Unit: Unit GT GTC LTC Global Timer (24bit) amount of cells: 2 Global Timer Cell (24bit) amount of cells: 32 Local timer Cell (16bit) amount of cells: 64 Signal Cross Connection: • via the Clock Bus • Pad connections to and between the FPC/GT/GTC/LTC cells FPC 00 DCM 00 FPC 01 PDL 00 DCM 01 FPC 02 FPC 03 DIGITAL PLL DCM 02 FPC 04 PDL 01 DCM 03 FPC 05 GT 0 GT 1 GTC 00 LTC 00 GTC 01 LTC 01 GTC 02 LTC 02 GTC 03 GTC 04 Clock Bus TC1796 Peripherals – GPTA General Purpose Timer Array (1/2) LTC 03 LTC 04 Cell Array Global Timer Cell Array Local Timer GTC 30 LTC 62 GTC 31 LTC 63 Capabilities The GPTA offers very flexible filtering and high resolution signal acquisition, a digital PLL used for the generation of a higher resolution of input signals and due to its universal cell structure all kinds of enhanced counting, capture compare and PWM functionality. Structure and Benefits (1/2) perfect adaptation to target application by non-static modular cell approach compared to timer implementations of the competition: very flexible digital input filtering can be achieved by the usage of the implemented Filter Prescaler Cells (FPC). Flexible strategies between delayed and immediate debounce filtering are possible (e.g. for input filtering of the flywheel or the camshaft signals) tracking of all kind of rotating shafts (e.g. within a gearbox system) including the encoding of the signals for the forward and backward position can be easily achieved by usage of the Phase Discrimination Logic (PDL) cells which supports the decoding of 2 and 3 sensor input signals Infineon Technologies AG 02.2005 scalable high resolution for the generation of optimal distributed microticks as an angle reference counter signal for the engine position can be easily achieved by usage of the implemented digital PLL module FPC 00 DCM 00 FPC 01 PDL 00 DCM 01 FPC 02 FPC 03 DIGITAL PLL DCM 02 FPC 04 PDL 01 DCM 03 FPC 05 GT 0 GT 1 GTC 00 LTC 00 GTC 01 LTC 01 GTC 02 LTC 02 GTC 03 GTC 04 Clock Bus TC1796 Peripherals – GPTA General Purpose Timer Array (2/2) LTC 03 LTC 04 Cell Array Global Timer Cell Array Local Timer GTC 30 LTC 62 GTC 31 LTC 63 Structure and Benefits (2/2) perfect adaptation to target application by non-static modular cell approach compared to timer implementations of the competition: independent access to time and angle domain by two global timers (GT0/GT1) with corresponding Global Timer Cell (GTC) array - optimal support for capture/compare interaction corresponding to time or angle counters (e.g. injection or ignition for gasoline engines) all kinds of PWM generation are supported by the usage of the Local Timer Cell (LTC) array. Hereby all kind of desirable scalability in terms of - autonomous full coherent high speed PWM generation from 0-100% duty cycle with five LTC cells driven completely in HW down to - SW supported PWM generation from 10-90% duty cycle with minimum on one LTC cell of used GPTA resources can be easily implemented optimal application driven balance between precise HW driven event generation (e.g. HW driven start of ignition on pre-calculated engine angle) and SW driven interrupt tasks (e.g. reconfiguration of the compare value for next ignition start) Infineon Technologies AG 02.2005 Peripheral Control Processor (PCP2) is an ideal counterpart for the SW handling of short and real-time critical GPTA interrupt demands. PCP and GPTA may realize flywheel, ignition and injection low level driver functionality without any TriCore interaction In field test and repair feasible due to dynamic reconfigurable in/out multiplexer and array of replaceable blocks TC1796 Peripherals – ADC/Fast ADC Aanalog to Digital Converters ADC and Fast ADC Capabilities AUDO-NG incorporates two different implementations for ADC peripherals using successive approximation conversion principle: - two ADC modules with programmable resolution 8/10/12 bit and conversion time of 1,25 µs @ 10bit with a sophisticated feature set for autonomous analog/digital data acquisition - one Fast ADC module with 10 bit resolution and a minimum conversion time of 280 ns resp. (corresponding to 3,5 Msamples) including a data reduction filter with moving average - auto-calibration mechanism build in at power up FADC targeted application segments are knock detection and dynamic control of ignition by ion current measurement Structure and Benefits Fast ADC unique solution for knock detection without external ASICs or dedicated DSP reduced SW load for FIR-Filter by usage of integrated decimation comb filter (e.g. data reduction by factor 6 from 1200 to 200 ksamples) quick adaptation of the overall filter quality to the application demands by programmable adaptation of data rate used for the FIR filter Infineon Technologies AG 02.2005 increase of ADC accuracy by data reduction filter and moving averaging filter (e.g. from 10 bit to 11 bit by selected oversampling factor of 4) TC1796 Peripherals – MLI Multiprocessor Link Interface Capabilities AUDO-NG incorporates two MLI modules which are used for a serial high speed inter processor connection to other AUDO-NG family members. Structure and Benefits MLI serial high speed interface up to fMLI/2 (i.e. 37,5 MBAUD for TC1796) which is used for interprocessor communication between the AUDO_NG family members and therefore offers the possibility of scalable processing power within an application parallel memory accesses to up to four memory windows automatically will be converted to serial high speed MLI protocol and vice versa at the other MLI device capability of posting up to four interrupts to the second processor on the other side by sending a command frame high efficient data transfer bandwidth supported (up to 35 MBaud) by special protocol for data, address offset or data and address offset for security reasons MLI interface is locked after HW reset and first has to be unlocked by the device itself Infineon Technologies AG 02.2005 TC1796 Peripherals – MSC Introduction of the Advanced Micro Second Bus SPI + µs --Bus Advanced Micro Second Bus Evolution Parallel Input parallel Status Parallel Input SPI Interface Pins / IO 16 + 16 = 32 16 + 4 = 20 4+3= 7 6 PWM PWM configurability PWM configurability PWM configurabilit diagnostic 1 bit / channel no memory 2 bit / channel fault memory 2 bit / channel fault memory 2 bit / channel fault memory interface parallel parallel + duplex bus duplex bus + point - point point - point + async . upstream performance time Infineon Technologies AG 02.2005 TC1796 Peripherals – MSC Micro Second Channel Capabilities purpose of the MSC module is to set a new open standard for the serial high speed communication to power ASIC modules, like multi-switches (i.e. for ignition or injection drivers) including transfer of command frames, data frames and asynchronous diagnosis feedback from the device Structure and Benefits MSC Design goals for the new approach has been: parallel high speed PWM channels generated by the General Purpose Timer Array (GPTA) are serialized via MSC module and transferred to the corresponding MSC module within the connected power ASIC device without any additional SW load maximum resolution for transferred PWM data is 500 kHz or 2µs period length 2x2 signal wires Low-Voltage Differential Signals (LVDS) drivers implemented for high speed downstream signals (CLK and Data) for lower EMI asynchronous upstream channel implemented for diagnosis data for getting rid of SPI used polling mechanism 6 wires used to connect up to 32 high speed PWM channels instead of the standard SPI approach with 36; saving of up to 30 package pins on the MC and power asic side offers ability of smaller pin counts on packages for microcontroller and power asic and therefore saves system costs scalable approach supported for the connection of up to four MSC power devices to one module standard SPI protocol alternatively supported for high speed downstream channel Infineon Technologies AG 02.2005 TC1796 Peripherals – MultiCAN Feature Set and Module • CAN functionality conform to CAN specification V2.0 B active for each CAN node (compliant to ISO 11898) • 4 independent CAN nodes available • 128 independent message objects (shared by the CAN nodes) • Dedicated control registers for each CAN node • Data transfer rate up to 1MBaud, individual programmable for each node • Flexible and powerful message transfer control and error handling capabilities • Automatic gateway mode support • 16 individually programmable interrupt nodes • CAN Analyzer Mode for bus monitoring Infineon Technologies AG 02.2005 Time Triggered CAN (TTCAN) Enhancements TC1796 Peripherals – System Benefits Summary – Peripheral Support TriCore Architecture combining three worlds of µProcessor, µController and DSP results in scalable HW resources optimized for embedded Powertrain applications optimized Bus Architecture Three layer SW concept simplifies clear hierarchical separation of e.g. “Branding Application SW” based on the IP of the OEM and standard Low Level Driver SW delivered by the TIER1 AUDO-NG Peripheral Support and Connectivity Enhanced Peripheral Modules helps to lower system costs by: • saving package pins of the µC through serialization (e.g. µs-Bus for external Power ASSP) • porting external ASIC function to AUDO-NG (e.g. saving external Knock-ASIC by FADC usage) • scalable system performance (e.g. connecting family members of AUDO-NG through MLI bus) Infineon Technologies AG 02.2005 Extensive Development Support World Leading Tool partners supporting all phases of development within the V-Cycle going into detail.. TC1796 – Tool Support Infineon Technologies AG 02.2005 Never stop thinking. Complete Tool Environment for System Development UDO-NG Toolpartners for AUDO-NG Support A utomotive UnifieD prOcessor Next Generation Specification Î Si E G a ndu ra ran ge ce Di te a g st no sis Î la mu Prototyper (dSPACE) ASCET-RP + ES1000 (ETAS) ing el l PROTOTYPING MatlabSimulink (MathWorks) ASCET-MD (ETAS) MATRIXx (National Instruments) d Mo MODELING SIMULATION n C Ins alib tru rati me on n ta tio n Î tio tio nÎ T V a es t lid a nta Infineon Technologies AG DEVELOPMENT 02.2005 BOARD me (Ashling) (Hitex) (Lauterbach) ple EMULATOR DEBUGGER ProOSEK (3Soft) Im (Tasking) (HighTec) Î ing COMPILER DEBUGGER typ ERCOSEK (ETAS) RTA OSEK (LiveDevices) osCAN(Vector) oto Pr OPERATING SYSTEM Targetlink (dSPACE) RealTimeWorkshop (MathWorks) ASCET-SE (ETAS) DAvE (Infineon) Î nÎ tio AUTOMATIC CODE GENERATION ENDURANCE TEST & GARAGE DIAGNOSIS (ETAS) CALIBRATION & INSTR. INCA (ETAS), CalDesk (dSPACE), VISION (ATI), CANape (Vector), Gredi (Kleinknecht) TEST & VALIDATION dSPACE Simulator (dSPACE) LabCar (ETAS) (pls) TriBoard (Infineon) Low-Level Driver, Libraries, AppNotes (Infineon) INTEGRATED DEVELOPMENT ENVIRONMENT ASCET-SD (ETAS) MATLAB/Simulink… (MathWorks) Complete Tool Environment for System Development Scalable OCDS (L1&L2) Debug Support JTAG/ OCDS1 support (On Chip Debug Support): - Run Control (Start, Stop, Breakpoints) - Program Download - Memory Read and Write Access at runtime - Data Visibility - Calibration JTAG / OCDS-1 Debug Cable and Wiggler OCDS-2 support: - Program Trace (via 16-bit Port) ( Infineon Technologies AG 02.2005 Generic Boxes / Target Independent ) only JTAG + OCDS-2 Debug (RISC-TRACE) Target Specific Complete Tool Environment for System Development TC1796 Debugger and RTOS Support Compilers + Assembler Tasking HighTec Availability TCv1.3 PCP2 Assembler FPU SFR sup. now now now now now now now now ICEs + Debugger OCDS L1 Ashling Hitex Lauterbach pls Tasking HighTec now OCDS L2 PCP 2 L1 PCP 2 L2 L2 trace available for 150MHz with updated Vitra firmware L2 trace available for 150MHz now. now L2 trace available for 150 MHz (supported up to 180 MHz) now L2 trace available for 150 Mhz (supported up to 180MHz) now now RTOS (using enhanced System Timer as standard OSEK peripheral) Infineon Technologies AG 02.2005 ETAS Vector 3-Soft LiveDevices (ETAS) ERCOSEK osCAN tbd ProOSEK tbd Realogy Real-Time Architect AUDO-NG support available We create Semiconductor Solutions, enabling the Technology Lifestyle of the Individual in the 21st Century. Infineon Technologies AG 02.2005 Never stop thinking.