XE166 Microcontroller Family Real-Time Signal Controllers for Industrial Applications www.infineon.com/XE166 10141_Umschlag_rz.indd 1-1 01.02.11 12:57 2 Contents Family Overview 4 Applications 16 Peripheral Highlights 22 Enhanced Communication 23 Safety Features 24 System Development Tools 26 Starter Kits and Evaluation Boards 26 3 10141_XE166_Broschuere_rz.indd 3 01.02.11 12:54 Family Overview Evolution XE166 Family – More Performance, More Flash, Better Peripherals With more than 500 million units sold, C166 has set the standard for 16-bit architectures with the highest aggregate volume share of all available 16-bit devices. With its fast interrupt response and context switching, the C166 family is ideally suited for automotive, industrial, mass storage and wired as well as wireless communications applications. Compared with the XC166, the XE166 delivers more performance, more Flash memory, more RAM, strongly enhanced peripherals and Integration a complete DSP library. XE169 XE167 XE164 XE162 XC167 XE161 XC161 XE160 XE166 XC164CS eFlash: – 1,600KB Up to 100MHz MultiCAN, eVR USIC eFlash: – 256KB Up to 40MHz Single Cycle, MAC TwinCAN, OCDS C167CS XC164CM C167 XC166 C161 C166 C164 High real-time performance High instruction throughput Minimal response time Intelligent peripherals Performance 4 10141_XE166_Broschuere_rz.indd 4 01.02.11 12:54 Family Overview Real-Time Signal Controller MCU and DSP in a Real-Time Core Infineon Technologies’ Real-Time Signal Controller (RTSC) combines the traditional strengths of a Microcontroller Unit (MCU) for the control of peripherals with the computing power of Digital Signal Processors (DSPs), all in one enhanced XE166 core. Together, the microcontroller’s real-time capability and ease of use and the DSP’s mathematical performance and data throughput form a powerful single-chip solution ideal for many embedded applications. The XE166 Advantage By choosing Infineon’s new RTSC XE166 family, embedded design engineers will benefit from a doubling in performance and a huge range of embedded Flash offerings. Operating at 100MHz and one cycle per instruction, the XE166 delivers 100MIPS, more than twice the performance of its predecessor the XC166 and five times the performance of the fastest C166 MCU. In addition, the XE166 offers up to six times more Flash than the XC166, with a maximum Flash capacity of 1,600KB. Designers will also improve system performance by up to 138KB RAM. MIPS C166 XC166 XE166 10 20 30 40 50 60 70 80 90 100 MHz C166 XC166 XE166 10 20 30 40 50 60 70 80 90 100 Flash [K] C166 XC166 XE166 128 RAM [K] C166 XC166 XE166 4 256 8 384 512 640 768 12 1,600 138 As well as these primary value generators, the XE166 offers multiple additional benefits to embedded system designers. A very high level of integration, enhanced peripherals such as multiple Capture/Compare Units (CCU) and two new more powerful analog-digital converter modules as well as new and improved communication modules (USIC and MultiCAN). As with all members of the C166 family, the XE166 real-time signal controllers were designed to excel in real-time performance. 5 10141_XE166_Broschuere_rz.indd 5 01.02.11 12:54 Family Overview Overview Improved Communication Huge Range of Memory Offerings Highest Performance PWM Generation XE166 Real-Time Signal Controller Single-Cycle C166 V.2 Core Embedded Safety Features Highest Quality and Long-Term Availability Improved Communication Flexible serial interface (USIC) supporting I2C, I2S, UART, LIN, SPL, IO-Link MultiCAN with up to six independent CAN nodes and 256 message objects Huge Range of Memory Offerings Up to 1,600KB Flash Up to 138KB RAM External Bus Interface (EBU) Single-Cycle C166 V.2 Core 32-bit MAC unit 100 MIPS performance Fast interrupt response and switching Peripheral Event Controller The Peripheral Event Controller (PEC) enables single cycle data transfers between memory and peripherals without the intervention of an interrupt service routine. The PEC provides eight PEC service channels which move a single byte or word between any two locations with optional automatic updating of the source and destination pointers. A PEC transfer can be triggered by any interrupt service request and is the fastest possible interrupt response. Interrupt Control The architecture of the XE166 supports several mechanisms for fast and flexible responses to service requests from various sources internal or external to the microcontroller. DMA transfer issued by the PEC Priority-level interrupt system with up to 87 sources, selectable external inputs for interrupt generation and wake-up 16 interrupt priority levels, each with eight groups for prioritization Very short interrupt response time (7/11 cycles minimum) 6 10141_XE166_Broschuere_rz.indd 6 01.02.11 12:54 Family Overview Highest Performance PWM Generation Powerful analog to digital converter (600ns, +/- 2LSB) Multiple Capture/ Compare Units (CCU) HW synchronization of CCU/ADC Embedded Safety Features Memory Protection Unit (MPU) Memory Checker (MCHK, CRC) ECC for SRAM and Flash ADC broken wire detection ECC for SRAM and Flash With the move to smaller and smaller feature sizes, single-bit failures in Flash memory are a fact that no manufacturer can disregard. Infineon has put in place a very effective Error-Correction-Coding (ECC) technology, able to find and correct single-bit errors and detect double-bit errors. When unexpected power disruptions are capable of causing injuries, fatalities, serious business disruption or data loss, designers as well as end-customers will welcome the superior reliability provided by Infineon’s microcontrollers in general, and the XE166 real-time signal controllers in particular. In the XE166U, L, N, M and H-Series, Infineon has implemented ECC on all SRAMs as well as an MPU(Memory Protection Unit) to achieve fail-safe operations. Highest Quality and Long-Term Availability Less than 1dppm since 2006 Typical product life cycle > 10 years Guaranteed lifetime in hours Zero Defect Designed for Harsh Industrial Requirements The highest quality standards are not only a must The XE166 derivates are designed for industrial applica- in safety-critical applications, but also help em- tions only. The product lifetime, also specified in the bedded designers to improve end-customer sat- datasheet, is shown below: isfaction by reducing field returns and therefore reducing the cost of not achieving the desired T in °C quality. Infineon has implemented a zero-defect 145 quality program which yielded less than 1dppm 135 since 2006. Long-Term Availability The long-term availability of electronic components is crucial to industrial applications, where designs can last 10 to 20 years. Infineon’s typical product lifetime exceeds 10 years, thus allowing customers to secure long-term planning. 125 115 105 95 85 0 @ 1000 ppm 100,000 200,000 300,000 400,000 500,000 Lifetime in h 7 10141_XE166_Broschuere_rz.indd 7 01.02.11 12:54 Family Overview XE166 Real-Time Signal Controller Complete Portfolio from Low-Cost to High-Performance TSSOP-38 VQFN-48 QFP-64 QFP-144 QFP-176 1.6MB XE167xH 100/80MHz XE169xH 100/80MHz 1MB XE167xH 100/80MHz XE169xH 100/80MHz 768KB QFP-100 XE164x 80/66MHz XE167x 80/66MHz 576KB XE162xM 80MHz XE164xM 80MHz XE167xM 80MHz 384KB XE162xM 80MHz XE164xM 80MHz XE167xM 80MHz 320KB XE164xN 80MHz XE164xN 80MHz 192KB XE164xN 80MHz XE164xN 80MHz 160KB XE161xL 80/66MHz XE162xL 80/66MHz 128KB XE161xL 80/66MHz XE162xN 80MHz 96KB XE164xN 80MHz XE162xL 80/66MHz 64KB XE160xU 66/40MHz 32KB XE160xU 66/40MHz Classic-Series - Alpha Line N-Series - Value Line XE161xU 66/40MHz U-Series - Compact Line M-Series - Base Line L-Series - Econo Line H-Series - High Line XE166 Microcontroller Family – Scalable and Highly Integrated Infineon’s powerful XE166 series is the standard of 16-bit microcontrollers especially designed to address the requirements of industrial applications. The broad XE166 product portfolio comprises a multiplicity of different products, offering design engineers the scalability to select a microcontroller with the optimal combination of memory, peripheral set, frequency, temperature and packaging – just the right microcontroller to match the application’s feature and performance requirements. Compatibility within the families, even within different packages, allows an easy product change during and after the design cycle. 8 10141_XE166_Broschuere_rz.indd 8 01.02.11 12:54 Family Overview Industrial body Safety Powertrain XE166 XC2200 XC2300 XC2700 MCU and DSP in a Dedicated Features Dedicated Features Dedicated Features Real-Time Signal for Body Applications for Safety Applications for Powertrain Controller Servo Drives Applications Central Body Appliance Motors HVAC Compressors and Blowers Stepper Motors Module Airbag Electric Power Central Gateway Steering (EPS) HVAC EHPS Power Operated Low-end ABS/ESC Industrial Pumps Systems Transportation Door/Seat Module Power Supplies Lightning Belt Pretensioner Driver Assistant Systems E-Call Engine Management (gasoline, diesel, LPG) Transmission Management (AMT, ECAT, CVT) Auxillary Module Management Hybrid Applications Touch Control XE166 is a full member of the C166v2 microcontroller series with further derivatives targeting automotive applications. Performance Boost with Instruction Cache – C166v2 at its Best The Instruction Cache (iCache) integrated on the C166v2 family’s new high-end devices offers a strong performance boost. 30 % performance boost expected via iCache only Additional frequency – improvement of up to 128MHz – generates an additional performance of approximately 50 % iCache Flash memory mapping is family-compatible and allows easy software porting XE166 family compatible For further information see www.infineon.com/XC2000 9 10141_XE166_Broschuere_rz.indd 9 01.02.11 12:54 Family Overview XE166 Classic Series – Alpha Line Key Features 80MHz frequency = 80MIPS performance 768KB of Flash memory and 82KB of RAM Up to four PWM units (CCU6) to drive any industrial 3-phase motor Two very fast A/D converters Up to six serial interfaces (USIC) Block Diagram Overview Classic Series XE164F Subfamily Core Core XE164G XE164H XE164K Frequency (MHz) XE167G QFP 100 Prog/Data Flash (KB) XE167H XE167K 80/66 Package Flash XE167F C166SV2 768 QFP 144 768 768 768 768 768 768 768 28-82 SRAM ∑ SRAM (KB) 24-82 24-82 24-82 24-82 28-82 28-82 28-82 CAN Channels 4 (128) 2 (128) 0 0 5(128) 2(128) 0 0 ADC Channels 16 11 16 11 24 16 24 16 6 4 6 4 6 4 6 4 Universal Serial Interface [USIC] Channels* Capture Compare Units [CCU]** CCU 1 0 0 0 0 0 0 0 0 CCU 2 1 1 1 1 1 1 1 1 CCU 6 Temperature (ambient) 3 2 3 2 4 2 4 2 -40°C to +85°C -40°C to +85°C -40°C to +85°C -40°C to +85°C -40°C to +85°C -40°C to +85°C -40°C to +85°C -40°C to +85°C * USIC: can be configured as UART, LIN, SPI, IIC, IIS ** CCU: used for PWM, D/A www.infineon.com/XE166 10 10141_XE166_Broschuere_rz.indd 10 01.02.11 12:54 Family Overview XE166xU Series – Compact Line Key Features 66MHz frequency = 66MIPS performance Up to 64KB of Flash memory and 8KB of RAM PWM unit (CCU6) to drive any industrial 3-phase motor 12-bit A/D converter, conversion time below 1μs Two serial interfaces (USIC) DAP – Device Access Port (two-wire JTAG, replaces five-wire JTAG) SPD – single wire JTAG Block Diagram Overview U Series XE160FU Subfamily Core Core Frequency (MHz) Package Flash Prog/Data Flash (KB) XE161FU C166SV2 66/40 TSSOP 38 QFN 48 64 64 SRAM ∑ SRAM (KB) 8 8 CAN Channels 0 0 ADC Channels 8 10 Universal Serial Interface [USIC] Channels* 2 2 Capture Compare Units [CCU]** CCU 1 0 0 CCU 2 1 1 CCU 6 1 1 -40°C to +125°C -40°C to +125°C Temperature (ambient) * USIC: can be configured as UART, LIN, SPI, IIC, IIS ** CCU: used for PWM, D/A 11 10141_XE166_Broschuere_rz.indd 11 01.02.11 12:54 Family Overview XE166xL Series – Econo Line Key Features 80MHz frequency = 80MIPS performance Up to160KB of Flash memory and 12KB of RAM Parallel Flash programming Up to two PWM units (CCU6) to drive any industrial 3-phase motor 12-bit A/D converter, conversion time below 1μs Up to four serial interfaces (USIC) DAP – Device Access Port (two-wire JTAG, replaces five-wire JTAG) SPD – single wire JTAG Block Diagram Overview L Series XE161FL Subfamily Core Core Frequency (MHz) Package XE162FL C166SV2 80/66 QFN 48 QFP 64 Flash Prog/Data Flash (KB) 160 160 SRAM ∑ SRAM (KB) 12 12 Program [PS RAM] 4 4 Data Mem [DS RAM] 6 6 Dual Port [DP RAM] 2 2 CAN Channels 1 (32) 2 (32) ADC Channels 10 19 Universal Serial Interface [USIC] Channels* 4 4 Capture Compare Units [CCU]** CCU 1 0 0 CCU 2 1 1 CCU 6 2 2 -40°C to +125°C -40°C to +125°C Temperature (ambient) * USIC: can be configured as UART, LIN, SPI, IIC, IIS ** CCU: used for PWM, D/A www.infineon.com/XE166 12 10141_XE166_Broschuere_rz.indd 12 01.02.11 12:54 Family Overview XE166xN Series – Value Line Key Features 80MHz frequency = 80MIPS performance Up to 320KB of Flash memory and 34KB of RAM Parallel Flash programming Up to two PWM units (CCU6) to drive any industrial 3-phase motor Two very fast A/D converters Up to six serial interfaces (USIC) DAP – Device Access Port (two-wire JTAG, replaces five-wire JTAG) Block Diagram Overview N Series XE162FN Subfamily Core Core XE162HN XE164FN Frequency (MHz) QFP 64 Prog/Data Flash (KB) XE164HN XE164KN 80 Package Flash XE164GN C166SV2 QFP 100 128-320 128-320 128-320 128-320 128-320 128-320 26-34 SRAM ∑ SRAM (KB) 26-34 26-34 26-34 26-34 26-34 CAN Channels 2 (64) 0 2 (64) 2 (64) 0 0 ADC Channels 9 9 16 11 16 11 6 6 6 4 6 4 Universal Serial Interface [USIC] Channels* Capture Compare Units [CCU]** CCU 1 0 0 0 0 0 0 CCU 2 1 1 1 1 1 1 CCU 6 Temperature (ambient) 1 1 2 2 2 2 -40°C to +125°C -40°C to +125°C -40°C to +125°C -40°C to +125°C -40°C to +125°C -40°C to +125°C * USIC: can be configured as UART, LIN, SPI, IIC, IIS ** CCU: used for PWM, D/A 13 10141_XE166_Broschuere_rz.indd 13 01.02.11 12:54 Family Overview XE166xM Series – Base Line Key Features 80MHz frequency = 80MIPS performance Up to 576KB of Flash memory and 50KB of RAM Parallel Flash programming Up to four PWM units (CCU6) to drive any industrial 3-phase motor Two very fast A/D converters Up to eight serial interfaces (USIC) DAP – Device Access Port (two-wire JTAG, replaces five-wire JTAG) Block Diagram Overview M Series XE162FM Subfamily Core Core XE162HM XE164FM XE164GM XE164HM XE164KM XE167FM XE167GM XE167HM XE167KM C166SV2 Frequency (MHz) 80 Package QFP 64 QFP 100 QFP 144 Flash Prog/Data Flash (KB) SRAM ∑ SRAM (KB) 24-50 24-50 26-50 26-50 26-50 26-50 34-50 34-50 34-50 CAN Channels 2 (64) 0 4(128) 2 (64) 0 0 6(128) 2 (64) 0 0 ADC Channels 9 9 16 11 16 11 24 16 24 16 Universal Serial Interface [USIC] Channels* 6 6 6 4 6 4 8 4 8 4 Capture CCU 1 Compare CCU 2 Units [CCU]** CCU 6 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 3 2 3 2 4 2 4 2 Temperature (ambient) 384-576 384-576 384-576 384-576 384-576 384-576 384-576 384-576 384-576 384-576 34-50 -40°C to -40°C to -40°C to -40°C to -40°C to -40°C to -40°C to -40°C to -40°C to -40°C to +85°C +85°C +125°C +125°C +125°C +125°C +125°C +125°C +125°C +125°C * USIC: can be configured as UART, LIN, SPI, IIC, IIS ** CCU: used for PWM, D/A www.infineon.com/XE166 14 10141_XE166_Broschuere_rz.indd 14 01.02.11 12:54 Family Overview XE166xH Series – High Line Key Features 100MHz frequency = 100MIPS performance Up to 1600KB of Flash memory and 138KB of RAM Parallel Flash programming Up to four PWM units (CCU6) to drive any industrial 3-phase motor Two very fast A/D converters Up to ten serial interfaces (USIC) DAP – Device Access Port (two-wire JTAG, replaces five-wire JTAG) Block Diagram Overview H Series XE167FH Subfamily Core Core Frequency (MHz) Package XE169FH C166SV2 100 QFP 144 QFP 176 1024/1600 1024/1600 ∑ SRAM (KB) 138 138 Program [PS RAM] 112 112 Data Mem [DS RAM] 24 24 Dual Port [DPRAM] 2 2 6 (256) 6 (256) Flash Prog/Data Flash (KB) SRAM CAN Channels ADC Channels 24 30 Universal Serial Interface [USIC] Channels* 10 10 Capture Compare Units [CCU]** CCU 1 0 1 CCU 2 1 1 CCU 6 4 4 -40°C to +125°C -40°C to +125°C Temperature (ambient) * USIC: can be configured as UART, LIN, SPI, IIC, IIS ** CCU: used for PWM, D/A 15 10141_XE166_Broschuere_rz.indd 15 01.02.11 12:54 Applications © Alstom Renewable Energies Transportation Building Control Automation IO-Link Evaluation Kit for Slave and Master Key Features Low-cost USB format All cables included USB format 16-bit XE164-based master node – Four IO-Link channels – Real-time high-performance 16-bit MCU with DSC – ADC, CAN, PWM – SPI Separate low-cost 8-bit XC822-based slave node – ADC, MDU coprocessor, PWM – SPI Keil Toolchains Evaluation IO-Link master and slave stack from TMG ZMD IO-Link Phy ZIOL 2401 Demos and tutorials www.infineon.com/io-link UConnect XE162N supporting CANopen Key Features Low-cost USB stick format provides a single evaluation platform for the XE166 family 16-bit microcontrollers Complete toolchain support for the XE166, free Compiler Development Suite Access to hardware signals through a 16-pin connector for evaluating the key features of the 16-bit XE162N microcontroller: CAN, ADC, CAPCOM6E and two USIC channels (UART, SPI and IIC) Easy installation with demos (CANopen EVA version) and tutorials for ease of use and quick evaluation of key features www.infineon.com/UConnect-XE162 16 10141_XE166_Broschuere_rz.indd 16 01.02.11 12:55 Applications Automation/Motor Control Medical Power Supplies Motor Control DAVE™ Drive – Application Code Generator for Motor Control DAVE™ Drive is an auto-code generator which provides application code for a complete motor control system. Benefits Significantly shortens the evaluation time for motor control developers as the motor control code can be generated via a GUI instead of writing thousands of lines of code by hand Generates optimized code and is not based on static libraries Configures Infineon’s powerful and flexible motor control peripherals Compresses a detailed user manual into a few mouse clicks Helps designers to quickly and easily implement advanced motor control techniques on low-cost components Is pre-configured for Infineon’s 3-phase high voltage Motor Drive Application Kits (KIT_AK_3PHASE_ DRIVE_V1) and the low voltage DAVE™ Drive Application Kit (KIT_AK_DaveDrive_V3) Key Features Shortens the evaluation time as – Motor control code can be generated via a GUI – Gives hardware engineers easy access to electronic systems – Generates optimized FOC code Available for free www.infineon.com/DAVEdrive 17 10141_XE166_Broschuere_rz.indd 17 01.02.11 12:55 Applications Renewable Energies Power Converter Photovoltaic Solutions Battery storage AC/DC and DC/AC Fuel cells Power Converter Wind energy converter Combined heat and power Solutions Small hydro Micro turbines AC/AC Application Example Transportation © Alstom Power Converter Locomotives Subways Solutions Trains Trams Power Converter Trolley busses Fork lifts Solutions Agricultural trucks Traffic lights AC/DC and DC/AC AC/AC Application Example 18 10141_XE166_Broschuere_rz.indd 18 01.02.11 12:55 Applications Power Supplies Inverters UPS Rectifiers AC/DC SMPS Monitor/CTV PCs, servers DC/DC Power supplies / VRM Telecom Application Example Medical X-ray machines MRT Computer tomography Power supply for medical equipment Inverters Rectifiers DC/DC Application Example www.infineon.com/industrial 19 10141_XE166_Broschuere_rz.indd 19 01.02.11 12:55 Applications Building Control Power Converter Air conditioning systems Solutions Escalators Motor Control Elevators Application Example Air Conditioner 20 10141_XE166_Broschuere_rz.indd 20 01.02.11 12:55 Applications Automation / Motor Control Pumps and fans Air conditioning systems Motor Control Compressors General purpose drives Solutions Servo drives Process control High-performance General purpose drives Robotics Motor Control Solutions CNC machines Application Example Motor Control Key Features Capture for time measurement Multi-channel for unipolar machines Compare for PWM generation Block communication for Burst for additional modulation brushless DC drives Single-shot for flexible signal generation www.infineon.com/industrial 21 10141_XE166_Broschuere_rz.indd 21 01.02.11 12:55 Peripheral Highlights CCU6E Features CCU6E – High-Performance PWM Capture for time measurement Compare modulation DeadTime Control MultiChannel Control /1 unipolar machines /3 Output Select Compare Compare Multi-channel for Compare Channel 3 Capture T13 Compare Start Single-shot for flexible /2/2/2 Trap Control Trap Input Channel 0 Burst for additional signal generation / 1 / 1 Channel 0 Output Select T12 Hall Input Compare for PWM generation / 1 Channel 0 /3 /1 Input/Output Control Block commutation for CTRAP CCPOS2 CCPOS1 CCPOS0 CC62 COUT62 CC61 CC60 COUT61 COUT60 COUT63 T13HR T12HR brushless DC drives The Infineon CCU6E units consist of a T12 timer block with three capture/compare channels and a T13 timer block with one compare channel. The T12 channels can generate up to six PWM signals or accept up to six capture triggers. The T12 channels can be used to control up to three half-bridges with automatic dead-time generation. They can jointly generate control signal patterns to drive AC motors or inverters. Sinusoidal or space vector modulation can be easily implemented. Special operating modes support the control of brushless DC motors using hall sensors or back-EMF detection. Furthermore, block commutation and control mechanisms for multi-phase machines are supported. Two Synchronizable A/D Enhanced Analog-Digital Converter (ADC) Converters with Up to 30 channels 10 or 12-bit resolution, +/-2LSB Conversion time 600ns @ 80MHz Analog Input P5.0 Analog Input P5.15 Data reduction pre-processing Result accumulation, limit check External or internal trigger Analog Input P15.0 Analog Input P15.7 Analog Part 0 Digital Part 0 AD Converter Data (Result) Handling Conversion Control Request Control Analog Part 1 Digital Part 1 AD Converter Data (Result) Handling Conversion Control Request Control Bus Interface events and automatic conversion sequencing 22 10141_XE166_Broschuere_rz.indd 22 01.02.11 12:55 Enhanced Communication MultiCAN MultiCAN Features MultiCAN Module Kernel CAN Node 5 Message Object Buffer 256 Objects CAN Node 3 Linked List Control CAN Node 2 CAN Node 1 CAN Node 0 Full-CAN with CAN 2.0B active TXDC5 Complex applications increasingly require RXDC5 TXDC3 intelligent communication over the CAN network. RXDC3 TXDC2 nodes A CAN gateway and a FIFO are only two examples Up to 256 message objects of what can easily be implemented with XE166’s Programmable acceptance enhanced MultiCAN module. RXDC2 TXDC1 Up to 6 independent CAN filtering Powerful analysis capability FIFO data handling support RXDC1 TXDC0 Automatic gateway support RXDC0 Flexible interrupt handling CAN Control Timing Control and Synchronization Scheduler Schedule Timing Data Memory Time – Triggered Extension Each USIC Channel Is capable of handling UART, Universal Serial Interface (USIC) SPI, LIN, IIC and IIS Is individually configurable Designers can now configure universal serial interfaces depending on their system requirements. Whether UART, SSC (SPI compatible), LIN, IIC or IIS, any interface is possible after a quick adjustment (incl. baud rate generation) Handles full duplex data transfers of the USIC module. Is programmable USIC Channel 0 Rx and Tx FIFOs Common Bus Interface Protocol ASC Optional FIFO Buffer Data Handling + More Data Shifting Protocol SSC … Is reprogrammable on Pins Protocol XYZ A USIC Module is A cluster of two independent, USIC Channel n Protocol ASC Optional FIFO Buffer Data Handling + More the fly without chip reset Data Shifting Protocol SSC … identical USICs Pins Protocol XYZ Available with up to three USIC modules (= six channels) XE166 Facilitates Independent Voltage Domains Two Independent I/O Domains I/O supply Flexible I/O voltage: 5.5V to 3.0V Embedded designers now have the flexibility to make use of two voltage domains that can be configured to maximize system performance. Digital functions are increasingly moving to lower Users choose single or dual supplies (5.5V to 3.0V) voltages, while some analog functions still work best with higher voltage levels. The XE166 Core supply combines the best of both worlds, with the additional benefit of an embedded voltage regulator On-chip regulator from I/O for core voltage generation. supply 23 10141_XE166_Broschuere_rz.indd 23 01.02.11 12:55 Embedded Safety Features (Supporting SIL) for U, L, N, M and H-Series Memory Protection Unit (MPU) Memory Application 1 Task 1 Task 2 … Task n 0xFF’FFFF Protection Level 3 Application 2 Task 1 Task 2 … Task n Protection Level 2 Protection Level 1 … Protection Level 0 Application n Task 1 Task 2 … Task n 0x00’0000 … used for code and data encapsulation Four Protection Levels One memory region can be assigned to several protection levels One application can be assigned to several protection levels Protected Memory Regions Upper/lower bound (256Bytes granularity) Access rights (read, write, execute) 12 regions available Any address (including SFRs, XSFRs, I/O) Assigned to a protection level All Violations can be Detected (supporting class B) Memory Checker (MCHK, CRC) Clock Control fMCHK BPI Interface Port Control Px .y MCHK Module (MISR) Address Decoder Interrupt Control MATCH MCHKINT Module Product Interface … used for check memory content integrity Calculates a checksum of a block of data (CRC) Image in Flash, block of sensitive RAM data, transmitted data Generating pseudo-random numbers Programmable multi-input linear feedback shift register (MISR) 24 10141_XE166_Broschuere_rz.indd 24 01.02.11 12:55 ECC for SRAM and Flash 136 135 134 133 132 131 130 129 128 127 126 125 124 D127 D126 D125 D124 *** 4 3 2 1 0 D4 D3 D2 D1 D0 … used for detection and correction of memory disturbs Available on all Flash Memories 9-bit ECC on 128 bits of data 2-bit error detection and 1-bit correction per 128 bits Trap and interrupt generation in case of error detection 23 22 21 20 19 D15 D14 D13 D12 18 17 16 D11 D10 D9 15 14 D8 13 12 11 10 9 8 D7 D6 D5 D4 7 Upper Byte 6 5 4 D3 D2 D1 3 2 1 0 D0 Lower Byte Available on Dedicated SRAMs 4-bit ECC; byte-oriented 1-bit error detection and 1-bit correction per byte Trap in case of error detection Data bits Error correction bits A/D Conversion with Broken Wire Detection preparation (optional) sample conversion Optional preparation phase Preparation: precharge ADC cap with an “out of range voltage” of the sensor “Out of range voltage” can be any voltage on an ADC input channel 25 10141_XE166_Broschuere_rz.indd 25 01.02.11 12:55 System Development Tools The XE166 family of real-time signal microcontrollers is supported by a variety of high quality and user-friendly toolchains from well-known Infineon tool partners. The following diagram shows the typical development toolchains. Our partners provide easy migration of existing toolchains and legacy code from XC / C166 to the XE166 family. Development Tool Chain for XE166 Microcontrollers SW Drivers Operating System IDE Programmer Code Generation with DAVE™ Compiler Assembler Linker Locator (Simulator Debugger) Debugger/Emulator Available for Free: Available for Free: Starter Kits and Evaluation Boards Motor Control Application Kits 26 10141_XE166_Broschuere_rz.indd 26 01.02.11 12:55 Starter Kits and Evaluation Boards DAVE™ Drive Kit – Easy to Use Application Code Generator for Motor Control Uses the full power of Infineon’s microcontroller. For example, it generates optimized FOC code for XE166 using a Vector computer, something which usually requires expert knowledge in both motor control and assembler programming. By making DAVE™ Drive available as a free download, customers of all sizes can quickly implement advanced motor control techniques using Infineon’s powerful components for motor control. Key Features Motor types: BLDC, PMSM, induction Microcontrollers: – 8-bit XC800: XC878CLM, XC888CLM, XC886CLM, motor XC866, XC864 LDC control algorithm: – 16-bit XE166 microcontroller series: XE164F – Sinusoidal commutation: (Classic Series), XE162FN (N Series), XE162FM (M Series) Sensorless Field Oriented Flexibly generates optimized code and is not based Control (single shunt current on static libraries measurement) Supports user specific motor & power board – Trapezoidal commutation using Hall sensors and sensorless BEMF zero crossing detection Induction motor control algorithm: – V/Hz openloop speed control configurations Configures Infineon’s powerful and flexible motor control peripherals Includes user manuals & algorithm parameter calculations Easy Kits – Designed for Ease of Use One USB Cable for The XE166 Easy Kit Includes Power supply Easy Kit hardware Virtual COM port Technical documentation, e.g. user manual, architecture Download & debug interface manual, application notes, data sheets, board documentation Compiler, debugger, DAVETM mother system, DIP files, memtool for Flash programming 27 Naming System SA Prefix Temperature Range F for -40/+85 °C K for -40/+125 °C C166S V2 CPU Enhanced 3/5 Volt IO More Memory Pin-Out Type 0 for 38-pin 1 for 48-pin 2 for 64-pin 4 for 100-pin 7 for 144-pin 9 for 176-pin Sub Family F for CAN, ADC, USIC G for CAN, reduced ADC, USIC H for ADC, USIC K for reduced ADC, USIC Family H for High Line M for Base Line N for Value Line L for Econo Line U for Compact Line no letter for Alpha Line On-Chip Code Memory (in Multiples of 8) 16 for 128KB 24 for 192KB 40 for 320KB 48 for 384 KB 72 for 576KB 96 for 768KB 136 for 1088KB 200 for 1600KB Memory Type F for Flash CPU Frequency 66 for 66MHz 80 for 80MHz 100 for 100MHz Package L for LQFP V for VQFN R for TSSOP 28 F - X E 16X F M - 72 F 80 L Starter Kits and Evaluation Boards DAP miniWiggler The miniWiggler is Infineon’s high-performance and cost-efficient debugging tool for the future. On the host side, it has a USB interface, which is available on every computer. On the device side, the communication goes over Infineon 10-pin DAP or 16-pin OCDSL1 interfaces. The miniWiggler has been designed especially to work in combination with Infineon’s Debug Access Software (DAS). The latest DAS version can be downloaded at www.infineon.com/das Applications Key Features Debug Compatible with Infineon DAP and SPD Flash programming Compatible with JTAG/IEEE 1149.1 Clock rate up to 30MHz (programmable) All signals are 5.5V, scaling down to 1.65V Supported Tools USB 2.0 (high-speed) ALTIUM/Tasking Compiler Certified drivers for Microsoft Windows 2000, XP and Vista DAVE™ Bench USB, JTAG and DAP/SPD hotplug and unplug HiTOP HITEX Three on-board status LEDs KEIL uVision Support for OCDS1 16-pin and DAP 10-pin connectors UConnect Ethernet/OLED Extension Board Source Code includes PID controller Basic OLED graphics library Key Features 320*240 OLED 24-bit colors (connected at XE164 USIC via SPI) uIP TCP/IP stack Ethernet controller (connected at XE164 USIC via SPI) WEB server Potentiometer Four push buttons Supporting Tools HiTOP CAN and UART connector Power supply Tasking Classic Compiler 29 Ask Infineon – Infineon Hotline-Service at your fingertips. Where you need it. When you need it. Infineon offers its toll-free 0800 service hotline as one central number, available 24 / 7 in English and German. Our global connection service goes way beyond standard operating and switchboard services by offering qualified support on the phone. Call us! Germany .......................... 0800 951 951 951 USA ................................. 1866 951 9519 International . .................. 00 800 951 951 951 Direct access ................... +49 89 234 - 0 (interconnection fee) Where to Buy Infineon Distribution Partners and Sales Offices Please use our location finder to get in contact with your nearest Infineon distributor or sales office. www.infineon.com/WhereToBuy Infineon Technologies – innovative semiconductor solutions for energy efficiency, mobility and security. Published by Infineon Technologies AG 8 5 579 Neubiberg , Germany © 2011 Infineon Technologies AG. All Rights Reserved. Visit us: www.infineon.com Order Number: B158-H9118-G2-X-7600 Date: 0 2 / 2011 Attention please! The information given in this document shall in no event be regarded as a guarantee of conditions or characteristics (“Beschaffenheitsgarantie”). With respect to any examples or hints given herein, any typical values stated herein and/ or any information regarding the application of the device, Infineon Technologies hereby disclaims any and all warranties and liabilities of any kind, including, without limitation, warranties of non-infringement of intellectual property rights of any third party. Information For further information on technology, delivery terms and conditions and prices, please contact your nearest Infineon Technologies Office (www.infineon.com). Warnings Due to technical requirements, components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies components may only be used in life-support devices or systems with the express written approval of Infineon Technologies if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. Lifesupport devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered. Packages Temperature Ranges 3) Serial Interfaces 2) CAN Nodes External Bus Interface “Timed I/O Channels (PWM, CAPCOM, GPTA)” Number of ADC Channels Digital I/O Lines Coprocessor 1) SRAM (incl. Cache) (KB) Program Memory (KB) Max Clock Frequency (MHz) Product Type Feature Overview XE166 Family XE167x XE164x Classic Series – Alpha Line XE164K-96F66L 66 768 82 MAC 75 11 30 yes - 4xUSIC F PG-LQFP-100 XE164H-96F66L 66 768 82 MAC 75 16 37 yes - 6xUSIC F PG-LQFP-100 XE164G-96F66L 66 768 82 MAC 75 11 30 yes 2 4xUSIC F PG-LQFP-100 XE164F-96F66L 66 768 82 MAC 75 16 37 yes 4 6xUSIC F PG-LQFP-100 PG-LQFP-100 XE164F-96F80L 80 768 82 MAC 75 16 37 yes 4 6xUSIC F XE167K-96F66L 66 768 82 MAC 118 16 30 yes - 4xUSIC F PG-LQFP-144 XE167H-96F66L 66 768 82 MAC 118 24 44 yes - 6xUSIC F PG-LQFP-144 XE167G-96F66L 66 768 82 MAC 118 16 30 yes 2 4xUSIC F PG-LQFP-144 XE167F-96F66L 66 768 82 MAC 118 24 44 yes 5 6xUSIC F PG-LQFP-144 XE167F-96F80L 80 768 82 MAC 118 24 44 yes 5 6xUSIC F PG-LQFP-144 XE160x XE160FU-4F66R 66 32 8 MAC 28 8 15 no - 2xUSIC F,K PG-TSSOP-38 XE160FU-8F66R 66 64 8 MAC 28 8 15 no - 2xUSIC F,K PG-TSSOP-38 XE161x U Series – Compact Line XE161FU-4F66V 66 32 8 MAC 33 10 15 no - 2xUSIC F,K PG-VQFN-48 XE161FU-8F66V 66 64 8 MAC 33 10 15 no - 2xUSIC F,K PG-VQFN-48 XE162x XE161x L Series – Econo Line XE161FL-12F80V 80 96 12 MAC 33 10 21 no 1 4xUSIC F,K PG-VQFN-48 XE161FL-20F80V 80 160 12 MAC 33 10 21 no 1 4xUSIC F,K PG-VQFN-48 XE161HL-12F80V 80 96 12 MAC 33 10 21 no 1 4xUSIC F,K PG-VQFN-48 XE161HL-20F80V 80 160 12 MAC 33 10 21 no 1 4xUSIC F,K PG-VQFN-48 XE162FL-12F80L 80 96 12 MAC 48 19 21 no 1 4xUSIC F,K PG-LQFP-64 XE162FL-20F80L 80 160 12 MAC 48 19 21 no 1 4xUSIC F,K PG-LQFP-64 XE162HL-12F80L 80 96 12 MAC 48 19 21 no 1 4xUSIC F,K PG-LQFP-64 XE162HL-20F80L 80 160 12 MAC 48 19 21 no 1 4xUSIC F,K PG-LQFP-64 XE164xN XE162xN N Series – Value Line XE162HN-16F80L 80 128 18 MAC 40 9 23 no - 6xUSIC F,K PG-LQFP-64 XE162HN-24F80L 80 192 26 MAC 40 9 23 no - 6xUSIC F,K PG-LQFP-64 XE162HN-40F80L 80 320 34 MAC 40 9 23 no - 6xUSIC F,K PG-LQFP-64 XE162FN-16F80L 80 128 18 MAC 40 9 23 no 2 6xUSIC F,K PG-LQFP-64 XE162FN-24F80L 80 192 26 MAC 40 9 23 no 2 6xUSIC F,K PG-LQFP-64 XE162FN-40F80L 80 320 34 MAC 40 9 23 no 2 6xUSIC F,K PG-LQFP-64 XE164KN-16F80L 80 128 18 MAC 75 11 30 yes - 4xUSIC F,K PG-LQFP-100 XE164KN-24F80L 80 192 26 MAC 75 11 30 yes - 4xUSIC F,K PG-LQFP-100 XE164KN-40F80L 80 320 34 MAC 75 11 30 yes - 4xUSIC F,K PG-LQFP-100 XE164HN-16F80L 80 128 18 MAC 75 16 30 yes - 6xUSIC F,K PG-LQFP-100 XE164HN-24F80L 80 192 26 MAC 75 16 30 yes - 6xUSIC F,K PG-LQFP-100 XE164HN-40F80L 80 320 34 MAC 75 16 30 yes - 6xUSIC F,K PG-LQFP-100 XE164GN-16F80L 80 128 18 MAC 75 11 30 yes 2 4xUSIC F,K PG-LQFP-100 XE164GN-24F80L 80 192 26 MAC 75 11 30 yes 2 4xUSIC F,K PG-LQFP-100 XE164GN-40F80L 80 320 34 MAC 75 11 30 yes 2 4xUSIC F,K PG-LQFP-100 XE164FN-16F80L 80 128 18 MAC 75 16 30 yes 2 6xUSIC F,K PG-LQFP-100 XE164FN-24F80L 80 192 26 MAC 75 16 30 yes 2 6xUSIC F,K PG-LQFP-100 XE164FN-40F80L 80 320 34 MAC 75 16 30 yes 2 6xUSIC F,K PG-LQFP-100 www.infineon.com/XE166 10141_XE166_Einleger.indd 1 F = -40 – 85 °C, K = -40 – 125 °C 01.02.11 13:00 SRAM (incl. Cache) (KB) Coprocessor 1) Digital I/O Lines Number of ADC Channels “Timed I/O Channels (PWM, CAPCOM, GPTA)” External Bus Interface CAN Nodes Serial Interfaces 2) Temperature Ranges 3) Packages 80 384 34 MAC 40 9 23 no - 6xUSIC F PG-LQFP-64 XE162HM-72F80L 80 576 50 MAC 40 9 23 no - 6xUSIC F PG-LQFP-64 XE162FM-48F80L 80 384 34 MAC 40 9 23 no 2 6xUSIC F PG-LQFP-64 XE162FM-72F80L 80 576 50 MAC 40 9 23 no 2 6xUSIC F PG-LQFP-64 XE164KM-48F80L 80 384 34 MAC 76 11 30 yes - 4xUSIC F,K PG-LQFP-100 Max Clock Frequency (MHz) XE162HM-48F80L Product Type Program Memory (KB) Feature Overview XE166 Family 80 576 50 MAC 76 11 30 yes - 4xUSIC F,K PG-LQFP-100 80 384 34 MAC 76 16 37 yes - 6xUSIC F,K PG-LQFP-100 XE164HM-72F80L 80 576 50 MAC 76 16 37 yes - 6xUSIC F,K PG-LQFP-100 XE164GM-48F80L 80 384 34 MAC 76 11 30 yes 2 4xUSIC F,K PG-LQFP-100 XE164GM-72F80L 80 576 50 MAC 76 11 30 yes 2 4xUSIC F,K PG-LQFP-100 XE164FM-48F80L 80 384 34 MAC 76 16 37 yes 4 6xUSIC F,K PG-LQFP-100 XE164FM-72F80L 80 576 50 MAC 76 16 37 yes 4 6xUSIC F,K PG-LQFP-100 XE167KM-48F80L 80 384 34 MAC 119 16 30 yes - 4xUSIC F,K PG-LQFP-144 80 576 50 MAC 119 16 30 yes - 4xUSIC F,K PG-LQFP-144 80 384 34 MAC 119 24 44 yes - 8xUSIC F,K PG-LQFP-144 XE167HM-72F80L 80 576 50 MAC 119 24 44 yes - 8xUSIC F,K PG-LQFP-144 XE167GM-48F80L 80 384 34 MAC 119 16 30 yes 2 4xUSIC F,K PG-LQFP-144 XE167GM-72F80L 80 576 50 MAC 119 16 30 yes 2 4xUSIC F,K PG-LQFP-144 XE167FM-48F80L 80 384 34 MAC 119 24 44 yes 5 8xUSIC F,K PG-LQFP-144 XE167FM-72F80L 80 576 50 MAC 119 24 44 yes 5 8xUSIC F,K PG-LQFP-144 XE167FH-136F100L 100 1088 138 MAC 98 24 60 yes 6 8xUSIC F,K PG-LQFP-144 XE167FH-200F100L 100 1600 138 MAC 118 24 60 yes 6 8xUSIC F,K PG-LQFP-144 XE169FH-136F100L 100 1088 138 MAC 98 30 60 yes 6 10xUSIC F,K PG-LQFP-176 XE169FH-200F100L 100 1600 138 MAC 118 30 60 yes 6 10xUSIC F,K PG-LQFP-176 XE167xM XE167KM-72F80L XE167HM-48F80L XE167xH XE164KM-72F80L XE164HM-48F80L XE169xH XE164xM XE162xM M Series – Base Line H Series – High Line F = -40 – 85 °C, K = -40 – 125 °C www.infineon.com/XE166 Published by Infineon Technologies AG 85579 Neubiberg, Germany © 2011 Infineon Technologies AG. All Rights Reserved. Visit us: www.infineon.com Date: 02 / 2011 10141_XE166_Einleger.indd 2 Attention pleAse! The information given in this document shall in no event be regarded as a guarantee of conditions or characteristics (“Beschaffenheitsgarantie”). With respect to any examples or hints given herein, any typical values stated herein and/ or any information regarding the application of the device, Infineon Technologies hereby disclaims any and all warranties and liabilities of any kind, including without limitation warranties of non-infringement of intellectual property rights of any third party. informAtion For further information on technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies Office (www.infineon.com). WArnings Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies Components may only be used in life-support devices or systems with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered. 01.02.11 13:00