Pr oduc t Br ief C 1 61 K / O The Basi c 16-bit Microcontrollers C 1 6 1 K / O M E M B E R S of the C166 family offer all benefits of a full 16-bit controller at the average price of an 8-bit controller. The C161 product range is focused on price sensitive applications such as in consumer products. Grouped around the 25 MHz C166 core a variety of basic peripherals have been chosen for optimal product and system costs. ■ ■ ■ ■ ■ Device Cross-Reference The table below describes the differences between the two C161 derivatives Features C161K C161O Internal RAM Size (IRAM) 1 KByte 2 KBytes Internal RAM Size (IRAM) 2 4 Bus Modes MUX/DEMUX MUX/DEMUX Power Saving Modes ✓ ✓ Fast External Interrupts 4 7 General Purpose Timer Unit 1 (GPT1) ✓ ✓ Input/Output Functionality of GPT1 ✓ ✓ General Purpose Time Unit 2 (GPT2) with – Capture Input (CAPIN) Functionality ✓ ✓ ✓ Bootstrap-Loader ■ ■ ■ ■ ■ ■ ■ ■ Key Features ■ ■ ■ ■ ■ ■ ■ ■ 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) Clock Generation via Prescaler or via Direct Clock Input 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 www.infineon.com/microcontrollers Microcontrolle rs ■ ■ ■ ■ ■ Up to 4 MBytes Linear Address Space for Code and Data Up to 2 KBytes On-Chip RAM Programmable External Bus Characteristics for Different Address Ranges 8-bit or 16-bit External Data Bus Multiplexed or Demultiplexed External Address/Data Buses Programmable Chip-Select Signals 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 20 Sources, (14 Sources on C161K) Multi-Functional General Purpose Timer Units with up to five 16-bit Timers Two Serial Channels (Synchronous/Asynchronous and High-SpeedSynchronous) Programmable Watchdog Timer Up to 63 General Purpose I/O Lines On-Chip Bootstrap-Loader 3 V Operation at max. CPU Clock of 20 MHz (C161O-LM 3 V only) Supported by large Range of Development Tools including C-Compilers, Makro-Assembler Packages, Real-Time Operating Systems, Emulators, Evaluation boards, HLL-Debuggers, Simulators, Logic Analyzers Disassemblers, Programming Boards 80-Pin MQFP Green Package Product Brief C161K/C161O Block Diagram C166-Core Instr./ Data Internal ROM Area Data 16 32 Dual Port ProgMem Data 16 CPU Internal RAM 1-2 KByte 16 Osc External Instr./Data XTAL PEC WDT On-Chip XBUS (16-bit Demux) Interrupt Controller 16 16-Level Priority 16 Interrupt Bus Peripheral Data Bus ASC0 (USART) XBUS Control External BUS Control Port 0 GPT2 GPT1 T2 T3 T4 BRGen Port 1 16 SSC (SPI) T5 T6 BRGen Port 3 16 Port 2 Port 6 8 Port 4 EBC 8 8 Port 5 15 6 P5.15/T2EUD P5.14/T4EUD P2.15/EX7IN P2.14/EX6IN P2.13/EX5IN P2.12/EX4IIN P2.11/EX3IN P2.10/EX2IN P2.9/EX1IN P6.3/CS3 P6.2/CS2 P6.1/CS1 P6.0/CS0 NMI RSTOUT RSTI N VDD V SS P1H.7/A15 P1H.6/A14 C161K/C161O Pin Configuration, PG-MQFP-80 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 VSS XTAL1 XTAL2 VDD P3.2/CAPIN P3.3/T3OUT P3.4/T3EUD P3.5/ T4IN P3.6/T3IN P3.7/T2IN P3.8/MRST P3.9/MTSR P3.10/TxD0 P3.11/RxD0 P3.12/BHE/ WRH P3.13/SCLK P4.0/A16 P4.1/A17 P4.2/A18 P4.3/A19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 C161 P1H.5/A13 P1H.4/A12 P1H.3/A11 P1H.2/A10 P1H.1/A9 P1H.0/A8 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.0/AD8 P0H.1/AD9 P4.4/A20 P4.5/A21 RD WR/WRL ALE EA P0L.0/AD0 P0L.1/AD1 P0L.2/AD2 P0L.3/AD3 P0L.4/AD4 P0L.5/AD5 P0L.6/AD6 P0L.7/AD7 VDD VSS VSS VDD 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Note: The marked signals are not available on all C161 derivatives. Please refer to the detailed description in the data sheet. 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-H7028-G5-X-7600 Printed in Germany PS 0706 nb