Pr oduc t Br ief C 1 67 C R Highly Integrated Microcontrolle r wi th O n-C hi p C AN -M odule T H E C 1 6 7 C R 1) is a new derivative of the Infineon C166 Family of full featured single-chip CMOS microcontrollers. It combines high CPU performance with high peripheral functionality and enhanced IO-capabilities. T H E C 1 6 7 C R features a CAN module which meets version 2.0B active of the Controller Area Network specification and was designed to fulfill the requirements of coming generations of automotive and industrial control applications ■ ■ ■ ■ ■ ■ ■ ■ Device ROM CAN C167CR-LM – ✓ C167CR-4RM 32 Kbytes ✓ C167CR-16RM 128 Kbytes ✓ C167SR-LM – – 25 MHz = standard 33 MHz = optional ■ ■ ■ ■ ■ ■ Ke y Fea tu res ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ High Performance 16-bit CPU with 4-Stage Pipeline 80 ns Instruction Cycle Time at 25 MHz CPU Clock 400 ns Multiplication (16 x 16 bit), 800 ns Division (32/16 bit) at 25 MHz CPU Clock Enhanced Boolean Bit Manipulation Facilities Additional Instructions to Support HLL and Operating Systems Register-Based Design with Multiple Variable Register Banks Single-Cycle Context Switching Support Clock Generation via On-Chip PLL or via direct clock-input Up to 16 Mbytes Linear Address Space for Code and Data 4 Kbytes On-Chip SRAM (2 Kbytes Internal RAM, 2 Kbytes Extension RAM) Programmable External Bus Characteristics for Different Address Ranges Controller Area Network (CAN): License of Robert Bosch GmbH 1) For complete device designations (corresponding to PRO ELECTRON) please refer to the data sheet. www.infineon.com/microcontrollers Microcontrolle rs ■ ■ ■ ■ ■ ■ 8-bit or 16-bit External Data Bus Multiplexed or Demutiplexed External Address/Data Buses Five Programmable Chip-Select Signals Hold- and Hold-Acknowledge Bus Arbitration Support 1024 Bytes On-Chip Special Function Register Area Idle and Power Down Modes 8-Channel Interrupt-Driven Single-Cycle Data Transfer Facilities via Peripheral Event Controller (PEC) 16-Priority-Level Interrupt System with 56 Sources, Sample-Rate down to 40 ns 16-Channel 10-bit A/D Converter with 7.76 µs at 25 MHz Conversion Time Two 16-Channel Capture/Compare Units 4-Channel PWM Unit Two Multi-Functional General Purpose Timer Units with five 16-bit Timers Two Serial Channels (Synchronous/Asynchronous and High-Speed-Synchronous, 6 Mbit/s at 25 MHz) On-Chip CAN Interface 2.0B active with 15 Message Objects (Full-CAN/Basic-CAN) Programmable Watchdog Timer Up to 111 General Purpose IO Lines, partly with Selectable Input Thresholds and Hysteresis On-Chip Bootstrap-Loader Supported by a Wealth of Development Tools like C-Compilers, Macro-Assembler Packages, Realtime Operating Systems, Emulators, Evaluation Boards, HLL-Debuggers, Simulators, Logic Analyzer Disassemblers, Programming Boards P/PG-MQFP-144 Package Full Automotive Temperature Range -40°C to +125°C Product Brief C167 CR Block Diagram 16 Internal ROM Area 32 Internal RAM 2 KB 16 CPU-Core 16 XRAM 2 KB 16 Watchdog PEC OSC. Interrupt Controller 16 PLL CAN Module 8 Port 6 8 GPT1 T2 T3 T4 GPT2 T5 T6 Port 5 16 ASC (USART) SSC (SPI) PWM CAPCOM CAPCOM 2 1 T0 T1 T7 T8 Port 2 Port 0 Ext. Bus Controller Port 1 16 ADC 10-bit Port 4 16 16 BRG BRG Port 3 15 Port 7 Port 8 8 8 C 167C R 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 POH.0/AD8 POL.7/AD7 POL.6/AD6 POL.5/AD5 POL.4/AD4 POL.3/AD3 POL.2/AD2 POL.1/AD1 POL.0/AD0 EA ALE READY WR/WRL RD VSS VDD P4.7/A23 P4.6/A22/CAN1_TxD P4.5/A21/CAN1_RxD P4.4/A20 P4.3/A19 P4.2/A18 P4.1/A17 P4.0/A16 OWE VSS VDD P3.15/CLKOUT P3.13/SCLK P3.12/BHE/WRH P3.11/RXD0 P3.10/TXD0 P3.9/MTSR P3.8/MRST P3.7/T2IN P3.6/T3IN VAREF VAGND P5.10/AN10/T6EUD P5.11/AN11/T5EUD P5.12/AN12/T6IN P5.13/AN13/T5IN P5.14/AN14/T4EUD P5.15/AN15/T2EUD VSS VDD P2.0/CC0IO P2.1/CC1IO P2.2/CC2IO P2.3/CC3IO P2.4/CC4IO P2.5/CC5IO P2.6/CC6IO P2.7/CC7IO VSS VDD P2.8/CC8IO/EX0IN P2.9/CC9IO/EX1IN P2.10/CC10IO/EX2IN P2.11/CC11IO/EX3IN P2.12/CC12IO/EX4IN P2.13/CC13IO/EX5IN P2.14/CC14IO/EX6IN P2.15/CC15IO/EX7IN/T7IN P3.0/T0IN P3.1/T6OUT P3.2/CAPIN P3.3/T3OUT P3.4/T3EUD P3.5/T4IN VSS VDD P6.0/CS0 P6.1/CS1 P6.2/CS2 P6.3/CS3 P6.4/CS4 P6.5/HOLD P6.6/HLDA P6.7/BREQ P8.0/CC16IO P8.1/CC17IO P8.2/CC18IO P8.3/CC19IO P8.4/CC20IO P8.5/CC21IO P8.6/CC22IO P8.7/CC23IO VDD VSS P7.0/POUT0 P7.1/POUT1 P7.2/POUT2 P7.3/POUT3 P7.4/CC28IO P7.5/CC29IO P7.6/CC30IO P7.7/CC31IO P5.0/AN0 P5.1/AN1 P5.2/AN2 P5.3/AN3 P5.4/AN4 P5.5/AN5 P5.6/AN6 P5.7/AN7 P5.8/AN8 P5.9/AN9 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 VDD VSS NMI RSTOUT RSTIN VSS XTAL1 XTAL2 VDD P1H.7/A15/CC27IO P1H.6/A14/CC26IO P1H.5/A13/CC25IO P1H.4/A12/CC24IO P1H.3/A11 P1H.2/A10 P1H.1/A9 P1H.0/A8 VSS VDD P1L.7/A7 P1L.6/A6 P1L.5/A5 P1L.4/A4 P1L.3/A3 P1L.2/A2 P1L.1/A1 P1L.0/A0 P0H.7/AD15 P0H.6/AD14 P0H.5/AD13 P0H.4/AD12 P0H.3/AD11 P0H.2/AD10 P0H.1/AD9 VSS VDD C167 CR Pin Configuration How to reach us: http://www.infineon.com Published by Infineon Technologies AG 81726 München, Germany © Infineon Technologies AG 2006. All Rights Reserved. Legal Disclaimer The information given in this Product Brief 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). Published by Infineon Technologies AG 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. Ordering No. B158-H6845-G7-X-7600 Printed in Germany PS 0606 nb