PD/8910x/911x/912x/913x 8-Bit General-Purpose Microcontrollers With 8- or 10-Bit A/D and RC or Ceramic Oscillator K0S Family Product Brief Description March 1998 The PD7891xx microcontrollers are new members of NEC's low-cost K0S 8-bit microcontroller family. They offer a system clock choice of an RC circuit or resonator, and are available with an 8- or 10-bit A/D converter. The PD7891xx family is fabricated using an 0.35-micron CMOS process for low power consumption and minimal cost. With 28- or 30-pin package options, these devices are ideal for costsensitive consumer applications needing analog interfaces. These microcontrollers are supported by an extensive tool chain, compatible across NEC's entire K Series(R) line of 8- and 16-bit microcontrollers. The tools contain a software simulator, C compiler, relocatable assembler, screen debugger, and in-circuit emulator. Figure 1. Block Diagram Timers and Counters Memory Clocks and System Control CPU Core 16-bit Timer CPT20 T020 16-bit Timer TM20 System Registers - PC - PSW - Stack Pointer ROM 2K, 4K & 8K CPU & Macro Control CL1 Main Clock Oscillator CL2 Timer/Event Counter TI80 TO80 8-bit T/E Counter 80 Timers RAM 256 bytes RESET Hardware Multiply ALU Eight 8-bit GP Registers Sytem Control VDD VSS IC Watchdog Serial Channels UART (SIO20) RxD20/SI20 TxD20/SO20 UART 4 Channel 8-bit A/D Converter 20 Port Pins Programmable Interrupt *** *** P50-P63 P00-P25 AVSS AVDD BRG ANI0-ANI3 SCK20 INTP0-INTP2 98YL-0003B (1/98) Specifications Features Clock frequency * RC oscillator up to 4 MHz * Ceramic oscillator up to 5 MHz Minimum instruction execution time * RC oscillator -0.5 s * Ceramic oscillator -0.4 s Operating voltage: 1.8 to 5.5 volts Operating temperature: -40 to +85C 0.35-micron CMOS process technology Power consumption * 3.0 mW (normal mode) * 2.7 mW (halt mode) * 0.00015 mW (stop mode) Packages * 28-pin SDIP (400 mil) * 30-pin SSOP (300 mil) Architecture * 8-bit CPU * Bit, byte, or word instruction set with 8 x 8 multiply instruction * Minimum instruction execution time - 400 ns using XTAL - * 500 ns using RC oscillation Eight 8-bit registers Memory * 64K linear address space * 2K to 16K internal ROM * 16K flash version * Fully static 256-byte internal RAM Clock sources * Resonator: 1 to 5 MHz (PD78910x/911x) * RC circuit: 0.4 to 4 MHz (PD78912x/913x) Interrupts * Three external maskable interrupts * Six internal maskable interrupts * Automatic release of halt and stop modes Peripherals * Twenty general-purpose I/O pins * One 16-bit timer/counter * One 8-bit timer/event counter with PWM mode * One watchdog/interval timer * One serial channel - UART with baud rate generator - * Three-wire synchronous mode Four-channel 8- or 10-bit A/D converter Table 1. Power-Saving Features Voltage Mode and Typical Power at 5 MHz Note Normal Mode: Chip 100% On (Main System Clock On) Halt Mode: CPU Clock Off and Main Clock On Stop Mode: Main Clock Off 5 volts 10.5 mW 8 mW 0.0005 mW 3 volts 3 mW 2.7 mW 0.0001 mW Note: Target specification Table 2. Ordering Information Part Number Internal ROM A/D Main Clock Source RAM PD789101CT/GS 2K mask ROM 8-bit Ceramic resonator 256 PD789102CT/GS 4K mask ROM 8-bit PD789104CT/GS 8K flash memory 8-bit PD789111CT/GS 2K mask ROM 10-bit PD789112CT/GS 4K mask ROM 10-bit PD789114CT/GS 8K flash memory 10-bit PD78F9116CT/GS 16K flash memory 10-bit PD789121CT/GS 2K mask ROM 8-bit PD789122CT/GS 4K mask ROM 8-bit PD789124CT/GS 8K flash memory 8-bit PD789131CT/GS 2K mask ROM 10-bit PD789132CT/GS 4K mask ROM 10-bit PD789134CT/GS 8K flash memory 10-bit PD78F9136CT/GS 16K flash memory 10-bit RC clock K Series is either a trademark or registered trademark of NEC Electronics Inc. in the United States and/or other countries. I 2C is a trademark of NV Philips. For literature, call 1-800-366-9782 7 a.m. to 6 p.m. Pacific time or FAX your request to 1-800-729-9288 or visit our web site at www.nec.com NEC Electronics Inc. CORPORATE HEADQUARTERS 2880 Scott Boulevard Santa Clara, CA 95050-2554 TEL 408-588-6000 In North America: No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Electronics Inc. (NECEL). The information in this document is subject to change without notice. All devices sold by NECEL are covered by the provisions appearing in NECEL Terms and Conditions of Sales only. Including the limitation of liability, warranty, and patent provisions. NECEL makes no warranty, express, statutory, implied or by description, regarding information set forth herein or regarding the freedom of the described devices from patent infringement. NECEL assumes no responsibility for any errors that may appear in this document. NECEL makes no commitments to update or to keep current information contained in this document. The devices listed in this document are not suitable for use in applications such as, but not limited to, aircraft control systems, aerospace equipment, submarine cables, nuclear reactor control systems, and life support systems. "Standard" quality grade devices are recommended for computers, office equipment, communication equipment, test and measurement equipment, machine tools, industrial robots, audio and visual equipment, and other consumer products. For automotive and transportation equipment, traffic control systems, anti-disaster and anti-crime systems, it is recommended that the customer contact the responsible NECEL salesperson to determine the reliability requirements for any such application and any cost adder. NECEL does not recommend or approve use of any of its products in life support devices or systems or