Western Microtechnology 12900 Saratoga Avenue Saratoga, CA 95070 Phone (408) 725-1660 FAX# (408) 255-6491 Suggested Retail Price $13.90 8/16-Bit Microprocessors Microcomputers Peripherals 1987 Data Book Fujitsu Limited Fujitsu Microelectronics, Inc. Fujitsu Mikroelektronik GmbH Fujitsu Microelectronics Pacific Asia Ltd. Worldwide Suppliers of Communications and Electronics Equipment Copyrlgh1@19S6 by Fujitsu Limited and Fujitsu Microelectronics, Inc. All Rights Reserved. Copyright" 1986 Fujitsu Limited, Tokyo, Japan, and Fujitsu Microelectronics, Inc. All Rights Reserved. Circuit diagrams utilizing Fujitsu products are Included as a means of illustrating typical semiconductor applications. Consequently. complete information sufficient for construction purposes Is not necessarily given. The Information contained In this document has been carefully checked and Is believed to be entirely reliable. However, Fujitsu Limited and Its subsidiaries assume no responsibility for inaccuracies. The information conveyed In this document does not convey any license under the copyrights. patent rights or trade marks claimed and owned by Fujitsu Limited or Its subsidiaries. Fujitsu Limited and Its subsidiaries reserve the right to change products or specifications without notice. This document Is published by the Technical Publications Department, Fujitsu Microelectronics, Inc., 3320 Scott Blvd., Santa Clara, California, U.S.A. 95054-3197. Printed In the U.S.A. Edition 1.0 Fujitsu Limited Fujitsu Limited, headquartered near Tokyo, Japan, is Japan's largest supplier of computers and ranks in the top ten companies operating in Japan. Fujitsu is also one of the world's largest suppliers of telecom- munications equipment and semiconductor devices. Established in 1935 as the Communications Division spinoff of Fuji Electric Company Limited, Fujitsu Limited, in 1985, celebrated 50 years of service to the world through the development and manufacture of state-of-the-art products in data processing, telecommunications and semiconductors. Fujitsu operates subsidiaries worldwide in two dozen countries and employs over 80,000 people to generate annual sales in excess of nine billion US dollars. (Year ended March 31, 1986 consoli- dated base.) Fujitsu has five plants in key industrial regions in Japan covering all steps of semiconductor production. Five wholly owned Japanese subsidiaries provide additional capacity for production of advanced semiconductor devices. Two additional facilities operate in the U.S. and Europe to help meet the growing worldwide demand for Fujitsu semicon- ductor products. In all, Fujitsu operations occupy over 1.6 million square meters of manufacturing space worldwide. Semiconductor Products In 1975, Fujitsu developed 8-bit microcomputers. In 1977, Fujitsu introduced proprietary 4-bit microcomputers. Today, their 4-bit microcomputer family is the largest 4-bit product line in the world. With the development of the high performance 16-bit micropcocessors, Fujitsu offers a full line of microprocessors, microcomputers, and peripherals to provide designers with a total of 150 products, including 90 products in CMOS families, 50 products in NMOS families and 10 products in bipolar peripherals. In 1983, Fujitsu introduced the world's first CMOS single-chip Digital Signal Processor, the MB8764. Fujitsu's DSP provides telecommunica- tion designers with high-speed signal processing capabilities and at a cost-effective solution. Other Fujitsu industry standard products include GaAs FETs, GaAs FET amplifiers, Si microwave transistors and light wave semiconductors. Discrete products include power-switching transistors and Darlington Array transistors. Fujitsu's custom product lines include application-specific gate arrays and standard-cell arrays using high-speed Bipolar and ECl technologies and advanced CMOS technologies. Gate arrays ranging in size from 350 to 20,000 gates are available in up to 8,000 gate equivalents and include on-chip memory and program logic array. Virtually every major type of electronics equipment on the globe .utilizes Fujitsu technology in integrated circuits. Fujitsu's leadership position in worldwide integrated circuit development and manufacturing assures equipment manufacturers that they will always be able to design with the latest in technology utilizing the highest standards of quality and reliability. iii Fujitsu Microelectronics, Inc. Established in 1979, Fujitsu Microelectronics, Inc., headquartered in Santa Clara, California, markets Fujitsu semiconductors through representatives located throughout the U.S. and North America. The Component Division, Fujitsu Component of America, Inc., markets bubble memories, keyboards, plasma displays, relay switches and hybrid ICs. FMl's San Diego manufacturing facility provides capacity for manufactur- ing of many high-technology devices for the U.S. and North American market. Customer support for custom designs is available through Fujtsu's design centers in Santa Clara. Dallas and Boston. Technology Centers offering on-site customer training. CAE design facilities and design assistance are planned. Fujitsu Mikroelektronik GmbH (European Sales Center) Fujitsu Mikroelektronick GmbH (FMG) was established in June. 1980. in Frankfurt. West Germany. and is a totally owned subsidiary of Fujitsu Limited. Tokyo. FMG is the sole representative of the Fujitsu Electronic Device Group in Western Europe. The wide range of IC products. LSI memories and. in particular. gate arrays are noted throughout Western Europe for design excellence and unmatched reliability. Five branch offices to support Fujitsu's semiconductor operations are located in Munich. London. Paris. Stockholm. and Milan. Fujitsu Microelectronics Ireland. Ltd (European Production Center) Fujitsu Microelectronics Ireland. Ltd. (FME) was established in 1980 in the suburbs of Dublin as Fujitsu's European Production Center for integrated circuits. FME supplies 64K/256K DRAMs. 64K CMOS/NMOS EPROMs. 256K EPROMs. and other LSI memory products. Fujitsu Microelectronics, Ltd (European Design Center) Fujitsu Microelectronics. Ltd .• Fujitsu's European VLSI Design Center. opened in October of 1983 in Manchester, England. The Design Center is equipped with a highly-sophisticated CAD system to ensure fast and reliable processing of input data. An experienced staff of engineers is available to assist in all phases of the design process. Fujitsu Microelectronics Pacific Asia Ltd: (Asian/Oceanian Sales Centre) FLijitsu Microelectronics Pacific Asia Ltd. (FMP) opened in August 1986 in Hong Kong as a wholly-owned Fujitsu subsidiary for sales of elec- tronic devices to Asian and Southwest Pacific markets. iv ----- --------- Fujitsu MCUlMPU Development History August 1986 Part No. Features MB8840 SERIES 4-blt NMOS MCU MB8850 SERIES 4-bit CMOS MCU MB88400 SERIES 4-blt High End NMOS MCU MB88500 SERIES 4-blt High End CMOS MCU MB88700 SERIES New 4-blt MOS MCU MB89700 SERIES New 8-blt CMOS MCU MBL8049/39 8-blt NMOS MCU (Intel 8049/39 compatible) MBL8051 131 8-blt NMOS MCU (Intel 8051/31 compatible) MBL8086/8088 16-bit NMOS MPU (Intel 8086/88 compatible) MBL80186/188 16-blt NMOS MPU (Intel 80186/188 compatible) MBL80286 16-blt NMOS High End (Intel 80286 compatible) ImIJ Production v Quick Reference Microprocessors and Peripherals Microcomputers and Peripherals Memory Controllers Peripheral Support Devices Local Area Network (LAN) Products Signal Processors and Peripherals ROM Code Development Procedure Quality Assurance and Reliability Ordering Information vii Table of Contents Section 1 Microprocessors and Peripherals MBL80286 Microprocessor Family 1-2 MBl80286-8 NMOS High-Performance 16-Blt Microprocessor with Memory Management and Protection 1-2 MBl80286-6 NMOS High-Performance l6-Blt Microprocessor with Memory Management and Protection 1-59 MBl82284-8 Bipolar Block Generator and Ready Interface for MBl80286 Processors 1-59 MBl82284-6 Bipolar Block Generator and Ready Interface for MBl80286 Processors 1-70 MBl82288-8 NMOS Bus Controller for MBl80286 Processors 1-70 MBl82288-6 NMOS Bus Controller for MBl80286 Processors MBL8086/8088/80186/80188 Microprocessor Family and Peripherals 1-90 MBl80186 NMOS High-Integration l6-Blt Microprocessor 1-90 MBl80l86-6 NMOS High-Integration l6-Bit Microprocessor 1-144 MBl8086 NMOS l6-blt Microprocessor 1-144 MBl8086-2 NMOS l6-blt Microprocessor 1-144 MBl8086-l NMOS l6-blt Microprocessor 1-172 MBl80l88 NMOS High-Integration 8-Blt Microprocessor 1-172 MBl80l88-6 NMOS High-Integration 8-Blt Microprocessor 1-226 MBl8088 NMOS 8-Blt Microprocessor 1-226 MBl8088-2 NMOS 8-Blt Microprocessor 1-226 MBl8088-1 NMOS 8-Blt Microprocessor 1-256 MBl8089 NMOS 8 & l6-Blt I/O Processor 1-256 MBl8089-2 NMOS 8 & 16-BIt I/O Processor 1-272 MBl8259A NMOS Programmable Interrupt Controller 1-272 MBl8259A-2 NMOS Programmable Interrupt Controller 1-294 MBl8282 Bipolar Octal Latch 1-294 MBl8283 Bipolar Octal latch 1-300 MBl8284A Bipolar Clock Generator/Driver for MBl8086/ MBl8088/MBl8089 1-300 MBl8284A-l Bipolar Clock Generator/Driver for MBl8086! MBl8088/MBl8089 1-311 MBl8286 Bipolar Octal Bus Transceiver 1-311 MBl8287 Bipolar Octal Bus Transceiver 1-317 MBl8288 Bus Controller for MBl8086/MBl8088/MBl6089 Processors 1-326 MBl8289 Bus Arbiter Section 2 Microcomputers and Peripherals 8-Bit Microcomputers and Peripherals 2-2 MBl8048N/E/H NMOS Single-Chip 8-Blt Microcomputer 2-2 MBl8035N/EIH NMOS Single-Chip 8-Blt Microcomputer 2-22 MBl8049N/E/H NMOS Single-Chip 8-Blt Microcomputer 2-22 MBl8039N/E/H NMOS Single-Chip 8-Blt Microcomputer 2-42 MBl8749H/N NMOS Single-Chip 8-Blt Microcomputer 2-67 MBl8051AH NMOS Single-Chip 8-Blt Microcomputer 2-67 MBl8031AH NMOS Single-Chip 8-Blt Microcomputer 2-86 MBl80C49H/N CMOS Single-Chip 8-Blt MicrocomPuter 2-86 MBl80C39H/N CMOS Single-Chip 8-Blt Microcomputer 2-114 MBl8243 NMOS Input/Output Expander 2-124 MBl82C43 CMOS Input/Output Expander ix Section 2 Microcomputers and Peripherals (Continued) 4-Bit Microcomputers and Peripherals 2-136 Selector Guide for 4-Blt Microcomputers 2-160 MB88301A NMOS D/A Converter 2-171 MB88304 NMOS Input/Outut Expander 2-171 MB88305 NMOS Input/Outut Expander 2-181 MB88310 CMOS Input/Output Expander 2-181 MB88311 CMOS Input/Output Expander 2-192 MB88306 CMOS Output Expander 2-192 MB88307 CMOS Output Expander 2-192 MB88308 CMOS Output Expander 2-192 MB88309 CMOS Output Expander Section 3 Memory Controllers 3-2 MB1422A Dynamic RAM Controller LSI 3-22 MB1430 1M Dynamic RAM Controller 3-23 MB1412A LS-TTL Error Checking and Correction Circuit 3-39 MB1426 16-Blt Error Checking and Correction Section 4 Peripheral Support Devices CRT Controllers 4-2 MB89321A CMOS Programmable CRT Controller 4-2 MB89322A CMOS Programmable CRT Controller 4-25 MB89321B CMOS Programmable CRT Controller 4-25 MB89322B CMOS Programmable CRT Controller Hard Disk Controller 4-26 MB89341 Hard Disk Controller Floppy Disk Controllers 4-27 MB8876A Floppy Disk Formatter/Controller 4-27 MB8877A Floppy Disk Formatter/Controller 4-44 MB89311 CMOS Floppy Disk Controller/Formatter 4-57 MB4107 Floppy Disk VFO 4-65 MB4111 Magnetic Disk Head Amplifier 4-65 MB4112 Magnetic Disk Head Amplifier 4-65 MB4113 Magnetic Disk Head Amplifier 4-76 MB4316 Driver/Receiver for Disk Head Amplifier Television Display Controllers 4-81 MB88303 NMOS Television Display Controller (TVDC) 4-98 MB88313 CMOS Television Display Controller (TVDC) Protocol Controller 4-122 MB87030 SCSI Protocol Controller Universal Peripheral Interface Peripherals 4-130 MBL8041 AH/E/N NMOS Universal Peripheral Interface 8-Blt Microcomputer 4-1 47 MBL8042H/N NMOS Universal Peripheral Interface 8-Bit Microcomputer x Section 4 Peripheral Support Devices (Continued) 4-164 MBL8742H/N NMOS Universal Peripheral Interface 8-Blt Microcomputer 4-183 MB8868A MOS Universal Asynchronous Receiver Transmitter (UART) 4-194 MB8867 TTL Two-Phase Clock Generator and Driver 4-194 MB8867E TTL Two-Phase Clock Generator and Driver Selector Guide for A-to-D/D-to-A Interface Peripherals 4-205 A-to-D Converters 4-205 D-to-A Converters CMOS Peripherals 4-207 MB89237A DMA Controller 4-208 MB89251A Serial Data Transmitter/Receiver 4-209 MB89254 Programmable Timer 4-210 MB89255A Parallel Data I/O Interface 4-211 MB89259A Programmable Interrupt Controller 4-212 MB89282 Address Latch 4-212 MB89283 Address Latch 4-213 MB89284A Clock Generator 4-214 MB89286 Data Bus Transceiver 4-214 MB89287 Data Bus Transceiver 4-215 MB89288 Bus Controller 4-216 MB89289 Bus Arbiter Section 5 Local Area Network (LAN) Products 5-2 MB502A Ethernet Encoder/Decoder 5-22 MB8795B Ethernet Data Link Controller Section 6 Signal Processors and Peripherals 6-2 MB8764 General Purpose Digital Signal Processor 6-21 MB87064 Low Cost General Purpose Digital Signal Processor 6-33 MB87067 ADPCM Digital Signal Processor 6-33 MB87068 ADPCM Digital Signal Processor 6-38 MB87069 Serial Interface Adapter Section 7 ROM Code Development Procedure 7 -2 Procedure 7 -3 Flowchart Section 8 Quality Assurance and Reliability 8-2 Flowchart Section 9 Ordering Information 9-2 Product Marking 9-2 Ordering Codes 9-3 Office Locations xi Alphanumeric Index Part Number Page Part Number Page Part Number Page Me. e.cetil. MB88313 4-98 MBl8086-1 1-144 MB89237A 4-207 MBl8086-2 1-144 MB502A 5-2 MB89251A 4-208 MBl8088 1-226 MB89254 4-209 MBl8088-1 1-226 MB1412A 3-23 MBl8088-2 1-226 MB1422A 3-2 MB89255A 4-210 MB1426 3-39 MB89259A 4-211 MBl8089 1-256 MB1430 3-22 MBl8089-2 1-256 MB89282 4-212 MB4107 4-57 MB89283 4-212 MBl8243 2-114 MB4111 4-65 MB89284A 4-213 MBl82C43 2-124 MB4112 4-65 MB89286 4-214 MB4113 4-65 MB89287 4-214 MBl8259A 1-272 MB4316 4-76 MB89288 4-215 MBl8259A-2 1-272 MB89289 4-216 MB8764 6-2 MBl8282 1-294 MB8795B 5-22 MB89311 4-44 MBl8283 1-294 MB89321A 4-2 MB8867 4-194 MB89321B 4-25 MBl8284A 1-300 MB8867E 4-194 MB89322A 4-2 MBl8284A-1 1-300 MB8868A 4-183 MB89322B 4-25 MBl8286 1-311 MB8876A 4-27 MB89341 4-26 MBl8287 1-311 MB8877A 4-27 MBl8288 1-317 M~1. erefi;s. MBl8289 1-326 MB87030 4-122 MB87064 6-21 MBl8031AH 2-67 MBl8742H/N 4-164 MB87067 6-33 MBl8035N/E/H 2-2 MBl8749H/N 2-42 MB87068 6-33 MBl8039N/E/H 2-22 MB87069 6-38 MBl80C39H/N 2-86 MBl80186 1-90 MBLB0186-6 1-90 MB88301A 2-160 MBl8041 AH/E/N 4-130 MBl80188 1-172 MB88303 4-81 MBl8042H/N 4-147 MBl80188-6 1-172 MB88304 2-171 MBl8048N/E/H 2-2 MB88305 2-171 MBl8049N/E/H 2-22 MBl80286-6 1-2 MB88306 2-192 MBl80286-8x 1-2 MB88307 2-192 MBl80C49H/N 2-86 MB88308 2-192 MBl82284-6 1-59 MB88309 2-192 MBl8051AH 2-67 MBl82284-8 1-59 MB88310 2-181 MBl82288-6 1-70 MB88311 2-181 MBl8086 1-144 MBl82288-8 1-70 xiii Section 1 Microprocessors and Peripherals MBLB02S6 Microprocessor Family 1-2 MBLB028.6-8 NMOS High-Performance 16-Blt Microprocessor with Memory Management and Protection 1-2 MBL80286-6 NMOS High-Performance 16-Blt Microprocessor with Memory Management and Protection 1-59 MBL82284-8 Bipolar Block Generator and Ready Interface for MBL80286 Processors 1-59 MBL82284-6 Bipolar Block Generator and Ready Interface for MBL80286 Processors 1-70 MBL8228B-8 NMOS Bus Controller for MBL80286 Processors 1-70 MBL82288-6 NMOS Bus Controller for MBL80286 Processors MBLBOS6/S0SS/S01 S6/S01 SS Microprocessor Family and Peripherals 1-90 MBL80186 NMOS High-Integration 16-Blt Microprocessor 1-90 MBL80186-6 NMOS High-Integration 16-Blt Microprocessor 1-144 MBL8086 NMOS 16-blt Microprocessor 1-144 MBL8086-2 NMOS 16-blt Microprocessor 1-144 MBL8086-1 NMOS 16-blt Microprocessor 1-172 MBL8018B NMOS High-Integration 8-Blt Microprocessor 1-172 MBLB0188-6 NMOS High-Integration 8-Blt Microprocessor 1-226 MBL8088 NMOS 8-Blt Microprocessor 1-226 MBL8088-2 NMOS 8-Bit Microprocessor 1-226 MBL8088-l NMOS 8-Blt Microprocessor 1-256 MBL8089 NMOS 8 & 16-Blt I/O Processor 1-256 MBLB089-2 NMOS 8 & 16-Blt I/O Processor 1-272 MBLB259A NMOS Programmable Interrupt Controller 1-272 MBL8259A-2 NMOS Programmable Interrupt Controller 1-294 MBL8282 Bipolar Octal Latch 1-294 MBL8283 Bipolar Octal Latch 1-300 MBL8284A Bipolar Clock Generator/Driver for MBL8086/ MBL8088/MBL8089 1-300 MBL8284A-l Bipolar Clock Generator/Driver for MBL8086/ MBL8088/MBL8089 1-311 MBL82B6 Bipolar Octal Bus Transceiver 1-311 MBL8287 Bipolar Octal Bus Transceiver 1-317 MBL8288 Bus Controller for MBL8086/MBL808B/MBL8089 Processors 1-326 MBL8289 Bus Arbiter 1-1 MBL 80286-8 FUJITSU MBL 80286-6 11111111111111111111111111111111111111111111111111111111111111111 January 1986 Edition 1.0 NMOS HIGH PERFORMANCE 16-BIT MICROPROCESSOR WITH MEMORY MANAGEMENT AND PROTECTION The Fujitsu MBL 80286 is an advanced, high-performance 16-bit microprocessor with speql~!JyoPtimized capabilities for multiple user and multi-tasking systems. The MBL 80286 has built-in memory protectionC~t~~J~upports operating system and task isolation as well as program and data privacy within tasks. An 8 MHz MBL 8d2a_~c~rovides up to six times greater throughout than the standard 5 MHz MBL 8086. The MBL 80286 includes memory-'rna??S~ment capa- bilities that map up to 2 30 (one gigabyte) of virtual address space per task into 224 bytes (16 megabytE$Ji~tJ)hysical memory. The MBL 80286 is upward compatible with MBL 8086 and 88 software. Using MBL 8086 real address mode, the MBL 80286 is object code compatible with existing MBl 8086,88 software. In protected virtual address mode, the MBL 80286 is source code compatible with MBl8086, 88 software and may require upgrading to use virtual ad- dresses supported by the MBL 80286's integrated memory management and protection mechanism. Both modes operate at full MBl 80286 performance and execute a superset of the MBL 8086 and 88's instructions. The MBL 80286 provides special operations to support the efficient implementation and execution of operating systems. For example, one instruction can end execution of one task, save its state, switch to a new task, load its state, and start execution of the new task. The MBl 80286 also supports virtual memory systems by providing a segment- not-present exception and restartable instructions. The MBl 80286 is housed in a 68-pad ceramic lCC (leadless Chip Carrier: JEDEC Type A) or a 68-pin ceramic PGA (Pin Grid Array) package. • High Performance Processor • Two Ranges of Clock Rates: (Up to six times MBl 8086) - 8 MHz for MBl 80286-8 • large Address Space: - 6 MHz for MBl 80286·6 - 16 Megabytes Physical • Optional Processor Extension: - 1 Gigabyte Virtual per Task - MBL 80286 and Intel 80287 High Performance • Integrated Memory Management, Four-level Memory 80·bit Numeric Data Processor Protection and Support for Virtual Memory and • High Bandwidth Bus Interface (8 Megabyte/Sec) Operating Systems • Two Package Options: • Two MBl8086 Upward Compatible Operating 68·Pad Ceramic lCC (Suffix - CV) Modes: (JEDEC Type A) MBl 8086 Real Address Mode 68·Pin Ceramic PGA (Suffix - CR) - Protected Virtual Address Mode Fig. 1 - BLOCK DIAGRAM ~A~~SSU-;;jAW - - - - - - - - - - - - - - - --l I I I ~I~-L~ I I I I I I I L r I I I RESET I I lE~E~~~~ ~J~ _L_-_-_-_--'nrTl"'-----:-:-L....::~~L..:..:...:..:.--1 Portions Reprinted by Permission of Intel Corporation © I ntel Corporation. 1985 1-2 © FUJITSU LIMITED, 1986 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 1111111111111111111111111111111111111111111111111111 MBL 80286-6 Fig. 2 - PIN CONFIGURATIONS 68·PAD LCC TOP VIEW BOTTOM VIEW lDoc:tMN..-O Ul v ..... ....... 1""- .... W ..... LO ..... M ..... NCl)..-CQO en 0000000000000000> LJL.JLJLJULJLJLJL JLJLJLJLJLJLJLJ ~ CAP 5~ AD ERROR J Al BUSY" A2 N.C. I ClK N.C. Vee INTR RESET N.C A3 NMI ~ Vss --l PEREO J Vee ~ READY J ~ HOLD:::! [ HLDA J ~ COD/INTA J c M/fO J r A13 LOCK =: ITs A13 r 1, fl rl r"lrl nr 1nr lr1 nr 1 r1r1 r, [1 r 1 ... I 1~~~IU;I&5I~~~~~' ....... : « PIN NO.1 MARK 68-PIN PGA TOP VIEW BOTTOM VIEW c INDEX NOTE: N.C. pads and pins must not be connected. 1-3 ---.----~~- 1111111111111111111111111111111111111111111111111 MBL 80286-8 FUJITSU MBL 80286-6 1111111111111111111111111111111111111111111111111 PIN DESCRIPTION The following pin function descriptions are for the MBL 80286 microprocessor: Table 1 - PIN DESCRIPTION Symbol Type Name and Function ClK I System Clock provides the fundamental timing for MBl 80286 systems. It is divided by two inside the MBl80286 to generate the processor clock. The internal divide-by-two circuitry can be synchronized to an external clock generator by a lOW to HIGH transition on the RESET input. D15-DO I/O Data Bus inputs data during memory, I/O, and interrupt acknowledge read cycles; outputs data during memory and I/O write cycles. The data bus is active HIGH and floats to 3-state OFF during bus hold acknowledge. A23-AO 0 Address Bus outputs physical memory and I/O port addresses. AO is lOW when data is to be transferred on pins D7 -DO. A23-A 16 are lOW during I/O transfers. The address bus is active HIGH and floats to 3-state OFF during bus hold acknowledge. BHE 0 Bus High Enable indicates transfer of data on the upper byte of the data bus, D15-D8. Eight- bit oriented devices assigned to the upper byte of the data bus would normally use BHE to condition chip select functions. SHE is active lOW and floats to 3-state OFF during bus hold acknowledge. BHE and AO Encoding. BHE Value AO Value Function 0 0 Word transfer 0 1 Byte transfer on upper half of data bus (D15-D8) 1 0 Byte transfer on lower half of data bus (D7-DO) 1 1 Reserved s-f,So 0 Bus Cycle Status indicates initiation of a bus cycle and, along with M/iO and COD/INTA, defineds the type of bus cycle. The bus is in a TS state whenever one or both are lOW. 51 and SO are active lOW and float to 3-state OFF during bus hold acknowledge_ MBl 80286 Bus Cycle Status Definition CDD/INTA MIlD S1 SO Bus cycle initiated o (LOW) 0 0 0 Interrupt acknowledge 0 0 0 1 Reserved 0 0 1 0 Reserved 0 0 1 1 None: not a status cycle 0 1 0 0 If A1 = 1 then halt; else shutdown 0 1 0 1 Memory data read 0 1 1 0 Memory data write 0 1 1 1 None: not a status cycle 1 (HIGH) 0 0 0 Reserved 1 0 0 1 1/0 read 1 0 1 0 110 write 1 0 1 1 None: not a status cycle 1 1 0 0 Reserved 1 1 0 1 Memory instruction read 1 1 1 0 Reserved 1 1 1 1 None: not a status cycle 1-4 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80286-8 1111111111111111111111111111111111111111111111111111 MBl 80286-6 Table 1 - PIN DESCRIPTION (Cont.) Symbol Type Name and Function M/lO 0 Memory/IO Select distinguishes memory access from I/O access. If HIGH during TS, a memory cycle or a halt/shutdown cycle is in progress. If lOW, an I/O cycle or an interrupt acknowl, edge cycle is in progress. M/lO floats to 3·state OFF during bus hold acknowledge. COD/INTA 0 Code/Interrupt Acknowledge distinguishes instruction fetch cycles from memory data read cycles. Also distinguishes interrupt acknowledge cycles from I/O cycles. COD/INTA floats to 3'state OFF during bus hold acknowledge. Its timing is the same as M/IO. lOCK a Bus lock indicates that other system bus masters are not to gain control of the system bus following the current bus cycle. The lOCK signal may be activated explicitly by the "lOCK" instruction prefix or automatically by MBl 80286 hardware during memory XCHG instruc· tions, interrupt acknowledge, or descriptor table access. lOCK is active lOW and floats to 3·state OFF during bus hold acknowledge. READY I Bus Ready terminates a bus cycle. Bus cycles are extended without limit until terminated by READY lOW. READY is an active lOW synchronous input requiring setup and hold times relative to the system clock be met for correct operation. READY is ignored during bus hold acknowledge. HOLD I Bus Hold Request and Hold Acknowledge control ownership of the MB l 80286 local bus. HlDA 0 The HOLD input allows another local bus master to request control of the local bus. When control is granted, the MB l 80286 will float its bus drivers to 3·state OF F and then activate H lOA, thus entering the bus hold acknowledge condition. The local bus will remain granted to the requesting master until HOLD becomes inactive which results in the MBl80286 deactivating H lOA and regaining control of the local bus. This terminates the bus hold acknowledge condition. HOLD may be asynchronous to the system clock. These signals are active HIGH. INTR I Interrupt Request requests the MBl 80286 to suspend its current program execution and service a pending external request. Interrupt requests are masked whenever the interrupt enable bit in the flag word is cleared. When the MB l 80286 responds to an interrupt request, it performs two interrupt acknowledge bus cycles to read an 8·bit interrupt vector that identi· fies the source of the interrupt. To assure program interruption, INTR must remain active until the first interrupt acknowledge cycle is completed. INTR is sampled at the beginning of each processor cycle and must be active HIGH at least two processor cycles before the current instruction ends in order to interrupt before the next instruction. INTR is level sensitive, active HIGH, and may be asynchronous to the system clock. NMI I Non·maskable Interrupt Request interrupts the MBl 80286 with an internally supplied vector value of 2. No interrupt acknowledge cycles are performed. The interrupt enable bit in the MBl80286 flag word does not affect this input. The NMI input is active f-JIGH, may be asynchronous to the system clock, and is edge triggered after internal synchronization. For proper recognition, the input must have been previously lOW for at least four system clock cycles and remain HIGH for at least four system clock cycles. PEREa I Processor Extension Operand Request and Acknowledge extend the memory management PEACK 0 and protection capabilities of the MBl80286 to processor extensions. The PEREa input requests the MBl 80286 to perform a data operand transfer for a processor extension. The PEACK output signals the processor extension when the requested operand is being trans· ferred. PEREa is active HIGH and floats to 3·state OFF during bus hold acknowledge. PEACK may be asynchronous to the system clock. PEACK is active lOW. 1-5 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIII~IIIIIIIIIIIIIIII MBL 80286-8 FUJITSU MBL 80286-6 1111111111111111111111111111111111111111111111111 Table 1 - PIN DESCRIPTION (Cont.) Symbol Type Name and Function BUSY I Processor Extension Busy and Error indicate the operating condition of a processor extension ERROR I to the MBl 80286. An active BUSY input stops MBl 80286 program execution on WAIT and some ESC instructions until BUSY becomes inactive (HIGH). The MBl 80286 may be inter- rupted while waiting for BUSY to become inactive. An active ER ROR input causes the MBl80286 to perform a processor extension interrupt when executing WAIT or some ESC instructions. These inputs are active lOW and may be asynchronous to the system clock. RESET I System Reset clears the internal logic of the MBl 80286 and is active HIGH. The MBl 80286 may be niinitialized at any time with a lOW to HIGH transition on RESET which remains active for more than 16 system clock cycles. During RESET active, the output pins of the MBl 80286 enter the state shown below: MBl 80286 Pin State During Reset Pin Value Pin Names 1 (HIGHI SO, S1, PEACK, A23-AO, SHE, lOCK o (lOWI M/TO, COD/INTA, HlDA 3-stoto OFF 015-00 Operation of the MBl 80286 begins after a HIGH to lOW transition on RESET. The HIGH to lOW transition of RESET must be synchronous to the system clock. Approximately 50 system clock cycles are required by the MBl80286 for internal initializations before the first bus cycle to fetch code from the power-on execution address is performed. A lOW to HIGH transition of RESET synchronous to the system clock will end a processor cycle at the second HIGH to lOW transition of the system clock. The lOW to HIGH transi- tion of RESET may be asynchronous to the system clock; however, in this case it cannot be predetermined which phase of the processor clock will occur during the next system clock period. Synchronous lOW to HIGH transitions of RESET are required only for systems where the processor clock must be phase synchronous to another clock. Vss I System Ground: 0 Volts. Vee I System Power: +5 Volt Power Supply. CAP I Substrate Filter Capacitor: a O.041!.lF ± 20% 12V capacitor must be connected between this pin and ground. This capacitor filters the output of the internal substrate bias generator. A maximum DC leakage current of lilA is allowed through the capacitor. For correct operation of the MBl 80286, the substrate bias generator must charge this capa- citor to its operating voltage. The capacitor chargeup time is 5 milliseconds (max.) after Vee and ClK reach their specified AC and DC parameters. RESET may be applied to prevent spurious activity by the CPU during this time. After this time, the MBl 80286 processor clock can be phase synchronized to another clock by pulsing RESET lOW synchronous to the system clock. 1·6 1111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 1111111111111111111111111111111111111111111111111 MBL 80286-6 FUNCTIONAL DESCRIPTION Introduction the same basic set of registers, instructions, and addressing modes. The MB l 80286 processor is upward compatible The MBl80286 is an advanced, high·performance micro· with the MBl 8086, 8088, and 80186 CPU's. processor with specially optimized capabilities for multiple user and multi·tasking systems. Depending on the applica· Register Set tion, the MB l 80286's performance is up to six times The MBl80286 base architecture has fifteen registers as faster than the standard 5 MHz MBl8086's, while pro· shown in Fig. 3. These registers are grouped into the foll~w­ viding complete upward software compatibility with ing four categories: Fujitsu's MBl 8086, 88, and 186 family of CPU's. General Registers: Eight 16-bit general purpose registers The. MBl 80286 operates in two modes: MBl8086 real used to contain arithmetic and logical operands. Four of address mode and protected virtual address mode. Both these (AX, BX, CX, and OX) can be used either in their modes execute a superset of the MBl 8086 and 88 instruc- entirety as 16-bit words or split into pairs of separate 8-bit tion set. registers. In MB l 8086 real address mode programs use real addresses Segment Registers: Four 16-bit special purpose registers with up to one megabyte of address space. Programs use select, at any given time, the segments of memory that are virtual addresses in protected virtual address mode, also immediately addressable for code, stack, and data. (For called protected mode. In protected mode, the MBl 80286 usage, refer to Memory Organization.) CPU automatically maps 1 gigabyte of virtual addresses Base and Index Registers: Four of the general purpose per task into a 16 megabyte real address space. Th is mode registers may also be used to determine offset addresses also provides memory protection to isolate the operating of operands in memory. These registers may contain base system and ensure privacy of each tasks' programs and data. addresses or indexes to particular locations within a seg- Both modes provide the same base instruction set, registers, ment. The addressing mode determines the specific registers and addressing modes. used for operand address calculations. The following Functional Description describes first, the base MBl80286 architecture common to both modes, Status and Control Registers: The 3 16-bit special purpose second, MBl 8086 real address mode, and third, protected registers in Fig. 3a record or control certain aspects of mode. the MBl80286 processor state including the Instruction Pointer, which contains the offset address of the next MBL 8086 BASE ARCHITECTURE sequential instruction to be executed. The MBl8086, 88, 186, and 286 CPU family all contain Fig. 3 - REGISTER SET 16-BIT SPECIAL REGISTER REGISTER NAME FUNCTIONS 7 07 o 15 0 ~66~ESSABLE f~: CS~ CODE SEGMENT SELECTOR AH AL MULTIPLY/DIVIDE } I/O INSTRCTIONS (S-BIT DH DL DS DATA SEGMENT SELECTOR REGISTER CX CH CL ) LOOP/SHIFT/ SS STACK SEGMENT SELECTOR NAMES REPEAT/COUNT SHOWN) BX BH BL ES EXTRA SEGMENT SELECTOR } BASE REG ISTERS l BP SEGMENT REGISTERS SI ~ ~~:T:SUCTION lNDEX REGISTERS DI SP STACK POINTER I: POINTER 15 GENERAL o MSW C:====:j MACHINE STATUS WORD REGISTERS STATUS AND CONTROL REGISTERS 1-7 1111111111111111111111111111111111111111111111111 MIL 80286-8 FUJITSU Mil 80286-6 1111111111111111111111111111111111111111111111111 Fig. 3a - STATUS AND CONTROL REGISTER BIT FUNCTIONS STATUS FLAGS: CONTROL FLAGS: L__~==~===========TRAPFLAG INTERRUPT ENABLE DIRECTION FLAG SPECIAL FIELDS: L~__ --,=================="O PRIVILEGE LEVEL NESTED TASK FLAG ~ RESERVED TASK SWITCH PROCESSOR EXTENSION EMULATED - - - - - - - - ' MONITOR PROCESSOR EXTENSION-----------' PROTECTION ENABLE - - - - - - - - - - - - - - - ' Flags Word Description Register to Memory Immediate to Memory The Flags word (Flags) records specific characteristics of the result of logical and arithmetic instructions (bits 0, Table 2 - FLAGS WORD BIT FUNCTIONS 2, 4, 6, 7, and 11) and controls the operation of the Bit Name Function MBL 80286 within a given operating mode (bits 8 and 9). Position Flags is a 16-bit register. The function of the flag bits is 0 CF Carry Flag - Set on high·order bit given in Table 2. carry or borrow; cleared otherwise 2 PF Parity Flag - Set if low-order 8 bits of result contain an even number 6f Instruction Set l-btts; cleared otherwise 4 AF Set on carry from or borrow to the The instruction set is divided into seven categories: data low order four bits of AL; cleared otherwise transfer, arithmetic, shift/rotate/logical, string manipula· 6 ZF Zero Flag - Set if result is zero; tion, control transfer, high level instructions, and processor cleared otherwise control. These categories are summarized in Fig. 4. 7 SF Sign Flag - Set equal to high-order bit or result (0 if positive, 1 if nega· tive) An MBL 80286 instruction can reference zero, one, or two 8 TF Single Step Flag - Once set, a sin· operands; where an operand resides in a register, in the gle step interrupt occurs after the instruction itself, or in memory. Zero·operand instructions next instruction executes. TF is cleared by the single step interrupt. (e.g. Nap and H LT) are usually one byte long. One·operand 9 IF Interrupt·enable Flag - When set, instructions (e.g. INC and DEC) are usually two bytes long maskable interrupts will cause the but some are encoded in only one byte. One-operand CPU to transfer control to an inter- rupt vector specified location. instructions may reference a register or memory location. 10 OF Direction Flag - Causes string Two-operand instructions permit the following six types instructions to auto decrement the of instruction operations: appropriate index registers when set. Clearing OF causes auto increment. Register to Register 11 OF Overflow Flag - Set if result is a too-large positive number or a too- Memory to Register small negative number (excluding Immediate to Register sign-bit) to fit in destination oper- and; cleared otherwise Memory to Memory 1·8 1111111111111111111111111111111111111111111111111 FWITSU MBL 80286-8 1111111111111111111111111111111111111111111111111 MBL 80286-6 Two·operand instructions (e.g. MOV and ADD) are usually Fig. 4b - ARITHMETIC INSTRUCTIONS three to six bytes long. Memory to memory operations are ADDITION provided by a special class of string instructions requiring one to three bytes. For detailed instruction formats and ADD Add byte or word encodings refer to the instruction set summary at the end ADC Add byte or word with carry of this document. INC Increment byte or word by 1 AAA ASCII adjust for addition For d~~ailed operation and usage of each instruction, see DAA Decimal adjust for addition Appendix of MBL 80286 Programmer's Reference Manual. SUBTRACTION SUB Subtract byte or word Fig. 4a - DATA TRANSFER INSTRUCTIONS SBB Subtract byte or word with borrow GENERAL PURPOSE DEC Decrement byte or word by 1 MOV Move byte or word NEG Negate byte word PUSH Push word onto stack CMP Compare byte or word POP Pop word off stack AAS ASCII adjust for subtraction PUSH A Push all registers on stack DAS Decimal adjust for subtraction POPA Pop all registers from stack MU LTIPLICA TlON XCHG Exchange byte or word MUL Multiply byte or word unsigned XLAT Translate byte IMUL Integer multiply byte or word INPUT/OUTPUT AAM ASCII adjust for multiply IN Input byte or word DIVISION pUT Output byte or word DIV Divide byte or word unsigned ADDRESS OBJECT IDIV Integer divide byte or word LEA Load effective address AAD ASCII adjust for division LOS Load pointer using OS CBW Convert byte to word LES Load pointer using ES CWO Convert word to doubleword FLAG TRANSFER ." LAHF Load AH register from flags SAHF Store AH register in flags PUSHF Push flags onto stack Fig. 4d - SHIFT/ROTATE/LOGICAL INSTRUCTIONS POPF Pop flags off stack LOGICALS NOT "Not" byte or word AND "And" byte or word OR "Inclusive or" byte or word Fig. 4c - STRING INSTRUCTIONS XOR "Exclusive or" byte or word MOVS Move byte or word string TEST "TEST" byte or word INS Input bytes or word string SHIFTS OUTS Output bytes or word string SHLISAL Shift logical/arithmetic left byte or word CMPS Compare byte or word string SHR Shift logical right byte or word SCAS Scan byte or word string SAR Shift arithmetic right byte or word LODS Load byte or word string ROTATES STOS Store byte or word string ROL Rotate left byte or word REP Repeat ROR Rotate right byte or word REPE/REPZ. Repeat while equal/zero RCL Rotate through carry left byte or word REPNE/REPNZ Repeat while not equal/not zero RCR Rotate through carry right byte or word 1-9 1~llllllllill~llllmllllmmlmlmlllllllm MIL 80286-8 FUJITSU MIL 80286-6 Illmllllmllllmll~l~ml~lmlmmlll~~1 Fig.4e - PROGRAM TRANSFER INSTRUCTIONS CONDITIONAL TRANSFERS UNCONDITIONAL TRANSFERS JA/JNBE Jump if above/not below nor equal CAll Call procedure JAE/JNB Jump if abov.e or equal/not below RET Return from procedure JB/JNAE Jump if below/not above nor equal JMP Jump JBE/JNA Jump if below or equal/not above JC Jump if carry ITERATION CONTROLS JE/JZ Jump if equal/zero JG/JNlE Jump if greater/not less nor equal lOOP loop JGE/JNl Jump if greater or equal/not less lOOPE/lOOPZ loop if equal/zero Jl/JNGE Jump if less/not greater nor equal lOOPNE/LOOPNZ loop if not equal/not zero JlE/JNG Jump if less or equal/not greater JCXZ Jump if register CX = 0 JNC Jump if not carry JNE/JNZ Jump if not equal/not zero INTERRUPTS JNO Jump if not overflow JNP/JPO Jump if not parity/parity odd INT Interrupt JNS Jump if not sign INTO Interrupt if overflow JO Jump if overflow IRET Interrupt return JP/JPE Jump if parity/parity even JS Jump if sign Fig. 4f - PROCESSOR CONTROL INSTRUCTIONS FLAG OPERATIONS Memory Organization STC Set carry flag Memory is organized as sets of variable length segments. ClC Clear carry flag Each segment is a linear contiguous sequence of up to CMC Complement carry flag 64K (2 '6 ) a·bit bytes. Memory is addressed using a two· STD Set direction flag component address (a pointer) that consists of a 16·bit segment selector, and a 16-bit offset. The segment selector ClD Clear direction flag indicates the desired segment in memory. The offset com· STI Set interrupt enable flag ponent indicates the desired byte address within the seg· Cli Clear interrupt enable flag ment. EXTERNAL SYNCHRONIZATION HlT Halt until interrupt or reset Fig. 5 - TWO COMPONENT ADDRESS WAIT ESC Wait for TEST pin active Escape to e~tension processor - - 3 2·BIT POINTER lOCK lock bus during next instruction -"- NO OPERATION I SEGM ENT I OFFSET "I NOP No operation 1615 0 I OPERAND SELECTED EXECUTION ENVIRONMENT CONTROL I SELECTED ) SEGMENT lMSW Load machine status word SMSW Store machine status word Fig. 4g - HIGH LEVEL INSTRUCTIONS ENTER Format stack for procedure entry LEAVE Restore stack for procedure exit MEMORY - BOUND Detects values outside prescribed range 1-10 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 1111111111111111111111111111111111111111111111111111 MBl 80286-6 Table 3 ~ SEGMENT REGISTER SELECTION RULES Memory Reference Segment Register Implicit Segment Selection Rule Needed Used Instructions Code (CS) Automatic with instruction prefetch All stack pushes and pops. Any memory reference which uses BP as a Stack Stack (SS) base register. Local Data Data (OS) All data references except when relative to stack or string destination External (Global) Data Extra (ES) Alternate data ·segment and destination of string operation All instructions that address operands in memory must specify the segment and the offset. For speed and compact Fig. 6 ~ SEGMENTED MEMORY HELPS STRUCTURE SOFTWARE instruction encoding, segment selectors are usually stored r~---' in the high speed segment registers. An instruction need I I MODULEA~ specify only the desired segment register and an offset in order to address a memory operand. Most instructions need not explicitly specify which segment ~ I I register is used. The correct segment register is automatical- I I I I ly chosen according to the rules of Table 3. These rules cPU follow the way programs are written (see Fig. 6) as in- MODULE B I::::==I~, CODE dependent modules that require areas for code and data, a stack, and access to external data areas. DATA Special segment override instruction prefixes allow the STACK implicit segment register selection rules to be overridden PROCESS EXTRA STACK for special cases. The stack, data, and extra segments may SEGMENT REGISTERS coincide for simple programs. To access operands not residing in one of the four immediately available segments, a full 32·bit pointer or a new segment selector must be PROCESS DATA loaded. BLOCK 1 I I Addressing Modes I I The MBL 80286 provides a total of eight addressing modes PROCEssD DATA BLOCK 2 for instructions to specify operands. Two addressing modes are provided ·for instructions that operate on register or I I L ___ ...J immediate operands: MEMORY Register Operand Mode: The operand is located in one of the 8 or 16-bit general registers. the displacement (an 8 or 16·bit immediate value con- Immediate Operand Mode: The operand is included in the tained in the instruction) instruction. the base (contents of either the BX or BP base registers) Six modes are provided to specify the location of an the Index (contents of either the 51 or 01 index registers) operand in a memory segment. A memory operand address Any carry out from the 16-bit addition is ignored. Eight· consists of two 16·bit components: segment selector and bit displacements are sign extended to 16·bit values. offset. The segment selector is supplied by a segment Combinations of these three address elements define the register either implicitly chosen by the addressing mode or six memory addressing modes, described below. explicitly chosen by a segment override prefix. The offset is calculated by summing any combination of the following Direct Mode: The operand's offset is contained in the three address elements: instruction as an 8 or 16·bit displacement element. 1-11 - -.... --.----------~. 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIml l lili MBl80286-8 FUJITSU MBL 80286-6 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImi Register Indirect Mode: The operand's offset is in one of the registers 51,01, BX, or BP. Fig. 7 - MBl 80286 SUPPORTED DATA TYPES Based Mode: The operand's offset is the sum of an 8 or 7 0 16·bit displacement and the contents of a based register SIGN EO fTTTTTTTl BYTE~ (BX or BP). SIGN BIT...J L---.J MAGNITUDE Indexed Mode: The operand's offset is the sum of an 8 7 0 or 16·bit displacement and the contents of an index register UNSIGNED fTTTTTiTl (51 or 01). BYTE L.....:...-.J ~ Based Indexed Mode: The operand's offset is the sum of MAGNITUDE the contents of a base register and an index register. 1514 +1 87 0 Based Indexed Mode with Displacement: The operand's sl~~~g I iii ii' !iii Iii i I r offset is the sum of a base register's contents, an index 51 G N BIT...J ILL.cMc:.::SMc;-BA;CG"'N:;-;'T"U-;;O'-;E~..J register's contents, and an 8 or 16·bit displacement. 31 +3 +2 1615 +1 0 0 Data Types ~~g~~~ II Iii iii' iii I i r j , i ri I' I i [ I i I I' iii SIGN BIT-.J ,LMSB ! MAGNITUDE The MBl 80286 directly supports the following data types: +7 +6 +5 +4 +3 +2 +1 SIGNED 63 4847 3231 1615 o Integer: A signed binary numeric value contained in an 8·bit byte or a 16·bit word. All w~~~~11 I I I I SIGN BIT..oJ ICL"M",S,,-B---;:;M'AG'"NWITTU"On.E,-------' operations assume a 2's complement re- presentation. Signed 32 and 64·bit integers 15 +1 0 are supported using the MBl80286 UNSI~~~g Iii i , iii Iii I I' i I I and Intel 80287 Numeric Data Processor. I LMSB MAGNITUDE Ordinal: An unsigned binary numeric value con- 7 +1 07 0 tained in an 8-bit byte or 16-bit word. BINARY 7 CODED fTTTTTTTl DECIMAL~ +N 0 11111111 [iii I"' I (BCD) BCD BCD BCD Pointer: A 32-bit quantity, composed of a segment DIGIT N DIGIT 1 DIGIT 0 selector component and an offset com- 7 +N 0 7 +1 07 0 ponent. Each component is a 16-bit word. ASCII~ I ' "I'fl 1'1, 1 I I I I ASCII ASCII ASCII String: A contiguous sequence of bytes or words. CHARACTER N CHARACTER, CHARACTERo 7 +N 0 7 +1 70 0 0 A string may contain from I byte to 64K PACK ED fTTTTTTTl BCD~ IIII Iii 'II' II'fl I bytes. L......J L--' ASCII: A byte representation of alphanumeric MOST lEAST SIGNIFICANT DIGIT SIGNIFICANT DIGIT and control characters using the ASCII 7/15 +N 0 7/15 +1 07/15 0 0 standard of character representation. STRING~ fTTTTTTTl •••. 1"'lilllii!llill . . BCD: A byte (unpacked) representation of the BYTEIWORD N BYTE/WORD 1 BYTE/WORD 0 decimal digits 0-9. 31 +3 +2 1615 +1 0 Packed BCD: A byte (packed) representation of two POINTER I I I I Iii f I' I iii I I I iii Iii iii iii I i I I decimal digits 0-9 storing one digit in SELECTOR OFFSET each nibble of the byte. 79 +9 +8 +7 +6 +5 +4 +3 +2 +1 Floating Point: A signed 32, 64, or 80·bit real number representation. (Floating point operands EXPONENT MAGNITUDE are supported using the MBl80286 and ·Supported by MBl 80286 and Intel 80287 NumeriC Data Processor Conf'guratlon Intel 80287 Numeric Processor configura- tion.) Fig. 7 graphically represents the data types supported by I/O instructions address the I/O space with either an 8-bit the MB l 80286. port address, specified in the instructi9n, or a 16-bit port address in the OX register. 8-bit port addresses are zero I/O Space extended such that A 15-A8 are lOW. I/O port addresses The I/O space consists of 64K 8·bit or 32K 16·bit ports. 00F8(H) through OOFF(H) are reserved. 1-12 1111111111111111111111111111111111111111111111111 FUJITSU MBl80286-8 1111111111111111111111111111111111111111111111111 MBL 80286-6 Table 4 - INTERRUPT VECTOR ASSIGNMENTS Does Return Address Interrupt Function Related Instructions Point to Instruction Number Causing Exception? Divide error exception 0 DIV,IDIV Yes Single step interrupt 1 All NM I Interrupt 2 INT 2 or NMI pin Breakpoint interrupt 3 INT 3 INTO detected overflow exception 4 INTO No BOUND range exceeded exception 5 BOUND Yes Inval id opcode exception 6 Any undefined opcode Yes Processor extension not available exception 7 ESCorWAIT Yes Reserved - do not use 8-15 Processor extension error interrupt 16 ESC or WAIT Reserved - do not use 17-31 User defined 32-255 Interrupts the interrupt flag bit (IF) in the flag word. All 224 user· An interrupt transfers execution to a new program location. defined interrupt sources can share this input, yet they The old program address (CS: IP) and machine state (Flags) can retain separate interrupt handlers. An 8·bit vector read are saved on the stack to allow resumption of the inter· by the CPU during the interrupt acknowledge sequence rupted program. Interrupts fall into three classes: hardware (discussed in System Interface section) identifies the initiated, INT instructions, and instruction exceptions. source of the interrupt. Hardware initiated interupts occur in response to an ex· Further maskable interrupts are disabled while servicing ternal input and are classified as non·maskable or maskable. an interrupt by resetting the I F but as part of the response Programs may cause an interrupt with an I NT instruction. to an interrupt or exception. The saved flag word will Instruction exceptions occur when an unusual condition, reflect the enable status of the processor prior to the inter· which prevents further instruction processing, is detected rupt. Until the flag word is restored to the flag register, while attempting to execute an instruction. The return the interrupt flag will be zero unless specifically set. The address from an exception will always point at the instruc· interrupt return instruction includes restoring the flag tion causing the exception and include any leading instruc· word, thereby restoring the original status of IF. tion prefixes. NON·MASKABLE INTERRUPT REOUEST (NMI) A table containing up to 256 pointers defines the proper A non·maskable interrupt input (NMI) is also provided. interrupt service routine for each interrupt. Interrupts NMI has higher priority than INTR. A typical use of NMI 0-31, some of which are used for instruction exceptions, would be to activate a power failure routine. The activation are reserved. For each interrupt, an 8·bit vector must be of this input causes an interrupt with an internally supplied supplied to the MBl80286 which identifies the appro· vector value of 2. No external interrupt acknowledge priate table entry. Exceptions supply the interrupt vector sequence is performed. internally. INT instructions contain or imply the vector and allow access to all 256 interrupts. Maskable hardware While executing the NMI servicing procedure, the initiated interrupts supply the 8·bit vector to the CPU MB l 80286 will service neither further NM I requests, INTR during an interrupt acknowledge bus sequence. Non· requests, nor the processor extension segment overrun maskable hardware interrupts use a predefined internally interrupt until an interrupt return (I RET) instruction is supplied vector. executed or the CPU is reset. If NMI occurs while currently servicing an NMI, its presence will be saved for servicing MASKABLE INTERRUPT (lNTR) after executing the first I RET instruction. I F is cleared at The MBl80286 provides a maskable hardware interrupt the beginning of an NMI interrupt to inhibit INTR inter· request pin, INTR. Software enables this input by setting rupts. 1-13 1111111111111111111111111111111111111111111111111 MBL 80286-8 FUJITSU MBL 80286-6 1111111111111111111111111111111111111111111111111 SINGLE STEP INTERRUPT The MBL 80286 has an internal interrupt that allows pro- Table 6 - MBL 80286 INITIAL REGISTER STATE grams to execute one instruction at a time_ It is called the AFTER RESET single step interrupt and is controlled by the single step Flag word 0002(H) Machine Status Word FFFO(H) flag bit (TF) in the flag word_ Once this bit is set, an Instruction pointer FFFO(H) internal single step interrupt will occur after the next in- Code segment FOOO(H) struction has been executed_ The interrupt clears the TF Data segment OOOO(H) bit and uses an internally supplied vector of 1. The I R ET Extra segment OOOO(H) instruction is used to set the TF bit and transfer control to Stack segment OOOO(H) the next instruction to be single stepped. Machine Status Word Description Interrupt Priorities The machine status word (MSW) records when a task When simultaneous interrupt requests occur, they are switch takes place and controls the operating mode of processed in a fixed order as shown in Table 5. Interrupt the MBL 80286. It is a 16-bit register of which the lower processing involves saving the flags, return address, and four bits are used. One bit places the CPU into protected setting CS:IP to point at the first instruction of the inter- mode, while the other three bits, as shown in Table 7, con- rupt handler. If other interrupts remain enabled they are trol the processor extension interface. After RESET, this processed before the first instruction of the current inter- register contains FFFO(H) which places the MBL 80286 rupt handler is executed. The last interrupt processed is in MBL 8086 real address mode. therefore the first one serviced. Table 7 - MSW BIT FUNCTIONS Tabte 5 - INTERRUPT PROCESSING ORDER Bit Name Function Order Interrupt Position 1 Instruction exception 0 PE Protected mode enable places the 2 Single step MBl 80286 into p~otected mode and 3 NMI can not be cleared except by RESET. 4 Processor extension segment overrun 1 MP Monitor processor extension allows 5 INTR WAIT instructions to cause a proces- 6 tNT instruction sor extension not present exception Inumber 71. Initialization and Processor Reset 2 EM Emulate processor extension causes Processor initialization or start up is accomplished by a processor extension not present driving the RESET input pin HIGH. RESET forces the exception (number 7) on ESC in- MBL 80286 to terminate all execution and local bus acti- structions to allow emulating a processor extension. vity. No instruction or bus activity will occur as long as RESET is active. After RESET becomes inactive and an 3 T5 I·sk !witched indicates the next instruction using a processor exten~ internal processing interval elapses, the MBL 80286 begins sian will cause exception 7, allowing exec~tion in real address mode with the i nstructionat software to test whether the current physical location FFFFFO(H). RESET also sets some processor extension context belongs to the current task. registers to predefined values as shown as shown in Table 6. Table 8 - RECOMMENDED MSW ENCODINGS FOR PROCESSOR EXTENSION CONTROL Instructions TS MP EM Recommended Use Causing Exception 7 0 0 0 Initial encoding after RESET. MBL 80286 operation is identical to None MllL 8086, 88. 0 0 1 No processor extension is availal;>le. Software will emulate its function. ESC 1 0 1 No processor extension is available. Software will emulate its function. ESC The current processor extension context may belong to another task. 0 1 0 A processor extension exists. None 1 1 0 A propessor extension exists. The current processor extension context ESC or WAIT may belong to another task. The Exception. 7 on WAIT allows software to test for an error pending from a previous processor extension operation. 1-14 1111111111111111111111111111111111111111111111111 FUJITSU MBl 80286-8 1111111111111111111111111111111111111111111111111 MBl 80286-6 The LMSW and SMSW instructions can load and store the MSW in real address mode. The recommended use of TS, Fig.8 - MBL 8086 REAL ADDRESS MODE ADDRESS CALCULATION EM, and MP is shown in Table 8. Halt 15 0 The HL T instruction stops program execution and pre· vents the CPU from using the local bus until restarted. I I L.0_O_O_0J..._ _ _ I OFFSET O_F_FS_E_T_ _---I ADDR ESS Either NMI, INTR with IF = 1, or RESET will force the MBL 80286 out of halt. If interrupted, the saved CS: IP will point to the next instruction after the H LT. SEGMENT MBl 8086 REAL ADDRESS MODE ADDRESS The MBL 80286 executes a fully upward·compatible super- set of the MBL 8086 instruction set in real address mode. In real address mode the MBL 80286 is object code com- patible with MBL 8086 and 8088 software. The real address mode architecture (registers and addressing modes) is exactly as described in the MBL 80286 Base Architecture section of this Functional Description. Memory Size Physical memory is a contiguous array of up to 1,048,576 19 0 bytes (one megabyte) addressed by pins AO through A19 20-BIT PHYSICAL and BHE. A20 through A23 may be ignored. MEMORY ADDRESS Memory Addressing In real address mode physical memory is a contiguous array of up to 1,048,576 bytres (one megabyte) addressed by pins AO through A19 and BHE. A20 through A23 may be Fig.9 - MBL 8086 REAL ADDRESS MODE ignored. INITIALLY RESERVED MEMORY LOCATIONS The selector portion of a pointer is interpreted as the upper 16 bits of a 20-bit segment address. The lower four bits of FFFFFH RESET BOOTSTRAP the 20-bit segment address are always zero. Segment ad- PROGRAM JUMP dresses, therefore, begin on multiples of 16 bytes. See FFFFOH Fig.8 for a graphic representation of address formation. F , All segments in real address mode are 64K bytes in size and 3FFH may be read, written, or executed. An exception or inter· INTERRUPT POINTER FOR VECTOR 255 rupt can occur if data operands or instructions attempt 3FCH ; to wrap around the end of a segment (e.g. a word with its low order byte at offset FFFF(H) and its high order byte at offset OOOO(H)). If, in real address mode, the informa- 7H INTERRUPT POINTER tion contained in a segment does not use the full 64K FOR VECTOR 1 4H bytes, the unused end of the segment may be overlayed by INTERRUPT POINTER 3H another segment to reduce physical memory requirements. FOR VECTOR 0 OH Reserved Memory locations INITIAL CS:IP VALUE IS FOOO:FFFO. The M BL 80286 reserves two fixed areas of memory in real address mode (see Fig. 9); system initialization area and interrupt table area. Locations from addresses FFFFO(H) through FFFFF(H) are reserved for system initialization. OOOOO(H) through 003FF(H) are reserved for interrupt Initial execution begins at location FFFFO(H). Locations vectors. 1-15 1111111111111111111111111111111111111111111111111 MBL 80286-8 FUJITSU MBL 80286-6 1111111111111111111111111111111111111111111111111 Table 9 - REAL ADDRESS MODE ADDRESSING INTERRUPTS Interrupt Return Address Function Related Instructions Number Before Instruction? Interrupt table limit too small exception 8 INT vector is not within table limit. Yes Processor extension segment overrun 9 ESC with memory operand extending No interrupt beyond offset FFFF(H). Segment overrun exception 13 Word memory reference with offset Yes = FFFF(H) or an attempt to execu·te past the end of a segment. Interrupts PROTECTED VIRTUAL ADDRESS MODE Table 9 shows the interrupt vectors reserved for excep- The MBl 80286 executes a fully upward-compatible super- tions and interrupts which indicate an addressing error. set of the MBl8086 instruction set in protected virtual The exceptions leave the CPU in the state existing before address mode (protected mode). Protected mode also attempting tQ execute the failing instruction (except for provides memory management and protection mechanisms PUSH, POP, PUSHA, or paPA). Refer to the next section and associated instructions. on protected mode initialization for a discussion on excep- The MBl80286 enters protected virtual address mode tion 8. from real address mode by setting the PE (Protection Enable) bit of the machine status word with the load Protected Mode Initialization Machine Status Word (lMSW) instruction. Protected mode offers extended physical and virtual memory address To prepare the MBl 80286,for protected mode, the LlDT space, memory protection mechanisms, and new opera- instruction is used to load the 24-bit interrupt table base tions to support operating systems and virtual memory. and 16-bit limit for the protected mode interrupt table. This instruction can also set a base and limit for the inter All registers, instructions, and addressing modes described rupt vector table in real address mode. After reset, the in the MBl80286 Base Architecture section of this interrupt table base is initialized to OOOOOO(H) and its Functional Description remain the same. Programs for the size set to 03FF(H). These values are compatible with MBl8086, 88, 186, and real address mode MBl80286 MBl8086, 88 software. LlDT should only be executed in can be run in protected mode; however, embedded con- preparation for protected mode. stants for segment selectors are different. Shutdown Memory Size Shutdown occurs when a severe error is detected that The protected mode MBl80286 provides a 1 gigabyte prevents further instruction processing by the CPU. Shut- virtual address space per task mapped into a 16 megabyte down and halt are externally signalled via a halt bus opera- physical address space defined by the address pins A23- tion. They can be distinguished by A1 HIGH for halt and AO and BH E. The virtual address space may be larger than A1 lOW for shutdown. In real address mode, shutdown the physical address space since any use of an address that can occur under two conditions. does not map to a physical memory location will cause a restartable exception . • Exceptions 8 or 13 happen and the lOT limit does not include the interrupt vector. • A CAll INT or PUSH instruction attempts to wrap Memory Addressing around the stack segment when SP is not even. As in real address mode, protected mode uses 32-bit An NMI input can bring the CPU out of shutdown if the pointers, consisting of 16-bit selector and offset com- lOT limit is at least OOOF(H) and SP is greater than ponents. The selector, however, specifies an index into 0005(H), otherwise shutdown can only be exited via the a memory resident table rather than the upper 16-bits of RESET input. a real memory address. The 24-bit base address of the 1-16 1111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 1111111111111111111111111111111111111111111111111 MBl80286-6 desired segment is obtained from the tables in memory. DESCRIPTORS The 16·bit offset is added to the segment base address Descriptors define the use of memory. Special types of to form the physical address as shown in Fig. 10. The descriptors also define new functions for transfer of con· tables are automatically referenced by the CPU when· trol and task switching. The MBL 80286 has segment de· ever a segment register is loaded with a selector. All scriptors for code, stack and data segments, and system MBL 80286 instructions which load a segment register will control descriptors for special system data segments and reference the memory based tables without additional control transfer operations. Descriptor accesses are per· software. The memory based tables contain 8 byte values formed as locked bus operations to assure descriptor called descriptors. integrity in multi·processor systems. CODE AND DATA SEGMENT DESCRIPTORS (S =1) Fig. 10 - PROTECTED MODE MEMORY Besides segment base addresses, code and data descriptors ADDRESSING contain other segment attributes including segment size (1 to 64K bytes), access rights (read only, read/write, execute only, and execute/read), and presence in memory (for virtual memory systems) (See Fig. 11). Any segment usage violating a segment attribute indicated by the seg· PHYSICAL MEMORY ment descriptor will prevent the memory cycle and cause an exception or interrupt. } P MEMORY OPERAND SEGMENT Fig. 11 - CODE AND DATA SEGMENT ADDRESS DESCRIPTOR FORMATS ADDER Code or Data Segment Descriptor 7 07 0 +7 RESERVEO' +6 I 23 SEGMENT BASE ADDRESS 0 SE'GMENT DESCRIPTOR I } """'" DESCRIPTION TABLE ACCESS RIGHT BYTE +5 plOPLI SITYPE IAI +3 BASE15-0 BASE23-16 +4 +2 - - +1 LlMIT15-0 0 15 87 0 *Must be set to 0 for compatability with iAPX386. Access Rights Byte Definition Bit Name Function Position 7 Present IP) P= 1 Segment is mapped into physical memory. P=O No mapping to physical memory exists, base and limit are not used. 6·5 Descriptor Privilege Segment privilege attribute used in privilege tests. Level IOPL) 4 Segment Descriptor S=1 Code or Data (includes stacks) segment descriptor .,c .0 IS) S=O System Segment Descriptor or Gate Descriptor ''"" 3 Executable I E) E=O Data segment descriptor type is: } ;;:: 0 2 Expansion Direction EO = 0 Expand up segment, offsets must be.:s: limit. If Data Segment "tl lEO) EO = 1 Expand down segment, offsets must be > limit. 0; 1 Writeable IW) W=O Data segment may not be written into. IS=l,E=O) u: W= 1 Data segment may be written into. '"> Q. 3 Executable (E) E=1 Code Segment Descriptor type is: ~,m.m t- 2 Conforming Ie) C=1 Code segment may only be executed when CPL L DPL and CPL remains unchanged. } '''000 IS= 1. E= 1) 1 Readable IR) R=0 Code segment may not be read. R=1 Code segment may be read. 0 Accessed IA) A=O Segment has not been accessed. A=1 Segment selector has been loaded into segment register or used by selector test instructions. 1·17 1lllllllllllllllllllllml~lllllllllloolmlllm MIL 80286-8 FUJITSU MIL 80286-6 1llllllllllllllllllllmll~lmlmlmllmllool Code and data (including stack data) are stored in two types of segments: code segments and data segments. Fig. 12 - SYSTEM SEGMENT DESCRIPTOR FORMAT Both types are identified and defined by segment descrip- System Segment Descriptor tors (S = 1). Code segments are identified by the executable 7 07 0 (E) bit set to 1 in the descriptor access rights byte. The +7 RESERVED' +6 access rights byte of both code and data segment descri p- tor types have three fields in common: present (P) bit, +5 ~DP0~ TYPE I BASE23-16 +4 Descriptor Privilege level (DPl), and accessed (A) bit. +3 BASEI5-0 +2 If P = 0, any attempted use of this segment will cause a not-present exception. DPl specifies the privilege level +1 LlMITI5-0 0 of the segment descriptor. DPl controls when the descrip- 87 15 0 tor may be used by a task (refer to privilege discussion 'Must be set to 0 for compatability with iAPX 386. below). The A bit shows whether the segment has been previously accessed for usage profiling, a necessity for System Segment Descriptor Fields virtual memory systems. The CPU will always set this bit Name Value Description when accessing the descriptor. TYPE 1 Available Task State Segment (TSS) 2 Local Descriptor Table Data segments (S = 1, E = 0) may be either read-only or 3 ~ Task State Segment (TSS) read-write as controlled by the W bit of the access rights P 0 Descriptor contents are not valid. byte. Read-only (W = 0) data segments may not be writ- 1 Descriptor contents are valid. ten into. Data segments may grow in two directions, as DPL 0-3 Descriptor Privilege Level determined by the Expansion Direction (ED) bit: up- 24-bit Base Address of speCial system data wards (ED = 0) for data segments, and downwards (ED = 1) BASE segment in real memory number for a 'segment containing a stack. The limit field for a LIMIT 16-bit Offset of last byte in segment data segment descriptor is interpreted differently depending number on the ED bit (see Fig. 11). A code segment (S = 1, E = 1) may be execute-only or descriptors and indicates the privilege level at which the execute/read as determined by the Readable (R) bit. descriptor may be used (see Privilege). Since the local Code segments may never be written into and execute- Descriptor Table descriptor may only be used by a special only code segments (R = 0) may not be read. A code privileged instruction, the DPl field is not used. Bit 4 segment may also have an attribute called conforming of the access byte is 0 to indicate that it is a system control (C). A conforming code segment may be shared by pro- descriptor. The type field specifies the descriptor type grams that execute at different privilege levels. The DPl as indicated in Fig. 12. of a conforming code segment defines the range of privilege GATE DESCRIPTORS (S = 0, TYPE = 4-71 levels at which the segment may be executed (refer to Gates are used to control access to entry points within privilege discussion below). The limit field identifies the the target code segment. The gate descriptors are call last byte of a code segment. gates, task gates, interrupt gates and trap gates. Gates SYSTEM SEGMENT DESCRIPTORS (S = 0, TYPE = 1-3) provide a level of indirection betweenthe source and In addition to code and data segment descriptors, the pro- destination of the control transfer. This indirection allows tec~ed mode MBl 80286 defines System Segment Descrip- the CPU to automatically perform protection checks and tors. These descriptors define special system data segments control entry point of the destination. Call gates are used which contain a table of descriptors (local Descriptor to change privilege levels (see Privilege), task gates are Table Descriptor) or segments which contain the execu- used to perform a task switch, and interrupt and trap tion state of a task (Task State Segment Descriptor). gates are used to specify interrupt service routines. The interrupt gate disables interrupts (resets I F) while the Fig. 12 gives the formats for the special system data seg- trap gate does not. ment descriptors. The descriptors contain a 24-bit base address of the segment and a 16-bit limit. The access byte Fig. 13 shows the format of the gate descriptors. The defines the type of descriptor, its state and privilege level. descriptor contains a destination pointer that points to The descriptor contents are valid and the segment is in the descriptor of the target segment and the entry point physical memory if P = 1. If P = 0, the segment is not offset. The destination selector in an interrupt ·gate, trap valid. The DPl field is only used in Task State Segment gate, and call gate must refer to a code segment descrip- 1-18 1111111111111111111111111111111111111111111111111 FUJITSU MBL B0286-8 1111111111111111111111111111111111111111111111111 MBL 80286-6 tor. These gate descriptors contain the entry point to segment. Since task gates invoke a task switch, the destina- prevent a program from constructing and using an illegal tion offset is not used in the task gate. entry point. Task gates may only refer to a task state Exception 13 is generated when the gate is ued if a destina- tion selector does not refer to the correct descriptor type. Fig. 13 - GATE DESCRIPTOR FORMAt The word count field is used in the call gate descriptor to Gate Descriptor indicate the number of parameters (0-31 words) to'be 07 o automatically copied from the caller's stack to the stack +7 RESERVED' +6 of the called routine when a control transfer changes privilege levels. The word count field is not used by any +5 piDPLiOi TYPE hX Xi~g~~T4-0 +4 other gate descriptor. +3 DESTINATION SELECTOR15-2iX X +2 The access byte format is the same for all gate descrip- tors. P = 1 indicates that the gate contents are valid. P +1 DESTINATION OFFSET15-0 0 = 0 indicates the contents are not valid and causes ex- 15 87 o ception 11 if referenced. DPL is the descriptor privilege *Must be set to a for compatibility with iAPX 38,6. level and specifies when this descriptor may be used by (X is don't care) a task (refer to privilege discussion below). Bit 4 must Gate Descriptor Fields equal 0 to indicate a system control descriptor. The type Name Value Description field specifies the descriptor type as indicated in Fig. 13. TYPE 4 - Call Gate SEGMENT DESCRIPTOR CACHE REGISTERS 5 - Task Gate A segment descriptor cache register is assigned to each 6 - Interrupt Gate 7 - Trap Gate of the four segment registers (CS, SS, DS, ES). Segment P 0 - Descriptor Contents are not valid. Fig. 15 - SELECTOR FIELDS 1 - Descriptor Contents are SELECTOR valid. WORD DPL 0-3 0-31 Descriptor Privilege Level Number of words to copy I 15 INDEX I I I I I I I I I I I I 1 TI Rr L I 3 2 1 0 COUNT from callers stack to called BITS NAME FUNCTION procedures stack. Only used with call gate. 1-0 REQUESTED INDICATES SELECTOR PRIVILEGE PRIVILEGE LEVEL DESIRED DESTINATION 16-bit Selector to the target code LEVEL SELECTOR selector segment (Call, I nterrupt or (RPL) Trap Gate) 2 TABLE TI = 0 USE GLOBAL DESCRIPTOR Selector to the target task INDICATOR TABLE (GDT) state segment (Task Gate) (Til TI = 1 USE LOCAL DESCRIPTOR TABLE (LDT) DESTINATION 16-bit Entry point within the OFFSET offset target code segment 15-3 INDEX SELECT DESCRIPTOR ENTRY IN TABLE Fig. 14 - DESCRIPTOR CACHE REGISTERS 1-------P~GMMI~~rn~--------' PROGRAM VISIBLE I ACCESS SEGMENT PHYSICAL SEGMENT SELECTORS I RIGHTS BASE ADDRESS SEGMENT SIZE I "~ I DS I I SS I ES 15 0 I I I I 4039 47 I 1615 I 0 I SEGMENT REGISTERS I SEGMENT DESCRIPTOR CACHE REGISTERS (LOADED BY PROGRAMI L ____ -.!.A~2:0!'~ ~~A':'::...Y_L~~D":~ ~Y_ ~~) ____ ...J 1-19 --------------------------------------- 1111111111111111111111111111111111111111111111111111 MBl80286-8 FUJITSU MBl80286-6 11111111111111111111111111111~llllllllllrnllll~11 descriptors are automatically loaded (cached) into a seg· called the Local Descriptor Table (LDT). contains descrip· ment descriptor cache register (Fig. 14) whenever the tors that can be private to a task. Each task may have associated segment register is loaded with a selector. Only its own private LDT. The GDT may contain all descriptor segment descriptors may be loaded into segment descriptor types except interrupt and trap descriptors. The LDT may cache registers. Once loaded, all references to that segment contain only segment, task gate, and call gate descriptors. of memory use the cached descri ptor information instead A segment cannot be accessed by a task if its segment of reaccessing the descriptor. The descriptor cache registers descriptor does not exist in either descriptor table at the are not visible to programs. No instructions exist to store ti me of access. their contents. They only change when a segment register The LGDT and LLDT instructions load the base and limit is loaded. of the global and local descriptor tables. LGDT and LLDT SELECTOR FIELDS are privileged, i.e. they may only be executed by trusted A protected mode selector has three fields: descriptor programs operating at level O. The LGDT instruction loads entry index, local or global descriptor table indicator (TI). a six byte field containing the 16·bit table·limit and 24·bit and selector. privilege (RPL) as shown in Fig. 15. These physical base address of the Global Descriptor Table as fields select one of two memory based tables of descrip· shown in Fig. 17. The LDT instruction loads a selector tors, select the appropriate table entry and allow high· which refers to a Local Descriptor Table descriptor con· speed testing of the selector's privilege attribute. taining the base address and limit for an LDT, as shown in Fig. 12. LOCAL AND GLOBAL DESCRIPTOR TABLES Two tables of descriptors, called descriptor tables, con· Fig. 17 - GLOBAL DESCRIPTOR TABLE AND tain all descriptors accessible by a task at any given time. INTERRUPT DESCRIPTOR TABLE DATA TYPE 7 07 0 A descriptor table is a linear array of up to 8192 descrip· tors. The upper 13 bits of the selector value are an index +5 RESERVED" I BASE23-16 +4 into a descriptor table. Each table has a 24·bit base register +3 BASEI5-0 +2 to locate the descriptor table in physical memory and a 16·bit limit register that confine descriptor access to +1 LlMITI5-0 o the defined limits of the table as shown in Fig. 16. A 15 87 o restartable exception (13) will occur if an attempt is made "Must be set to 0 for compatibility with iAPX 386. to reference a descriptor outside the table limits. INTERRUPT DESCRIPTOR TABLE One table, called the Global Descriptor Table (GDT). The protected mode MBL 80286 has a third descriptor contains descriptors available to all tasks. The other table, table, called the Interrupt Descriptor Table (I DT) (see Fig. 18), used to define up to 256 interrupts. It may contain Fig. 16 - LOCAL AND GLOBAL DESCRIPTOR only task gates, interrupt gates and trap gates. The I DT TABLE DEFINITION (Interrupt Descriptor Table) has a 24·bit physical base and 16·bit limit register in the CPU. The privileged LI DT instruction loads these registers with a six byte value of identical form to that of the LGDT instruction (see Fig. 17 and Protected Mode Initialization). Fig. 18 - INTERRUPT DESCRIPTOR TABLE DEFINITION - MEMORY - GATE FOR INTERRUPT #n GATE FOR U INTERRUPT :m-l INTERRUPT DESCRIPTOR TABLE CPU (lOT) _F3- 15 0 GATE FOR It INTERRUPT ..-, GATE FOR « we INTERRUPT ..0 I lOT SASE ">w U ~, 23 0 - 1-20 1111111111111111111111111111111111111111111111111111 FUJITSU MBl80286-8 1111111111111111111111111111111111111111111111111111 MBl80286-6 References to IDT entries are made via INT instructions, Tasks begin executing at the CPL value specified by the external interrupt vectors, or exceptions. The IDT must code segment selector within TSS when the task is initiated be at least 256 bytes in size to allocate space for all reserved via a task switch operation (See Fig. 20). A task executing interrupts. at Level 0 can access all data segments defined in the GDT and the task's LDT and is considered the most trusted Privilege level. A task executing a Level 3 has the most restricted The MBL 80286 has a four·level hierarchical privilege access to data and is considered the least trusted level. system which controls the use of privileged instructions DESCRIPTOR PRIVI LEGE and access to descriptors (and their associated segments) Descriptor privilege is specified by the Descriptor Privilege within a task. Four-level privilege, as shown in Fig. 19, is an Level (DPL) field of the descriptor access byte. DPL extension of the user/supervisor mode commonly found specifies the least trusted task privilege level (CPL) at in minicomputers. The privilege levels are numbered 0 which a task may access the descriptor. Descriptors with through 3. Level 0 is the most privileged level. Privilege DPL = 0 are the most protected. Only tasks executing levels provide protection within a task. (Tasks are isolated at privilege level 0 (CPL = 0) may access them. Descrip- by providing private LDT's for each task.) Operating tors with DPL = 3 are the least protected (i.e. have the system routines, interrupt handlers, and other system soft- ware can be included and protected within the virtual least restricted access) since tasks can access them when address space of each task using the four levels of privilege. CPL = 0, 1, 2, or 3. This rule applies to all descriptors, Each task in the system has a separate stack for each of except LDT descriptors. its privilege levels. SELECTOR PRIVILEGE Selector privilege is specified by the Requested Privilege Fig. 19 - HIERARCHICAL PRIVILEGE LEVELS Level (RPL) field in the least significant two bits of a selector. Selector RPL may establish a less trusted privilege APPLICATIONS level than the current privilege level for the use of a selec- CPU ENFORCED tor. This level is called the task's effective privilege level SOFTWARE INTERFACES as EXTENSIONS (EPL). RPL can only reduce the scope of a task's access to data with this selector. A task's effective privilege is the numeric maximum of RPL and CPL. A selector with RPL = 0 imposes no additional restriction on its HIGH speeD use while a selector with RPL = 3 can only refer to seg- OPERATING SYSTEM ments at privilege Level 3 regardless of the task's CPL. INTERFACE RP L is generally used to verify that poi nter parameters passed to a more trusted procedure are not allowed to use data at a more privileged level than the caller (refer to pointer testing instructions). NOTE: PL BECOMES NUMERICALLY LOWER AS PRIVILEGE Descriptor Access and Privilege Validation LEVEL INCREASES Determining the ability of a task to access a segment Tasks, descriptors, and selectors have a privilege level involves the type of segment to be accessed, the i nstruc- attribute that determines whether the descriptor may be tion used, the type of descriptor used and CPL, RPL, used. Task privilege effects the use of instructions and and DPL. The two basic types of segment accesses are descriptions. Descriptor and selector privilege only effect control transfer (selectors loaded into CS) and data (selec- access to the descriptor. tors loaded into DS, ES or SS). TASK PRIVILEGE DATA SEGMENT ACCESS A task always executes at one of the four privilege levels. Instructions that load selectors into DS and ES must The task privilege level at any specific instant is called refer to a data segment descriptor or readable code seg- the Current Privilege Level (CPL) and is defined by the ment descriptor. The CPL of the task and the RPL of the lower two bits of the CS register. CPL cannot change selector must be the same as or more privileged (numerical- during execution in a single code segment. A task's CPL ly equal to or lower than) than the descriptor DPL. In may only be changed by control transfers through gate general, a task can only access data segments at the same descriptors to a new code segment (See Control Transfer). or less privileged levels than the CPL or RPL (whichever 1-21 1IIIIIIIIIIIIIIIIIIIIIIIIIImmmllllllllllili MBL 80286-8 FUJITSU MIL 80286-6 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImili is numerically higher) to prevent a program from accessing ment with DPL of equal or greater privilege than CPL. data it cannot be trusted to use. The RPL of the selector used to reference the code de- An exception to the rule is a readable conforming code scriptor must have as much privilege as CPL. segment. This type of code segment can be read from RET and I RET instructions may only reference code any privilege level. segment descriptors with descriptor privilege equal to or If the privilege checks fall (e.g. DPL is numerically less less privileged than the task CPL. The selector loaded than the maximum of CPL and RPL) or an incorrect type into CS is the return address from the stack. After the of descriptor is referenced (e.g. gate descriptor or exe· return, the selector RPL is the task's new CPL. If CPL cute only code segment) exception 13 occurs. If the seg- changes, the old stack pointer is popped after the return ment is not present, exception 11 is generated. address. Instructions that load selectors into SS must refer to data When a JMP or CALL references a Task State Segment segment descriptors for writable data segments. The de- descriptor, the descriptor DPL must be the same or less scriptor privilege (DPL) and RPL must equal CPL. All privileged than the task's CPL. Reference to a valid Task other descriptor types or a privilege level violation will State Segment descriptor causes a task switch (see Task cause exception 13. A not present fault causes excep- Switch Operation). Reference to a Task State Segment tion 12. descriptor at a more privileged level than the task's CPL generates exception 13. CONTROL TRANSFER Four types of control transfer can occur whim a selector When an instruction or interrupt references a gate de- is loaded into CS by a control transfer operation (see scriptor, the gate DPL must have the same or less privilege Table 10). Each transfer type can only occur if the opera- than the task CPL. If DPL is at a more privileged level tion which loaded the selector references the correct than CPL, exception 13 occurs. If the destination selector descriptor type. Any violation of these descriptor usage contained in the gate references a code segment descrip- rules (e.g. JMP through a call gate or RET to a Task State tor, the code segment descriptor DP L must be the same Segment) will cause exception 13. or more privileged than the task CPL. If not, Exception 13 is issued. After the control transfer, the code segment The ability to reference a descriptor for control transfer descriptors DPL is the task's new CPL. If the destination is also subject to rules of privilege. A CALL or JUMP selector in the gate references a task state segment, a task instruction may only reference a code segment descrip- switch is automatically performed (see Task Switch Opera- tor with DPL equal to the task CPL or a conforming seg- tion). Table 10 - DESCRIPTOR TYPES liSED FOR CONTROL TRANSFER Control Transfer Types Descriptor Descriptor Operation Types Referenced Table Intersegment within the same privilege level JMP, CALL, RET, IRET" Code Segment GDT/LDT Intersegment to the same or higer privilegeJevel Interrupt CALL Call Gate GDT/LDT within task may change CPL Interrupt Instruction, Trap or IDT ExcePtion, External Interrupt Interrupt Gate Intersegment to a lower privilege level (changes task CPL) RET,IRET" Code Segment GDT/LDT CALL, JMP Task State GDT Segment Task Switch CALL, JMP Task Gate GDT/LDT IRET"" Interrupt Instruction, Exception, External Task Gate IDT Interrupt " NT (Nested Task bit of flag word) = 0 "" NT (Nested Task bit of flag word) = 1 1-22 1111111111111111111111111111111111111111111111111 FUJITSU MBL B0286-8 1111111111111111111111111111111111111111111111111 MBL 80286-6 The privilege rules on control transfer require: Table 11 - SEGMENT REGISTER LOAD CHECKS JMP or CALL direct to a code segment (code segment Exception Error Description Number descriptor) can only be to a conforming segment with Descriptor table limit exceeded 13 DPL of equal or greater privilege than CPL or a non- Segment descriptor not-present 11 or 12 conforming segment at the same privilege level. Privilege rules violated 13 interrupts within the task or calls that may change Invalid descriptor/segment type segment privilege levels, can only transfer control through a register load: gate at the same or a less privileged level than CPL to - Read only data segment load to SS - Special control descriptor load to OS, a code segment at the same or more privileged level 13 ES, SS than CPL. - Execute only segment load to OS, ES, SS - Data segment load to CS return instructions that don't switch tasks can only re- - Read/Execute code segment load to 5S turn control to a code segment at the same or less privileged level. Table 12 - OPERAND REFERENCE CHECKS task switch can be performed by a call, jump or inter- Exception Error Description Number rupt which references either a task gate or task state Write into code segment 13 segment at the same or less privileged level. Read from execute-only code segment 13 PRIVI LEGE LEVEL CHANGES Write to read-only data segment 13 Segment limit exceeded 12 or 13 Any control transfer that changes CPL within the task, Note 1: Carry out in offset calculations is ignored. causes a change of stacks as part of the operation. Initial values of SS:SP for privilege levels 0, 1, and 2 are kept Table 13 - PRIVILEGED INSTRUCTION CHECKS in the task state segment (refer to Task Switch Opera- Exception Error Description tion). During a JMP or CALL control transfer, the new Number stack pointer is loaded into the SS and SP registers and *- CPL 0 when executing the following the previous stack pointer is pushed onto the new stack. instructions: 13 LlDT, LLDT, LGDT, L TR, LMSW. CTS, When returning to the original privilege level, its stack is HLT restored as part of the RET or I RET instruction opera- CPL> IOPL when executing the following tion. For subroutine calls that pass parameters on the instructions: 13 INS, IN, OUTS, OUT, STI, CLI, LOCK stack and cross privilege levels, a fixed number of words, as specified in the gate, are copied from the previous These checks are performed for all instructions and can stack to the current stack. The inter-segment RET in- be split into three categories: segment load checks (Table struction with a stack adjustment value will correctly re- 11), operand reference checks (Table 12), and privileged store the previous stack pointer upon return. instruction checks (Table 13). Any violation of the rules shown will result in an exception. A not-present exception Protection related to the stack segment causes exception 12. The MBL 80286 includes mechanisms to protect critical in- structions that affect the CPU execution state (e.g. H LT) The I RET and POPF instructions do not perform some of their defined functions if CPL is not of sufficient privilege and code or data segments from improper usage. These protection mechanisms are grouped into three forms: (numerically small enough). Precisely these are: Restricted usage of segments (e.g. no write allowed • The I F bit is not changed if CPL > 10PL to read-only data segments). The only segments availa- • The 10PL field of the flag word is not changed if CPL ble for use are defined by descriptors in the Local >0. Descriptor Table (LDT) and Global Descriptor Table No exceptions or other indication are given when these (GDT). conditions occur. Restricted access to segments via the rules of privilege EXCEPTIONS and descriptor usage. The MBL 80286 detects several types of exceptions and Privileged instructions or operations that may only be interrupts, in protected mode (see Table 14). Most are executed at certain privilege levels as determined by restartable after the exceptional cqndition is removed. the CPL and I/O Privilege Level (IOPL). The 10PL is Interrupt handlers for most exceptions can read an error defined by bits 14 and 13 of the flag word. code, pushed on the stack after the return address, that 1-23 1111111111111111111111111111111111111111111111111 MBL 80286-8 FUJITSU MBl 80286-6 1111111111111111111111111111111111111111111111111 Table 14 - PROTECTED MODE EXCEPTIONS Return Address Interrupt Always Error Code Function At Failing Vector Restartable? on Stack? Instruction? 8 Double exception detected Yes N02 Yes 9 Processor extension segment overrun No N02 No 10 Invalid task state segment Yes Yes Yes 11 Segment not present Yes Yes Yes 12 Stack segment overrun or stack segment not present Yes Yes 1 Yes 13 General protection Yes N02 Yes NOTE 1: When a PUSHA or POPA instruction attempts to wrap around the stack segment, the machine state after the ex- ception will not be restartable because stack segment wrap around is not permitted. This condition is identified by the value of the saved SP being eigher OOOO(H), 0001 (H), FFFE(H), or FFFF(H). NOTE 2: These exceptions indicate a violation to privilege rules or usage rules has occurred. Restart is generally not attempted under those conditions. identifies the selector involved (0 if none). The return task gate descriptor contains a TSS selector. The limit address normally points to the failing instruction, including field of the descriptor must be > 002B(H). all leading prefixes. For a processor extension segment over- Each task must have a TSS associated with it. The current run exception, the return address will not point at the TSS is identified by a special register in the MBL 80286 ESC instruction that caused the exception; however, the called the Task Register (TR). This register contains a processor extension registers may contain the address selector referring to the task state segment descriptor of the failing instruction. that defines the current TSS. A hidden base and limit These exceptions indicate a violation to privilege rules register associated with TR are loaded whenever TR is or usage rules has occurred. Restart is generally not loaded with a new selector. attempted under those conditions. The I RET instruction is used to return control to the All these checks are performed for all instructions and task that called the current task or was interrupted. can be split into three categories: segment load checks Bit 14 in the flag register is called the Nested Task (NT) (Table 11), operand reference checks (Table 12), and bit. It controls the function of the I RET instruction. If privileged instruction checks (Table 13). Any violation NT = 0, the I RET instruction performs the regular cur- of the rules shown will result in an exception. A not- rent task return by popping values off the stack; when present exception causes exception 11 or 12 and is re- NT = 1, I RET performs a task switch operation back startable. to the previous task. Special Operations When a CALL, JMP, or INT instruction initiates a task switch, the old and new TSS will be marked busy and TASK SWITCH OPERATION the back link field of the new TSS set to the old TSS The MBL 80286 provides a built-in task switch operation selector. The NT bit of the new task is set by CALL or which saves the entire MBL 80286 execution state (regis- INT initiated task switches. An interrupt that does not ters, address space, and a link to the previous task). loads a cause a task switch will clear NT. NT may also be set new execution state, and commences execution in the or cleared by POPF or I RET instructions. new task. Like gates, the task switch operation is invoked by executing an inter-segment JMP or CALL instruction The task state segment is marked busy by changing the which refers to a Task State Segment (TSS) or task gate descriptor type field from Type 1 to Type 3. Use of a descriptor in the GDT or LOT. An INT instruction, excep- selector that references a busy task state segment causes tion, or external interrupt may also invoke the task switch Exception 13. .. operation by selecting a task gate descriptor in the as- sociated IDT descriptor entry. PROCESSOR EXTENSION CONTEXT SWITCHING The context of a processor extension (such as the 80287 The TSS descriptor points at a segment (see Fig. 20) numerics processor) is not changed by the task switch containing the entire MBL 80286 execution state while a operation. A processor extension context need only be 1-24 1111111111111111111111111111111111111111111111111111 FUJITSU MBl80286-8 1111111111111111111111111111111111111111111111111111 MBl80286-6 changed when a different task attempts to use the pro· exception (7) will occur when attempting to execute cessor extension (which still contains the context of a an ESC or WAIT instruction if TS = 1 and a processor previous task). The MBL 80286 detects the first use of a extension is present (MP = 1 in MSW). processor extension after a task switch by causing the POINTER TESTING INSTRUCTIONS processor extension not present exception (7). The inter· The MBL 80286 provides several instructions to sReed rupt handler may then decide whether a context change pointer testing and consistency checks for maintaining is necessary. system integrity (see Table 15). These instructions use Whenever the MBL 80286 switches tasks, if sets the Task the memory management hardware to verify that a selector Switched (TS) bit of the MSW. TS indicates that a pro· value refers to an appropriate segment without risking an cessor extension context may belong to a different task exception. A condition flag (ZF) indicates whether use of than the current one. The processor extension not present the selector or segment will cause an exception. Fig. 20 - TASK STATE SEGMENT AND TSS REGISTERS - ~ CPU RESERVED TYPE DESCRIPTION t TASK REGISTER 1 AN AVAILABLE TASK STATE SYSTEM jrJalTyp:E BASE23-16 SEGMENT, MAY BE USED AS T R c = J - - - - ... SEGMENT THE DESTINATION OF A TASK DESCRIPTOR BASE15-a SWITCH OPERATIDN_ 15 a r---------, 3 IPROGRAM INVISIBLE' A BUSY TASK STATE SEGMENT, :: I ~J+ , 15 a , LlMIT15-0 CANNOT BE USED AS THE DESTINATION OF A TASK I SWITCH _ - - - - - - - - - - - - - - - - - _ .J ,L 23 I : BASE a' , _______ .J F *B YTE 15 a OFFSET TASK: LOT SELECTOR 42 OS SELECTOR 4o P DESCRIPTION SS SELECTOR 38 1 BASE AND LIMIT FIELDS ARE VALID. CS SELECTOR 3 a SEGMENT IS NOT PRESENT IN MEMORY, BASE AND LIMIT ARE NOT ES SELECTOR 3 DEFINED. 01 3 SI 3o BP 28 CURRENT TASK SP 2 STATE BX 2 TASK OX 2 -STATE SEGMENT CX 2 AX 18 FLAG WORD 16 IP (ENTRY POINTI 1 SS FOR CPL 2 - - __ 1 SP FOR CLL 2 1 SS FOR CPL 1 INITIAL STACKS SP FOR CPL 1 6 FOR CPLa.1,2 SS FOR CPL 0 4 SP FOR CPL 0 BACK LINK SELECTOR TO TSS - - 1-25 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIImmlll~I~lllml MBL 80286-8 FUJITSU MBL 80286-6 Ilmllllllllllllllllllllllllllllllllmllllll~I~1 Table 15 - MBl 80286 POINTER TEST INSTRUCTIONS struction to set PE, the MBl80286 must immediately execute an intra-segment JMP instruction to clear the Instruction Operands Function instruction queue of instructions decoded in real address ARPL Selector, Adjust Requested Privilege Level: mode. Register adjusts the RPL of the selector to To force the MBl 80286 CPU registers to match the initial the numeric maximum of current selector RPL value and the RPL protected mode state assumed by software, execute a value in the register. Set zero flag JMP instruction with a selector referring to the initial if selector RPL was changed by TSS used in the system. This will load the task register, ARPL. local descriptor table register, segment registers and initial general register state. The TR should point at a valjd TSS VERR Selector VERify for Read: sets the zero since any task switch operation involves saving the current flag if the segment referred to by the selector can be read. task state. VERW Selector VERify for Write: sets the zero flag SYSTEM INTERFACE if the segment referred to by the The MBl80286 system interface appears in two forms: a selector can be written. local bus and a system bus. The local bus consists of ad· LSL Register, Load Segment Limit: reads the dress, data, status, and control signals at the pins of the Selector segment limit into the register if CPU. A system bus is any buffered version of the local privilege rules and descriptor type bus. A system bus may also differ from the local bus in allow. Set zero flag if successful. terms of coding of status and control lines and/or timing LAR Register, Load Access Rights: reads the and loading of signals. The MBl80286 family includes Selector descriptor access rights byte into several devices to generate standard system buses such the register if privilege rules allow. as the IEEE 796 standard Multibus™'. Set zero flag if successful. Bus Interface Signals and Timing DOUBLE FAULT AND SHUTDOWN The MBl80286 microsystem local bus interfaces the If two separate exceptions are detected during a single MBl80286 to local memory and I/O components. The instruction execution, the MBl 80286 performs the double interface has 24 address lines, 16 data lines, and 8 status fault exception (8). If an exception occurs during pro· and control signals. cessing of the double fault exception, the MBl 80286 will The MBl80286 CPU, MBl82284 clock generator, enter shutdown. During shutdown no further instructions MBl 82288 bus controller, Intel 82289 bus arbiter, or exceptions are processed. Either NM I (CPU remains MBl828617 transceivers, and MBl8282/3 latches provide in protected mode) or RESET (CPU exits protected mode) a buffered and decoded system bus interface. The can force the MBl80286 out of shutdown. Shutdown is MBl82284 generates the system clock and synchronizes externally signalled via a HALT bus operation with A 1 READY and RESET. The MBl 82288 converts bus opera- HIGH. tion status encoded by the MBl 80286 into command and PROTECTED MODE INITIALIZATION bus control signals. The 82289 bus arbiter generates Multi· The MBl80286 initially executes in real address mode bus bus arbitration signals. These components can provide after RESET. To allow initialization code to be placed the timing and electrical power drive levels required for at the top of physical memory, A23-A20 will be HIGH most system bus interfaces including the Multibus. When the MBl 80286 performs memory references relative to the CS register until CS is changed. A23-A20 will be Physical Memory and· I/O Interface zero for references to the DS, ES, or SS segments. Changing A maximum of 16 megabytes of physical memory can CS in real address mode will force A23-A20 lOW when· be addressed in protected mode. One megabyte can be ever CS is used again. The initial CS:IP value of FOOO:FFFO addressed in real address mode. Memory is accessible provides 64K bytes of code space for initialization code as bytes or words. Words consist of any two consecutive without changing CS. bytes addressed with the least significant byte stored in the lowest address. Protected mode operation requires several registers to be initialized. The GDT and IDT base registers must refer Byte transfers occur on either half of the 16·bit local data to a valid GDT and I DT. After executing the lMSW in· bus. Even bytes are accessed over D7-DO while odd bytes 1-26 • Multibus is a patented bus of Intel. 1111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 1111111111111111111111111111111111111111111111111 MBl 80286-6 are transferred over D15-D8. Even-addressed words are status (Ts), and perform command (Tc). The MBL 80286 transferred over D15-DO in one bus cycle, while odd- CPU also has a fourth local bus state called hold (Th). Th addressed words require two bus operations. The first trans- indicates that the MBL 80286 has surrendered control of fers data on D 15-D8, and the second transfers data on the local bus to another bus master in response to a HOLD D7-DO. Both byte data transfers occur automatically, request. transparent to software. Each bus state is one processor clock long. Fig. 22 shows Two bus signals, AO and BHE, control transfers over the the four MBL 80286 local bus states and allowed transi- lower and upper halves of the data bus. Even address tions. byte transfers are indicated by AO LOW and BHE HIGH. Odd address byte transfers are indicated by AO HIGH Fig. 22 - MBL 80286 BUS STATES and BHE LOW. Both AO and BHE are LOW for even ad- RESET dress word transfers. The I/O address space contains 64K addresses in both modes. The I/O space is accessible as either bytes or words, as is memory. Byte wide peripheral devices may be attached to either the upper or lower byte of the data bus. Byte- wide I/O devices attached to the upper data byte (D15-D8) are accessed with odd I/O addresses. Devices on the lower data byte are accessed with even I/O addresses. An inter- rupt controller such as MBL 8259A must be connected to the lower data byte (D7-DO) for proper return of the inter- rupt vector. Bus Operation Bus States The MBL 80286 uses a double frequency system clock (CLK input) to control bus timing. All signals on the local The idle (Ti) state indicates that no data transfers are bus are measured relative to the system CLK input. The in progress or requested. The first active state Ts is CPU divides the system clock by 2 to produce the internal signaled by status line 51 or SO going LOW and identi- processor clock, which determines bus state. Each pro- fying phase 1 of the processor clock. During Ts, the cessor clock is composed of two system clock cycles command encodi ng, the address, and data (for a write named phase 1 and phase 2. The MBL 82284 clock genera- operation) are available on the MBL 80286 output pins. tor output (PCLK) identifies the next phase of the pro- The MBL 82288 bus controller decodes the status signals cessor clock. (See Fig. 21.) and generates Multibus compatible read/write command and local transceiver control signals. Fig. 21 - SYSTEM AND PROCESSOR CLOCK After Ts, the perform command (Tc) state is entered. RELATIONSHIPS Memory or I/O devices respond to the bus operation ONE PROCESSOR CLOCK CYCLE during Tc, either transferring read data to the CPU or accepting write data. Tc states may be repeated as often as necessary to assure sufficient ti me for the memory elK or I/O device to respond. The READY signal determines whether Tc is repeated. A repeated Tc state is called a wait state. During hold (Thl. the MBL 80286 will float all address, data, and status output pins enabling another bus master to use the local bus. The MBL 80286 HOLD input signal Six types of bys operations are supported; memory read, is used to place the MBL 80286 into the Th state. The memory write, I/O read, I/O write, interrupt ackowl- MBL 80286 HLDA output signal indicates that the CPU edge, and halt/shutdown. Data can be transferred at a has entered Th. maximum rate of one word per two processor clock cycles. The MBL 80286 bus has three basic states: idle (Til. send 1-27 1111111111111111111111111111111111111111111111111 MBl80286-8 FUJITSU MBl80286-6 1111111111111111111111111111111111111111111111111 Fig. 23 - BASIC BUS CYCLE ~ Ts READ BUS CYCLE N Ti 1>1 I 1>2 -I . 1>1 Tc---f--- I ClK PROC ClK A23-AO READY D15-DO -------------------C)--------------c::>- VALID READ VALID READ DATA (N) DATA (N+l) PIPELINING: VALID ADDRESS IN+11 AVAilABLE IN lAST PHASE OF BUS CYCLE IN!. Pipelined Addressing and output enable for memory and I/O systems. The MBl80286 uses a local bus interface with pipelined The Address latch Enable (ALE) output determines when timing to allow as much time as possible for data access. the address may be latched. ALE provides at least one Pipelined timing allows a new bus operation to be initiated system ClK period of address hold time from the end of every two processor cycles, while allowing each individual the previous bus operation until the address for the next bus operation to last for three processor cycles. bus operation appears at the latch outputs. This address The timing of the address outputs is pipelined such that hold time is required to support Multibus®' and common the address of the next bus operation becomes available memory systems. during the current bus operation. Or in other words, the The data bus transceivers are controlled by MBl82288 first clock of the next bus operation is overlapped with outputs Data Enable (DEN) and Data Transmit/Receive the last clock of the current bus operation. Therefore, (DT/R). DEN enables the data transceivers; while DT/R address decode and routing logic can operate in ad· controls transceiver direction. DEN and DT/R are timed to vance of the next bus operation. External address latches prevent bus contention between the bus master, data may hold the address stable for the entire bus operation, bus transceivers, and system data "'us transceivers. and provide additional AC and DC buffering. Command Timing Controls The MBl80286 does not maintain the address of the current bus operation during all Tc states. Instead, the Two system timing customization options, command address for the next bus operation may be emitt~d during extension and command delay, are provided on the phase 2 of any Tc. The address remains valid during phase MBl 80286 local bus. 1 of the first Tc to guarantee hold time, relative to ALE, Command extension allows additional time for external for the address latch inputs. devices to respond to a command and is analogous to inserting wait states on the MBl 80286. External logic can Bus Control Signals control the du ration of any bus operation such that the The MBl 82288 bus controller provides control signals; ad· operation is only as long as necessary. The READY input dress latch enable (ALE), Read/Write commands, data signal can extend any bus operation for as long as neces· transmit/receive (DT/R), and data enable (DEN) that sary. control the address latches, data transceivers, write enable, • Multibus is a patented bus of Intel. 1-28 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 1111111111111111111111111111111111111111111111111111 MBL 80286-6 Fig. 24 - CMDl Y CONTROLS THE lEADING EDGE OF COMMAND SIGNAL F;,= READ BUS CYCLE N-1 . : I: ----+--~-Ts READ BUS CYCLE N~ -I- 1>1 TcI 1>2 1>1 Y 1>2' 1• 1>1 Y 1>2 ' 1• 1>1 1>2 1>1 I 1>2 ClK PRDC ClK 51,50 ALE RD CDMMAND EX1 [ CMDlY r-+-~~--~, ~~~------+---------+-~~-----+--- RD CDMMAND EX2 [ CMDlY Command delay allows an increase of address or write At maximum transfer rates, the MBl 80286 bus alternates data setup time to system bus command active for any between the status and command states_ The bus status bus operation by delaying when the system bus com- signals become inactive after Ts so that they may cor- mand becomes active. Command delay is controlled by rectly signal the start of the next bus operation after the the MBl 82288 CMDl Y input_ After Ts, the bus controller completion of the current cycle_ No external indication of samples CMDlY at each failing edge of ClK. If CMDlY Tc exists on the MBl 80286 local bus. The bus master and is HIGH, the MBl82288 will not activate the command bus controller enter Tc directly after Ts and continue exe- signal. When CMDl Y is lOW, the MBl 82288 will activate cuting Tc cycles until terminated by READY. the command signal. After the command becomes active, the CMDl Y input is not sampled. READY Operation When a command is delayed, the available response time The current bus master and MBl 82288 bus controller ter- from command active to return read data or accept write minate each bus operation simultaneously to achieve data is less. To customize system bus timing, an address maximum bus operation bandwidth. Both are informed decoder can determine which bus operations require in advance by READY active (open-collector output delaying the command. The CMDl Y input does not affect from MBl 82284) which identifies the last Tc cycle of the current bus operation. The bus master and bus controller the timing of ALE, DEN, or DT/R. must see the same sense of the READY signal, thereby Fig. 24 illustrates four uses of CMDl Y. Example 1 shows requiring READY be synchronous to the system clock. delaying the read command two system ClKs for cycle N-l and no delay for cycle N, and example 2 shows delay- Synchronous Ready ing the read command one system ClK for cycle N-l and The MBl82284 clock generator provides READY syn- one system ClK delay for cycle N. chronization from both synchronous and asynchronous Bus Cycle Termination sources (see Fig. 25). The synchronous ready input (SRDY) 1-29 1111111111111111111111111111111111111111111111111 MBl80286-8 FUJITSU MBl80286-6 1111111111111111111111111111111111111111111111111 Fig. 25 - SYNCHRONOUS AND ASYNCHRONOUS READY --MEMORY CYCLE N-1----.je__------MEMORY CYCLE N - - - - - - - - I ClK PROC ClK A23-AD SO'S1 SRDY ARDY NOTES: 1. SRDYEN is active low. 2. If SRDYEN is high, the state of SRDY will not effect READY 3. ARDYEN is active low. of the clock generator is sampled with the failing edge low and have the same timing as their respective ready of ClK at the end of phase 1 of each Tc. The state of inputs. Address decode logic usually selects whether SRDY is then broadcast to the bus master and bus con- the current bus operation should be terminated by ARDY troller via the READY output line. or SRDY. Asynchronous Ready Data Bus Control Many systems have devices or subsystems that are asynchro- Fig. 26, 27, and 28 show how the DT/R, DEN, data bus, nous to, the system clock. As a result, their ready outputs and address signals operate for different combinations cannot be guaranteed to meet the MBl82284 SRDY of read, write, and idle bus operations. DT/R goes active setup and hold time requirements. But the MBl82284 (lOW) for a read operation. DT/R remains HIGH before, asynchronous ready input (ARDY) is designed to accept durir>g, and between write operations. such signals. The ARDY input is sampled at the beginning of each Tc cycle by MBl82284 synchronization logic. The data bus is driven with write data during the second This provides one system ClK cycle time to resolve its phase of Ts. The delay in write data timing allows the value before broadcasting it to the bus master and bus read data drivers, from a previous read cycle, sufficient controller. time to enter 3-state OFF before the MBl80286 CPU begins driving the local data bus for write operations. Write ARDY or ARDYEN must be HIGH at the end of Ts. data will always remai n valid for one system clock past the ARDY cannot be used to terminate bus cycle with no last Tc to provide sufficient hold time for Multibus or other wait states. similar memory or I/O systems. During write-read or write- Each ready input of the MBl82284 has an enable pin idle sequences the data bus enters 3-state OFF during (SRDYEN and ARDYEN) to select whether the current the second phase of the processor cycle after the last bus operation will be terminated by the synchronous or Tc. In a write-write sequence the data bus does not enter asynchronous ready. Either of the ready inputs may ter- 3-state OFF between Tc and Ts. minate a bus operation. These enable inputs are active 1-30 I 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80286-8 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII MBl 80286-6 Bus Usage The MBl80286 local bus may be used for several func- transfers, interrupt acknowledge, and halt/shutdown. This tions: instruction data transfers, data transfers by other section describes local bus activities which have special bus masters, instruction fetching, processor extension data signals or requirements. Fig. 26 - BACK TO BACK READ-WRITE CYCLES Fig. 27 - BACK TO BACK WRITE-READ CYCLES READ CYCLE I --T,--i---- I ¢1 Y <1>2 I ¢1 Tt ¢2' I • ¢1 ClK A23-AO _-J."""v"\ _ _ _-+..:..;.;;;;.;.:.._..J SO'S1 D15-DO - - - - - - - - - - MRDC MWTC DEN DT/R 1-31 --------.-----~----~-.--- 1111111111111111111111111111111111111111111111111111 MBl 80286-8 FUJITSU MBl 80286-6 1111111111111111111111111111111111111111111111111111 Fig. 28 - BACK TO BACK WRITE·WRITE CYCLES eLK A23-AO 50·51 015-00------- OEN OT/R VOH----------------------------------------------------------------- HOLD and HLDA A prefetch bus operation starts when at least two bytes of the 6·byte prefetch queue are empty. HOLD and HlDA allow another bus master to gain con· trol of the local bus by placing the MBl80286 bus into The prefetcher normally performs word prefetches in- the Th state. The sequence of events required to pass con· dependent of the byte alignment of the code segment trol between the MBl 80286 and another local bus master base in physical memory. are shown in Fig. 29. The prefetcher will perform only a byte code fetch opera- In this example, the MBl 80286 is initially in the Th state tion for control transfers to an instruction beginning on a as signaled by HlDA being active. Upon leaving Th, as sig· numerically odd physical address. naled by HlDA going inactive, a write operation is started. Prefetchi ng stops whenever a control transfer or H l T During the write operation another local bus master re- instruction is decoded by the IU and placed into the quests the local bus from the M Bl 80286 as shown by the instruction queue. HOLD signal. After completing the write operation, the MBl80286 performs one Ti bus cycle, to guarantee write In real address mode, the prefetcher may fetch up to data hold time, then enters Th as signaled by HlDA going 6 bytes beyond the last control transfer or Hl T instruc- active. tion ina code segment. The CMDl Y signal and ARDY ready are used to start In protected mode, the prefetcher will never cause a seg· and stop the write bus command, respectively. Note that ment overrun exception. The prefetcher stops at the last SRDY must be inactive or disabled by SRDYEN to guar· physical memory word of the code segment. Exception antee ARDY will terminate the cycle. 13 will occur if the program attempts to execute beyond the last full instruction in the code segment. Instruction Fetching If the last byte of a code segment appears on an even The MBl80286 Bus Unit (BU) will fetch instructions physical memory address, the prefetcher will read the ahead of the current instruction being executed. This next physical byte of memory (perform a word code activity is called prefetching. It occurs when the local bus fetch). The value of this byte is ignored and any at· would otherwise be idle and obeys the following rules: tempt to execute if causes exception 13. 1-32 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 1111111111111111111111111111111111111111111111111111 MBL 80286-6 Fig. 29 - MUL TIBUS WRITE TERMINATED BY ASYNCHRONOUS READ WITH BUS HOLD BUS CYCLE TYPE ClK HOLD HlDA (!) co (SEE NOTE 1.) E NOTE 1.1 N o co ...J g,·SO---------- m :;;: A23-AO M/lO.---------- COD/INTA BHE, l O C K - - - - - - - - - - - D15-DO--------------- S~~%~~~~ NOT READY NOT READY (SEE NOTE 7.1 ARDY + ~~~~~~~~= ARDYEN~~~~~~~~~~~~~~~~ CM Dl Y ""=="",="",,,",=,,",=,,",,,",=,,",,,",=2 of Tc. 3. SHE and LOCK may start floating after the end of any Tc depending on when internal MBL 80286 bus arbiter decides to release bus to external HOLD. The float starts in 1>1 of Te. 4. The minimum HOLD to HLDA times is shown. Maximum is one Th longer. 5. The earliest HOLD time is shown. It will always allow a subsequent memory cycle if pending is shown. 6. The minimum HOLD to HLDA time is shown. Maximum is a function of the instruction, type of bus cycle and other machine status (i.e., Interrupts, Waits, Lock, etc.) 7. Asynchronous ready allows termination of the cycle. Synchronous ready does not signal ready in this example. Synchronous ready state is ignored after ready is signaled via the asynchronous input. 1-33 IIIIIIIIIIIIIIIIIIIIIIIIII~IIIIIIIIIIIIIIIIIIIII MBl80286-8 FUJITSU MBL 80286-6 1111111111111111111111111111111111111111111111111 Processor Extension Transfers Local Bus Usage Priorities The processor extension interface uses I/O port addresses The MBl80286 local bus is shared among several internal 00F8(Hl. OOFA(H), and OOFC(H) which are part of the units and e~ternal HOLD requests. In case of simultaneous I/O port address range reserved by intel. An ESC instruc· requests, their relative priorities are: tion with Machine Status Word bits EM = 0 and TS = 0 (Highest) Any transfers which assert lOCK either ex· will perform I/O bus operations to one or more of these plicitly (via the lOCK instruction prefix) or I/O port addresses independent of the value of 10Pl and implicitly (i.e. segment descriptor access, CPL interrupt acknowledge sequence, or an XCHG ESC instructions with memory references enable the with memory). CPU to accept PEREa inputs for processor extension operand tral'sfers. The CPU will determine the operand The second of the two byte bus operations starting address and read/write status of the instruction. required for an odd aligned word operand. For each operand transfer, two or three bus operations The second or third cycle of a processor exten· are performed, one word transfer with I/O port address sion data transfer. OOFA(H) and one or two bus operations with memory. Three bus operations are required for each word operand local bus request via HOLD input. aligned on an odd byte address. Processor extension data operand transfer via Interrupt Acknowledge Sequence PEREa input. Fig. 30 illustrates an interrupt acknowledge sequence Data transfer performed by EU as part of an performed by the MBl80286 in response to an INTR instruction. input. An interrupt acknowledge sequence consists of two INTA bus operations. The first allows a master MBl 8259A (lowest) An instruction prefetch request from BU. The Programmable Interrupt Controller (PIC) to determine EU will inhibit prefetching two processor which if any of its slaves should return the interrupt clocks in advance of any data transfers to vector. An eight bit vector is read on 00-07 of the minimize waiting by EU for a prefetch to MBl80286 during the second INTA bus operation to finish. select an interrupt handler routine from the interrupt table. Halt or Shutdown Cycles The Master Cascade Enable (MCE) signal of the MBl 82288 is used to enable the cascade address drivers, during INTA The MBl 80286 externally indicates halt or shutdown con· bus operations (See Fig. 30). onto the local address bus ditions as a bus operation. These conditions occur due to for distribution to slave interrupt controllers via the system a Hl T instruction or multiple protection exceptions while address bus. The MBl80286 emits the lOCK signal attempting to execute one instruction. A halt or shut· (active lOW) during Ts of the first INTA bus operation. A down bus operation is signalled when 51, SO and COD/ local bus "hold" request will not be honored until the INTA are lOW and M/TO is HIGH. Al HIGH indicates end of the second INTA bus operation. halt, and Al lOW indicates shutdown. The M8l82288 bus controller does not issue ALE, nor is READY required Three idle processor clocks are provided by the M8l 80286 to terminate a halt or shutdown bus operation. between INTA bus operations to allow for the minimum INTA to INTA time and CAS (cascade address) out delay During halt or shutdown, the MBl80286 may service of the MBl 8259A. The second INTA bus operation must PEREa or HOLD requests. A processor extension seg· always have at least one extra Tc state added via logic ment overrrun exception during shutdown will inhibit controlling READY. A23-AO are in 3'state OFF until after further service of PEREa. Either NMI or RESET will the first Tc state of the second INTA bus operation. This force the MBl80286 out of either halt or shutdown. An prevents bus contention between the cascade address INTR. if interrupts are enabled, or a processor extension drivers and CPU address drivers. The extra Tc state allows segment overrun exception will also force the MBl80286 time for the MBl80286 to resume driving the address out of halt. Ii nes for subsequent bus operations, 1-34 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80286-8 1111111111111111111111111111111111111111111111111111 MBl 80286-6 Fig. 30 - INTERRUPT ACKNOWLEDGE SEQUENCE 51·50 MilO. COD/INTA ~ A23-AO~---------~ (SEE NOTE 5.1 r-------""')- DON'T CARE . ____(SE_E _NO_TE_5.J ""'....._ __ BHEW»»»»»)-----------<....._ _DO_N_'T_C_A_RE_....J>---------_<=: ~EE NOTE 1.1 ~ D15-DO w~~i~~OYUCSLE }------~----------------~-- ON 07--DO (SEE NOTE 2.1 (SEE NOTE 3.1 B\\\\ /IIIIIIII!/III/IIJ!l \\\\\\\\ $I!III!/!IIIIII!IIIIII!I!/!I!I1/11I!!iiI/IIII!/!I /I \\\\\\\\ I1I11l!!ll , REA D Y NOT READY READY NOT READY READY INTA ~ _ _...JI 'I...._ _. . .r- MCE f \ ~_ _ _ _ _ _ __...Jf\~_______ co co '"co'" ALE n ~ ______________...Jr_\~_________ , ..J III ,'--------', :;;; DTIR ~------,I DEN 1 \1...._ _ _ _ _ _---'1 NOTES: 1. Data is ignored. 2. First INTA cycle should have at least one wait state inserted to meet MBl 8259A minimum INTA pulse width. 3. Second INTA cycle must have at least one wait state inserted since the CPU will not drive A23-AO, SHE, and LOCK until after the first Tc state. The CPU imposed one/clock delay prevents bus contention between cascade address buffer being disabled by MCE t and address outputs. Without the wait state, the MBL 80286 address will not be valid for a memory cycle started immedi- ately after the second INTA cycle. The MBl 8259A also requires one wait state for minimum INTA pulse width. 4. lOCK is active for the first INT A cycle to prevent the Intel 82289 from releasing the bus between I NT A cycles in a multi-master system. 5. A23-AO exits 3-state OFF during 1>2 of the second Tc in the INTA cycle. 1·35 1111111111111111111111111111111111111111111111111 MBl 80286-8 FUJITSU MBl 80286-6 1111111111111111111111111111111111111111111111111 Fig. 31 - BASIC MBL 80286 SYSTEM CONFIGURATION Vee Vee Vee MRDe ~--------------------MEMORYREAD ~~ 910n AEN ~D~ '5% t-:====h====== MWTC ! - - - - - - - - - - - M E M O R Y WRITE AESET--+~---JL-.~R MB IORC ~ CMDLY X2 Xl ( lowe ... 1/0 READ liD WRITE INTA r - - - H - r - - - - - INTERRUPT ACKNOWLEDGE 1 - ES PCLK RE~~~ SO 51 SO 51 Mcel====tt:t=:l ~~~DY ~~~~ ALE f~ ===:; r----' ~=~~~~~oY DECODE ADV.o,NCED CHIP - EFI MBl82288BUS r - ...J I r- """"~(OPTIONAL)I SELECTS - r - Fe I CONTROl~/~~ I r _..J I r-v'1 I ~ I ~ I I r- ~ I '- ____ ..J SYNC READY~ SRDY NABLE ____ SRDYEN RESET lit , I I _...1 I 'r I I _J ~ ASYNC READY--- ARQY I RESET MilO I I I L- ~ NABLE---- ARDYEN MBL82284 I I I I LOCK - , ClKCODIiNTA-t----l I I I I I ---- ~ DE ~ADDRESS BUS CLOCK J I ~ READY MBl8282 I I I d--- 550' t Vee~GENERATDR A23-AO 0,8383 ~ 1 Iji:::: NMI ~~ OKn Ir======-~ I I I-HO. ,- - - --1-1"1 - ~~~~R LD: BHE!-7I-+-H--+-+..:j I II j -- ~ CASO-2 LATCH AOi-- I BUSY INTR ......, "f" INT CS~CHtP SELECT L-1-r-L~I-t----r-r-'--PEACK I INTA I 1 1 I I r t- - - -.I i i - PEREO CAP -j-, '-----JWR I I 1 I 1 I r-- --' I 1 1 I MBL80286 I r- - iI± ~ CPU '----~~RD SP/EN , • 1I 111I 1 I c-- I~ t~ V~ :¥ii£~?bR ~'RO-IR7 015-00 r_LLLLtJ1J1J __ "'-___ __J ,-Y I 80287 I I PROCESSOR I,..-L - - ~ " {~XP~T~~~L~ L _ _ _ _ _ _ _ _ _ _ _ _ .J ,"-.r - - '-----~------'v/1 ~~:0~~ ~ I----.."" • DE MBL 8286 ora2S7 k=> DATA BUS L-----------~T - SYSTEM CONFIGURATIONS The MBL 80286 and Intel 80287 numeric data processor The versatile bus structure of the MBL 80286 microsystem, which includes the 80287 numeric processor extension with a full complement of support chips, allows flexible (NPXI uses this interface. The MBL 80286 and Intel 80287 configuration of a wide range of systems. The basic con- microsystem has all the instructions and data types of an figuration, shown in Fig. 31, is similar to an MBL 8086 MBL 8086 and Intel 8087 or MBL 8088 and Intel 8087 maximum mode system. It includes the CPU plus an system. The 80287 NPX can perform numeric calculations MBL 8259A interrupt controller, MBL 82284 clock genera- and data transfers concurrently with CPU program execu- tor, and the MBL 82288 bus controller. The MBL 8086 tion. Numerics code and data have the same integrity as latches (MBL 8282 and 82831 and transceivers (MBL 8286 all other information protected by the MBL 80286 protec· and 82871 may be used in an MBL 80286 microsystem. tion mechanism. As indicated by the dashed lines in Fig. 31, the ability The MBL 80286 can overlap chip select decoding and ad- to add processor extensions is an integral feature of dress propagation during the data transfer for the pre- MBL 80286 microsystems. The processor extension inter- vious bus operatio!\. This information is latched into the face allows external hardware to perform special func- MBL 8282/3's by ALE during the middle of a Ts cycle. The tions and transfer data concurrent with CPU execution latched chip select and address information remains stable of other instructions. Full system integrity is maintained during the bus operation while the next cycles address is because the MBL 80286 supervises all data transfers and being decoded and propagated into the system. Decode instruction execution for the processor extension. logic can be implemented with a high speed bipolar PROM. 1-36 1111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 IIIIII~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII MBL 80286-6 Fig. 32 - MULTIBUS®* SYSTEM BUS INTERFACE Vee Vee 20Kn ~ SYSB RES:ClKf----} ~-+--t--+--tRESET INIT~ 91 en. ~~~~YS BRECr----- MULTIBUS ±5% ~ CROlCK BPRO . - SO BPRN_ - BUS ARBITRATION t - s, BUSY- '-----+---i-t,--/REAOY CBRO_ ClK lOCK_ r-t-+-+-t-+-tAEN MIIO_ 8228~lOCK - r- BUS ARBITER Vee Vee MRDCI§t~~~§~§~~~ ~ riCh '-+-+-t--t-tAEN MB MWTC MEMORY WRITE MEMORY READ ~ IORC I/O READ '-"'X'::-2-""X!-:" ~~~; ,'~~~~'3;T ACKNOWLEDGe RESET RES so SO ALE 51 51 MCEt-~--rt-r--' I -PCLK READY READY DEN r-- - r- -+ _ - EFI FIe elK II elK DT R ~~~~~~~,"E'i,S CMOLY MIlO SYNC READY_ SRDY RESETH-+--t-t--t-t---, I -;,. , ENA8lE_ SRDYEN I I r-- .--- ASYNC READY- ARDV I I RESET MIlO r-- I I '- STB ~ ADDRESS BUS ENABlE_ ARDYEN lOCKr--- Vee M~tggr I I f.. ClK COD INTAh '--- OE 9 GENERATOR I I I H- ~fADY A22-AO.~=:::;:~~~:;::;:=~ MBl 8283 I I I ~ so t- LATCH _____ J I I I I NMI BHE ~~ 20Kn ~ I .J I I I f.. HOLD I - f I r----r-=--+++-i- ~~~~R JI CASO-2 A0i- I BUSY INTR ..... INT cs t-- CHIP SELECT L------H-.l-!,-t----rt-t-I PEACK I INTA I I I : I rt---t-t-t-~ PEREQ I I I I I I I r--' I I I I I I I I I I I r-J JI I I I I I I I I I I r- I I I I I I I I I I I r- J rllJ...l.llLl11~ CAPH-, M8l80286 I D~;~DO I1= I iT I r \ l...... ~/ I' WR ~~EN ,';:.~~~~~~ CONTROllER I~ K:::='RO-IR7 I ' I 80287 r-.;---- __ ..J rt====1 :L _________ ~~~~S~l~ .Jf~===L~===~===::...:I--~=~OE L-..J... TRANS- MBl8287 ~ DATA BUS CEIVER '---------1T '-- The optional decode logic shown in Fig. 31 takes advantage I/O, code and data bus cycles. of the overlap between address and data of the MBl 80286 By adding the 82289 bus arbiter chip the MBl80286 bus cycle to generate advanced memory and 10-select provides a Multibus system bus interface as shown in Fig. signals. This minimizes system performance degradation 32. The ALE output of the MBl 82288 for the MUl TIBUS caused by address propagation and decode delays. In ad- bus is connected to its CMDl Y input to delay the start of dition to selecting memory and I/O, the advanced selects commands one system ClK as required to meet MUl Tr- may be used with configurations supporting local and BUS address and write data setup times. This arrangement system buses to enable the appropriate bus interface for will add at least one extra Tc state to each bus operation each bus cycle. The COD/INTA and M/iO signals are ap- which uses the MU l TIBUS. plied to the decode logic to distinguish between interrupt, * MUl TIBUS is a patented bus of Intel. 1·37 1111111111111111111111111111111111111111111111111 MBL 80286-8 FUJITSU MBL 80286-6 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIm Fig. 33 - MBl80286 SYSTEM CONFIGURATION WITH DUAL-PORTED MEMORY MBL 8286 MBL 8287 DATA 015-00 OTiR R ADY MBl80286 CPU XACK MUl TIBUS COMMAND (MRDe, MWTC) LOCAL SELECT ADDRESS A23-AO, SHE, LOCK A second -MBl 82288 bus controller and additional latches Fig. 33 shows the addition of dual ported dynamic memory and transceivers could be added to the local bus of Fig. 32. between the MUl TIBUS system bus and the MBl 80286 This configuration allows the MBl80286 to support local bus. The dual port interface is provided by the 8207 an on-board bus for local memory and peripherals, and Dual Port D RAM Controller. The 8207 runs synchronously the MUl T1BUS for system bus interfacing. with the CPU to maximize throughput for local memory Table 16 - MBl 80286 SYSTEMS RECOMMENDED PUll UP RESISTOR VALUES MBl 80286 Pin and Name Pullup Value Purpose 4 -51 5 - SO 20k,Q ± 10% Pull 50,51, and PEACK inactive during MBl80286 hold periods 6 - PEACK 53 - ERROR Pull ERROR and BUSY inactive when 80287 not present 20k,Q ± 10% 54 - BUSY (or temporarily removed from socket) 63 - READY 910.11 ± 5% Pull READY inactive within required minimum time (C L = 150pF, IR ;:;: 7mA) 1·38 IIIIIIIIIIIIIIIIII~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII FUJITSU MBl80286-8 1111111111111111111111111111111111111111111111111111 MBl80286-6 references. It also arbitrates between requests from the error correction. The dual-ported memory can be combi ned local and system buses and performs functions such as with a standard MULTIBUS system bus interface to maxi· refresh, initialization of RAM, and read/modify/write mize performance and protection in multiprocessor system cycles. The 8207 combined with the 8206 Error Checking configurations. and Correction memory controller provide for single bit *NOTE: Permanent device damage may occur if ABSO· ABSOLUTE MAXIMUM RATINGS* LUTE MAXIMUM RATINGS are exceeded. Ambient Temperature Under Bias . . . . . . . . aOc to 70°C Functional operation should be restricted to the Storage Temperature. . . . . . . . . . . .. -65°C to +150°C conditions as detailed in the operational sections Voltage on Any Pin with of this data sheet. Exposure to absolute maxi· Respect to Ground . . . . . . . . . . . . . . . . -1.0 to +7V mum rating conditions for extended periods may Power Dissipation. . . . . . . . . . . . . . . . . . . .. 3.3 Watt affect device reliability. NOTICE: Specifications contained within the following tables are subject to change. MBl80286·6 MBl80286-8 (6 MHz) (8 MHz) Symbol Parameter Unit Test Condition Min Max Min Max V IL Input lOW Voltage -0.5 0.8 -0.5 0.8 V V IH Input HIGH Voltage 2.0 V ee +{)·5 2.0 Vee+0 .5 V VILe ClK Input lOW Voltage -0.5 0.6 -0.5 0.6 V VIHe CLK Input HIGH Voltage 3.8 Vee+0 .5 3.8 Vee+0 .5 V VOL Output LOW Voltage 0.45 0.45 V IOL =2.0mA VO H Output HIGH Voltage 2.4 2.4 V IOH = -4001'A ILl Input Leakage Current ±10 ±10 IlA OV~VIN~Vee Input Sustaining Current on IlL 30 500 30 500 Il A VIN = OV BUSY and ERROR pins I LO Output Leakage Current ±10 ±10 Il A 0.45V~VOUT~Vee I LO Output Leakage Current ±1 ±1 mA OV~VOUT~0.45V ICC Supply Current (turn on, O°C) 600 600 mA Note 1 CeLK elK Input Capacitance 20 20 pF Fe = 1MHz CIN Other Input Capacitance 10 10 pF Fe = 1 MHz Co Input/Output Capacitance 20 20 pF Fe = 1MHz NOTE 1: Low temperature is worst case, 1-39 1111111111111111111111111111111111111111111111111 MBl80286-8 FUJITSU MBl 80286-6 1111111111111111111111111111111111111111111111111 A.C. CHARACTERISTICS (Vee = 5V ±5%, TA = aOc to + 55°C, or TeAsE = aOc to + 85°C) AC timings are referenced to 0.8V and 2.0V points of signals as illustrated in datasheet waveforms, unless otherwise noted. MBl80286·6 MBl80286·8 (6MHzl (8MHz) Symbol Parameter Unit Test Condition Min Max Min Max 1 System Clock (ClK) Period 83 250 62 250 ns 2 System Clock (ClK) lOW Time 20 225 15 225 ns at 1.0V 3 System Clock (ClK) HIGH Time 25 230 25 235 ns at 3.6V 17 System Clock (elK) Rise Time 10j 10 ns 1.0V to 3.6V 18 System Clock (ClK) Fall Time 10 10 ns 3.6V to 1.0V 4 Asynch. Inputs Setup Time 30 20 ns Note 1 5 Asynch. Inputs Hold Time 30 20 ns Note 1 6 RESET Setup Time 33 28 ns 7 RESET Hold Time 5 5 ns 8 Read Data Setup Time 20 10 ns 9 Read Data Hold Time 8 8 ns 10 READY Setup Time 50 38 ns 11 READY Hold Time 35 25 ns 12 Status/PEACK Val id Delay 1 55 1 40 ns Note 2, Note 3 13 Address Valid Delay 1 80 1 60 ns Note 2, Note 3 14 Write Data Valid Delay 0 65 0 50 ns Note 2, Note 3 15 Address/Status/Data Float Delay 0 80 0 50 ns Note 2, Note 4 16 HlDA Valid Delay 0 80 0 50 ns Note 2, Note 3 19 Address Valid to Status Valid Setup Time - 38 Note 3,5, and 6 NOTE 1: Asychronous inputs are INTR, NMI, HOLD, PEREO, ERROR, and BUSY. This specification is given only for testing purposes, to assure recognition at a specific elK edge. NOTE 2: Delay from O.8V on the elK, to O.8V or 2.0V or float on the output as appropriate for valid or floating condition. NOTE 3: Output load: C L = 100pF. NOTE 4: Float condition occurs when output current is less than I LO in magnitude. NOTE 5: Delay measured from address either reaching O.8V or 2.0V (Valid) to status gOing active reaching 2.0V or status going inactive reaching o.av. NOTE 6: For load capacitance of 10pF on Status/PEACK lines, subtract typically 7ns for 8M Hz spec, 1-40 ~111111~~~lmmil~HI FUJITSU MIL 80286-8 11~111~1111~~II~I~~~ilil~~Wn MIL 80286-6 NOTE 7: AC Test loading on Outputs g5~~~T----------------'~ r CL NOTE 8: AC Drive and Measurement Points - ClK Input 4.0V Cl~ INPUT NOTE 9: AC Setup. Hold and Delay Time Measurement - General 4.0V ClK INPUT O.45V----- tSETUP tHOLD 2.4V OTHER 2.0V 2.0V DEViCE INPUT O.8V O.8V O.45V 2.0V DEVICE OUTPUT O.8V 1-41 1111111111111111111111111111111111111111111111111111 MBl 80286-8 FUJITSU MBl 80286-6 1IIIIIIIIIIjlllllllllllllllllllllllllllllllllllllili WAVEFORMS MAJOR CYCLE TIMING READ BUS CYCLE TYPE (T,ORTs) Tc Ts Tc ClK ~.w------~~~~I 1'--+----+-.11 '" 00 '" o 00 .J '" :2: l PClK ALE CMDlY 00 00 MWTC '"'" 00 .J '" :2: MRDC DT/R ~l:t@c: = DEN ------------------~-®f== ~----------~~~ NOTE: For timing requirements of the MBl 82284 and MBl 82288, refer to the data sheets of the MBl 82284 and MBl 82288. 1-42 1111111111111111111111111111111111111111111111111 FUJITSU MBL 80286-8 Immllllll~1111111111111111111111111111111111 MBL 80286-6 WAVEFORMS (Continued) MBl80286 ASYNCHRONOUS INPUT MBl80286 RESET INPUT TIMING AND SIGNAL TIMING SUBSE~UENT PROCESSOR CYCLE PHASE BUS CYCLE TYPE ClK ClK PClK (SEE NOTE 1.) INTR, NMI HOLD, PEREQ ClK (SEE NOTE 2.1 ~"""""f"'!:""I'----'f'~"""""" ERROR, BUSY """"'1-""""",,1 rm7m7m'" ,--"""'" (SEE NOTE 2.1 "'''I'---+-.JI''''''''"''''''"'''' '-_ _ _ ' ' :1.1. NOTES: NOTE: 1. PCLK indicates which processor cycle phase will occur on the When RESET meets the setup time shown, the next elK will start next elK, PCLK may not indicate the correct phase until the or repeat 2 of a processor cycle. first bus cycle is performed. 2. These inputs are asynchronous. The setup and hold times shown assure recognition for testing purposes. EXITING AND ENTERING HOLD BUS CYCLE TYPE ClK HlDA BHE, lOCK A23-AO (SEE NOTE 5.) ~------- COD/INTA . i[ co PClK _ _ _-.J NOTES: 1. These signals may not be driven by the MBl 80286 during the time shown. The worst case in terms of latest float time is shown. 2. The data bus will be driven as shown if the last cycle before TI in the diagram was a write Tc. 3. The MBl 80286 floats its status pins during TH. External 20kn resistors keep these signals high (see Table 16). 4. For HOLD request set up to HLDA, refer to Fig. 29. 5. BHE and lOCK are driven at this time but will not become valid until Ts. 6. The data bus will remain in 3~state OFF if a read cycle is performed. 1-43 1111111111111111111111111111111111111111111111111111 MIL 80286-8 FUJITSU MIL 80286-6 1111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) MBL 80286 PEREQ/PEACK TIMING FOR ONE TRANSFER ONLY BUS CYCLE TYPE Ts ClK MEMORY WAITE IF PAGe. EXT. TO MEMORY EXT. 110 WRITE IF MEMORY TO PRGe. EXT. / MEMORY ADDRESS IF PAQe. EXT. TO MEMORY TRANSFER I/O PORT ADDRESS OOFA(H) IF MEMORY TO PRce. EXT. TRANSFER A23-AO __,,~,-~__________~____~ M/iO COD/INTA--~-J~+-----------~~~-+n---~-------------------J''---------------- ASSUMING WORD-ALIGNED MEMORY OPERAND. IF ODD ALIGNED, MBl 80286 TRANSFERS TO/FROM MEMORY BYTE-AT-A-TIME WITH MEMORY CYCLES. NOTES: 1. PEACK always goes ac~ive during the first'bus operation of a processor extension data operand transfer sequence. The first bus operation will be either a memory read at operand address or 1/0 read at port address OOFA(H). 2. To prevent a second processor extension data operand transfer, the worst case maximum time (Shown above) is: 3x (0- @ max.- (3) min. The actual, configuration dependent, maximum time is: 3x (0 - @ max. - 0min. + Ax2x CD. A is the number of extra Tc states added to either the first or second bus operation of the processor extension data operand transfer sequence. 1-44 illllllllllllllllllllllllllllllllllllllllllllllllill FUJITSU MBL 80286-8 1111111111111111111111111111111111111111111111111111 MBL 80286-6 WAVEFORMS (Continued) INITIAL MBl80286 PIN STATE DURING RESET BUS CYCLE TYPE Tx Tx TI ClK 2 1 r-J ~I (SEE NOTE~ 2~.)(6) -10 @1:- RESET n*-F-----------~--~----------~--~------~ ~----r_----___4 ~·So--------------------------~----------_r----~--------~i~-------- PEACK--------------~U~N~K~N~O~W~N~--~----------__~__~ A23-AO----------------U-N-K-NO-W--N----~-----------r-----+--~----~I~------­ BHE--------------~~~~----~----------_r-----+~JI M/W----------------U-N-K-N~O-W-N----~-----------r-----+--~I COD/INTA--------------~~~~----~----------_r-----+--~~--~,~------- lOCK ______________~U~N~K~N~O~W~N~__~--------------JI IF HOLD IS NOT ACTIVE (SEE NOTE 4.) HlDA ______________~U~N~KN_O~W __N________~----------------------~~------_ NOTES: 1. Setup time for RESET t may be violated with the consideration that 1P1 of the processor clock may begin one system elK period later. 2. Setup and hold times for RESET ~ must be met for proper operation, but RESET ~ may occur during ¢1 or IOPL. 5. Processor extension segment overrun interrupt (91 will occur if the operand exceeds the segment limit. 15. The I F field of the flag word is not updated if CPL > IOPL. The IOPL field is updated only if EITHER MODE CPL = O. 6. An exception may occur, dependi ng on the value of the operand. 16. Any violation of privilege rules as applied to the selector operand do not cause a protection exception; 7. LOCK is automatically asserted regardless of the rather, the instruction does not return a result and presence or absence of the LOCK instruction prefix. the zero flag is cleared. 8. LOCK does not remai n active between all operand 17. If the starting address of the memory operand vio· transfers. lates a segment limit, or an invalid access is at- tempted, a general protection exception (131 will PROTECTED VIRTUAL ADDRESS MODE ONLY occur before the ESC instruction is executed. A stack 9. A general protection exception (131 wi II occur if the segment overrun exception (121 will occur if the stack memory operand can not be used due to either a limit is violated by the operand's starting address. If segment limit or access rights violation. If a stack a segment limit is violated during an attempted data segment limit is violated, a stack segment overrun transfer then a processor extension segment over- exception (121 occurs. run exception (91 occurs. 10. For segment load operations, the CPL, RPL, and 18. The destination of an INT, JMP, CALL, RETor IRET OPL must agree with privilege rules to avoid an ex· instruction must be in the defined Ii mit of a code seg· ception. The segment must be present to avoid a ment or a general protection exception (131 will occur. not-present exception (111. If the SS register is the 1-47 1111111111111111111111111111111111111111111111111111 MBL 80286-8 FUJITSU MBL 80286-6 1111111111111111111111111111111111111111111111111111 MBl 80286 INSTRUCTION SET SUMMARY CLOCK COUNT COMMENTS Pro- Pro- FUNCTION FORMAT Real tected Real tectad Address Virtual Address Virtual Mode Addre.. Mode Address Mode Mode DATA TRANSFER MOV = Move: Register to Register/memory I 11 000 1 00 w mod reg rim I 2,3- 2,3" 2 9 Register/memory to register 11000101 wlmodreg rim I 2,5* 2,5- 2 9 Immediate to register/memory I 11 1 000 1 1 w mod 000 rim I data I data if w - 1 I 2,3* 2,3* 2 9 Immediate to register 11011 w reg I data I data if w = 1 I 2 2 Memory to accumulator 110 1 0000wl addr-Iow I addr-high I 5 5 2 9 Accumulator to memory 11010001wl I addr-high I addr-Iow 3 3 2 9 Register/memory to segment 11 000 1 1 1 0 Imod 0 reg rim I 2,5* 17,19" 2 9,10,11 register Segment register to register/ 11 000 1 1 00 Imod 0 reg rim I 2,3- 2,3* 2 9 memory PUSH = Push: Memory I mod 110 rim I 11 1 1 1 1 1 1 1 5* 5- 2 9 Register 101010reg I 3 3 2 9 Segment register 1000reg 11 0 I 3 3 2 9 }v POP = Pop: Memory 11 000 1 1 1 1 I mod 000 rim I 5* 5* 2 9 Register 101011 reg I 5 5 2 9 Segment register 1000 reg 1111 (reg", 01) 5 20 2 9,10,11 XCHG = Exchange: Register/memory with register 110000 11w lmodreg r/ml 3,5* 3,5" 2,7 7,9 Register with accumulator 110010reg I 3 3 IN = Input from: Fixed port 11110010wl port I 5 5 14 Variable port 11110110wl 5 5 14 OUT a Output to: Fixed port 11110011 wi port I 3 3 14 Variable port 111 1 0111 wi 3 3 14 XLAT = Translate byte to AL 11101011 1 I 5 5 9 LEA = Load EA to register 11 0 0 0 1 1 0 1 I mod reg rim I 3- 3* LOS = Load pointer to OS 1110001011 mod reg rim I (mod", 11) 7* 21* 2 9,10,11 LES = Load pointer to ES 11 1 000100 I mod reg rim I (mod",ll) 7* 21* 2 9,10,11 LAHF = Load AH with flags 110011111 I 2 2 SAHF = Store AH into flags 11001 1 1 101 2 2 PUSHF = Push flags 11001 1 100 I 3 3 2 9 POPF = Pop flags 11001 1 101 I 5 5 2,4 9,15 Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. 1-48 1IIIIIIIIIIIIImllllllllllllllllllllllllllllllllili FUJITSU MIL 10216-8 1111111111111111111111111111111111111111111111111111 MIL 80286-6 MBl 80286 INSTURCTION SET SUMMARY (Continued) CLOCK COUNT COMMENTS Pro- Pro- FUNCTION FORMAT Real tectad Real tectad Address Virtual Address Virtual Mode Address Mode Address Mode Mode ARITHMETIC ADO = Add: Reglmemory with register to either 1 a a a a a a d w 1 mod reg rim 1 2,7" 2,7" 2 9 Immediate to register/memory 11 a a a a a s w 1 mod 000 rim 1 data 1 data if s w-011 3,7" 3,7* 2 9 Im"mediate to accumulator 10000010wl data 1 data if w - 1 1 3 3 ADC = Add with carry: Reglmemory with register to either 1 a a a 1 a a d w 1 mod reg rim 1 2,7* 2,7* 2 9 Immediate to register/memory 110 a a a as w 1 mod 010 rim 1 data 1 data if s w-011 3,7" 3,7" 2 9 Immediate to accumulator 10001010wl data 1 data if w = 1 1 3 3 INC = Increment: Register/memory 11 1 1 1 1 1 1 wi mod 000 rim 1 2,7" 2,7* 2 9 Register 101000reg 1 2 2 SUB = Subtract: Reg/memory and register to either 1 a a 1 a 1 a d w 1 mod reg rim 1 2,7 2,7* 2 9 Immediate from register/memory 11 00000swlmod101 rim I data I data if sw-01 I 3,7" 3,7" 2 9 Immediate from accumulator 10010110wl data 1 data if w = 1 1 3 3 SBa = Subtract with borrow: Reg/memory and register to either 1000110dwimodreg rim 1 2,7" 2,7* 2 9 Immediate from register/memory 11 a a a a a s w 1 mod 011 rim 1 data 1 data ifsw=011 3,7" 3,7" 2 9 Immediate from accumulator 10001110wl data I data if w = 1 I 3 3 DEC = Decrement: Register/memory 11 1 1 1 1 1 1 w 1 mod 001 rim 1 2,7" 2,7" 2 9 Register 10100 1 reg 1 2 2 CMP = Compare: Register/memory with register 10011101wlmodreg rim 1 2,6" 2,6* 2 9 Register with register/memory 10011100wimodreg rim I 2,7" 2.,7* 2 9 Immediate with register/memory 1100000swlmod111 rim 1 data 1 data if s w-01 1 3,6" 3,6" 2 9 Immediate with accumulator 100 1111 Ow I data I data if w = 1 I 3 3 NEG = Change sign 11 1 1 1 a 1 1 w I mod 011 rim I 2 7" 2 7 AAA = ASCII adjust for add 100 1 10111 1 3 3 DAA = Decimal adjust for add 100 1 a 011 1 1 3 3 AAS = ASCII adjust for subtract 100 1 1 1 1 1 1 1 3 3 DAS = Decimal adjust for subtract 100 10 11 1 1 I 3 3 MUL = Multiply (unsigned): 11 1 1 101 1 w Irnod 100 rim 1 Register-Byte 13 13 Register-Word 21 21 Memory-Byte - 16" 16" 2 9 Memory-Word 24* 24" 2 9 IMUL = Integer multiply (signed): 11 1 1 101 1 w 1mod 101 rim 1 Register-Byte 13 13 Register-Word 21 21 Memory-Byte 16" 16* 2 9 Memory-Word 24" 124" 2 9 Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. 1-49 1111111111111111111111111111111111111111111111111111 MBL 80286-8 FUJITSU MBL 80286-6 1111111111111111111111111111111111111111111111111111 MBL 80286 INSTURCTION SET SUMMARY (Continued) CLOCK COUNT COMMENTS Pro- Pro- FUNCTION FORMAT Real tected Real tected Address Virtual Address Virtual Mode Address Mode Address Mode Mode ARITHEMETIC (Continued) IMUL7,lmeQer Imroediate multil?J~ (signed) 101 1 01 0,1 [rood reg rim I data I da,ta if s" 0 I 21,24' 21:24' 2 g;. DIV::= Divide (unsigned): 11 1 1 1 0 1 1 w Imod 110 rim I Register-Byte 14 14 6 6 Register-Word 22 22 6 6 Memory-Byte 17' 17' 2,6 6,9 Memory-Word 25* 25* 2,6 6,9 IDIV"" Integer divide (signed): I 11 1 1 1 0 1 1 w mod 111 rim I Register-Byte 17 17 6 6 Register-Word 25 25 6 6 Memory-Byte 20* 20* 2,6 6,9 Memory-Word 28* 28* 2,6 6,9 AAM = ASCII adjust for multiply 1110101001000010101 16 16 AAD = ASCII adjust for divide 11 1010101 100 0 010101 14 14 CBW = Convert byte to word 110011000 I 2 2 CWO = Convert word to double word 11001 1001 I 2 2 LOGIC Sh ift/Rotate Instructions: Register/Memory by 1 I 11 1 0 1 0 0 0 w mod TTT r~ 2,7* 2,7' 2 9 Register/Memory by CL '="""'" ""," " , I 11 1 0 1 0 0 1 w mod TTT rim I 5+n,8+n* 5+n,8+n* 2 9 ~!e~{MeroQrYRirCOlJ.nf:.;; Yk flo(fo 00", imqd TJ:1:;I,IiT\'l;:; '~\jrit,;;J:\:: ::,;:::i: ~'!itn,g+n' 5+n,a""· 1:::L. ~:::::: TTT Instruction 000 ROL 001 ROR 010 RCL 01 1 RCR 100 SHLISAL 101 SHR 111 SAR AND = And: Reg/memory and register to either 1001000dwimodreg rim I 2,7* 2,7* 2 9 Immediate to register/memory 11 OOOOOOwl mod'100 rim 1 data I data if w - 1 I 3,7* 3,7* 2 9 Immediate to accumulator [iiiiiji 0 lOw I data ! data if w 1 I = 3 3 TEST = And function to flags, no result: Register/memory and register I 11 0 0 0 0 lOw mod reg rim I 2,6* 2,6* 2 9 Immediate data and register! memory 11111011wlmodOOO rim I data I data w = 1 I jf 3,6* 3,6* 2 9 Immediate data and accumulator 11010100wl data I data if w 1 I = 3 3 OR = Or: Reg/memory and register to either I 0 0 0 0 1 0 d w I mod reg rim 1 2,7* 2,7* 2 9 Immediate to register/memory 11 000000 w I mod 001 rim I data I data if w 1 I = 3,7* 3,7* 2 9 Immediate to accumulator IOOO0110wl data I data if w = 1 I 3 3 Shaded areas indicate instructions not available in MBL 8086,88 microsystems. 1-50 11111~llllllllmlIIIOOIIMIII.11 FWITSU MBL 80286-8 1IIIIIImlllllllll~IIII~111111111111111111 MBL 80286-6 MBl 80286 INSTRUCTION SET SUMMARY (Continued) Pro- FUNCTION FORMAT Real tected Address Virtual Mode Mode Address Mode LOGIC (Continued I XOR = Exclusive or: Reg/memory and register to either 1001100dwimodreg r/-;;;J 2,7" 2,7" 2 9 Immediate to register/memory 11 OOOOOOw I mod 110 rim I data I data if w - 1 I 3,7" 3,7" 2 9 Immediate to accumulator 10011010wl data Idataifw-l I 3 3 NOT = Invert register/memory 11 1 1 101 1 w I mod 010 rim 2,7" 2,7" 2 9 STRING MANIPULATION: MOVS = Move byte/word 5 5 2 9 CMPS = Compare byte/word 8 8 2 9 SCAS = Scan byte/word 7 7 2 9 LODS = Load byte/wd to AL/AX 5 5 2 9 CONTROL TRANSFER CALL -Call: Direct within segment 11 1 1 a 1 a a a I disp-Iow disp-high 7+m 7+m 2 18 Register/memory indirect 7+m, 7+m, within segment 11 1 1 1 1 1 1 1 I mod 010 rim 11+rri* 11+m* 2,8 8,9,18 Direct intersegment 1100 110 10 I segment offset 13+m 26+m 2 11,12,18 I segment selector Protected Mode Only (Direct intersegmentl: Via call gate to same privilege level 41+m 8,11,12 18 Via call gate to different privilege level, no parameters 8,11,12 82+m 18 Via call gate to different privilege level, x parameters 86+4x 8,11,12 +m 18 Via TSS 8;11,12 177+m 18 Via task gate 8,11,12 182+1'I'l 18 Indirect intersegment 11 1 1 1 1 1 1 1 I mod all rim 16+m 29+m" 8,9,11 2 12,18 Shaded areas· indicate instructions not available in MBL 8086, 88 microsystems. 1-51 11!llllllllillllml~lllll~mlllmmlllll~11 MIL 80286-8 FUJITSU MIL 80286-6 ~mlmlllll~I~II~I~I~~lmllllllilll~11 MBl80286 INSTRUCTION SET SUMMARY (Continued) CLOCK COUNT COMMENTS Pro- Pro- FUNCTION FORMAT Real tacted Real tacted Addr... Virtual Address Virtual Mode Address Mode Address Mode Mode CONTROL TRANSFER (Continued) Protected Mode Only (Indirect intersegment): 8,9,11 Via call gate to same privilege level 44+m* 12,18 Via call gate to different privilege level, no parameters 83+m* 8,9,11 12,18 Via call gate to different privilege level, x parameters 90+4x 8,9,11 +m* 12,18 180+m* 8,9,11 Via TSS 12,18 185+m* 8,9,11 Via task gate 12,18 JMP - Unconditional jump: Short/long 11 1 101011 I disp~low I 7+m 7+m 18 Direct within segment 111101001 I disp-Iow I disp-high I 7+m 7+m 18 Register/memory indirect within 7+m, 7+m, segment 11 1 1 1 1 1 1 1 I mod 100 rim I 11+m* 11+m* 2 9,18 Direct intersegment 11 1 101010 I segment offset I l1+m 23+m 11,12,18 I segment selector I Protected Mode Only (Direct intersegment): Via call gate to same privilege level 38+m 8,11,12 18 Via TSS 175+m 8,11,12 18 Via task gate 180+m 8,11,12 18 Indirect intersegment 11 111111 1 I mod 101 rim I (mod;'ll) 15+m* 26+m* 2 8,9,11 12,18 Protected Mode Only (Indirect Intersegment): Via call gate to same privilege level 41+m* 8,9,11 12,18 Via TSS 178+m* 8,9,11 12,18 Via task gate 183+m* 8,9,11 12,18 RET· Return from CALL: Within segment 11 1000011 I l1+m l1+m 2 8,9,18 Within seg adding immed to SP 1110000101 data-low I data-high I l1+m l1+m 2 8,9,18 Intersegment 111001011 I 15+m 25+m 2 8,9,11 12,18 11 1001010 I data-low Interseament adding immediate 8,9,11 to SP I data-high I 15+m 2 12,18 Protected Mode Only (RET): To different privilege level 55+m 9,11,12 18 Shaded areas Indicate Instructions not available in MBl 8086,88 microsystems. 1-52 1111111111111111111111111111111111111111111111111111 FUJITSU MBl80286-8 1111111111111111111111111111111111111111111111111111 MBl80286-6 MBL 80286 INSTURCTION SET SUMMARY (Continued) CLOCK COUNT COMMENTS Pro- Pro- FUNCTION FORMAT Real tected Real tected Address Virtual Address Virtual Mode Address Mode Address Mode Mode CONTROL TRANSFER (Continued) JE/JZ = Jump on equal/zero 101 1 10100 I disp J 7+m or 3 7+mor 3 18 JL/JNGE = Jump on le,s/not 101 1 1 1 100 disp 7+m or 3 7+mor 3 18 greater or equal JLE/JNG = Jump on less or equal/ not greater [ 01 1 1 1 1 10 ~ 7+m or 3 7+mor 3 18 JB/JNAE = Jump on below/not [ 01 1 10010 disp 7+m or 3 7+m or 3 18 above or equal JBE/JNA = Jump on below or 18 [ 01 1 101 10 disp 7+m or 3 7+mor 3 equal/not above JP/JPE = Jump on parity/parity even 101 11 1010 disP~ 7+m or3 7+mor 3 18 JO = Jump on overflow 101110000 disp 7+m or 3 7+mor 3 18 JS = Jump on sign 101 11 1000 disp 7+mor 3 7+mor 3 18 JNE/JNZ = ~~~p on not equal/not I0 1 1 1 0 1 0 1 disp 7+m or3 7+mor 3 18 JNL/JGE = Jump on not less/ 101 1 1 1 101 disp 7+m or3 l+mor 3 18 greater or euqal JNLEfJG = Jump on not less or 101 1 1 1 1 1 1 disp 7+m or3 7+mor 3 18 equal/greater JNB/JAE = Jump on not below/ above or equal [01 1 1 001 1 [ disp J 7+m or3 7+mor 3 18 JNBE/JA = Jump on not below or equal/above 101 1 101 1 1 I disp 7+m or3 7+mor 3 18 JNP/JPO = Jump on not par/par odd 101 1 1 101 1 I disp 7+m or3 7+mor 3 18 JNO = Jump on not overflow 101 1 1 0001 disp 7+m or3 7+m or 3 18 JNS = Jump on not sign [01 1 1 1001 disp 7+mor3 7+mor 3 18 LOOP = Loop ex time, 111 100010 disp 8+mor4 8+m or4 18 LOOPZ/LOOPE = Loop while zero/equal 11 1 100001 disp 8+m or4 8+mor4 18 LOOPNZ/LOOPNE = Loop while 111100000 disp 8+mor4 8+m or4 18 not zero/equal JCXZ = Jump on ex zero [I 1 10001 1 I disp 8+m or4 8+mor4 18 INT = Interrupt: Type specified 11 1001101 type 23+m 2,7,8 Type 3 111001 100 I 23+m 2,7,8 INTO ~ Interrupt on overflow 11 1001 1 101 24+mor3 2,6,8 (3 if no (3 if no interrupt) interrupt) Shaded areas indicate instructions not available in MBL 8086, 88 microsystems. 1-53 1111111111111111111111111111111111111111111111111 MBl80286-8 FUJITSU MBl80286-6 1111111111111111111111111111111111111111111111111 MBl80286 INSTRUCTION SET SUMMARY (Continued) CLOCK COUNT COMMENTS Pro- Pro- FUNCTION FORMAT Real tected Real tected Address Virtual Address Virtual Mode Address Mode Address Mode Mode CONTROL TRANSFER (Continued) Protected Mode Only: Via interrupt or trap gate to same privilege level 7,8,11 40+m 12,18 Via interrupt or trap gate to fit different privilege level 7,8,11 78+m 12,18 7,8,11 Via Task Gate 167+m 12,18 IRET = Interrupt return 17+m 2,4 8,9,11 11 1001 1 1 11 31+m 12,15,18 Protected Mode Only: To different privilege level 55+m 8,9,11 12,15,18 To differetit task (NT = 1) 169+m 8,9,11 12,18 ~;-- SOUND = Detect value out of 1 0 1 1 0001 0-1 mod reg rIm 1 13' 13' 2,6 6,8,9,11 range (Use INT 12, Hl clock courit if excep- tion 5) -PRodsSOR CONTROL CLC = Clear carry 1111110001 2 2 CMC "'" Complement carry 11 1 1 10101 I 2 2 STC = Set cafry 11 1 1 1 1 00 i] 2 2 CLD = Clear direction 11 1 1 1 1 10JlJ 2 2 STD = Set direction Liiii~_clJJ 2 2 ell = Clear interrupt 1 1111 J:I1JD 3 3 14 STI = Set interrupt [i 1 1 1 101 11 2 2 14 HL T = Halt 11 1 1 10100] 2 2 13 WAIT = Wait IiQOll011l 3 3 LOCK = Bus lock prefix OJ:T100iQ] 0 0 14 f---.--~ .. CTS = Clear task switched flag 1000011111000001101 2 2 3 13 ESC - Processor Extension Escape 11 1011 TTT I mod LLL rim I 9-20' 9-20' 5,8 8,17 (TTT LLL are opcode to processor extension) SEG == Segment Override Prefix 1001re91101 0 0 PROTECTION CONTROL LGDT = Load global descriptor table register 1 0000 1 1 1 1 1 000 0 0 00 1 1 mod 010 rim 1 11' 11' 2,3 9,13 SGDT Store global descriptor table register 1000011111000000011modOOO rim 1 11' 11* 2,3 9 llDT = Load interrupt descriptor table register 1 0000 1 1 1 1 1 0000 0 0 0 1 1 mod 011 rim 1 12* 12' 2,3 9,13 SlOT"" Store interrupt descriptor table register 1 0 000 1 1 1 1 1 000 000 0 1 1 mod 001 rim 1 12' 12' 2,3 9 llDT == Load local descriptor table register from reg Ister memory 100001 1 1 1 1 00000000 1 mod 010 rim I 17,19' 1 9,11,13 Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. 1-54 1111111111111111111111111111111111111111111111111111 FUJITSU MBl80286-8 1111111111111111111111111111111111111111111111111111 MBl 80286-6 MBl80286 INSTRUCTION SET SUMMARY (Continued) Pro- Pro- FUNCTION FORMAT Real tected Real tected Address Virtual Address Virtual Mode Address Mode Address Mode Mode Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. 1-55 1111111111111111111111111111111111111111111111111 MBl80286-8 FUJITSU MBl 80286-6 1111111111111111111111111111111111111111111111111 Footnotes The effective Address (EA) of the memory operand is REG is assigned according to the following table: computed according to the mod and rim fields: 16·Bit (w = 1) 8·Bit (w = 0) 000 AX 000 AL if mod = 00 then DISP = 0*, disp-Iow and disp-high are 001 CX 001 CL absent 010 DX 010 DL are absent all BX all BL if mod = 01 then DISP = disp-Iow sign-extended to 16-bits, 100 SP 100 AH disp-h igh is absent 101 BP 101 CH if mod = 10 then DISP = disp-high: disp-Iow 110 SI 110 DH 111 DI 111 BH if rim = 000 then EA = (BX) + (SI) + DISP if rim = 001 then EA = (BX) + (DI) + DISP The physical addresses of all operands addressed by the BP if rim = 010 then EA = (BP) + (SI) + DISP register are computed using the SS segment register. The if rim = all then EA = (BP) + (DI) + DISP physical addresses of the destination operands of the string primitive operations (those addressed by the DI register) if rim = 100 then EA = (SI) + DISP are computed using the ES segment, which may not be if rim = 101 then EA = (DI) + DISP overridden. if rim = 110 then EA = (BP) + DISP* if rim = 111 then EA = (BX) + DISP DISP follows 2nd byte of instruction (before data if re- quired) *except if mod = 00 and rIm = 110 then EA = disp-high: disp-Iow SEGMENT OVERRIDE PREFIX @}J reg 1 1 a I reg is assigned according to the following: reg Segment Register 00 ES 01 CS 10 SS 11 DS 1·56 1111111111111111111111111111111111111111111111111111 FUJITSU MIL 80286-8 1111111111111111111111111111111111111111111111111111 MIL 80286-6 PACKAGE ILLUSTRATION CERAMIC LCC (METAL SEAL) PACKAGE DIMENSIONS (Suffix: -CVI 68-PAD CERAMIC (METAL SEAL) LEADLESS CHIP CARRIER (CASE No.: LCC-68C·A01) C.040( 1.02) TYP .792(20.121 .808120.52) r .842(21.391 '~'[ .03610.91) TvP j .06~~p521 .11012.791 MAX !--1.---.8-42-(2-1.-39-1 .858121.791 --.-!I Dimension in inches (millimeters) 1-57 1111111111111111111111111111111111111111111111111 MBl 80286-8 FUJITSU MBl 80286-6 1111111111111111111111111111111111111111111111111 PACKAGE ILLUSTRATION CERAMIC PGA (METAL SEAL) PACKAGE DIMENSIONS(Suffix: -CR) 68-LEAD CERAMIC (METAL SEAL) PIN GRID ARRAY (CASE No.: PGA·68C·A01) .050(1.27)DIATVP .090(2.291 .. 099(2.491 .110(2.791 I .12213.101 r---------------~ OOooo@o 1.000(25.40) REF 1 ·01510.38) r O@OOOOooo@o 00000000 c::: n C 1.135128.83)SQ~ 1.165129.591 .08312.11) MAX i.·b45 (1.141 .055(1.401 I .10012.541 \ INDEX AREA .120(3.05) 1. 185(4.70) MAX-- Dimension in inches(millimeters) 1-58 111111111111111111111111111111111111 MBL 82284-8 MBL 82284-6 December 1985 Edition 1.0 BIPOLAR CLOCK GENERATOR AND READY INTERFAC'e FOR MBL S0286 PROCESSORS The Fujitsu MBl 82284 is a clock generator/driver which provides clock signals for MBl 80286 processor~ and support components. It also contains logic to supply READY to the CPU from either asynchronous or synchronous s~urces and synchronous RESET from an asynchronous input with h y s t e r e s i s . " ,," • Generates System Clock for MBL S0286 • Generates System Reset Output from Processors Schmitt Trigger Input • Uses Crystal or TTL Signal for Frequency • Single +5V Power Supply Source • Two Package Options: • Provides Local READY and Multibus* - 18-pin Cerdip (Suffix: CZI READY Synchronization - 1S-pin Plastic DIP (Suffix: PI Fig. 1 - BLOCK DIAGRAM Fig. 2 - PIN CONFIGURATION RESET RES £J SYNCHRONIZER RESET Vee SRDY ARDYEN X1 SRDYEN Sf X2 ClK READY SO EFI EFI N.C. Fie Fie PClK X1 RESET ARDYEN X2 RES ARDY GND ClK SRDYEN SRDY READY Sf so PClK * Multibus is a patented bus of Intel. Portions Reprinted by permission of inter Corporation © I ntel Corporation, 1982 1-59 © FUJITSU LIMITED, 1985 11111111111111111111111111111111111I1111111111111111111111111111I FUJITSU MBL 82284-8 11111111111111111111111111111111111111111111111111111111111111111 MBL 82284-6 PIN DESCRIPTION The following pin function descriptions are for the MBL 82284 clock generator. Table 1 - PIN DESCRIPTION Symbol Type Name and Function CLK a System Clock is the signal used by the processor and support devices which must be synchro· nous with the processor. The frequency of the CLK output has twice the desired internal pro· cessor clock frequency. CLK can drive both TTL and MaS level inputs. F/C Frequency/Crystal Select is a strapping option to select the source for the CLK output. When F/e is strapped LOW, the internal crystal oscillator drives CLK. When F/e is strapped HIGH, the EFI input drives the CLK output. Xl, X2 Crystal! In are the pins to which a parallel resonant fundamental mode crystal is attached for the internal oscillator. When F/e is LOW, the internal oscillator will drive the CLK output at the crystal frequency. The crystal frequency must be twice the desi red internal processor clock frequency. EFI External Frequency In drives CLK when the F/C input is strapped HIGH. The EFI input fre· quency must be twice the desired internal processor clock frequency. PCLK a Peripheral Clock is an output which provides a 50% duty cycle clock with 1/2 the frequency of CLK. PCLK will be in phase with the internal processor clock following the first bus cycle after the processor has been reset. ARDYEN Asynchronous Ready Enable is an active LOW input which qualifies the ARDY input. ARDYEN selects ARDY as the source of ready for the current bus cycle. Inputs to ARDYEN may be applied asynchronously to CLK. Setup and hold times are given to assure a guaranteed response to synchronous inputs. ARDY Asynchronous Ready is an active LOW input used to terminate the current bus cycle. The ARDY input is qualified by ARDYEN. Inputs to ARDY may be applied asynchronously to CLK. Setup and hold times are given to assure a guaranteed response to synchronous inputs. SRDYEN Synchronous Ready Enable is an active LOW input which qualifies SRDY. SRDYEN selects SRDY as the source for READY to the CPU for the current bus cycle. Setup and hold times must be satisfied for proper operation. SRDY Synchronous Ready is an active LOW input used to terminate the current bus cycle. The SRDY input is qualified by the SRDYEN input. Setup and hold times must be satisfied for proper operation. READY a Ready is an active LOW output which signals the current bus cycle is to be completed. The SRDY, SRDYEN, ARDY, ARDYEN, Sf, SO and RES inputs control READY as explained later in the READY generator section. READY is an open collector output requiring an external 910Q pullup resistor. SO,Sl Status inputs prepare the MBL 82284 for a subsequent bus cycle. SO and Sl synchronize PCLK to the internal processor clock and control READY. These inputs have pullup resistors to keep them HIGH if nothing is driving them. Setup and hold times must be satisfied for proper operation. RESET a Reset is an active HIGH output which is derived from the RES input. RESET is used to force the system into an initial state. When RESET is active, READY will be active (LOW). RES Reset In is an active LOW input which generates the system reset signal RESET. Signals to RES may be applied asynchronously to CLK. A Schmitt trigger input is provided on RES, so that an RC circuit can be used to provide a time delay. Setup and hold times are given to assure a guaranteed response to synchronous inputs. Vee System Power: +5V power supply. GND System Ground: 0 volts. 1-60 2 IIOOIIIOOllllill~llllllillllllllWIIIIIIIII MIL 82284-8 FUJITSU MIL 82284-6 11~liIIIOOII~IIOOIIIIIIIIIIIIIIIII~IIII~III~ FUNCTIONAL DESCRIPTION INTRODUCTION is internally buffered. The crystal frequency chosen should The MBL 82284 generates the clock, ready, and reset sig· be twice the required internal processor clock frequency. nals required for M8L 80286 processors and support The crystal should have a typical load capacitance of 32 pF. components. The MBL 82284 is packaged in an 18·pin DIP Xl and X2 are the oscillator crystal connections. For and contains a crystal controlled oscillator, MOS clock stable operation of the oscillator, two loading capacitors generator, peripheral clock generator, Multibus ready are recommended, as shown in Table 2. The sum of 'the synchronization logic and system reset generation logic. board capacitance and loading capacitance should equal CLOCK GENERATOR the values shown. It is advisable to limit stray board capa· The CLK output provides the basic timing control for an citances (not including the effect of the l(lading capacitors MBL 80286 system. CLK has output characteristics suffi· or crystal capacitance) to less than 10 pF between the cient to drive MaS devices. CLK is generated by either an Xl and X2 pins. Decouple Vee and GND as close to the internal crystal oscillator or an external source as selected MBL 82284 as possible. by the Fie strapping option. When Fie is LOW, the crystal RESET OPERATION oscillator drives the CLK output. When Fie is HIGH, The reset logic provides the RESET output to force the the EFI input drives the CLK output. system into a known, initial state. When the RES input is The MBL 82284 provides a second clock output (PCLK) active (LOW), the RESET output becomes active (HIGH). for peripheral devices. PCLK is CLK divided by two. PCLK RES is synchronized internally at the falling edge of CLK has a duty cycle of 50% and TTL output drive charac· before generating the RESET output (see waveforms). teristics. PCLK is normally synchronized to the internal Synchronization of the RES input introduces a one or two processor clock. CLK delay before affecting the RESET output. After reset, the PCLK signal may be out of phase with the At power up, a system does not have a stable Vee and internal processor clock. The 51 and SO signals of the first CLK. To prevent spurious activity, RES should be asserted bus cycle are used to synchronize PCLK to the internal until Vee and CLK stabilize at their operating values. processor clock. The phase of the PCLK output changes MB L 80286 processors and support components also reo by extending its HIGH time beyond one system clock quire their RESET inputs be HIGH a minimum of 16 CLK (see waveforms). PCLK is forced HIGH whenever either SO cycles. An RC network, as shown in Fig. 4, will keep or 51 were active (LOW) for the two previous CLK cycles. RES LOW long enough to satisfy both needs. PCLK continues to oscillate when both SO and Sl are HIGH. Fig. 4 - TYPICAL RC RES TIMING CIRCUIT Since the phase of the internal processor clock will not Vee change except during reset, the phase of PCLK will not change except during the first bus cycle after reset. OSCILLATOR 10kn 1N914 MBl82284 The oscillator circuit of the MBL 82284 is a linear Pierce 11 oscillator which requires an external parallel resonant, RES 47n I fundamental mode, crystal. The output of the oscillator + \= Fig. 3 - RECOMMENDED CRYSTAL AND 1O l'F READY CONNECTIONS r---~--tX1 ClK 10 ClK = Vee MBl80286 A Schmitt trigger input with hysteresis on RES assures a CJ MBl82284 CPU or r----+--.:8'--!X2 910 SUPPORT single transition of RESET with an RC circuit on RES. n COMPONENT The hysteresis separates the input voltage level at which C1+ JC2 READYt4~~-UR~E~A~D~Y~__ -1 the circuit output switches between HIGH to LOW from 6 Vee the input voltage level at which the circuit output switches SEE TABLE 2 FOR CAPACITOR VALUES r. DECOUPllNG CAPACITOR between LOW to HIGH. The RES HIGH to LOW input transition voltage is lower than the RES LOW to HIGH input transition voltage. As long as the slope of the RES input voltage remains in the same direction (increasing 1-61 11111111111111111111I11111111111111111111111111111111111111111111 FUJITSU MBl 82284-8 11111111111111111111111111111111111111111111111111111111111111111 MBl 82284-6 or decreasing) around the RES input transition voltage, the cycle, the READY output floats when either 51 or SO are RESET output will make a single transition. sampled lOW at the falling edge of ClK. Two system READY OPERATION clock periods are allowed for the pull-up resistor to pull The MBl 82284 accepts two ready sources for the system the READY signal to V 1H • When RESET is active, READY ready signal which terminates the current bus cycle. Either is forced active one ClK later (see waveforms). a synchronous (SRDY) or asynchronous ready (ARDY) Fig. 5 illustrates the operation of SRDY and SRDYEN. source may be used. Each ready input has an enable These inputs are sampled on the falling edge of ClK when (SRDYEN and ARDYEN) for selecting the type of ready ST and SO are inactive and PClK is HIGH. READY is source required to terminate the current bus cycle. An forced active when both SRDY and SRDYEN are sampled address decoder would normally select one of the enable as lOW. inputs. Fig. 6 shows the operation of ARDY and ARDYEN. READY is enabled (lOW), if either SRDY + SRDYEN These inputs are sampled by an internal synchronizer at = 0 or ARDY + ARDYEN = 0 when sampled by the each falling edge of ClK. The output of the synchronizer MBl 82284 READY generation logic. READY will remain is then sampled when PClK is HIGH. If the synchronizer active for at least two ClK cycles. resolved both the ARDY and ARDYEN have been resolved The READY output has an open-collector driver allowing as active, the SRi5V and SRDYEN inputs are ignored. other ready circuits to be wire or'ed with it, as shown in Either ARDY or ARDYEN must be HIGH at end of TS Fig. 3. The READY signal of an MBl80286 system re- (see Fig. 6). quires an external 910D ±5% pull-up resistor. To force READY remains active until either Sl or SO are sampled the READY signal inactive (HIGH) at the start of a bus lOW, or the ready inputs are sampled as inactive. Table 2 - MBl 82284 CRYSTAL lOADING CAPACITANCE VALUES Crystal Frequency Cl Capacitance (pin 7) C2 Capacitance (pin 8) 1 to 8 MHz 60 pF 40 pF 8to16MHz 25 pF 15 pF NOTE: Capacitance values must include stray board capacitance. Fig.5 - SYNCHRONOUS READY OPERATION TS TC TC TI ClK PClK + SRDY READY ________________ ~ 1-62 1lllllllllilllllllllllllllllllllllllllllllillllllllll!11111I MBl82284-8 FUJITSU MBl82284-6 111111111111111111111111111111111111111111111111111111111111I111 Fig. 6 - ASYNCHRONOUS READY OPERATION TS TC TC TI ClK PClK V1H SRDYEN ARDY + ARDYEN~~~~~~~~~ READY --------------~~ ABSOLUTE MAXIMUM RATINGS* *NOTE: Permanent device damage may occur if ABSO· Temperature Under Bias . . . . . . . . . . . . . . O°C to 70°C lUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the Storage Temperature . . . . . . . . . . . . . . _65°C to +150°C conditions as detailed in the operational sections All Output and Supply Voltages ........ -0.5V to +7V of this data sheet. Exposure to absolute maxi· All Input Voltages . . . . . . . . . . . . . . . . -1.0V to +5.5V mum rating conditions for extended periods may Power Dissipation . . . . . . . . . . . . . . . . . . . . . . . 1 Watt affect device reliability. D.C. CHARACTERISTICS (Vcc = 5V±5%, TA = O°C to 70°C) MBl82284-6 MBl82284-8 Symbol Parameter (6 MHz) (8 MHz) Unit Test Condition Min Max Min Max V 1L Input lOW Voltage O.S O.S V V 1H Input HIGH Voltage 2.0 2.0 V V 1HR RES and EFI Input HIGH Voltage 2.6 2.6 V V HYS RES Input Hysteresis 0.25 0.25 V VOL RESET, PClK Output lOW Voltage 0.45 0.45 V IOL = 5mA V OH RESET, PClK Output HIGH Voltage 2.4 2.4 V IOH = -lmA VOLR READY Output lOW Voltage 0.45 0.45 V IOL = 7mA VOLC ClK Output lOW Voltage 0.45 0.45 V IOL =5mA V OHC ClK Output HIGH Voltage 4.0 4.0 V IOH = -SOOJ.lA Vc Input Forward Clamp Voltage -1.0 -1.0 V Ic = -5mA IF Forward Input Current -0.5 -0.5 mA V F = 0.45V IR Reverse Input Current 50 50 J.lA V R = Vcc Icc Power Supply Current 145 145 mA C1 I nput Capacitance 10 10 pF Fc = 1MHz 101,3 IIIIIIIIIIIIIII~IIIIMIIIIIIIIIIIIIIIIIIIIIIIIIIIII FUJITSU MIL 82284-8 1IIIIIIIIOOIIOOIIII~1111111111111111111111 MIL 82284-6 A.C. CHARACTERISTICS (Vee = 5V ±5%, T A = O°C to 70°C) AC timings are referenced to O.8V and 2.OV points of signals as illustrated in datasheet waveforms, unless otherwise noted. MBl82284·6 MBl82284·8 Symbol Parameter (6 MHz) (8 MHz) Unit Test Condition Min Max Min Max 1 EFI to ClK Delay 35 30 ns at 1.5V Note 1 2 EFI lOW Time 40 25 ns at 1.5V Note 1, Note 7 3 EFI HIGH Time 35 25 ns at 1.5V Note 1, Note 7 4 ClK Period 83 500 62 500 ns 5 ClK lOW Time 20 15 ns at 1.0V Note 1, Note 2, 8 6 ClK HIGH Time 25 25 ns at 3.6V Note 1, Note 2, 8 7 CJ-K Rise Time 10 10 ns 1.0V to 3.6V Note 1 8 ClK Fall Time 10 10 ns 3.6V to 1.0V Note 1 9 Status Setup Time 28 22 ns Note 1 10 Status Hold Time 1 1 ns Note 1 11 SRDY or SRDYEN Setup Time 25 15 ns Note 1 12 SRDY or SRDYEN Hold Time 0 0 ns Note 1 13 ARDY or ARDYEN Setup Time 5 0 ns Note 1, Note 3 14 ARDY or ARDYEN Hold Time 30 30 ns Note 1, Note 3 15 RES Setup Time 25 20 ns Note 1, Note 3 16 RES Hold Time 10 10 ns Note 1, Note 3 17 READY Inactive Delay 5 5 ns at 0.8V Note 4 18 READY Active Delay 0 33 0 24 ns at 0.8V Note 4 19 PClK Delay 0 45 0 45 ns Note 5 20 RESET Delay 5 50 5 34 ns Note 5 21 PClK lOW Time t4-20 t4-20 ns Note 5, Note 6 22 PClK HIGH Time t4-20 t4-20 ns Note 5, Note 6 NOTE 1: ClK loading: CL = 150pF.. NOTE 2: With the internal crystal oscillator using recommended crystal and capacitive loading; or with the EF I input meeting specifications t2, and t3. Use a parallel·resonant, fundamental mode crystal. The recommended crystal loaidng for ClK frequencies of 8-16MHz are 25pF from pin Xl to ground, and 15pF from pin X2 to ground. These recommended values are ±5pF and include all stray capa- citance, Decouple Vee and GND as close to the MBl 82284 as possible. NOTE 3: This is an asynchronous input. This specification is given for testing purposes only, to assure recognition at specific elK edge. NOTE 4: READY loading: lot. = 7mA, eL = 150pF. In system application, use 910 n ±5% pullup resistor to meet MBl 80286-8 and 80286-6 timing requirements_ NOTE 5: PClK and RESET loading: CL = 75pF. PClKalso has 750 n pullup. NOTE 6: t4 refers to any allowable ClK period. NOTE 7: When driving the MBl 82284 with EFI, provide minimum EFI HIGH and lOW times as follows: ClK Output Frequency: 8MHz 12MHz 16MHz ClK ClK ClK' Min. required EFI HIGH time 52ns 35ns 25ns Min. required EFI lOW time 52ns 40ns 25ns • At ClK frequencies above 12MHz, ClK output HIGH and lOW times are guaranteed only when using crystal with recommended capacitive loading per Table 2, not when driving component from EF I. All features of the MBl 82284 remain functional whether EF I or crystal is used to drive the MBl 82284. NOTE 8: When using crystal (with recommended capacitive loading per Table 2) appropriate for speed of MBl 80286, ClK output HIGH and lOW times guaranteed to meet MBl 80286 requirements. 1-64 -- ~~ -~~ ~---~ 11111111111111111111111111111111111111111111111111111111111111111 MBl 82284-8 FUJITSU MBl 82284-6 IIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIIIIIIIIIIIIIIIIIIIII11111111111 NOTE 9: EFI Drive and Measurement Points NOTE 10: CLK Output Measurement Points 1.0V 3.s1 V \; 1.0V ___ --I 0.45V NOTE 11: AC Setup, Hold and Delay Time Measurement - General MBL 82284 CLK OUTPUT tSETUP tHOLD 2.4V 2.0V 2.0V DEVICE INPUT O.8V O.8V O.45V 2.0V OTHER DEVICE OUTPUT O.8V NOTE 12: AC Test Loading on Outputs Vee Vee 1011 PCLK ~ ~ 5011 READY Other 0>-----, 1 r output output outputs 1 75PF 150PF CL I 1-65 OO~IIIIIIMI~III~I~lllillll FUJITSU MIL 82284-8 1IIIWIIII~III~~IIOOII~~llmWIIII~1 MIL 82284-6 INFORMATION WAVEFORMS ClK AS A FUNCTION OF EFI EFI ClK NOTE: The EFI input lOW and HIGH times as shown are required to guarantee the ClK lOW and HIGH times shown. RESET AND READY TIMING AS A FUNCTION OF RES WITH S1 AND SO HIGH NOTE 1: This is an asynchronous input. The setup and hold ti~es shown are required to guarantee the response shown. NOTE 2: Tie 910 n ±5% pull up resistor to the READY output. 1-66 ~IIIIIIIII~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIII MBl82284-8 FUJITSU MBl82284-6 111111111111111111111111111111111111111111111111111111 READY AND PCLK TIMING WITH RES HIGH ClK 51,50 PClK 5RDY + 5R DYE N :I.IOJ.WI.I.......'m.I."'"""I.AfJJ.......~~Wl.l.J.IJJ NOTE 1: This is an asynchronous input. The setup and hold times shown are required to guarantee the response shown. NOTE 2: Tie 910 n ±5% pullup resistor to the READY output. 1-67 111111111111111111111111111111111111111111111111111111 FUJITSU MBl 82284.8 1111111111111111111111111111111111111111111111111111111111 MBl 82284.6 PACKAGE ILLUSTRATION CERAMIC PACKAGE (CERDIP) PACKAGE DIMENSIONS (Suffix: CZ) 18·LEAD CERAMIC (CERDIP) DUAL IN·lINE PACKAGE (CASE No. : DIP·18C·C01) .20015.08IMAX .12013.051 .15013.811 .09012.291 .11012.791 .02010.511 .05011.271 I .800120.32IREF ~ .01310.331 Dimensions in .06211.581 .02310.581 inches (millimeters) ©1985 FUJITSU D180Q5S-1C 1·68 11111111111111111111111111111111111111111111111111111111111111111 MBl82284-8 FUJITSU MBl 82284-6 11111111111111111111111111111111111111111111111111111111111111111 PACKAGE ILLUSTRATION PLASTIC PACKAGE PACKAGE DIMENSIONS (Suffix: P) l8-LEAD PLASTIC DUAL-IN-LiNE PACKAGE (CASE No.: DIP-18P-M02) --r:s======.1=;:-;;15o MAX INDEX-1 ! .24016.101 .26016.601 .29017.371 .31017.871 ~r=;==r=:;==;==:r=r=;==;:=r==;=::;;:::::;::::::;:;::::?!~ .850121.601 .876122.251 .1 .01210.301 .04911.251 MAX .19715.00IMAX .11813.0IMIN .10012.541 I TYP i--- .02010.511 .01610.401 MIN .02310.591 Dimensions in inches (millimeters) ©1985 FUJITSU D18009S-1C 1-69 ---------~~----~~ -~~~~--~~~- MBl82288-8 MBl82288-6 December 1985 Edition 1.0 The Fujitsu MBl82288 Bus Controller is a 20-pin NMOS component for use in MBl 80286 microsyste controller provides command and control outputs with flexible timing options. Separate command outputs a for memory and I/O devices. The data bus is controlled with separate data enable and direction control signals. Two modes of operation are possible via a strapping option: Multibus compatible bus cycles, and high speed bus cycles. • Provides Commands and Control for • Control Drivers with 16 rnA IOL and 3-State Local and System Bus Command Drivers with 32 rnA IOL • Offers Wide Flexibility in System • Single +5V Supply Configurations • Two Package Options: • Flexible Command Timing -20-Pin Cerdip (Suffix: -CZI • Optional Multibus* Compatible Timing -20-Pin Plastic DIP (Suffix: -PI Fig. 1 - BLOCK DIAGRAM Fig_ 2 - PIN CONFIGURATION 3-STATE COMMAND STATUS OUTPUTS [ so Sf READY Vee ""1 IORC CLK SO M/iTI IOWC Sf M/iQ MRDC MWTC MCE DT/R ALE DEN CLK CONTROL CONTROL MB CEN/AEN INPUTS OUTPUTS CMDLY CENL CEN/AEN CENL OT/' DEN ] MRDC INTA CMDLY ALE MWTC IORC READY MCE GND IOWC MB *Multibus is a patented bus of Intel. Portions Reprinted by permission of Intel Corporation © Intel Corporation, 1982 1-70 © FUJITSU LIMITED, 1985 1111111111111111111!lilllllllllllllllllllllllllll FUJITSU MBL 82288-8 1111111111111111111111111111111111111111111111111 MBL 82288-6 PIN DESCRIPTION The following pin function descriptions are for the MBl 82288 bus controller. Table 1 - PIN DESCRIPTION Symbol Type Name and Function ClK I System Clock provides the basic timing control for the MBl 82288 in an MBl 80286 micro- system. Its frequency is twice the internal processor clock frequency. The falling edge of this input signal establishes when inputs are sampled and command and control outputs change. 50,51 I Bus Cycle Status starts a bus cycle and, along with M/IO, defines the type of bus cycle. These inputs are active lOW. A bus cycle is started when either Sf or SO is sampled lOW at the falling edge of ClK. Setup and hold times must be met for proper operation. MBL 80286 Bus Cycle Status Definition M/IO S1 SO Type of Bus Cycle 0 0 0 Interrupt acknowledge 0 0 1 I/O Read 0 1 0 I/0Wr;,. 0 1 1 None; Idle 1 0 0 Halt or shutdown 1 0 1 Memory read 1 1 0 Memory write 1 1 1 None; Idle M/IO I Memory or I/O Select determines whether the current bus cycle is in the memory space or I/O space. When lOW, the current bus cycle is in the I/O space. Setup and hold times must be met for proper operation. MB I Multibus Mode Select determines timing of the command and control outputs. When HIGH, the bus controller operates with Multibus-compatible timings. When lOW, the bus controller optimizes the command and control output timing for short bus cycles. The function of the CEN/ AEN input pin is selected by this signal. This input is typically a strapping option and not dynamically changed. CENl I Command Enable latched is a bus controller select signal which enables the bus controller to respond to the current bus cycle being initiated. CENl is an active HIGH input latched inter- nally at the end of each TS cycle. CENl is used to select the appropriate bus controller for each bus cycle in a system where the CPU has more than one bus it can use. This input may be connected to Vee to select this MBl 82288 for all transfers. No control inputs affect CENl. Setup and hold times must be met for proper operation. CMDlY I Command Delay allows delaying the start of a command. CMDlY is an active HIGH input. If sampled HIGH, the command output is not activated and CMDl Y is again sampled at the next ClK cycle. When sampled lOW the selected command is enabled. If READY is detected lOW before the command output is activated, the MBl 82288 will terminate the bus cycle, even if no command was issued. Setup and hold times must be satisfied for proper operation. This input may be connected to GND if no delays are required before starting a command. This input has no effect on MBl 82288 control outputs. READY I Ready indicates the end of the current bus cycle. READY is an active lOW input. Multibus mode requires at least one wait state to allow the command outputs to become active. READY must be lOW during reset, to force the MBl 82288 into the idle state. Setup and hold times must be met for proper operation. The MBl 82284 drives READY lOW during RESET. 1-71 11111111111111111111111111111111111111111111111111111111111111111 MBl82288-8 FUJITSU MBl82288-6 11111111111111111111111111111111111111111111111111111111111111111 Table 1 - PIN DESCRIPTION (Continued) Symbol Type Name and Function CEN/AEN I Command Enable/Address Enable controls the command and DEN outputs of the bus con- troller. CEN/ AEN inputs may be asynchronous to CLK. Setup and hold times are given to assure a guaranteed response to synchronous inputs. This input may be connected to Vee or GND. When MB is HIGH, this pin has the AEN function. AEN is an active LOW input which indicates that the CPU has been granted use of a shared bus and the bus controller command outputs may exit 3-state OFF and become inactive (HIGH). AEN HIGH indicates that the CPU does not have control of the shared bus and forces the command outputs into 3-state OF F and DEN inactive (LOW). AEN would normally be controlled by an 82289 bus arbiter which activates AEN when that arbiter owns the bus to which the bus controller is attached. When MB is LOW this pin has the CEN function. CEN is an unlatched active HIGH input which allows the bus controller to activate its command and DEN outputs. With MB LOW, CEN LOW forces the command and DEN outputs inactive but does not tristate them. ALE a Address Latch Enable controls the address latches used to hold an address stable during a bus cycle. This control output is active HIGH. ALE will not be issued for the halt bus cycle and is not affected by any of the control inputs. MCE a Master Cascade Enable signals that a cascade address from a master MBL 8259A interrupt controller may be placed onto the CPU address bus for latching by the address latches under ALE control. The CPU's address bus may then be used to broadcast the cascade address to slave interrupt controllers so only one of them wi.1I respond to the interrupt acknowledge cycle. This control output is active HIGH. MCE is only active during interrupt acknowledge cycles and is not affected by any control input. Using MCE to enable cascade address drivers requires latches which save the cascade address on the falling edge of ALE. DEN a Data Enable controls when data transceivers connected to the local data bus should be enabled. DEN is an active HIGH control output. DEN is delayed for write cycles in the Multibus mode. DT/R a Data Transmit/Receive establishes the direction of data flow to or from the local data bus. When HIGH, this control output indicates that a write bus cycle is being performed. A LOW indicates a read bus cycle. DEN is always inactive when DT/R changes states. This output is HIGH when no bus cycle is active. DT/R is not affected by any of the control inputs. 10WC 0 I/O Write Command instructs an I/O device to read the data on the data bus. This command output is active LOW. The MB and CMDL Y inputs control when this output becomes active. READY controls when it becomes inactive. 10RC a I/O Read Command instructs an I/O device to place data onto the data bus. This command output is active LOW. The MB and CMDL Y inputs control when this output becomes active. READY controls when it becomes inactive. MWTC a Memory Write Command instructs a memory device to read the data on the data bus. This command output is active LOW. The MB and CMDL Y inputs control when this output becomes active. READY controls when it becomes inactive. MRDC a Memory Read Command instructs the memory device to place data onto the data bus. This command output is active LOW. T/1e MB and CMDL Y inputs control when this output be- comes active. READY controls when it becomes inactive. INTA a Interrupt Acknowledge tells an interrupting device that its interrupt request is being acknowl- edged. This command output is active LOW. The MB and CMDL Y inputs control when this output becomes active. READY controls when it becomes inactive. Vee System Power: +5V power supply. GND System Ground: 0 volts. 1-72 Ilmllllllllllllllllllllllllllllllmlllllllllll FUJITSU MBL 82288-8 I111111111111111111111111111111111111111111111111 MBL 82288-6 FUNCTIONAL DESCRIPTION INTR9DUCTION The MBL 82288 bus controller is used in MBL 80286 sys- Separate DEN and DT/R' outputs control the data trans- tems to provide address latch control, data transceiver con- ceivers for all buses_ 8us contention is eliminated by dis- trol, and standard level-type command outputs_ The com- abling DEN before changing DT/R. The DEN timing allows mand outputs are timed and have sufficient drive capa- sufficient time for tristate bus drivers to enter 3-state OFF bilities for large TTL buses and meet all I EEE-796 require- before enabling other drivers onto the same bus. ments for Multibus_ A special Multibus mode is provided to satisfy all address/data setup and hold time requirements_ The term CPU refers to any MBL 80286 processor or Command timing may be tailored to special needs via a MBL 80286 support component which may become CMDLY input to determine the start of a command and an MBL 80286 local bus master and thereby drive the READY to determine the end of a command_ MBL 82288 status inputs. Connection to multiple buses are supported with a latched PROCESSOR CYCLE DEFINITION enable input (CENL)_ An address decoder can determine Any CPU which drives the local bus uses an internal clock which, if any, bus controller should be enabled for the bus which is one half the frequency of the system clock (CLK) cycle_ This input is latched to allow an address decoder (see Fig_ 3)_ Knowledge of the phase of the local bus master to take full advantage of the pipelined timing on the internal clock is required for proper operation of the M!i\L 80286 local bus_ MBL 80286 local bus. The local bus master informs the bus controller of its internal clock phase when it asserts the Bus shared by several bus controllers are supported_ An status signals_ Status signals are always asserted beginning AEN input prevents the bus controller from driving the in Phase 1 of the local bus master's internal clock. shared bus command and data signals except when en~~led by an external bus arbiter such as the 82289_ " '. Fig_ 3 - CLK RELATIONSHIP TO THE PROCESSOR CLOCK AND BUS T-STATES ONE PROCESSOR CLOCK CYCLE f - - - - - - O N E BUS T STATE------l VCH ClK VCL MBl82284 PClK (FOR REFERENCEI 1-73 1111111111111111111111111111111111111111111111111 MBL 82288-8 FUJITSU MBL 82288-6 1111111111111111111111111111111111111111111111111 BUS STATE DEFINITION BUS CYCLE DEFINITION The MBL 82288 bus controller has three bus states (see The Si and SO inputs signal the start of a bus cycle. When Fig. 4): Idle (TIl, Status (TS) and Command (TC). Each bus either input becomes LOW, a bus cycle is started. The TS state is two CLK cycles long. Bus state phases correspond bus state is defined to be the two CLK cycles during which to the interna I CPU processor clock phases. either S1 or SO are active (see Fig. 5). These inputs are sampled by the MB L 82288 at every falling edge of CLK. The TI bus state occurs when no bus cycle is currently When either Si or SO are sampled LOW, the next CLK active on the MBL 80286 local bus. This state may be reo cycle is considered the second phase of the internal CPU peated indefinitely. When control of the local bus is being clock cycle. passed between masters, the bus remains in the TI state. The local bus enters the TC bus state after the TS state. The shortest bus cycle may have one TS state and one TC Fig. 4 - MBL 82288 BUS STATES state. Longer bus cycles are formed by repeating TC states. A repeated TC bus state is called a wait state. The READY input determines whether the current TC bus state is to be repeated. The READY input has the same timing and effect for all bus cycles. READY is sampled at the end of each TC bus state to see if it is active. If sampled HIGH, the TC bus state is repeated. This is called inserting a wait state. The control and command outputs do not change during wait states. When READY is sampled LOW, the current bus cycle is terminated. Note that the bus controller may enter the TS bus state directly from TC if the status lines are sampled active at the next falling edge of CLK. READY NEW CYCLE Fig. 5 - BUS CYCLE DEFINITION V CH ClK VCL g;.5(j V 1H - - -.. FROM CPU V 1L 1·74 1111111111111111111111111111111111111111111111111 FUJITSU MBL 82288-8 1111111111111111111111111111111111111111111111111 MBL 82288-6 Table 2 - COMMAND AND CONTROL OUTPUTS FOR EACH TYPE OF BUS CYCLE - - - Command DT/R ALE, DEN MCE Type of Bus Cycle M/IO S1 SO Activated State Issued? Issued? Interrupt Acknowledge 0 0 0 INTA LOW YES YES I/O Read 0 0 1 10RC LOW YES NO I/O Write 0 1 0 10WC HIGH YES NO None; Idle 0 1 1 None HIGH NO NO Halt/Shutdown 1 0 0 None HIGH NO NO Memory Read 1 0 1 MRDC lOW YES NO Memory Write 1 1 0 MWTC HIGH YES NO None; Idle 1 1 1 None HIGH NO NO OPERATING MODES Two types of buses are supported by the MBl B22BB: Write bus cycles activate different control and command Multibus and non-Multibus. When the MB input is strapped outputs with different timing than read bus cycles. Memory HIGH, Multibus timing is used. In Multibus mode, the write and I/O write are write bus cycles whose timing for MBl B22BB delays command and data activation to meet command outputs (MWTC and 10WC), control outputs IEEE-796 requirements on address to command active and (ALE, DEN, DT/R) and control inputs (CEN/AEN, CENl, write data to command active setup timing. Multibus mode CMDl Y, MB, and READY) are identical. They differ only requires at least one wait state in the bus cycle since the in which command output is activated. command outputs are delayed. The non-Multi bus mode does not delay any outputs and does not require wait Halt bus cycles are different because no command or con- states. The MB input affects the timing of the command trol output is activated. All control inputs are ignored and DEN outputs. until the next bus cycle is started via 51 and SO. COMMAND AND CONTROL OUTPUTS The type of bus cycle performed by the local bus master is encoded in the MilO, 51, and SO inputs. Different com- mand and control outputs are activated depending on the type of bus cycle. Table 2 indicates the cycle decode done by the MBl B22BB and the effect on command, DT/R, ALE, DEN, and MCE outputs. Bus cycles come in three forms: read, write, and halt. Read bus cycles include memory read, I/O read, and inter- rupt acknowledge. The timing of the associated read com- mand outputs (MRDC, 10RC, and INTA), control outputs (ALE, DEN, DT/R) and control inputs (CEN/AEN, CENl, CMDL Y, MB, and READY) are identical for all read bus cycles. Read cycles differ only in which command output is activated. The MCE control output is only asserted during interrupt acknowledge cycles. 1-75 1111111111111111111111111111111111111111111111111111 MIL 82288-8 FUJITSU MIL 82288-6 1111111111111111111111111111111111111111111111111111 Fig. 6-10 show the basic command and control output timing for read and write bus cycles. Halt bus cycles are not Fig.6 - IDEL-READ-IDEL BUS CYCLES WITH MB =0 shown since they activate no outputs. The basic idle-read- idle and idle-write-idle bus cycles are shown. The signal TI TI label CMD represents the appropriate command output for the bus cycle. For Fig. 6-10, the CMDL Y input is con- ClK nected to GND and CENL to Vee. The effects of CENL and CMD LYare described later in the section on control inputs. Fig. 6, 7 and 8 show non-Multi bus cycles. MB is connected ALE _ _ _ _....J to GND while CEN is connected to Vee. Fig. 6 shows a read cycle with no wait states while Fig. 7 shows a write cycle with one wait state. The READY input is shown to DEN _ _ _ _ _-\-_....J illustrate how wait states are added. DTtR Fig_ 7 - IDLE-WRITE-IDLE BUS CYCLES WITH MB = 0 WRITE BUS CYCLE ~ I-WAIT STATE TI TS I TC I TC TI ClK ALE DEN VO H DT/R --------\--------\--------4---------- CMD ----------~n 1-76 1111111111111111111111111111111111111111111111111 FUJITSU MBl82288-8 1111111111111111111111111111111111111111111111111 MBl82288-6 Bus cycles can occur back to back with no TI bus states between TC and TS. Back to back cycles do not affect the Fig. 8 - WRITE-WRITE BUS CYCLES WITH MB = 0 timing of the command and control outputs. Command and control outputs always reach the states shown for the 1ST WRITE CYClE+-2ND WRITE CYCLE same clock edge (within TS, TC, or following bus state) of a bus cycle. ClK TC I TS I TC A special case in control timing occurs for back to back write cycles with MB = O. In this case, DT/R" and DEN re- main HIGH between the bus cycles (see Fig. 8). The com- mand and ALE output timing does not change. Fig. 9 and 10 show a Multibus cycle with MB = 1. AEN and CMDL Yare connected to GND. The effects of CMDL Y and AEN are described later in the section on control inputs. VOH DEN DEN Fig. 9 shows a read cycle with one wait state and Fig. 10 REMAINS shows a write cycle with two wait states. The second wait HIGH VOH state of the write cycle is shown only for example purposes DTIR and is not required. The READY input is shown to illus- trate how wait states are added. Fig_ 9 - IDLE-READ-IDLE BUS CYCLES WITH MB = 1 TI TS TC TC TI ClK Sl·w --~ ALE _ _ _ _ _---' DEN ________________ ~--+-J DTiFi - - - - - - - - -......0:;:"\\ 1-77 !1I'!l l l l l il l l'IIIIIIIIIIII!!1111111111111 MBL 82288-8 FUJITSU MBL 82288-6 Illilll',:!llllllllllllllllllllllllillllllllll'lll Fig. 10 -!DEl·WRITE·IDlE BUS CYCLES WITH MB = 1 TI TS TC TC TC TI ClK ALE DEN VOH DT/R" The MB control input affects the timing of the command Back to back bus cycles with MB = 1 do not change the and DEN outputs. These outputs are automatically delayed timing of any of the command of control outputs. DEN al· in Multibus mode to satisfy three requirements: ways becomes inactive between bus cycles with MB = 1. 1) 50 ns minimum setup time for valid address before any Except for a halt or shutdown bus cycle, ALE will be command output becomes active. issued during the second half of TS for any bus cycle. ALE becomes inactive at the end of the TS to allow latch· 2) 50 ns minimum setup time for valid write data before ing the address to keep it stable during the entire bus any write command output becomes active. cycle. The address outputs may change during Phase 2 of 3) 65 ns maximum time from when any read command be· any TC bus state. ALE is not affected by any control comes inactive until the slave's read data drivers reach input. 3·state OFF. Fig. 11 shows how MCE is timed during interrupt acknowl· Three signal transitions are delayed by MB = 1 as compared edge (INTA) bus cycles. MCE is one ClK cycle longer to MB = 0: than ALE to hold the cascade address from a master MBl 8259A valid after the falling edge of ALE. With the 1) The HIGH to lOW transition of the read command out· exception of the MCE control output, an INTA bus cycle puts (lORC, MRDC, and INTA) are delayed one ClK is identical in timing to a read bus cycle. MCE is not af· cycle. fected by any control input. 2) The HIGH to lOW transition of the write command outputs (IOWC and MWTC) are delayed two ClK cycles. 3) The lOW to HIGH transition of DEN for write cycles is delayed one ClK cycle. 1·78 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII! FUJITSU MBL 82288-8 1111111111111111111111111111111111111111111111111111 MBL 82288-6 Fig. 11 - MCE OPERATION FOR commonly used to identify which bus is required for each AN INTA BUS CYCLE bus cycle, CENL is latched to avoid the need for latching its input. TI TS TC The CENL input can affect the DEN control output. When ClK MB ~ 0, DEN normally becomes active during Phase 2 of TS in write bus cycles. This transition occurs before CENL is sampled. If CENL is sampled LOW, the DEN output will be forced LOW during TC as shown in the timing wave· forms. ALE When MB ~ 1, CEN/ AEN becomes AEN. AEN controls when the bus controller command outputs enter and MCE _ _ _ _ _-1 exit 3'state OFF. AEN is intended to be driven by a bus arbiter, like the 82289, which assures only one bus can· troller is driving the shared bus at any time. When AEN makes a LOW to HIGH transition, the command outputs CONTROL INPUTS immediately enter 3·state OFF and DEN is forced inactive. The control inputs can alter the basic timing of com· An inactive DEN should force the local data transceivers mand outputs, allow interfacing to multiple buses, and connected to the shared data bus into 3'state OFF (see share a bus between different masters. For many Fig. 12). The LOW to HIGH transition of AEN should MBL 80286 systems, each CPU will have more than one only occur during TI or TS bus states. bus which may be used to perform a bus cycle. Normal· Iy, a CPU will only have one bus controller active for each The HIGH to LOW transition of AEN signals that the bus bus cycle. Some buses may be shared by more than one controller may now drive the shared bus command signals. CPU (i.e. Multibus) requiring only one of them use the bus Since a bus cycle may be active or be in the process of start· at a time. ing, AEN can become active during any T·state. AEN LOW immediately allows DEN to go to the appropriate state. Systems with multiple and shared buses use two control Three CLK edges later, the command outputs will go active input signals of the MBL 82288 bus controller, CENL (see timing waveforms). The Multibus requires this delay and AEN (see Fig. 12). CENL enables the bus controller for the address and data to be valid on the bus before the to control the current bus cycle. The AEN input prevents commands become active. a bus controller from driving its command outputs. AEN HIGH means that another bus controller may be driving When MB~O, CEN/AEN becomes CEN. CEN is an synchro· the shared bus. nous input which immediately affects the command and DEN outputs. When CEN makes a HIGH to LOW transi· In Fig. 12, two buses are shown: a local bus and a Multi· tion, the commands and DEN are immediately forced in· bus. Only one bus is used for each CPU bus cycle. The active. When CEN makes a LOW to HIGH transition, the CENL inputs of the bus controllers select which bus can· commands and DEN outputs immediately go to the ap· troller is to perform the bus cycle. An address decoder propriate state (see timing waveforms). READY must still determines which bus to use for each bus cycle. The become active to terminate a bus cycle if CEN remains MBL 82288 connected to the shared Multibus must be LOW for a selected bus controller (CENL was latched selected by CENL and be given access to the Multibus HIGH). by AEN before it will begin a Multibus operation. Some memory or I/O systems may require more address CENL must be sampled HIGH at the end of the TS bus or write data setup time to command active than provided state (see waveforms) to enable the bus controller to by the basic command output timing. To provide flexible activate its command and control outputs. If sampled command timing, the CMDL Y input can delay the activa· LOW the commands and DEN will not go active and tion of command outputs. The CMDL Y input must be DT/A will remain HIGH. The bus controller will ignore sampled LOW to activate the command outputs. CMDL Y the CMDL Y, CEN, and READY inputs until another bus does not affect the control outputs ALE, MCE, DEN, and cycle is started via Sf and SO. Since an address decoder is DT/R. 1-79 11111111111111111111111111111111111111111111111111111 MBl 82288-8 FUJITSU MBl 82288-6 1111111111111111111111111111111111111111111111111111 Fig. 12 - SYSTEM USE OF AEN AND CENL rOll X1 X2 READY - - -- SRDY MBl 82284 ARDY XACK r- SRDYEN ClK READY ARDYEN Sl, so 910n ± 5% .n +5V READY READY COMMANDS CMD <== CMD ClK MBl82288 ClK MBl82288 CMD MIlO Sl,SO M/iO S1'SO DEN {:>r- DT/R Ul ::J MB CENl CEN - ,.- CENl MB ALE AEN '" .J « u o.J + I +5V I +5V ~ READY AEN CONT ROl ClK 82289 ADDRESS MIlO CNTl '> DECODER S1,SO SYS/RESB MilO H so 20kn ADDRES S DATA 1f S1 .n .n +5V ADDR ESS II A23-0 ClK READY MilO C]/V Sl,W LC ~ ~fI MBl80286 OAT A D15·0 lfi-- > Dv 1-80 1111111111111111111111111111111111111111111111111 FWITS'U MBL 82288-8 1111111111111111111111I11111111111111111111111111 MIL 82288-6 CMDl Y is first sampled on the falling edge of the ClK ending TS. If sampled HIGH, the command output is not activated, and CMDl Y is again sampled on the next falling edge of ClK. Once sampled LOW, the proper .command output becomes active immediately if MB = O. If MB = 1, the proper command goes active no earlier than shown in Fig. 9 and 10. READY can terminate a bus cycle before CMDL Y allows a command to be issued. In this case no commands are issued and the bus controller will deactivate DEN and DT/R in the same manner as if a command had been issued. WAVEFORMS DISCUSSION The waveforms show the timing relationships of inputs and outputs and do not show all possible transitions of all signals in all modes. Instead, all signal timing relationships are shown via the general cases. Special cases are shown when needed. The waveforms provide some functional descriptions of the MBl82288; however, most functional descriptions are provided in Fig. 5 through 11. To find the timing specification for a signal transition in a particular mode, first look for a special case in the wave· forms. If no special case applies, then use a timing specifica- tion for the same or related function in another mode. 1-81 1111111111111111111111111111111I11111111111111111111 MBL 82288-8 FUJITSU MBL 82288-6 11111I1111111111111111111111111111111111111111111111 ABSOLUTE MAXIMUM RATINGS* *NOTE; Permanent device damage may occur if ABSO- lUTE MAXIMUM RATINGS are exceeded. Ambient Temperature Under Bias . . . . . . . . o°c to 70°C Storage Temperature. . . . . . . . . . . .. -65°C to +150°C Functional operation should be restricted to the Voltage on Any Pin with conditions as detailed in the operational sections of this data sheet. Exposure to absolute maxi- Respect to GND . . . . . . . . . . . . . . . . . -0.5V to +7V mum rating conditions for extended periods may Power Dissipation . . . . . . . . . . . . . . . . . . . . . . . 1 Watt affect device reliability. D.C. CHARACTERISTICS (Vee = 5V±5%, TA = O°C to 70°C) MBl82288-6 MBl82288-8 Symbol Parameter (6 MHz) (8 MHz) Unit Test Condition Min Max Min Max V IL Input lOW Voltage -0.5 0.8 -0.5 0.8 V V IH Input HIGH Voltage 2.0 Vee +0.5 2.0 Vee +0.5 V VILe ClK Input lOW Voltage -0.5 0.6 -0.5 0.6 V VI He ClK Input HIGH Voltage 3.8 Vee+0 .5 3.8 Vee +0.5 V VOL Output lOW Voltage: Command Outputs 0.45 0.45 V IOL = 32mA, Note 1 Control Outputs 0.45 0.45 V IOL = 16mA, Note 2 VOH Output HIGH Voltage: Command Outputs 2.4 2.4 V IOH = -5mA, Note 1 Control Outputs 2.4 2.4 V IOH = -lmA, Note 2 IF Input Current (SO and Sl inputs) -0.5 -0.5 mA VI = 0.45V IlL Input leakage current (all other ±10 ±10 IlA OV ~ V IN ~ Vee inputs) ILO Output Leakage Current ±10 ±10 IlA 0.45V~ VOUT < Vee lee Power Supply Current 120 120 mA CeLK ClK Input Capacitance 12 12 pF Fe = 1MHz CI Input Capacitance 10 10 pF Fe = 1MHz Co Input/Output Capacitance 20 20 pF Fe = 1MHz NOTE: 1. Command Outputs are ll'iITA, TORe: IOWC, MR DC, and MWRC. 2. Control Outputs are DT /R, DEN, ALE and MCE. 1-82 IIIII!IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII FUJITSU MBl82288-8 1111111111111111111111111111111111111111111111111 MBl82288-6 A.C. CHARACTERISTICS (Vee = 5V ±5%, T A = O°C to 70°C) AC timings are referenced to O.8V and 2.0V points of signals as illustrated in data sheet waveforms, unless otherwise noted. MBl82288·6 MBl82288-8 Symbol Parameter (6 MHz) (SMHz) Unit Test Condition Min Max Min Max 1 ClK Period 83 250 62 250 ns 2 ClK HIGH Time 25 230 20 235 ns at 3.6V 3 ClK lOW Time 20 225 15 230 ns at 1.0V 4 elK Rise Time 10 10 ns 1.0V to 3.6V 5 ClK Fall Time 10 10 ns 3.6V to 1.0V 6 MIlO and Status Setup Time 28 22 ns 7 MilO and Status Hold Time 1 1 ns 8 CENl Setup Time 30 20 ns 9 CENl Hold Time 1 1 ns 10 READY Setup Time 50 38 ns 11 READY Hold Time 35 25 ns 12 CMDl Y Setup Time 25 20 ns 13 CMDlY Hold Time 1 1 ns 14 AEN Setup Time 25 20 ns Note 3 15 AEN Hold Time 0 0 ns Note 3 16 ALE, MCE Active Delay from elK 3 25 3 20 ns Note 4 17 ALE, MCE Inactive Delay from ClK 35 25 ns Note 4 18 DEN (Write) Inactive from CENl 35 35 ns Note 4 19 DT/R lOW from ClK 40 25 ns Note 4 20 DEN (Read) Active from DT/R 5 50 5 35 ns Note 4 21 DEN (Read) Inactive Delay from ClK 3 40 3 35 ns Note 4 22 DT/R HIGH from DEN Inactive 5 45 5 35 ns Note 4 23 DEN (Write) Active Delay from ClK 35 30 ns Note 4 24 DEN (Write) Inactive Delay from ClK 3 35 3 30 ns Note4 25 DEN Inactive from CEN 40 30 ns Note 4 26 DEN Active from CEN 35 30 ns Note 4 27 DT/R HIGH from ClK 50 35 ns Note 4 (when CEN = lOW) 28 DEN Active from AEN 35 30 ns Note 4 29 CMD Active Delay from ClK 3 40 3 25 ns Note 5 30 CMD Inactive Delay from elK 3 30 3 25 ns Note 5 31 CMD Inactive from CEN 35 25 ns Note 5 32 CMD Active from CEN 45 25 ns Note 5 33 CMD Inactive Enable from AEN 40 40 ns Note 5 34 CMD Float Delay from AEN 40 40 ns Note 6 35 MB Setup Time 25 20 ns 36 MB Hold Time 0 0 ns 37 Command Inactive Enable from MB~ 40 40 ns Note 5 38 Command Float Time from MBt 40 40 ns Note 6 39 DEN Inactive from MBt 40 30 ns Note 4 40 DEN Active from MBI 35 30 ns Note 4 NOTE: 3. AEN,is an asynchronous input. This specification is for testing purposes only, to assure recognition at a specific elK edge. 4. Control output load: CL = 150pF. 5. Command output load: CL = 300pF. 6. Float condition occurs when output current is less than I LO in magnitude. 1-83 1111111111111111111111111111111111111111111111111111 MBl 82288-8 FUJITSU MBl 82288-61111111111111111111111111111111111111111111111111111 NOTE 7: AC Drive and Measurement Points - elK Input 4.0V ClK INPUT NOTE 8: AC Setup. Hold and Delay Time Measurement - General 4.0V ClK INPUT 0.45V----- tSETUP tHOLD 2.4V 2.0V 2.0V OTHER DEVICE INPUT O.BV O.BV O.45V 2.0V DEVICE OUTPUT O.BV NOTE 9: AC Test Loading on Outputs gG~~~T--------'l r CL 1-84 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 82288-8 1111111111111111111111111111111111111111111111111111 MBl 82288-6 WAVEFORMS ClK CHARACTERISTICS ClK STATUS, ALE, MCE, CHARACTERISTICS ClK M/iQ,51,SO ALE _ _ _ _ _ _!-' MCE _ _ _ _ _ _- ' CENl, CMDlY, DEN CHARACTERISTICS WITH MB = 0 AND CEN = 1 DURING WRITE CYCLE ClK 51-SO DEN ----t...J CENl CMDl Y 11111////11$//ffi 1-85 1IIIIilllllllllllllllllllllllllllllllllllllllllllili MBL 82288-8 FUJITSU MBL 82288-6 I111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) READ CYCLE CHARACTERISTICS WITH MB = 0 AND CEN = 1 TS TC CLK CMDLY DT/R DEN CMD READY CENL WRITE CYCLE CHARACTERISTICS WITH MB = 0 AND CEN = 1 CLK DEN _ _ _ _ _- J VOH DT/R CMDLY CENL 1-86 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 82288-8 1111111111111111111111111111111111111111111111111111 MBL 82288-6 WAVEFORMS (Continued) CEN CHARACTERISTICS WITH MB = 0 CLK CEN DEN CMD @) DT/R READY AEN CHARACTERISTICS WITH MB = 1 CLK DEN _ _oJ NOTE 1: AEN is an asynchronous input. AEN setup and hold times are specified to guarantee the response shown in the waveforms. 1-87 1111111111111111111111111111111111111111111111111111 MBL 82288-8 FUJITSU MBL 82288-6 1111111111111111111111111111111111111111111111111111 PACKAGE ILLUSTRATION CERAMIC PACKAGE (CERDIP) PACKAGE DIMENSIONS (Suffix -CZ) 20-lEAD CERAMIC (CERDIP) DUAL IN-LINE PACKAGE (CASE No_: DIP-20C-C01) ~ 0° - 15° R.02510.64) REF ~'91)rn II J .29117.39) .30017.62)TYP .30517.75) .32518.26) I~~~~~~~~~~~~~~~~WI Lh~~~~ .940123.88) _ . 1.000125.4) .20015.08)MAX .120113.05) .15013.81) .02010.51) I----t----=-;:::;-==-oc-----++~ .05011.27) .900122.86)REF .01510.38) .02310.58) Dimensions in inches (millimeters) © 1985 FUJITSU D20001S·1C 1-88 111111111111111111111111111111111111111111111111111I FUJITSU MBl 82288-8 1111111111111111111111111111111111I11111111111111111 MBl 82288-6 PACKAGE ILLUSTRATION PLASTIC PACKAGE PACKAGE DIMENSIONS (Suffix: -PI 20-LEAD PLASTIC DUAL IN·LlNE PACKAGE ~CASE No.: DlP·2oP·M01) 1-89 MBL 80186 MBL 80186-6 February 1986 Edition 1.0 NMOS HIGH-INTEGRATION 16-BIT MICROPROCESSOR The Fujitsu MBl 80186 is a highly integrated 16-bit microprocessor. The MBl 80186 effectively combines 15-20 of the most common MBl 8086 system components onto one. The MBl 80186 provides two times greater throughput than the standard 5MHz MBl 8086. The MBl 80186 is upward compatible with MBl 8086 and 88 software and adds 10 new instruction types to the existing set. It is housed in a 68-pad ceramic lCC (leadless Chip Carrier: JEDEC Type A) or 68-pin Ceramic PGA (Pin Grid Array) package. • Integrated Feature Set: • High-performance Processor Enhanced MBl 8086-2 CPU 2 Times the Performance of the Standard Clock Generator MBl8086 2 Independent, High-Speed DMA Channels 4 MByte/Sec Bus Bandwidth Interface Programmable Interrupt Controller • Direct Addressing Capability to 1. MByte of Memory 3 Programmable 16-bit Timers • Completely Object Code Compatible with All Exist- Programmable Memory and Peripheral Chip-Select ing MBl 8086, 88 Software logic - 10 New Instruction Types Programmable Wait State Generator • High Performance Numerical Coprocessing Capability local Bus Controller Through Intel 8087 Interface • Available in 8MHz (MBl80186) and cost effective • Two Package Options: 6MHz (MBl 80186-6) versions. 68-Pad Ceramic lCC (Suffix -CV) (JEDEC Type A) 68-Pin Ceramic PGA (Suffix -CR) Fig. 1 - BLOCK DIAGRAM INT3/INTAl CLKOUT INT2/1NTAO rEXECU--;:-I~N-U;I~ I 16-81T I MAX COUNT ALU REGISTER B I PROGRAMMABLE CLOCK I INTERRUPT CONTROLLER MAX COUNT REGISTER A GENERATOR I I CONTROL REGISTERS I I ,-------l-IDAQO DROl CHIP-SELECT 20·81T SRDY UNIT SOURCE POINTERS AROY 20-81T TEST DESTINATION HOLD POINTERS HLDA 16-81T TAft.NSF ER COUNT RESET CONTROL REGISTERS MCSO-3 Portions reprinted by permission of Intel Corporation © Intel Corporation, 1983 ©FUJITSU LIMITED, 1986 1-90 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80186 1111111111111111111111111111111111111111111111111111 MBl 80186-6 Fig. 2 - PIN CONFIGURATIONS 68·PAD LCC BOTTOM VIEW TOP VIEW 68-PIN PGA TOP VIEW BOTTOM VIEW r-~'"'---INDEX 1-91 1111111111111111111111111111111111111111111111111 MBl80186 FUJITSU MBl80186-6 1111111111111111111111111111111111111111111111111 PIN DESCRIPTION Table 1 - PIN DESCRIPTION Symbol Pin No. Type Name and Function Vee, Vee 9,43 I System Power: +5 V power supply. Vss , Vss 26,60 I System Ground. RESET 57 0 Reset Output indicates that the MB l 80186 CPU is being reset, and can be used as a system reset. It is active HIGH, synchronized with the pro- cessor clock, and lasts an integer number of clock periods corresponding to the length of the RES signal. Xl,X2 59,58 I Crystal Inputs, Xl and X2, provide an external connection for a funda- mental mode parallel resonant crystal for the internal crystal oscillator. Xl can interface to an external clock instead of a crystal. In this case, minimize the capacitance on X2 or drive X2 with complemented Xl. The input or oscillator frequency is internally divided by two to generate the clock signal (ClKOUT). ClKOUT 56 o Clock Output provides the system with a 50% duty cycle waveform. All device pin timings are specified relative to ClOKOUT. ClKOUT has suf- ficient MOS drive capabilities for the 8087 Numeric Processor Extension. RES 24 System Reset causes the MBl 80186 to immediately terminate its pre- sent activity, clear the internal logic, and enter a dormant state. This signal may be asynchronous to the MBl 80186 clock. The MBl 80186 begins fetching instructions approximately 7 clock cycels after RES is returned HIGH. RES is required to be lOW for greater than 4 clock cycles and is internally synchronized. For proper initialization, the lOW- to HIGH transition of RES must occur no sooner than 50 microseconds after power up. This input is provided with a Schmitt-trigger to facilitate power-on RES generation· via an RC network. When RES occurs, the MBl 80186 will drive the status lines to an inactive level for one clock, and then tri-state them. TEST 47 TEST is examined by the WAIT instruction. If the TEST input is HIGH when "WAIT" execution begins, instruction execution will suspend. TEST will be resampled until it goes lOW, at which time execution will resume. If interrupts are enabled while the MBl 80186 is waiting for TEST, interrupts will be serviced. This input is synchronized internally. TMR IN 0, 20 I Timer Inputs are used either as clock or control signals, depending upon TMR IN 1 21 I the programmed timer mode. These inputs are active HIGH (or lOW-to- HIGH transitions are counted) and internally synchronized. TMR OUTO, 22 0 Timer Outputs are used to provide single pulse or continuous waveform TMROUT 1 23 0 generation, depending upon the timer mode selected. DROO, 18 I DMA Request is driven HIGH by an external device when it desires that a DROl 19 I DMA channel (Channel 0 or 1) perform a transfer. These signals are active HIGH, level-triggered, and internally synchronized. NMI 46 I Non-Maskable Interrupt is an edge-triggered input which causes a type 2 interrupt. NMI is not maskable internally. A transition from a lOW to HIGH initiates the interrupt at the next instruction boundary. NMI is latched internally. An NM I duration of one clock or more will guarantee service. This input is internally synchronized. INTO,INT1, 45,44 I Maskable Interrupt Requests can 'be requested by strobing one of these INT2/1 NTAO, 42 I/O pins. When configured as inputs, these pins are active HIGH. Interrupt INT3/INTAl 41 I/O Requests are synchronized internally. INT2 and INT3 may be configured via software to provide active-lOW interrupt-acknowledge output signals. All interrupt inputs may be configured via software to be either edge- or level-triggered. To ensure recognition, all interrupt requests must remain active until the interrupt is acknowledged. When iRMX mode is selected, the function of these pins changes (see Interrupt Controller section of this data sheet). 1·92 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80186 1111111111111111111111111111111111111111111111111111 MBl 80186-6 PIN DESCRIPTION (Continued) Table 1 - PIN DESCRIPTION (Continued) Symbol Pin No. Type Name and Function A19/S6, 65 a Address Bus Outputs (16-19) and Bus Cycle Status (3-6) reflect the A18/S5, 66 a four most sl~nificant address bits during Tl. These signals are active A17/S4, 67 a HIGH. During T2, T3, Tw and T4, status information is available on A16/S3 68 a these lines as encoded below: Low High I 56 I Processor Cycle I OMA Cycle I S3, S4, and S5 are defined as lOW during T2-T4. AD15-ADO 10-17, I/O Address/Data Bus (0-15) signals constitute the time mutiplexed memory 1-8 or I/O address (Tl) and data (T2, T3, Tw, and T4) bus. The bus is active HIGH. AO is analogous to BHE for the lower byte of the data bus, pins 07 through DO. It is lOW during Tl when a byte is to be transferred onto the lower portion of the bus in memory or I/O operations. BHE/S7 64 a During Tl the Bus High Enable signal should be used to determine if data is to be enabled onto the most significant half of the data bus, pin 015- 08. BHE is lOW during Tl for read, write, and interrupt acknowledge cycles when a byte is to be transferred on the higher half of the bus. The S7 status information is available during T2, T3, and T4. S7 is logi· cally equivalent to BHE. The signal is active lOW, and is tristated OFF during bus HOLD. BHE and AO Encodings BHE Value AO Value Function 0 0 Word Transfer 0 1 Byte Transfer on upper half of data bus (015-08) 1 0 Byte Transfer on lower half of data bus (07-00) 1 1 Reserved AlE/QSO 61 a Address latch Enable/Queue Status 0 is provided by the MBl 80186 to latch the address into the MBl 8282/8283 address latches. ALE is active HIGH. Addresses are guaranteed to be valid on the trailing edge of ALE. The ALE rising edge is generated off the rising edge of the ClKOUT immediately preceding Tl of the associated bus cycle, effectively one· half clock cycle earlier than in the standard MBl 8086. The trailing edge is generated off the ClKOUT rising edge in Tl as in the MBl8086. Note that ALE is never floated. WR/QSl 63 a Write Strobe/Queue Status 1 indicates that the data on the bus is to be written into a memory or an I/O device. WR is active for T2, T3, and Tw of any write cycle. It is active lOW, and floats during "HOLD." It is driven HIGH for one clock during Reset, and then floated. When the MBl80186 is in queue status mode, the AlE/QSO and WR/QSl pins provide information about processor/instruction queue interaction. aS1 aso Queue Operation 0 0 No Queue operation 0 1 First opcode byte fetched from the queue 1 1 Subsequent byte fetched from the queue 1 0 Empty the queue RD/QSMD 62 a Read Strobe indicates that the MBl 80186 is performing a memory or I/O read cycle. RD is active lOW for T2, T3, and Tw of any read cycle. It is guaranteed not to go lOW in T2 until after the Address Bus is floated. RD is active lOW, and floats during "HOLD." RD is driven HIGH for one clock during Reset, and then the output driver is floated. A weak internal pull·up mechanism on the RD line holds it HIGH when the line is not driven. During RESET the pin is sampled to determine whether the MBl80186 should provide ALE, WR and RD, or if the Queue·Status should be provided. RD should be connected to GND to provide Queue·Status data. 1-93 11111111111111111111111111111111111I1111111111111 MBl80186 FUJITSU MBl80186-6 1111111111111111111111111111111111111111111111111 PIN DESCRIPTION (Continued) Table 1 - PIN DESCRIPTION (Continued) Symbol Pin No. Type Name and Function ARDY 55 I Asynchronous Ready informs the MBL 80186 that the addressed memo ory space or I/O device will complete a data transfer. The ARDY input pin will accept an asynchronous input, and is active HIGH. Only the rising edge is internally synchronized by the MB L 80186. This means that the falling edge of ARDY must be synchronized to the MBL 80186 clock. If connected to Vee, no WAIT states are inserted. Asynchronous ready (ARDY) or synchronous ready (5RDY) must be active to terminate a bus cycle. If unused, this line should be tied LOW. 5RDY 49 I Synchronous Ready must be synchronized externally to the MBL 80186. The use of 5RDY provides a relaxed system·timing specification on the Ready input. This is accomplished by eliminating the one·half clock cycle which is required for internally resolving the signal level when using the ARDY input. This line is active HIGH. If this line is connected to Vee, no WAIT states are inserted. Asynchronous ready (ARDY) or synchronous ready (5RDY) must be active before a bus cycle is ter· minated. If unused, this line should be tied LOW. LOCK 48 0 LOCK output indicates that other system bus masters are not to gain control of the system bus while LOCK is active LOW. The LOCK signal is requested by the LOCK prefix instruction and is activated at the beginning of the first data cycle associated with the instruction following the LOCK prefix. It remains active until the completion of the instruc· tion following the LOCK prefix. No prefetches will occur while LOCK is asserted. LOCK is active LOW, is driven HIGH for one clock during RESET, and then floated. SO,S1,52 52-54 0 Bus Cycle Status SO-S2 are encoded to provide bus·transaction inform· ation: MBL 80186 Bus Cycle Status Information S2 S1 SO Bus Cycle Initiated 0 0 0 Interrupt Acknowledge 0 0 1 Read 1(0 0 1 0 Write 1(0 0 1 1 Halt 1 0 0 Instruction Fetch 1 0 1 Read Data from Memory 1 1 0 Write Data to Memory 1 1 1 Passive (no bus cycle) The status pins float during "HOLD." _ _ 52 may be used as a logical M/IO indicator, and S1 as a DT/R indicator. The status lines are driven HIGH for one clock during Reset, and then floated until a bus cycle begins. HOLD, 50 I HOLD indicates that another bus master is requesting the local bus. The HLDA 51 0 HOLD input is active HIGH. HOI..,D may be asynchronous with respect to the MBL 80186 clock. The MBL 80186 will issue a HLDA (HIGH) in response to a HOLD request at the end of T4 or T1. Simultaneous with the issuance of HLDA, the MBL 80186 will float the local bus and control lines. After HOLD is detected as being LOW, the MBL 80186 will lower HLDA. When the MBL 80186 needs to run another bus cycle, it will again drive the local bus and control lines. UCS 34 0 Upper Memory Chip Select is an active LOW output whenever a memory reference is made to the defined upper portion (1 K-256K block) of memory. This line is not floated during bus HOLD. The address range activating UCS is software programmable. 1-94 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80186 1111111111111111111111111111111111111111111111111111 MBl 80186-6 PIN DESCRIPTION (Continued) Table 1 - PIN DESCRIPTION (Continued) Symbol Pin No. Type Name and Function lCS 33 o lower Memory Chip Select is active lOW whenever a memory reference is made to the defined lower portion (1 K-256K) of memory. This line is not floated during bus HOLD. The address range activating leS is software programmable. MCSO-3 38-35 o Mid·Range Memory Chip Select signals are active lOW when a memory reference is made to the defined mid·range portion of memory (8K- 512K). These lines are not floated during bus HOLD. The address ranges activating MCSO-3 are software programmable. Peripheral Chip Select Signals 0-4 are active lOW when a reference is made to the defined peripheral area (64K byte I/O space). These lines are 25,27-30 o not floated during bus HOLD. The address ranges activating PCSO-4 are software programmable. PCS5/A1 31 o Peripheral Chip Select 5 or latched A 1 may be programmed to provide a sixth peripheral chip select, or to provide an internally latched A1 signal. The address range activating PCS5 is software programmable. When programmed to provide latched A 1, rather than PCS5, this pin will retain the previously latched value of A1 during a bus HOLD. A1 is active HIGH. PCS6/A2 32 o Peripheral Chip Select 6 or latched A2 may be programmed to provide a seventh peripheral chip select, or to provide an internally latched A2 signal. The address range activating PCS6 is software programmable. When programmed to provide latched A2, rather than J5CSl), this pin will retain the previously latched value of A2 during a bus HOLD. A2 is active HIGH. DT/R 40 o Data Transmit/Receive controls the direction of data flow through the external MBl 8286/8287 data bus transceiver. When lOW, data is trans· ferred to the MBl80186'. When HIGH, the MBl80186 places write data on the data bus. DEN 39 o Data Enable is provided as an MBl8286/8287 data bus transceiver output enable. DEN is active lOW during each memory and I/O access. DEN is HIGH whenever DT/R changes state. 1-95 111111111111111111111111111111I111111111111111111111 MBl80186 FUJITSU MBl80186-6 1111I11111111111111111111111111111111111111111111111 FUNCTIONAL DESCRIPTION INTRODUCTION • Segment Registers The following Functional Description describes the base Four 16-bit special purpose registers select, at any given architecture of the MBL 80186. This architecture is com- time, the segments of memory that are immediately ad- mon to the MBL 8086, 88, and 286 microprocessor families dressable for code, stack, and data. (For usage, refer to as well. The MBL 80186 is a very high integration 16-bit Memory Organization). microprocessor. It combines 15-20 of the most com- mon microprocessor system components onto one chip • Base and Index Registers while providing twice the performance of the standard Four of the general purpose registers may also be used to MBL 8086. The MBL 80186 is object code compatible determine offset addresses of operands in memory. These with the MBL 8086, 88 microprocessors and adds 10 new registers may contain base addresses or indexes to particular instruction types to the existing MBL 8086, 88 instruction locations within a segment. The addressing mode selects set. the specific registers for operand and address calculations. MBL 80186 BASE ARCHITECTURE • Status and Control Registers The MBL 8086, 88, 186, and 286 family all contain the Two 16-bit special purpose registers record or alter certain same basic set of registers, instructions, and addressing aspects of the MBL 80186 processor state. These are the modes. The MBL 80186 processor is upward compatible Instruction Pointer Register, which contains the offset with the MB L 8086, 8088, and 80286 CPUs. address of the next sequential instruction to be executed, and the Status Word Register, which contains status and R egi ste r Set control flag bits (see Fig. 3a and 3b). The MBL 80186 base architecture has fourteen registers as shown in Fig. 3a and 3b. These registers are grouped Status Word Description into the following categories. The Status Word records specific characteristics of the result of logical and arithmetic instructions (bits 0, 2, 4, • General Registers 6, 7, and 11) and controls the operation of the MB L 80186 Eight 16-bit general purpose registers may be used to within a given operating mode (bits 8, 9, and 10). The contain arithmetic and logical operands. Four of these Status Word Register is 16-bits wide. The function of the (AX, BX, ex, and OX) can be used as 16-bit registers or Status Word bits is shown in Table 2. split into pairs of separate 8-bit registers. Fig. 3a - MBL 80186 GENERAL PURPOSE REGISTER SET 16-BIT REGISTER SPECIAL NAME REGISTER FUNCTIONS 07 o 15 o CODE SEGMENT AX AH AL CS SELECTOR BYTE MULTIPLY/DIVIDE ADDRESSABLE I/O INSTRUCTIONS DATA SEGMENT DX DH DL DS (8-BIT SELECTOR REGISTER LOOP/SHIFTI STACK SEGMENT CX CH CL SS NAMES REPEAT ICOUNT SELECTOR SHOWN) 1--------1 BL ES EXTRA SEGMENT BX BH SELECTOR BASE REGISTERS BP SEGMENT REGISTERS SI 15 o INDEX REGISTERS 1:11------~ DI STATUS WORD STACK POINTER INSTRUCTION SP POINTER 15 o STATUS AND CONTROL REGISTERS GENERAL REGISTERS 1-96 1111111111111111111111111111111111111111111111111111 FUJITSU MBl80186 1IIIIIIIIImllllllllllllllllllllllllllllllllllllili MBl80186-6 Fig. 3b - STATUS WORD FORMAT STATUS FLAGS: CARRY-----------------------------------------------, PAR ITY -----------------------------------------, AUX I LIARY CARRY ---------------------------------, ZERO - - - - - - - - - - - - - , SIGN - - - - - - - - - - - - - , OVERFLOW CONTROL FLAGS: L------------TRAPFLAG L----------------INTERRUPTENABLE L-___________________ DIRECTION FLAG ~ RESERVED Table 2 - STATUS WORD BIT FUNCTIONS An MB L 80186 instruction can reference anywhere from Bit Name Function zero to several operands. An operand can reside in a Position register, in the instruction itself, or in memory. Specific 0 CF Carry Flag - Set on high·order bit operand addressing modes are discussed later in this data carry or borrow; cleared otherwise. 2 PF Parity Flag - Set if low~order 8 bits sheet. of resu It contain an even" number of 1-bits; cleared otherwise. Memory Organization 4 AF Set on carry from or borrow to the low order four bits of AL; cleared Memory is organized in sets of segments. Each segment otherwise. is a linear contiguous sequence of up to 64K (2 16 ) 8·bit 6 ZF Zero Flag - Set if result is zero; bytes. Memory is addressed using a two·component address cleared otherwise. (a pointer) that consists of a 16·bit base segment and a 7 SF Sign Flag - Set equal to high·order 16·bit offset. The 16·bit base values are contained in one bit or result (0 if positive, 1 if nega- tive). of four internal segment registers (code, data, stack, extra). 8 TF Single Step Flag - Once set, a sin- The physical address is calculated by shifting the base gle step interrupt occurs after the value LEFT by four bits and adding the 16·bit offset value next instruction executes. TF is cleared by the single step interrupt. to yield a 20·bit physical address (see Fig. 5). This allows 9 IF Interrupt· Enable Flag - When set. for a 1 MByte physical address size. maskable interrupts- will cause the CPU to transfer control to an inter- rupt vector specified location. All instructions that address operands in memory must 10 OF Direction Flag - Causes string specify the base segment and the 16·bit offset value. For instructions to auto decrement the speed and compact instruction encoding, the segment appropriate index register when set. Clearing OF causes auto inc·rement. register used for physical address generation is impl ied by 11 OF Overflow Flag - Set if the signed the addressing mode used (see Table 3). These rules follow result cannot be expressed within the way programs are written (see Fig. 6) as independent the number of bits in the destina- tion ~perand; cleared otherwise. modules that require areas for code and data, a stack, and access to external data areas. Instruction Set The instruction set· is divided into seven categories: data Special segment override instruction prefixes allow the transfer, arithmetic, shift/rotate/logical, string manipula· implicit segment register selection rules to be overridden tion, control transfer, high·level instructions, and processor for special cases. The stack, data, and extra segments may control. These categories are summarized in Fig. 4. coincide for simple programs. 1-97 1111111111111111111111111111111111111111111111111 MBL 80186 FUJITSU MBL 80186-6 1111111111111111111111111111111111111111111111111 Fjg.4 - MBl 80186 INSTRUCTION SET GENERAL PURPOSE MOVS Move byte or word string MOV Move byte or word INS Input bytes or word string PUSH Push word onto stack OUTS Output bytes or word string POP Pop word off stack CMPS Compare byte or word string PUSHA Push all registers on stack SCAS Scan byte or word string POPA Pop all registers from stack LODS Load byte or word string XCHG Exchange byte or word STOS Store byte or word string XLAT Translate byte REP Repeat INPUT/OUTPUT REPE/REPZ Repeat while equal/zero IN 1 Input byte or word REPNE/REPNZ Repeat while not equal/not zero OUT 1 Output byte or word LOGICALS ADDRESS OBJECT NOT "Not" byte or word LEA Load effective address AND .. And" byte or word LOS Load pointer using OS OR "Inclusive or" byte or word LES 1 Load pointer using ES XOR "Exclusive or" byte or word FLAG TRANSFER TEST "Test" byte or word LAHF Load AH register from flags SHIFTS SAHF Store AH register in flags SHLISAL Shift logical/arithmetic left byte or word PUSHF Push flags onto stack SHR Shift logical right byte or word POPF Pop flags off stack SAR Shift arithmetic right byte or word ROTATES ADDITION ROL Rotate left byte or word ADD Add byte or word ROR Rotate right byte or word ADC Add byte or word with carry RCL Rotate through carry left byte or word INC Increment byte or word by 1 RCR Rotate through carry right byte or word AAA ASCII adjust for ad DO-D7 P ~~ DEN T ERMINAL SERIAL JE I/O DT/R PCSO Al A2 INTO J <==>0 DISK INTERFACE SK DI INTI HARDWARE PCS4 DRQO 1-125 I111111111111111111111111111111111111111111111111 MBL 80186 FUJITSU MBL 80186-6 1111111111111111111111111111111111111111111111111 Fig. 40 - TYPICAL MBL 80186 MUL TI·MASTER BUS INTERFACE 16 MHz Vee tlD~ Xl X2 ? n UCS CS RD RESET ROM <:=- i RES --./ MBl 8282 OR 8283 lATCH UF ALE STB STB I iSE OE + I11=> lOW RAM lCS CS BHE WR i'r ADO-AD19 LMBl82820R ===:::> ADDRESS ,-./ l~;.agH BUS STB iSE MBl80186 ~:::~=~- ! ! NMI HOLD =t ~kJ,MBL82860R_Q 8287 --v TRANSCEIVER I' DATA BUS T iSEJ T-iSE MU lTI· I ~ DT/R MA STER SY STEM BU S CLKOUT ClK MBl '---- ALE 8288 SO-52 BUS >,BUS CONTROL SO-52 - V CONTROLLER COMMANDS r- - CEN lOB AEN ~ j 1 SO-S2MBtEN ~ 8289 ClK BUS PCSO ~ ARBITER SYSB/RESB >~~~ii~~~ION PCSl lOB lOCK lOCK RESB L +5V ~ SRDY A ARDY '-J - ...( I 'XACK 1-126 1111111111111111111111111111111111111111111111111111 FUJITSU MBl80186 1111111111111111111111111111111111111111111111111111 MBl80186-6 ABSOLUTE MAXIMUM RATINGS* *NOTE: Permanent device damage may occur if ABSO- lUTE MAXIMUM RATINGS are exceeded. Ambient Temperature under Bias ........ O°C to 70°C Functional operation should be restricted to the Storage Temperature. . . . . . . . . . . .. -65°C to +150°C conditions as detailed in the operational sections Voltage on Any Pin with of this data sheet. Exposure to absolute maxi- Respect to Ground . . . . . . . . . . . . _ .. -1.0V to +7V mum rating conditions for extended periods may Power Dissipation _ . . . . . . . . . . . . . . . . . . . . _ . 3 Watt affect device reliability. D.C. CHARACTERISTICS (Vee =5V±10%, TA = 0° to 70°C) Applicable to MBl 80186 (8 MHz) and MBl 80186-6 (6 MHz) Symbol Parameter Min. Max. Units Test Conditions V!L Input Low Voltage 0.5 +0.8 V Input High Voltage V IH 2.0 Vee+0.5 V (All except Xl and (RES)) V IH1 Input High Voltage (RES) 3.0 Vee+0.5 V IOL = 2.5 mA for SO-S2 VOL Output Low Voltage 0,45 V IOL = 2.0 mA for all other outputs V OH Output High Voltage 2,4 V IOH = -4001'A 550 TA _O°C lee Power Supply Current -- mA Max measured at 450 TA = 70°C ILl Input Leakage Current ±10 I'A OV < VIN < Vee I Lo Output Leakage Current ±10 /LA 0,45V < VO UT < Vee VeLi Clock Input Low Voltage -0.5 O.S V VeHI Clock Input High Voltage 3.9 V ee +l.0 V VeLa Clock Output Low Voltage O.S V IOL = 4.0 mA VeHO Clock Output High Voltage 4.0 V IOH = -200 I'A CIN Input Capacitance 10 pF CIO 110 Capacitance 20 pF A.C. CHARACTERISTICS (Vee = 5V ± 10%, T A = 0° to 70°C) MBl 80186 Timing Requirements All timings Measured At 1.5 Volts Unless Otherwise Noted. Applicable to MBl 80186 (8 MHz) and MBl 80186-6 (6 MHz) Symbol Parameter Min. Max. Units Test Conditions TDVCL Data in Setup Time (A/D) 20 ns TCLDX Data in Hold Time (A/D) 10 ns Asynchronous Ready TARYHCH 20 ns (AREADY) Active Setup Time TARYLCL AREADY Inactive Setup Time 35 ns TCHARYX AREADY Hold Time 15 ns Asynchronous Ready Inactive TARYCHL 15 ns Hold Time Synchronous Ready TSRYCL 20 ns (SREADY) Transition Setup Time TCLSRY SREADY Transition Hold Time 15 ns THVCL HOLD Setup Time" 25 ns TINVCH INTR, NMI, TEST, TIMERIN, 25 ns Setup Time* TINVCL DRaa, ORal, Setup Time" 25 ns * To guarantee recognition at next clock. .. 1·127 111111111111111111111111111111111111111111111111I MBl80186 FUJITSU MBl80186-6 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!III A.C. CHARACTERISTICS (Continued) MBl 80186 Master Interface Timing Responses MBL 80186 (8 MHz) MBL 80186·6 (6 MHz) Symbol Parameter Units Test Conditions Min. Max. Min. Max. C L =20·200 pF TCLAV Address Valid Delay 5 55 5 63 ns all outputs TCLAX Address Hold Time 10 10 ns TCLAZ Address Float Delay TCLAX 35 TCLAX 44 ns TCHCZ Command Lines Float Delay 45 56 ns Command Lines Valid Delay TCHCV 55 76 ns (after Float) TLHLL ALE Width TCLCL·35 TCLCL·35 ns TCHLH ALE Active Delay 35 44 ns TCHLL ALE Inactive Delay 35 44 ns TLLAX Address Hold Time to ALE TCHCL·25 ns TCHCL·30 Inactive TCLDV Data Valid Delay 10 44 10 55 ns TCLDOX Data Hold Time 10 10 ns TWHDX Data Hold Time after WR TCLCL·40 TCLCL·50 ns TCVCTV Control Active Delay 1 10 70 10 87 ns TCHCTV Control Active Delay 2 10 55 10 76 ns TCVCTX Control Inactive Delay 5 55 5 76 ns DEN Inactive Delay TCVDEX 10 70 10 87 ns (Non·Write Cycle) TAZRL Address Float to RD Active 0 0 ns TCLRL RD Active Delay 10 70 10 87 ns TCLRH RD Inactive Delay 10 55 10 76 ns TRHAV RD Inactive to Address Active TCLCL·40 TCLCL·50 ns TCLHAV H LDA Valid Delay 5 50 5 67 ns TRLRH RDWidth 2TCLCL·50 2TCLCL·50 ns TWLWH WR Width 2TCLCL·40 2TCLCL-40 ns TAVAL Address Valid to ALE Low TCLCH·25 TCLCH·45 ns TCHSV Status Active Delay 10 55 10 76 ns TCLSH Status Inactive Delay 10 65 10 76 ns TCLTMV Timer Output Delay 60 75 ns 100pF max TCLRO Reset Delay 60 75 ns TCHQSV Queue Status Dealy 35 44 ns TCHDX Status Hold Time 10 10 ns TAVCH Address Valid to Clock High 10 10 ns MBl80186 Chip-Select Timing Responses MBL 80186 (8 MHz) MBL 80186·6 (6 MHz) Symbol Parameter Units Test Conditions Min. Max. Min. Max. TCLCSV Chip-Select Active Delay 66 80 ns Chip-Select Hold Time from TCXCSX 35 35 ns Command Inactive TCHCSX Chip-Select Inactive Delay 5 35 5 47 ns 1-128 1IIIIIIIIIIIIIIIIIIIIIImlllllllllllllllllllllllili FUJITSU MIL 80186 1111111111111111111111111111111111111111111111111111 MIL 80186-6 A.C. CHARACTERISTICS (Continued) MBl 80186 ClKIN Timing Requirements MBl SOI86 (S MHz) MBl SOIS6-6 (6 MHz) Symbol Parameter Units Test Conditions Min. Max. Min. Max. TCKIN ClKIN Period 62.5 250 83 250 ns TCKHl ClKIN Fall Time 10 10 ns 3.5 V to 1.0 V TCKlH ClKIN Rise Time 10 10 ns 1.0 V to 3.5 V TClCK ClKIN low Time 25 33 ns 1.5V TCHCK ClKIN High Time 25 33 ns 1.5V MBl 80186 ClKOUT Timing Responses (200 pF load) MBl S0186 (8 MHz) MBl SOI86-6 (6 MHz) Symbol Parameter Units Test Conditions Min_ Max. Min. Max. TCICO ClKIN to ClKOUT Skew 50 62.5 ns TClCl ClKOUT Period 125 500 167 500 ns TClCH ClKOUT low Time 11,TClCl-7.5 Y,TClCl-7.5 ns 1.5V TCHCl ClKOUT High Time Y,TClCl-7.5 Y,TClCl-7.5 ns 1.5 V TCH1CH2 ClKOUT Rise Time 15 15 ns 1.0V to 3.5 V TCl2Cll ClKOUT Fall Time 15 15 ns 3.5 V to 1.0 V 1-129 1111111111111111111111111111111111111111111111111111 MBL 80186 FUJITSU MBL 80186-6 1111111111111111111111111111111111111111111111111111 WAVEFORMS .. MAJOR CYCLE TIMING T1 T2 T3 Tw T4 CLKOUT S2-S0 BHE/S7, A19/S6-A 16/S3 --1---+-..11'---+--+--'1,"--'11--------+---+--'1 ALE AD15-ADO WRITE CYCLE RD, INTA, DT/R = V OH AD15-ADO INTA CYCLE DT/A RD, WR = V OH BHE = VOL SOFTWARE HALT-DT/R = VOL, RD, WR, INTA, DEN = V OH PCS1 MCS LCS1 ----+---.. TCLCSV TCXCSX I---~,I- Des 1-130 1111111111111111111111111111111111111111111111111111 FUJITSU MBL B0186 1111111111111111111111111111111111I11111111111111111 MBL 80186-6 WAVEFORMS (Continued) MAJOR CYCLE TIMING (Continued) T1 T2 TCH1CH2 T3 Tw T4 I--------TClCl~ - 'F---I _TCl~Cl1 ClK OUT VC:~ ~l- 7~1- f4 -' L\. if' 1'----' TCHCl -- ~ ~TClCH J '--- _ _ CL ~ TCl5H ~ (NOTE 3) i-'-'~~ 52-50 !'.I ]f"/0V/j TCH5V ~1'-__~~~~____-4____~_~~(/~//0///~'l/%~~~~ TCHDX _ _ TClDVI-- ;--- _+-T_C_lA_V-+-""""", ,..--+-,.--li---_ +-____ .... T,C;.,:lt:.A,;;.X;,..'__ ~----I-----+_.... ,._ _ __ BHE/57, A19/56-A16/53 ) BHE A19-A16 ) 57-53 ~ _ _+-_ _ ~_~ _ _+-J --T1Hllr~ ALE -, I ~llAX /r--- TCHL'H"~ TAVAl I'\+-I-----l-----+-----+-----"I------+------.J---- TJHll I---- J T~ TClDX TClAV f-----i--TAVAl--l----ITClAZ TDVCl--l---~-I AD15-ADO A15-AO DATA IN FLOAT Ir- _+-_+--...J) '--+---t----J FlOAT;'~'-______ -+____J ~ TAVCH - -TAZRl- / TClRH- i--- ~TRHAV---I READ CYCLE ~~--+-------~--~~ DT/R ==t. TCHCTV TClR l 1-------J.-i----+-TRlRH----+-~..jI- f--- TCHCTV ---Jjc~ ",m- -t.:'-_____T_C_V_D_E_X__ TCHC5X PC5, MC5 - - - - - 4___ lC5, - -TClC5V TCXCSX ~ UCS NOTES: 1, Following a Write cycle, the local Bus is floated by the MBl 80186 only when the MBl 80186 enters a "Hold Acknowledge" state, 2. I NTA occurs one clock later in iRMX-mode 3. Status inactive just prior to T4. 1·131 ----------~-,~-- 1111111111111111111111111111111111111111111111111111 MBl80186 FUJITSU MBl 80186-6 1111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) CLKOUT TCLAV CLKOUT TlNVCL NMI, - - - - - - - . TEST, INTO-3 TIMERIN _ _ _ _ _- - J CLKOUT ~ \~d'"ooL \'--- QSO,QS1-*.---- 1-132 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 80186 1111111111111111111111111111111111111111111111111111 MBL 80186-6 WAVEFORMS (Continued) HOLD-HLDA TIMING T2 T3 T2 ClKOUT ARDY ARDY ClKOUT SRDY ClKOUT ,TClAV AD15-ADO, - - - ----r--"'"T---, MBl80186 ~--+--+---+~-H _ _- ' - - - ' _ _ _ J I 'MBl80186 "-- DEN TCHCV r- A19/S6-A16/S3, - - - RD, WR, MBl80186 >--- ---""\ MBl80186 ___ J BHE, DT/A, 52-SO 1-133 1111111111111111111111111111111111111111111111111111 MBL 80186 FUJITSU MBL 80186-6 1111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) TIMER ON MBL 80186 CLKIN CLKOUT ~------------TCLCL------------~ / TlNVCH \'-----JI \'-------JI TIMERIN TIMEROUT ~---------------------2-6CLOCKS MBL 80186 INSTRUCTION TIMINGS • No wait states or bus HOLDS occur. • All word-data is located on even-address boundaries. The following instruction timings represent the minimum All iumps and calls include the time required to fetch the execution time in clock cycles for each instruction. The opcode of the next instruction at the destination address. timings given are based on the following assumptions: All instructions which involve memory reference can • The opcode, along with any data or displacement require one (and in some cases, two) additional clocks required for execution of a particular instruction, has above the minimum timings shown. This is due to the been prefetched and resides in the queue at the time it asynchronous nature of the handshake between the BIU is needed. and the Execution unit. 1-134 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80186 1111111111111111111111111I11111111111111111111111111 MBl 80186-6 INSTRUCTION SET SUMMARY FUNCTION Clock FORMAT Comments Cycles DATA TRANSFER MOV = Move: Register to register/memory 1 1OO O 1 00wl mod reg rim I 2/12 Register/memory to register 1 1O OO101wl mod reg rim I 2/9 Immediate to register/memory 11100011 wi mod 000 rim I data I data if w 1 I 12-13 8/16·bit I mmed iate to register 1101 1 w reg I data I data if w 11 3-4 8/16.bit Memory to accumulator 11010000wl addr-Iow I addr·high I 9 Accurnu latar to memory 11010001wl addr-Iow I addr·high I 8 Re~ister/memory to segment register 110001110 I mod 0 reg rim I 2/9 Segment register to register/memory 110001100 I mod 0 reg rim I 2/11 PUSH = Push: Memory 111111111 I mod 110 rim I 16 Register 101010reg I 10 Segment register 1000regll0 1 9 ~ s , ¥ ~ ~ POP = Pop: Memory 1 100011 1 1 1 mod 000 rim I 20 Register I 01011 reg I 10 Segment register I 000 reg 1 1 1 I (reg *01) 8 XCHG = Exchange: Register/memory with register I 1000011wl mod reg rim I 4/17 Register with accumulator I 10010reg I 3 IN = Input from: Fixed port I 111001 Ow 1 port I 10 Variable port 1 111011 Ow I 8 OUT = Output to: Fixed port 1 1110011 w I port I 9 Variable port I 1110111 wi 7 XLAT = Translate byte to AL 1 1101011 1 11 LEA = Load EA to register I 10001101 mod reg rim 1 6 LOS = Load pointer to DS I 11000101 mod reg rim I (mod * 11) 18 LES = Load pointer to ES I 11000100 mod reg rim I (mod * 11) 18 LAHF = Load AH with flags I 10011111 2 SAHF = Store AH into flags I 100111 10 3 PUSH F = Push flags I 10011100 9 POPF = Pop flags 1 1001 1 101 8 SEGMENT = Segment Override: CS 100101 110 1 2 SS 1 001 10110 1 2 OS I 0011 1 1 10 1 2 ES 100100110 1 2 Shaded areas indicate instructions not available In MBl 8086, 88 mlcrosystems. 1·135 1111111111111111111111111111111111111111111111111111 MBl80186 FUJITSU MBl80186-6 1111111111111111111111111111111111111111111111111111 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles ARTHMETIC AOO= Add: Reg/memory with register to either 1000000dw mod reg rim I 3/10 I'mmediate to register/memory 1100000sw mode 000 rim I data data if s w 01 I 4/16 Immediate to accumulator 10000010w data I data if w - 1 I 3/4 8/16-bit ADC = Add with carry: Reg/memory with register to either 1000100dw mod reg rim I 3/10 Immediate to register/memory 1100000sw mod 010 rim I data I data if s w 01 4/16 Immediate to accumulator 10001010w data I data if w 11 3/4 8/16-bit INC = Increment: Register/memory 11111111w mod 000 rim I 3/15 Register 101000reg 3 SUB = Subtract: Reg/memory and register to either 1001010dw mod reg rim I 3/10 Immediate from register/memory 1 1 00000sw mod 101 rim I data data if s w 01 I 4/16 Immediate from accumulator 10010110w data I data if w - 1 I 3/4 8/16-bit see = Subtract with borrow: Reg/memory and register to either 1000110dw mod reg rim 3/10 Immediate from register/memory 1 1 00000s w mod 011 rim data data if s w - 01 4/16 Immediate from accumulator 10001110w data I data if w - 1 I 3/4 8/16-bit DEC;;:;: Decrement: Register/memory 111111 11 w mod 001 rIm 3/15 Register 10 1001 reg CMP = Compare: Register/memory with register 10011101 w mod reg rIm I 3/10 Register with register/memory 10011100w mod reg rIm I 3/10 Immediate with register/memory 1100000sw mod 111 rIm I data I data if s w - 01 3/10 Immediate with accumulator 10011110w data I data if w 11 3/4 8/16-bit NEG = Change sign 11111011 w mod 011 rIm I 3 AAA = ASC II adjust for add 100110111 8 DAA = Decimal adjust for add 100100111 4 AAS = ASCII adjust for subtract 100111 111 DAS = Decimal adjust for subtract 100101 1 11 4 MUL = Multiply (unsigned): 11111011 w mod 100 rim Register·Byte 26-28 Register·Word 35-37 Memory·Byte 32-34 Memory·Word 41-43 IMUL = Integer multiply (signed): 11 1 1 1 01 1 w I mod 101 rim I Register·Byte 25-28 Register·Word 34-37 Memory·Byte 31-34 Memory·Word 40-43 Register·Byte 29 Register·Word 38 Memory·Byte 35 Memory·Word 44 Shaded areas indicate instructions not available in MBL 8086, 88 microsystems. 1-136 1111111111111111111111111111111111111111111111111 FUJITSU MBL 80186 1111111111111111111111111111111111111111111111111 MBL 80186-6 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles ARITHMETIC (Continued) IDIV == Integer divide (signed): \1 1 1 1 0 1 1 w mod 111 rim Register-Byte 44-52 Register-Word 53-61 Memory-Byte 50-58 Memory-Word 59-67 AAM = ASCII adjust for multiply 1110101001000010101 19 AAD = ASCII adjust for divide 111 0101011000010101 15 CBW = Convert byte to word 110011000 I 2 CWO = Convert word to double word \10011001 I 4 LOGIC Shift/Rotate instructions: Register/memory by 1 2/15 by CL 5+n/17+n TTT Instruction 000 ROL 001 ROR 01 0 RCL 011 RCR 1 00 SHLISAL 101 SHR 111 SAR AND= And: Reg/memory and register to either 1001000dw mod reg rim 3/10 Immediate to register/memory \1000000w mod 100 rim data \ data if w 4/16 Immediate to accumulator \0010010w data I data if w - 1 I 3/4 8/16-bit TEST = And function to flags, no result: Register/memory and register r:ll;-O""""O-';OC;OC-l;""";;-O-w-'-m-o-d-;-re-g-r/;-m:---l 3/10 Immediate data and register/memory ~ll~lcio1~1=i0~1~1~w'==:o~m~o~d~OO~O==r/=m=}=;===d~a=ta==:=(I-,d",a-"ta,-,i,-f,,-,w,--_l!- 4/10 Immediate data and accumulator 11 0 1 0 1 DOw data I data if w - 1 I 3/4 8/16-bit OR=Or: Reg/memory and register to either 10 0 0 0 1 0 d w mod reg rim 3/10 Immediate to register/memory 11 OOOOOOw I mod 001 rim data I data if w - 1 I 4/16 Immediate to accumulator 10000 1 lOw I data I data if w 1 I 3/4 8/16-bit XOR = Exclusive or: Reg/memory and register to either 100 1 1 ODd w I mod reg rim 3/10 Immediate to register/rpemory . \1 000000 w I mod 110 rim data I data if w = 1 I 4/16 Immediate to accumulator 100 1 1 0 lOw I data I data if w = 1 I 3/4 8/16-bit NOT = Invert register/memory 11 1 1 101 1 w I mod 010 rim I 3 STRING MANIPULATION MOVS = Move byte/word 1101001 0 w 14 CMPS = Compare byte/word 11010011 w 22 SCAS = Scan byte/word \1010111 w 15 LODS = Load byte/wd to ALI AX Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. 1·137 1111111111111111111111111111111111111111111111111111 MBl80186 FUJITSU MBl80186-6 1111111111111111111111111111111111111111111111111111 INSTRUCTION SET SUMMARY (Continued) FUNCTION Clock FORMAT Comments Cycle. STRING MANIPULA nON (Continued): Repeated by count in ex MOVS = Move string 11111001011010010wl 8 + 8n CMPS = Compare string 11111001z 11010011wl 5 + 22n SeAS = Scan string -I 1010111 w I 5 + 15n LODS = Load string 6 + l1n CONTROL TRANSFER CALL = Call: Direct within segment 11 1 101000 disp-Iow disp-high 15 Register/memory indirect within segment 11 1 1 1 1 1 1 1 mod 010 rim 13/19 Direct intersegment I10 0 110 10 segment offset 23 segment selector Indirect intersegment 111111111 mod 011 rim I (mod oF 11) 38 JMP = Unconditional jump: Shortllong 11110101 1 disp-Iow I 14 Direct within tegmen! 111 101001 disp-Iow I disp-high 14 Register/memory indirect 111111111 mod 100 :iZi!iJ 11/17 within segment Direct intersegment 111 101010 segment offset 14 segment selector Indirect intersegment 111111111 mod 101 rim I (mod*l1) 26 RET = Return from CALL: Within segment 11 1000011 16 Within seg adding immed to SP 111000010 data-low data-high 18 Intersegment 11 1001011 22 Intersegment adding immediate to SP 11 1001010 data-high 25 Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. 1-138 1111111111111111111111111111111111111111111111111 FUJITSU MIL 80186 1111111111111111111111111111111111111111111111111 MIL 80186-6 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles CONTROL TRANSFER (Continued): JE/JZ = Jump on equal/zero 1011 10100 disp 4/13 JMP not JL/JNGE = Jump on less/not greater taken/JMP or equal 101111100 disp 4/13 taken JLE/JNG = Jump on less or equal/not greater 101111110 disp 4/13 JB/JNAE = Jump on below/not above or equal 101110010 disp 4/13 JBE/JNA = Jump on below or equal/not above 101110110 disp 4/13 JP/JPE = Jump on parity/parity even 10 11 1 1010 disp 4/13 JO = Jump on overflow 101110000 disp 4/13 JS = Jump on sign 101111000 disp 4/13 JNE/JNZ = Jump on not equal/not zero 10111 0101 disp 4/13 JNL/JGE = Jump on not less/greater or equal 10111 1 101 disp 4/13 JNLE/JG = Jump on not less or equal/greater 101111111 disp 4/13 JNB/JAE = Jump on not below/ above or equal 101110011 disp 4/13 JNBE/JA = Jump on not below or equal/above 101110111 disp 4/13 JNP/JPO - Jump on not par/par odd 101111011 disp 4/13 JNO = Jump on not overflow 101110001 disp 4/13 JNS = Jump on not sign 101111001 disp 4/13 JCXZ = Jump on CX zero !111 00011 disp 5/15 LOOP = Loop CX times 111100010 disp 6/16 LOOPZ/LOOPE = Loop while zero/equal 111100001 disp 6/16 LOOPNZ/LOOPNE = Loop while not zero/equal 111100000 disp 6/16 INT .. Interrupt: Type specified 111001101 type 47 Type 3 111001100 45 if INT.taken/ INTO = Interrupt on overflow 111001110 48/4 if INT. not taken IRET = Interrupt return 111001111 28 Shaded areas indicate instructions not available in MBl 8086, 88 microsvstems. 1-139 1111111111111111111111111111111111111111111111111111 MBL 80186 FUJITSU MBL 80186-6 1111111111111111111111111111111111111111111111111111 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles PROCESSOR CONTROL CLC = Clear carry I 11111000 I 2 CMC = Complement carry I 1 1 1 10101 I 2 STC = Set carry I 1 1 1 1 1001 I 2 CLD :;: Clear direction I 1 1 1 1 1 100 I 2 STO = Set direction I 1 1 1 1 1 1 01 I 2 ell:;: Clear interrupt I 1 1 1 1 1 010 I 2 STI = Set interrupt I 11 1 1 1011 I 2 HLT = Halt I 11 1 10100 I 2 WAIT = Wait I 1001 1011 I 6 if test = 0 LOCK = Bus lock prefix I 11110000 I 2 ESC:;: Processor extension escape I 11011 TTT I mod LLL rim I 6 (TTT LLl are opcode to processor extension) Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. 1-140 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 80186 1111111111111111111111111111111111111111111111111111 MBL 80186-6 FOOTNOTES The Effective Address (EA) of the memory operand is com- REG is assigned according to the following table: puted accordi ng to the mod and rim fields: 16-Bit (w = 1) 8-Bit (w = 0) if mod = 11 then rim is treated as a REG field 000 AX 000 AL if mod = 00 then DISP = 0*, disp-Iow and disp-high are ab- 001 CX 001 CL sent 010 OX 010DL if mod = 01 then DISP = disp-Iow sign-extended to 16-bits 011 BX 011 BL disp-high is absent ' 100SP 100AH if mod = 10 then DISP = disp-high: disp-Iow 101 BP 101 CH 110S1 110DH if rim = 000 then EA = (BX) + (SI) + DISP 111 01 111 BH if rim = 001 then EA = (BX) + (01) + DISP if rim = 010 then EA = (BP) + (SI) + DISP The physical addresses of all operands addressed by the BP if rim = 011 then EA = (BP) + (01) + DISP register are computed using the SS segment register. The if rim = 100 then EA = (SI) + DISP physical addresses of the destination operands of the string if rim = 101 then EA = (01) + DISP primitive operations (those addressed by the 01 register) if rim = 110 then EA = (BP) + DISP* are computed using the ES segment, which may not be if rim = 111 then EA = (BX) + DISP overridden_ DISP follows 2nd byte of instruction (before data if re- quired) "except if mod = 00 and rim = 110 then EA = disp-high: disp-Iow. NOTE: EA CALCULATION TIME IS 4 CLOCK CYCLES FOR ALL MOOES, AND IS INCLUDED IN THE EXECUTION TIMES GIVEN WHENEVER APPROPRIATE. SEGMENT OVERRIDE PREFIX 1001regll01 reg is assigned according to the following: Segment reg Register 00 ES 01 CS 10 SS 11 OS 1·141 1111111111111111111111111111111111111111111111111 MBl80186 FUJITSU MBl 80186-6 1111111111111111111111111111111111111111111111111 PACKAGE ILLUSTRATION CERAMIC LCC (METAL SEAL) PACKAGE DIMENSIONS (Suffix -CV) 68·PAD CERAMIC (METAL SEAL) LEADLESS CHIP CARRIER (CASE No.: LCC·68C·A01) .670(17 .02)50 C.040( 1.02) TYP TYP .792(20.12) 1 .842(21.39) ""[ .808(20.52) j .06$~p52) .110(2.79) MAX !-1.---.8-42-(2-1.-39-)--,-1 .858(21.79) 1 ©1985 FUJITSU C68001S-1C Dimensions in inches (millimeters) 1·142 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80186 1111111111111111111111111111111111111111111111111111 MBl 80186-6 PACKAGE ILLUSTRATION CERAMIC PGA (METAL SEAL) PACKAGE DIMENSION (Suffix oCR) 68-LEAD CERAMIC (METAL SEAL) REPEATED QUAD IN-LINE PACKAGE (CASE No.: RIT-68C-A01) .05011.27)DIATYP .09012.29) •. 09912.49) .11012.79) I .12213.10) r---------------~ o @ 0 0 0 0 0 1.0001'25.40) REF L 1.01510.38) , r .02010.51 piA 0 @ 0 o @ 0 0 ! [ . 1.135128.83)SQ~ 1.165129.59) .08312.11) MAX ~04511.14) .05511.40) I INDEX AREA .10012.54) .12013.05) .18514.70) MAX Dimensions in inches (millimeters) ©1985 FUJITSU A68Q01S-2C 1-143 11111111111111111111111111 MBl8086 FUJITSU MBl8086-2 MBl8086-1 11111111111111111111111111111111111111111111111111111111111111111 February 1985 Edition 4.0 NMOS 16-BIT MICROPROCESSOR The Fujitsu MBl8086 high performance 16-bit CPU is available in three clock rates: 5, 8 and 10 MHz. The CPU is implemented in N·Channel, depletion load, silicon gate technology, and packaged in a 40-pin ceramic or plastic DIP. The MBl8086 operates in both single processor and multiple processor configurations to achieve high performance levels. • Direct Addressing Capability of 1 MByte • 8 and 16-Bit Signed and Unsigned of Memory Arithmetic in Binary or Decimal Including Multiply and Divide • Architecture Designed for Powerful Assembly Language and Efficient High • Range of Clock Rates: Level Languages. 5 MHz for MBL 8086, 8 MHz for MBL 8086-2, • 14 Word by 16-Bit Register Set with 10 MHz for MBL 8086-1 Symmetrical Operations • MUL TIBUS* System Compatible • 24 Operand Addressing Modes Interface • Bit, Byte, Word, and Block Operations • 40-Pin DIP: Ceramic DIP (Suffix: -CI Plastic DIP (Suffix: -PI Fig. 1 - BLOCK DIAGRAM Fig_ 2- PIN CONFIGURATIONS EXECUTION UNIT BUS INTERFACE UNIT ! REGISTER FILE I I RELOCATION ! MAX MIN) REGISTER FILE MODE MODE SEGMENT DATA REGISTERS POINTER AND AND Vee INDEX REGS INSTRUCTION (8 WORDS) POINTER AD15 (5 WORDS) A16/S3 A 17/S4 ADll A18/S5 ",----"'''''---,,--_ BHE/S, ADIO A19/S6 A,"./S 6 AD9 SHE/S7 A,~/S, AD8 MN/MX FLAGS AD,s·ADo AD7 RD AD6 RQ/GTO IHOLD) AD5 RQ/GTI (HlDA) AD4 lOCK (WR) AD3 52 (M/lC)) AD2 51 (DT/R) ADI SO (DEN) 6-BYTE INSTRUCTION ADO QSO (ALE) QUEUE NMI QSl (iNTA) INTR TEST TEST---J--------~~-------, ClK READY INTR RESET NMI CONTROL & TIMING RO/GTo,[ 2 HOLD HLDA---.-.__- .__- .__- ,__~~ CLK GND Vee 'Trade Mark of Intel Corporation, USA Portions Reprinted by permission of I ntel Corporation 1-144 © Intel Corporation, 1983 1111111111111111111111111111111111111111111111111 MBL 8086 FUJITSU MBL 8086-2 1111111111111111111111111111111111111111111111111 MBL 8086-1 TABLE 1 - PIN DESCRIPTION The following pin function descriptions are for MBl 8086 systems in either minimum or maximum mode. The "local Bus" in these descriptions is the direct multiplexed bus interface connection to the MBl 8086 (without regard to additional bus buffers). Symbol Pin No. Type Name and Function ADls-AD o 2·16,39 I/O Address Data Bus: These lines constitute the time multiplexed memory/IO address (T I) and data (T 2 , T 3 , Tw , T 4 ) bus. Ao is analogous to BHE for the lower byte of the data bus, pins D7 ·D o . It is lOW during T I when a byte is to be transferred on the lower portion of the bus in memory or I/O operations. Eight·bit oriented devices tied to the lower half would normally use Ao to condition chip select functions. (See BHE.) These lines are active HIGH and float to 3·state OFF during interrupt acknowledge and local bus "hold acknowledge." A I9 /S 6 , 35·38 0 Address/Status: During TI these are the four most Als/Ss , significant address lines for memory operations. During A I7 /S 4 , I/O operations these lines are lOW. During memory and A 16 /S 3 I/O operations, status information is available on these A 17 /S, A 16 /S 3 Characteristics lines during T 2, T 3, T w, and T 4. The status of the allOW) a Alternate Data interrupt enable FLAG bit (S,) is updated at the a 1 Stack beginning of each CLK cycle. A 17 /S 4 and A 16 /S 3 are l(HIGH) a Code or None encoded as shown. 1 1 Data S6 is 0 This information indicates which relocation register is (lOW) presently being used for data accessing. These lines float to 3'state OFF during local bus "hold acknowledge. " BHE/S 7 34 0 Bus High Enable/Status: During Tithe bus high enable signal (BHE) should be used to enable data onto the most significant half of the data bus, pins Dis-D s · Eight·bit oriented devices tied to the upper half of the BHE A, Characteristics bus would normally use BH E to condition chip select a 0 Whole word functions. BH E is LOW during T I for read, write, and a 1 Upper byte from Ito interrupt acknowledge cycles when a byte is to be odd address transferred on the high portion of the bus. The S7 status 1 a Lower byte from/to even address information is available during T 2 , T 3 , and T 4 . The 1 1 None signal is active LOW, and floats of 3-state OFF in "hold." It is LOW during T I for the first interrupt acknowledge cycle. RD 32 0 Read: Read strobe indicates that the processor is performing a memory or I/O read cycle, depending on the state of the S2 pin. This signal is used to read devices which reside on the MBL 8086 local bus. RD is active LOW during T 2 , T3 and Tw of any read cycle, and is guaranteed to remain HIGH in T2 until the MBL 8086 local bus has f)t'lated. This signal floats to 3·state OFF in "hold acknowledge." READY 22 I READY: is the acknowledgement from the addressed memory or I/O device that it will complete the data transfer. The READY signal from memory/IO is synchronized by the MBL 8284A Clock Generator to form READY. This signal is active HIGH. The MBL 8086 READY input is not synchronized. Correct operation is not guaranteed if the setup and hold times are not met. INTR 18 I Interrupt Request: is a level triggered input which is sampled during the last clock cycle of each instruction to determine if the processor should enter into an interrupt acknowledge operation. A subroutine is vectored to via an interrupt vector lookup table located in system memory. It can be internally masked by software resetting the interrupt enable bit. INTR is internally synchronized. This signal is active HIGH. TEST 23 I TEST: Input is examined by the "Wait" instruction. If the TEST input is LOW execution continues, otherwise the processor waits in an "Idle" state. This input is synchronized internally during each clock cycle on the leading edge of CLK. 1-145 MBl8086 1111111111111111111111111111111111111111111111111 MBl8086-2 FUJITSU MBl8086-1 1111111111111111111111111111111111111111111111111 TABLE 1 - PIN DESCRIPTION (Continued) Symbol Pin No. Type Name and Function NMI 17 I Non·maskable interrupt: an edge triggered input which causes a type 2 interrupt. A subroutine is vectored to via an interrupt vector lookup table located in system memory. NMI is not maskable internally by software. A transition from a lOW to HIGH initiates the interrupt at the end of the current instruction. This input is internally synchronized. RESET 21 I Reset: causes the processor to immediately terminate its present activity. The signal must be active HIGH for at least four clock cycles. It restarts execution, as described in the instruction Set description, when RESET returns lOW. RESET is internally synchrnoized. ClK 19 I Clock: provides the basic timing for the processor and bus controller. -It is asymmetric with a 33% duty cycle to provide optimized internal timing. Vee 40 Vee: +5V power supply pin. GND 1,20 Ground MN/MX 33 I Minimum/Maximum: indicates what mode the processor is to operate in. The two modes are discussed in the following sections. The following pin function descriptions are for the MBl 8086/8288 system in maximum mode (Le., MN/MX = GNDI. Only the pin functions which are unique to maximum mode are described; all other pin functions are as described above. 26·28 a Status: active during T" T 1, and T 2 and is returned to the passive state (1,1,1) during T3 or during Tw when s, Characteristics READY is HIGH. This status is used by the MBl 8288 allOW) a a Interrupt Ac knowledge Bus Controller to generate all memory and I/O access a a 1 Read I/O Port control signals. Any change by~, 5;", or So during T, a 1 a Write I/O Port is used to indicate the beginning of a bus cycle, and the a 1 1 Halt return to the passive state in T 3 or Tw is used to 1(HIGH) a a Code Access indicate the end of a bus cycle. 1 a 1 Read Memory 1 1 a Write Memory These signals float to 3'state OFF in "hold acknowl- 1 1 1 Passive edge." These status lines are encoded as shown. RO/GT o , -30,31 I/O Request/Grant: pins are used by other local bus masters to force the processor to release RO/GT, the local bus at the end of the processor's current bus cycle. Each pin is bidirectional with RO/GT o having higher priority than RO/GT,. RO/GT has an internal pull-up resistor so may be left unconnected. The request/grant sequence is as follows (see Figure 9): 1. A pulse of 1 ClK wide from another local bus master indicates a local bus request ("hold") to the MBl 8086 (pulse 1). 2. During aT4 or T, clock cycle, a pulse 1 ClK wide from the MBl 8086 to the requesting master (pulse 2), indicates that the MBl 8086 has allowed the local bus to float and that it will enter the "hold acknowledge" state at the next ClK. The CPU's bus interface unit is disconnected logically from the local bus during "hold acknowledge." 3. A pulse 1 ClK wide from the requesting master indicates to the MBl 8086 (pulse 3) that the "hold" request is about to end and that the MBl 8086 can reclaim the local bus at the next ClK . Each master-master exchange of the local bus is a sequence of 3 pulses. There must be one dead ClK cycle after each bus exchange. Pulses are active lOW. If the request is made while the CPU is performing a memory cycle, it will release the local bus during T, of the cycle when all the following conditions are met: 1. Request occurs on or before T 2. 2. Current cycle is not the low byte of a word (on an odd address). 3. Current cycle is not the first acknowledge of an interrupt acknowledge sequence. 4. A locked instruction is not currently executing. 1-146 1111111111111111111111111111111111111111111111111 MBL 8086 FUJITSU MBL 8086-2 1111111111111111111111111111111111111111111111111 MBL 8086-1 TABLE 1 - PIN DESCRIPTION (Continued) Symbol Pin No. Type Name and Function If the local bus is idle when the request is made the two possible events will follow: 1. local bus will be released during the next clock. 2. A memory cycle will start within 3 clocks. Now the four rules for a currently active memory cycle apply with condition number 1 already satisfied. lOCK 29 0 LOCK: outP!.!t indicates that other system bus masters are not to gain control of the system bus while LOCK is active lOW. The lOCK signal is activated by the "LOCK" prefix instruction and remains active until the completion of the next instruction. This signal is active lOW, and floats to 3'state OFF in "hold acknowledge." OS"OSo 24,25 0 Queue Status: The queue status is valid during the os, OS, Characteristics ClK cycle after which the queue operation is per· OILOW) 0 No Operation 0 1 First Byte of Op formed. Code from Queue as, and QSo provide status to allow external tracking 1IHIGH) 1 0 1 Empty the Queue Subsequent Byte of the internal MBl 8086 instruction queue. from Queue The following pin function descriptions are for the MBL 8086 in minimum mode (i.e., MN/MX;Vcc ). Only the pin functions which are unique to minimum mode are described; all other pin functions are as described above. M/IO 28 o Status line: logically equivalent to S2 in the maximum mode. It is used to distinguish a memory access from an I/O access. M/io becomes valid in the T 4 preceding a bus cycle and remains valid until the final T4 of the cycle (M;HIGH, 10;lOW). MilO floats to 3'state OFF in local bus "hold acknowledge." WR 29 o Write: indicates that the processor is performing a write memory or write 1/0 cycle, depending on the state of the M/iO signal. WR is active for T 2 , T3 and Tw of any write cycle. It is active lOW, and floats to 3-state OFF in local bus "hold acknowledge." INTA 24 o INTA is used as a read strobe for interrupt acknowledge cycles. It is active LOW during T 2 , T 3, and T W of each interrupt acknowledge cycle. ALE 25 o Address Latch Enable: provided by the processor to latch the address into the MBl 8282/8283 address latch. It is a HIGH pulse active during T1 of any bus cycle. Note that ALE is never floated. DT/R 27 o Data Transmit/Receive: needed in minimum system that desires to use an MBL 8286/8287 data bus transceiver. It is used to control the direction of data flow through the transceiver. Logically DT/R is equivalent to S; in the maximum mode, and its timing is the same as for M/IO. (T;HIGH, R;LOW). This signal floats to 3-state OFF in local bus "hold acknowledge." DEN 26 0 Date Enable: provided as an output enable for the MBl 8286/8287 in a minimum system which uses the transceiver. DEN is active LOW during each memory and 1/0 access and for INTA cycles. For a read or INTA cycle it is active from the middle of T, until the middle of T 4 , while for a write cycle it is active from the beginning of T2 until the middle of T 4. DEN floats to 3-state OFF in local bus "hold acknowledge." HOLD, 31,30 I/O HOLD: indicates that another master is requesting a local bus "hold." To be acknowledged, HlDA HOLD must be active HIGH. The processor receiving the "hold" request will issue HLDA (HIGH) as an aCknowledgement in the middle of a T4 or T, clock cycle. Simultaneous with the issuance of HlDA the processor will float the local bus and control lines. After HOLD is detected as being LOW, the processor will lOWer the H LOA, and when the processor needs to run another cycle, it will again drive the local bus and control lines. The same rules as for RO/GT apply regarding when the local bus will be released. HOLD is not an asynchronous input. External synchronization should be provided if the system cannot otherwise guarantee the setup time. 1-147 MBl8086 1111111111111111111111111111111111111111111111111 MBl8086-2 FUJITSU MBl8086-1 1111111111111111111111111111111111111111111111111 FUNCTIONAL DESCRIPTION GENERAL OPERATION All memory references are made relative to base addresses The internal functions of the MBL 8086 processor are contained in high speed segment registers. The segment partitioned logically into two processing units. The first is types were chosen based on the addressing needs of the Bus Interface Unit (BIU) and the second is the programs. The segment register to be selected is automati- Execution Unit (EU) as shown in the block diagram of cally chosen according to the rules of the following table. Figure 1. All information in one segment type share the same logical attributes (e.g. code or data). By structuring These units can interact directly but for the most part memory into relocatable areas of similar characteristics perform as separate asynchronous operational processors. and by automatically selecting segment registers, programs The bus interface unit provides the functions related to are shorter, faster, and more structured. instruction fetching and queuing, operand fetch and store, and address relocation. This unit also provides the basic Word (16-bit) operands can be located on even or odd bus control. The overlap of instruction pre·fetching address boundaries and are thus not constrained to even provided by this unit serves to increase processor perform· boundaries as is the case in many 16-bit computers. For ance through improved bus bandwidth utilization. Up to 6 address and data operands, the least significant byte of the bytes of the instruction stream can be queued while word is stored in the lower valued address location and waiting for decoding and execution. the most significant byte in the next higher address location. The BIU automatically performs the proper The instruction stream queuing mechanism allows the BIU number of memory accesses, one if the word operand is to keep the memory utilized very efficiently. Whenever on an even byte boundary and two if it is on an odd byte there is space for at least 2 bytes in the queue, the BIU boundary. Except for the performance penalty, this will attempt a word fetch memory cycle. This greatly double access is transparent to the software. This perform- reduces "dead time" on the memory bus. The queue acts ance penalty does not occur for instruction fetches, only as a First-in- First- Out (F IFa) buffer, from which the EU extracts instruction bytes as required. If the queue is word operands. empty (following a branch instruction, for example), the Physically, the memory is organized as a high bank first byte into the queue immediately becomes available (015"0 8 ) and a low bank (0 7 -0 0 ) of 512K 8-bit bytes to the EU. addressed in parallel by the processor's address lines A I9 -A I • Byte data with even addresses is transferred on The execution unit receives pre-fetched instructions from the 0 7 -0 0 bus lines while odd addressed byte data (Ao the B IU queue and provides un-relocated operand ad- HIGH) is transferred on the 015"0 8 bus lines. The dresses to the BIU. Memory operands are passed through processor provides two enable signals, BHE and Ao, to the BIU for processing by the EU, which passes results to selectively allow reading from or writing into either an the BIU for storage. See the Instruction Set description odd byte location, even byte location, or both. The for further register set and architectural descriptions. instruction stream is fetched from memory as words and MEMORY ORGANIZATION is addressed internally by the processor to the byte level as necessa ry . The processor provides a 20-bit address to memory which locates the byte being referenced. The memory is organ- In referencing word data the BIU requires one or two ized as a linear array of up to 1 million bytes, addressed as memory cycles depending on whether or not the starting OOOOO(H) to FFFFF(H). The memory is logically divided byte of the word is on an even or odd address, respec- into code, data, extra data, and stack segments of up to tively. Consequently, in referencing word operands 64K bytes each, with each segment falling on 16-byte boundaries. (See Figure 3a.) Memory Segment Register Segment Selection Rule Reference Need Used Instructi ons CODE (CS) Automatic with all instruction prefetch. Stack STACK (55) All stack pushes and pops. Memory references relative to BP base register except data references. Local Data DATA (OS) Data references when: relative to stack, destination of string operation, or explicity overridden. ~ External (Global) Data EXTRA (ES) Destination of string operations: Explicitly selected using a segment override. 1-148 1111111111111111111111111111111111111111111111111111 MBL 8086 FUJITSU MBL 8086-2 1111111111111111111111111111111111111111111111111111 MBL 8086-1 performance can be optimized by locating data on even address bounda- Fig. 3a - MEMORY ORGANIZATION ries. This is an especially useful tech- nique for using the stack, since odd ~FFFFFH address references to the stack may r-- adversely affect the context switching time for interrupt processing or task multiplexing. I 64(B }xm' '"M''' Certain locations in memory are re- XXXXOH served for specific CPU operations (see f-- Figu.e 3b). locations from address FFFFOH through FFFFFH are re- served for operations including a jump +OFF:SET to the initial program loading routine. Following RESET, the CPU will al- ways begin execution at location r-- FFFFOH where the jump must be. SEGMENT REGISTER FILE locations OOOOOH through 003FFH are reserved for interrupt operations. CS )----- SS }--- Each of the 256 possible interrupt OS types has its service routine pointed to ES , by a 4·byte pointer element consisting of a 16-bit segment address and a 16- r-- bit offset address. The pointer ele- ments are assumed to have been stored } " ' " ' Dm "GM,m at the respective places in reserved memory prior to occurrence of inter- l:.-.....-.J' OOOOOH rupts. MINIMUM AND MAXIMUM MODE The requirements for supporting Fig. 3b - RESERVED MEMORY lOCATIONS minimum and maximum MBl 8086 systems are sufficiently different that FFFFFH they cannot be done efficiently with RESET BOOTSTRAP 40 uniquely defined pins. Consequent- PROGRAM JUMP ly, the MBl 8086 is equipped with a FFFFOH strap pin (MN/MX) which defines the system configuration. The definition ~ of a certain subset of the pins changes dependent on the condition of the strap pin. When the MN/MX pin is 3FFH strapped to GND, the MBl 8086 INTERRUPT POINTER treats pins 24 through 31 in maximum FOR TYPE 255 3FCH mode. An MBl 8288 bus controller interprets status information coded into So, 5;", S2 to generate bus timing ·•• , and control signals compatible with 7H the MUl TIBUS* architecture. When INTERRUPT POINTER the MN/M X pin is strapped to Vee, FOR TYPE 1 the MBl 8086 generates bus control 4H 3H signals itself on pins 24 through 31, as INTERRUPT POINTER shown in parentheses in Figure 2. FOR TYPE 0 Examples of minimum mode and OH maximum mode systems are shown in Figure 4. *Trade Mark of Intel Corporation, USA 1-149 MBl 8086 1111111111111111111111111111111111111111111111111111 MBl 8086-2 FUJITSU MBl 8086-1 1111111111111111111111111111111111111111111111111111 Fig. 4a - MINIMUM MODE MBL 8086 TYPICAL CONFIGURATION EXAMPLE v -~ rO~ [i CLK- ClK M/iQ READY- READY INTA RES RESET- RESET AD 1 MBL8284A (CLKGEN.) RDY WR ALE STB I '" l ADDRESS f-- LATCH r- _,--lll'T AD ~9Jr-- > BHE MBl8282 r!'iE r- - f--- r-- r-- iWA'T STATE i ADO-AD15 (MBlB283) iGENERATOR: ......... __ ..... , A16-A19 '-.r- ---:i. N § AO MBlBOB6 (CPU) ADDRESS ( DECODER DECODER (MBl82B7) DO 015 1111111111111111111111111111111111111111111111111111 MBL 8086 FUJITSU MBL 8086-2 1111111111111111111111111111111111111111111111111111 MBL 8086-1 Fig. 4b - MAXIMUM MODE MBL 8086 TYPICAL CONFIGURATION EXAMPLE Vee -+- r10~ ~ ClK L ClK so eLK MRDe so MWTC _READY!"---- READY 51 S1 AMWC RES RESET\--- RESET 52 S2 IORC MBl8284A ~ DEN lowe I (CLKGEN.) ROY .... -- .. - ... __ ......... ~ I DT/A" AIOWC ALE INTA MBl8288 (BUSCONT.) LOCK : WAIT STATE! I L STB ~ r~ : GENERATOR: ADDRESS SHE r- BHE LATCH I-..- I- MBL8282 (MBL8283) AD ADO-AD15 A A16-A19 I"--r r,CDE P-' ;; LI ADDRESS I DECODER DECODER MBL8086 ;; (CPU) , t~ r E OE A,· A" C1 MB8128 (RAM) lID, -liDs CS A, A" OE MB8128 (RAM) lID, - lIDs WEI I OEMBM2764 AD A" CE (EPROM) 0,--=-08 r'i I CE AD A" OE MBM2764 (EPROM) OJ-OS I 7\ '"'"I '"'"I 0 0 '"I '"I y): DET TRANSCEIVER "' 0 , ~ '" "'0 ~ '" A ~ MBL8286 (MBL8287) o T (DO D15) ,,;; MN/Mx 1-151 MBL 8086 1111111111111111111111111111111111111111111111111111 MBL 8086-2 FUJITSU MBL 8086-1 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII~IIIIIIIIII BUS OPERATION Status bit S3 through S7 are multiplexed with high-order The MBl 8086 has a combined address and data bus address bits and the BHE signal, and are therefore valid commonly referred to as a time-multiplexed bus. This during T2 through T 4 . S3 and S4 indicate which technique provides the most efficient use of pins on the segment register (see Instruction Set description) was used processor while permitting the use of a standard 40-lead for this bus cycle informing the address, according to the package. This "local bus" can be buffered directly and following table: used throughout the system with address latching pro- vided on memory and I/O modules. In addition, the bus can also be demultiplexed at the processor with a single S4 S3 CHARACTERISTICS set of address latches if a standard non-multiplexed bus is desired for the system. o (lOW) 0 Alternate Data (extra segment) 0 1 Stack Each processor bus cycle consists of at least four ClK cycles. These are referred to as T I, T 2, T 3 and T 4 (see 1 (HIGH) 0 Code or None Figure 5). The address is emitted from the processor 1 1 Data during T I and data transfer occurs on the bus during T 3 and T 4 . T2 is used primarily for changing the direction of Ss is a reflection of the PSW interrupt enable bit. S6 = 0 the bus during read operations. In the event that a "NOT and S7 is a spare status bit. READY" indication is given by the addressed device, "Wait" states (Tw) are inserted between T 3 and T 4. Each inserted "Wait" state is of the same duration as a ClK I/O ADDRESSING cycle. Periods can occur between MBl 8086 bus cycles. In the MBl 8086 I/O operations can addressed up to a These are referred to as "Idle" states (T,) or inactive ClK maximum of 64K I/O byte registers or 32K I/O word cycles. The processor uses these cycles for internal registers. The I/O address appears in the same format as housekeeping. the memory address on bus lines A is -Ao. The address During TI of any bus cycle the ALE (Address latch lines A19-A16 are zero in I/O operations. The variable I/O Enable) signal is emitted (by either the processor or the instructions which use register OX as a pointer have full MBl8288 bus controller, depending on the MN/MX address capability while the direct I/O instructions direct- strap). At the trailing edge of this pulse, a valid address ly address one or two of the 256 I/O byte locations in and certain status information for the cycle may be latch- page 0 of the I/O address space. ed. I/O ports are addressed in the same manner as memory Status bits ~, 57, and S2 are used, in maximum mode, by locations. Even addressed bytes are transferred on the the bus controller to identify the type of bus transaction D7-Do bus lines and odd addressed bytes on D15"D8. Care according to the following table: must be taken to assure that each register within an 8-bit peripheral located on the lower portion of the bus be S;; addressed as even. S2 S; CHARACTERISTICS o (lOW) 0 0 Interrupt Acknowledge 0 0 1 Read I/O 0 1 0 Write I/O 0 1 1 Halt 1 (HIGH) 0 0 Instruction Fetch 1 0 1 Read Data from Memory 1 1 0 Write Data to Memory 1 1 1 Passive (no bus cycle) 1-152 1111111111111111111111111111111111111111111111111 MBl 8086 FUJITSU MBl8086-2 1111111111111111111111111111111111111111111111111 MBl 8086-1 Fig. 5 - BASIC SYSTEM TIMING 14 + N WA1T ) = T CY 14 + N WA1T ) = T CY CLK GOES INACTIVE IN THE STATE \ ADDR/ STATUS ADDR/ DATA RD.INTA READY READY READY WAIT WAIT DT/R MEMORY ACCESS TIME \\....-_----t/ 1-153 MBL 8086 1111111111111111111111111111111111111111111111111111 MBL 8086-2 FUJITSU MBL 8086-1 1111111111111111111111111111111111111111111111111111 EXTERNAL INTERFACE PROCESSOR RESET AND INITIALIZATION interrupting device supplies an 8-bit type number, during Processor initialization or start up is accomplished with the interrupt acknowledge sequence, which is used to activation (HIGH) of the RESET pin. The MBl 8086 "vector" through the appropriate element to the new RESET is required to be HIGH for greater than 4 elK interrupt service program location. cycles. The MBl 8086 will terminate operations on the high·going edge of RESET and will remain dormant as NON-MASKABlE INTERRUPT (NMII long as RESET is HIGH. The low·going transition of The processor provides a single non-maskable interrupt RESET triggers an internal reset sequence for approxi· pin (NMI) which has higher priority than the maskable mately 10 elK cycles. After this interval the MBl 8086 interrupt request pin (lNTR). A typical use would be to operates normally beginning with the instruction in abso· activate a power failure routine. The NM I is edge-triggered lute location FFFFOH (see Figure 3b). The details of this on a lOW-to-HIGH transition. The activation of this pin operation are specified in the Instruction Set description causes a type 2 interrupt. (See instruction Set descrip- of the Family User's Manual. The RESET input is inter· tion.) nally synchronized to the processor clock. At initializa· NMI is required to have a duration in the HIGH state of tion the HIGH·to·lOW transition of RESET must occur greater than two elK cycles, but is not required to be no sooner than 50 flS after power·up, to allow complete synchronized to the clock. Any high-going transition of initialization of the MBl 8086. NMI is latched on-chip and will be serviced at the end of NM I may not be asserted prior to the 2nd elK cycle the current instruction or between whole moves of a following the end of RESET. block-type instruction. Worst case response to NMI would be for multiply, divide, and variable shift instructions. INTERRUPT OPERATIONS There is no specification on the OCCUrrence of the Interrupt operations fall into two classes; software or low-going edge; it may occur before, during, or after the hardware initiated. The software initiated interrupts and servicing of NMI. Another high-going edge triggers another software aspects of hardware interrupts are specified in response if it occurs after the start of the NMI procedure. the Instruction Set description. Hardware interrupts can The signal must be free of logical spikes in general and be be classified as non-maskable or maskable. free of bounces on the low-going edge to avoid triggering Interrupts result in a transfer or control to a new program extraneous responses. location. A 256-element table containing address pointers to the interrupt service program locations resides in MASKABlE INTERRUPT (lNTR) absolute locations 0 through 3FFH (see Figure 3b), which The MBl8086 provides a single interrupt request input are reserved for this purpose. Each element in the table is (lNTR) which can be masked internally by software with 4 bytes in size and corresponds to an interrupt "type". An the resetting of the interrupt enable FLAG status bit. The Fig. 6 - INTERRUPT ACKNOWLEDGE SEQUENCE I T, I T2 T3 T4 ITil T, I A L E i J \ I - - - _ - - - l ! J \ ' - - - -_ _ LOCK \ II / INTA \ r l ~ \ AD O-AD,5::J FLOAT (I \ TYPE VECTOR >- 1-154 1111111111111111111111111111111111111111111111111111 MBL 8086 FUJITSU MBL 8086-2 1111111111111111111111111111111111111111111111I11111 MBL 8086-1 interrupt request signal is level triggered. It is internally the clock cycle following the one in which the software synchronized during each clock cycle on the high·going "lOCK" prefix instruction is decoded by the EU. It is edge of ClK. To be responded to, INTR must be present deactivated at the end of the last bus cycle of the (HIGH) during the clock period preceding the end of the instruction following the "lOCK" prefix instruction. current instruction or The end of a whole move for a While lOCK is active a request on a RO/GT pin will be block·type instruction. During the interrupt response recorded and then honored at the end of the lOCK. sequence further interrupts are disabled. The enable bit is reset as part of the response to any interrupt (lNTR, NMI, EXTERNAL SYNCHRONIZATION VIA TEST software interrup'~ or single·step), although the FLAGS As an alternative to the interrupts and general I/O register which is automatically pushed onto the stack capabilities, the MBl 8086 provides a single software· reflects the state of the processor prior to the interrupt. testable input known as the TEST signal. At any time the Until the old FLAGS register is restored the enable bit program may execute a WAIT instruction. If at that time will be zero unless specifically set by an instruction. the TEST signal is inactive (HIGH). program execution During the response sequence (figure 6) the processor becomes suspended while the processor waits for TEST to excutes two successive (back·to·back) Interrupt acknowl· become active. It must remain active for at least 5 ClK edge cycles. The MBl 8086 emits the lOCK signal from cycles. The WAIT instruction is re·executed repeatedly T2 of the first bus cycle until T2 of the second. A local until that time. This activity does not consume bus cycles. bus "hold" request will not be honored until the end of The processor remains in an idle state while waiting. All the second bus cycle. lin the second bus cycle a byte is MBl 8086 drivers go to 3·state OFF if bus "Hold" is fetched from the external Interrupt system (e.g., entered. If interrupts are enabled, they may occur while MBl 8259A PIC) which idetifies the source (type) of the the processor is waiting. When this occurs the processor Interrupt. This byte is multiplied by four and used as a fetches the WAIT instruction one extra time, processes pointer into the interrupt vector lookup table. An INTR the interrupt, and then re·feches and re·executes the signal left HIGH will be continually responded to within WAIT instruction upon returning from the interrupt. the limitations of the enable bit and sample period. The INTERRUPT RETURN instruction includes a FLAGS pop which returns the status of the original interrupt BASIC SYSTEM TIMING enable bit when it restores the FLAGS. Typical system configurations for the processor operating in minimum mode and in maximum mode are shown in HALT Figures 4a and 4b, respectively. In minimum mode, the When a software "HALT" instruction is executed the MN/MX pin is strapped to Vee and the processor emits processor indicates that it is entering the "HALT" state in bus control signals in a manner similar to the 8085. In one of two ways depending upon which mode is strapped. maximum mode, the MN/MX pin is strapped to Vss and In minimum mode, the processor issues one ALE with no the processor emits coded status information which the qualifying bus control signals. In Maximum Mode, the MBl8288 bus controller uses to generate MUlTIBUS' processor issues appropriate HALT status on 52, 51, So compatible bus control signals. Figure 5 illustrates the and the MBl8288 bus controller issues one ALE. The signal timing relationships. MB l 8086 will not le;ve the "HALT" state when a local bus "hold" is entered while in "HALT". In this case, the Fig. 7 - MBl8086 REGISTER MODEL processor reissues the HALT indicator. An interrupt reo quest or RESET will force the MBl8086 out of the AX AH AL ACCUMULATOR "HALT" state. BX BH BL BASE CX CH CL COUNT READ/MODIFYIWRITE (SEMAPHORE) ox DH DL DATA OPERATIONS VIA lOCK '"I r SP STACK POINTER The lOCK status information is provided by the pro· BP BASE POINTER cessor when directly consecutive bus cycles are required SI SOURCE INDEX during the execution of an instruction. This provides the DI 1 DESTINATION INDEX processor with the capability of performing re~d/modify/ write operations on memory (via the Exchange Register INSTRUCTION POINTER With Memory instruction, for example) without the I FLAGS H FLAGS L I STATUS FLAGS possibility of another system bus master receiving inter· CS CODE SEGMENT vening memory cycles. This is useful in multiprocessor DS DATA SEGMENT system configurations to accomplish "test and set lock" '--- SS STACK SEGMENT operations. The LoCK signal is activated (forced lOW) in ES EXTRA SEGMENT 'Trade Mark of Intel Corporation, USA 1·155 MBL 8086 1111111111111111111111111111111111111111111111111111 MBL 8086-2 FUJITSU MBL 8086-1 1111111111111111111111111111111111111111111111111111 SYSTEM TIMING - MINIMUM SYSTEM The read cycle begins in T 1 with the assertion of the 0 7 -Do bus lines and odd addressed bytes on 0 15 -Os. Address latch Enable (ALE) signal. The trailing (low- The basic difference between the interrupt acknowledge going) edge of this signal is used to latch the address cycle and a read cycle is that the interrupt acknowledge information, which is valid on the local bus at this time, signal (INTA) is asserted in place of the read (RD) signal into the MBl 8282/8283 latch. The BH E and Ao signals and the address bus is floated. (See Figure 6.) In the address the low, high, or both bytes. From T 1 to T4 the second of two successive INTA cycles, a byte of informa· M/IO signal indicates a memory or I/O operation. At T2 tion is read from bus lines 0 7 .0 0 as supplied by the the address is removed from the local bus and the bus goes interrupt system logic (i.e., MBl 8259A Priority Interrupt to a high impedance state. The read control signal is also Controller). This byte identifies the source (type) of the asserted at T 2' The read (R D) signal causes the addressed interrupt. It is multiplied by four and used as a pointer device to enable its data bus drivers to the local bus. Some into an interupt vector lookup table, as described earlier. time later valid data will be available on the bus and the addressed device will drive the READY line HIGH. When BUS TIMING - MEDIUM SIZE SYSTEMS the processor returns the read signal to a HIGH level, the addressed device will again 3-state its bus drivers. If a For medium size systems the MN/MX pin is connected to transceiver (MBl 8286/8287) is required to buffer the GND and the MBl 8288 Bus Controller is added to the MBl 8086 local bus, signal DT/R and DEN are provided system as well as an MBl 8282/8283 latch for latching by the MBl 8086. the system address, and a MBl 8286/8287 transceiver to allow for bus loading greater than the MBl 8086 is A write cycle also begins with the assertion of ALE and capable of handling. Signals ALE, DEN, and DT/R are the emission of the address. The M/IO signal is again generated by the MBl 8288 instead of the processor in asserted to indicate a memory or I/O write operation. In this configuration although their timing remains relatively the T2 immediately following the address emission the the same. The MBl 8086 status outputs (S2' 51, and So) processor emits the data to be written into the addressed provide type·of·cycle information and become MBl 8288 location. This data remains valid until the middle of T 4' inputs. This bus cycle information specifies read (code, During T 2 , T3 and Tw the processor asserts the write data, or I/O), write (data or I/O), interrupt acknowledge, control signal. The write (W R) signal becomes active at or software halt. The MBl 8288 thus issues control signals the beginning of T2 as opposed to the read which is specifying memory read or write, I/O read or write, or delayed somewhat into T2 to provide time for the bus to interrupt acknowledge. The MBl 8288 provides two types float. of write strobes, normal and advanced, to be applied as The BHE and Ao signals are used to select the proper required. The normal write strobes have data valid at the byte(s) of the memory/IO word to be read or written leading edge of write. The advanced write strobes have the according to the following table: same timing as read strobes, and hence data isn't valid at the leading edge of write. The MBl 8286/8287 transceiver BHE Ao CHARACTERISTICS receives the usual T and OE inputs from the MBl 8288's DT/R and DEN. 0 0 Whole word 0 1 Upper byte from/ The pointer into the interrupt vector table, which is to odd address passed during the second INTA cycle, can derive from an 1 0 lower byte from/ MBl 8259A located on either the local bus or the system to even address bus. If the master MBl 8259A Priority Interrupt Con· 1 1 None troller is positioned on the local bus, a TTL gate is required to disable the MBl 8286/8287 transceiver when I/O ports are addressed in the same manner as memory reading from the master MBl 8259A during the interrupt location. Even addressed bytes are transferred on the acknowledge sequence and software "poll". 1·156 1111111111111111111111111111111111111111111111111111 MBL 8086 FUJITSU MBL 8086-2 1111111111111111111111111111111111111111111111111111 MBL 8086-1 ABSOLUTE MAXIMUM RATINGS* *NOTE: Permanent device damage may occur if ABSO- lUTE MAXIMUM RATINGS are exceeded_ Ambient Temperature Under Bias ....... O°C to 70°C Functional operation should be restricted to the Storage Temperature ............. _65°C to + 150°C conditions as detailed in the operational sections Voltage on Any Pin with of this data sheet. Exposure to absolute maxi- Respect to Ground ................ -0.5 to + 7V mum rating conditions for extended periods may Power Dissipation ....................... 2.5 Watt affect device reliability. D_C_ CHARACTERISTICS (MBl8086: Vee=5V 10%,TA =0°Ct070°C) (MBl8086-2: Vee = 5V 5%, T A = O°C to 70°C) (MBl 8086-1: Vee = 5V 5%, TA = O°C to 70°C) Symbol Parameter Min. Max_ Units Test Conditions V IL Input low Voltage -0.5 +0.8 V V IH Input High Voltage 2.0 Vee + 0.5 V VOL Output low Voltage 0.45 V IOL =2.5mA VOH Output High Voltage 2.4 V IOH = -400 p.A Icc Power Supply Current: MBl 80B6 340 MBl8086-2 350 mA TA = 25°C MBl BOB6-1 360 III Input leakage Current ±10 p.A OV";V IN ";V ee I LO Output leakage Current ±10 p.A 0.45V ";V OUT ";V ee VeL Clock Input low Voltage -0.5 +0.6 V VeH Clock Input High Voltage 3.9 Vee + 1.0 V Capacitance of Input Buffer C IN (All input except 15 pF fc = 1 MHz ADo-AD ls , ROIGT) Capacitance of I/O Buffer C IO 15 pF fc = 1 MHz (ADo-AD ls , ROIGT) 1-157 MBl8086 111111111I111111111111111111111111111111111111111111 MBl8086-2 FUJITSU MBl8086-1 1111111111111111111111111111111111111111111111111111 A.C. CHARACTERISTICS (MBL 8086: Vee = 5V 10%, TA = O°C to 70°C) (MBL 8086-2: Vee = 5V 5%, T A = O°C to 70°C) (MBL8086-1: Vee=5V 5%,T A =0°Ct070°C) MINIMUM COMPLEXITY SYSTEM TIMING REOUIREMENTS MBL 8086-1 MBL 8086 MBL 8086-2 Test Symbol Parameter (Preliminary) Unit Conditions Min. Max. Min. Max. Min. Max. TCLCL CLK Cycle Period 200 500 125 500 100 500 ns TCLCH CLK Low Time 118 68 53 ns TCHCL CLK High Time 69 44 39 ns TCH1CH2 CLK Rise Time 10 10 10 ns From 1.0V to 3.5V TCL2CL1 CLK Fall Time 10 10 10 ns From 3.5V to 1.0V TDVCL Data in Setup Time 30 20 5 ns TCLDX Data in Hold Time 10 10 10 ns TR1VCL RDY Setup Time 35 35 35 ns into MBL 8284A (See Notes 1, 2) TCLR1X RDY Hold Time 0 0 0 ns into MBL 8284A (See Notes 1, 2) TRYHCH READY Setup 118 68 53 ns Time into MBL 8086 TCHRYX READY Hold Time 30 20 20 ns into MBL 8086 TRYLCL READY I nactive to -8 -8 -10 ns CLK (See Note 3) THVCH HOLD Setup Time 35 20 20 ns TINVCH INTR, NMI, TEST 30 15 15 ns Setup Time (See Note 2) TlliH Input Rise Time 20 20 20 ns From 0.8V (Except CLK) to 2.0V TIHIL Input Fall Time 12 12 12 ns From 2.0V (Except CLK) to 0.8V 1-158 Ilmlll~111111111111111111111111111111111111111111 MBL 8086 FUJITSU MBL 8086-2 11111111111111111111111111111111111111111111111111 MBL 8086-1 A.C. CHARACTERISTICS (Continued) TIMING RESPONSES MBlSOS6-' MBl S086 MBlSOS6-2 Test Symbol Parameter (Preliminary) Units Conditions Min. Max. Min. Max_ Min. Max. TClAV Address Valid Delay 10 110 10 60 10 50 ns TClAX Address Hold Time 10 10 10 ns TClAZ Address Float TClAX 80 TClAX 50 10 40 ns Delay TlHll ALE Width TClCH-20 TClCH-l0 TClCH-l0 ns TCllH ALE Active Delay 80 50 40 ns TCHll ALE Inactive Delay 85 55 45 ns TllAX Address Hold Time TCHCl-l0 TCHCl-l0 TCHCl-l0 ns to ALE Inactive TClDV Data Valid Delay 10 110 10 60 10 50 ns TCHDX Data Hold Time 10 10 10 ns TWHDX Data Hold Time TClCH-30 TClCH-30 TClCH-25 ns AfterWR TCVCTV Control Active 10 110 10 70 10 50 ns Delay 1 TCHCTV Control Active 10 110 10 60 10 45 ns CL= 20-100 pF Delay 2 for all MBl8086 TCVCTX Control Inactive 10 110 10 70 10 50 ns Outputs (in Delay addition to TAZRl Address Float to 0 0 0 ns MBl8086 READ Active self-load) TClRl RD Active Delay 10 165 10 100 10 70 ns TClRH RD Inactive Delay 10 150 10 80 10 60 ns TRHAV RD Inactive to Next TClCl-45 TClCl-40 TClCl-35 ns Address Active TClHAV HlDA Valid Delay 10 160 10 100 10 60 ns TRlRH RD Width 2TClCl-75 2TClCl-50 2TClCl-40 ns TWlWH WR Width 2TClCl-60 2TClCl-40 2TClCH-35 ns TAVAl Address Valid to TClCH-60 rClCH-40 TClCH-35 ns ALE low TOlOH Output Rise Time 20 20 20 ns From 0.8V to 2.0V TOHOl Output Fall Time 12 12 12 ns From 2.0V to 0.8V NOTES: 1. Signal at MBl 8284A shown for reference only. 2. Setup requirement for asynchronous signal only to guarantee recognition at next ClK. 3. Applies only to T2 state. (8 ns into T3). 1-159 MBL 8086 11111I11I11I111I11I111111111111111111111111111111111 MBL 8086-2 FUJITSU MBL 8086-1 111111111111111111111111111111111111111111111111111I A.C. TESTING INPUT, OUTPUT WAVEFORM A.C. TESTING LOAD CIRCUIT '··=X.'_,m'o"~ ~ 0.45 . DEVICE UNDER TEST ' } C L =100 P F A.C. TESTING: INPUTS ARE DRIVEN AT 2.4V FOR e:- A LOGIC "1" AND 0.45V FOR A lOGIC "0" TIMING MEASUREMENTS ARE MADE AT 1.5V FOR BOTH A lOGIC "1" AND "0". CL: INCLUDES JIG CAPACITANCE WAVEFORMS MINIMUM MODE T1 T2 T3 T4 Tw ClK (MBl 8284A Output V )CH~ - ...J !----TClCl- TCHCTV ---.. ~ r------ TCH1 CH - TCHCl ---< J rTCl2C~~ 1'- -.-,n- TClCH MilO DK. I TClDV Pi TClAV I--- TClAX TCHDX r\ BHE, A19- A16 S7-S 3 TCllH- fTlHlL-i-- r---- Tl AX r- ALE I TAlAl - ~ -TR1VSl RDY (MBl 8284A Input ) ----;.C H l r- V 1H :\\ SEE NOTE 4 VI~~ -~ ~~ ~~~ TRYU - N ~ ~TClR1X ~ UCS CS RD ~ RESET ROM i RES ~ MBL 8282 OR 8283 UF I1b LATCH STB BE STB OE ~ LOW ALE -.J RAM LCS CS WR ADDRESS BUS ST8 BE Li~T8-m; STB-~- MBL 80188 J ! NMI HOLD Fl ~~M8L82860R 8287 ;> DATA 8US ~ --v IRANSCE~E, T OE CLKOUT I DTiR CLK MU L TI· MA STER SYS TEM BU 5 '------ DEN ~E_MBL8288 SO-S2 BUS >BUS CONTROL SO S2 ,-----v CONTROLL:, COMMANDS rt- f-- CEN lOB AEN ~ I I l:::) SO-52 AENJ MBL 8289 BUS L - - CLKARBITER ·PCSO '::=::J-.., SYSBiRESB >~~~;;'~~~'ON peSl iOB LOCK LOCK RESB :L ~ +5v SRDY ARDY /I ........ - L XACK 1-208 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80188 1111111111111111111111111111111111111111111111111111 MBl 80188-6 ABSOLUTE MAXIMUM RATlNGS* *NOTE: Permanent device damage may occur if ABSO- lUTE MAXIMUM RATINGS are exceeded_ Ambient Temperature under Bias ........ o°c to 70°C Functional operation should be restricted to the Storage Temperature. . . . . . . . . . . .. _65°C to +150°C conditions as detailed in the operational sections Voltage on Any Pin with of this data sheet_ Exposure to absolute maxi- Respect to Ground ..... _ . . . . . . . . . -1 .OV to +7V mum rating conditions for extended periods may Power Dissipation . . . . . . . . . . . . . . . . . . . . . . . 3 Watt affect device reliability. D_C_ CHARACTERISTICS (Vee = 5V ±10%, T A = 0° to 70°C) Applicable to MBl 80188 (8 MHz) and MBl 80188-6 (6 MHz) Symbol Parameter Min. Max. Units Test Conditions V IL Input Low Voltage -0.5 +0.8 V Input High Voltage VIH 2.0 Vee+0 .5 V (All except X1 and RES) V IH1 Input High Voltage (RES) 3.0 Vee+0 .5 V IOL = 2.5 mA for SO-S2 VOL Output Low Voltage 0.45 V IOL = 2.0 rnA for all other outputs VO H Output High Voltage 2.4 V IOH = -400 !LA 550 TA = 0" C lee Power Supply Current mA Max measured at 450 TA=70'C ILl Input Leakage Current ±10 !LA OV < V IN < Vee ILO Output Leakage Current ±10 !LA 0.45V < VOUT < Vee VeLi Clock Input Low Voltage -0.5 0.6 V VeHI Clock Input High Voltage 3.9 Vee+ 1.O V VeLO Clock Output Low Voltage 0.6 V IOL = 4.0 mA VeHO Clock Output High Voltage 4.0 V IOH = -200 !LA CIN Input Capacitance 10 pF CIO 1/0 Capacitance 20 pF A_C_ CHARACTERISTICS (Vee = 5V ± 10%, T A = 0° to 70°C) MBl 80188 Timing Requirements All Timings Measured At 1.5 Volts Unless Otherwise Noted. Applicable to MBl 80188 (8 MHz) and MBl 80188-6 (6 MHz) Symbol Parameter Min. Max. Units Test Conditions TDVCL Data in Setup Time (AID) 20 ns TCLDX Data in Hold Time (AID) 10 ns Asynchronous Ready TARYHCH 20 ns (AREADY) Active Setup Time' TARYLCL AREADY Inactive Setup Time 35 ns Asynchronous Ready Inactive TARYCHL 15 ns Hold Time TCHARYX AREADY Hold Time 15 ns Synchronous Ready TSRYCL 20 ns (SREADY) Transition Setup Time TCLSRY SR EADY Transition Hold Time 15 ns THVCL HOLD Setup Time' 25 ns INTR, NMI, TEST, TIMER IN, TINVCH 25 ns Setup Time* TINVCL DRQO, DRQ1, Setup Time' 25 ns * To guarantee recognitIon at next clock. 1-209 1111111111111111111111111111111111111111111111111111 MBl80188 FUJITSU MBl80188-6 1111111111111111111111111111111111111111111111111111 A.C. CHARACTERISTICS (Continued) MBL 80188 Master Interface Timing Responses MBl80188 (8 MHz! MBl 80188-6 (6 MHz! Symbol Parameters Units Test Conditions Min. Max. Min. Max. C L = 20-200 pF TCLAV Address Valid Delay 5 55 5 63 ns all outputs TCLAX Address Hold Time 10 10 ns TCLAZ Address Float Delay TCLAX 35 TClAX 44 ns TCHCZ Command lines Float Delay 45 56 ns Command Lines Valid Delay TCHCV 55 76 ns (after Float) TLHLL ALE Width TCLCL-35 TClCL-35 ns TCHLH ALE Active Delay 35 44 ns TCHLL ALE Inactive Delay 35 44 ns Address Hold Time to ALE TLLAX TCHCL-25 TCHCL-30 ns Inactive TCLDV Data Valid Delay 10 44 10 55 ns TCLDOX Data Hold Time 10 10 ns TWHDX Data Hold Time after WR TClCl-40 TClCl-50 ns TCVCTV Control Active Delay 1 10 70 10 87 ns TCHCTV Control Active Delay 2 10 55 10 76 ns TCVCTX Control Inactive Delay 5 55 5 76 ns· DEN Inactive Delay TCVDEX 10 70 10 87 ns (Non-Write Cycle! TAZRL Address Float to RD Active 0 0 ns TCLRl R 0 Active Delay 10 70 10 87 ns TCLRH RD Inactive Delay 10 55 10 76 ns TRHAV R 0 Inactive to Address Active TCLCL-40 TClCl-50 ns TCLHAV H LDA Valid Delay 5 50 5 67 ns TRLRH RDWidth 2TClCL-50 2TClCL-50 ns TWLWH WR Width 2TClCL-40 2TClCL-40 ns TAVAL Address Valid to ALE Low TCLCH-25 TCLCH-45 ns TCHSV Status Active Delay 10 55 10 76 ns TCLSH Status Inactive Delay 10 65 10 76 ns TCLTMV Ti mer Output Delay 60 75 ns 100 pF max TCLRO Reset Delay 60 75 ns TCHQSV Queue Status Delay 35 44 ns TCHDX Status Hold Time 10 10 ns TAVCH Address Valid to Clock High 10 10 ns MBL 80188 Chip-Select Timing Responses MBl 80188 (8 MHz! MBl 80188-6 (6 MHz! Symbol Parameter Units Test Conditions Min. Max. Min. Max. TCLCSV Chip-Select Active Delay 66 80 ns Chip-Select Hold Time from TCXCSX 35 35 ns Command Inactive TCHCSX Chip-Select Inactive Delay 5 35 5 47 ns -- 1-210 1111111111111111111111111111111111111111111111111 FUJITSU MBl 80188 1111111111111111111111111111111111111111111111111 MBl 80188-6 A.C. CHARACTERISTICS (Contiuned) MBL 80188 CLKIN Timing Requirements MBl 80188 (8 MHz) MBl 80188·6 (6 MHz) Symbol Parameter Units Test Conditions Min. Max. Min. Max. TCKIN ClKIN Period 62.5 250 83 250 ns TCKHl ClKIN Fall Time 10 10 ns 3.5 V to 1.0 V TCKlH ClKIN Rise Time 10 10 ns 1.0 V to 3.5 V TClCK ClKIN low Time 25 33 ns 1.5 V TCHCK ClKIN High Time 25 33 ns 1.5 V MBL 80188 CLKOUT Timing Responses (200 pF load) MBl 80188 (8 MHz) MBl 80188-6 (6 MHz) Symbol Parameter Units Test Conditions Min. Max. Min. Max. TCICO ClKIN to ClKOUT Skew 50 62.5 ns TClCl ClKOUT Period 125 500 167 500 ns TClCH ClKOUT low Time lHClCl-7.5 Y,TClCl-7.5 ns 1.5V TCHCl ClKOUT High Time Y,TClCl-7.5 Y,TClCl-7.5 ns 1.5 V TCH1CH2 ClKOUT Rise Time 15 15 ns 1.0 V to 3.5 V TCl2CL1 ClKOUT Fall Time 15 15 ns 3.5 V to 1.0 V 1-211 1111111111111111111111111111111111111111111111111111 MBl 80188 FUJITSU MBl 80188-6 1111111111111111111111111111111111111111111111111111 WAVEFORMS MAJOR CYCLE TIMING T1 T2 T3 Tw T4 eLK OUT S2-S0 A 19/56-A 16/53 BHE/S7, --+-.....j.-J~~~~~~+----~::.:.-f-----+-~--- ALE 1·212 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80188 1111111111111111111111111111111111111111111111111111 MBl 80188-6 WAVEFORMS (Continued) MAJOR CYCLE TIMING (Continued) -"'f> T2 TCH1CH2 - T1 T3 Tw T4 f---TCLCL~ CLKOUT V CH J ~ l- / -,L\. .- - - ~ TcLc'H n VCL - - TCHCL TCL5H --j (NOTE 3) =t 52-SO TCH5V '" 1\ -E0 W I TCHDX TCLAV TCLDVf---- f-- f---- TCLAX BH E/57, A 19/56-A 16/53 BHE/A19-A16 57-53 \ - r-T~HLL~ I ~ lLAX ,-- ALE I TCH""LH ~ ,J,,',AF- I --- TLLAX TCLAV -f--TAVAL ~ TCLAZ TDVCL TCLDX AD15-ADO V A15-AO DATA IN FLOAT V- READ CYCLE TAVCH - 1\ f--TAZRL- FLOAT/I\ / TCLRH- f-- r-TRHAV --1""- K- - RD ~ TCHCTV TCLRL TRLRH I~ r---TCHCTV DT/R ~ WR,INTA ~ VO H DEN TCVCTV- {= TCVDEX- } - ~ TCHC5X PC5, MC5 LC5, UC5 - {-TCLC5V TCXC5X C-- NOTES: 1. Following a Write cycle, the Local Bus is floated by the MBL 80188 only when the MBL80188 enters a "Hold Acknowledge" state. 2. INTA occurs one clock later in iRMX·mode. 3. Status inactive just prior to T4. 1-213 1111111111111111111111111111111111111111111111111111 MIL 80188 FUJITSU PRELIMINARY MIL 80188-6 1111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) CLKOUT CLKOUT NMI,-----'-'\ TEST, INTO-3, TIMERIN _ _ _ _ _-1 CLKOUT \'----l'"~L \'---- QSO,QS1--*- 1-214 ~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII FUJITSU MIL 80188 1~llllllllllmllllllllllllllllllllllllllllllllllll MIL 80188-6 PRELIMINARY WAVEFORMS (Continued) HOLD-HLDA TIMING T2 T3 T2 CLKOUT ARDY ARDY CLKOUT SRDY T4 CLKOUT HlDA iTClAV AD16-AOO, - - - ----..,.-~---, DEN MBl B0188 ~--+--+--~-~ MBl80188 _ ' - - - - - L ___ J I TCHCV r A191S6-A16/S3, - - - RD, WR, MBl80188 )--- ---, MBl80188 BHE, ---.I DT/R, 52-SO 1-215 1111111111111111111111111111111111111111111111111111 MBl80188 FUJITSU MBl80188-6 1111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) TIMER ON MBl 80188 ClKIN ClKOUT ~------------TClCl------------~ / TINVCH \------.../ \------...../ TIMERIN TlMEROUT ~---------------------2-6ClOCKS MBl 80188 INSTRUCTION TIMINGS • All word-data is located on even-address boundaries. The following instruction timings represent the minimum All jumps and calls include the time required to fetch the execution time in clock cycles for each instruction. The opcode of the next instruction at the destination address. timings given are based on the following assumptions: • The opcode, along with any data or displacement re- All instructions which involve memory reference can re: quired for execution of a particular instruction, has been quire one (and in some cases, two) additional clocks above prefetched and resides in the queue at the time it is the minimum timings shown. This is due to the asynchro- needed. nous nature of the handshake between the B IU and the • No wait states or bus HOLDS occur. Execution unit. 1-216 Imlllllllllllllllllllllllllllllllllllllllllllllill FUJITSU MBl80188 1111111111111111111111111111111111111111111111111111 MBl80188-6 INSTRUCTION SET SUMMARY Clock FUNCTION FORMAT Comments Cycle. DATA TRANSFER MOV-Move: Register to register/memory 11000100w mod reg rim 2/12" Register/memory to register 11000101w mod res rim 2/g" Immediate to register/memory 11100011 w mod 000 rim data· 1 data if w = 1 I 12-13" a/16-bit Immediate to register 11011 w reg data data if w - 1I 3-4 a/16-bit Memory to accumulator 11010000w addr-Iow addr-high I g" Accumulator to memory 11010001w addr-Iow addr-high I a" Register/memory to segment register 110001110 mod Or~ rim 2/13 Segment register to register/memory 110001100 mod 0 reg rim 2/15 PUSH = Push: Memory 111111111 I mod 110 rim I 20 Register 101010reg I 14 Segment register 1000reg 110 1 13 POP -Pop: Memory 110001111 I mod 000 rim I 24 Register 101011 reg I 14 Segment register 1000reg111 I (reg *011 12 XCHG - Exchange: Register/memory with register 11000011wl mod reg rim I 4/17" Register with accumulator' 110010reg I 3 IN· Input from: Fixed port 11110010wl port I 10" Variable port 1111011 Ow 1 a" OUT· Output to: Fixed port 1110011 w port I g" Variable port 1110111 w 7" XLAT = Translate byte to AL 11010111 15 LEA = Load EA to register 10001101 mod reg rim I 6. LOS = Load pointer to OS 11000101 mod reg rim I (mod * 111 26 LES = Load pointer to ES 11000100 mod reg I rim (mod * 111 26 LAH F = Load AH with flags 10011111 2 SAHF = Store AH into flags 10011 i 10 3 PUSH F = Push flags 10011 100 13 POPF = Pop flags 10011 101 12 SEGMENT = Segment Override CS 100101110 1 2 SS 1001101101 2 OS 1001111 101 2 ES 1001001101 2 Shaded areas indicate instructions not available In MBL 8086, 88 mlcrosystems. *Note: Clock cycles shown for byte transfer. For word operations, add 4 clock cycles for all memory transfers. 1-217 1111111111111111111111111111111111111111111111111 MBl80188 FUJITSU MBl80188-6 1111111111111111111111111111111111111111111111111 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles ARITHMETIC ADD= Add: Reg/memory with register to either 1000000dw mod reg rim I 3/10' Immediate to register/memory 1100000sw mod 000 rim I data data if s w - 01 I 4/16' Immediate to accumulator 10000010w data I data if w - 1 I 3/4 8/16-bit ADC = Add with carry: Reg/memory with register to either 1000100dw mod reg rim I 3/10' Immediate to register/memory 1100000sw mod 010 rim I data data if s w 01 I 4116' Immediate to accumulator 10001010w data r data if w 11 3/4 8/16-bit INC = Increment: Register/memory 11111111 w mod 000 rim 3/15' Register 101000 reg 3 SUB = Subtract: Reg/memory and register to either 1001010dw mod reg rim 3/10' Immediate from register/memory 110000·0 s w mod 101 rim data I data if s w 01 4/16' Immediate from accumulator 10010110w data I data if w 11 3/4 8/16-bit see = Subtract with borrow: Reg/memory and register to either 1000110dw mod reg rim I 3/11}' Immediate from register/memory 1100000sw mod 011 rim I data data if s w - 01 4/16' Immediate from accumulator 10001110w data I data if w = 1 3/4 8/16-bit DEC == Decrement: Register/memory 11111111 w mod 001 rim 3115' Register 101 001 reg 3 eMP = Compare: Register/memory with register 10011101 w mod reg rIm 3/10' Register with register/memory 10011100w mod reg rIm 3/10' Immediate with register/memory 1 1 00000sw mod 111 rim data data if s w 01 I 3/10' Immediate with accumulator 10011110w data I data if w - 1 3/4 8/16-bit NEG:::: Change sign 11111011 w mod 011 rim AAA = ASCII adjust for add 1001 1011 1 8 DAA = Decimal adjust for add 1001001 1 1 4 AAS = ASCII adjust for subtract 1001 111 1 1 DAS = Decimal adjust for subtract 10010111 1 4 MUL = Multiply (unsigned): 11 1 1 1 0 1 1 w mod 100 rim! Register~Byte 26~28 Register~Word 35~37 Memory~Byte 32~34 Memory·Word 41~43' IMUL = Integer multiply (signed): 11 1 1 101 1 w I mod 101 rim I Register·Byte 25~28 Register*Word 34~37 Memory*Byte 31~34 Memory*Word 40~43' Register*Byte 29 Register*Word 38 Memory*Byte 35 Memory-Word 44' Shaded areas a indicate instructions not available in MBl 8086, 88 microsystems. * Note: Clock cycles shown for byte transfer. For word operations, add 4 clock cycles for all memory transfers. 1-218 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 80188 1111111111111111111111111111111111111111111111111111 MBL 80188-6 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles ARITHMETIC (Continued) IDIV = Integer divide (signed): 11 1 1 1 0 1 1 w 1 mod 111 rim 1 Register~Byte 44-52 Register-Word 53-61 Memory-Byte 50-58 Memory-Word 59-67* AAM ~ ASCII adjust for multiply :=1~1~1=0~1~0=1~0=0~=:0=:0~0~0~1~0=1~0::; 19 AAO ~ ASC II adjust for divide :=1~1~1=0~1~0=1~0=;1~---,0,-,0,,-,,0,-,0,-,-1-,,0,-1,--,,0---, 15 CBW ~ Convert byte to word 11 0 0 1 1 0 0 0 2 CWO ~ Convert wood to double word 11 00 1 1 00 1 4 LOGIC Shift/Rotate Instructions: Register/memory by 1 2/15* Register/memory by CL 5+n/17+n* TTT Instruction 000 ROL 001 ROR 010 RCL 011 RCR 1 00 SHLISAL 101 SHR 111 SAR ANO~And: Reg/memory and register to either I 00 1 0 a 0 d w I mod reg rim 3/10* Immediate to register/memory 11 OOOOOOw 1 mod 100 rim data 1 data if w - 1 4/16' Immediate to accumulator 10010010wl data data if w ~ 1 I 3/4 8/16-bit TEST = And function to flags. no result: Register/memory and register 1r.1;-;;:0-'0;-;0""""O--'1c-0~w--'-l-m:-o-d'--r-e-g-r"/m-' 3/10* Immediate data and register Imemory 1:=1~1=j1=;1~0=;1~1=w,=*1=m=o=d=0~0=0=r!Olm==oi=o==d~a=t=a=o=i-l-,d,-,a",ta"--,,if-,w,,---_1'--.J 4/10* Immediate data and accumulator IL1,-"0...!1...!O"-.l1..!oO,-0"-"w".-LI_ _-,d~a",t",a_ _-LI..!od,-,,a,,ta'!..!.'if...!w~-,-1ul 3/4 8/16-bit OR ~ Or: Reg/memory and register to either 100001 Odw mod reg rim I 3/10* Immediate to register/memory 11 OOOOOOw 1 mod 001 rim data I data if w - 1 4/16* Immediate to accumulator 10000110wl data data if w = 1 1 3/4 8/16-bit XOR = Exclusive or: Reg/memory and register to either 1001100 dw mod reg rim i I 3/10* Immediate to register/memory 11000000w 1 mod 110 rim I data I data if w - 1 4/16* Immediate to accumulator 10011010wl data I data if w ~ 1 I 3/4 8/16-bit NOT = Invert register/memory 11111011 wi mod 010 rim I 3 STRING MANIPULATION MOVS ~ Move byte/word 14* CMPS ~ Compare by tel word 22* SCAS ~ Scan byte/word 15* 12* Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. *Note: Clock cycles shown for byte transfer. For word operations, add 4 clock cycles for all memory transfers. 1-219 iIIllllllllllllllllllllllllllllllllIllllllllllllllll MBl 80188 FUJITSU MBl 80188-6 I111111111111111111111111111111111111111111111111111 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles STRING MANIPULATION (Continuedl Repeated by count in ex MOVS ~ Move string 11110010 1010010wl 8 + 8n* CMPS = Compare string 11110012 1010011wl 5 + 22n* SCAS ~ Scan string 5+ 15n* CONTROL TRANSFER CALL ~ Call: Direct within segment 111010 a a disp·low disp-high 19 Register/memory indirect 11111111 mod 010 rim 17/27 within segment Direct intersegment 100 1 1010 segment offset 31 segment selector Indirect intersegment 11111111 mod 011 rim (mod *111 54 JMP = Unconditional jump: Short long 11 1010 11 disp-Iow 14 Direct within segment 1 1 1010 01 disp-Iow disp-high 14 Register memory indirect 11111111 mod 100 rim 11/21 within segment Direct intersegment 1 1 1010 10 segment offset 14 segment selector Indirect intersegment 111111111 mod 101 rim I (mod *111 34 RET ~ Return from CALL: Within segment 1100 0 011 20 Within seg adding immed to SP 11000010 data-low data-high 22 Intersegment 1100 10 11 30 Intersegment adding immediate to SP 1100 10 10 data-low data-high 33 Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. *Note: Clock cycles shown for byte transfer. For word operations, add 4 clocl< cycles for all memory transfers. 1-220 1111111111111111111111111111111111111111111111111 FUJITSU MBl 80188 1111111111111111111111111111111111111111111111111 MBl 80188-6 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles CONTROL TRANSFER (Continued) JE/JZ = Jump on equal/zero I 01 1 10100 disp 4/13 JMP not taken/JMP JL/JNGE = Jump on less/not greater or equal I 01 1 1 1 100 disp 4/13 taken JLE/JNG = Jump on less or equal/not greater 01111 1 10 disp 4/13 JB/JNAE = Jump on below/not above or equal 01 1 10010 disp 4/13 JBE/JNA = Jump on below or equal/not above 01 1 101 10 disp 4/1.3 JP/JPE = Jump on parity/parity even I 01111010 disp 4/13 JO = Jump on overflow 101110000 disp 4/13 JS = Jump on sign I 01111000 disp 4/13 JNE/JNZ = Jump on not equal/not zero 011 10101 disp 4/13 JNL/JGE = Jump on not less/greater or equal 01 1 1 1 101 disp 4/13 JNLE/JG = Jump on not less or equal/greater 01 111 1 1 1 disp 4/13 JNB/JAE = Jump on not below/ above or equal 01 1 1001 1 disp 4/13 JNBE/JA = Jump on not below or 011 101 1 1 disp 4/13 equal/above JNP/JPO = Jump on not par/par odd 01 1 1 101 1 disp 4/13 JNO = Jump on not overflow 01 1 1 UO 01 disp 4/13 JNS = Jump on not sign 01111001 disp 4/13 JCXZ = Jump on CX zero 1110001 1 disp 5/15 LOOP = Loop ex times 11 100010 disp 6/16 LOOPZ/LOOPE = Loop while 11100001 disp 6/16 zero/equal LOOPNZlLOOPNE = Loop while not zero/equal 6/16 INT = Interrupt: Type specified 1 1001101 type 47 Type 3 11001100 45 if INT.taken/ INTO = Interrupt on overflow 1 1001110 48/4 if INT. not taken IRET = Interrupt return 110011 1 1 28 Shaded areas indicate instructions not available in MBL 8086, 88 microsystems. 1-221 1111111111111111111111111111111111111111111111111111 MBl 80188 FUJITSU MBl 80188-6 1111111111111111111111111111111111111111111111111111 INSTRUCTION SET SUMMARY (Continued) Clock FUNCTION FORMAT Comments Cycles PROCESSOR CONTROL CLC = Clear carry 11 1 1 1 10001 2 CMC = Complement carry 1111 1010 1 I 2 STC = Set carry 11 1 1 1 100 1 I 2 CLD = Clear direction 11 1 1 1 1 100 I 2 STD = Set direction 111111101 I 2 ell = Clear interrupt 1111 1 1010 1 2 ST. = Set interrupt 11 111 101 1 1 2 HLT = Halt 11 1 1 1010 a I 2 WAIT = Wait 1100 1 1011 1 6 if test = 0 LOCK = Bus lock prefix 11 1 1 100 a 01 2 ESC = Processor extension escape 11101 1TTT 1 mod LLL rim 1 6 (TTT LLL are opcode to processor extension) Shaded areas indicate instructions not available in MBl 8086, 88 microsystems. 1-222 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 80188 1111111111111111111111111111111111111111111111111111 MBl 80188-6 PRElIMINARY FOOTNOTES The Effective Address (EA) of the memory operand is com- REG is assigned according to the following table: puted according to the mod and rIm fields: 16-Bit (w = 1) a-Bit (w = 0) if mod = 11 then rIm is treated as a REG field 000 AX 000 AL if mod = 00 then OISP = 0*, disp-Iow and disp-high are 001 CX 001 CL absent 010 OX 010 OL if mod = 01 then OISP = disp-Iow sign-extended to 16-bits, 011 BX 011 BL disp-high is absent 100 SP 100 AH if mod = 10 then OISP = disp-high: disp-Iow 101 BP 101 CH 110 SI 1100H if rIm = 000 then EA = (BX) + (SI) + OISP 111 01 111 BH if rIm = 001 then EA = (BX) + (01) + OISP if rIm = 010 then EA = (BP) + (SI) + OISP The physical addresses of all operands addressed by the BP ifr/m=Oll then EA= (BP) + (01)+ OISP register are computed using the SS segment register. The if rIm = 100 then EA = (SI) + OISP physical addresses of the destination operands of the string if rIm = 101 then EA = (01) + OISP primitive operations (those addressed by the 01 register) if rIm = 110 then EA = (BP) + OISP* are computed using the ES segment, which may not be iflrlm = 111 then EA = (BX) + OISP overridden. OISP follows 2nd byte of instruction (before data if re- quired) 'except if mod = 00 and rIm = 110 then EA = disp-high: disp-Iow. EA calculation time is 4 clock cycles for all modes, and is included in the execution times given whenever appro- priate. SEGMENT OVERRIDE PREFIX 1001reg 110 1 reg is assigned according to the following: reg Segment Register 00 ES 01 CS 10 SS 11 OS 1-223 1111111111111111111111111111111111111111111111111111 MBL 80188 FUJITSU MBL 80188-6 1111111111111111111111111111111111111111111111111111 PACKAGE ILLUSTRATION CERAMIC LCC (METAL SEAL) PACKAGE DIMENSIONS (Suffix -CV) 68-PAD CERAMIC (METAL SEAL) LEADLESS CHIP CARRIER (CASE No.: LCC-68C-A01) IN 0 E X AREA t----=.6"-'70-"(1~7,",,02,,-,)S:.c Q'----1 C.040(1.02) TYP TYP .792(20.12) 1- .842(21.39) "~"[ .808(20.52) J110':';;'" f-.I-~- - ,:~ ~c:o;~:;-:-:~:3~7;';-: I_ .110(2.79) MAX _ _-j. I ©1985 FUJITSU C68001S-1C Dimension in inches (millimeters) 1-224 1111111111111111111111111111111111111111111111111 FUJITSU MBL 80188 1111111111111111111111111111111111111111111111111 MBL 80188-6 PACKAGE ILLUSTRATION CERAMIC PGA (METAL SEAL) PACKAGE DIMENSIONS (Suffix -CR) 68-LEAD CERAMIC (METAL SEAL) REPEATED QUAD IN-LINE PACKAGE (CASE No.: RIT-68C-A01) .050(1.27IDIATYP .090(2.291 •. 099(2.491 .110(2.791 I .122(3.101 r---------------__ o @ 0 1.000(25.401 REF L r o @ 0 OOOooo@o 00000000 1 015 (0.381 .020(0.51 piA j I. 1.135(28.831 1.165(29.591 SQ~ .083(2.111 MAX I •. 045(1.141 .055(1.401 .16012.541 INDEX AREA .. 120(3.051 .185(4.701 MAX Dimensions in inches (millimeters) ©1985 FUJITSU LIMITED R68001S-2C 1-225 MBl8088 MBl8088-2 MBl8088-1 February 1985 Edition 4.0 NMOS 8-BIT MICROPROCESSOR The Fujitsu MBl8088 is a new generation, high performance microprocessor implemented in N·channel, depletion load, silicon gate technology (NMOS), and packaged in a 40-pin ceramic or plastic DIP. The processor has attributes of both 8- and l6·bit microprocessors. It is directly compatible with MB l 8086 software and Intel 8080/8085 hardware and peripherals. • 8-Bit Data Bus Interface • 8-Bit and 16-Bit Signed and Unsigned Arithme- • 16-Bit Internal Architecture tic in Binary or Decimal, Including Multiply and • Direct Addressing Capability to 1 Mbyte of Divide Memory • Compatible with 8155-2, 8755A-2 and 8185-2 Direct Software Compatibility with MBl 8086 Multiplexed Peripherals CPU • Two Clock Rates: 14-Word by 16-Bit Register Set with Symmetri- 5MHz for MBl 8088, cal Operations 8M Hz for MBl 8088-2, • 24 Operand Addressing Modes 10M Hz for MBl 8088-1 • Byte, Word, and Block Operations • 40-Pin DIP: Ceramic DIP (Suffix: -C) Plastic DIP (Suffix: -P) Fig. 1 - BLOCK DIAGRAM Fig. 2 - PIN CONFIGURATION MIN {MAX} MODE MODE Vee A15 A13 A16/S3 A12 A17/S4 All AI8/S5 Al0 A19/S6 BUS CS (HIGH) A9 SSO INTERFACE SS A8 MN/MX UNIT DS AD7 RD IP AD6 HOLD (RO/GTO) ADS HLDA (RO/GTI ) A·BUS AD4 WR (LOCK) AD3 101M (52) AD2 DT/A (Si) AH AL ADI DEN ISlj) BH BL ADO ALE (050) CH CL DH DL NMI INTA (OSI) EXECUTION UNIT SP INTR TEST BP READY SI RESET DI FLAGS Portions Reprinted by permission of Intel Corporation © Intel Corporation, 1980 1-226 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII11II11II1III1II1 MBL 8088 FUJITSU MBL 8088-2 111111111111111111111111111111111111111111111111111I MBL 8088-1 TABLE 1 - PIN DESCRIPTION The following pin function descriptions are for MBl 8088 systems in either minimum or maximum mode. The "local bus" in these descriptions is the direct multiplexed bus interface connection to the MB l 8088 (without regard to additional bus buffers). Symbol Pin No. Type Name and Function AD7-ADo 9·16 I/O Address Data Bus: These lines constitute the time multiplexed memory/IO address (T I ) and data (T 2, T 3, T w, and T. ) bus. These Iines are active HI G H and float to 3·state OFF during interrupt acknowledge and local bus "hold acknowledge". Als-As 2·8,39 0 Address Bus: These lines provide address bits 8 through 15 for the entire bus cycle (T I -T 4 ). These lines do not have to be latched by ALE to remain valid. AI5 - As are active HIGH and float to 3·state OFF during interrupt acknowledge and local bus "hold acknowledge". A I9 /5 6 , 35·38 0 Address/Status: During T I, these are the four A ls /55, most significant address lines for memory op· A17/5 4 , erations. During I/O operations, these lines are A16 /5 3 lOW. During memory and I/O operations, status information is avalable on these lines S4 S, Characteristics during T 2 , T 3 , Tw, and T •. 56 is always low. o ILOW) 0 Alternate Data The status of the interrupt enable flag bit (55) 0 1 Stack is updated at the beginning of each clock 1IHIGH) 0 Code or None cycle. 54 and 53 are encoded as shown. 1 1 Data This information indicates which segment S, is OILOW) register is presently being used for data acces· sing. These lines float to 3'state OFF during local bus "hold acknowledge". RD 32 0 Read: Read strobe indicates that the processor is performing a memory or I/O read cycle, depending on the state of the 10/M pin or 52' This signal is used to read devices which reside on the MBl 8088 local bus. RD is active lOW during T 2 , T3 and Tw of any read cycle, and is guaranteed to remain HIGH in T2 until the MBl 8088 local bus has floated. This signal floats to 3·state OFF in "hold acknowledge". READY 22 I READY: is the acknowledgement from the addressed memory or I/O device that it will complete the data transfer. The RDY signal from memory or I/O is synchronized by the MBl8284Aciock generator toform READY. This signal is active HIGH. The MBl8088 READY input is not synchronized. Correct operation is not guaranteed if the set up and hold times are not met. INTR 18 I Interrupt Request: is a level triggered input which is sampled during the last clock cycle of each instruction to determine if the processor should enter into an interrupt acknow· ledge operation. A subroutine is vectored to via an interrupt vector lookup table located in system memory. It can be internally masked by software resetting the interrupt enable bit. INTR is internally synchronized. This signal is active HIGH. TE5T 23 I TEST: input is examined by the "wait for test" instruction. If the TE5T input is lOW, execution continues, otherwise the processor waits in an "idle" state. This input is synchronized internally during each clock cycle on the leading edge of ClK. NMI 17 I Non·Maskable Interrupt: is an edge triggered input which causes a type 2 interrupt. A subroutine is vectored to via an interrupt vector lookup table located in system memory. NMI is not maskable internally by software. A transition from a lOW to HIGH initiates the interrupt at the end of the current instruction. This input is internal· Iy synchronized. 1·227 MBl BOBB 1111111111111111111111111111111111111111111111111 MBl BOBB-2 FUJITSU MBl BOBB-1 IIIIIIIIIIIIIIIIIIIIIII!IIIIIIIIIIIIIIIIIIIIIIIII TABLE 1- PIN DESCRIPTION (Continued) Symbol Pin No. Type Name and Function RESET 21 I RESET: causes the processor to immediately terminate its present activity. The signal must be active HIGH for at least four clock cycles. It restarts execution, as described in the instruction set description, when RESET returns LOW. RESET is internally syn· chronized. eLK 19 I Clock: provides the basic timing for the processor and bus controller. It is asymmetric with a 33% duty cycle to provide optimized internal timing. Vee 40 Vee: is the +5V ±10% power supply pin. GND 1,20 GND: are the ground pins. MN/MX 33 I Minimum/Maximum: indicates what mode the processor is to operate in. The two modes are discussed in the following sections. The following pin function descriptions are for the MBL 8088 minimum mode (i.e., MN/MX = Vee). Only the pin functions which are unique to minimum mode are described; all other pin functions are as described above. 101M 28 0 Status Line: is an inverted maximum mode S2' It is used to distinguish a memory access from an 110 access. 101M becomes valid in the T4 preceding a bus cycle and remains valid until the final T4 of the cycle (I/O=HIGH, M=LOW). 101M floats to 3·state OFF in local bus "hold acknowledge". WR 29 0 Write: strobe indicates that the processor is performing a write memory or write 1/0 cycle, depending on the state of the 101M signal. WR is active for T 2 , T 3 , and Tw of any write cycle. It is active LOW, and floats to 3'state OFF in local bus "hold acknowledge". INTA 24 0 INTA: is used as a read strobe for interrupt acknowledge cycles. It is active LOW during T 2, T 3, and T w of each interrupt acknowledge cycle. ALE 25 0 Address Latch Enable: is provided by the processor to latch the address into the MBL 8282/8283 address latch. It is a HIGH pulse active during clock low of TI of any bus cycle. Note that ALE is never floated. DT/R 27 0 Data Transmit/Receive: is needed in a minimum system that desires to use an MBL 8286/8287 data bus transceiver. It is used to control to direction of data flow through the transceiver. Logically, DT/R is equivalent to SI in the maximum mode, and its timing is the same as for 101M (T=HIGH, R=LOW). This signal floats to 3-state OFF in local "hold acknowledge". DEN 26 0 Data Enable: is provided as an output enable for the MBL 8286/8287 in a minimum system which uses the transceiver. DEN is active LOW during each memory and 1/0 access, and for INTA cycles. For a read or INTA cycle, it is active from the middle of T2 until the middle of T 4 , while for a write cycle, it is active from the beginning of T2 until the middle of T 4 . DEN floats to 3-state OFF during local bus "hold acknowledge". HOLD, 30,31 1,0 HOLD: indicates that another master is requesting a local bus "hold". To be acknow- HLDA ledged, HOLD must be active HIGH. The processor receiving the "hold" request will issue HLDA (HIGH) as an acknowledgement, in the middle of a T4 or TI clock cycle. Simultaneous with the issuance of H LDA the processor will float the local bus and control lines. After HOLD is detected as being LOW, the processor lowers H LDA, and when the processor needs to run another cycle, it will again drive the local bus and control lines. Hold is not an asynchronous input. External synchronization should be provided if the system cannot otherwise guarantee the set up time. 1-228 1111111!11111111111111111111111111111111111111111 MBL 8088 FUJITSU MBL 8088-2 1111111111111111111111111111111111111111111111111 MBL 8088 - 1 TABLE 1 - PIN DESCRIPTION (Continued) Symbol Pin No. Type Name and Function 550 34 0 Status line: is logically equivalent to SO in the 10/M DT/R SSO Characteristics 1 (HIGH) 0 0 Interrupt maximum mode. The combination of 550, acknowledge 10/M and DT/R allows the system to com· 1 0 1 Read I/O Port pletely decode the current bus cycle status. 1 1 0 Write I/O Port 1 1 1 Halt o (LOW) 0 0 Code Access 0 0 1 Read Memory 0 1 0 Write Memory 0 1 1 Passive The following pin function descriptions are for the MBL 8088, 8228 system in maximum mode (i.e., MN/MX=GNDJ Only the pin functions which are unique to maximum mode are described; all other pin functions are as described above. 52,51,50 26·28 o Status: is active during clock high of T 4 , T" and T 2, and is returned to the passive state (1,1,1) during T3 or during Tw when READY is HIGH. This status is used by the MBl 8288 S2 S1 SO Characteristics bus controller to generate all memory and I/O o (LOW) 0 0 Interrupt acknowledge access control signals. Any change by 52, 51, or SO during T4 is used to indicate the begin· o 0 1 Read I/O Port ning of a bus cycle, and the return to the o 1 0 Write I/O Port passive state in T 3 or Tw is used to indicate o 1 1 Halt 1 (HIGH) 0 0 Code Access the end of a bus cycle. 1 0 1 Read Memory These signals float to 3·state OFF during 1 0 Write Memory "hold acknowledge". During the first clock 1 1 Passive cycle after RESET becomes active, these signals are active HIGH. After this first clock they float to 3'state 0 F F. RQ/GTO, 30,31 I/O Request/Grant: pins are used by other local bus masters to force the processor to release RQ/GT1 the local bus at the end of the processor's current bus cycle. Each pin is bidirectional with RQ/GTo having higher priority than RQ/GT,. RQ/GT has an internal pull·up reo sistor, so may be left unconnected. The request/grant sequence is as follows (See Fig. 8): 1. A pulse of one ClK wide from another local bus master indicates a local bus request ("hold") to the MBl 8088 (pulse 1). 2. During a T 4 or T, clock cycle, a pulse one clock wide from the MBl 8088 to the requesting master (pulse 2). indicates that tre MBl 8088 has allowed the local bus to float and that it will enter the "hold acknowledge" state at the next ClK. The CPU's bus interface unit is disconnected logically from the local bus during "hold acknowledge". The same rules as for HOLD/HOLDA apply as for when the bus is released. 3. A pulse one ClK wide from the requesting master indicates to the MBL 8088 (pulse 3) that the "hold" request is about to end and that the MBl 8088 can reclaim the local bus at the next ClK. The CPU then enters T 4 . 1-229 MBl8088 1111111111111111111111111111111111111111111111111111 MBl8088-2 FUJITSU MBl8088-1 1111111111111111111111111111111111111111111111111111 TABLE 1 - PIN DESCRIPTION (Continued) Symbol Pin No. Type Name and Function RO/GTO, 30,31 1/0 Each master-master exchange of the local bus is a sequence of three pulses. There must RO/GTI be one idle ClK cycle after each bus exchange. Pulses are active lOW. If the request is made while the CPU is performing a memory cycle, it will release the local bus during T4 of the cycle when all the following conditions are met: 1. Request occurs on or before T 2. 2. Current cycle is not the low byte of a word. 3. Current cycle is not the first acknowledge of an interrupt acknowledge sequence. 4. A locked instruction is not currently executing. If the local bus is idle when the request is made the two possible events will follow: 1. Local bus will be released during the next clock. 2. A memory cycle will start within 3 clocks. Now the four rules for a currently active memory cycle apply with condition number 1 already satisfied. LOCK 29 a lOCK: indicates that other system bus masters are not to gain control of the system bus while LOCK is active (lOW). The lOCK signal is activated by the "LOCK" prefix instruction and remains active until the completion of the next instruction. This signal is active LOW, and floats to 3-state off in "hold acknowledge". OSl,OSO 24,25 a Queue Status: provide status to allow external aS1 asa Characteristics tracking of the internal MBl 8088 instruction a (lOW) a No operation queue. a 1 First byte of opcode from queue The queue status is valid during the ClK cycle 1 (HIGH) a Empty the queue after which the queue operation is performed. 1 1 Subsequent byte from queue - 34 a Pin 34 is always high in the maximum mode. 1-230 1111111111111111111111111111111111111111111111111111 MBL 8088 FUJITSU MBL 8088-2 1111111111111111111111111111111111111111111111111111 MBL 8088-1 FUNCTIONAL DESCRIPTION MEMORY ORGANIZATION The processor provides a 20-bit address to memory which Fig. 3 - MEMORY ORGANIZATION locates the byte being referenced. The memory is organ- ized as a linear array of up to 1 million bytes, addressed as OOOOO(H) to FFFFF(H). The memory is logically divided °FFFFFH into code, data, extra data, and stack segments of up to 64K bytes each, with each segment falling on 16-byte I 64 KB }CODE SEGMENT boundaries. (See Fig. 3.) .---'---;--; X XXXO H All memory references are made relative to base addresses contained in high speed segment registers. The segment types were chosen based on the addressing needs of } STACK SEGMENT programs. The segment register to be selected is auto- + OFFSET ,-'----1---1 matically chosen according to the rules of the following table. All information in one segment type share the same SEGMENT logical attributes (e.g. code or data). By structuring REGISTER FILE WORD( L }DATA SEGMENT memory into relocatable areas of similar characteristics SS BYTE and by automatically selecting segment registers, programs t:=:jD~S~;Lj c=!'S are shorter, faster, and more structured. Word (16-bit) operands can be located on even or odd EXTRA DATA } SEGMENT address boundaries. For address and data operands, the least significant byte of the word is stored in the lower '----1---1 OOOOOH valued address location and the most significant byte in the next higher address location. The BIU will auto- matically execute two fetch or write cycles for 16-bit operands. Certain locations in memory are reserved for specific CPU operations. (See Fig. 4.) locations from addresses FFFFOH through FFFFFH are reserved for operations Fig. 4 - RESERVED MEMORY lOCATIONS including a jump to the initial system initialization routine. Following RESET, the CPU will always begin RESET BOOTSTRAP FFFFFH execution at location FFFFOH where the jump must be PROGRAM JUMP located. locations OOOOOH through 003FFH are reserved ··· FFFFOH for interrupt operations. Four-byte pointers consisting of a 16-bit segment address and a 16-bit offset address direct program flow to one of the 256 possible interrupt service 3FFH INTERRUPT POINTER routines. The pointer elements are assumed to have been FOR TYPE 255 ·· 3FOH stored at their respective places in reserved memory prior to the occurrence of interrupts. MINIMUM AND MAXIMUM MODES · INTERRUPT POINTER FOR TYPE 1 F 7H 4H INTERRUPT POINTER 3H The requirements for supporting minimum and maximum FOR TYPE 0 OH MBl8088 systems are sufficiently different that they cannot be done efficiently with 40 uniquely defined pins. Consequently, the MBl8088 is equipped with a strap pin (MN/MX) which defines the system configuration. The definition of a certain subset of the pins changes, dependent on the condition of the strap pin. When the MN/MX pin is strapped to GND, the MBl 8088 defines MN/MX pin is strapped to VCC' the MBl 8088 generates pins 24 through 31 and 34 in maximum mode. When the bus control signals itself on pins 24 through 31 and 34. 1-231 MBl8088 1111111111111111111111111111111111111111111111111111 MBl8088-2 FUJITSU MBl8088-1 1111111111111111111111111111111111111111111111111111 Memory Segment Register Segment Selection Rule Reference Need Used Instructions CODE (CS) Automatic with a" instruction prefetch. Stack STACK (55) A" stack pushes and pops. Memory references relative to BP base register except data references. Data references when: relative to stack, destination of string local Data DATA (OS) operation, or explicity overridden. Destination of string operations: Explicity selected using a External (Global) Data EXTRA (ES) segment override. The minimum mode MBl 8088 can be used with either a latch the addresses. This configuration of the minimum multiplexed or demultiplexed bus. The multiplexed bus mode provides the standard demultiplexed bus structure configuration is compatible with the MCS-85* multi- with heavy bus buffering and relaxed bus timing require- plexed bus peripherals (Intel 8155, 8156,8355, 8755A, ments. and 8185). This configuration (See Fig. 5.) provides the The maximum mode employs the MBl8288 bus con- user with a minimum chip count system. This architecture troller. (See Fig. 7.) The MBl 8288 decodes status lines provides the MBl8088 processing power in a highly integrated form. SO, Sj, and S;, and provides the system with all bus control signals. Moving the bus control to the MBl 8288 The demultiplexed mode requires one latch (for 64K provides better source and sink current capability to the addressability) or two latches (for a full megabyte of control lines, and frees the MBl 8088 pins for extended addressing). A third latch can be used for buffering if the large system features. Hardware lock, queue status, and address bus loading requires it. An MBl8286 or two request/grant interfaces are provided by the MBl 8287 transceiver can also be used if data bus buff- MBl8088 in maximum mode. These features allow co- ering is required. (See Fig. 6.) The MBl8088 provides processors in local bus and remote bus configurations. DEN and DTIR to control the transceiver, and ALE to 'Trade Mark of I ntel Corporation, USA 1-232 1111111111111111111111111111111111111111111111111 MBl 8088 FUJITSU MBl8088-2 1111111111111111111111111111111111111111111111111 MBl 8088 - 1 Fig. 5 - MULTIPLEXED BUS CONFIGURATION /' /' vss vee f I If1- ~ PORI I WR POR~ ~ RD (8) ALEPORT DATAl C W (6) ADDR IN 101M TIMER >------- RESET OUT -- 8155 ...... lOW As Al9 ADDR RD ADo-AD, ADDR/DATA I-"- ~ ALE , - CLK MBL If~ CE PORI 8088 ~~ A8~AIO ,------ ~ READY 8355/8 755A DATAl MN/MX ADDR ~g: rl X, O X, ALE RESET RD WR 1- 1- 1- - I-- r-- 101M RESET PORT B f.+¢ Vee CLK READY C- laiM I-- lOR ~ t - - RES RESET l- V~s lV~D! Vee I MBL PROG 8284A WR - RD - CE, ALE ft- CS. CE, 8185 1ft- Ag.A9 ADO-AD? ts te 1-233 MBl8088 1111111111111111111111111111111111111111111111111 MBl8088-2 FUJITSU MBl8088-1 1111111111111111111111111111111111111111111111111 Fig. 6 - DEMUL TIPLEXED BUS CONFIGRATION EXAMPLES (MINIMUM MODE) MBL82B4A CLOCK GENERATOR REs r r-- ---, I " S~~!iE t :IGENERATORl , I L _____ J Fig. 7 - FULLY BUFFERED SYSTEM EXAMPLE (MAXIMUM MODE) eLK MFiDC r_--------~s, M~Cr_--------------~------------~----- READY S; S; AMWC RESET S. s; ~2~~ iORCr_--,------------H------------~----- 1 ROY eT/A AiOWC r-- --, I I I WAIT I I STATE I I GENERATOR I I'- _____ JI 1-234 1IIIIIIIIIIIIIIIIillllllllllllllllllllllllllllili MIL 8088 FUJITSU MIL 8088-2 1111111111111111111111111111111111111111111111111 MIL 8088-1 BUS OPERATION The MBl 8088 address/data bus is broken into three parts processor, permitting the use of a standard 40 lead - the lower eight address/data bits (ADD-AD,), the package. The middle eight address bits are not multi- middie eight address bits (As - A 1s ), and the upper four plexed, i.e_ they remain valid throughout each bus cycle. address bits (A 16 -A19 ). The address/data bits and the In addition, the bus can be demultiplexed at the processor highest four address bits are time mUltiplexed. This with a single address latch if a standard, non-multiplexed technique provides the most efficient use of pins on the bus is desired for the system. Fig. 8 - BASIC SYSTEM TIMING (4+N WA1 T) = T Cy ClK GOES INACTIVE IN THE STATE "A:':-:-''--_------LI..I.- EXTERNAL SYNCHRONIZATION VIA TEST As an alternative to interrupts, the MBl 8088 provides a which is valid on the address/data bus (ADD -AD?) at this single software-testable input pin (TEST). This input is time, into the MBl8282/8283 latch. Address lines As utilized by executing a WAIT instruction. The single through A 1S do not need to be latched because they WAIT instruction is repeatedly executed until the TEST remain valid throughout the bus cycle. From Tl to T4 the input goes active (lOW). The execution of WAIT does not 10/M signal indicates a memory or I/O operation. At T2 consume bus cycles once the queue is full. the address is removed from the address/data bus and the bus goes to a high impedance state. The read control If a local bus request occurs during WAIT execution, the signal is also asserted at T2 . The read (RD) signal causes MBl8088 3-states all output drivers. If interrupts are the addressed device to enable its data bus drivers to the enabled, the MBl8088 will recognize interrupts and local bus. Some time later, valid data will be available on process them. The WAIT instruction is then refetched, the bus and the addressed device will drive the READY and reexecuted_ line HIGH. When the processor returns the read signal to a HIGH level, the addressed device will again 3-state its bus BASIC SYSTEM TIMING drivers. If a transceiver (MBl8286/8287) is required to In minimum mode, the NM/MX pin is strapped to Vee buffer the MBl 8088 local bus, signals DT /R and DEN are and the processor emits bus control signals compatible provided by the MBl 8088. with the 8085 bus structure. In maximum mode, the A write cycle also begins with the assertion of ALE and MN/MX pin is strapped to GND and the processor emits the emission of the address. The 10/M signal is again coded status information which the MBl 8288 bus asserted to indicate a memory or I/O write operation. In controller uses to generate MUl TIBUS* compatible bus Tz , immediately following the address emission, the control signals. processor emits the data to be written into the addressed location. This data remains valid until at least the middle SYSTEM TIMING - MINIMUM SYSTEM of T 4. During T z, T 3, and Tw, the processor asserts the (See Fig. 8) write control signal. The write (WR) signal becomes active The read cycle begins in T 1 with the assertion of the at the beginning of Tz , as opposed to the read, which is address latch enable (ALE) signal. The trailing (low going) delayed somewhat into Tz to provide time for the bus to edge of this signal is used to latch the address information, float. *Trade Mark of Intel Corporation, USA 1-238 1111111111111111111111111111111111111111111111111 MBl8088 FUJITSU MBl8088-2 1111111111111111111111111111111111111111111111111 MBl8088-1 The basic difference between the interrupt acknowledge bus the same way the MBl 8086 does with the distinction cycle and a read cycle is that the interrupt acknowledge of handling only 8 bits at a time. Sixteen-bit operands are (lNTA) signal is asserted in place of the read (RD) signal fetched or written in two consecutive bus cycles. Both and the address bus is floated. (See Fig. 9.) In the s~cond processors will appear identical to the software engineer, of two successive I NTA cycles, a byte of information is with the exception of execution time. The internal read from the data bus, as supplied by the interrupt register structure is identical and all instructions have the system logic (i.e. MBl8259A priority interrupt con- same end result. The differences between the MB l 8088 troller). This byte identifies the source (type) of the and MBl8086 are outlined below. The engineer who is interrupt. It is multiplied by four and used as a pointer unfamiliar with the MBl8086 is referred to the MBl into the interrupt vector lookup table, as described earlier. 8086 Family User's Manual, Chapters 2 and 4, for func- tion description and instruction set information. BUS TIMING - MEDIUM COMPLEXITY SYSTEMS Internally, there are three differences between the (See Fig. 10) MBl 8088 and the MBl 8086. All changes are related to For medium complexity systems, the MN/MX pin is the 8-bit bus interface. connected to GND and the MBl8288 bus controller is • The queue length is 4 bytes in the MBl 8088, whereas added to the system, as well as an MBl 8282/8283 latch MBl 8086 queue contains 6 bytes, or three words. The for latching the system address, and an MBl 8286/8287 queue was shortened to prevent overuse of the bus by transceiver to allow for bus loading greater than the the BIU when prefetching instructions. This was MBl 8088 is capable of handling. Signals ALE, DEN, and requi red because of the additional time necessary to DT/R are generated by the MBl8288 instead of the fetch instructions 8 bits at a time. processor in this configuration, although their timing • To further optimize the queue, the prefetching algo· remains relatively the same. The MBl 8088 status outputs rithm was changed. The MBl8088 BIU will fetch a (5;, 51, and So) provide type of cycle information new instruction to load into the queue each time there and become MBl 8288 inputs. This bus cycle information is a 1 byte hole (space available) in the queue. The specifies read (code, data, or 1/01. write (data or I/O), MBl 8086 waits until a 2·byte space is available. interrupt acknowledge, or software halt. The MBl 8288 thus issues control signals specifyi ng memory read or • The internal execution time of the instruction set is write, I/O read or write, or interrupt acknowledge. The affected by the 8-bit interface. All 16-bit fetches and MBl 8288 provides two types of write strobes, normal writes from/to memory take an additional four clock and advanced, to be applied as required. The normal write cycles. The CPU is also limited by the speed of strobes have data valid at the leading edge of write. The instruction fetches. This latter problem only occurs advanced write strobes have the same timing as read when a series of simple operations occur. When the strobes, and hence, data is not valid at the leading edge of more sophisticated instructions of the MBl8088 are write. The MBl 8286/8287 transceiver receives the usual being used, the queue has time to fill and the execution T and OE inputs from the MBl8288's DTiR and DEN proceeds as fast as the execution unit will allow. outputs. The MBl8088 and MBl8086 are completely software The pointer into the interrupt vector table, which is compatible by virtue of their identical execution units. passed during the second INTA cycle, can derive from an Software that is system dependent may not be completely MBl 8259A located on either the local bus or the system transferable, but software that is not system dependent bus. If the master MBl8259A priority interrupt controller will operate equally as well on an MBl8088 or .an is positioned on the local bus, a TTL gate is required to MBl8086. disable the MBl8286/8287 transceiver when reading The hardware interface of the MBl8088 contains the from the master MBl 8259A during the interruptacknow- major differences between the two CPUs. The pin ledge sequence and knowledge sequence and software assignments are nearly identical, however, with the follow- "poll". ing functional changes: • As -A 15 - These pins are only address outputs on the THE MBl8088 COMPARED TO THE MBl8086 MBl8088. These address lines are latched internally The MBl 8088 CPU is an 8-bit processor designed around and remain valid throughout a bus cycle in a manner the MBl8086 internal structure. Most internal func- similar to the 8085 upper address lines. tions of the MB l 8088 are identical to the equivalent • BHE has no meaning on the MBl 8088 and has been MBl B086 functions. The MBl 8088 handles the external eliminated. 1-239 MBL 8088 liililliliilillililiillilillillilillillillllillillil MBL 8088-2 FUJITSU MBL 8088-1 IIIIIIIIIIIIIIIIIIIIIII!!IIIIIIIIIIIIIIIIIIIIIIIIIII • SSO provides the SO status information in the mini- MCS-85' bus structure . mum mode_ This output occurs on pin 34 in minimum • ALE is delayed by one clock cycle in the minimum mode only_ DT/R, 101M, and SSO provide the com- mode when entering HALT, to allow the status to be plete bus status in minimum mode. latched with ALE. • 10iM has been inverted to be compatible with the Fig. 10 - MEDIUM COMPLEXITY SYSTEM TIMING T, T, T, T, CLK ---.r-' r-' /"' rho x x x MBL 8088 ----- / / /I / '------ A 19 -A'6 S6- 5 3 ,-- ALE "\ -- MBL 8288 RDY MBL 8284A x READY MBL 8088 X A, A, DATA IN MBL 8088 An -A, X AIS-As RD / DT/R "\ / MBL 8288 MRDC "\ DEN / '\. 'Trade Mark of Intel Corporation, USA 1-240 1111111111111111111111111111111111111111111111111111 MBL 8088 IImll~I~llillll tllt 18:::l ABSOLUTE MAXIMUM RATINGS* *NOTE: Permanent device damage may occur if ABSO· LUTE MAXIMUM RATINGS are exceeded. Ambient Temperature Under Bias ....... O°C to 70°C Functional operation should be restricted to the Storage Temperature ............. _65°C to +150°C conditions as detailed in the operational sections Voltage on Any Pin with of this data sheet. Exposure to absolute maxi· Respect to Ground ................ -0.5 to +7V mum rating conditions for extended periods may Power Dissipation ....................... 2.5 Watt affect device reliability. D.C. CHARACTERISTICS (MBL 8088: Vee; 5 V ± 10%, T A ; O°C to 70°C) (MBL 8088·2: Vee; 5 V ± 5%, T A ; O°C to 70°C) (MBL 8088·1: Vee; 5 V ± 5%, T A; O°C to 70°C) Symbol Parameter Min. Max. Units Test Conditions V IL Input Low Voltage -0.5 +0.8 V V IH Input High Voltage 2.0 Vee +0.5 V VOL Output Low Voltage 0.45 V IOL ; 2.0 mA V OH Output High Voltage 2.4 V IOH ;-400J.!A MBL 8088 340 lee Power Supply Current: MB L 8088·2 350 mA T A ; 25°C MBL 8088·1 360 I LI Input Leakage Current ±10 J.!A OVos;;;V IN OS;;; Vee I LO Output Leakage Cu rrent ±10 J.!A 0.45V OS;;; V OUT OS;;; Vee VeL Clock Input Low Voltage -0.5 +0.6 V V eH Clock Input High Voltage 3.9 Vee + 1.0 V Capacitance of Input Buffer C IN (All input except 15 pF fc; 1 MHz ADo-AD? RO/GT) Capacitance ill/O Buffer CIO 15 pF fc; 1 MHz (ADo-AD? RO/GT) 1·241 MBl 8088 1111111111111111111111111111111111111111111111111111 MBl 8088-2 FUJITSU MBl 8088 -1 1111111111111111111111111111111111111111111111111111 A.C. CHARACTERISTICS (MBl8088: Vee = 5 V ± 10%, T A = O°C to 70°C) (MBl 8088-2: Vee = 5 V ± 5%, TA = O°C to 70°C) (MBl 8088-1: Vee = 5 V ± 5% T A = O°C to 70°C) MINIMUM COMPLEXITY SYSTEM TIMING REQUIREMENTS MBl8088-1 MBl8088 MBl8088-2 (Preliminary) Symbol Parameter Units Test Conditions Min. Max. Min. Max. Min. Max. TClCl ClK Cycle Period 200 500 125 500 100 500 ns TClCH ClK low Time 118 68 53 ns TCHCl ClK High Time 69 44 39 ns TCH1CH2 ClK Rise Time 10 From 1.0 V to 10 10 ns 3.5 V TCl2Cl2 ClK Fall Time 10 From 3.5 V to 10 10 ns 1.0 V TDVCl Data in Setup Time 30 20 5 ns TClDX Data in Hold Time 10 10 10 ns RDY Setup Time TRlVCl into MBl 8284A 35 35 35 ns (See Notes 1,2) RDY Hold Time TClR1X into MBl 8284A 0 0 0 ns (See Notes 1,2) READY Setup Time TRYHCH 118 68 53 ns into MBl 8088 READY Hold Time TCHRYX 30 20 20 ns into MBl 8088 TRYlCl READY Inactive to -8 -8 -10 ns ClK (See Note 3) THVCH HOLD Setup Time 35 20 20 ns INTR, NMI, TEST TINVCH Setup Time 30 15 15 ns (See Note 2) Input Rise Time From 0.8 V to TILIH 20 20 20 ns (Except ClK) 2.0 V Input Fall Time From 2.0 V to TIHll 12 12 12 ns (Except elK) 0.8 V 1-242 1111111111111111111111111111111111111111111111111111 MBL 8088 FUJITSU MBL 8088-2 1111111111111111111111111111111111111111111111I11111 MBL 8088-1 A.C. CHARACTERISTICS (Continued) TIMING RESPONSES MBl8088·1 MBl8088 MBl8088·2 (Preliminary) Symbol Parameter Units Test Conditions Min. Max. Min. Max. Min. Max. TClAV Address Valid Delay 10 110 10 60 10 50 ns TClAX Address Hold Time 10 10 10 ns TClAZ Address Float Delay TClAX 80 TClAX 50 10 ns TlHll ALE Width TClCH-20 TClCH-l0 TClCH-l0 ns TCllH ALE Active Delay 80 50 40 ns TCHll ALE Inactive Delay 85 55 45 ns Address Hold Time to TllAX TCHCl-l0 TCHCl-l0 TCHCl-l0 ns ALE Inactive TClDV Data Valid Delay 10 110 10 60 10 50 ns TCHDX Data Hold Time 10 10 10 ns Data Hold Time After ns TWHDX TClCH-30 TClCH-30 TClCH-25 WR CL =20-100pF for TCVCTV Control Active Delay 1 10 110 10 70 10 50 ns all MBl 8088 TCHCTV Control Active Delay 2 10 110 10 60 10 45 ns Outputs in TCVCTX Control Inactive Delay 10 110 10 70 10 ns addition to interna 50 internal loads Address Float to READ TAZRl 0 0 0 ns Active TClRl RD Active Delay 10 165 10 100 10 70 ns TClRH RD Inactive Delay 10 150 10 80 10 60 ns AD Inactive to Next TRHAV TClCl-45 TClCl-40 TClCl-35 ns Address Active TClHAV HlDA Valid Delay 10 160 10 100 10 60 ns TRlRH RD Width 2TClCl-75 2TClCl-50 2TCLCL-40 ns TWlWH WR Width 2TCLCl-60 2TCLCL-40 2TClCH-35 ns Address Valid to ALE TAVAL TCLCH-60 TCLCH-40 TCLCH-35 ns Low From 0.8 V to TOLOH Output Rise Time 20 20 20 ns 2.0 V From 2.0 V to TOHOL Output Fall Time 12 12 12 ns 0.8 V A.C. TESTING INPUT. OUTPUT WAVEFORM A.C. TESTING LOAD CIRCUIT 2.4~.5~TEST POINTS-Ie 0.45 A.C. TESTING: INPUTS ARE DRIVEN AT 2.4V FOR A LOGIC "I" AND 0.45V FOR A LOGIC "0". THE CLOCK CL:INCLUDES JIG CAPACITANCE IS DRIVEN AT 4.3V AND 0.25V TIMING MEASUREMENTS ARE MADE AT 1.5V FOR BOTH A LOGIC "I" AND "0". 1-243 MBL 8088 1111111111111111111111111111111111111111111111111 MBL 8088-2 FUJITSU MBL 8088-1 1111111111111111111111111111111111111111111111111 WAVEFORMS BUS TIMING - MINIMUM MODE SYSTEM T, T, T• T ~ 1---1 t--TCl2~~ V ClK (MBl 8284A Output CH,"", f---TClCl- ~ ~~TCH1CrH L--I 1\--1 f\- VCLI..) TCHC TV - TCHCl TClCH 10lM,SSO A" -A, (Float during INTAI TClAV t--- TClAX f:= TCrDV I - TCHDX A 19 -A 16 5 6 -8 3 _-:- I:i,TlHll TCllH "" TllAX r-- ~Clll~ ALE I~ __ - ocTR1VCl ~:ri: RDY (MBl 8284A Input 1 SEE NOTE 5 ITAVAl \\\\1\\\'\ \\\\\\ ,\\\\\\\\\ 1 - I-TClR1X TRY'::R - ""Oy ,~" ",,, '0",,' 1 - i--TCHRYX ~RYHcL - TClAZ t::;DVCl TClDX AD,-AD o AD, ADo DATA IN ~' FlOAJ--l' TAZRl- TClRH TRHAV RD ......., READ CYCLE (NOTE 11 (WR. iiiiTA = VoHI DTiR" TCHCTV TClRl --{fTCVCTV I TRlRH - t pCVCTX TCHCTV DEN 1-244 1111111111111111111111111111111111111111111111111 MBl 8088 FUJITSU MBl8088-2 1111111111111111111111111111111111111111111111111 MBl 8088-1 WAVEFORMS (Continued) BUS TIMING - MINIMUM MODE SYSTEM (Continued) T, T, AD, -ADo -+--t--" WRITE CYCLE DEN NOTE 1 (RD, INTA, DT/R = V OH ) TCLAZ DT/R INTACYCLE NOTES 1,3 (RD, WR = V OH ) INTA DEN SOFTWARE HALT - DEN..!. RD, WR, INTA = VO H AD, -ADo INVALID ADDRESS SOFTWARE HALT DT/R INDETERMINATE TCLAV NOTES: 1. ALL SIGNALS SWITCH BETWEEN VOH AND VOL UNLESS OTHERWISE SPECIFIED. 2. RDY IS SAMPLED NEAR THE ENDOF T" T" TWTO DETERMINE IFTW MACHINES STATES ARE TO BE INSERTED. 3. TWO INTA CYCLES RUN BACK·TO·BACK. THE MBL 8088 LOCAL ADDR/DATA BUS IS FLOATING DURING BOTH INTA CYCLES. CONTROL SIGNALS ARE SHOWN FOR THE SECOND INTA CYCLE. 4. SIGNALS AT MBL 8284A ARE SHOWN FOR REFERENCE ONLY. 5. ALL TIMING MEASUREMENTS ARE MADE AT 1.5V UNLESS OTHERWISE NOTED. 1-245 MIL 8088 1111111111111111111111111111111111111111111111111 MIL 8088-2 FUJITSU MIL 8088 -1 1111111111111111111111111111111111111111111111111 A.C. CHARACTERISTICS (Continued) MAX MODE SYSTEM (USING MBL 8288 BUS CONTROLLER) TIMING REOUIREMENTS MBL 8088·1 MBL 8088 MBL 8088·2 (Preliminary) Symbol Parameter Units Test Conditions Min. Max. Min. Max. Min. Max. TCLCL CLK Cycle Period 200 500 125 500 100 500 ns TCLCH CLK Low Time 118 68 53 ns TCHCL CLK High Time 69 44 39 ns From 1.0 V to TCH1CH2 CLK Rise Time 10 10 10 ns 3.5 V From 3.5 V to TCL2CLl CLK Fall Time 10 10 10 ns 1.0 V TDVCL Data in Setup Time 30 20 5 ns TCLDX Data in Hold Time 10 10 10 ns RDY Setup Time TR1VCL into MBL 8284A 35 35 35 ns (See Notes 1,2) RDY Hold Time TCLR1X into MBL B284A 0 0 0 ns (See Notes 1,2) READY Setup Time TRYHCH 118 68 53 ns into MBL B088 READY Hold Time TCHRYX 30 20 20 ns into MBL 80B8 READY Inactive to TRYLCL -8 -8 -10 ns CLK (See Note 2) Setup Time for Recognition TINVCH 30 15 15 ns (lNTR, NMI, TEST) (See Note 2) TGVCH RO/GT Setup Time 30 15 12 ns RO Hold Time TCHGX 40 30 20 ns into MBL 8086 Input Rise Time ns From 0.8 V to TlliH 20 20 20 (Except CLK) 2,0 V Input Fall Time From 2.0 V to TIHIL 12 12 12 ns (Except CLK) 0.8 V 1·246 1111111111111111111111111111111111111111111111111111 MBl8088 FUJITSU MBl8088-2 1111111111111111111111111111111111111111111111111111 MBl8088-1 A.C. CHARACTER ISTICS (Continued) TIMING RESPONSES MBl8088·2 MBl8088·' MBl8088 (Preliminary) Symbol Parameter Units Test Conditions Min. Max. Min. Max. Min. Max. , Command Active Delay 35 10 35 10 35 ns TClMl 10 (See Note 1) Command Inactive 10 ns TClMH 10 35 10 35 35 Delay (See Note 11 READY Active to Status 110 45 ns TRYHSH Passive (See Note 3) 65 TCHSV Status Active Delay 10 110 10 60 10 45 ns TClSH Status Inactive Delay 10 130 10 70 10 55 ns TClAV Address Valid Qelay 10 110 10 60 10 50 ns TClAX Address Hold Time 10 10 10 ns TClAZ Address Float Delay TClAX 80 TClAX 50 10 40 ns Status Valid to ALE 15 ns TSVlH High (See Note 1) 15 15 Status Valid to MCE ns TSVMCH 15 15 15 High (See Note 11 ClK low to ALE 15 ns TCllH 15 15 Valid (See Note 1) ClK low to MCE 15 ns TClMCH High (See Note 1 ) 15 15 ALE Inactive Delay C L =20-1 OOpF for TCHll 15 15 15 ns (See Note 11 all MBl 8088 MCE Inactive Delay Outputs in I~ TClMCl 15 15 15 ns (See Note 11 addition to TClDV Data Valid Delay 10 110 10 60 10 50 ns internal loads TCHDX Data Hold Time 10 10 10 ns Control Active Delay TCVNV 5 45 5 45 5 45 ns (See Note 1) Control Inactive Delay TCVNX 10 45 10 45 10 45 ns (See Note 1) Address Float to Read ns TAZRl 0 0 0 Active TClRl RD Active Delay 10 165 10 100 10 70 ns TClRH RD I nactive Delay 10 150 10 80 10 60 ns RD Inactive to Next TRHAV TClCl-45 TClCl-40 TClCl-35 ns Address Active Direction Control TCHDTl Active Delay 50 50 50 ns (See Note 1) Direction Control TCHDTH I nactive Delay 30 30 30 ns (See Note 1) TClGl GT Active Delay 85 50 0 45 ns TClGH GT Inactive Delay 85 50 0 45 ns TRlRH RD Width 2TClCl-75 2TClCl-50 2TClCl-40 ns From 0.8 V to TOlOH Output Rise Time 20 20 20 ns 2.0 V From 2.0 V to TOHOl Output Fall Time 12 12 12 ns 0.8 V NOTES: 1. Signal at MBl 8284A or MBl 8288 shown for reference only. 2. Setup requirement for asynchronous signal only to guarantee recognition at next elK. 3. Applies only to T 2 state (8 ns into T 3 state). 1-247 MBL 8088 1111111111111111111111111111111111111111111111111111 MBL 8088-2 FUJITSU MBL 8088 -1 1111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) BUS TIMING-MAXIMUM MODE SYSTEM (USING MBL 8288) T, T, T, T, b rL- r ~r---- - -TCLCL- Tw v TCH1cdA TCL2CL~~ r-\ CLK VeL TCLAV- TCHCL - '---' TCLCH aSo,as, I I ~ TCHSV - r-TCLS H s"S;;5; (EXCEPT HALT) W;j 0i(SEE NOTE 8) '\.~=== AIS-Ag ,,-- 1- - l:::fx: r-- - I--TCLAV CLDV TCHDX TCLAX A"/S,,A,,/S, A 19 -A 16 5 6 -S 3 TSVLH- ~ 1:::1 j TCLLH- TCHLL ALE (MBL B288 r-- SEE NOTE 5 OUTPUT) I '\ ~~--- ~~ 1!~~ ~ ~ r-1R1 VCL RDY(MBL8284A INPUT) TRYLCL - TRYHSH- I-- r--- JCHRYX READ CYCLE AD,-AD o TCLAV- r AO, A, ~ C--~~f--m"" r--- TCiAZ -TDVCL 0'"' " TCLDX FLOA~' TAZRL- TCLRH TRHAV DT/R TCHDTL r--- TCLRL TRLRH I~I11I TCHDTH ~~~:Jrs 1 -r- F-3 TCLML- TCLMH- MRDC SEE NOTES 5,6 OR IORC if--TCVNV DEN If - TCVNX 1-248 1111111111111111111111111111111111111111111111111111 MBL 8088 FUJITSU MBL 8088-2 1111111111111111111111111111111111111111111111111111 MBL 8088-1 WAVEFORMS (Continued) BUS TIMING-MAXIMUM MODE SYSTEM (USING MBl 8288) s. ,S; ,S; (EXCEPT HALT) WRITE CYCLE AD,-ADo DEN MBL 8288 OUTPUTS AMWC SEE NOTE 5,6 OR AIOWC MWTC OR IOWC INTA CYCLE Als-As FLOAT .- (SEE NOTES 3,4) FLOAT TDVCL iTCLDX AD,-ADo POINTER FLOAT TSVMCH r-- I MCE/ PDEN TClMCH I DT/R ---t---""' '~ _ _¥-_ _ _ _ ~_~-J MBL 8288 OUTPUTS SEE NOTES 5,6 INTA DEN SOFTWARE HALT - (DEN=VOt: RD, MRDC,1ORC, MWfC, AMWC, TOWC, TNfA, DT/R = Vo H ) AD,-AD o ,A" -As ~)I( ~NVALID ADDRESS =:j 'f=TCLAV S"S"So ~ /~--------'~----- \ . ~---- NOTES: 1. All SIGNALS SWITCH BETWEEN VOH AND VO~ UNLESS OTHERWISE SPECIFIED. 2. ROY IS SAMPLED NEAR THE END OF T" T" Tw TO DETERMINE IF Tw MACHINES STATES ARE TO BE INSERTED. 3. CASCADE ADDRESS IS VALID BETWEEN FIRST AND SECOND INTA CYCLES. 4. TWO INTA CYCLES RUN BACK-TO-BACK. THE MBl8088 lOCAL ADDR/DATA BUS IS FLOATING DURING 80TH INTA CYCLES. CONTROL FOR POINTER ADDRESS IS SHOWN FOR SECOND INTA CYCLE. 5. SIGNALS AT MBl8284A OR MBl8288 ARE SHOWN FOR REFERENCE ONLY. 6. THE ISSUANCE OF THE MBl8288 COMMAND AND CONTROL SIGNALS (MRDC, MWTC, AMWC, IORC, IOWC, AIOWC, INTA AND DEN) lAGS THE ACTIVE HIGH MBl8288 CEN. 7. All TIMING MEASUREMENTS ARE MADE AT 1.SV UNLESS OTHERWISE NOTED. 8. STATUS INACTIVE IN STATE JUST PRIOR TO T,. 1-249 Mil 8088 1111111111111111111111111111111111111111111111111111 MBl 8088-2 FUJITSU MIL 8088 -1 1111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) ASYNCHRONOUS SIGNAL RECOGNITION ClK\ r\ NMI INTR j. ~~T"~~"~" S,gnal TEST NOTE: 1. SETUP REQUIREMENTS FOR ASYNCHRONOUS SIGNALS ONLY TO GUARANTEE RECOGNITION AT NEXT ClK BUS LOCK SIGNAL TIMING RESET TIMING (MAXIMUM MODE ONL Yl Any ClK Cycle Any ClK Cycle Vee ClK CLK lOCK RESET 24 ClK CYCLES REOUEST/GRANT SE~UENCE TIMING (MAXIMUM MODE ONL Yl ClK AI9/S6-AI6/S3 A,,-A, _ _ _ _ _ _ _ _ _ __ AD, -ADo MBl8088 COPROCESSOR MBl 8OB8 ~,S"So----------- RD, lOCK (SEE NOTE 11 NOTE: 1. THE COPROCESSOR MAY NOT DRIVE THE BUSSES OUTSIDE THE REGION SHOWN WITHOUT RISKING CONTENTION. 1-250 1111111111111111111111111111111111111111111111111111 MBL 8088 FUJITSU MBL 8088-2 1111111111111111111111111111111111111111111111111111 MBL 8088-1 HOLD/HOLD ACKNOWLEDGE TIMING (MINIMUM MODE ONL VI ~1 CLK CYCLE 1 OR 2 CYCLES HLDA_ _ _ _ _ _-II-_ _-r-' A 19/56 -A H;/S3 A15- A a - - - - - - I I f ' "---t.. AD7-ADO MBL 8088 r----. . ~----"" COPROCESSOR RD, WR, D T / R - - - - - - ; ! - - - - - ' '--_ _ _ _,~------.J DEN, 101M 1-251 MBl8088 1111111111111111111111111111111111111111111111111 MBl8088-2 FUJITSU MBl8088-1 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImili TABLE 2 - INSTRUCTION SET SUMMARY* 76543210765432107654321076543210 Regtster/memory to/from register Register/memory 11 1 1 1 1 1 1 wlmod 0 0 1 rim I Immediate to register/memory RegIster to 1 00 1 reg I Immediate (oregi,le, NEG-Change sign 11 1 1 1 0 1 1 wlmod 0 1 1 rIm I Memory toacc"mulator Accumulator to memory CMP~Compare: Register/memory to segment register Register/memory and register Segment reginer to register/memory Immediate wtth register/memory data data il s:w-Ol Immediate wtth accumulator AAS ~ASCII adjust for subtract 11 1 1 1 1 1 1 llmod 1 1 0 rim I OAS = Decimal adjust lor subtract Register 10 1 0 1 0 reg I MUL_Multiply (uns,g~ed) Segmentreg"ter 10 0 0 reg 1 1 01 IMUL=lnteger multiply (sig~ed) AAM=ASCII adjust for mult'ply POP ~ Pop: DIV -Divide (unsigned) Reg,ster!memory 11 0 0 0 I 1 1 llmod 0 0 0 rim I lOW-Integer diVIde Isigned) Register 10 1 0 1 1 reg I AAO~ASCII adjust lor divide Segmenlregister 100 0 reg 1 1 11 CBW - Convert byte to word CWD-Convertword to double word 1,00110011 XCHG ... E>--cx:: ROY OTiff NOTE 1: BHE IS STABLE (i.e., NON MULTIPLEXED) THROUGHOUT EACH TRANSFER CYCLE. As-A 15 ARE ALSO STABL.E ON TRANSFERS TO A PHYSICAL 8-BIT BUS. 1-261 .1111l111I1111~1111. MIL 8089 FUJITSU MIL 8089-2 11111111.11.11~111.1111. ABSOLUTE MAXIMUM RATINGS* *NOTE: Permanent device damage may occur if ABSO· LUTE MAXIMUM RATINGS are exceeded. Ambient Temperature Under Bias . . . . . . . . . O°C to 70°C Functional operation should be restricted to the Storage Temperature. . . . . . . . . . . . .. _65°C to +150°C conditions as detailed in the operational sections Voltage on Any Pin with of th is data sheet. Exposure to absolute maxi· Respect to Ground . . . . . . . . . . . . . . . . . -0.5 to +7V mum rating conditions for extended periods may Power Dissipation . . . . . . . . . . . . . . . . . . . . " 2.5 Watt affect device reliability. D.C.CHARACTERISTICS (Vcc = 5V ±10%. TA = O°Cto 70°C) Symbol Parameter Min. Max. Units Test Conditions V IL Input Low Voltage -0.5 +0.8 V V IH Input High Voltage 2.0 Vcc + 1.0 V VOL Output Low Voltage 0.45 V IOL = 2.0 rnA VOH Output High Voltage 2.4 V IOH =-400pA Icc Power Supply Current 350 rnA TA - 25°C ILl Input Leakage Current ±10 pA OV' 7 CS Ao DO_7 INTA INT cs Ao 00_7 INTA INT cs Ao 00_7 INTA INT CAS 0 I- CAsa CASD MBl82S9A MBl8259A MBl B2S9A CAS 1 I- SLAVE B CAS 1 CAS 1 SLAVE A MASTER CAS 2 I- CAS 2 CAS 2 SP/EN IR7IR6IRSIR4'R3IR2IR,IRO SP/E'N IR71A61RSIR41R31R21RliRO SP/EN IR7IR6IRSIR4IA3'R2IR,IAO GrD 11111111 GrD! 1111111 L1~ !I 31 1 ! I I INTERRUPT REQUESTS - 1-285 1IIIIIIIIIIIIIIIIIIIIIiill';llilllliiillilll'lliil MBL 8259A FUJITSU MBL 8259A-2 I1111111111111111111111111I1111111111111111111111111 Special consideration should be taken when mixed inter· the CASO-2 lines won't be activated, thus staying in the rupt requests are assigned to a master 8259A; that is, when default condition addressing for IRO (slave IRO). If a slave some of the master's IR inputs are used for slave interrupt is connected to the master's I RO when a non-slave inter· requests and some are used for individual interrupt reo rupt occurs on another master IR input, erroneous con· quests. In this type of structure, the master's I RO must not ditions may result. Thus i RO shouid be the last choice be used for a slave. This is because when an IR input that when assigning slaves to I R inputs. isn't initialized as a slave receives an interrupt request, (© Intel Corporation, 1979) Fig. 12 - CASCADE·BUFFERED MODE EXAMPLE SLAVE SLAVE MASTER INT INTR 8259A 8259A 8259A © Intel Corporation, 1979 '·286 1111111111111111111111111111111111111111111111111 FUJITSU MBL 8259A 1111111111111111111111111111111111111111111111111 MBL 8259A-2 ABSOLUTE MAXIMUM RATlNG* 'NOTE:- Permanent device damage may occur if ABSO· LUTE MAXIMU~ RATINGS are exceeded. Ambient Temperature Under Bias ......... O°C to 70°C Functional operation should be restricted to the Storage Temperature . . . . . . . . . . . . . . . _55°C to +150°C conditions as detailed in the operational sections Voltage on Any Pin of this data sheet. Exposure to absolute maxi· with Respect ot Ground . . . . . . . . . . . . . . -0.5V to + 7V mum rating conditions for extended periods may Power Dissipation . . . . . . . . . . . . . . . . . . . . . . .. 1W affect device reliability. D.C. CHARACTERISTICS (Vee = 5V ± 10%, TA =O°C to 70°C) Symbol Parameter Min. Max. Units Test Conditions V IL Input Low Voltage -0.5 0.8 V V IH Input High Voltage 2.Q Vee+0.5V V VOL Output Low Voltage 0.45 V IOL = 2.2mA V OH Output High Voltage 2.4 V IOH = -400JlA 3.5 V IOH = -100JlA VOH(lNT) Interrupt Output High Voltage 2.4 V IOH = -400JlA ILl I nput Load Current -10 +10 JlA OV < V IN < Vee I LOL Output Leakage Current -10 +10 JlA 0.45V < V OUT< Vee Ice Vee Supply Current 85 mA -300 JlA VIN = OV ILIR I R Input Load Current 10 JlA VIN = Vee CAPACITANCE (T A = 25°C, Vee = GND = OV) Symbol Parameter Min. Typ. Max. Unit Test Conditions C IN Input Capacitance 10 pF fc = 1 MHz CliO 1/0 Capacitance 20 pF Unmeasured pins returned to Vss 1-287 IlIlmoommllwmmu MIL 825M FWITSU MIL 8259A-2 ~~II~IIIIIMI~1II1 A.C. CHARACTERISTICS (Vee = 5V ± 10%. TA = O°C to 70°C) TIMING REQUIREMENTS MBL8259A MBL8259A-2 Symbol Parameter Units Test Conditions Min_ Max. Min. Max. TAHRL AO/CS Setup to RD/INTA./. 0 0 ns TRHAX AO/CS Hold after RD/INTAt 0 0 ns TRLRH RD Pulse Width 235 160 ns TAHWL AO/CS Setup to WR.J. 0 0 ns TWHAX AO/CS Hold after WRt 0 0 ns TWLWH WR Pulse Width 290 190 ns TDVWH Data Setup to WRt 240 160 ns TWHDX Data Hold after WRt 0 0 ns TJLJH Interrupt Request Width (Low) 100 100 ns See Note 1 Cascade Setup to Second or Third TCVIAL 55 40 ns INTA.J. (Slvae Only) End of RD to next RD TRHRL End of INTA to next INTA within 160 160 ns an INTA sequence only TWHWL End of WR to next WR 190 190 ns End of Command to next Command 500 500 ns (Not same command type) *TCHCL End of INTA sequence to next INTA sequence. ·Worst case timing for TCHCL in an actual microprocessor system is typically much greater than 500 ns (i.e. Intel 8OS5A = 1.6#5. Intel 8085A-2 = 1115. MBL 8086 = 111S. MBL 8086-2 =625 ns) NOTE: This is the low time required to clear the input latch in the edge triggered mode. 1-288 1111111111111111111111111111111111111111111111111111 FUJITSU Mil 8259A 1111111111111111111111111111111111111111111111111111 Mil 8259A.2 TIMING RESPONSES MBL 8259A MBL 8259A·2 Symbol Parameter Units Test Conditions Min. Max. Min. Max. TRLDV Data Valid from RD/INTAt 200 120 ns C of Data Bus = 100 pF TRHDZ Data Float after RD/INTAt ~CofD~B", 10 100 10 85 ns Max. text C =100pF: TJHIH I nterrupt Output Delay 350 300 ns Min. text C = 15pF Cascade Valid from First INTAt TIALCV 565 360 ns C1NT = 100 pF (Master Only) TRLEL Enable Active from ROt or INTAt 125 100 ns CCASCADE = 100 pF TRHEH Enable Inactive from RDt or INTAt 150 150 ns TAHDV Data Valid from Stable Address 200 200 ns TCVDV Cascade Valid to Valid Data 300 200 ns A.C. TESTING INPUT/OUTPUT WAVEFORM A.C. TESTING LOAD CIRCUIT INPUT/OUTPUT 2.4 rr 2.0 2.0 DEVICE UNDER )TEST POINTS( TEST O.S O.S 0.45 CL AC TESTING INPUTS ARE DRIVEN AT 2.4V FOR A -= LOGIC '"I'" AND-0.45V FOR A- LOGIC '"0'". TIMING CL= 100p F MEASUREMENTS ARE MADE AT·· 2.0V FOR A (C L INCLUDES JIG CAPACITANCE) LOGIC "I'" AND O.SV FOR A LOGIC "0'". WAVEFORMS WRITE TWLWH \ . TAHWL TWHAX ---< t-- cs AD DRESS BUS Ao ) TDVWH - K t--TWHDX DA TA BUS (DO-D7) ) K 1·289 1111111111111111111111111111111111111111111111111111 MBl 8259A FUJITSU MBL 8259A-2 1111111111111111111111111111111111111111111111111111 WAVEFORMS (Continued) I READ/INTA RD/INTA - - - - - - " ' " I->----TRLRH----i r------- TRHAX CS ADDRESS BUS AO "'"~ """'1 DATA BUS _ _ _ _ _ _ _ _ _ _ _ .:~H~V_ _ i'-________ ..J}- ____ _ OTHER TIMINGS RD CTRHRL~ INTA \ / WR RD \ CTWHWL~ / c'C""~ INTA WR \ RD / INTA WR 1-290 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 8259A 1111111111111111111111111111111111111111111111111111 MBL 8259A-2 WAVEFORMS (Continued) INTA SEQUENCE IR INT INTA DATA BUS - - - - - - - - - - - I L-__C_A_S_O_-2_____________________T_IA_L_CV ________________________ ~--------~ ~ NOTES: Interrupt output must remain HIGH at least until leading edge of first INTA. CD MBL 8086/8088 system mode: at first INTA the Data Bus is not active. ~8080/8085 system mode: only. 1-291 1111111111111111111111111111111111111111111111111111 MBL 8259A FUJITSU MBL 8259A.2 1111111111111111111111111111111111111111111111111111 PACKAGE ILLUSTRATION CERAMIC DIP (Metal Seal! PLASTIC DIMENSIONS CERAMIC DIP(Suffix: -C) 28-LEAD CERAMIC IMETAL SEAL) DUAL IN-LINE PACKAGE (CASE No_ : DIP-28C-A01) ..=;.....,;;_~'"",;,,,l 0' to 15' .05011.271 REF 11 4.861 .590114.991 5.371 ld==ll=]'" INDEX 1 .00810.201 .01210.301 1~.05711.45IMAX i3.177(4.501MAX ~ I~ II II I ~ :1~~g:~~: .09012.291 1 .11012.791 .05411.37) --i II .015(0.381 .023(0.58) ::gg:g5: 1.300(33.02)REF Dimensions in inches (millimeters) ©1986 FUJITSU LIMITED 0280Q5S-1C 1-292 Ilmlllllllllllllllllllllllllllllllllllllllllllllll FUJITSU MBL 8259A 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImili MBL 8259A-2 PACKAGE ILLUSTRATION PLASTIC DIP (Plastic Molding) PACKAGE DIMENSIONS PLASTIC DIP (Suffix: -PI 2B-LEAD PLASTIC DUAL IN-LINE PACKAGE (CASE No.: DIP·2BP-M02) l .533(13.551 .590(14.991 ~~~~~~~~~~~~~~~J4'051 INDEX .610 (15.491 1.389(35.281 1.415(35.931 I Dimensions in inches (millimeters) © 1986 FUJITSU LIMITED 028006S-1C 1-293 Advanced Products FUJITSU • MBL8282 November 1986 Edition 4.0 MBL8283 Bipolar Octal Latch Description The MBL8282 and MBL8283 are 8-bit bipolar latches with 3- state output buffers. They can be used to implement latches, I I I buffers or multiplexers. The MBL8283 inverts the input data at J I I its outputs while the MBL8282 does not. Thus, all of the principle peripherals and input/output functions of a t- microcomputer system can be implemented with these devices. t- l- t- t- Features I I • Address Latch for MBL0006, • 1I"ansparent during Active l- I I ....... .......,. MBLOOOO, MBL0009, MCS- Strobe 00', MCS-OS', MCS-40' • 3-State Outputs ,. Families • 2G-Pln DIP Package r- • High Output Drive • No Output Low Noise when Capability for Driving Entering or Leaving High System Data Bus Impedance State • Fully Parallel O-Blt Data Register and Buffer Portions reprinted by permission of Intel Corporation © Intel Corporation, 1983. Compilation and additional materials ©1985 by FUJITSU LIMITED, Tokyo, Japan. 1-294 MBL8282 MBL8283 Logic Diagrams MBl8282 Pin Configurations MBl8282 MBl8283 01. Vee 01. Vee 01, DO. DI, Do. DI, DO, DI, Do, 013 DO, 0 13 DO, DI. 003 DI. Do, Dis DO. Dis DO. 01, DOs 01, Dos 017 DO, 017 506 liE 007 liE 007 GND 5TB GND 5TB FUJITSU 1-295 MBL8282 MBL8283 Functional Description The MBl8282 and MBl8283 Holding the STB line in its buffers are in their high are 8-bit latches with 3-state active HIGH state makes the impedance state. Enabling or output buffers. Data having latches appear transparent. disabling the output buffers satisfied the setup time Data is presented to the data will not cause negative-going requirements is clocked into Q.l!!put pins by activa!i!lg the transients to appear on the the data latches by strobing OE input iine. When OE is data output bus. the STB line HIGH to lOW. inactive HIGH the output Pin De8crlptlon Pin De8cription STB STROBE (Input). STB is an input control pulse used to strobe data at the data input pins (Ao-A7) into the data latches. This signal is active to HIGH to allow data in. The data is latched during the HIGH to lOW transition of STB. OE OUTPUT ENABLE (Input) OE is an input control signal which when active lOW enables the contents of the data latches to be sent to the data output pins (Bo-B7)' OE being inactive HIGH forces the output buffers to their high impedance state. DATA INPUT PINS (Input). Data present at these pins is clocked into the data input latches when STB is strobed. DO o-D0 7 DATA OUTPUT PINS (Output). When OE is low, the data in the (MBl8282) data latches appears as inverted (MBl8283) or non-inverted OOo-D0 7 (MBl8282) data on the data output pins. (MBl8283) Absolute Maximum Ratings- Parameter Rating Unit Temperature Under Bias 0° to 70° °C Storage Temperature -65° to +150° °C Supply Voltage -0.5 to +ZO V All Input Voltages -0.5 to +7.0 V All Output Voltages (3-State Output) +5.5 V Power Dissipation 1.0 W Note: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. FUJITSU 1-296 MBL8282 MBL8283 D.c. Characteristics (Vee = 5V ±10%, TA = O°C Symbol Parameter Min. Max. Units Test Conditions to 70°C) Ve Input Clamp Voltage -1 V Ie = -5 mA lee Power Supply Current 160 mA IF Forward Input Current -0.2 mA VF = 0.45V IR Reverse Input Current 50 pA VR = 5.25V VOL Output Low Voltage 0.45 V 10L =32 mA VOH Output High Voltage 2.4 V 10H =-5 mA 10FF Output Off Current ±50 pA VOFF = 0.45V to 5.25V V IL Input Low Voltage 0.8 V Vee = 5.0V See Note 1 V IH Input High Voltage 2.0 V Vee = 5.0V See Note 1 F = 1 MHz C IN Input Capacitance 12 pF VBIAS = 2.5\f, Vee = 5V TA =25°C Note: 1. Output Loading 10L =32mA, 10H =-SmA, CL =300pF. A.C. Characteristics (Vee = 5V ±10%, TA = O°C Symbol Parameter Min. Max. Units Test Conditions to 70°C, Loading: Outputs- IOL = 32mA, 10H = -5mA, TIVOV Input to Output Delay -Inverting (MBL8283) 5 22 ns CL = 300pF) -Non-Inverting (MBL8282) 5 30 ns TSHOV STB to Output Delay -Inverting (MBL8283) 10 40 ns -Non-Inverting (MBL8282) 10 45 ns (See Note 1) TEHOZ Output Disable Time 5 18 ns TELOV Output Enable Time 10 30 ns TIVSL Input to STB Setup Time 0 ns TSLIX Input to STB Hold Time 25 ns TSHSL STB High Time 15 ns TILlH, TOLOH Input, Output Rise Time 20 ns From 0.8V to 2.0V TIHIL, TOHOL Input, Output Fall Time 12 ns From 2.0V to 0.8V Nole: 1. See waveforms and test load circuit on following page. A.C. Testing Input! Output Waveform A.C. TESTING: INPUTS ARE DRIVEN AT 2.4V FOR A LOGIC ·'1" AND O.45V FOR A LOGIC -0:. TIMING MEAS- UREMENTS ARE MADE AT 1.5V FOR BOTH A LOGIC "1" AND "0", INPUT RISE AND FALL TIMES ARE MEASURED FROM ).8V TO 2.0Y AND ARE DRIVEN AT 5±2n•. FUJITSU 1-297 MBL8282 MBL8283 Waveforms INPUTS STB OUTPUTS NOTE: 1. FOR MBl 8283 ONLY-OUTPUT MAY BE MOMENTARILY INVALID FOllOWING THE HIGH GOING STB TRANSITION. 2. All TIMING MEASUREMENTS ARE MADE AT 1.5V UNLESS OTHERWISE NOTED. Output Test Load Circuits 1.5V 1.5V 2.14V OUT ~~ OUT ~'~ O~~~m r 300 pF r300PF 300PF r 3-STATE TO VOL 3~STATE TO YOH SWITCHING Output Delay vs. Capacitance 50 50 MBl8282 MBl8283 40 40 ! ! ~ w ~ 0 w 0 10 200 400 600 800 1000 200 800 1000 lOADpF lOADpF FUJITSU 1-298 MBL8282 MBL8283 Package Dimensions Dimensions in inches 20-Lead Ceramic (millimeters) Dual In-Line Package DIP-20C-C01 .014(0.36) FUJITSU 1-299 MBL 8284A MBL 8284A-l April 1986 Edition 4.0 BIPOLAR CLOCK GENERATOR AND DRIVER FOR MBl 8086/8088/8089 • Generates the System Clock for the • Generates System Reset Output from MBl8086/8088/8089 Schmitt Trigger Input Processors: 5MHz and 8MHz with MBl 8284A • Capable of Clock Synchronization with 10MHz with MBl 8284A-1 Other MBl 8284As • Uses a Crystal or a TTL Signal for • Single +5V Power Supply Frequency Source • 18-Pin Cerdip (Suffix: -CZ) • Provides local READY and Multibus* READY Synchronization Fig. 1 BLOCK DIAGRAM Fig. 2 - PIN CONFiGURATION RES .£T 0 Q RESET CK, Xl X2 OSC CSYNC Vee F/C PCLK Xl +3 +2 PCLK X2 SYNC SYNC ROYI ASYNC EFI CSYNC READY EFI ROY2 Fie ROYI AEN2 OSC CLK AENI GNO RESET ROY2 CK> AEN2 0 Q READY FFI ASYNC "Trade Mark of Intel Corporation Portions Reprinted by permission of Intel Corporation © I ntel Corporation, 1983 1-300 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 8284A 1111111111111111111111111111111111111111111111111111 MBl 8284A-l PIN DESCRIPTION TABLE 1 - PIN OISCRIPTION Symbol Type Name and Function AEN1, I Address Enable: AEN is an active lOW signal. AEN serves to qualify its respective Bus Ready AEN2 Signal (ROYl or RDY2). AENl validates RDYl while AEN2 validates RDY2. Two AEN signal inputs are useful in system configurations which permit the processor to access two Multi-Master System Busses. In non Multi-Master configurations the AEN signal inputs are tied true (LOW). ROY1, I Bus Ready: (Transfer Complete), RDY is an active HIGH signal which is an indication from ROY2 a device located on the system data bus that data has been received, or is available. R DY 1 is qualified by AENl while ROY2 is qualified by AEN2. ASYNC I Ready Synchronization Select: ASYNC is an input which defines the synchronization mode of the READY logic. When' ASYNC is low, two stages of READY synchronization are provided. When ASYNC is left open (internal pull-up resistor is provided.) or HIGH a single stage of READY synchronization is provided. READY 0 Ready: READY is an active HIGH signal which is the synchronized ROY signal input. READY is cleared after the guaranteed hold time to the processor has been met. Xl,X2 I Crystal In: Xl and X2 are the pins to which a crystal is attached. The crystal frequency is 3 times the desired processor clock frequency. F/C I Frequency/Crystal Select: FtC is a strapping option. When strapped LOW, FtC permits the processor's clock to be generated by the crystal. When F/G is strapped HIGH, CLK is generated from the E F I input. EFI I External Frequency: When F/C is strapped HIGH, CLK is generated from the input frequency appearing on this pin. The input signal is a square wave 3 times the frequency of the desired CLK output. CLK 0 Processor Clock: ClK is the clock output used by the processor and all devices which directly connect to the processor's local bus (i.e., the bipolar support chips and other MOS devices). CLK has an output frequency which is 1/3 of the crystal or EFI input frequency and a 1/3 duty cycle. An output HIGH of 4.5 volts (Vee = 5V) is provided on this pin to drive MOS devices. PCLK 0 Peripheral Clock: PCLK is a TTL level peripheral clock signal whose output frequency is 1/2 that of CLK and has a 50% duty cycle. OSC 0 Oscillator Output: OSC is the TTL level output of the internal oscillator circuitry. Its frequency is equal to that of the crystal. RES I Reset In: RES is an active LOW signal which is used to generate RESET. The MBL 8284A provides a Schmitt trigger input so that an RC connection can be used to establish the power- up reset of proper duration. RESET 0 Reset: RESET is an active HIGH signal which is used to reset the MBL 8086 family pro- cessors, its timing characteristics are determined by RES. CSYNC I Clock Synchronization: CSYNC is an active HIGH signal which allows multiple MBL 8284A to be synchronized to provide clocks that are in phase. When CSYNC is HIGH the internal counters are reset. When CSYNC goes LOW the internal counters are allowed to resume count- ing. CSYNC needs to be externally synchronized to EFI. When using the internal oscillator CSYNC should be hardwired to ground. GND Ground_ Vee Power: +5V supply. 1·301 1111111111111111111111111111111111111111111111111 MBl 8284A FUJITSU MBl 8284A-l 1111111111111111111111111111111111111111111111111 FUNCTIONAL DESCRIPTION GENERAL clock signal whose output frequency is y" that of ClK, The MBL 8284A is a single chip ciock generatoridriver for PCLK has a 50% duty cycle. the MBL 8086/MBL 8088/MBL 8089 processors. The chip contains a crystal-controlled oscillator, a divide- RESET lOGIC by-three counter, complete MUL TIBUS* "Ready" syn- The reset logic provides a Schmitt trigger input (R ES) chronization and reset logic. Refer to Figure I for Block and a synchronizing flip·flop to generate the reset timing. Diagram and Figure 2 for Pin Configuration. The reset signal is synchronized to the falling edge of ClK. A simple RC network can be used to provide power-on OSCillATOR reset by utilizing this function of the MBl 8284A. The oscillator circuit of the MBl8284A is designed primarily for use with an external series resonant, funda- READY SYNCHRONIZATION mental mode, crystal from which the basic operating fre- Two READY inputs (RDY1, RDY2) are provided to ac· quency is derived. commodate two Multi·Master system busses. Each input The crystal frequency should be selected at three times has a qualifier (AENI and AEN2, respectively). The AEN the required CPU clock. Xl and X2 are the two crystal signals validate their respective RDY signals. If a Multi- input crystal connections. For the most stable operation Master system is not being used the AEN pin should be of the oscillator (OSC) output circuit, two series resistors tied lOW. (R I = R2 = 510n) as shown in the waveform figures are recommended. The output of the oscillator is buffered Synchronization is required for all asynchronous active- and brought out on OSC so that other system timing going edges of either RDY input to guarantee that the signals can be derived from this stable, crystal·controlled R DY setup and hold times are met. Inactive-going edges source. of RDY in normally ready systems do not require syn- chronization but must satisfy RDY setup and hold as a For systems which have a Vcc ramp time;;' IV /ms and/or matter of proper system design. have inherent board capacitance between Xl or X2, ex· ceeding I OpF (not including MBl 8284A pin capacitance), The ASYNC input defines two modes of READY syn- the two 510n resistors should be used. This circuit chronization operation. provides optimum stability for the oscillator in such extreme conditions. It is advisable to limit stray capaci- When ASYNC is lOW, two stages of synchronization are tances to less than 10pF on Xl and X2 to minimize provided for active READY input signals. Positive-going deviation from operating at the fundamental frequency. asynchronous READY inputs will first be synchronized For notes of using MBl 8284A, see page 10. to flip-flop one at the rising edge of ClK and then syn· chronized to flip-flop two at the next falling edge of ClK, CLOCK GENERATOR after which time the READY output will go actiV€ The clock generator consists of a synchronous divide· (HIGH). Negative-going asynchronous READY inputs by·three counter with a special clear input that inhibits will be synchronized directly to flip·flop two at the fai- the counting. This clear input (CSYNC) allows the out· ling edge of ClK, after which time the READY output put clock to be synchronized with an external event will go inactive. This mode of operation is intended for (such as another MBl 8284A clock). It is necessary to use by asynchronous (normally not ready) devices in the synchronize the CSYNC input to the EFI clock external system which cannot be guaranteed by design to meet the to the MBl 8284A. This is accomplished with two Schot· required RDY setup timing, t R1v CL, on each bus cycle. tky flip·flops. The counter output is a 33% duty cycle clock at one·third the input frequency. When ASYNC is high or left open, the first READY flip- flop is bypassed in the READY synchronization logic. The F/C input is a strapping pin that selects either the READY input~ are synchronized by flip-flop two on the crystal oscillator or the EFI input as the clock for the+3 falling edge of ClK before they are presented to the counter. If the EFI input is selected as the clock source, processor. This mode is available for synchronous devices the oscillator section can be used independently for that can be guaranteed to meet the required RDY setup another clock source. Output is taken from OSC. time. CLOCK OUTPUTS ASYNC can be changed on every bus cycle to select the appropriate mode of synchronization for each device in The ClK output is a 33% duty cycle MOS clock driver the system. designed to drive the MBl 8086/MBl 8088/MBl 8089 processors directly. PClK is a TTL level peripheral * Trade Mark of Intel Corporation, USA 1-302 1IIIIIImlllllllllllllllllllllllllllllllllllillmi FUJITSU MIL 8284A I I I I I I I I I I I I I I I I I I I I I I I I I ~ Mil 8284A-1 Fig. 3 - CSYNC SYNCHRONIZATION SYNCHR~~~~>-~----~~D Q D Q EFI >C-~J>ClKt ClKt (TO OTHER MBl B2B4As) ABSOLUTE MAXIMUM RATINGS* * NOTE: Permanent device damage may occur if ABSO- lUTE MAXIMUM RATINGS are exceeded. Temperature Under Bias . . . . . . . . . . . . . ooc to 70°C Fu nctiona( operation shou Id be restricted to the Storage Temperature . . . . . . . . . . . . . -6SoC to +1S0oC conditions as detailed in the operational sections Supply Voltages . . . . . . . . . . . . . . . . . -O.5V to +7.0V of this data sheet. Exposure to absolute maxi- All Input and Output Voltages . . . . . . . . . -O.5V to Vee mum rating conditions for extended periods may Power Dissipation . . . . . . . . . . . . . . . . . . . . .. 1.0 W affect device reliability. D.C. CHARACTERISTICS (Vee = SV±10%. T A = Ooc to 70°C) Symbol Parameter Min. Max. Units Test Conditions Forward Input Current ASYNC -1.3 mA V F = O.4SV IF Other Inputs -O.S mA V F =O.4SV Reverse Input Current ASYNC SO p.A VR = Vee IR Other Inputs SO p.A V R = S.2SV Ve Input Forward Clamp Voltage -1.0 V Ie =-SmA Icc Power Supply Current 162 mA V 1L Input lOW Voltage O.B V VIH Input HIGH Voltage 2.0 V VIHR Reset Input HIGH Voltage 2.6 V VOL Output lOW Voltage O.4S V IOL = SmA ClK 4 V IOH = -1mA VOH Output HIGH Voltage Other Outputs 2.4 V IOH =-1mA VIHR-VILR RES Input Hysteresis 0.2S V 1-303 1111111111111111111111111111111111111111111111111111 Mil 8284A FUJITSU Mil 8284A-l 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIllllllilimllml A.C. CHARACTERISTICS (Vcc = 5V± 10%, T A = O°C to 70°C) TIMING REQUIREMENTS Symbol Parameter Min. Max. Units Test Conditions tEHEL External Frequency HIGH Time 13 ns (90% - 90%)V1N tELEH External Frequency LOW Time 13 ns (10% - 10%)V'N 40 For MBL 8284A tELEL EFI Period (Note 1) ns 33 For MBL 8284A-1 25 For MBL 8284A XTAL Frequency 12 MHz 30 For MBL 8284A-1 tR1VCL ROY1, ROY2 Active Setup to CLK 35 ns ASYNC= HIGH tRlvCH ROY1, ROY2 Active Setup to CLK 35 ns ASYNC= LOW tR1VCL ROY1, ROY2 Inactive Setup to CLK 35 ns tCLR1X ROY1, ROY2 Hold to CLK 0 ns tAYVCL ASYNC Setup to CLK 50 ns tCLAYX ASYNC Hold to CLK 0 ns tA1VR1V AEN1, AEN2 Setup to ROY1, ROY2 15 ns tCLA1X AEN1, AEN2 Hold to CLK 0 ns tYHEH CSYNC Setup to EFI 20 ns tEHYL CSYNC Hold to EFI 10 ns tYHYL CSYNCWidth 2·tELEL ns tllHCL RES Setup to CLK 65 ns (Note 1) tCLllH RES Hold to CLK 20 ns (Note 1) 1-304 1111111111111111111111111111111111111111111111111111 FVJITSU MBL 8284A 1111111111111111111111111111111111111111111111111111 MBL 8284A-l A.C. CHARACTERISTICS (Continued) TIMING RESPONSES MBl8284A MBl8284A·' Symbol Parameter Max. Units Test Conditions Min. Min. tCLCL ClK Cycle Period 125 100 ns t CHCL ClK HIGH Time (1j3 t cLc Ll+2 39 ns t CLCH ClK lOW Time (% t cL cLl-15 53 ns tCH1CH2 ClK Rise Time 10 ns From 1.0V to 3.5V tCL2CL2 ClK Fall time 10 ns From 3.5V to 1.0V tpHPL PClK HIGH Time t CLCL -20 tCLCL -20 ns tpLPH PClK lOW Time t CL CL-20 tCLCL -20 ns tRYLCL Ready Inactive to ClK -8 -8 ns (Note 3) tRYHCH Ready Active to ClK (% t CLCL )-15 53 ns (Note 2) tCLIL ClK to Reset Delay 40 ns tCLPH ClK to PClK HIGH Delay 22 ns tCLPL ClK to PClK lOW Delay 22 ns tOLCH OSC to ClK HIGH Delay -5 -5 22 ns tOLCL OSC to ClK lOW Delay 2 -2 35 ns tOLO H Output Rise Time (except ClK) 20 ns From 0.8V to 2.0V tOHO L Output Fall Time (except ClK) 12 ns From 2.0V to 0.8V NOTES: 1. Setup and hold necessary only to guarantee recognition at next clock. 2. Applies only to T 3 and Tw states. 3. Applies only to T2 states. A.C. TESTING INPUT, OUTPUT WAVEFORM A.C. TESTING lOAD CIRCUIT DEVICE UNDER TEST A.C. TESTING: Inputs are driven at 2.4V for a logic "1" and O.45V for a logic "0". timing measurements are made at 1.5V for both a logic "1" and "0". Input rise and fall times (measured between 0.8V and 2.0V) are 5±2ns. 1-305 1111111111111111111111111111111111111111111111111 MBl 8284A FUJITSU MBl 8284A-l 1111111111111111111111111111111111111111111111111 WAVEFORMS CLOCKS AND RESET SIGNALS NAME EFI OSC RES NOTE: All timing measurements are made at 1.5 volts, unless otherwise noted. READY SIGNALS (FOR ASYNCHRONOUS DEVICES) ClK tCL R 1 X f-----J tR1VCH RDY1,2 _ _ _ _ _.... ltA1VR1V tCLR1X AEN1,2 1-----1 tAYVCL READY tRYHCH 1-306 1111111111111111111111111111111111111111111111111111 FUJITSU MIL 8284A IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIII MIL 8284A-l WAVEFORMS (Continued) READY SIGNALS (FOR SYNCHRONOUS DEVICES) ClK tR1VCL RDY1,2 -------'1 tA1VR1V tCLR1X READY CLOCK HIGH AND LOW TIME (USING Xl, X2) Xl ClK II (SEElOAD NOTE 1) I Xtal$ X2 FIC Xtal = 24 MHz for M Bl B2B4A RI R, 1 CSYNC = 30 MHz for M Bl B2B4A-l RI =R, =510n - - J. CLOCK HISH AND LOW TIME (USING EFI) l PULSE GENERATOR JI EFI ClK II (SEElOAD NOTE 1) I L V FIC rCSYNC 1-307 1111111111111111111111111111111111111111111111111 MBl 8284A FUJITSU MBl 8284A-l 1111111111111111111111111111111111111111111111111 READY TO CLOCK (USING Xl, X2) Vee AENl ClK Xl XtalD READY X2 PULSE GENERATOR RDY2 OSC R, R, TRIGGER FIe Xtal = 24 MHz for MBl 8284A AEN2 = 30 MHz for MBl 8284A-l CSYNC = R, = R, = 510.11 READY TO CLOCK (USING EFII LOAD ......---iEFI CLKt----i (SEE NOTE 1) FIC AENl 1------iRDY2 AEN2 CSYNC LOAD READY (SEE NOTE 2) NOTES: 1. C L ; 100 pF 2. CL ; 30 pF 1-308 1111111111111111111111111111111111111111111111111111 FUJITSU MIL 8284A 1111111111111111111111111111111111111111111111111111 MIL 8284A-l NOTES FOR USING MBl 8284A For MBl 8284A's stable operation, the following things should be noted: 1. The fundamental mode crystal should be used. 2. Stray capacitances between X1 and X2 should be limited to less than 1OpF. 3. External resistors for stable crystal oscillation should be connected as Configuration (I) or Ill) shown below. Especially, for Configuration (I) circuit, the minimum frequency of crystal is limitted to 15MHz. A low frequency crystal (less than 15MHz) with Configuration (I) circuit may cause an abnormal oscillation. For more stable osciallation over the specified frequency range (12MHz to 25M Hz or 30MHz). Configuration Ill) circuit is recommendable. 4. The rise time of the power supply voltage Vee should be more than 1Oms. A steep Vee rising Iwith the rise time less than 10ms) may cause an overtone oscillation. 5. In the power·on reset circuit shown below, the ground terminal of the external capacitor C should be grounded as near to the GND pin of MBl 8284A as possible. 6. When the crystal oscillator circuit is not used (Le., an external clock source is used). X1 should be pulled up to Vee with an approx. 1kn resistor and X2 should be left open. At this time, OSC output is clamped at high level. CRYSTAL OSCillATOR CIRCUIT • Configuration (I) • Configuration (II) Xl asc Xl asc XtalCl ClK ClK X2 X2 PClK PClK MBlB284A MBl8284A Fie Fie CSYNC CSYNC R1 = R2 = 51 on, Xtal = 15MHz to 25M Hz (MBl 8284A) Rp = 510n, Xtal = 12MHz to 25MHz (MBl 8284A) = 15MHz to 30MHz (MBl 8284A·1) = 12MHz to 30MHz (M8l 8284A-l) POWER·ON RESET CIRCUIT EXTERNAL CLOCK CONFIGURATION Vee Vee R asc Clamped High Xl ClK RES" RESET X2 External PClK MBl8284A Clock EFI Source MBl8284A C GND Fie R = lkn, EFI S 25MHz (MBl 8284A) S 30MHz (MBl 8284A-1I 1-309 ~~~- ------ - --.~----~--~--.-~----~--- -~-- 1111111111111111111111111111111111111111111111111111 MBL 8284A FUJITSU MBL 8284A-l 1111111111111111111111111111111111111111111111111111 PACKAGE ILLUSTRATION CERAMIC DIP (CERDiP) PACKAGE DIMENSIONS CERAMIC DIP (Suffix: ·CZ) 18·LEAD CERAMIC (CERDIP) DUAL IN·LlNE PACKAGE (CASE No. : DIP·18C·C01) R.025(O.64) Q.24) III I II J REF .302(7.67) .305(7.75) .325(8.26) ~~C~~C=~~~.8-82L~=2r.4LO)~-c~~TL~.1 ~--==~~---r--~ .912(23.16) ~~--------------------,---~ .200(5.08)MAX .120(3.05) .150(3.81) .090(2.29) .110(2.79) .020(0.511 .050(1.27) .800(20.32IREF .013(0.33) Dimensions in .023(0.581 inches (millimeters) 1·310 Advanced Products FUJITSU • MBL8286 November 1986 Edition 4.0 MBL8287 Bipolar Octal Bus Transceiver De.criptlon The MBl8286 and MBl8287 are 8-bit bipolar transceivers with 3-state outputs. The M Bl8287 inverts the input data at its outputs while the MBl8286 does not. Thus, a wide variety of ~. applications for buffering in microcomputer systems can be met. r- r- Feeture. r- • Data Bus Buffer Driver lor • Fully Parallel 8-Blt MBlSOS6, MBL80S8, 1I"anscelvers BMl8089, MCS-80*, • 3-State Outputs MCS-8S*, end MCS-4S* • 2o-Pln DIP Femllies • No Output Low Noise when IU vI • High Output Drive Capability lor Driving System Data BUB Entering or Leaving High Impedance State r- , . . . A A ........ .• -- - Portions reprinted by permission of Intel Corporation @lnteICorporation,19B3. Compilation and additional materials @1985 by FUJITSU LIMITED, Tok,yo, Japan. 1-311 MBL8288 MBLa287 Logic Dlagrama MBl8286 MBl8287 r---------l r--------l I I I I Pin Configuration. MBl8286 MBl8287 Ao Vee Au Vee A, Bo A, So A, B, A, S, A, B, ... A, B, A. As A, A, OE B, B. Bs B. B, As A, A, OE .... B, ii4 B, GND T GND T FUJITSU 1-312 ...Lalaa ...Lala? Pin Description Symbol ~pe Name and Function li'ansmlt: T is an input control signal used to control the direction of the transceivf!rs. When HIGH, it configures the transceiver's 80-B7 as T outputs with Ao-A7 as inputs. T LOW configures Ao-A7 as the outputs and Bo-B7 as the inputs. Output Enable: OE is an input control signal used to enable the OE 0 appropriate output driver Cas selected by T) onto its respective bus. This signal is active LOW. Local BUI Data Pins: These pins serve to either send data to or A o-A7 1/0 accept data from the processor's local bus, depending upon the state oftheTpin. Bo-B7 System BUI Data Pins: These pins serve to either send data to or ~MBL8286) 1/0 accept data from the system bus, depending upon the state of the T O-B7 pin. CMBL8287) Functional Description The MBL8286 and MBL 8287 Ao-A7 pi ns are sent ·to the low glitching will occur when are 8-bit transsceivers with Bo-B7 pins. With T inactive the transceivers are entering high impedance outputs. low and OE active LOW, data or leaving the high With T active HIGH and O£ at the Bo-B7 pi ns is sent to impedance state. active LOW, data at the the Ao-A7 pins. No output Abaolute Ma.lmum Rating. Parameter Rating Unit Temperature Under Bias o· to 70· ·C Storage Temperature -65· to +150· ·C Supply Voltage -0.5 to +7.0 V All Output Voltages C3-State Output) +5.5 V All Input Voltages -0.5 to +7.0 V Power Dissipation 1.0 W Note: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 1-313 MBL8288 MBL8287 DC Characteristics (Vee; +SV ±10%, Symbol Parameter Min. Max. Units fil.t Conditions TA = O°C to 70°C) Ve Input Clamp Voltage -1 V Ie; -SmA -MBL8287 130 rnA lee Power Supply Current_MBL8286 160 rnA IF Forward Input Current -0.2 rnA VF = O.4SV IR Reverse Input Current SO I1A VR = 5.25V -B Outputs O.4S V 10L = 32 rnA VOL Output Low Voltage_ A Outputs O.4S V 10L; 16 rnA . -B Outputs 2.4 V 10H=-SmA VOH Output High Voltage_ A Outputs 2.4 V IOH=-1mA IOFF Output Off Cu rrent 'F VOFF = O.4SV IOFF Output Off Current IR VOFF = S.2SV -ASide 0.8 V Vee = S.OV, See Note 1 VIL Input Low Voltage_ B Side 0.9 V Vee; S.OV, See Note 1 VIH Input High Voltage 2.0 V Vee; S.OV, See Note 1 F = 1 MHz C IN Input Capacitance 12 pF VBIAS = 2.SV, Vee = SV TA = 2SoC Nole: 1. B Outputs-I OL ; 32 rnA, 10H ; -5 rnA, CL = 300 pF; A Outputs-loL = 16 rnA, 10H = -1 rnA, CL ; 100 pF. AC Characteristics (Vee = +SV ±10%, Symbol Parameter Min. Max. Units Test Conditions TA = O°C to 70°C) Loading: Input to Output Delay 1. B Outputs-I OL = 32 rnA. TIVOV Inverting -MBL8287 S 22 ns 10H = -S rnA, C L = 300 pF; Non-Inverting -MBL8286 S 30 ns A Outputs-I OL = 16 rnA. TEHTV Transmit/Receive Hold Time 5 ns IOH = -1 rnA, C L = 100 pF. (See Note 1) TTVEL Transmit/Receive Setup 10 ns TEHOZ Output Disable Time 5 18 ns TELOV Output Enable Time 10 30 ns TILlH, Input/Output Rise Time 20 ns From 0.8V to 2.0V TOLOH TIHIL, Input/Output FaliTime 12 ns From 2.0V to 8.0V TOHOL Nole: 1. See the following waveforms and test load circuits. Waveforms I( INPUTS \ TEHOZ ::::::1 - -- TELOV OUTPUTS ,VOV ----- YOH-O.WK VOL+O.1V _~EHTV .1 TTVEL J.. Note: All timing measurements are made at 1.5V unless otherwise noted. FUJITSU 1-314 MBL8288 MBL8287 Test Load Circ"its 1.SV 1.SV 2.14V ~~= O~~~ ~~~rn I I'OOpF lOOpF 3-STATE TO YOl 3-STATE TO VOL A OUTPUT 1 SWITCHING B OUTPUT 3DOpF BOUTPUT 1.5Y 1.SV 2.2BV ~~- o~~'= J,BOO OUT~ I,oOPF I 1 'OOpF 300PF 3-STATE TO VOH 3-STATE TO YOH SWITCHING B OUTPUT A OUTPUT A OUTPUT O"tp"t Delay Vers"s Capacitance 50 50 MBL 8287 MOL 8286 40 40 200 400 600 BOO 1000 200 400 600 BOO 1000 LOADpF LOAD pF FUJITSU 1-315 MBL8288 MBL8287 Package Dimensions Dimensions in inches 20-Lead Ceramic (CEADIP) (millimeters) Dual In-Line Package DIP-20C-C01 .090(2.24) .11012.79) ~--+-------~.9~OO~12~2~.8~6~)R~E~F-------tr-.., .013(0.33) .02310.581 FUJITSU 1-316 BUS CONTROLLER 11111111111111111111111111111111111111111111111111111111111111111 FUJITSU FOR MBL 8086/MBL 8088 MBL 8288 I MBL 8089 PROCESSORS 11111111111111111111111111111111111111111 January 1985 Edition 3.0 BUS CONTROLLER FOR MBL 8086/MBL 8088/MBL 8089 PROCESSORS The Fujitsu MBl8288 Bus Controller is a 20·pin bipolar component for use with medium·to·large MBl 8086/MBl 8088 processing systems. The bus controller provides command and control timing generation as well as bipolar bus drive capability while optimizing system performance. A strapping option on the bus controller configures it for use with a multi-master system bus and separate I/O bus. • Bipolar Drive Capability • Configurable for Use with an I/O Bus • Provides Advanced Commands • Multi-Master Facilitates Interface to One or Two Busses • Provides Wide Flexibility in System Configurations • 10 MHz Clock Rate • 3-State Command Output Drivers • Standard 20-pin Cerdip (Suffix-CZl Fig. 1 - BLOCK DIAGRAM Fig. 2 - PIN ASSIGNMENT MBL 80B61 MBL 80881 _ {so MRDC MBL 8089 Sl MWTC COM· STATUS 51 MAND AMWC MULTIBUS* SIGNAL 10RC COMMAND GENER- 10WC SIGNALS ATOR MCEiPDEN AIOWC OEN INTA CEN CLK CONTROL ( AEN INPUT CEN CONTROL LOGIC CONTROL SIGNAL GENER- ATOR DTiR DEN MCEIPDEN 1 ADDRESS LATCH, DATA TRANSCEIVER, AND INTERRUPT CONTROL GND lOB ALE SIGNALS +5V GND "Trade Mark of Intel Corporation, USA. Reprinted by premission of Intel Corporation © Intel Corporation, 1983 1-317 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MBl 8288 TABLE 1 - PIN DESCRIPTION Symbol Type Name and Function Vee Power: +5V supply GND Ground SO,Sl,s:! I Status Input Pins: These pins are the status input pins from the MBl 8086, MBl 8088 or MBl8089 processors. The MBl 8288 decodes these inputs to generate command and con- trol signals at the appropriate time. When these pins are not in use (passive) they are all HIGH. (See chart under Command and Control logic.) ClK I Clock: This is a clock signal from the MBl 8284 clock generator and serves to establish when command and control signals are generated. ALE 0 Address latch Enable: This signal serves to strobe and address into the address latches. This signal is active HIGH and latching occurs on the falling (HIGH to lOW) transition. ALE is intended for use with transparent D type latches. DEN 0 Data Enable: This signal serves to enable data transceivers onto either the local or system data bus. This signal is active HIGH. DT/R 0 Data Transmit/Receive: This signal establishes the direction of data flow through the trans- ceivers. A HIGH on this line indicates Transmit (Write to I/O or memory) and a lOW indicates Receive (Read). AEN I Address Enable: AEN enables command outputs of the MBl 8288 Bus Controller at least 85 ns after it becomes active (lOW). AEN going inactive immediately 3-states the command output drivers. AEN does not affect the I/O command lines if the MBl 8288 is in the I/O Bus mode (lOB tied HIGH). CEN I Command Enable: When this signal is lOW all MBl 8288 command outputs and the DEN and PDEN control outputs are forced to their inactive state. When this signal is HIGH, these same outputs are enabled. lOB I Input/Output Bus Mode: When the lOB is strapped HIGH the MBl 8288 functions in the I/O Bus mode. When it is strapped lOW, the MBl 8288 functions in the System Bus mode. (See sections on I/O Bus and System Bus modes). AIOWC 0 Advanced I/O Write Command: The AIOWC issues an I/O Write Command earlier in the machine cycle to give I/O devices an early indication of a write instruction. Its timing is the same as a read command signal. AIOWC is active LOW. 10WC a I/O Write Command: This command line instructs an I/O device to read the data on the data bus. This signal is active LOW. 10RC a I/O Read Command: This command line instructs an I/O device to drive its data onto the data bus. This signal is active LOW. AMWC 0 Advanced Memory Write Command: The AMWC issues a memory write command earlier in the machine cycle to give memory devices an early indication of a write instruction, its timing is the same as a read command signal, AMWC is active LOW. MWTC a Memory Write Command: This command line instructs the memory to record the data present on the data bus. This signal is active LOW. MRDC a Memory Read Command: This command line instructs the memory to drive its data onto the data bus. This signal is active LOW. INTA a Interrupt Acknowledge: This command line tells an interrupting device that its interrupt has been acknowledged and that it should drive vectoring information onto the data bus. This signal is active LOW. MCE/PDEN a This is a dual function pin. MCE (lOB is tied LOW): Master Cascade Enable occurs during an interrupt sequence and serves to read a Cascade Address from a master PIC (Priority Interrupt Controller) onto the data bus. The MCE signal is active HIGH. PDEN (lOB is tied HIGH): Peripheral Data Enable enables the data bus transceiver for the I/O bus that DEN performs for the system bus. PDEN is active LOW. 1-318 1111111111111111111111111111111111111111111111111 FUJITSU MBL 8288 1111111111111111111111111111111111111111111111111 FUNCTIONAL DESCRIPTION COMMAND AND CONTROL lOGIC The command outputs are: The command logic decodes the three MBl 8086, MBl Memory Read Command 8088 or MBl 8089 CPU status lines (SO, 51, S2) to deter- Memory Write Command mine what command is to be issued. I/O Read Command This chart shows the meaning of each status "word". I/O Write Command Advanced Memory Write Command MBl B2BB Advanced I/O Write Command SOS1S2 Processor State Command Interrupt Acknowledge 0 0 0 Interrupt Acknowledge INTA INTA (Interrupt Acknowledge) acts as an I/O read during 0 0 1 Read I/O Port 10RC an interrupt cycle. Its purpose is to inform an inter- rupting device that its interrupt is being acknowledged 0 1 0 Write I/O Port 10WC, AIOWC and that it should place vectoring information onto the 0 1 1 Halt None data bus. 1 0 0 Code Access MRDC CONTROL OUTPUTS 1 0 1 Read Memory MRDC The control outputs of the M BL 8288 are Data Enable (DEN), Data Transmit/Receive (DT/R) and Master Cas- 1 1 0 Write Memory MWTC,AMWC cade Enable/Peripheral Data Enable (MCE/PDEN). The 1 1 1 Passive None DEN signal determines when the external bus should be enabled onto the local bus and the DT/R determines the direction of data transfer. These two signals usually go The command is issued in one of two ways dependent to the chip select and direction pins of a transceiver. on the mode of the M Bl 8288 Bus Controller. I/O Bus Mode - The MBl 8288 is in the I/O Bus mode if The MCE/PDEN pin changes function with the two the lOB pin is strapped HIGH. In the I/O Bus mode all modes of the MBl 8288. When the MBl 8288 is in the I/O command lines (lORC, 10WC, AIOWC, INTA) are lOB mode (lOB HIGH) the PDEN signal serves as a always enabled (i.e., not dependent on AEN). When an dedicated data enable signal for the I/O or Peripheral I/O command is initiated by the processor, the MBl 8288 System bus. immediately activates the command lines using PDEN and DT/R to control the I/O bus transceiver. The I/O com- INTERRUPT ACKNOWLEDGE AND MCE mand lines should not be used to control the system bus The MCE signal is used during an interrupt acknowl· in this configuration because no arbitration is present. edge cycle if the MBl 8288 is in the System Bus mode This mode allows one MBl 8288 Bus Controller to handle (lOB lOW). During any interrupt sequence there are two two external busses. No waiting is involved when the CPU interrupt acknowledge cycles that occur back to back. wants to gain access to the I/O bus. Normal memory ac- During the first interrupt cycle no data or address trans- cess requires a "Bus Ready" signal (AEN lOW) before it fers take place. logic should be provided to mask off will proceed. It is advantageous to use the lOB mode if MCE during this cycle. Just before the second cycle begins I/O or peripherals dedicated to one processor exist in a the MCE signal gates a master Priority Interrupt Con- multi-processor system. troller's (PIC) cascade address onto the processor's local System Bus Mode - The MBl 8288 is in the System Bus bus where ALE (Address latch Enable) strobes it into the mode if the lOB pin is strapped lOW. In this mode no address latches. On the leading edge of the second inter- command is issued until 85 ns after the AEN Line is rupt cycle the addressed slave PIC gates an interrupt activated (lOW). This mode assumes bus arbitration logic vector onto the system data bus where it is read by the will inform the bus controller (on the AEN line) when the processor. bus is free for use. 80th memory and I/O commands wait for bus arbitration. This mode is used when only one bus If the system contains only one PIC, the MCE signal is exists. Here, both I/O and memory are shared by more not used. In this case the second Interrupt Acknowledge than one processor. *' signal gates the interrupt vector onto the processor bus. COMMAND OUTPUTS ADDRESS LATCH ENABLE AND HALT The advanced write commands are made available to in- Address latch Enable (ALE) occurs during each machine itiate write procedures early in the machine cycle. This cycle and serves to strobe the current address into the signal can be used to prevent the processor from enter- address latches. ALE also serves to strobe the status (SO, ing an unnecessary wait state. " 51,52) into a latch for halt state decoding. 1-319 11111111111111111111111111111!llllllllllllllllllml FUJITSU 111111111111111111!111111111111111111111~llllllm MIL 8288 COMMAND ENABLE lOW, all command lines are held in their inactive state The Command Enable (CEN) input acts as a command (not 3-state). This feature can be used to implement qualifier for the MBl 8288. If the CEN pin is high the memory partitioning and to eliminate address conflicts MBl 8288 functions normally. If the CEN pin is pulled between system bus devices and resident bus devices. ABSOLUTE MAXIMUM RATINGS· * NOTE: Permanent device damage may occur if ABSO· lUTE MAXIMUM RATINGS are exceeded. Temperature Under Bias . . . . . . . . . . . . . O°C to 70°C Functional operation should be restricted to the Storage Temperature . . . . . . . . . . . . . -65°C to +150°C conditions as detailed in the operational sections All Output and Supply Voltages ...... -0.5V to +7.0V of this data sheet. Exposure to absolute maxi· All Input Voltages . . . . . . . . . . . . . . . -O.5V to +5.5V mum rating conditions for extended periods may Power Dissipation . . . . . . . . . . . . . . . . . . . . " 1.5 W affect device reliability. D.C. CHARACTERISTICS (Vee=5V±10%, TA =o°c to 70°C) Symbol Parameter Min. Max. Unit Test Conditions Vc Input Clamp Voltage -1 V Ie = -5 mA Icc Power Supply Current 230 mA IF Forward Input Current -0.7 mA VF = 0.45V IR Reverse Input Current 50 jlA VR = Vee VOL Output low Voltage: Command Outputs 0.5 V IOL =32mA Control Outputs 0.5 V IOL = 16 mA VOH Output High Voltage: Command Outputs 2.4 V IOH = -5 mA Control Outputs 2.4 V IOH =-1 mA V1L Input low Voltage 0.8 V V1H Input High Voltage 2.0 V IOFF Output Off Current 100 p.A VOFF = 0.4 to 5.25V A.C. CHARACTERISTICS (Vee=5V±10%, T A=Ooc to 70°C) TIMING REQUIREMENTS Symbol Parameter Min. Max. Unit Tast Conditions TClCl ClK Cycle Period 100 ns TClCH ClK low Time 50 ns TCHCl ClK High Time 30 ns TSVCH Status Active Setup Time 35 ns TCHSV Status Active Hold Time 10 ns TSHCl Status Inactive Setup Time 35 ns TClSH Status Inactive Hold Time 10 ns 1-320 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 8288 1111111111111111111111111111111111111111111111111111 A.C. CHARACTERISTICS (Continued) TIMING RESPONSES Symbol Parameter Min. Max. Unit Test Conditions TCVNV Control Active Delay 5 45 ns TCVNX Control I nactive Delay 10 45 ns TCLLH. ALE MCE Active Delay (from CLK) 20 ns TCLMCH MRDC TSVLH. ALE MCE Active Delay (from Status) 20 ns IORC TSVMCH TCHLL ALE Inactive Delay 4 15 ns MWTC IOL = 32 mA TCLML Command Active Delay 10 35 ns IOWC IOH = -5 mA TCLMH Command Inactive Delay 10 35 ns INTA CL = 300 pF TCHDTL Direction Control Active Delay 50 ns AMWC TCHDTH Direction Control Inactive Delay 30 ns AIOWC TAELCH Command Enable Time 40 ns IOL = 16 mA TAEHCZ TAELCV Command Disable Time Enable Delay Time 85 40 200 ns ns Other { IOH = -1 mA C L = 80 pF TAEVNV AEN to DEN 20 ns TCEVNV CEN to DEN. PDEN 25 ns TCELRH CEN to Command TCLML ns TOLOH Output Rise Time 20 ns From 0.8V to 2.0V TOHOL Output Fall Time 12 ns From 2.0V to O.BV A.C. TESTII~G INPUT/OUTPUT WAVEFORM o::=X'_'m~"~_'·C A.C. TESTING: Inputs are driven at 2.4V for a logic "'" and 0.45V for a logic "0". The clock is driven at 4.3V and O.25V. Timing measurements are made at 1.5V for both ,8 logic "'" and "0". Input rise and fall times are 5±2ns, (measured between O.8V and 2.0V.l 1-321 - - - - . - - - . -.. -~.-.- ... ----- ---.-. :llllllllllllllllllllilllllllllllllllllllllllllll FUJITSU IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIII MBl 8288 TEST LOAD CIRCUITS - 3-STATE COMMAND OUTPUT TEST LOAD 1.5V 1.5V 2.14V 2.28V 180.\2 33.\2 52.7.\2 114.\2 OUT OUT OUT OUT 3-STATE TO HIGH 3-STATE TO LOW COMMAND OUTPUT CONTROL OUTPUT TEST LOAD TEST LOAD 1-322 IIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIIIIIIIIIIIIIIII FUJITSU MBl B288 III1111111111111111111111111111111111111111111111111 WAVEFORMS STATE ~-T. T, T, T, T._ i---TCLCL- r-\ - Lri'-----I i'-- TCLCH CLK /"\ V\ 1\ ---1 fL-..J i'-----I l.f~"[ TCHSV I----- TSVCH TCHCL TSHCL I \ r\ ~ ADDRESS/DATA X rx ADDR VALID ~ DA~:~~LlD 1 of CRQlCK I Common Request Lock: An active low signal T4 to 4>1 of T2 of the processor cycle. During which prevents the arbiter from surrendering the period from 1 of T2 to 1 of T4, only the multi-master system bus to any other bus clean transitions are permitted on this pin (no arbiter requesting the bus through the CBRO glitchesl. If a glitch occurs, the arbiter may input pin. capture or miss it, and the multi-master system RESB I Resident Bus: A strapping option to con- bus may be requested or surrendered, depend- figure the arbiter to operate in systems having ing upon the state of the glitch. The arbiter both a multi-master system bus and a Resident requests the multi-master system bus in the Bus. Strapped high, the multi-master system S.R. Mode when the state of the SYSB/RESB bus is requested or surrendered as a function pin is high and permits the bus to be sur- of the SYSB/RESB input pin. Strapped low, rendered when this pin is low. the SYSB/RESB input is ignored. I/O Common Bus Request: An input signal which CBRQ ANYRQST I Any Request: A strapping option which per- instructs the arbiter if there are any other mits the multi-master system bus to be sur- arbiters of lower priority requesting the use of rendered to a lower priority arbiter as if it were the multi-master system bus. an arbiter of higher priority O.e., when a lower The CBRQ pins (open-collector output) of all priority arbiter requests the use of the multi- the MBl 8289 Bus Arbiters which surrender to master system bus, the bus is surrendered as the multi-master system bus upon request are soon as it is possible!. When ANYRQST is can nected together. strapped low, the bus is surrendered according to Table 2. If ANYRQST is strapped high and The Bus Arbiter running the current transfer CBRa is activated, the bus is surrendered at the cycle will not itself pull the CBRO line low. end of the present bus cycle. Strapping CBRa Any other arbiter connected to the CBRa line low and ANYRQST high forces the MBl 8289 can request the multi-master system bus. The arbiter to surrender the mu Iti-master system arbiter presently running the current transfer bus after each transfer cycle. Note that when cycle drops its BREa signal and surrenders the surrender occurs BR EO is driven false (high). bus whenever the proper surredner conditions exist. Strapping CBRQ low and ANYRQST lOB I 10 Bus: A strapping option which configures high allows the multi-master system bus to be the MBl 8289 Arbiter to operate in systems surrendered after each transfer cycle. See the having both an 10 Bus (Peripheral Bus) and a pin definition of ANYRQST. mu Iti-master system bus. The arbiter requests and surrenders the use of the multi-master INIT Initialize: An active low multi-master system system bus as a function of the status line, 52. bus input signal used to reset all the bus arbiters The multi-master system bus is permitted to be on the multi-master system bus. After initializa· surrendered while the processor is performing tion, no arbiters have the use of the multi- 10 commands and is requested whenever the master system bus. processor performs a memory command. Inter- BClK Bus Clock: The multi-master system bus clock rupt cycles are assumed as coming from the to which all multi-master system bus interface peripheral bus and are treated as an 10 com- signals are synchronized. mand. 1-327 1111111111111111111111111111111111111111111111111111 MBl 8289 FUJITSU M B l 8289-1 1111111111111111111111111111111111111111111111111111 TABLE 1 - PIN DESCRIPTION (Continued) Symbol Type Name and Function Symbol Type Name and Function BREQ 0 Bus Request: An active low output signal in BUSY I/O Busy: An active low open collector multi- the parallel Priority Resolving Scheme which master system bus interface signal used to the arbiter activates to request the use of the instruct all the arbiters on the bus when the multi-master system bus. multi-master system bus is available. When the BPRN I Bus Priority In: The active low signal returned multi-master system bus is available the highest to the arbiter to instruct if that it may acquire requesting arbiter (determined by BPRN) the multi-master system bus on the next falling seizes the bus and pulls BUSY low to keep other arbiters off of the bus. When the arbiter is edge of BelK. SPRN indicates to the arbiter done with the bus, it releases the BUSY signal, that it is the highest priority requesting arbiter permitting it to go high and thereby allowing presently on the bus. The loss of SPRN another arbiter to acquire the multi-master instructs the arbiter that it has lost priority to system bus. a higher priority arbiter. BPRO o Bus Priority Out: An active low output signal used in the serial priority resolving scheme where BPRO is daisy-chained to SPRN of the next lower priority arbiter. FUNCTIONAL DESCRIPTION The MBL 8289 Bus Arbiter operates in conjunction with to surrender the bus to a lower priority master as though it the MBL 8288 Bus Controller to interface MBL 80861 were a master of higher priority. If there are no other bus 8088/80186/188 processors to a multi-master system bus masters requesting the bus, the arbiter maintains the bus so (both the MBL 8086 and MBL 8088 are configured in long as its processor has not entered the HALT State. The their max mode). The processor is unaware of the arbiter's arbiter will not voluntarily surrender the system bus and existence and issues commands as though it has exclusive has to be forced off by another master's bus request, the use of the system bus. If the processor does not have the HAL T State being the only exception. Additional strapping use of the multi-master system bus, the arbiter prevents options permit other modes of operation wherein the the Bus Controller (MBL 8288), the data transceivers and multi-master system bus is surrendered or requested under the address latches from accessing the system bus (e.g. all different sets of conditions. bus driver outputs are forced into the high impedance statel. Since the command sequence was not issued by the PRIORITY RESOLVING TECHNIQUES MBL 8288, the system bus will appear as "Not Ready" Since there can be many bus masters on a multi-master and the processor will enter wait states. The processor will system bus, some means of resolving priority between bus remain in Wait until the Bus Arbiter acquires the use of masters simultaneously requesting the bus must be pro- the multi-master system bus whereupon the arbiter will vided. The M8L 8289 8us Arbiter provides several resolving allow the bus controller, the data transceivers, and the techniques_ All the techniques are based on a priority address latches to access the system_ Typically, once the concept that at a given time one bus master will have command has been issued and a data transfer has taken priority above all the rest. There are provisions for using place, a transfer acknowledge (XACK) is returned 'to the parallel priority resolving techniques, serial priority resolv- processor to indicate "R EADY" from the accessed slave ing techniques, and rotating priority techniques. device. The processor then completes its transfer cycle. Thus the arbiter serves to multiplex a processor (or bus PARALLEL PRIORITY RESOLVING master) onto a multi-master system bus and avoid con- tention problems between bus masters. The parallel priority resolving technique uses a separate bus request line (BREQ) for each arbiter on the multi-master system bus, see Figure 4. Each BREQ line enters into a ARBITRATION BETWEEN BUS MASTERS priority encoder which generates the binary address of the In general, higher priority masters obtain th~ bus when a highest priority BREO line which is active. The binary lower priority master completes its present transfer cycle. address is decoded by a decoder to select the correspond- Lower priority bus masters' obtain the bus when a higher ing BPRN (Bus Priority In) line to be returned to the priority master is not accessing the system bus. A strap- highest priority requesting arbiter_ The arbiter receiving ping option (ANYROST) is provided to allow the arbiter priority (BPRN true) then allows its associated bus master 1·328 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 8289 111111111111I111111111111111111111111111111111111111 MBl 8289-1 onto the multi-master system bus as soon as it becomes bus arbiter on the system bus. When BUSY goes inactive available (i.e_, the bus is no longer busy). When one bus (high), the arbiter which presently has bus priority (BPRN arbiter gains priority over another arbiter it cannot imme- true) then seizes the bus and pulls BUSY low to keep other diately seize the bus, it must wait until the present bus arbiters off of the bus. See waveform timing diagram, tr~nsaction is complete. Upon completing its transaction Figure 5. Note that all multi-master system bus transactions the present bus occupant recognizes that it no longer has are synchronized to the bus clock (BCCR). This allows the priority and surrenders the bus by releasing BUSY. BUSY parallel priority resolving circuitry or any other priority is an active low "OR" tied signal line which goes to every resolving scheme employed to settle. Fig. 4 - PARALLEL PRIORITY RESOLVING TECHNIQUE MB74LS138 3 T08 DECODER Fig. 5 - HIGHER PRIORITY ARBITER OBTAINING THE BUS FROM A LOWER PRIORITY ARBITER - - - - - - - j , V;:==~ MULTI-MASTER ~ CONTROL BUS 10 MULTI-MASTER COMMAND<~===;;:;;;;;;:;;;;;;d BUS 1===::::>~6~~~NO BUS I/O BUS MUL TI·MASTER SYSTEM BUS 10 ADDRESS BUS ~===:::~=::===::J MULTI-MASTER SYSTEM ADDRESS BUS 10 DATA BUS K~========::J SYSTEM MUL HMASTEA DATA BUS 1-332 1111111111111111111111111111111111111111111111111111 FUJITSU MBL 8289 1111111111111111111111111111111111111111111111111111 MBL 8289-1 Fig. 9 - MBL 8289 BUS ARBITER SHOWN IN SYSTEM·RESIDENT BUS CONFIGURATION o AEN2 AEN111>------~ MBLB284A CLOCK ~~I~ENT BUS--------IRDY2 R O Y 1 1 i - - - - - - - 4 - - - - - - - - ~~~.:'E~~~~I.MASTER MUL TI·MASTER SYSTEM BUS CONTROL Vee RESIDENT COMMAND <~=~==::::j MULTI-MASTER SYSTEM COMMAND BUS BUS MULTI·MASTEA RESIDENT SYSTEM BUS BUS PROM OR DECDRDER ADOR RESIDENT :8~RESS \ , - - - - - - - 1 ~~~=~ MBl8283 LATCH MBLB282J MUlTI·MASTEA SYSTEM ADDRESS BUS (20A3) TRANSCE1VER RESIDENT DATA BUS\ ";:=====~ MBL8287 L-';:==~===~ MSL8286/ ~ MUL TI·MASTEA SYSTEM DATA BUS 121 • BY ADDING ANOTHER MBL 8289 ARBITER AND CONNECTING ITS AEN TO THE MBL 8288 WHOSE AEN IS PRESENTLY GROUNDED, THE PROCESSOR COULD HAVE ACCESS TO TWO MULTI·MASTER BUSES. 1·333 1111111111111111111111111111111111111111111111111111 MIL 8289 FUJITSU MIL 8289-1 1111111111111111111111111111111111111111111111111111 ABSOLUTE MAXIMUM RATlNGS* *NOTE: Permanent device damage may occur if ABSO· lUTE MAXIMUM RATINGS are exceeded. Temperature Under Bias . . . . . . . . . . . . . . O°C to 70°C Functional operation should.be restricted to the Storage Temperature . . . . . . . . . . . . . . _65°C to +150°C conditions as detailed in the operational sections All Output and Supply Voltages ........ -0.5V to +7.0V of th is data sheet. Exposure to absolute maxi· All Input Voltages . . . . . . . . . . . . . . . . -0.5V to +5.5V mum rating conditions for extended periods may Power Dissipation. . . . . . . . . . . . . . . . . . . . . .. 1.0W affect device reliability. D.C. CHARACTERISTICS (Vee = +5V ±10%, TA = O°C to 70°C) Symbol Parameter Min. Max. Units Test Condition Ve Input Clamp Voltage -1.0 V Vee = 4.50V, Ie = -5mA IF Input Forward Current -0.5 mA Vec =5.50V, VF =0.45V IR Reverse Input leakage Current 60 /lA Vee = 5.50V, VR = 5.50V Output BUSY,CBRa 0.45 V IOL = 20mA VOL low AEN 0.45 V IOL = 16mA Voltage BPRO, BREa 0.45 V IOL = 10mA Output BUSY, CBRa Open Collector VOH High Voltage AEN, BPRO, BREa 2.4 V IOH = 400/lA Icc Power Supply Current 95 mA V1L Input low Voltage O.B V V1H Input High Voltage 2.0 V Cin Status Input Capacitance 25 pF Cin (Others) Input Capacitance 12 pF A.C. CHARACTERISTICS (Vee = +5V ±10%, TA = O°C to 70°C) TIMING REQUIREMENTS MBl8289 MBl8289·1 Symbol Parameter Max. Unit Test Condition Min Min. TClCl ClK Cycle Period 125 100 ns TClCH ClK low Time 65 53 ns TCHCl ClK High Time 35 26 ns TSVCH Status Active Setup 65 55 TClCl·l0 ns TSHCl Status Inactive Setup 50 45 TClCl·l0 ns THVCH Status Active Hold 10 10 ns THVCl Status Inactive Hold 10 10 ns TBYSBl BUSY H Setup to BClK .j. 20 20 ns TCBSBl CBRa H Setup to BClK .j. 20 20 ns TBlBl BClK Cycle Time 100 100 ns TBHCl BClK High Time 30 30 0.65[TBlBl] ns TCllll lOCK Inactive Hold 10 10 ns TClll2 lOCK Active Setup 40 40 ns TPNBl BPRN H to BClK Setup Time 15 15 ns TClSRl SYSB/RESB Setup 0 0 ns TClSR2 SYSB/RESB Hold 20 20 ns 3 TBlBl+ 3 TBlBl+ TIVIH Initialization Pulse Width ns 3 TClCl 3 TClCl 1·334 111111111111111I111111111111111111111111111111111111 FUJITSU MBL 8289 1111111111111111111111111111111111111111111111111111 MBL 8289-1 A.C. CHARACTERISTICS (Continued) TIMING RESPONSES Symbol Parameter Min. Max. Unit Test Condition TBLBRL BCLK to BREO Delay H 35 ns TBLPOH BCLK to BPRO t t (See Note 1) 40 ns BPRN H to BPRO H Delay TPNPO 25 ns (See Note 1) TBLBYL BCLK to BUSY Low 60 ns TBLBYH BCLK to BUSY Float (See Note 2) 35 ns TCLAEH CLK to AEN High 65 ns TBLAEL BCLK to AEN Low 40 ns TBLCBL BCLK to CBRO Low 60 ns TBLCBH BCLK toCBRO Float (See Note 21 35 ns TOLOH Output Rise Time 20 ns From O.BV to 2.0V TOHOL Output Fall Time 12 ns From 2.0V to O.BV ,J, t Denotes that spec applies to both transition of the signal. NOTES: 1. BCLK generates the first BPRO wherein subsequent BPRO changes lower in the chain are generated through BPRN. 2. Measured at .5V above GND. . A.C. TESTING INPUT. OUTPUT WAVEFORM A.C. TESTING LOAD CIRCUIT 2 . 4 = > ( ' , 5 -TEST POINTS-1 ~ DEVICE UNDER 0.45 TEST A.C. TESTING: INPUTS ARE DRIVEN AT 2.4V FOR A LOGIC "1" AND 0.45V FOR A LOGIC "0". THE CLOCK IS DRIVEN AT 4.3V AND 0.25V.TIMING MEASUREMENTS C L = 100pF ARE MADE AT1.5V FOR BOTH A LOGIC "1" AND "0". INPUT RISE AND FALL TIMES (MEASURED BETWEEN CL INCLUDES JIG CAPACITANCE 0.8V AND 2.0VI ARE DRIVEN AT 5±2NS. '·335 1111111111111111111111111111111111111111111111111111 MIL 8289 FUJITSU MIL 8289-1 1111111111111111111111111111111111111111111111111111 WAVEFORMS STATE--T, ,---I---T,,---I---T,---+--T, elK LOCK (SeE NOTE 1) SYSB/RESB AEN (SEE NOTE 31 NOTES: 1. lOCK ACTIVE CAN OCCUR DURING ANY STATE, AS BUS elK RELATED lONG AS THE RELATION- SHIPS SHOWN ABOVE WITH RESPECT TO THE ClK ARE MAINTAINED. lOCK INAC- TIVE HAS NO CRITICAL TIME AND CAN BE ASYN- CHRONOUS. BREa #2 - CRQlCK HAS NO CRITICAL TIMING AND IS CONSIDERED AN ASYNCHRONOUS INPUT SIGNAL. 2. GllTCHING OF SYSB/RESB PIN IS PERMITTED DURING THIS TIME. AFTER 2 OF T1, AND BEFORE 1 OF T4, SYSB/RESB SHOULD BE STABLE. 3. AEN lEADING EDGE IS RE- lATED TO BClK, TRAILING EDGE TO ClK. THE TRAil- ING EDGE OF AEN OCCURS AFTER BUS PRIORITY IS lOST. ADDITIONAL NOTES: The signals related to ClK are typical processor signals, and do not relate to the depicted sequence of events of the signals referenced to BClK. The signals shown related to the BClK represent a hypothetical sequence of events for illustration. Assume 3 bus arbiters of priorities 1, 2 and 3 configured in serial priority resolving scheme as shown in Figure 6. Assume arbiter 1 has the bus and is holding busy low. Arbiter #2 detects its processor wants the bus and pulls low BREO#2. If BPRN#2 is high (as shown), arbiter #2 will pull low CBRO line. CBRO signals to the higher priority arbiter #1 that a lower priority arbiter wants the bus. [A higher priority arbiter would be granted BPRN when it makes the bus request rather than having to wait for another arbiter to release the bus through CBRO]~' Arbiter #1 will relinquish the multi-master system bus when it enters a state not requiring it (see Table 1), by lowering its BPRO#l (tied to BPRN#2) and releasing BUSY. Arbiter #2 now sees that it has priority from BPR N#2 being low and releases CBRO. As soon as BUSY signifies the bus is available (high), arbiter #2 pulls BUSY low on next falling edge of BClK. Note that if arbiter #2 didn't want the bus at the time it received priority, it would pass priority to the next lower priority arbiter by lowering its BPRO#2 [TPNPO] . .. "Note that even a higher priority arbiter which is acquiring the bus through m:sRN will momentarily drop C1fFfQ until it has acquired the bus. 1-336 1IIIIIIIImllllllllllllllllllllllllllllllllllllili FUJITSU MBL 8289 1111111111111111111111111111111111111111111111111111 MBL 8289-1 PACKAGE ILLUSTRATION AND DIMENSIONS CERAMIC DIP (Suffix: CZI 2O-LEAD CERAMIC {CEROIPf DUAL IN·lINE PACKAGE (CASE No.' Dlp·2OC.C01) 12013.05) 15013.811 DIP-20C-C01 PLASTIC DIP (Suffix: PI 2O-lEAD PLASTIC DUAL IN-LINE PACKAGE (CASE No.: DIP·2OP-M01) DIP-20P-M01 1-337 Section 2 Microcomputers and Peripherals 8-Blt Microcomputers and Peripherals 2-2 MBL8048N/E/H NMOS Single-Chip 8-Blt Microcomputer 2-2 MBL8035N/E/H NMOS Single-Chip 8-Blt Microcomputer 2-22 MBL8049N/E/H NMOS Single-Chip 8-Blt Microcomputer 2-22 MBL8039N/E/H NMOS Single-Chip 8-Blt Microcomputer 2-42 MBL8749HJN NMOS Single-Chip 8-Blt Microcomputer 2-67 MBL8051AH NMOS Single-Chip 8-Bit Microcomputer 2-67 MBL8031AH NMOS Single-Chip 8-Bit Microcomputer 2-86 MBL80C49H/N CMOS Single-Chip 8-Bit Microcomputer 2-86 MBL80C39H/N CMOS Single-Chip 8-Bit Microcomputer 2-114 MBL8243 NMOS Input/Output Expander 2-124 MBL82C43 CMOS Input/Output Expander 4-Blt Microcomputers and Peripherals 2-136 Selector Guide for 4-Blt Microcomputers 2-160 MB88301 A NMOS 0/ A Converter 2-171 MB88304 NMOS Input/Outut Expander 2-171 MB88305 NMOS Input/Outut Expander 2-181 MB88310 CMOS Input/Output Expander 2-181 MB88311 CMOS Input/Output Expander 2-192 MB88306 CMOS Output Expander 2-192 MB88307 CMOS Output Expander 2-192 MB88308 CMOS Output Expander 2-192 MB88309 CMOS Output Expander 2-1 Advanced Products FUJITSU October 1986 • MBL8048N/E/H Edition 1.0 MBL8035N/E/H NMOS Single-Chip 8-Bit Microcomputer Description The Fujitsu MBL8048/MBL8035 is a totally self-contained 8-bit I parallel one-chip microcomputer fabricated wtih an N-channel silicon gate MOS process. I The MBL8048 has a 1K x 8 ROM program memory, a 64 x 8 RAM .I"w- -- V --~ data memory, 27 I/O ports, an 8-bit timer/counter and clock generator on-chip. A single power supply of +5V is used. The MBL8035 is identical to the MBL8048 except without program memory. It can be used with external memory for system -~ I ,I' prototyping and preproduction systems. I The design is optimized for low cost, high performance applications because the MBL8048/MBL8035 is fabricated on a _. ~~..~!~ D!~. single silicon chip and can be used for applications that require additional expansion of ROMs, RAMs, I/O port, etc. This microcomputer permits external program operation and a single-step operation mode. Low power applications are possible by using the stand-by mode feature. The MBL8048/MBL8035 is packaged in a standard 40-pin DIP package and operation is guaranteed from O· C to 70· C. - - • I- - Features a B-bit Parallel Mlcroc()mputer a External Input Capability t- a 12-bit Addressing a Easily Expandable Memory l- a 96 Instructions: 70% Single and I/O Byte a B Level Stack . Plastic Olli a 1.B75ps Cycle (E-Verslon) a External Program Mode t- 2.5ps Cycle (N-Version) Capability a All Instructions are 1 or a Low Power Stand-by Mode 2 Cycles. Capability a 1K x B ROM (MBLB04B only) a Single +5V Power Supply 64 xB RAM a N-channel Silicon Gate E/D 27 I/O Lines .'" MOS Process a Interval Timer/Event Counter a Stand$'d 40-Pln DIP a Single Level Interrupt a MBLB04B: Compatible with Capability Intel B04B a Resident Clock Generator MBL8035: Compatible with (External Frequency Source) Intel B035 Portions reprinted by permission of Intel Corporation, Copyright "1985 Intel Corporation. Compilation and additional materials Copyright" 1985 by Fujitsu Limited, Tokyo, Japan, and Fujitsu Microelectronics, Inc., Santa Clara, California, U.S.A. Fujitsu Limited is a licensee of Intel Corporation and authorized to produce alternate source products. 2-2 MBL8048N/E/H MBL8035N/E/H Block Diagram (21 TO 24, 35 TO 38) TEST 1 Voo +5V (INTERNAL RAM POWER) Vee +5V Yss OV GND SINGLE STEP (IN- STRUC· TION CYCLE CLOCK) • Pin Assignment To Vee XTAL1 T, XTAL2 P27' 'RESET P26' 'SS P25' INT P24' EA PI7' liD PI6' PSEN P1S' PI4' ALE PI3' DBO PI2' This device contains circu~ry to protect the inputs OBI PI,. against damage due to high static voltages or electric DB2 PIO' fields. However, it is advised that normal precautions DBa Voo be taken to avoid application of any voltage higher DB4 PROG than maximum rated voltages to this high impedance DBS P23' circuit. DB6 P22' DB7 P21' Vss P20' 'These pins are internally pulled up. PWITSU 2-3 MBL8048N/E/H MBL8035N/E/H Pin Description Pin No. Pin Name Symbol Function This pin has the following functions according to instructions. Sense To 1) Output of clock (1) 2MHz at 6MHz XTAL 2) Condition input for a Conditional Branch This is an input terminal for the internal Clock Generator to be connected to a terminal of the external crystal. 2 Crystal 1 XTAL 1 Also, this pin can be used as the input from an external clock source. Note: This input is not compatible with TTL levels. This is an input terminal for the internal Clock Generator to 3 Crystal 2 be connected to the other terminal of the external crystal. XTAL 2 Note: This input is not compatible with TTL level. This input forces the MPU to be reset or initialized. 4 Reset RESET Note: This input is not compatible with TTL level. This input is used in conjunction with ALE for single step 5 Single Step SS operation. 6 Interrupt INT This input is used to request an external interrupt. When EA goes high while RESET is low, an external External ? EA address (memory) can be used as the external program Address operation mode. This output is used as a strobe signal for an input of data from the B Read RD data port (DB port). Also, it can be used as a read-enable signal when using an external data memory. This output signal is generated at a fetch cycle in the Program external program operation mode. 9 Store PSEN Enable It is used as an enable signal for an external program memory. This output is a strobe signal for a data output from the DB port. 10 Write WR Also, it can be used as a write-enable signal for an external data memory. This output signal is generated at the beginning of a fetch cycle both in the internal and external progaram memory operations. Address 11 Latch ALE This output is used as a synchronizing signal with an Enable external circuit and also, as a strobe signal for address outputs (Ao thru A7) of the DB port in the external program operation mode. These pins are used as a bidirectional B-bit input/output port (DB port). 12 DBO Data Bus thru thru Port When an external memory is used as a program memory or 19 DB? data memory, this port is used as an address bus (Ao thru A7) or data input/output port, respectively. Power 20 Vss This pin is used as the Ground (GND) terminal. Supply These are the lower four bits of a quasi-bidirectional input/output port (P2 port) which are used as address 21 P20 outputs (As thru A,, ) in a fetch cycle of the external thru Port 2 thru program memory operation mode. When an expansion I/O 24 P23 instruction is executed, these are switched to an I/O expander bus for use with the MBLB243. FUJITSU 2-4 MBL8048N/E/H MBL8035N/E/H Pin Description (Continued) Pin No. Pin Name Symbol Function This output is used as a strobe signal for an liD expander 25 Program PROG (MBL8243) when performing an expansion liD instruction. Power This is used as the power supply terminal ( + 5V) for the built-in 26 V DD Supply RAM 27 P1 0 thru Port 1 thru This is a quasi-bidirectional input/output port (P1 port) 34 P1 7 35 P2 4 These are the upper four bits of the quasi-bidirectional thru Port 2 thru input/output port 2 (P2). 38 P2 7 This pin has the following functions according to the instruction given: 39 Sense T, 1) Event Input for Event Counter 2) Condition Input for Conditional Branch Power This is used as the power supply terminal (+5V). In stand-by 40 Supply Vee operation mode this terminal is connected to GND. Functional Descriptions for Basic Blocks Block Name Function A master clock signal within a frequency range of 1MHz to 6MHz is supplied from the built-in Clock Generator using an external crystal and capacitor network, or from an external signal source. The frequency of the master clock is divided through the 1/3 Frequency Divider to generate a state clock signal. Clock Generation Circuitry Then, the frequency of the state clock is divided through the 1/5 Frequency Divider to generate a final cycle clock signal. The state clock can be transferred to the To terminal by an instruction. The cycle clock is used for internal operations and is also available on the ALE terminal. Three bidirectional or quasi-bidirectional 8-bit liD ports and three input terminals are provided for signal inputs and outputs. liD Port Port 0 (Bus Port) and the lower 4 bits of Port 2 shown in the Block Diagram are used for access to external memories or liD expanders. In the MBL8048, programs are stored in the built-in ROM (1 Byte). Also, the contents in the ROM can be used as data for some instructions. The built-in RAM (64 Bytes) is used for general register area, stack area and working area. ROM is expandable up to a total of 4K Bytes with externally Built-in ROM and RAM attached ROM by switching the memory bank. RAM is expandable by an additional 256 Bytes with externally attached RAM. MBL8035 does not have any built-in ROM. It uses external ROM for program storing. The program counter is an 11-bit register which indicates a Program Counter fetch address of program memory and is incremented by every execution of an instruction. FUJITSU 2-5 MBL8048N/E/H MBL8035N/E/H Functional Descriptions for Basic Blocks Block Name Function (Continued) The Instruction Register is an 8-bit register which stores a Instruction Register fetched instruction in a fetch cycle. The Instruction Decoder decodes the instruction stored in Instruction Decoder the Instruction register and generates various control signals for both internal circuitry and external peripherals. Various operations such as addition, subtraction, Arithmetic Logic Unit (ALU) comparison, etc., are executed in the ALU. Operation to be executed is determined from the decoding of an instruction. The Interval Timer/Event Counter is an 8-bit register which can be controlled by instruction execution. The interval timer mode or event counter mode can be designated by instruction execution, as well. This register is not initialized by the RESET signal. In the interval timer mode, the register can count up the frequency signal which is generated by dividing the cycle clock frequency by 32. When the source oscillation frequency is 6MHz, this enables the register to count a time interval of up to 20.48ms with resolution of 80/1s. Interval Timer/Event Counter In this mode, the register generates an interrupt vector address (Address 07), if the register overflows from (FFh6 to (00)16' Even if an overflow occurs, the register can continue to count up. This enables the register to count a longer time interval by using proper software. In the event counter mode, the register counts on the falling edge of the T1 input. In this mode, the features of the register other than the counting trigger are the same as those in the interval timer mode. Note: The T1 input pulse has a 500ns Min. pulse width and a 7.5/1s Min. cycle time at 6MHz of source oscillation. The Status Register is an 8-bit register which consists of four bits for flags, three bits for the Stack Pointer and an unused bit. Status Register Including The flag bits indicate the status of the MPU. Stack Pointer The Stack Pointer indicates with its three bits an address in the stack area to be used in the next subroutine call or interrupt. FUJITSU 2-6 MBL8048N/E/H MBL8035N/E/H Re.ident Data Memory Map (RAM) Address (Hex) o Ro Register 0 R1 Register 1 2 R2 Register 2 3 R3 Register 3 Register Bank 0 4 R4 Register 4 5 R5 Register 5 6 R6 Register 6 7 R7 Register 7 T 8 9 I Stack Register PCl ( 16 Bytes) CY HC FO BS PC H ( 8 Level Stack) I 16 17 18 19 Ro Register 0 R1 Register 1 1 1A R2 Register 2 1B R3 Register 3 Register Bank 1 1C R4 Register 4 1D R5 Register 5 1E R6 Register 6 1F R7 Register 7 20 21 22 I Working Area (32 Bytes) 3D 3E 3F Status Register (PSW) 7 4 3 The Status Register is an 8-b!t Blank register configured as shown In Cy BS (Unused the following figure. The upper Bit) four bits are used for flags to indicate the status of the MPU, and when a sub-routine call or an interrupt occurs, the Flags Fo(User Flag): This flag can be contents of the program controlled as a user flag by the CY (Carry): When an overflow counter is transferred to one proper instruction. occurs in the Accumulator of the 8 reg ister pai rs of the during an operation in the Stack Register as determined BS (Bank select): This flag can ALU, "1" is set in this bit. by the lower three bits of ~h~ be controlled to select a Status Register. The remaining Register Bank by an HC (Half Carry): When an one bit is an unused bit. instruction. When BS = 0, the overflow occurs from Bit 3 to Register Bank 0 is selected. Bit 4 in the accumulator as a When BS = 1, the Register result of an addition, "1" is set Bank 1 is selected. in this bit. FUJITSU 2-7 MBL8048N/E/H MBL8035N/E/H Stack Register 2) Program flow jumps to the i ng modes are classified into (8 Level Capability) address specified at address direct, expanded, indirect, The Stack Register occupies three (3) for external immediate and implied. 16-bytes of memory within the interrupts and address seven on-board RAM. It is configured (7) for timer/counter interrupts. Instruction Mode into eight levels of two bytes 1) 1 Byte Instruction each as shown in Figure 1. 3. Completion of the interrupt processing occurs upon Stack Pointer (SP) execution of the RETR In Figure 1., "SP" indicates the (Return and Restore Status) Implied Addressing Mode stack level to be used for the instruction. next sub-routine call or interrupt. The Stack Pointer 4. The contents of generates one of eight the program counter and Register Indirect address codes and resides in status register are restored Addressing Mode the lower three bits of the from the stack, the interrupt status register. flag is reset to be ready for the next interrupt, and program SP = 0 0 0 0 1 SP2 SP 1SPa execution continues from r I where it left off. Register Direct Program Counter (PC) Addressing Mode In Figure 1., "PC n " indicates Timer/counter interrupts the individual bit contents of occur when the overflow flag each of the Program Counter IS set as a result of an overflow 2) 2 Byte Instruction bits. from the Timer/Counter. Interrupt Operation External interrupts occ~r OP There are two interrupt when a low level input is Immediate Addressing Mode modes, external interrupts, applied to the "INT" input. and timer/counter interrupts. External interrupts have When either interrupt occurs priority over Timer/Counter interrupts, so if both interrupts Expanded Addressing Mode an interrupt flag is set and ' upon completion of the occur at the same time the external interrupt will be f: Instruction Operation Set executing instruction the r: Register Set interrupt is processed. processed first. After com- pletion of the external OP: Operand Data interrupt and resetting of the A H , A L : Operand Address Interrupt processing is as follows: interrupt flag the Timer/ 1. The contents of the Status Counter interrupt will be Register and Program processed. Counter are saved on the Stack. Instructions All instructions are either one or two bytes long and execute in one or two cycles. Address- Figure 1. 7 6 5 4 3 2 1 0 SP - 3 ,,~ SP - 2 PC 7 PC 6 PC 5 PC 4 PC 3 PC 2 PC l PC a } " " B"", SP -1 CY HC Fa BS PC ll PC1Q PC g PCs t SP SP + 1 RAM l This level will be used at the next sUb-routine call or interrupt. Stack Position SP = 00001SP2 SP 1SP a Address FUJITSU 2-8 MBL8048N/E/H MBL8035N/E/H Operation Flow Chart Flow Chart for Interrupt Operation YES NO FWITSU 2-9 MBL8048N/E/H MBL8035N/E/H Instruction Set Summary Accumulator OP Flag Oparatlon Mnamonlc Code Byte Cycle CY HC Fo F t Note Add register to A ADD A,R, 6X (R,) + (A) - (A) Add data memory to A ADDA,@R o 60 «Ro» + (A) - (A) ADDA,@R, 61 «R,)) + (A) - (A) Add immediate to A ADD A,#data 03 2 data + (A) - (A) Add register with carry ADDCA,R, 7X 1 (A,) + (A) + (C) - (A) Add data memory with carry ADDCA,@R o 70 «Aoll + (A) + (C) _ (A) ADOCA,@R, 71 «R,» + (A) + (C) - (A) Add immediate to A with carry ADOC A,#data 13 2 data + (A) + (C) - (A) And register to A ANL A,R, 5X (R,) n (A) - (A) And data memory to A ANLA,@R o 50 «Ro» n (A) - (A) ANLA,@A, 51 «R,» n (A) - (A) And immediate to A ANL A,#data 53 data n (A) - (A) Clear A CLRA 27 O-(A) Complement A CPLA 37 (A)-(A) Decimal Adjust A OAA 57 Note (1) Decrement A DECA 07 (A) -1-(A) IncrementA INCA 17 (A) + 1-(A) Or register to A ORL A,R, 4X (R,) U (A) - (A) Or data memory to A ORLA,@Ao 40 «AD)) U (A) - (A) OALA,@A, 41 «A,) U (A) - (A) Or immediate to A OAL A,#data 43 data U (A) - (A) Lj'i II 101 Aotate A left ALA E7 101 Rotate A left with carry ALCA F7 ~71 II Aotate A right AAA 77 qli II 101 Aotate A right with carry AACA 67 l{£H7! II '01 SWAP nibbles of A Exclusive Or register to A SWAP A XAL A,A, 47 OX (A4_,) =(Ao-3) (A,)(l)(A)-(A) Exclusive Or data memory XALA,@Ao DO «AD» (l) (A) - (A) toA XALA,@A, 01 «A,»(l)(A)-(A) Exclusive Or immediate to A XAL A,#data 03 2 data (l) (A) - (A) I"UJITSU 2-10 MaLB048N/E/H MaL8035N/E/H Inatructlon Set Summary (Continued) Input/Output OP Ft •• Oper.tlon Mn.monlc Cod. a,t. C,cl. CY HC Fo F, Not. And immediate to BUS ANL BUS,#data 96 2 data n (BUS) - (BUS) P, ANL P,,#data 99 data n (P,) - (P,) P2 ANL P2,#data 9A data n (P2) - (P2) And A to Expander Port ANLO Pp,A 9X (A) n (Pp) - (Pp) Input BUS to A INSA,BUS 08 2 (BUS) -(A) Port 1 toA INA,P, 09 2 (P,)-(A) Port2toA INA,P2 OA (P2) - (A) Input Expander port to A MOVO A,Pp OX (Pp) - (Ao-a) o- (A.!-7) Or immediate to BUS ORL BUS,#data 88 2 data U (BUS) - (BUS) P, ORL P,,#data 89 2 data U (P,) - (P,) P2 ORL P2,#data 8A data U (P2l - (Pa) Or A to Expander Port ORLO Pp,A ax data U (Pp) - (Pp) Output A to BUS OUTL BUS, A 02 2 (A) -(BUS) P, OUTL P"A 39 2 (A)-(P,) P2 OUTL P2,A 3A 2 (A) - (P2) Output A to Expander Port MOVO Pp,A 3X (A) -(Pp) Data Moves OP Fl•• Oper.tlon Mnemonic Cod. a,. C,cl. CY HC Fo F, Not. Move register to A MOVA,R, FX (R,)-(A) Move data memory to A MOVA,@Ro FO «Roll -(A) MOVA,@R, F1 1 «R,ll-(A) Move immediate to A MOV A,#data 23 2 data - (A) Move A to register MOVR"A AX (A)-(R,) Move A to data memory MOV@Ro,A AO (A) -«Ro)) MOV@R"A A1 (A)-((R,ll Move immediate to register MOV R,,#data BX data - (R,) Move immediate MOV @Ro,#dataBO 2 data - «Roll to data memory MOV @R,,#dataB1 data - ((R,ll Move PSW to A MOVA,PSW C7 (PSW) -(A) MoveAto PSW MOVPSW,A 07 (A) - (PSW) Move external data memory MOVXA,@Ro 80 «Ro)) -(A) toA MOVXA,@R, 81 «R,ll-(A) Move A to eternal MOVX@Ro,A 90 2 (A) -«Ro)) data memory MOVX@R"A 91 2 (A)-«R,)) Move to A from current page MOVPA,@A A3 2 «All - (A) Move to A from page 3 MOVP3A,@A E3 2 «All within psge 3 _ (A) Exchange A and register XCHA,R, 2X (R,):: (A) Exchange A and data memory XCH A,@R o 20 «Roll:: (A) XCHA,@R, 21 «R,ll ::(A) Exchange nibble of A XCHOA,@Ro 30 ((RO)o-3) :: (Ao-3) and data memory XCHOA,@R, 31 «R1)o_3) :: (Ao-a) FWITSU 2·11 MBL8048N/E/H MBL8035N/E/H Instruction Set Summary (Continued) Registers OP , Flag Operation Mnemonic Code ayte Cycle CY HC Fo F, Note Decrement Register DEC Rr CX (R,) -1 - lR,) Increment register INC R, 1X (R,) + 1 - (R,) Increment data memory INC@Ro 10 «Ro)) + 1 - «Ro)) INC@R, 10 «R,1i + 1 - «R,1i Timer/Counter OP Flag Operation Mnemonic Code ayte Cycle CY HC Fo F, Note Disable Timer/Counter DIS TCNTI 35 Interrupt Enable Timer/Counter Interrupt EN TCNTI 25 - - - - Read Timer/Counter MOV A,T 42 (T) - (A) Load Timer/Counter MOVT,A 62 (A) -(T) Start Timer STRTT 55 Start Counter STRT CNT 45 Stop Timer/Counter STOP TCNT 65 Control OP Flag Operation Mnemonic Code ayte Cycle CY HC Fo F, Note Disable external Interrupt DIS I 15 Enable external Interrupt EN I 05 Enable Clock ou1pu! on To ENTo ClK 75 No Operation NOP 00 Select register bank 0 SEl RBO C5 0- (BS) Select register bank 1 SEl RB1 05 1-(BS) Select memory bank 0 SEl MBO E5 0- (MBF) Select memory bank 1 SEl MB1 F5 1-(MBF) FUJITSU 2-12 MBLS048N/E/H MBL8035N/E/H Instruction Set Summary (Continued) Branch OP Flag Operation Mnemonic Code Byte Cycle CY HC Fo F, Nota Decrement register and test DJNZ R addr EX (R,) '1' 0 Note (2) Jump unconditional JMP addr %4 Unconditional Branch Unconditional branch Jump indirect JMPP@A B3 Note (3) Jump on Carry =1 JC addr F6 (C) = I Jump on Carry::: 0 JNC addr E6 (C) = 0 Jump on A zero JZ addr C6 (A) = 0 Jump on A not zero JNZ addr 96 (A) '1'0 Jump on To = 1 JTO addr 36 (To) ~ I Jump on To:::: 0 JNTOaddr 26 (To) ~ 0 Jump on T1 :::: 1 JTl addr 56 (T,) = I Jump on T1 :::: 0 JNTI addr 46 (T,) = 0 Jump on Fa::: 1 JFO addr B6 (Fa) I Jump on F1 :::: 1 JFl addr 76 (F,) = I Jump on timer flag JTF addr 16 (TF) = I Jump on INT = 0 JNl 86 (INT) =0 Jump on accumulator bit JBr addr %2 (A,) = I Subroutine OP Flag Operation Mnemonic Code Byte Cycle CY HC Fo F, Note Jump to subroutine CALL addr %4 Note (4) Return RET 83 Note (5) Return and restore status RETR 90 Note (6) Flags • OP Flag Operetion Mnemonic Code Byte Cycle CY HC Fo F, Note Clear carry CLRC 97 Z O-(C) Complement carry CPLC A7 CP (C)-(C) Clear Flag 0 CLR Fo 85 Z 0- (Fo) Complement Flag 0 CPL Fo 95 CP (Fa) - (Fo) Clear Flag I CLR F, A5 Z 0- (F,) Complement Flag I CPL F, B5 CP (F,) - (F,) Notes: Operation Code X: Tables-I. 2 %: Table 3 Flag*: This flag is set or reset in the sta~e after executed instruction. Z: This flag is reset. CP: This flag is complemented. 1) The accumulator value is adjusted to form BCD digits 5) RET following the binary addition of BCD numbers. (SP) - I - (SP) 2) DJNZ R,. addr; «SP)o to (SPh) - «PC)eto (PC) 11) (R,) -1 - (R,) (SP) - 1 - (SP) if (R,) '1' 0 addr - (PC o to PC?) «SP» - (PCo to PC?) if (Rr) = a execute next instruction 6) RETR (SP) - I - (SP) 3) JMPP@A «SP)o to (SP)s) - (PCe to PC,,) «A» - (PC o to PC?) «SP). to (SP}y) - (PSW. to PSW?) (SP) - I - (SP) 4) CALL addr «SP») - (PCo to PC?) (PCo to PC?) - «SP» A L: Lower 8 Bits of Address (SP) + 1 - (SP) A H: A •• Ag. AlO of Address (PC. to PC,,). (MBF). (PSW. to PSW?) - «SP» MBF: Memory Bank Flag (SP) + I - (SP) AL -(PCotoPC?) AH - (PC. to PC,o) MBF - (PC,,) FUJITSU 2-13 MBL8048N/E/H MBL8035N/E/H Instruction Set Summary (Continued) OP Code of Register Access (Table 1) Mnemonic Rr RO R1 R2 R3 R4 RS RS R7 INCAr 18 19 1A 1B 1C 10 1E 1F XCH A,Ar 28 29 2A 2B 2C 20 2E 2F OAlA,Ar 48 49 4A 4B 4C 40 4E 4F ANlA,Ar 58 59 5A 5B 5C 50 5E 5F AOOA,Ar 68 69 6A 6B 6C 60 6E 6F AOOC A,Ar 78 79 7A 7B 7C 70 7E 7F 7 6 5 4 3 2 1 0 MOVAr,A A8 A9 AA AB AC AD AE AF I 1 1 1 1 1r2 1r1 1rg I MOV Ar,#data B8 B9 BA BB BC BO BE BF OECAr C8 C9 CA CB CC CO CE CF XAl A,Ar 08 09 OA DB DC DO DE OF OJNZ Ar,M E8 E9 EA EB EC ED EE EF MOVA,Ar F8 F9 FA FB FC FO FE FF OP Code of Expander (Table 2) Mnemonic PP P4 PS PS P7 MOVOA,Pp OC 00 OE OF MOVO Pp,A 3C 3D 3E 3F 7 6 5 4 3 2 1 0 OAlO Pp,A 8C 80 8E 8F 1 1 1 1 1 1 1Pllpo I ANlO Pp,A 9C 90 9E 9F OP Code of JMP, CALL. JBr (Table 3) 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 JMP 1 At:! 10101,1 10101 1 A~ I First Byte Second Byte A l ; Address A7 to Ao CAll At:! 11 1011 1010 I A~ AH ; Address A lO, Ag, As B,; r-th Bit on First Byte Second Byte Accumulator JB, B[ 11 101011 101 A~ First Byte Second Byte 2-14 MBL8048N/E/H MBL8035N/E/H Instruction Codes ~ 0 1 2 3 4 5 6 7 B 9 A B C 0 E F DUll ADD JMP EN DEC INS IN IN MOVO MOVO MOVO MOVD 0 NOP BSU,A A, # OX< 1 A A,BUS A,P1 A,P2 A,P4 A,P5 A,P6 A,P7 INC INC JBD ADDe CALL DIS JTF INC INC INC INC INC INC INC INC INC 1 @RD @R1 addr A# Oxx 1 addr A RO R1 R2 A3 R4 R5 A6 R7 , XCH A,@AO XCH A,@A1 MOV A,# JMP 1xx EN TCNT1 JNTO addr CLA A XCH A,RD XCH A,R1 XCH A,R2 XCH A,R3 XCH A,R4 XCH A,RS XCH A,R6 XCH A.R7 XCHD XCHD JB1 CALL DIS JTO CPL DUTl DUTl MOVO MOVO MOVO MOVD 3 A,@AD A,@A1 addr 1x x TCNT1 addr A P1,A P2,A P4,A P5.A P6,A P7.A OAL OAL MOV ORL JMP STRT JNT1 SWAP ORL OAL OAL OAL OAl OAl OAl OAl 4 A,@AO A,@A1 A,T A,# 'xx CNT addr A A.,RD A,A1 A,R2 A,R3 A,R4 A,RS A,RS A,A? ANL ANl JB2 ANl CALL STAT JT1 DA ANL ANL ANl ANl ANl ANl ANl ANl 5 A,@AD A,@A1 addr A,# 'x x T addr A A,RD A,R1 A,A2 A,R3 A,R4 A,R5 A.AS A,R7 ADD ADD MOV JMP STOP AAC ADD ADD ADD ADD ADD ADD ADD ADD 6 A,@AO A,@A1 T.A 3xx TeNT A A,RD A,A1 A,R2 A,R3 A,R4 A,A5 A,AS A,R7 7 ADDe ADDe JB3 CALL ENTO JF1 AR ADDe ADDe ADDe ADDe ADDe Aooe ADDe ADDe A,@AO A,@A1 addr 3xx ClK addr A A,AD A,R1 A,A2 A,A3 A,R4 A,RS A,A6 A,R7 MOVX MOVX JMP ClA JN1 OAl OAl OAl CRlO DRlO CAlO CRLO B AET A,@RO A,@A1 4xx FO addr BUS,# Pl,# P2,# P4,A PS,A P6,A P7,A MOVX MOVX J84 CALL CPl JNZ ClR ANl ANl ANl ANLD ANLD ANLD ANLD 9 RETR @RO.A @R1,A addr 4xx FO addr C BUS,# Pl,# P2,# P4,A P5,A P6,A P7,A MOV MOV MOVP JMP CLR CPl MOV MOV MOV MOV MOV MOV MOV MOV A @RO.A @R1,A A,@A 5xx F1 C RO,A R1,A R2,A R3,A R4,A R5,A R6,A R7,A MOV MOV J85 JMPP CALL CPl JFD MOV MOV MOV MOV MOV MOV MOV MOV 8 @AO,# @R1.# addr @A 5xx F1 addr RO, # R1, # R2, # R3, # R4, # R5, # R6, # R7, # JMP SEl JZ MOV DEC DEC DEC DEC DEC DEC DEC DEC C 6xx R80 addr A,PSW RO R1 R2 R3 R4 AS R6 R7 0 E XRl A,@RO XRL A,@R1 J86 addr XRL A# MOVP3 CALL 6xx JMP SEL R81 SEl JNC MOV PSW,A Rl XRl A,RO DJNZ XRl A,A1 DJNZ XRl A.A2 DJNZ XRl A,A3 DJNZ XRl A,R4 DJNZ XRl A,A5 DJNZ XAl A,A6 DJNZ XRl A,R7 DJNZ til A,@A 7xx M80 addr A RO,M R1,M R2,M R3,M R4,M R5,M R6,M R7,M MOV MOV J87 CALL SEl JC RlC MOV MOV MOV MOV MOV MOV MOV MOV F A,@RO A,@R1 addr 7xx MB1 addr A A,RO A,R1 A,R2 A,R3 A.R4 A,A5 A,R6 A.R7 #: Immediate data H; Higher 4 bits L; Lower 4 bits D Single-byte, Single-cycle Instruction D Single-byte, Two-cycle Instruction D Two-byte, Two-cycle Instruction FUJITSU 2-15 MBL8048N/E/H MBL8035N/E/H Typical (1) Stand Alone System Applications +5V CI-'-.---I.JXTAl1 Vee Voo t:::I T ., XTAL2 SBIT PORTO C, sBIT PORn ~----""EA selT PORT2 -----I.JT, -----I~T, -----I·~IINT EXAMPLE: Dse XTAL = 1-6MHz C1, C2 '" 20pF Reset C3 = 1pF (2) Expanded System +5V Vee Voo PSEN Wril-----__ RD j EXPANSION ROM EXPANSION RAM ALEi----. ADDRESS (A,-Ao) DATA l} EXPANSION RAM EXPANSION ADDRESS ROM (A11- AS) PORT - - - -... T, ., Tl EXPANSION 110 ----+-JINT EXPANSION MEMORY P24 P10 I I 12 BIT I/O PORT P27 P17 Vss FUJITSU 2-16 MBL8048N/E/H MBL8035N/E/H Absolute Maximum Ratingst Parameter Symbol Value Unit Supply Voltage Vee, Voo -0.3 to +7.0 V Input Voltage V,N -0.3 to +7.0 V Operating Temperature TA o to +70 °C Storage Temperature Tst9 -55 to +150 °C Power Dissipation Po 1.5 W tpermanent device damage may occur if the ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliabilty I Recommended Operating Conditions Parameter Supply Voltage Symbol Vee, Voo Vss Value +5.0 ±10% 0 Unit V V I, ;1 Operating Temperature TA o to +70 °C DC Characteristics (TA = DoC to +70°C, Vee = Voo Test Value = 5.0V ±10%, Vss = OV) Parameter Symbol Conditions Min. Max. Unit All Except XTAL 1,2, V RESET Il -0.3 0.8 V Input Low Voltage XTAL 1,2, RESET V,l1 -0.3 0.6 V All ExceptXTAL1, 2, V RESET IH 2.0 Vee V Input High Voltage XTAL1,2, RESET V,H1 3.8 Vee V BUS Val IOl = 2.0mA 0.45 V RD, WR, PSEN, ALE VOL1 IOl = 2.0mA 0.45 V Output Low Voltage PROG VOl2 IOl = 1.0mA 0.45 V Other outputs VOl3 IOl = 1.6mA 0.45 V BUS VOH IOH = -400JiA 2.4 V Output High Voltage RD, WR, PSEN, ALE VOH1 IOH = -100JiA 2.4 V Other Outputs VOH2 IOH = -50JiA 2.4 V T INT I'l Vss~V'N5Nee ±10 JiA Input Leakage " Current P10-P17, P20-P27 Vss + 0.45V~ 1'L1 -500 JiA EA,SS V'N~Vee Output Leakage BUS, To (High- Vss + 0.45V~ IOl ±10 JiA Current Impedance) VIN~Vee MBL8048/35 N/E 15 mA Voo Supply Current 100 MBL8048/35 H 25 mA MBL8048/35 N/E 135 mA Total Supply Current MBL8048/35 H 100 + Icc 155 mA FUJITSU 2-17 MBL8048N/E/H MBL8035N/E/H AC Characteristics· H·Version E·Version N·Version (TA = DoC to +70°C, Vcc = VDD = 5.0V ±10%, Vss = OV Parameter Symbol Min. Max. Min. Max. Min. Max. Unit ALE Pulse Width tLL 150 260 410 ns Address Setup Time (to ALE!) tAL 70 140 230 ns Address Hold Time (from ALEI) tLA 50 80 120 ns Control Pulse Width (RD, WR) tCC1 480 730 1050 ns Control Pulse Width (PSEN) tCC2 350 550 800 ns Data Setup Time (before WRI) tDW 390 610 880 ns Data Hold Time (after WR!)" tWD 40 80 120 ns Data Hold Time tDR 0 110 0 160 0 220 ns (after RD!, PSEN!) Data Delayed Time tRD1 350 550 800 ns (RD! to data in) Data Delayed Time tRD2 210 360 550 ns (PSENI to data in) Address Setup Time (to WR!) tAW 310 480 680 ns Address Setup Time tAD1 760 1130 1590 ns (RD, to data in) Address Setup Time tAD2 480 750 1090 ns (PSEN, to data in) Address Floating Time t AFC1 140 210 290 ns (tD RDI, WR!) Address Floating Time t AFC2 10 20 40 ns (to PSEN!) RD, WR Output Time (from ALE!) tLAFC1 200 300 420 ns PSEN Output Time (from ALEI) tLAFC2 60 110 170 ns ALE Output Time tCA1 50 80 120 ns (from RD!, WR!, PROG!) ALE Output Time (from PSEN!) tCA2 320 460 620 ns Port Control Setup Before tcp 100 170 250 ns Falling Edge of PROG Time Port Control Hold After tpc 160 300 460 ns Falling Edge of PROG Time PROG Time P2 Input tpR 700 1000 1380 ns Must Be Valid P2 Input Data Hold Time tpF 0 140 0 190 0 250 ns (after PROG!) Output Data Setup Time tDP 400 600 850 ns (to PROG!) Output Data Hold Time tpo 90 130 200 ns (after PROG!) PROG Pulse Width tpp 700 1060 1500 ns Port2 1/0 Data Setup Time t pL 160 300 460 ns (to ALE!) Port2 1/0 Data Hold Time t LP 40 60 80 ns (from ALE!) Port Data Output Time tpv 510 660 850 ns (from ALE!) Cycle Time'" tCY 1.36 1.875 2.5 /ls To Output Cycle Time tOPRR 270 370 500 ns ': 6MHz XTAL (N-Version), 8MHz XTAL (E-Version), 11MHz XTAL (H-Version) Load Conditions: BUS: CL = 150pF; Other Outputs CL =80pF ": Load Conditions CL = 20pF, High Impedance "'; tCY =2.5/1s (6MHz XTAL N-Ver8ion), tCY =1.875/18 (8MHz XTAL E-Version). tCY =1.36J1S (11MHz XTAL H-Version) FUJITSU 2-18 M8L8048N/E/H M8L8035N/E/H Timing Diagram Instruction Fetch From Extemal Program Memory 'CY _'LL tLAFC2 - ALE tAFC2--' tCC2 'CA2_ - !+-'AL-+ 'I.A --I- 1--'.02- ~ BUS FLOATING 1\ ADDRESS FLOATING 'INSTRUCTION FLOATING IAD2 Read From Extemal Data Memory ALE I I I..-tLAFCl tCCl tCAl ~ tAFCl tRDl BUS FLOATING I ADDRESS 1\ FLOATING DATA FLOATING I IADl Write To Extemal Data Memory ALE L I L ~J""".::"=====_'CC_'====-J- _I-__'CA_'- - +1 ......... 1 !--'AW I---- 'ow _'wo BUS FLOATING 1\ ADDRESS FLOATING 1\ DATA FLOATING FUJITSU 2-19 MBL8048N/E/H MBL8035N/E/H Timing Diagram (Continued) P20-23 Input/Output For Use Of External Program Memory And Expander 1/0 Port ALE ~~ ______~r-l~______~ ___-+_________+-_-;fool~------tpp---.-jr_--- PROG 1'211-23 OUTPUT P20-23 PCH INPUT Port 1/Port 2 Outputs ALE ..JI____----'Ill...-___---Ir- j L~ P20-23 PCH PORT DATA NEW PORT DATA PCH P24-27 PORT DATA NEW PORT DATA P10-17 Clock Outputs 51 52 53 54 55 51 52 53 54 55 ALE PROG FUJITSU 2-20 MBL8048N/E/H MBL8035N/E/H Package Dimensions 0" to 9° Dimensions in inches (millimeters) 40·Lead Ceramic (Metal Seal) Dualln·Line Package (Case No.: DIP·40C·A01) I O6Ot1.52IMAX .09012.291 .110(2.791 IJ1l!!J --11 .036(0.911 . .015(0.381 .023(0.58) Q).17714.SOIMAX =o:~~:~:g~: .040(1.02) .060(1.53) 1.900148.26IREF © 1966 FUJITSU LIMITED D40006S-1 C 40·Lead Plastic .-----(EJECTOR MARKl Dualln·Line Package (Case No.: DIP·40P·M01) INDEX ?.f,145(51.95) 2.07"52.601 ~i 111111 11 11 11 I 1195i400IMAX .11Bi3.00IMIN W-.l00t2.54ITYP . .-.:.J ~I .O~5(O.38) 0.70(1.77) .021(0.54) .020(O.51\MIN © 1965 FUJITSU LIMITED D40005S-1 C Oscillation Circuits Crystal Oscillator External Clock Drive MBL8048 5V MBLB048 MBL8035 MBL8035 470Jl 1 to 11MH: 2 .---t---IXTAL1 External :>o--+-------tXTAL1 Clock- 5V r---4----=-I XTAL2 ~o--+-'-I XTAL2 "Including stray capacitances *Both high and low times should be more than 35% of the cycle time, and rise and fall times should be less than 20n5. FUJITSU 2-21 Advanced Products FUJITSU October 1986 • MBL8049N/E/H Edition 1.0 MBL8039N/E/H NMOS Single-Chip a-Bit Microcomputer Description The Fujitsu MBL8049/MBL8039 is a totally self-contained 8-bit I I parallel one-chip microcomputer fabricated with an N-channel silicon gate MaS process. The MBL8049 has a 2K x 8 ROM program memory, a 128 x 8 I~ -- V' ~ ~~'I RAM data memory, 27 I/O ports, an 8-bit timer/counter and clock generator on chip. A single power supply of +5V is used. The MBL8039 is identical to the MBL8049 except without - program memory. It can be used with external memory for system prototyping and preproduction systems. 1111 ' The design is optimized for low cost, high performance applications because the MBL8049/MBL8039 is fabricated on a ,~~a~.ic og; single silicon chip and can be used for applications that require '-." additional expansion of ROMs, RAMs, I/O port, etc. This microcomputer permits external program operation and a single-step operation mode. Low power applications are possible by using the stand-by mode feature . - .. The MBL8049/MBL8039 is packaged in a standard 40-pin DIP package and operation is guaranteed from O'C to 70'C. - - - ~ - Features • 8-bit Parallel Microcomputer • External Input Capability f- • 12-bit Addressing • Easily Expandable Memory • 96 Instructions: 70% Single and 1/0 Byte • 1.87SJ.IS Cycle (E-Verslon) • 8 Level Stack • External Program Mode I(ci:~st!~ ~!~ 2.Sps Cycle (N-Version) Capability All Instructions are 1 or • Low Power Stand-by Mode 2 Cycles. Capability • 2K x 8 ROM (MBL8049 only) • Single +5V Power Supply 128x8 RAM • N-channel Silicon Gate E/D 271/0 Lines MOS Process • Interval Timer/Event Counter • Standard 40-Pin DIP • Single Level Interrupt • MBL8049: Compatible with Capability Intel 8049 • Resident Clock Generator MBL8039: Compatible with (External Frequency Source) Intel 8039 Portions reprinted by permission of Intel Corporation, Copyright @ 1985 Intel Corporation. Compilation and additional materials Copyright © 1985 by Fujitsu Limited, Tokyo, Japan, and Fujitsu Microelectronics, Inc., Santa Clara, California, U.S.A. Fujitsu Limited is a licensee of Intel Corporation and authorized to produce alternate source products. 2-22 MBL8049N/E/H MBL8039N/E/H Block Diagram (21 TO 24, 35 TO 38) TEST 1 Voo +5V (INTERNAL RAM POWER) (40) Vee +5V T. T, (20) Vss ov GND INT FLAG 0 FLAG 1 TIMER FLAG CONTROL PINS CARRY ACe ...._ _ _~_ Ace BIT TEST Pin Assignment T. XTAL1 XTAl2 'RESET 'S'S INT EA RD PsEN WR ALE This device contains circuitry to protect the inputs DBO against damage due to high static voltages or electric DBl fields. However, it is advised that normal precautions DB2 be taken to avoid application of any voltage higher DB3 than maximum rated voltages to this high impedance DB. circuit. DBS DBS DB7 v,, PORn EA Pi o 8BIT PORT1 Pi, P20 BBIT PORn P2, To T, INT Example: OSC XTAL 1 TO 6MHz C,.C, ~ 20pF RESET C3 = 1pF 2-47 1IIIW~I~llrulllllllllllllmmlllmlllmlll FUJITSU MBL8749H/N Ilmlllmlmll~lmlmmllmlllllllllllil EXPANDED SYSTEM +5V VDD Vee PsEii EXPANSION ROM XTAL1 WR } EXPANSION RAM RD XTAL2 ALE RESET ADDRESS (A7-AQ) EA } EXPANSION RAM 08. I DATA EXPANSION ROM 087 P20 ADDRESS I (All-Ae) P20 PORT EXPANSION 110 T. EXPANSION MEMORY T, INT PROG P1. I P17 1281T 1/0 PORT P20 I P27 2-48 111111111111111111111111111111111111111111111111111 FUJITSU 111111111111111111111111111111111111111111111111111 MBL8749H/N RESIDENT DATA MEMORY MAP (RAM) Address (Hex) o Ro Reg ister 0 R1 Register 1 2 R2 Register 2 3 R3 Register 3 Register Bank 0 4 R4 Register 4 5 R5 Register 5 6 R6 Register 6 7 R7 Register 7 8 9 PCl Stack Register (16 Bytes) Cy HC FO BS PC H (8 Level Stack) 16 17 18 Ro Register 0 19 R1 Register 1 1A R2 Register 2 1B R3 Register 3 Register Bank 1 1C R4 Register 4 10 R5 Register 5 1E R6 Register 6 1F R7 Register 7 20 21 22 Working Area (224 Bytes) FD FE / FF 2-49 I11111111111111111111111111111111111111111111111111 FUJITSU MBL8749H/N 111111111111111111111111111111111111111111111111111 STATUS REGISTER The Status Register is an 8-bit register that holds the Program address in the stack pointer that will be used for the next Status Word (PSW). The register is configured as shown. The subroutine call or interrupt. "SP" is given as an 8-bit code from upper four bits are used for flags to indicate the status of the the lower three bits of the status register as follows: MPU. When a subroutine call or an interrupt occurs, the SP = 00001,SP2SP, SPO, contents of the program counter are transferred to one of the 8 register pairs of the Stack Register as determined by the lower Cstatus Register bits 0 to 2. three bits of the Status Register. The remaining bit is unused. PC n (Program Counter): In the above figure, "PC n " indicates the content of the nth bit in the Program Counter. 7 6 5 4 3 2 o Blank INTERRUPT OPERATION (Un- There are two modes for interrupt operation: external inter- CY HC Fo BS SP2 SP, SPo used rupts and timer/counter interrupts. A timer/counter interrupt Bit) is masked by an external input; thus, external interrupts always have priority. The basic operation for both types of Flags Stack POinter interrupts are the same, except a timer/counter interrupt is initiated on overflow of the counter. Subsequent flowcharts FLAGS provide operational detail for the interrupt procedures that follow. CY (Carry): When an overflow occurs in the Accumulator during an ALU operation, this bit is set to "1 ". • Upon executing the current instruction, the interrupt flag is set. HC (Half Carry): When an overflow occurs from Bit 3 to Bit 4 in the accumulator as a result of an addition, this bit is set to "1 ". • Contents of the Status Register and Program Counter are saved in the stack. Fo (User Flag): This flag is instruction-controlled by the user. • For an external interrupt, the Program Counter is loaded BS (Bank Select): This flag is used for register-bank identifi- with address 003; for a timer/counter interrupt, address 007 cation. When BS = 0, Register Bank 0 is selected; when BS = 1, is loaded in the PC. Register Bank 1 is selected. • After the interrupt is serviced, a RETR instruction is executed which restores the pre-interrupt contents of the STACK REGISTER Status Register and Program Counter. The Stack Register uses 16 bytes of memory in the on-chip RAM. • The interrupt flag is reset. The Stack Register consists of eight levels, that is, a stack level consists of two bytes as shown. 7 6 5 4 3 2 1 0 SP-3 SP-2 PC, PC6 PCs PC, PC3 PC 2 PC, PCo ASetof } 2 Bytes SP-1 CY He Fo BS PC" PC 10 PC g PCa SP -This level will be used SP+1 at the next sub-routine call or inter- RAM rupt. Address Stack Position SP = 00001SP 2SP, SPO SP (Stack Pointer): In the above figure, "SP" indicates an 2-50 1111111111111111111111111111111111111111111111111 FUJITSU 11!11111111111111!1111111111111111111111111111111 MBL8749H/N OPERATION FLOWCHART 2-51 111111111111111111111111111111111111111111111111111: FUJITSU MBL8749H/N I111111111111111111111111111111111111111111111111111 INTERRUPT FLOWCHART 2-52 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MBL8749H/N PROGRAMMING AND VERIFYING EPROM MEMORY Internal program memory of the MBL8749 is a 2K x 8-bit Step 8: Apply 0 volts to the PROG pin and then apply a pro- EPROM that can be electrically written into, and erased by gramming pulse of 18 volts for 50 ms. Again apply 0 volts to using an ultraviolet (UV) light source. Pin functions for the pin and then let it float. programming and verifying the EPROM are repeated here for Step 9: V DD ~ 5V, BUS floating conven ience of the user. Turn off programming power supply (VDD ~ 21V - 5V), and let BUS float. Pin Descriptions Step 10: TO ~ 5V Name Function Select verify mode. XTAL1, Clock signal (1 to 3MHz) input Step 11: Externally read BUS data to verify data. XTAL2 Step 12: TO ~ OV RESET Initialize and add ress-Iatch signal input: Terminate verify mode and select program mode. Address data input to the data bus is internally Step 13: RESET ~ OV latched on the rising edge of the RESET signal. Go to the next step when data has been written. If data is not TO Program mode is selected when this signal is valid, repeat procedures, beginning with Step 4. low and verify mode is selected when it is high. Step 14: EA ~ 5V Disable program or verify mode. EA Program and verify enable signal input: Either mode is enabled when 18 volts is applied tothis ERASING EPROM pin. Data written into the EPROM can be erased by applying ultra- BUS Address and data inputs in the program mode violet light rays with a wavelength of 2537 angstroms. With UV (07 to and data output in the verify mode. light source directly above the transparent lid at a distance of DO) 2-to-3 centimeters, the time for complete erasure is between VDD Power supply 15-and-20 minutes for most commercial lamps. The recom- mended amount of UV radiation is 10Wsec/cm2; the luminous PROG Input pulses for programming intensity on the package surface is designed to be approxi- mately 12000J,lW/cm2. PROGRAMMING PROCEDURE If the package surface is soiled by grease, adhesives, or other Step 1: Initialization light inhibitors, the erasing time will increase. Before attempt- Vee and VDD ~ 5V ing to erase data, it is recommended that surface be cleaned Clock signal ~ 1 to 3M Hz (Internal or external clock) with alcohol or some other detergent that will not damage the RESET ~ OV package. TO, EA = 5V BUS and PROG pins floating. INSTRUCTIONS Step 2: TO ~ OV All instructions are one or two bytes and also execute in either Select program mode. one or two cycles. Addresing modes are classified as direct, expanded, indirect, immediate and implied. Single-byte and Step 3: EA ~ 18V double-byte instruction formats are as follows: Enable program or verify mode 1-Byte Instruction: Step 4: Input address signals. BUS ~ 8 low-order bits Implied Addressing Mode P22 to P20: ~ 3 high-order bits Step 5: RESET ~ 5V Internally latch the address inputs. '--_ _ _ _----'I_r-..JI Register Indirect Addressing Mode Step 6: Input write data to BUS. Step 7: VDD ~ 21V 1 r 1 Register Direct Addressing Mode Turn on programming power supply. '---------'~----' 2-53 111111111111111111111111111111111111111111111111111 FUJITSU MB8749H/N illllllllllllllllllllllllllllllllllllllllllllllllill 2-Byte Instruction: OP L-______- L______ ~ Immediate Addressing Mode Expanded Addressing Mode I: Instruction Operation Set r: Register Set OP: Operand Data A H , A L : Operand Address Table 1. Instruction Set Summary Accumulator and Memory Instructions Flag OP Operation Mnemonic code Byte Cycle C AC FO F1 Notes Add register to A ADD A, Rr 6X 1 1 - - (A) ~ (A) + (Rr) Add data memory to A ADDA,@RO 60 1 1 * * - - (A) ~ (A) + ((RO» ADD A, @R1 61 1 1 * * - - (A) ~ (A) + ((R1» Add immediate to A ADD A, #data 03 2 2 * * - - (A) ~ (A) + data Add register to A with carry AD DC A, Rr 7X 1 1 * * - - (A) ~ (A) + (Rr) + (C) Add data memory to A with carry ADDCA,@RO 70 1 1 * * - - (A) ~ (A) + ((RO» + (C) ADDCA,@R1 71 1 1 * * - - (A) ~ (A) + ((R1» + (C) Add immediate to A with Carry AD DC A, #data 13 2 2 * * - - (A) ~ (A) + data + (C) And register to A ANL A, Rr 5X 1 1 * - *- - - (A) ~ (A) n (Rr) And data memory to A ANLA,@RO 50 1 1 - - - - (A) ~ (A) n ((RO» ANLA,@R1 51 1 1 - - - - (A) ~ (A) n ((R1» And immediate to A ANLA, #data 53 2 2 - - - - (A) ~ (A) n data Clear A CLRA 27 1 1 - - - - (A)~O Complement A CPLA 37 1 1 - - - - (A)~(A) Decimal Adjust A DAA 57 1 1 - - - Note 1 Decrement A DECA 07 1 1 * - - - - (A) ~ (A)-1 Increment A INCA 17 1 1 - - - - (A) ~ (A) + 1 Or register to A ORLA, Rr 4X 1 1 - - - - (A) ~ (A) U (Rr) Or data memory to A ORLA,@RO 40 1 1 - - - - (A) ~ (A) U ((RO» ORLA,@R1 41 1 1 - - - - (A) ~ (A) U ((R1» Or immediate to A ORL A, #data 43 2 2 - - - - (A) ~ (A) U data Rotate A left RLA E7 1 1 - - - - y71 I I I I 1 1~ 1 Rotate A left th rough carry RLCA F7 1 1 * - - - 4:£1-1 71 1 I I I I I ~ I Rotate A right RRA 77 1 1 - - - - l.+1 I I I I 1 10 1 Rotate A right through carry RRCA 67 1 1 * - - - !§:i71 I +EEl I : I SWAP nibles 01 A SWAP A 47 1 1 - - - - (A7-4) <=< (A3-0) Exclusive or register to A XRLA, Rr OX 1 1 - - - - (A) ~ (A) EEl (Rr) Exclusive or data memory to A XRLA,@RO DO 1 1 - - - - (A) ~ (Al EEl ((RO» XRLA,@R1 01 1 1 - - - - (A) ~ (A) EEl ((R1» Exclusive or immediate to A XRL A, #data 03 2 2 - - - - (A) ~ (A) EEl data 2·54 1111111111111111111111111111111111111111111111111111 FUJITSU 1IIImllllllllllllllllllllllllllllllllllllllillmi MBL8749H/N Input/Output Instructions (Cant) Flag OP Operation Mnemonic code Byte Cycle C AC FO F1 Notes And immediate to BUS ANl BUS, #data 98 2 2 - - - - (BUS) - (BUS) n data P1 ANl P1, #data 99 2 2 - - - - (P1) - (P1) n data P2 ANl P2, #data 9A 2 2 - - - - (P2) - (P2) n data And A to Expander Port ANlO Pp, A 9X 1 2 - - - - (Pp) - (Pp) n (A3-Q) Input BUS to A INSA, BUS 08 1 2 - - - - (A) - (BUS) Port 1 to A INA, P1 09 1 2 - - - - (A)-(P1) Port 2 to A IN A, P2 OA 1 2 - - - - (A)-(P2) Input Expander Port to A MOVOA, Pp OX 1 2 - - - - (A3-0) - (Pp) (A7-Q) - 0 Or immediate to BUS ORl BUS, #data 88 2 2 - - - - (BUS) - (BUS) U data P1 ORl P1, #data 89 2 2 - - - - (P1) - (P1) U data P2 ORl P2, #data 8A 2 2 - - - - (P2) - (P2) U data Or A to Expander Port ORlO Pp,A 8X 1 2 - - - - (Pp) - (Pp) U (A3-0) Output A to BUS OUTlBUS, A 02 1 2 - - - - (BUS) - (A) P1 ~WTl P1, A 39 1 2 - - - - (P1)-(A) P2 OUTL P2, A 3A 1 2 - - - - (P2)-(A) Output A to Expander Port MOVO Pp,A 3X 1 2 - - - - (Pp) - (A3-Q) Data Move Instructions Move register to A MOVA, Rr FX 1 1 - - - - (A)-(Rr) Move data memory to A MOVA,@RO FO 1 1 - - - - (A)-((RO)) MOVA,@R1 F1 1 1 - - - - (A)-((R1)) Move immediate to A MOVA,#data 23 2 2 - - - - (A) -data Move A to register MOVRr,A AX 1 1 - - - - (Rr)-(A) Move A to data memory MOV@RO,A AO 1 1 - - - - ((RO)) - (A) MOV@R1,A A1 1 1 - - - - ((R1))-(A) Move immediate to register MOV Rr, #data BX 2 2 - - - - (Rr) - data Move immediate to data memory MOV @RO, #data BO 2 2 - - - - ((RO)) - data MOV@R1, #data B1 2 2 - - - - ((R1)) - data Move PSWtoA MOVA, PSW C7 1 1 - - - - (A) - (PSW) MoveAto PSW MOVPSW,A 07 1 1 - (PSW) -(A) Move external data memory to A MOVXA,@RO 80 1 2 -* -* * - - (A) - ((RO)) MOVXA,@R1 81 1 2 - - - - (A)-((R1)) Move A to external data memory MOVX@RO,A 90 1 2 - - - - ((RO))-(A) MOVX@R1,A 91 1 2 - - - - ((R1)) - (A) Move to A from current page MOVPA,@A A3 1 2 - - - - (A) - ((A)) Move to A from Page 3 MOVP3A,@A E3 1 2 - - - - (A) - ((A)) within page 3 Exchange A and register XCHA, Rr 2X 1 1 - - - - (A) "'" (Rr) Exchange A and data memory XCHA,@RO 20 1 1 - - - - (A) ""'((RO)) XCHA,@R1 21 1 1 - - - - (A) "'" ((R1)) Exchange nibble of A XCHOA,@RO 30 1 1 - - - - (A3-0) -=" ((RO)3-Q) and data memory XCHOA,@R1 31 1 1 - - - - (A3-0) "'" ((R1)3-Q) Register Instructions pecrement register DEC Rr CX 1 1 - - - - (Rr) - (Rr) - 1 increment register INCRr 1X 1 1 - - - - (Rr) - (Rr) + 1 Increment data memory INC@RO 10 1 1 - - - - ((RO)) - ((RO)) + 1 INC@R1 11 1 1 - - - - ((R1)) - ((R1)) + 1 2-55 1lllllllllllllmlllllllllllllllllmllll~mlllm FUJITSU MBL8749H/N 1IIIIIIIIImllllllllllllllllllllllllillmlllllili Timer/Counter Instructions (Cont) Flag OP Operation Mnemonic code Byte Cycle C AC FO 1=1 Noles Disable Timer/Counter Interrupt DIS TCNTI 35 1 1 - - - - Enable Timer/Counter Interrupt EN TCNTI 25 1 1 - - - - Read Timer/Counter MOVA, T 42 1 1 - - - - (A)-(T) Load Timer/Counter MOVT,A 62 1 1 - - - - (T)-(A) Start Time STRTT 55 1 1 - - - - Start Counter STRTCNT 45 1 1 - - - - Stop Timer/Counter STOP TCNT 65 1 1 - - - - Control Instructions Disable external interrupt DISI 15 1 1 - - - - Enable external interrupt EN I 05 1 1 - - - - Enable Clock output on TO ENTOCLK 75 1 1 - - - - No Operation NOP 00 1 1 - - - - Select register bank 0 SEL RBO C5 1 1 - - - - (BS)-O Select register bank 1 SEL RB1 05 1 1 - - - - (BS)-1 Select memory bank 0 SEL MBO E5 1 1 - - - - (MBF)-O Select memory bank 1 SEL MB1 F5 1 1 - - - - (MBF) -1 Branch and Jump Instructions Decrement register and test DJNZ Rr, addr EX 2 2 - - - - (Rr) '"" 0 (Note 4) Jump unconditional JMPaddr %4 2 2 - - - - Unconditional Branch Jump indirect JMPP@A B3 1 2 - - - - Unconditional Branch (Note 5) Jump on Carry = 1 JC addr F6 2 2 - - - - (C) = 1 Jump on Carry = 0 JNCaddr E6 2 2 - - - - (C) =0 Jump on A zero JZ addr C6 2 2 - - - - (A) =0 Jump on A not zero JNZ addr 96 2 2 - - - - (A) '""0 Jump on TO = 1 JTO addr 36 2 2 - - - - (TO) = 1 Jump on TO = 0 JNTO addr 26 2 2 - - - - (TO) = 0 Jump on T1 = 1 JT1 addr 56 2 2 - - - - (T1) = 1 Jump on T1 = 0 JNT1 addr 46 2 2 - - - - (T1) = 0 Jump on FO = 1 JFO addr B6 2 2 - - - - (FO) = 1 Jump on F1 = 1 JF1 addr 76 2 2 - - - - (F1) = 1 Jump on timer flag JTF addr 16 2 2 - - - - (TF) = 1 Jump on INT = 0 JNI addr 86 2 2 - - - - (INT) =0 Jump on accumulator bit JBr addr %2 2 2 - - - - (Ar) = 1 Subroutine Instructions Jump to subroutine CALL addr %4 2 2 - - - - (Note 6) Return RET 83 1 2 - - - - (Note 7) Return and restore status RETR 93 1 2 - (Note 8) * * * Flag Instructions Clear carry CLR C 97 1 1 Z - - - (C)-O Complement carry CPLC A7 1 1 CP - - - (C)-(e) Clear Flag 0 CLR FO 85 1 1 - - Z - (FO)-O Complement Flag 0 CPL FO 95 1 1 - - CP - (FO) - (FO) Clear Flag 1 CLR F1 A5 1 1 - - - Z (F1)-0 Complement Flag 1 CPL F1 B5 1 1 - - - CP (F1) - (ft) 2-56 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIIIII FUJITSU IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII~III MBL8749H/N Table 2. OP Codes for Register Access Notes: 1. Refer to Tables 1 and 2 for OP Code suffixes of "X"; refer to Mnemonic Rr Ro R1 R2 R3 R4 Rs R6 R7 Table 3 for OP Code prefixes of "%". INCRr 18 19 1A 1B 1C 1D 1E 1F 2. Flag status: XCHA, Rr 28 29 2A 2B 2C 2D 2E 2F = Set, or reset flag bit to the state it was in before ORlA, Rr 48 49 4A 4B 4C 4D 4E 4F instruction execution. ANlA, Rr 58 59 5A 5B 5C 5D 5E 5F z = Reset flag bit. ADD A, Rr 68 69 6A 6B 6C 6D 6E 6F CP = Complement flag bit. AD DC A, Rr 78 79 7A 7B 7C 7D 7E 7F 3. The accumulator value is adjusted to form BCD digits MOVRr,A A8 A9 AA AB AC AD AE AF following the binary addition of BCD number. MOV Rr, #data B8 B9 BA BB BC BD BE BF 4. DJNZ R, addr: (Rr) - 1 -+ (Rr) DECRr C8 C9 CA CB CC CD CE CF if (R,) "" 0, add -+ (PCo to PC7). if (R,) = 0, execute next instruction. XRlA, Rr D8 D9 DA DB DC DD DE DF DJNZRr, M E8 E9 EA EB EC ED EE EF 5. JMPP @A: «A» ~ (PCo to PCl ) MOVA,Rr F8 F9 FA FB FC FD FE FF 6. CAlladdr (PCo to PCl) ~ «SP)) 7 6 5 4 3 2 1 0 (SP) + 1 ~ (SP) IR21Rli Ro i (PCs to PC 11 ), (MBF), (PSW4 to PSWl ) - «SP» (SP) + 1 ~ (SP) Table 3. OP Codes for Expander AL - (PC o to PCl) AH - (PCB to PC lO ) Mnemonic Pp P4 P3 P2 P1 MBF- (PC ll ) MOVDA, Pp OC OD OE OF 7. RET MOVD Pp, A 3C 3D 3E 3F (SP) - 1 - (SP) ORlD Pp, A BC 8D 8E 8F «SP)o to (SPb) ~ (PC)B to (PC)ll) ANlD Pp, A 9C 9D 9E 9F (SP) - 1 - (SP) «SP» - (PCo to PCl) 7 6 5 4 3 2 1 0 8. RETR Ip11 po l (SP) - 1 - (SP) «SP)o to (SPb ~ (PCs to PCll) Table 4. OP Codes for JMP, CALL, and JBr Instructions «SP)4 to (SP)7 ~ (PSW4 to PSW7) (SP) - 1 - (SP) 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 «SP)) - (PC o to PCl) JMP AH 10101110101 AL , , , , , AL : lower 8 Bits of Address 1 AH : AB, A 9, A l0 of Address First Byte Second Byte MBF: Memory Bank Flag CAll AH 11101110101 AL , , , , , 1 First Byte Second Byte JBr Br 11101011101 AL , , , , , 1 First Byte Second Byte A L : Address A7 to Ao AH: Address A1O, A9, As Br : rth Bit on Accumulator 2-57 IllmlliIWIIWlmllll~m~mIIOOllmlll! FUJITSU MBL8749H/N Imllmmlll~ll!ml~lmllmll~mm!~11 INSTRUCTION CODES r----- I~ 0 1 2 3 4 5 6 7 8 9 A B C 0 E F OUT ADD JMP EN DEC INS IN IN fl/'I'JVD MOVO MOllO MOY[) 0 NOP (BSU. Al A .• 1 A (A. BUS) A. Pl A, P2 A P4 A, P5 A P6 A, P7 0" INC INC JBO ADOC CALL DIS JTF INC INC INC INC INC INC INC INC INC 1 @RO @R1 addr A .• 0" 1 addr A RO R1 R2 R3 R4 R5 R6 R7 XCH XCH MOV JMP EN JNTO CLR XCH XCH XCH XCH XCH XCH XCH XCH 2 A.@RO A,@Al A .• 1XX TCNT1 addr A A, AD A. Al A. R2 A. R3 A. R4 A. RS A. R6 A, R7 XCHO XCHD JB1 CALL DIS JTO CPL CUTl OUTL MOVO MOVD MOVO MOVO 3 A,@Al A.@RO addr 1XX TCNTl addr A Pl, A P2, A P4. A P5. A P6. A PZ A ORL ORL MOV ORL JMP STRT JNT1 SWAP ORL ORL ORL ORL ORL ORL OPL ORL 4 A.@RO A,@Rl A. T A .• 2xx CNT addr A A. RD A. At A. R2 A, R3 A, R4 A. RS A, RS A. R7 ANL ANL JB2 ANL CALL STAT JT1 DA ANL ANL ANL ANL ANL ANL ANL ANL 5 A.@RO A.@R1 addr A .• 2xx T addr A A, RD A, Rt A, R2 A, R3 A, R4 A, AS A, R6 A, R7 ADD ADD MOV JMP STOP RRC ADD ADD ADD ADD ADD ADD ADD ADD 6 A.@RO A.@Rl T. A 3xx TeNT A A. RO A, At A. R2 A. A3 A, R4 A. RS A. A6 A, R7 7 ADDC AODC JB3 CALL ENTO JF1 RR ADDC ADDC AD DC ADDC ADDC ADDC AD DC ADDC A,@RO A.@R1 addr 3xx eLK addr A A. RO A. At A. R2 A. R3 A. R4 A. RS A. A6 A. R7 MOVX MOVX JMP CLR JNI ORL ORL ORL ORlO ORLO DRlO ORlO 8 RET (A." RO) (A.@Rl) 4xx FO addr (BUS. #) Pl, # P2, # P4. A P5. A P6. A P7. A MOVX MOVX JB4 CALL CPL JNZ CLR ANL ANL ANL ANLD ANLD ANLD ANLD 9 AETR "RO.A "Rl.A addr 4 XX FO addr C (BUS. #) P1, # P2, # P4, A PS. A P6. A P7. A MOV MOV MOVP JMP CLR CPL MOV MOV MOV MOV MOV MOV MOV MOV A @RO A @R1.A A.@A 5 XX F1 C RO. A A1.A R2. A R3. A R4. A RS. A AS. A A7.A MOv MOV JB5 JMPP CALL CPL JFO MOV MOV MOV MOV MOV MOV MOV MOV B @RO,# @Rl.' addr @A 5xx Fl addr RO, # Rt # R2. # R3. # A4. #I: AS. # A6. # R7.# JMP SEL JZ MOV OEC DEC DEC DE:.C DEC DEC DEC DEC C 6xx RBO addr A,PSW I RO R1 R2 q3 R4 R5 R6 R7 -I. .- XRL XRL JB6 XRL CALL SEL JNIBF MOV XRL XRL XRL XRL XRL XRL XRL XRL 0 A, :glAD A.@A1 P$W,A addr A.' 6xx RB1 addr A. AD A, A1 A, A2 A. A~ A. R4 A. A5 A. R6 A. R7 MOVP3 JMP SEL JNC RL DJNZ DJNZ DJNZ DJNZ DJNZ DJNZ DJNZ DJNZ E A.@A 7xx MBO addr A RO.M Rl.M R2.M R3.M R4. M R5.M R6, addr R7.M MOV MOV JB7 CALL SEL JC RLC MOV MOV MOV MOV MOV MOV MOV MOV F A.@RO A.@R1 addr I 7xx MBl addr A A. RO A. A1 A, A2 A. A3 A, A4 A. AS A. A6 A. R7 -- Legend: Immediate data o 1 Byte, 1 Cycle Instruction D :::.1 Byte, 2 Cycle Instruction o = 2 Byte, 2 Cycle Instruction 2-58 111111111111111 111111111111111111111111111111111111, FUJITSU 111111111111111 111111111111111111111111111111111111I MBL8749H/N ABSOLUTE MAXIMUM RATINGS RECOMMENDED OPERATING CONDITIONS Parameter Symbol Rating Unit Value Vee, Vss - 0.310 Parameter Symbol Min Typ Max Unit Supply Voltage V Voo Vss + 7 Vee, 4.5 5.0 5.5 V Vss - 0.3 to Supply Voltage Voo Input Voltage VIN V Vss + 7 Vss 0 V Operating Temperature TA o to +70 °C Operating 0 +70 °C TA Temperature Storage Temperature Tstg -55 to +150 °C Power Dissipation Po 1.5 W Note: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. DC CHARACTERISTICS (TA =O°C to +70°C, Vee = Voo =5V ±10%, Vss = OV) Value Parameter Symbol Applicable Pin/Device Min Max Unit Test Conditions VIL All Except XTAL 1, XTAL2, RESET -0.3 0.8 V Input Low Voltage VIL1 XTAL1, XTAL2, RESET -0.3 0.6 V -- VIH All Except XTAL 1, XTAL2, RESET 2.0 Vee V Input High Voltage VIH1 XTAL 1, XTAL2, RESET 3.8 V • Vee VOL BUS 0.45 V IOL = 2.0mA VOLl RD, WR, PSEN, ALE 0.45 V IOL = 2.0mA Output Low Voltage VOL2 PROG 0.45 V IOL = 1.0mA VOL3 All Other Outputs 0.45 V IOL = 1.6mA VOH BUS 2.4 V IOH = -400pA Output High Voltage VOH1 RD, WR, PSEN, ALE 2.4 V IOH = -100pA VOH2 All Other Outputs 2.4 V IOH = -50pA III T1,INT ±10 pA Vss:S VIN:S Vee Input Leakage Current ILl1 P10-P17, P20-P27, EA, SS -500 pA Vss + 0.45V :S VIN :S Vee Output Leakage Current BUS, TO ±10 pA Vss + 0.45V ,;; VIN ,;; Vee, ILO In High·Z state Voo Supply Current 100 Voo 50 mA Total Supply Current lee + 100 Vee, Voo 170 mA 2·59 " ___ __ - ~---~--- ~_~_.~_-C-.~:;:-:-:~ .~_~_ ~.~-- 1111111111111111111111111111111111111111111111111111 FUJITSU MBL8749H/N 1111111111111111111111111111111111111111111111111111 DC GHARACTERISTICS (Programming Mode) (TA = 25 ±5°C,Vcc = 5V ±5%,VDD = 21 ±O.5Vor5V ±5%) Value Parameter Symbol Min Max Unit Voo Program Voltage High Level VOOH 20.5 21.5 V Voo Program Voltage Low Level VOOL 4.75 5.25 PROG Program Voltage High Level VPH 17.5 18.5 V PROG Program Voltage Low Level VPL - 0.2 EA ProgramiVerify Voltage High Level VEAH 17.5 18.5 V EA ProgramiVerify Voltage Low Level VEAL - 5.25 Voo High Voltage Supply Current 100 - 30.0 PROG High Voltage Supply Current I pROG - 16.0 mA EA High Voltage Supply Current lEA - 1.0 Notes: 1. High Level Voltage (VODH ' VpH) should not be applied to Voo and PROG pins unless Vee =:. 5V ±5% and EA = 18V ±O.Sv. 2. VOD ' PAOG, and EA should not exceed the above specified range, including overshoot and undershoot. Oscillator Circuits Crystal Oscillator External Clock Drive 5V 47011 1 to 11 ~Hz 2 WBl8749 r - -.....---'''IXTAL1 EXTERNAL '><>1_--...;2"1 X~:L~B749 CLOCK· .----_---''-IXTAL2 XTAL2 20Pf~ "Including stray capacitances *8oth high and low times should be more than 35% of the cycle time, and the rise and fall times should be less than 20n5. 2-60 111111111111111111111111111111111111111111111111111 FUJITSU 111111111111111111111111111111111111111111111111111 MBL8749H/N AC CHARACTERISTICS (TA =OOG to +70 o G. Vcc =Voo =+5V ±10%. VSS =OV) Unit Test Conditons Note 1 Note 1 Notes: 1. Load Conditions: BUS C L = 150pF, Other Outputs C L = BOpF, 1 TTL 2. Load Conditions C L = 20pF, High impedance I Falling edge 1 Rising edge 2-61 111111111111111111111111111111111111111111111111111 FUJITSU MBL8749H/N 111111111111111111111111111111111111111111111111111 AC CHARACTERISTICS (Programming Mode) (TA = 25 ±5'C, Vee = 5V ±5%, VDD = 21V ±O.5Vor 5V ±5%) Value Parameter Symbol Min Max Address setup time (before RESETt) tAW 4· tCY - Address hold time (after RESETl) tWA 4· tCY - Input data setup time (before PROGt) tow 4· tCY - Input data hold time (after PROGI) two 4· tCY - RESET hold time (after EAI) tpH 4· tCY - --.-"~ Voo setup time (before PROGt) tvoow 4· tCY - Voo hold time (after PROGI) t VOOH 0 - Program Pulse width tpw 50 ms 60 ms TO setup time (before RESETt) tTW 4· tCY - TO hold time (after Vool) tWT 4· tey - Data output delay time (after TOt) too - 4· tCY RESET pulse width (to latch Address) tww 4· tCY - Voo and PROG rise/fall time tn t, 0.511S 2.011s MPU cycle time tCY 5.011s - RESET setup time (before EAt) tRE 4· tCY - EA setup time (before RESETt) tEA 10 ms - 2-62 111111111111111111111111111111111111111111111111111 FUJITSU 111111111111111111111111111111111111111111111111111 MBL8749H/N TIMING DIAGRAMS External Program Memory Operations (Instruction Fetch) 1-----tCy·-------+l"I ALE ~~--------~----~I~----~--------- --+Ioot--tc•• ---I BUS FLOATING 1+----tAD.-----;~ External Data Memory Read Operation ALE ....... o----tcc,-----;~ f..--t CA1 BUS FLOATING FLOATING External Data Memory Write Operation ALE I t=";;::;;;;:;:r;:==::;tcc;,==:::11t---tCA1 ------------~----~ ~----------------- tWD BUS _____F~~~M_'N_G__~,'-__~,'-__________~______~________F_LOA_~_'N_G_____ _ 2-63 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIIII: FUJITSU MBL8749H/N 111111111111111111111111111111111111111111111111111 TIMING DIAGRAMS (continued) Four Low-Order Bits of Port 2 When Expander Port And External Program Memory Are Used ALE --~- _ _~--1_-IPP-_~======= PROG OUTPUT PCH P20 TQ23 INPUT PCH PSEN 1/0 Port Output Timing ALE j L f tpy--' P20 TO 23 PCH PL PORT DATA NEW PORT DATA PCH 1\ P24 TO 27 PORT DATA NEW PORT DATA P10 TO 17 Clock Output Timing SI 82 S3 S4 S5 51 S2 S3 S4 S5 TO OUTPUT -------+_' ALE PROG 2-64 11111111I111111111111111111111111111111111111111111 FUJITSU 111111111111111111111111111111111111111111111111111 MBL8749H/N TIMING DIAGRAM (Programming the EPROM) 1ay EA 5Y PROGRAM MODE VERYFYMODE TO 5Y OY .EA_I RESET 5Y OY J.t AW twA DBO~7 )---{ (LO~~RRDER) X INPUT DATA }----- ---~EXTADD~ I I P20-22 ==:::>< ADDRESS (HIGH ORDER) I X NEXT ADDR H-e I DIIU~- :::G :~~ ===-_-_-_-_-_-'"\--:r--.D-JWJ ~1I-.wD-.-:-I-------------------- OY __ j ________________ ~ 2-65 111111111111111111111111111111111111111111111111111 FUJITSU MBL8749H/N 111111111111111111111111111111111111111111111111111 PACKAGE DIMENSIONS 40-Lead Ceramic (Metal Seal) Dual In-Line Package 0'109' (Case No.: DIP-40C-A04) 1 R.050 (1.271 REF INDEX AREA 1.980(50.291 2.020(51.31) 1~060(1.52IMAX .090(2.29) .11012.791 ~ lUJ ---II .. .036(0.911 .04411.121 015(0.381 .02310.581 ~1 I:::::::MA> _-+._-'- .. 150(3.81) .040(1.021 .060(1.53) Dimensions in 1.900148.261REF inches (millimeters) @ 1986 FUJITSU LIMITED D40014S·1 C 2·66 Advanced Products FUJITSU October 1986 • MBL8051AH, Edition 3.0 MBL8031AH NMOS Single-Chip a-Bit Microcomputer Description The Fujitsu MBL8051 AH/8031 AH are single-chip 8-bit micro- computers developed as members of the MBL8051 Series. These microcomputers have powerful architecture and instruction set designed for controller applications. The MBL8051AH contains a 4K x 8-bit program memory (mask ROM), a 128 x 8-bit data memory (static RAM), 32 I/O lines con- v "i f- ~+-~~ figured as four 8-bit parallel ports, two programmable 16-bit f- timer/counters, a programmable serial I/O port, a five-source two-priority-Ievel multi-interrupt function, and on-chip oscillator with clock circuitry. The MBL8031AH has all of these features except the on-chip memory. f-+~r;-A\'u' II The MBL8051 AH/MBL8031 AH can have up to 64K x 8-bit program memory and up to (64K + 128) x 8-bit data memory in I--f-- 1-,,,;: I) - - expanded system configuration. Both microcomputers can use - - standard TTL compatible memories and most byte-oriented Intel MCS-80' and MCS-85' peripherals for additional memory and I/O capability. As a control-oriented feature, the MBL8051 AH/MBL8031 AH have a bit handling hardware: 128 bit-locations in the data memory and the special function registers can be directly addressable by the user with bit manipulation instructions. This =. is very useful for control type applications. f-- The instruction set is designed for efficient use of the program f- memory space: consisting of 44% one-byte, 41% two-byte, and 15% three-byte instructions. At 12MHz clock, over half of the instructions execute in just 1.01'8, while the longest instructions, multiply and divide, require only 41'8. 1'" - -I-- ,!.~~~~~ DIP The MBL8051 AH/MBL8031 AH are fabricated by Fujitsu's N-channel poly-silicon-gate ElD MOS process, and packaged in f-- f-- a 40-pin ceramic or plastic DIP. They have TTL compatible f- f-1- -on' ',11_ f-- I-- inputs/outputs and operate with a single +5V power supply and a 12MHz to 3.5MHz clock. *Trademark of Intel Corporation Portions Reprinted by permission of Intel Corporation @Intel Corporation, 1984. Compilation and addtional materials Copyright @1986 by Fujitsu Limited, Tokyo, Japan, and Fujitsu Microelectronics, Inc., Santa Clara, California, U.S.A. Fujitsu Limited is a licensee of Intel Corporation and authorized to produce alternate source products. 2-67 MBL8051AH MBL8031AH Features and Pin Assignment • Control-Oriented 8-Bit CPU • 4ps (at 12MHz) Multiply and P1.0 Vee • 4K X 8-Bit Program Memory Divide P1.1 PO.O/ADO (ROM lor MBL80S1A!", Only) • On-chip Oscillator P1.2 PO.l/AD1 • 128 x 8-Bit Data Memory (3.SMHz-12MHz) P1.3 PO.2/AD2 (RAM) • Power-Down Mode: 10mA at P1.4 PO.3/AD3 Vpo=SV P1.5 PO.4/AD4 • 32 I/O Lines (Four 8-Blt Ports) P1.8 PD.S/ADS • TTL Compatible I/O P1.7 PO.S/AD6 • 128 x 8-Bit Special Function • Single +SV Power Supply RST PO.7/AD? Registers • N-Channel Silicon-Gate E/D RXD/P3.0 Ell • Two Programmable 16-Bit MOS Process TXD/P3.1 ALE Timer/Counters • Two Package Options: INTO/P3.2 PSEN • Programmable Full-Duplex -40-Pin Ceramic DIP INT1/P3.3 P2.7/A15 Serial Channel (Suffix C) TO/P3.4 P2.8/A14 • Five-Source Maskable Two- -40-Pin Plastic DIP T1/P3.5 P2.5/A13 Priority-Level Multi-Interrupt (Suffix P) WFi/P3.6 P2.4/A12 • Expandability: • Compatible with Intel MCS- AD/P3.? P2.3/A11 -Program Memory: Up to 80*/MCS-8S* Peripherals XTAL2 P2.2/A1D 64K x 8-Bits • MBL8048 Series (equivalent XTAL1 V __ P2.lIA9 to Intel MCS-48*) P2.0/AS } Upto -Data Memory (64K + 128) Architecture -I/O Ports x a Bits Enhanced with: • Boolean Processor: -Non-Paged Jumps -218 User Bit-Addressable -Direct Addressing Locations -Four a-Register Banks -Bit Manipulation -Stack Depth up to 128 Bytes Instructions -Multiply, Divide, Subtract, • Minimum Instruction Execu- Compare tion Time: 1ps (at 12M Hz) *Trademark of Intel Corporation Logic Symbol 5V ~'~} P1.7-P1.0 I/O PORTS DEVICE CONTROL { RSTIVPD Eli P2.7-P2.0 P3.7-P3.0 ~-{ ALE RXO ) - SERIAL iiSeN TXO 1/0 PORTS AD MEMORY ViR INTO } External INTERFACE iNn Interrupt! A 15~A 8 TO Counter! Tl Test Inputs AC7-ADO This device contains circuitry to protect the inputs against damage due to high static voltages or electric fields. However it is advised that normal precautions I be taken to aVOid application of any voltage higher than maximum rated voltages to this high impedance circuit. FUJITSU 2-68 MBL80111AH MBL8031AH Block Diagram DATA MEMORY l~l • : Members 0' Special Function Reglaters (S.F.A.) *: Bit addreuable locetlon • Pin Description Symbol PinHo. Type Hame & Function Power Supply Vcc 40 +5V power supply pin. Vss 20 Ground pin. Clock XTAL1 19 Crystal 1: Input to the inverting amplifier that forms part of the oscillator. This pin should be connected to ground when an external oscillator is used. XTAL2 18 0 Crystal 2: Output of the inverting amplifier. and input to internal clock generator. This pin receives the oscillator signal when an external oscillator is used. I/O Ports PO.7/AD7- 32-39 I/O Port 0: Port 0 is an 8-bit open-drain bidirectional I/O port. As an PO.O/ADO open-drain output port. each pin can sink 8 LS-TTL loads. Port 0 pins that have 1s written to them float. and in that state will . function as high-impedance inputs. Port 0 is also the multiplexed low-order address and data bus during accesses to external memory. In this application it uses strong internal pullups when emitting 1s. P1.7-P1.0 8-1 I/O Port 1: Port 1 is an 8-bit quasi-bidirectional I/O port with internal pullups. The Port 1 output buffers can sink/source 4 LS-TTL loads. Port 1 pins that have 1s written to them are pulled high by the internal pullups. and in that state can be used as inputs. As inputs. Port 1 pins that are externally being pulled low will source current (IlL. on the data sheet) because of the internal pullups. FWITSU 2-69 MBL8051AH MBL8031AH Pin Description (continued) Symbol Pin No. Type Name & Function I/O Ports (Continued) P2.7/A15- 28-21 I/O Port 2: Port 2 is an 8-bit quasi-bidirectional I/O port with P2.0/A8 internal pullups. The Port 2 output buffers can sink/source 4 LS- TTL loads. Port 2 emits the high-order address byte during accesses to external memory that use 16-bit addresses. In this application it uses the strong internal pull ups when emitting 1s. Port 2 also receives the high-order address and control bits during program verification. P3.7-P3.0 17-10 I/O Port 3: Port 3 is an 8-bit bidirectional I/O port with internal pullups. It also serves the functions of various special features of the MBL8051AH. as listed below: Port Pin Alternate Function P3.0 RXD (Serial input port) P3.1 TXD (Serial output port) P3.2 INTO (External interrupt 0) P3.3 P3.4 P3.5 ° INT1 (External interrupt 1) TO (Timer external input) ll(Timer 1 external input) P3.6 WR (External data memory write strobe) P3.7 RD (External data memory read strobe) The output latch corresponding to a secondary function must be programmed to a one (1) for that function to operate. The Port 3 output buffers can source/sink 4 LS-TTL loads. Other Ports RST 9 Reset input: A high on this pin for two machine cycles while the oscillator is running resets the device. A small external pulldown resistor (=8.2kCl) from RST to Vss permits power-on reset when a capacitor (=10pF) is also connected from RST to Vcc. ALE 30 a Address Latch Enable output pulse for latching the low byte of the address during accesses to external memory: ALE is emitted at a constant rate of 1/6 of the oscillator frequency. for external timing or clocking purposes. even when there are no accesses to external memory. However. one ALE pulse is skipped during each access to external data memory. ALE can sink/source 8 LS- TTL inputs. PSEN 29 a Program Store Enable is the read strobe to external program memory. When the device is executing out of external program memory. PSEN is activated twice each machine cycle (except that two PSEN activations are skipped during accesses to external data memory). PSEN is not activated; remaining high. during internal program memory execution. EA 31 External Address Enable input: When EA is held high the CPU executes out of internal program memory (unless the program counter exceeds OFFFH). Holding EA low forces the CPU to execute out of external memory reQ!!!:dless of the program counter value. In the MBL8031AH. EA must be externally wired low. FUJITSU 2-70 MBLIOStAH MBL803tAH Inatructlon Set Deacrlptlon The MBL8051AH Instruction set The MBL8051 AH instruction set The following table summarizes includes 111 instructions, 49 of is divided into five functional the MBL8051AH instruction set. which are single-byte, 45 two- groups: byte and 17 three~byte. The instruction op code • Arithmetic Operations format consists of a function • Logical Operations mnemonic followed by a • Data Transfer "destination, source" operand • Boolean Variable field. This field specifies the Manipulation data type and addressing • Program & Machine Control method(s) to be used. (subroutine control/branch) Instruction Set Op Summary (1) Mnemonl. Code Bytel Program Statu. Word +O......nd Operation (Hall) Cy.1e C AC FO RSt RSO ow P Arithmetic Operations ADDA, Rn Add reg ister to accumulator 2X III • • • ADD A, direct Add direct byte 25 2/1 • • • to accumulator ADDA,@Ri Add indirect RAM 26 111 • • to accumulator 27 ADDA,#data Add immediate data to accumulator 24 2/1 • • • ADDCA, Rn Add register to accumulator with 3X 111 • • • carry AD DC A, direct Add direct byte to accumulator with 35 211 • • • carry ADDCA,@Ri Add indirect RAM to accumulator with 36 37 111 • • • carry ADDCA, #data Add immediate data 34 2/1 • • • to accumulator with carry SUBB A, Rn Subtract register 9X III • .. • from accumulator with borrow SUBB A, direct Subtract direct byte from accumulator 95 211 • • • with borrow SUBBA,@Ri Subtract indirect RAM from accumulator 96 97 III • • • with borrow· SUBB A, #data Subtract immediate data from accumulator 94 211 • • • with borrow INCA Increment accumulator 04 111 • • • • • • INC Rn Increment register OX 111 • • • • • • • PU.JI'1'SU 2-71 MaL8051AH MaL8031AH Instruction Set Summa'Y (1)(Continued) Op Mnemonic Coda a,.., Program Statua Word p +O......nd Operation (Ha.) C,cle C AC FO RS1 RaO OV Arithmetic Operations (continued) INC direct Increment direct byte 05 2/1 • • • • • • • INC@Ri Increment indirect 06 III • • • • • • • RAM 07 INC DPTR Increment data A3 1/2 • • • • • • pointer DEC A Decrement accumulator 14 III • • • • • • DECRn Decrement register IX III • • • • • • • DEC direct Decrement direct byte 15 2/1 • • • • • • • DEC@Ri Decrement indirect RAM 16 17 111 • • • • • • • MULAB Multiply A and B A4 1/4 • • • • DIVAB DivideAby B 84 1/4 • • • • DAA Decimal adjust D4 III • • • • • accumulator Mnemonics @ Intel Corporation 1979 Instruction Set Summa'Y(2) Op Program Status Word Mnamonlc Code a,tal + Operand Operation (He.) C,cle C AC FO RS1 RSO OV p Logical Operations ANLA, Rn AND register to accumulator 5X 111 • • • • • • ANL A, direct AND direct byte 55 2/1 • • • • • • to accumulator ANL A, @Ri AND indirect RAM 56 III • • • • • • to accumulator 57 ANL A, #data AND immediate data to accumulator 54 211 • • • • • • ANL direct, A AND accumulator 52 211 • • • • • • • to direct byte ANLdirect, #data AND immediate data to a direct byte 53 3/2 • • • • • • • ORLA, Rn OR register to accumulator 4X III • • • • • ORL A, direct OR direct byte 45 211 • • • • • • to accumulator ORL A, @Ri OR indirect RAM to accumulator 46 47 III • • • • • • ORL A, #data OR immediate data to accumulator 44 211 • • • • • • ORL direct, A OR accumulator 42 2/1 • • • • • • • to direct byte ORLdirect, #data OR immediate data to direct byte 43 3/2 • • • • • • • XRLA, Rn Exclusive-OR 6X III • • • • • • register to accumulator XRL A, direct Exclusive-OR direct byte to accumulator 65 211 • • • • • • F'WI'I'SU 2-72 MBLa051AH MBLa031AH Instruction Set Summary (2)(Continued) Op Mnemonic Program Statue Word Cod. B,tel + Operand Operation (H•• ) C,el. C AC FO RS1 RSO OV P Logical Operations (continued) XRLA,@Ri Exclusive-OR indirect RAM to 65 1/1 • • • • • • accumulator 67 XRL A, #data Exclusive-OR 64 2/1 • • • • • • immediate data to accumulator XRL direct, A Exclusive-OR accumulator to 62 2/1 • • • • • • • direct byte XRLdirect, #data Exclusive-OR immediate data to 63 3/2 • • • • • • • direct byte CLRA Clear accumulator E4 111 • • • • • • CPLA Complement accumulator F4 111 • • • • • • • RLA Rotate accumulator 23 111 • • • • • • • left RLCA Rotate accumulator left through carry 33 111 • • • • • RRA Rotate accumulator right 03 111 • • • • • • • RRCA Rotate accumulator right through carry 13 1/1 • • • • • SWAP A Swap nibbles within accumulator C4 111 • • • • • • Mnemonics @ Intel Corporation 1979 Instruction Set Summary (3) Op Mnemonic Program Statu. Word Cod. Briel + Operand Operation (H••) C,e'. C AC FO RS1 RBO OV P Data Transfer MOVA, Rn Move register to accumulator EX 111 • • • •• • 'MOV A, direct Move direct byte to accumulator E5 2/1 • • • • • • MOVA,@Ri Move indirect RAM E6 1/1 • • • • • • to accumulator E7 MOV A, #data Move immediate data to accumulator 74 2/1 • • • • • • MOVRn,A Move accumulator to register FX 111 • • • • • • • MOV Rn, direct Move direct byte AX 2/2 • • • • • • • to register MOV Rn, #data Move immediate data 7X 2/1 • • • • • • • to register MOV direct, A Move accumulator F5 2/1 • • • • • • • to direct byte MOV direct, Rn Move reg ister to to direct byte 8X 2/2 • • • • • • • MOVdirect, Move direct byte 85 3/2 • • • • • • • direct to direct byte , MOV A, ACC is not a valid instruction FUJITSU 2-73 - ---,---- --_._- -- -_._--- -- -"- ----------. ----.-----_._------- MaL805iAH MaL803iAH Instruction Set Summary (3)(Continued) Op Program Status Word Mnamonlc Code ayte' + Operand Operation (He,,) Cycle C AC FO RSi RSO OV p Data Transfer (continued) MOV direct, @Ri Move indirect RAM to direct byte 86 87 2/2 • • • • MOV direct, #data Move immediate data to direct byte 75 3/2 • • • MOV@Ri,A Move accumulator to indirect RAM F6 1/1 • • • F7 MOV@Ri, Move direct byte A6 2/2 • • • • • direct to indirect RAM A7 MOV@Ri, #data Move immediate data to indirect RAM 76 77 2/1 • • • • • MOV DPTR, Load data pointer 90 3/2 • • #data 16 with a 16-bit constant MOVCA, @A+DPTR Move code byte 93 1/2 • • • • • relative to data pointer to accumulator MOVCA, @A+PC Move code byte 83 1/2 • • • relative to program counter to accumulator MOVXA,@Ri Move external RAM E2 1/2 • • • • • (8-bit addr) to E3 accumulator MOVXA, @DPTR Move external RAM EO 1/2 • • • (16-bit addr) to accumulator MOVX@Ri,A Move accumulator to external. RAM F2 F3 1/2 • • • • • • (8-bit addr) MOVX Move accumulator FO 1/2 • • • • • • • @DPTR,A to external RAM (16- bit addr) Mnemonics © Intel Corporation 1979 IF'WITSU 2-74 MaL8051AH MaL8031AH Instruction Set Summar, (3)(Continued) Mnemonic + Operend Op Code a,., Program Statu. Word Operation (Hell) Cycle C AC FO RS1 RSO OV P Data Transfer (continued) PUSH direct Push direct byte onto stack CO 2/2 • • • • • • • POP direct Pop direct byte from stack DO 2/2 • • • • • • • XCHA, Rn Exchange register with accumulator CX 111 • • • • • • XCH A, direct Exchange direct byte with accumulator C5 2/1 • • • • • • XCHA,@Ri Exchange indirect RAM with C6 C7 1/1 • • • • • • accumulator XCHDA,@Ri Exchange low-order digit indirect RAM 06 07 1/1 • • • • • • with A Boolean Variable Manipulation CLRC Clear carry flag C3 111 • • • • • • CLR'bit Clear direct bit C2 211 • • • • • • • SETBC Set carry flag 03 111 • • • • • • SETB bit Set direct bit 02 2/1 • • • • • • • CPLC Complement carry B3 1/1 • • • • • • flag CPLbit Complement direct bit B2 2/1 • • • • • • • ANLC, bit AND direct bit to 82 2/2 • • • • • • carry flag ANLC,1 bit AND complement of direct bit to BO 2/2 • • • • • • carry flag ORL C/bit OR direct bit to carry flag 72 2/2 • • • • • • ORLC,1 bit OR complement of AO 2/2 • • • • • • direct bit to carry flag MOV C/bit Move direct bit to carry flag A2 2/1 • • • • • • MOV bit, C Move carry flag to direct bit 92 2/2 • • • • • • • Mnemonics @ Intel Corporation 1979 FUJITSU 2-75 MBL80S1AH MBL8031AH Instruction Set Summary (4) Op Mnamonlc Program Statua Word Coda B,ta' + Oparand Oparation (Hall) C,cla C AC FO RS1 RSO OV P Program and Machine Control ACALL addr 11 Absolute subroutine call "1 2/2 • • • • • • • CALL addr ACALL addr 11 or LCALL addr 16 • • • • • • • LCALL addr 16 Long subroutine call 12 3/2 • • • • • • • RET Return from subroutine 22 112 • • • • • • • RETI Return from interrupt 32 112 • • • • • • • AJMPaddr 11 Absolute jump "1 2/2 • • • • • • • LJMP addr 16 Long jump 02 3/2 • • • • • • • SJMP rei Short jump (relative addr) 80 2/2 • • • • • • • JMP @A+DPTR Jump indirect relative to data pOinter 73 1/2 • • • • • JZ rei Jump if accumulator is zero 60 2/2 • • • • • JNZ rei Jump if accumulator is not zero 70 2/2 • • • • • • • JCrel Jump if carry flag is set 40 2/2 • • • • • • JNC rei Jump if carry flag is not set 50 2/2 • • • • • • JB bit, rei Jump if direct bit is set 20 3/2 • • • • • • • JNB bit, rei Jump if direct bit is not set 30 3/2 • • • • • • • JBC bit, rei Jump if direct bit is 10 3/2 • • • • • • • set & clear bit CJNEA, direct, rei Compare direct to accumulator & jump B5 3/2 • • • • • • if not equal CJNEA, #data, rei Compare immediate data to A & jump if B4 3/2 • • • • • • not equal CJNE Rn, Compare immediate 66 3/2 • • • • • • #data, rei data to reg. & jump if B7 not equal CJNE@Ri, #data, rei Compare immediate data to indirect RAM BX 3/2 • • • • • • & jump if not equal DJNZ Rn, rei Decrement register DX 2/2 • • • • • • • & jump if not zero DJNZ direct, rei Decrement direct byte & jump if not D5 3/2 • • • • • • • zero NOP No operation 00 111 • • • • • • • Mnemonics @ Intel Corporation 1979 FUJITSU 2.76 MBLB051AH MBLB031AH Instruction Set Description (Continued) Notes on Data Addressing Modes: Rn - Working register RO-R7 (See Table 1 below) direct - 128 internal RAM locations, any liD port, control status register @Ri - Indirect internal RAM location addressed by register RO or Rl #data - 8-bit constant included in instruction #data 16 - 16-bit constant included as bytes 2 & 3 of instruction bit - 128 software flags, any liD pin, control status bit Notes on Progrsm Addressing Modes: addr16 - Destination address for LCALL & LJMP may be anywhere within the 64K program memory address space. addr 11 - Destination address for ACALL & AJMP will be within the same 2K page of program memory as the first byte of the following instruction. rei - SJMP and all conditional jumps include an 8-bit offset byte. Range is +127 to -128 bytes relative to first byte of the following instruction. Notes on Affecting Flag Setting: I - Affected (set or reset) • - Not affected Notes on Instruction Set Op Codes: 1. See Table 1 for op code X. 2. 'The first 3 bits of op code are determined by operand (addr 11). 'nIble 1 Op codes of Register Access Instructions Mnemonic + Operand Rn RO R1 R2 R3 R4 RS R8 R7 AOOA, Rn 28 29 2A 2B 2C 20 2E 2F AOOCA, Rn 38 39 3A 3B 3C 3D 3E 3F SUBB A, Rn 98 99 9A 9B 9C 90 9E 9F INC Rn 08 09 OA DB DC 00 DE OF DEC Rn 18 19 lA lB lC 1D IE IF ANLA, Rn 58 59 5A 5B 5C 50 5E 5F ORLA, Rn 48 49 4A 4B 4C 40 4E 4F XRLA, Rn 68 69 6A 7B 6C 60 6E 6F MOV A, Rn E8 E9 EA EB EC EO EE EF MOVRn, A F8 F9 FA FB FC FO FE FF MOV Rn, #data 78 79 7A 7B 7C 70 7E 7F MOV Rn, direct A8 A9 AA AB AC AD AE AF MOV direct, Rn 88 89 8A 8B 8C 80 8E 8F XCH A, Rn C8 C9 CA CB CC CD CE CF FWITSU 2-77 MBL8051AH MBL8031AH Instruction Set Description (Continued) Instruction Code Summary H 0 1 2 3 4 5 6 7 8 9 A B C D E F L MOV MOVX MOVX NOP JBC JB JNB JC JNC JZ JNZ SJMP OAL ANL PUSH POP @DPTA, DPTA,# A, 0 bit, rei bit, rei bit, rei r.' rei rei rei rei C, (bit C,/bit dir dir @DPTA A data 16 AJMP ACALL AJMP ACALL AJMP ACALL AJMP ACALl AJMP ACALL AJMP ACALL AJMP ACALL AJMP ACALL 1 (PO) (PO) (P1) (P1) (P2) (P2) (P3) (P3) (P4) (P4) (P5) (P5) (P6) (P6) (P7) (P7) LJMP LCALL AET RETI OAL ANL XAL OAL ANL MOV MOV CPL CLA SeTS MOVX MOVX 2 addr16 addr-16 dir, A dir, A dir,A C, bit C, bit bit, C C, bit bit bit bit A,@AD @AD,A AA AAC AL ALC OAL ANL XAL JMP MaVeA, MQVeA, INC CPL CLA SETS MOVX MOVX 3 A A A A dir, #data dir, #data dir, #data ~A+DPTA @A+PC ~A+DPTR OPTR C C C A,@A1 @A1,A INC DEC ADD ADDC OAL ANL XAL MOV DIV SUBB MUL CJNE, A, SWAP DA CLA CPL 4 A A A A, #data A, #data A, #data A, #data A, #data A, #data AB A, #data AB #data, rei A A A INC DEC ADD AOOC OAL ANL XAL MOV MOV SUBB CJNE XCH DJNZ MOV MOV 5 dir dir A, dir A, dir A, dir A, dir A, dir dir, #data dir, dir A, dir A, dir, rei A, dir dir, rei A, dir dir, A MOV CJNE INC DEC ADD ADDC OAL ANL XAL MOV SUBS MOV XCH XCHD MOV MOV W!d~t~~~el A,@AD 6 @AD, @AO,A @AO @AO A,@AO A,@AO A,@AO A,@AO A,@AD dir,@RO A,@AO @RO,dir A,@AD A,@AO #data INC DEC ADD ADOC OAL ANL XAL MOV MOV SUBB MOV CJNE XCH XCHD MOV MOV Wtd~t:,1 ~et A,@A1 7 @A1, @A1,A @A1 @A1 A,@A1 A,@A1 A,@A1 A,@A1 A,@A1 # data dir,@R1 A,@A1 @R1,dir A,@A1 A,@A1 INC DEC ADD ADDC OAL ANL XAL MOV MOV SUSB MOV CJNE XCH DJNZ MOV MOV 8 AO, #data, RO AO A, RO A, AD A, AD A, RO A, AO RO, #data dir, AD A, AO AO, dir A, AD RO, ret A, AO AO, A rei INC DEC ADD ADDC OAL ANL XAL MOV MOV SUBS MOV CJNE XCH DJNZ MOV MOV 9 A1, #data, R1 A1 A,R1 A,R1 A, A1 A,R1 A,A1 A1, #data dir, A1 A, A1 A1, dir A, A1 R1, rei A, A1 A1, A r.' INC DEC ADD AOOC OAL ANL XAL MOV MOV SUBS MOV CJNE XCH DJNZ MOV MOV A A2, #data, A2 A2 A, R2 A, A2 A, A2 A, A2 A, A2 A2, #data dir, A2 A, A2 A2, dir A, A2 R2, ret A, A2 A2, A rei INC DEC ADD AODC OAL ANL XAL MOV MOV SUBS MOV CJNE XCH DJNZ MOV MOV B A, A3 A3, dir A3, #data, A3 A3 A, A3 A, R3 A, R3 A, A3 A, A3 A3, #data dir, A3 A, A3 A3, ret A, R3 A3, A rei INC DEC ADD ADDC OAL ANL XAL MOV MOV SUBS MOV CJNE XCH OJNZ MOV MOV C A4,#data, R4 A4 A, R4 A, R4 A, R4 A, R4 A, R4 R4, #data dir, R4 A, A4 R4, dir A, R4 R4, ret A, A4 R4, A rei INC DEC ADD ADDC OAL ANL XAL MOV MOV SUBS MOV CJNE XCH OJNZ MOV MOV D AS, #data, AS AS A, RS A, RS A, AS A, RS A, RS RS, #data dir, AS A, AS RS, dir rei A, RS RS, ret A, RS RS, A INC DEC ADD ADDC OAL ANL XAL MOV MOV SUBS MOV CJNE XCH OJNZ MOV MOV E R6,#data, R6 A6 A, A6 A, AS A, RS A, AS A, A6 RS, #data dir, R6 A, R6 R6, dir A, A6 RS, ret A, R6 RS, A rei INC DEC ADD ADDC OAL ANL XAL MOV MOV SUBS MOV CJNE XCH DJNZ MOV MOV F R7, #data, A7 A7 A, R7 A, R7 A, R7 A, R7 A, R7 R7, #data dir, R7 A, R7 R7, dir rei A, A7 A7, ret A, A7 R7,A 2Byte 3Byte 2Cycle Boolean Manipulation 4Cycle FUJITSU 2-78 MBL8051AH MBL8031AH Absolute Maximum Ratings Rating Parameter Symbol Min. Max. Unit Supply Voltage Vee Vss-0.3 V ss +7.0 V Input Voltage V1N Vss-0.3 V ss +7.0 V Output Voltage VOUT Vss-0.3 Vss +7.0 V Power Dissipation PD 1.5 W Operating Ambient Temperature TA 0 +70 °C Storage Temperature Tstg -55 +150 °C Note: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Recommended Operating Conditions Value Parameter Symbol Min. Typ. Max. Unit Vee 4.5 5.0 5.5 V Supply Voltage Vss 0 V Operating Ambient Temperature TA 0 +70 °C FWITSU 2-79 MBL8051AH MBL8031AH DC Characteristics (Vee = 5V ±10%, VSS = OV, T A = O·C to 70·C) Value Test Parameter Pin Symbol Min. Max. Unit Conditions All Inputs except Input High V,H 2.0 Vcc+0.5 V RST and XTAL2 Voltage RST and XTAL2 V,H1 2.5 Vcc+0.5 V XTAL1=OV Input Low V ,L Vss-0.3 O.S V Voltage Power-Down VPD Vpo 4.5 5.5 V Vee=OV Voltage Output High Ports 1, 2, 3 V OH 2.4 V IOH=-SOpA Voltage Port 0, ALE, PSEN VOH1 2.4 V 'OH=-400pA Output Low Ports 1, 2, 3 VOL 0.45 V IOL =1.6rnA Voltage Port 0, ALE, PSEN Vou 0.45 V IOL=3.2rnA Low Level Ports 1, 2, 3 I,L -500 pA V ,N =0.45V Input Leakage XTAL1 =OV, Current XTAL2 I'L2 -3.2 rnA VIN=0.45V High Level Input Leakage RST I'HI 500 pA Y,N < Vcc -1.5V Current Input Leakage Port 0, EA III -10 +10 pA 0.45V;% VSS C1 : C2 : 30pF ± 10pF Xtal = Crystal Resonator FUJITSU 2·83 MBLB051AH MBLB031AH Serial Port Tlming- (Test Conditions: VCC = 5V ± 10%, Vss=OV, TA = O°C to 70°C, CL = 80 pF) Shift Register Mode Ie = 12MHz Ie = 3.5MHz to 12MHz Symbol Parameter Units Min Max Min Max TXLXL Serial Port Clock Cycle Time 1.0 12TCLCL J.'s TOVXH Output Data Setup to Clock Rising Edge 700 10TCLCL·133 ns TXHOX Output Data Hold After Clock Rising Edge 50 2TCLCL·117 ns TXHDX Input Data Hold After Clock Rising Edge 0 0 ns TXHDV Clock Rising Edge to Input Data Valid 700 10TCLCL·133 ns Serial Port Timing Diagram INSTRUCTION I ALE CLOCK TQXH~r-TXHQ~ OUTPUT DATA WRITE TO SERIAL BUFFER I ,II _ I TXHDV I I l i T X H D X SET TI INPUT ~~;:A-R-'____==_==_=='--.A.:.='-.A.:.='-.AC.='-J\...=''--A-,F'' seT AI FUJITSU 2·84 MBL8051AH MBL8031AH Package Dimensions Dimensions in inches 40-Lead Ceramic (millimeters) (Metal Seal) Dual In-Line Package (Case No.: DIP-40C-A01) O"to9° 1 "::.~[; ~ ~ I : : [ : -, : 0 1.980(50.29} 1: :: : : : ]j~L,:~~:;:: I 2.020(51.31) -~~~_]'7714 ~ UJ.J I 50)MAX 1 I 090(229) 036(091} ~ 015(038} I -;0(102) 120)305) 150(381} 110(279} 055(140)~~ _ _ _02~058) _ _ _ _ _ _ _ ----l 060(153) t.900(48.26}AEF ® 1986 FUJITSU LIMITED D40006S-1 C 40-Lead Plastic Dual In-Line Package (Case No.: DIP-40P·M01) lS0MAX. r 1 .590114.991 .610115.49) ~.100(2.54ITYP. .015(0.38) .021(0.54) ® 1985 FUJITSU LIMITED D40005S-1 C FUJITSU 2-85 Advanced Products FUJITSU November 1984 • MBL80C49H/N Edition 1.0 MBL80C39H/N CMOS Single-Chip 8-Bit Microcomputer Description The Fujitsu MBL80C49/MBL80C39 is a totally self-contained 8-bit single-chip microcomputer fabricated wit~, silicon-gate CMOS technology. The MBL80C49 has an 8-bit MPU, a 2K x 8 ROM program memory, and 128 x 8 RAM data memory, 27 I/O ports, an 8-bit timer/counter, and clock generator on chip. The MBL80C39 is identical to the MBL80C49 except without internal program memory. It can be used with external memory for system prototyping and preproduction systems. The design is optimized for low cost and high performance applications because the MBL80C49/MBL80C39 is fabricated on a single silicon chip and can be used for applications that require additional expansion of ROM, RAM, I/O ports, and so on. This microcomputer permits external program operation and single-step operation. Low power applications are possible by using the standby-mode feature. The software is upward compatible with the MBL8049/MBL8039 and Intel 8049/8039. The MBL80C49/MBL80C39 uses a single power supply of +5V. It is packaged in a 40-pin DIP or a 48-pin Flat Package. Operation of N version (6 MHz) is guaranteed over the range of -40°C to +85°C, and H version (11 MHz), O°C to +70°C. Features • 8-bit Single-chip • Easily Expandable Memory Microcomputer and I/O • 12-blt Addressing • On-Chip Clock Generator • 98 Instructions (232 (or External Clock) Instruction Codes): 70% of • Single-level Interrupt Instructions are Single Byte. Capability • 2.5 J.IS Instruction Cycle for • Single-step Operation N version, 1.36 p.s instruction Capability cycle lor H version: Ali • External Program Mode instructions are 1 or 2 cycle. Capability • ALU Functions: Addition, • Low-power Standby Mode Decimal Adjust Addition, Capability by HALT and and Logic Operations STOP Instructions • 2K x 8-blt ROM • Single +5V Power Supply • 128 x 8-bit RAM • Silicon-gate CMOS • 8-level Stack Technology • 8 pairs of Working Registers • Standard 40-pin DIP • 8-bit Interval Timer/Event (Ceramic/Plastic) Counter • Standard 48-pin Flat • 27 I/O Lines: Two 8-bit I/O Package Ports, One Data Bus, Two • Compatible with Intel Test Pins and One Interrupt 8049/8039 and Fujitsu MBL8049/MBL8039 Portions reprinted by permission of Intel Corporation Copyright © 1983 Intel Corporation. Compilation and additional materials Copyright·f. 1985 by Fujitsu Limited, Tokyo, Japan. and Fujitsu Microelectronics, Inc., Santa Clara, California, U.S.A. Fujitsu limited is a licensee of Intel Corporation and authorized to produce alternate source products. 2-86 MBL80C49H/N MBL80C39H/N Pin Anlgnment 40-P1N DIP 48-PIN FLAT PACK T. Vee XTAl1 XTAl2 T1 P27 '~~~~~~:t!~~~~ " RESET P26 ss P2' INT P2' EA P17 iii5 P1. PSEN P15 NC DB3 WR P1' SR DB2 ALE P13 P1. DB1 DB. P12 P11 DB. DB1 P11 P12 NC DB2 P1. P13 TOP ALE DB3 SR NC VIEW WR DB. PROG P1. PSEN DB, P23 P15 NC DB. P22 P1. Ao DB7 P21 P17 EA Vss P'. NC INT Logic Symbol ., PORT PORT .2 ADDRESS BUS LATCH ENABLE L.----------.r--~~~~NDER STROBE FUJITSU 2-87 MBL80C49H/N MBL80C39H/N Block Diagram EXPANSION TO MODEI/DAND MEMORY RI;GISTER 0 REGISTER 1 REGISTER 2 TEST 0 REGISTER 3 TEST 1 REGISTER 4 INT w REGISTEFI 5 c FLAG 0 c REGISTER 6 U FLAG 1 w REGISTER 7 C TIMER 8 LEVEL STACK FLAG (VARIABLE LENGTH) CARRY OPTIONAL SECOND ACC REGISTER BANK ACCBIT TEST DATA STORE RESIDENT RAM ARRAY (128 x8) ADDRESS LATCH STROBE CYCLE CLOCK Pin Description Symbol Name Pin No.* Type Function Vee Power Supply 40 (18) Main power supply; +5V during operation. Vss Ground 20 (42) Circuit GND potential. One side of crystal input for internal oscillator. XTAL1 Crystal 1 2 (21) Also input for external source. (Non-TTL level input) XTAL2 Crystal 2 3 (22) Other side of crystal input. PROG Program 25 (48) o Output strobe for MBL82C43 liD expander. 27-34 P10-P17 Port 1" (3-6, liD 8-bit quasi-bidirectional port. 8-11 ) 8-bit quasi-bidirectional port. 21-24 P20-P23 (44-47) P20-P23 contain the four high order program Port 2" liD counter bits during an external program 35-38 memory fetch and serve as a 4-bit liD expander P24-P27 (13-16) bus for MBL82C43. FUJITSU 2-88 MBL80C49H/N MBL80C39H/N Pin Description (Continued) Symbol Name Pin No.* tYpe Function True bidirectional port which can be written or read synchronously using the RD, WR strobes. 12-19 The port can also be statically latched. DBO-DB7 Data Bus (33-37, I/O Contains the B low order program counter bits 39-41) during an external program memory fetch, and receives the addressed instruction under the control of PSEN. Also contains the address and data during an external RAM data~re instruction under control of ALE, RD, and WR. Input pin testable using the conditional transfer instructions JTO and JNTO. TO can be TO Test 0 1 (20) I/O designated as a clock output using ENTO ClK instruction. Input pin testable uising the JT1, and JNT1 T1 Test 1 39 (17) instructions. Can be designated as the event counter input using the STRT CNT instruction. Interrupt input. Initiates an interrupt if interrupt is enabled. Interrupt is disabled after a reset. Interrupt (Active low). INT 6 (25) Request Interrupt must remain low for at least 3 machine cycles to ensure proper operation. Input used to initialize the processor. (Active low) RESET Reset" 4 (23) (Non-TTL level input) Output strobe activated during a BUS read. Can be used to enable data onto the BUS from an RD Read B (27) a external device. (Active low) Used as a read strobe to external data memory. Output strobe during a BUS write. (Active low) WR Write 10 (30) a Used as write strobe to external data memory. This signal occurs once during each cycle and is useful as a clock output. Address ALE Latch Enable 11 (31) a The negative edge of ALE strobes address into external data and program memory. Program This output occurs only during a fetch to PSEN Store Enable 9 (29) a external program memory. (Active low) Single step input can be used in conjunction SS Single Step" 5 (24) with ALE to "single step" the processor through each instruction. (Active low) External Access forces all prog ram memory fetches to reference external memory. Useful for External EA Access 7 (26) a emulation and debug, and essential for testing and program verification. (Active high) This is the control input for standby operation. Standby SR 26 (2) A low level on this input releases the MPU from Release** the standby mode. Nole: ·Bracketed value is applied to Flat Package. "These pins are internally pulled up. FUJITSU 2-89 MBL80C48H/N MBL80Ca8H/N Functlona' D•• crlptlon Architecture If the operation performed by Therefore, the first instruction The following sections break the ALU results in a value to be executed after initializa- represented by more than tion is stored in location 0, the the MBL80C49 into function 8 bits (overflow of most first word of an external inter- blocks and describe each in significant bit), a Carry Flag is rupt service subroutine is detail. See Block Diagram. set in the Program Status stored in location 2, and the Word. first word of a timer/counter Arithmetic Section service routine i.s stored in The arithmetic section of the Accumulator location 7. Program memory processor contains the basic can be used to store constants The accumulator is the single data manipulation functions of most important data register in as well as program instructions. the MBL80C49 and can be Instructions such as MOVP the processor, being one of the divided into the following and MOVP3 allow easy access sources of input to the ALU blocks: to data "look-up" tables. and often the destination of the • Arithmetic Logic Unit (ALU) result of operations performed • Accumulator Data Memory in the ALU. Data to and from • Carry Flag Resident data memory is I/O ports and memory also • Instruction Decoder organized as 128 words normally passes through the accumulator. 8-bits wide in the In a typical operation, data MBL80C49/MBL80C39. All stored in the accumulator is Program Memory locations are indirectly combined in the ALU with data addressable througp,either of from another source on the Resident program memory two RAM Pointer Registers internal bus (such as a register consists of 2048 words eight which reside at address 0 and or I/O port). The result is stored bits wide which are addressed 10f the register array. In in the accumulator or another by the program counter. In the addition, as shown in Fig. 2, register. MBL80C49 the memory is ROM the first 8 locations (0-7) of which is mask programmable the array are designated as The following is a detailed at the factory. The MBL80C39 working registers and are description of the function of has no internal program directly addressable by several each block. memory and is used with instructions. Since these external memory devices. registers are more easily I nstructlon Decoder ~rogram code is completely addressed, they are usually The operation code (op code) Interchangeable among the used to store frequently portion of each program various versions. To access the accessed intermediate results. upper 2K of program memory instruction is stored in the The DJNZ instruction makes Instruction Decoder and in the MBLBOC49, a select very efficient use of the converted to outputs which memory bank and a JUMP or working registers as program control the function of each of CALL instruction must be loop counters by allowing the the blocks of the Arithmetic executed to cross the 2K programmer to decrement and Section. These lines control boundary. test the register in a single the source of data and the instruction. destination register as well as There are three Program the function performed in the Memory locations of special By executing a Register B~~k ALU. importance as shown in Fig. 1. Switch instruction (SEL RB) RAM location 24-31 are Location 0 designated as the working Arithmetic Logic Unit The ALU accepts 8-bit data Activating the Reset line of the registers In place of locations processor causes the first 0-7 and are then directly words from one or two sources and generates an 8-bit result instruction to be fetched from addressable. This second bank under control of the Instruction location O. of working registers may be Decoder. The ALU can perform used as an extension of the the following functions: Location 3 first bank or reserved for use ";-ctivating the Interrupt input during interrupt service • Add With or Without Carry line of the processor (if subroutines allowing the • AND, OR, Exclusive OR interrupt is enabled) causes a registers of Bank 0 used in the • IncremenVDecrement jump to subroutine at location main program to be instantly • Bit Complement 3. "saved" by a Bank Switch. Note • Rotate Left, Right that if this second bank is not • Swap Nibbles Location 7 used, locations 24-31 are still • BCD Decimal Adjust addressable as general purpose A timer/counter interrupt RAM. Since the two RAM resulting ·from timer/counter pointer Registers RO and R1 ?verflow (if enabled) causE!~ a are a part of the working Jump to subroutine at location register array, ban~ switching 7. PUJITSU 2-90 MBL80C41H/N MBL80C31H/N Functional Description (Continued) effectively creates two more read by an input instruction. the pC "reads" the port, pointer registers (RO/ and R1/) Inputs are fully TTL compatible modifies the data according to which can be used with RO and and outputs will drive one the instruction, then "writes" R1 to easily access up to four standard TTL load. the data back to the port. The separate working areas in RAM "writing" (essentially an OUTL at one time. RAM locations The lines of ports 1 lind 2 are instruction) enables the low (8-23) also serve a dual role in called quasi-bidirectional impedance pull up momentarily that they contain the program because of special output again even if the data was counter stack. These locations ci rcuit structure which allows unchanged from a "1". This are addressed by the Stack each line to serve as an input, specifially applies to the Pointer during subroutine calls and output, or both even configurations that have inputs as well as by RAM Pointer though outputs are statically and outputs mixed together on Registers RO and R1. If the latched. Each line is the same port. level of subroutine nesting is continuously pulled up to Vee less than 8, all stack registers through a resistive device of Bus are not required and can be relatively high impedance. Bus is also an 8-bit port which used as general purpose RAM is a true bidirectional port with locations. Each level of This pull up is sufficient to associated input and output subroutine nesting not used provide the source current for strobes. If the bidirectional provides the user with two a TTL high level yet can be feature is not needed, Bus can additional RAM locations. pulled low by a standard TTL serve as either a statically gate thus allowing the same latched output port or non- Input/Output pin to be used for both input latched input port. Input and and output. To provide fast The MBL80C49 has 27 lines output lineson this port cannot switching times in a "0" to "1" which can be used for input or be mixed however. transition to relatively low output functions. These lines As a static port, data is written impedance device is switched are grouped as 3 ports of 8 and latched using the OUTL in momentarily (=1/5 of a lines each which serve as instruction and inputted using machine cycle) whenever a "1" either inputs, outputs of the INS instruction. The INS is written to the line. When a bidirectional ports and 3 "test" "0" is written to the line a low and OUTL instructions inputs which can alter program generate pulses on the _ impedance device overcomes sequences when tested by corresponding RD and WR the light pullup and provides conditional jump instructions. TTL current sinking capability. output strobe lines; however, in Since the pulldown transistor the static port mode they are Ports 1 and 2 generally not used. As a is a low impedance device a "1" Ports 1 and 2 are each 8 bits must first be written to any line bidirectional port the MOVX wide and have identical which is to be used as an input. instructions are used to read characteristics. Data written to Reset initializes all lines to the and write the port. A write to these ports is statically latched high impedance "1" state. the port generates a pulse on and remains unchanged until the WR output line and output rewritten. As input ports these It is important to note that the data is valid at the trailing edge lines are non-latching, i.e., ORL and ANL are read/write of WR. A read of the port_ inputs must be present until operations. When executed, generates a pulse on the RD Figure 1. Program Memory Map Figure 2. Data Memory Map 127,..._ _ _ _- . 4 SELMB1 SEL MBO USER RAM ~I------t 96x8 BANK 1 WORKING REGISTERS 8 x 8 .====~f.==== :l DIRECTLY ADDRESSABLE WHEN BANK 1 IS SELECTED 24 23 ~ I ADDRESSED 8 LEVEL STACK INDIRECTLY OR THROUGH LOCATION 7- USER RAM R10RRO TIMER INTERRUPT 18)(8 (RO'OR R1') 8 7 6 5 VECTORS PROGRAM HERE LOCATION 3- BANK 0 WORKING ---, I DIRECTLY EXTERNAL REGISTERS 8 x 8 ADDRESSABLE 4 3 2 1 INTERRUPT VECTORS PROGRAM HERE ====]1==== RO WHEN BANK 0 IS SELECTED I I 076543210. REseT VECTORS PROGRAM HERE IN ADDITION RO OR R1 (RO' OR R1') ADDRESS MAY BE USED TO ADDRESS 256 WORDS OF EXTERNAL RAM. FUJITSU 2-91 MBLSOC49H/N MBL80C39H/N Functional Description (Continued) output line and input data must If overflow does occur the Program Status Word (PSW). be valid at the trailing edge of deepest address stored Fig. 5 shows the information RD. When not being written or (locations 8 and 9) will be available in the word. The read, the BUS lines are in a overwritten and lost since the Program Status Word is high impedance state. stack pointer overflows from actually a collection of flip- 111 to 000. It also underflows flops throughout the machine Test and INT Inputs from 000 to 111. which can be read or written as Three pins serve as inputs and a whole. The ability to write to are testable with the The end of a subroutine, which PSWaliows for easy restoration conditional jump instruction. is signalled by a return of machine status after a power These are TO, T1, and INT. instruction (RET or RETR), down sequence. These pins allow inputs to causes the Stack Pointer to be decremented and the contents The upper four bits of PSW are cause program branches without the necessity to load of the resulting register pair to stored in the Program Counter an input port into the be transferred to the Program Stack with every call to accumulator. The TO, T1, and Counter. subroutine or interrupt vector INT pins have other possible and are optionally restored Program Status Word upon return with the RETR functions as well. See the pin description in page 3. An 8-bit status word which instruction. The RET return can be loaded to and from the instruction does not update PSw. Program Counter and Stack accumulator is called the The Program Counter is an independent counter while the Program Counter Stack is Figure 3. Program Counter implemented using pairs of registers in the Data Memory Array. Only 11 bits of the Program Counter are used to add ress the 2048 words of on-board program memory of I CONVENTIONAL PROGRAM COUNTER the MBL80C49, while the most *COUNTS OOOH to 7FFH ·OVERFLOWS 7FFH TO OOOH significant bits can be used for external Program Memory fetches. See Fig. 3. The Program Counter is initialized Figure 4. Program Counter Stack to zero by activating the Reset line. PO INTER I R23 An interrupt or CALL to a sub- 111 routine causes the contents of I 22 the program counter to be stored in one of the 8 register I 21 pairs of the Program Counter 110 Stack as shown in Fig. 7. The pair to be used is determined : I 20 19 by a 3-bit Stack Pointer which 101 is part of the Program Status Word (PSW). ~ 18 Data RAM locations 8-23 are ~ 17 : 100 available as stack registers and 16 are used to store the Program I 15 Counter and 4 bits of PSW as shown in Fig. 7. The Stack 011 I 14 Pointer when initialized to 000 points to RAM locations 8 and ~ 13 9. The first subroutine jump or 010 interrupt results in the program I 12 counter contents being I 11 transfered to locations 8 and 9 of the RAM array. The stack 001 10 pointer is then incremented by one to point to locations 10 :::Inri 11 in ~nti{"'inatir'\n nf PSW PCS-11 ~~~th~;·CALL.·r:j~·~ti·~g~f 000 PC4-7 PCO_3 R8 subroutines within subroutines can continue up to 8 times MSB LSB without oveflowing the stack. FUJITSU 2-92 MBL80C49H/N MBL80C39H/N Functional Description (Continued) The PSW bit definitions are as CNT instruction. Once started If timer and external interrupts follows: the counter will increment to occur simultaneously, the this maximum count (FF) and external source will be Bits 0-2: Stack Pointer bits (So, overflow to zero continuing its recognized and the Call will S1, S2) count until stopped by a STOP be to location 3. Since the Bit 3: Not used ("1" level when TCNT instruction or Reset. timer interrupt is latched it will read) remain pending until the Bit 4: Working Register Bank The increment from maximum external device is serviced and Switch Bit (BS) count to zero (overflow) results immediately be recognized 0= BankO in the setting of an overflow upon return from the service 1 = Bank 1 flag flip-flop and in the routine. The pending timer generation of an interrupt interrupt is reset by the Call to request. The state of the location 7 or may be removed Bit 5: Flag 0 bit (FO) user overflow flag is testable with by executing a DIS TCNTI controlled flag which can be the conditional jump instruction. complemented or cleared, and instruction JTF. The flag is tested with the conditional reset by executing a JTF or by jump instruction JFO. As An Event Counter Reset. The interrupt request is Bit 6: Auxiliary Carry (AC) stored in a latch and then Execution of a START CNT carry bit generated by an ADD ORed with the external instruction connects the T1 instruction and used by the interrupt input INT The timer input pin to the counter input decimal adjust instruction DAA. interrupt may be enabled or and enables the counter. The disabled independently of T1 input is sampled at the Bit 7: Carry (CY) carry flag beginning of state 3 or in state external interrupt by the EN which indicates that the TCNTI and DISTCNTI time 4. Subsequent high to low previous operation has resulted transistions on T1 will cause instructions. If enabled, the in overflow of the accumulator. the counter to increment. T1 counter overflow will cause a subroutine call to location 7 must be held low for at least 1 Conditional Branch Logic where the timer or counter machine cycle to insure it The conditional branch logic service routine may be stored. won't be missed. The maximum within the processor enables several conditions internal and external to the processor to be Figure 5. Program Status Word (PSW) tested by the users program. By using the conditional jump instruction the conditions that SAVED 'r STACK i STACK , POINTER CY: CARRY are listed in Table 2 can effect AC: AUXILIARY CARRY a change in the sequence of S, FO: FLAG 0 BS: REGISTER BANK SELECT the program execution. MSB LSB Timer/Counter The MBL80C49 contains a counter to aid the user in Figure 6. Timer/Event Counter counting external events and generating accurate time delays without placing a burden on the processor for these functions. In both modes the counter operation is the same, the only difference being the source of the input to the counter. The timer/event counter is shown in Fig. 6. Counter The 8-bit binary counter is pre- settable and readable with two MOV instructions which trans- fer the contents of the accumu- Table 2 lator to the counter and vice Jump Conditions versa. The cou nter content Device Testable (Jump On) may be affected by Reset and Accumulator All zeros Not all zeros should be initialized by soft- Accumulator Bit 1 ware. The cou nter is stopped Carry Flag o 1 by a Reset or STOP TCNT User Flags (FO, F1) 1 instruction and remains Timer Overflow Flag 1 stopped until started asa timer Test Inputs (TO, ill o 1 by a START T instruction or as Interrupt Input (INT) o an event counter by a START FUJITSU 2·93 ---------_. MBL80C49H/N MBL80C39H/N Functional Description (Continued) rate at which the counter may For accurate clocking a crystal function in MBlSOC49 with be incremented is once per should be used. An externally external memory. It is provided three instruction cycles (every generated clock may also be continously on the ALE output 5.7/lsec when using an S MHz applied to X1-X2 as the pin. crystal)-there is no minimum frequency source. Rese! frequency. T1 input must remain stable for at least 1/5 State Counter The reset input provides a machine cycle after each means for initialization for the The output of the oscillator is processor. This Schmitt-trigger transition. divided by 3 in the State input has an internal pull-up As A Timer counter to create a clock which device, which in combination Execution of a START T defines the state times of the with an external1/lfd capacitor, instruction connects an internal machine (ClK). ClK can be provides an internal reset clock to the counter input and made available on the external pulse of sufficient length to enables the counter. The pin TO by executing an ENTO guarantee all circuitry is reset, internal clock is derived by ClK instruction. The output of as shown in Fig. S. If the reset passing the basic machine ClK on TO is disabled by Reset pulse is generated externally cycle clock through a 732 of the processor. the RESET pin must be held prescaler. The prescaler is low for at least 10 milliseconds reset during the START T Cycle Counter after the power supply is instruction. The resulting clock ClK is then divided by 5 in the within tolerance. Only 5 increments the counter every Cycle Counter to provide a machine cycles (6.S /lS @ 11 32 machine cycle. Various clock which defines a machine MHz) are required if power is delays from 1 to 256 counts cycle consisting of 5 machine already on and the oscillator can be obtained by presetting states as shown in Fig. 7. This has stablized. ALE and PSEN the counter and detecting clock is called Address latch (if EA = 1) are active while in overflow. Times longer than Enable (ALE) because of its Reset. 256 counts may be achieved by accumulating multiple Figure 7. Timing Generation and Cycle Timing overflows in a register under software control. For time resolution less than 1 count, an DIAGRAM OF CLOCK UTILITIES external clock can be applied to the T1 input and the counter operated in the event counter mode. ALE divided by 3 or more can serve as this external clock. Very small delays or "fine tuning" of larger delays can be easily accomplished by software delay loops. Clock and Timing Circuits Timing generation for the MBlSOC49 is completely self- contai ned with the exception INSTRUCTION CYCLE of a frequency reference which can be XTAl, ceramic 1.36 tJSec CYCLE resonator, or external clock source. The clock and Timing I 55 51 52 S3 I S4 I S5 S1 circuitry can be divided into INPUT the following functional blocks. J INST DeCODe EXECUTION INPUT OUTPUT Oscillator INC. PC ADOR. 1 The on-board osci lIator is a high gain parallel resonant I I , I I I circuit with a frequency range of 1 to 11 MHz. The X1 external TIMING (1 BYTE, 2 CYCLE INSTRUCTION ONLY) pin is the input to the amplifier stage while X2 is the output. A crystal or ceramic resonator :~!;~~~~ECYCLE ~ 1ST CYCLE ----r-- 2ND CYCLE ~ ~1~1S41~1~1~1~1S41~1~1~1~1S41 I~I~ connected between X1 and X2 provides the feedback and phase shift required for ALE oscillatin. If an accurate PSEN* fn::lnIIAnI"V n::.fpr,:::.nrQ ic;:; nnt ~~q~i;~d-:c~-r;;r;;i~ ~~~~~;;t~r may be used in place of the crystal. Ri5'WR====~::1=== PROG *EXTERNAl MODE FUJITSU 2-94 MBL80C49H/N MBLSOC39H/N Functional Description (Continued) Reset performs the followi ng only. INT must be held low for second external interrupt can functions: at least 3 machine cycles to be created by enabli ng the 1) Sets program counter to ensure proper interrupt timer/counter interrupt,loading zero. operations. As in any CALL to FFH in the Counter (one less 2) Sets stack pointer to zero. subroutine, the Program than terminal count), and 3) Selects register bank O. Counter and Program Status enabling the event counter 4) Selects memory bank o. word are saved in the stack. mode. A "1" to "0" transition on 5) Sets BUS to high For a description of this the T1 input will then cause an impedance state (except when operation see the previous interrupt vector to location 7. EA = 5V). section, Program Counter and 6) Sets Ports 1 and 2 to input Stack. Program Memory Interrupt Timing mode. location 3 usually contains an The interrupt input may be 7) Disables interrupts (timer unconditional jump to an enabled or disabled under and external). interrupt service subroutine Program Control using the EN I 8) Stops timer. elsewhere in program memory. and DIS I instructions. 9) Clears timer flag. The end of an interrupt service Interrupts are disabled by 10) Clears FO and F1. subroutine is signalled by the Reset and remain so until 11) Disables clock output from execution of a Return and enabled by the users program. TO. Restore Status instruction An interrupt request must be RETR. The interrupt system is removed before the RETR Interrupt single level in that once an instruction is executed upon interrupt is detected all further An interrupt sequence is return from the service routine interrupt requests are ignored initiated by applyima low ("0") until execution of an RETR Figure 8. Reset Circuit level input to the INT pin. reenables the interrupt input Interrupt is level triggered and logic. This occurs at the EXTeRNAL RESET active low to allow "WIRE ORing" of several interrupt Qeginning of the second cycle sources at the input pin. Fig. 9 of the RETR instruction. This shows the interrupt logic of sequence holds true also for the MBL80C49. The interrupt an internal interrupt generated line is sampled every instruc- by timer overflow. If an internal tion cycle and when detected timer/counter generated interrupt and an external POWER ON REseT causes a "call to subroutine" at location 3 in program memory interrupt are detected at the as soon as all cycles of the same time, the external source current instruction are will be recognized. See the complete. On 2-cycle following Timer/Counter instructions, the interrupt line section for a description of is sampled on the 2nd cycle timer interrupt. If needed, a Figure 9. Interrupt Logic CONDITIONAL JUMP lOGIC INTERRUPT TIMER CALL EXECUTED JTF FLAG EXECUTED RESET EXTERNAL INTERRUPT RECOGNIZED 6~~~LOW -------.&..-15 TIMER a TIMER TIMER tNT OVERFLOW INTERRUPT RECOGNIZED RECOGNIZED FF EXECUTED REseT EN TeNTI EXECUTED - - - - - - - - I s TIMER a INT DIS TeNTI ENABLE_ EXECUTED R a INT RESET PIN :=====~~~-::=--~~===1 0 INT FF O·L--............ =======~::~__~~C!LK::~ ALE LAST CYCLE OF INST EN 1 a EXECUTED INT DI$J ENABLE 1. WHEN INTERRUPT IN PROGRESS FLIP-FLOP IS SET EXECUTED ALL FURTHER INTERRUPTS ARE LOCKED OUT RESET INDEPENDENT OF STATE OF EITHER INTERRUPT ENABLE FLIP-FLOP. 2. WHILE TIMER INTERRUPTS ARE DISABLED TIMER OVERFLOW Ilf WILL NOT STORE ANY OVERFLOW THAT OCCURS, TIMER FLAG WILL BE SET, HOWEVER. F'UJI'I'SU 2-95 MBL80C49H/N MBL80C39H/N Functional Description (Continued) otherwise the processor wi II it has entered the stopped state instruction is initiated by re-enter the service routine by raising ALE high. In this clocking a "1" into the flip-flQQ. immediately. Many peripheral state (which can be maintained This "1" will not appear on SS devices prevent this situation indefinitely) the address of the unless ALE is high, removing by resetting their intern,p next instruction to be fetched clear from the flip-flop. In . request line whenever the is present on BUS and the response to SS going high the processor accesses (Reads or lower half of port 2. processor begins an instruction Writes) the peripherals data 4) SS is then raised high to fetch whiffibrings ALE low, buffer register. If the bring the processor out of the resetting SS through the clear interrupting device does not stopped mode allowing it to input and causing the proces- require access by the fetch the next instruction. The sor to again enter the stopped processor, one output line of exit from stop is indicated by state. the MBL80C49 may be the processor bringing ALE designated as an "interrupt low. External Access Mode acknowledge" which is 5) To stop the processor at the Normally the fi rst 2K words of activated by the service next instruction SS must be program memory are subroutine to reset the brought low agai.!lJ!oon after automatically fetched from interrupt request. The INT pin ALE goes low. If SS is left high internal ROM. The EA input may also be tested using the the processor remains in a pin however allows the user to conditional jump instruction "Run" mode. effectively disable internal JNI. This instruction may be A diagram for implementing program memory by forcing all used to detect the presence the single-step function of the program memory fetches to of a pending interrupt before MBL80C49 is shown in Fig. 10. reference external memory. interrupts are enabled. If__ A D-type flip-flop with preset The following chapter explains interrupt is left disabl,iid INT and clear is used to ruillerate how access to external may be used as anoiher test SS. In the run mode, SS is held program memory is input like TO and Tl. high by keeping the flip-flop accomplished. preset (preset has precedence Single-Step over the clear input). To enter The External Access mode is This feature, as pictured in single step, preset is removed very useful in system test and Fig. 10, provides the user with allowing ALE to bring SS low debug because it allows the a debug capability in that the via the clear input. ALE should user to disable his internal processor can be stepped be buffered since the clear applications program and through 'the program one input of an SN7474 is the substitute an external program instruction at a time. When equivalent of 3 TTL loads. The of his choice-a diagnostic stopped. the address of the processor is now in the routine for instance. In next instruction to be fetched stopped state. The next addition, the section on Test is available concurrently on BUS and the lower half of Port 2. The user can therefore Figure 10. Single Step Operation follow the program through SINGLE STEP CIRCUIT +5. each of the instruction steps. A +5. timing diagram, showing the :!It:~LE 10K interaction between output ALE and input SS, is shown. ~U~N~--------' The BUS buffer contents are -=- PRESET lost during single step; D Q SS however, a latch may be added CLOCK to reestablish the lost liD capability if needed. Data is CLEAR valid at the leading edge of ALE. 1/27400 Timing The MBL80C49 operates in a singl~,~step mode as follows: SINGLE STEP TIMING 1) THe processor is requested to ~ by applying a low level I S3 I S4 Iss 151 152 I 53 1......... 153 I 54 Iss I 51 152 I on SS. 2) The processor responds by stopping during the address ALE ~"I r fetch portion of the next instruction. If a double cycle instructionis in progress when ---, __________________ ; 11""------- ~~ j----,~----------~r thp. ~innlp c:ttAn r{)mm:::l;nrl ic: ~.f----J ;ecei~ed,- tl6tH cy~I~~~iii be L I PC"'"~ ~...- completed before stopping. 110 3) The processor acknowledges P20-P23 .......-,....;;,,;IIO;............ FUJITSU 2-96 MBLBOC4ltH/N MBLBOC3ltH/N Functional Description (Continued) and Debug explains how In this mode, the supply vol- Stop Mode internal program memory can tage, Vee can be lowered to This mode is initiated by the be read externally, independent 3.SV, and the supply current STOP instruction (OP code: of the processor. A "1" level on reduced to 2mA for N version C1H). When the STOP EA initiates the external access and 4mA for H version. instruction is executed, the mode. For proper operation, device enters the STOP mode Reset should be applied while A negative pulse at one of and stops executing the EA input is changed. RESET, INT, and SR inputs instructions after that. Low Power Standby Operation releases the device from the HALT mode. When a pulse is MBL80C49 has two low-power During the STOP mode all the applied, the device restarts internal circuits stop. Only standby modes, HALT and executing instructions from an STOP modes. Both are initiated the internal RAM is retained. address shown below, depend- The internal registers and by software and are released ing on the applied pin. Before by hardware. flags are not kept. The applying the negative pulse, input/output ports hold the the supply voltage must be Halt Mode states shown below: returned to the value ( + SV This mode is initiated by the ± 10%l to guarantee normal HALT instruction (OP code: operation. ~pe Pin State 01 H). When the HALT ~ instruction is executed, the RESI;I. Active RESET (Low level sense): device enters the HALT mode INT, SR and stops executing A negative pulse with Input instructions after that. minimum 12 instruction cycle XTAL1, width is needed for the XTAL2, Inactive During the HALT mode all standby release. The low level T1, SS the other internal circuits stop, releases the device from the RD,WR, except the on-chip oscillator. standby state, and initializes High PSEN, The oscillator idles and the the device to the reset state. Level ALE clock is inhibited to the Approximately 8200 ____ internal circuits. This time the instruction cycles later RESET Output P10-17, program counter holds the returns to high and the device P20-27, High address next to the HALT restarts the execution from DBO-DB7, Impedance instruction, and the internal address #0. TO, PROG RAM, internal registers, and INT (Low level sense): flags keep the states In this mode, the supply vol- executing the HALT The low level releases the tage, Vee can be lowered to instruction. The input/output device from the standby state, 2.0V, and the supply current ports hold the states shown and after a dummy cycle of reduced to 50JiA. below: approximately 5 instruction cycles the device restarts the A negative pulse at RESET ~pe Pin State execution from an address input releases the device from XTAL1, next to the HALT instruction the STOP mode. When a XTAL2, executed. If the external RESET pulse is applied, the interrupt is enabled, the device restarts executing Input ~ Active RESI;I. control jumps at address #3 instructions from an address INT, SR after executing the instruction #0. Before applying the next to the HALT instruction negative pulse,the supply T1, SS Inactive executed. The INT pulse must voltage must be returned to RD, WR, High be kept low until the interrupt the value (+SV ± 10%) to is accepted. guarantee normal operation. PSEN, Level ALE SR (Low lelel sense): RESET (Low level sense): Output P10-17, P20-27, High A negative pulse with A negative pulse with DBO-DB7, Impedance minimum 2 instruction cycle minimum 12 instruction cycle TO, PROG is required for the standby width is needed for the release. The low level releases standby release. The low level the device from the standby releases the device from the state, and after a dummy standby state, and initializes cycle of approximately 5 the device to the reset state. instruction cycles the device Approximately 8200 restarts the execution from an instruction cycles after address next to the HALT RESET returns to high, the instruction executed. device restarts the execution from add ress #0. FWITSU 2-97 MaL8oC4IH/. MaL80CaIH/. Instruction Set Summaryt Accumulator and Memory.lnstructlons OP FI.I Operation Mnemonic Code a"e C,ele CY HC '0 'i . .ta Add Register to A ADD A, Rr 6X (A) - (A) + (Rr) Add data memory to A AOOA,@RO 60 (A) - (A) + ((RO)) AOOA,@Rl 61 (A) - (A) + «Rl)) Add immediate to A ADD A, #data 03 2 2 (A) - (A) + data Add register to A with carry AOOCA, Rr 7X (A) - (A) + (Rr) + (C) Add data memory to A AOOCA,@RO 70 (A) - (A) + «RO)) + (C) with carry AOOCA,@Rl 71 (A) - (A) + ((Rl)) + (C) Add immediate to A AD DC A, #data 13 2 2 (A) - (A) + data + (C) with c.arry And register to A ANLA, Rr 5X (A) - (A) n (Rr) And data memory to A ANLA,@RO 50 (A) - (A) n «RO)) ANLA,@Rl 51 (A) - (A) n «Rl)) And immediate to A ANLA, #data 53 (A) - (A) n data ClearA CLRA 27 (A) -0 Complement A CPLA 37 (A)-(A) Decimal Adjust A OAA 57 (Note 1) Decrement A OECA 07 (A)-(A)-l IncrementA INCA 17 (A) -(A)+l Or register to A ORLA, Rr 4X (A) - (A) U (Rr) Or data memory to A ORLA,@RO 40 (A) - (A) U «RO)) ORLA,@Rl 41 1 (A) - (A) U ((Rl)) Or immediate to A ORLA, #data 43 2 (A) - (A) U data , Rotate A left RLA E7 q,l 101 Rotate A left through carry RLCA F7 l@H'1 101 Rotate A right RRA 77 L:j,1 101 .Rotate A right through carry RRCA 67 SWAP nibbles of A SWAP A 47 @:i,1 101 (~7!=(Ao-a) Exclusive Or register to A XRLA, Rr OX (A) - (A) + (Rr) Exclusive Or data memory to AXRL A, @RO DO (A) - (A) + «RO)) XRLA,@Rl 01 1 1 (A) - (A) + ((Rl)) Exclusive Or immediate to A XRL A, #data 03 2 2 (A) - (A) + data t I tMnemonic copyright Intel Corporation 1983. (except HALT and STOP) Operation Code.X: See Tables 1 and 2. %: See Table 3. Flags": This flag is set or reset in the state after executed instruction. Z: This flag is reset. CPo This flag is complemented. Note: (1) The accumulator value is adjusted to form BCD digits following the binary addition of BCD number. FWI'I'SV 2·98 MaL80C48H/N MaL80caeH/N Instruction Set Summary (Continued) Input/Output Instructions OP Fla. Operation Mnemonic Cod. a,.. Cycl. CY HC Fo F. Not. And immediate to BUS ANL BUS, #data98 2 (BUB) - (BUS) n data And immediate to P1 ANL P1, #data 99 2 (P1) - (P1) n data And immediate to P2 ANL P2, #data 9A 2 (P2) - (P2) n data And A to Expander Port ANLO Pp, A 9X (Pp) - (Ppl n (A3- tAT> iiffii' L-.J "D ~ Vee ~~ f"UJI'I'BV 2-110 MBL80C49H/N MBL80C39H/N Timing Diagram (Continued) Figure 14. Standby Operation Timing (2) EXTERNAL PROGRAM MEMORY OPERATION ALE ~ PROGRAM:X COUNTER ~~ X \,----t,<;--------------...J. ....._ _..J X INSTRUCTION . PC+' INSTRUCTION PC+2 .x::: INSTRUCTION BUS -0Q------r.,..----------< PC+2 P20-23 ~~~---------~{(:~pC~H=~ DATA DATA P24-27 P10-17 DATA ) f;'; ( DATA SA ';S 'NT S~ RESET S'; Vee ~<;-I Oscillation Circuits Crystal Oscillator External Clock Drive MBl80C(9 no 6MHz MBL80C39 EXT!:RNAL >o-----:..jXTALI CLOCK- m ,...--.....-..;3:.jXTAL2 3 XTAL2 20pF;J;. -Including stray capacitances ·Both high and low times should be more than 35% of the cycle time. and the rise and fall times should be less than 20ns. FUJITSU 2-111 MBL80C49H/N MBL80C39H/N Package Dimensions Dimensions in inches 40-Lead Ceramic (millimeters) (Metal Seal) Dual In-Line Package (Case No.: DIP-40C-A01) ":i:; ~ ~ ~ ~ [:::: l:::::: :[j~~~:::: I 1~~~W 2.020(51.31) I -~ ----.l 1·'77(4.~)MAX ~ f .12013.05) .150(3.81) . .09012.29) . 110(2.79) .03610.911 . 551.4 --II .01510.38) .023(0.58) I .04011.02) .060(1.53) 1.900(48.26)REF @ 1986 FUJITSU LIMITED D40006S-1C 40-Lead Plastic Dual In-Line Package (Case No.: DIP-40P-M01) (EJECTOR MARK) INDEX 2.045(51.951 2.071 (52.601 .090(2.29)MAX F=r'F"'~Fr19""""An=r1'~Fr19""""An=""~Fr"FI""""FrF"'''Ff""FI"""F~19514.96)MAX .---j-l-~! .118(3.00)MI N .015(0.381 .Q20(O.51JMIN .021(0.54) @ 1985 FUJITSU LIMITED D40005S-1C FWITSV 2-112 .BL8OC48H/N .BL8OCa8H/N 48-L.ad PI_tic Flat Packa.a (CU. NO.:FPT·48.....02) Details of "A" part .020(0.501 Dimensions in inches (millimetefsl @ 1985 FUJITSU LIMITED F48002S-BC 2·113 11111111111111111111111111111111111111111111111111111111111111111 NMOS FUJITSU INPUT/OUTPUT MBL 8243 EXPANDER 111111111111111111111111111111111111111 111111111111111 April 1986 Edition 2.1 NMOS INPUT/OUTPUT EXPANDER The Fujitsu MBL 8243 is an input/output expander designed specifically to provide a low cost means of I/O expansion for the MBL 8048 series of single-chip microcomputers. Fabricated in 5 volts NMOS. the MBL 8243 combines low cost single supply voltage and high drive current capability. Also. the MBL 8243 is packaged in a 24-pin cerdip or plastic DIP package. The MBL 8243 consists of four 4-bit bidirectional static I/O ports and one 4-bit port which serves as an interface to the MBL 8048 series microcomputers. The 4-bit interface requires that only 4 I/O lines of the MBL 8048/8049/ CERAMIC DIP 80C49/8749 be used for I/O expansion, and also allows multiple MBL 8243's DIP-24C-C01 to be added to the same bus. The I/O ports of the MBL 8243 serve as a direct extension of the resident I/O facilities of the MBL 8048 series microcomputers and are accessed by their own MOVD. ANLD, and ORLD instructions. FEATURES PLASTIC DIP DIP-24P-M01 • Simple Interface to Fujitsu MBL 8048 Series and Intel MCS-48* • Four 4-Bit I/O Ports. Fig. 1 - PIN ASSIGNMENT • AND and OR Directly to Ports. • High Current Drive: 5 mA at 0.45 V P50 Vce 20 mA at 1.0 V P40 P51 P41 P52 • On-Chip Power-On Reset Circuit. P42 P53 • Single +5 V Power Supply. P43 P60 • N-Channel Silicon-Gate E/D MaS Process. cs P61 PROG P62 • Two Package Options: P23 P63 -Standard 24-pin Cerdip (Suffix: Z) P22 P73 -Standard 24-pin Plastic DIP (Suffix: M) P21 P72 • Pin-Compatible with Intel 8243 and Fujitsu MBL 82C43. P20 P71 GND P70 This device contain" rir("l)i!ry !a p!'"ctect th<: I inputs against damage due to high static volt- ages or electric fields. However. it is advised that normal precautions be taken to avoid * Trade Mark of Intel Corporation application of any voltage higher than maxi· Portions Reprinted by permission of I ntel Corporation mum rated voltages to this high impedance © I ntel Corporation, 1980 circuit. 2-114 .~~mlmmllmmlmllm~m~m~mlml FUJITSU ~mlmloomilmmmllmmlmlilimilm MIL 8243 Fig. 2 - LOGIC SYMBOL PROCESSOR EXPANSION INTERFACE +5V 110 PORTS Vee cs P43·P40 PROG P53·P50 MBl8243 P63·P60 P73·P70 Fig. 3 - BLOCK DIAGRAM P40 P41 P42 P43 2-115 illlllllll!11111111111111111111111111111111111111111111111111111. FUJITSU MBl 8243 I111111111111111111111111111111111I1111I11111111111111111111111I PIN DESCRIPTION The MBL 8243 has two interfaces: One is the processor interlace; CS, PROG, and Port 2, which are used for the processor to communicate with the MBL 8243 device. Another is the expansion 110 ports; Ports 4,5,6, and 7, which serve as an expansion of the processor's liD. Tabie 1-Pln Description Symbol Pin No. Type Function Vee 24 - +5 V supply. GND 12 - o V supply. CS 6 I Chip Select input: A high on CS inhibits any change of output or internal status. PROG 7 I Clock input A high-to-Iow transition on PROG signifies that address and control are available on P20-P23, and a low-to-high transition signifies that data is available on P20-P23. P20 - P23 11 to 8 I/O Port 2: Four (4) bit bi-directional port contains the address and control bits on a high-to-Iow transition of PROG. During a low-to- high transition contains the data for a selected output port if a write operation, or the data from a selected port before the low-to- high transition if a read operation. P40 - P43 2 to 5 I/O Ports 4, 5, 6, and 7: Four (4) bit bi-directionalliO ports. May be P50 - P53 1,23 to 21 programmed to be input (during read), low impedance latched P60 - P63 20 to 17 output (after write), or a tri'state (after read). Data on pins P20- P70 - P73 13 to 16 P23 may be directly written, AN Oed or ORed with previous data. 2-116 1IIIIIIIIIIIIIIIIIIIIilllllllllllllllllllllllili FUJITSU illlllllllllllllllllllllllllllllllllllllllllllill MBl 8243 FUNCTIONAL DESCRIPTION GENERAL OPERATION to the logic block of the specified output port. After the logic manipulation is performed, the data is latched The MBL 8243 contains four 4-bit I/O ports which serve and outputed. The old data remains latched until new valid as an extension of the on-chip I/O and are addressed as ports outputs are entered. 4-7. The following operations may be performed on these ports: READ MODE • Transfer Accumulator to Port. • Transfer Port to Accumulator. The device has one read mode. The operation code and • AND Accumulator to Port. port address are latched from the input port 2 on the high- • 0 R Accumulator to Port. to-low transition of the PROG pin. As soon as the read operation and port address are decoded, the appropriate All communication between the MB L 8048 series and the outputs are tri-stated, and the input buffers switched on. MBL 8243 occurs over Port 2 (P20-P23) with timing pro- The read operation is terminated by a low-to-high transition vided by an output pulse on the PROG pin of the processor. of the PROG pin. The port (4, 5, 6 or 7) that was selected is Each transfer consists of two 4-bit nibbles: switched to the tri-stated mode while port 2 is returned to The first containing the "op code" and port address and the input mode. the second containing the actual 4-bits of data. A high-to- Normally, a port will be in an output (write mode) or input low transition of the PROG line indicates that address is (read mode). If modes are changed during operation, the present while a low-to-high transition indicates the first read following a write should be ignored; all following presence of data. Additional MBl 8243's may be added to reads are valid. This is to allow the external driver on the the 4-bit bus and chip selected using additional output lines port to settle after the first read instruction removes the low from the MBl 8048 series microcomputers. impedance drive from the MBL 8243 output. A read of any port will leave that port in a high impedance state. POWER ON INITIALIZATION SINK CAPABILITY Initial application of power to the device forces input/ output ports 4, 5, 6, and 7 to the tri-state and port 2 to the The MBL 8243 can sink 5 mA at 0.45 V on each of its 16 input mode. The PROG pin may be either high or low when I/O lines simultaneously. If, however, all lines are not sinking power is applied. The first high-to-Iow transition of PROG simultaneously or all lines are not fully loaded, the drive causes device to exit power on mode. The power on capability of any individual line increases as is shown by the sequence is initiated if Vee drops below 1 V. accompanying curve. Address I nstructi on P21 P20 Code P23 P22 Code Fig. 4 - LIOL vs IOL (at VOL~0.45V) 0 0 Port 4 0 0 Read i;; 140 0 1 Port 5 0 1 Write -.; 1 0 Port 6 1 0 ORlD ~II 120 ~ .... 1 1 Port 7 1 1 ANlD .J ~ 100 ~ « 80 "- WRITE MODES E .J o 60 ~ The device has three write modes. MOVD Pi, A directly ~ I 40 ~ ~ writes new data into the selected port and old data is lost. .J o 20 ORlD Pi, A takes new data, OR's it with the old data and '\ then writes it to the port. ANlD Pi, A takes new data, ~ o 0 AND's it with the old data and then writes it to the port. f- 0 2 4 6 8 10 12 14 Operation code and port address are latched from the input Largest IOL of anyone pin (mA at VOL ~ 0.45V) port 2 on the high-to-Iow transition of the PROG pin. On the low-to-high transition of PROG data on port 2 is transferred 2-117 1111111111111111111111111111111111111111111111111111 FUJITSU MBl 8243 1111111111111111111111111111111111111111111111111111 For example, if only 5 of the 16 lines are to sink current at one time, the curve shows that each of those 5 lines is capable of sinking 9 mA at 0.45 V (if any lines are to sink 9 mA the total IOL must not exceed 45 mA or five 9 mA loads). Example: How many pins can drive 5 TTL loads (1.6 mAl assuming remaining pins are unloaded? IOL = 5 x 1.6 mA = 8 mA ~ IOL = 60 mA from curve # pins = 60 mA +8 mA/pin = 7.5 = 7 In this case, 7 lines can sink 8 mA for a total of 56 mAo This leaves 4 mA sink current capability which can be divided in any way among the remaining 8 I/O lines of the MBL 8243. Example: This example shows how the use of the 20 mA sink capability of Port 7 affects the sinking capa· bility of the other 1/0 lines. An MBL 8243 will drive the following loads simultaneously. 2 loads - 20 mA at 1 V (port 7 only) 8 loads - 4 mA at 0.45 V 6 loads - 3.2 mA at 0.45 V Is this within the specified limits? ~ IOL = (2 x 20) + (8 x 4) + (6 x 3.2) = 91.2 mAo From the curve: for IOL = 4 mAo ~ IOL "" 93 mAo since 91.2 mA < 93 mA the loads are within speci· fied limits. Although the 20 mA at 1 V loads are used in calculating ~ IOL' it is the largest current required at 0.45 V which determines the maximum allow· able ~IOL. 2·118 1111111111111111111111111111111111111111111111111111 FUJITSU illllllllllllllllllllllllllllllllllllll~1111111111 MBL 8243 TYPICAL APPLICATION Fig. 5 -I/O EXPANDER INTERFACE MBl80481 MBl8049 MBl8243 1.1 DB7-DBO JI 8 ." )1/0 P43-P40 4 r P17-Pl0 8 ")1/0 A I\. P53-P50 4 A P27-P24 4 ") 1/0 r TO A Tl TEST INPUTS P63-P60 4 ) INT ~ r A P23-P20 PROG 4 ." P23-P20 PROG P73-P70 A 4 ) ~ .r CS * Fig. 6 - MULTIPLE I/O EXPANDER INTERFACE MBl8243 MBl8243 MBl8243 r-----4---------~r_--------~----------, PROG PROG PROG M8l80481 MBl8049 PROG· P23-P201\r-_ _ _ _T-_ _ _ _--,-_ _ _ _,...--;--_ _ _~ P24~===~_~_ _~ P251-- P26~==============~_-----.-J P271-- 2-119 .. -----------.~--~-.~--~-~-=--~--~=-=-=-~--~---=--=-=-~-=-=--=-=-=--=~--------------------~-=--~.~---=.~~ .. ABSOLUTE MAXIMUM RATINGS NOTE: Parameter Symbol Rating Unit Permanent device damage may occur if Supply Voltage Vee GND - 0.3 to GND + 7.0 ABSOLUTE MAXIMUM RATINGS are V exceeded. Functional operation should be Input Voltage V,N GND-0.3 to GND+7.0 restricted to the conditions as detailed in the operational sections of this data sheet. Ambient Temperature TA Oto +70 Exposure to ABSOLUTE MAXIMUM RA TI NGS conditions for extended periods under Bias 'G may affect device reliability. Storage Temperature T stg -55to +150 Power Dissipation PD 1 W RECOMMENDED OPERATING CONDITIONS Parameter Symbol Value Unit Vee +5 ± 10% Supply Voltage V GND 0 Operating Temperature TA o to +70 °c DC CHARACTERISTICS (Vee = +5V ± 10%, GND = OV, TA = O'G to + 70'C) Value Parameter Symbol Conditions Unit Min. Typ. Max. Input Low Voltage V 1L GND-O.3 0.8 V Input High Voltage V 1H 2.0 Vee+ 0.3 V Ports 4 to 7 V OL1 0.45 V IOL = 5mA Output Low Voltage Ports 4 to 7 V OL2 1.0 V IOL = 20mA Port 2 VOL3 0.45 V IOL = 0.6mA Ports 4 to 7 V OH1 2.4 V IOH = -2401lA Output High Voltage Port 2 V OH2 2.4 V IOH = -1001lA Ports 4 to 7 20 IIL1 -10 IlA GNDS: V 1N s: Vee Input Leakage Current Port 2, CS, PROG 'IL2 -10 10 IlA GND~ VIN~ Vcc louT=5mA at each Total IOL of 16 Output LloL 80 mA pin of Ports 4 to 7 Supply Current lee 10 20 mA 2-120 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MBL 8243 AC CHARACTERISTICS (Vcc =+5V±10%, GND=OV"T A =0°Cto+70°C) Value Parameter Symbol Condition Unit Min. Typ. Max. Address/Operation Code Setup Time tA C L = 80pF 100 ns Address/Operation Code Hold Time ts C L = 20pF 60 ns Data Setup Time tc C L = 80pF 200 ns Data Hold Time to C L = 20pF 20 ns Port 2 Floating Time tH C L = 20pF 0 150 ns PROG Pulse Width tK 700 ns CS Setup/Hold Times tcs 50 ns Ports 4 to 7 Output Delay Time tpo C L =100pF 700 ns Ports 4 to 7 Setup/Hold Times t LPI 100 ns Port 2 Output Delay Time t ACC C L = 80pF 650 ns Fig. 7 - TIMING DIAGRAM tcs . f. tK .'. tcs 2.0 V 2.0 V PROG 0.8 V 0.8 V V ~ ~ ~ ~ 2.0 v ADDRESS/ 2.0 v 2.0 \I 2.0 V IWR ITE MODE I PORT2 0.8 V OPERATION CODE 0.8 V 0.8 V INPUT DATA It 0.8 V I tACC- r-tH~ I 2.0V ADDRESS/ 2.0 v 2.4 V 2.4 V I READ MODE I PORT2 0.8 V OPERATION OUTPUT DATA 0.45 V CODE 1(0.8 V 0.45 V I !---t po - IWR ITE MODE I PORTS 4 to 7 OLD OUTPUT DATA 2.4V~ OUTPUT 0.45 V/l.0 V DATA -tLPI--! !--tLPI ..... 2.4 V 2.4 V I READ MODE I PORTS 4 to 7 0.45 V/l.0 V INPUT DATA 0,45 V/l.0 V 2-121 1llllllllllllllmlllmlllllllllmllllll~111111 FUJITSU MIL 8243 1lllllllllllllllmllllllllllllllmlllllllmlm~ PACKAGE DIMENSIONS CERAMIC DIP (Suffix: Z) 24-LEAD CERAMIC (CERDIPI DUAL IN-LINE PACKAGE (CASE No_: DIP-24C-C01) R.025(0.64) REF 11 .600(15.24) .600(16.24) REF ~'I)"""""';;;;;::+_L. ~ I .230(5.84)MAX .120(3.05) .150(3.81) .090(2.29) .110(2.79) .020(0.51) .050(1.27) 1.loo(27.94)REF .042(1.06) .015(0.38) Dimensions in .062(1.58) inches (millimeters) .023(0.58) @ 1985 FUJITSU LIMITED D24008S-2C 2-122 1llllllllmllllmllmllllllllllllllllm~lmm FUJITSU 1IIIIIIIImlllllllllllllllWlllilimilmmiWI MIL 8243 PACKAGE DIMENSIONS PLASTIC DIP (Suffix: M) 24-LEAD PLASTIC DUAL IN·LlNE PACKAGE (CASE No.: DIP·24P-M01) fF2::::::::=.1- ....15• MAX INDEX l .524(13.30) I .590(14.99) ~=;=F :;= r=r=;F=rT9=r=:;=;=: :;=;=;=;= ;:=;=r=r=rI! l'~ .610(15.49) 1.171(29.75) 1.197(30.40) .1 .039(0.98) .100(2.54) I TYP DimensioAs in inches (millimeters) @ 1966 FUJITSU LIMITED 0240098·1 C 2·123 MBl82C43 April 1986 Edition 2.1 CMOS INPUT/OUTPUT EXPANDER The Fujitsu MBL 82C43 is an input/output expander designed specifically to provide a low cost means of 1/0 expansion for the MBL 8048 series of single-chip microcomputers. Fabricated in 5 volts CMOS, the MBL 82C43 combines low cost single supply voltage and high drive current capability. Also, the MBL 82C43 is packaged in a 24-pin cerdip, plastic DIP, or plastic flat package (SOP). The MBL 82C43 consists of four 4·bit bidirectional static I/O ports and one CERAMIC DIP 4·bit port which serves as an interface to the MBL 8048 series microcomputers. DIP-24C-C01 The 4·bit interface requires that only 4 I/O lines of the MBL 8048/8049/ 80C49/8749 be used for I/O expansion, and also allows multiple MBL 82C43's to be added to the same bus. The I/O ports of the MBL 82C43 serve as a direct extension of the resident I/O facilities of the MBL 8048 series microcomputers and are accessed by their own MOVD, ANLD. and ORLD instructions. PLASTIC DIP DIP-24P-M01 FEATURES • CMOS Version of Fujitsu MBl 8243. PLASTIC SOP • Simple Interface to Fujitsu MB l 8048 Series and Intel MCS-48* FPT-24P-M02 • Four 4-Bit I/O Ports. • AND and OR Directly to Ports. PIN ASSIGNMENT • High Current Drive: 5 mA at 0.45 V 20 mA at 1.0 V P50 Vee P40 P51 • On-Chip Power-On Reset Circuit P41 P52 • Single +5 V Power Supply. P42 P53 P43 P60 • Silicon-gate CMOS Process CS P61 • Three Package Options: PROG P62 -Standard 24-pin Cerdip (Suffix:-CZ) P23 P63 -Standard 24-pin Plastic DIP (Suffix:-P) P22 P73 -Standard 24-pin Plastic SOP (Suffix:-PF) P21 P72 • Pin-Compatible with Fujitsu MBl 8243 and Intel 8243. P71 P70 This device contains circuitry to protect the inputs against damage due to high static volt- ages or electric fields. However, it is advised that normal precautions be taken to avoid * Trade Mark of Intel Corporation application of any voltage higher than maxi· Portions Reprinted by permission of Intel Corporation mum rated voltages- to this high impedance circuit. © Intel Corporation, 1980 2-124 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MBL 82C43 Fig. 1 - LOGIC SYMBOL PROCESSOR EXPANSION INTERFACE +5V 1/0 PORTS Vee CS P43·P40 PROG P53·P50 P23·P20 MBl82C43 P63·P60 P73·P70 GND Fig. 2 - BLOCK DIAGRAM P40 P41 P42 P43 P50 PSl P52 P53 2-125 1IIIIIIIIIIIml l l l l l l !!111111111111111111111 FUJITSU MIL 82C43 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIm PIN DESCRIPTION The MBL 82043 has two interfaces: One is the processor interface; ~, PRoo, and Port 2, which are used for the processor to communicate with the MBL 82C43 device. Another is the expansion I/O ports; Ports 4,5,6, and 7, which serve as an expansion of the processor's I/O. Table 1·Pln Deacrlptlon Symbol Pin No. Type Function Vee 24 - +5 V supply. GND 12 - o V supply. CS 6 I Chip Select input: A high on CS inhibits any change of output or internal status. PROG 7 I Clock input: A high-to-Iow transition on PRoo signifies that address and control are available on P20-P23, and a low-to-high transition signifies that data is available on P20-P23. P20 - P23 11 to 8 I/O Port 2: Four (4) bit bi-directional port contains the address and control bits on a high-to-Iow transition of PROG. During a low-to-high transition contains the data for a selected output port If a write operation, or the data from a selected port before the low-to-high transition If a read operation. P40 - P43 2 to 5 I/O Ports 4, 5, 6, and 7: Four (4) bit bi-directionall/O ports. May be P50-P53 1.23 to 21 programmed to be input (during read), low impedance latched output P60 - P63 20 to 17 (after write), or. a tri-state (after read). Data on pins P20.P23 may be P70 - P73 13 to 16 directly written, ANDed or ORed with previous data. 2-126 111I111111I11111111111111111111111111111111111111111 FUJITSU IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIII MBl 82C43 FUNCTIONAL DESCRIPTION GENERAL OPERATION is transferred to the logic block of the specified port. After the logic manipulation is performed, the data is latched The MBl82C43 contains four 4·bit I/O ports which serve and outputed. The old data remains latched until new valid as an extension of the on-chip I/O and are addressed as ports outputs are entered. 4·7. The following operations may be performed on these ports: READ MODE • Transfer Accumulator to Port. • Transfer Port to Accumulator. The device has one read mode. The operation code and port address • AND Accumulator to Port. are latched from the input port 2 on the high·to-Iow transition of the • OR Accumulator to Port. PROG pin. As soon as the read operation and port address are decoded, the appropriate outputs are tri·stated, and the input buffers All communication between the MBl8048 series and the switched on. The read operation is terminated by a low·to·high MBl 82C43 occurs over Port 2 (P20 - P23) with timing pro· transition of the PROG pin. The port (4, 5, 6 or 7) that was selected is vided by an output pulse on the PROG pin of the processor. switched to the tri·stated mode while port 2 is returned to the input Each transfer consists of two 4-bit nibbles: mode. The first containing the "op code" and port address and the second containing the actual 4·bits of data. A high-to·low Normally, a port will be in an output (write mode) or input transition of the PROG line indicates that address is present while (read mode). If modes are changed during operation, the a low-to·high transition indicates the presence of data. Additional first read following a write should be ignored; all following MBl 82C43's may be added to the 4·bit bus and chip selected reads are valid. This is to allow the external driver on the using additional output lines from the MBl 8048 series port to settle after the first read instruction removes the low microcomputers. impedance drive from the MBl 82C43 output. A read of any port will leave that port in a high impedance state. POWER ON INITIALIZATION SINK CAPABILITY Initial application of power to the device forces input/output ports 4, 5, 6, and 7 to the tri·state and port 2 to the input mode. The The MBl 82C43 can sink 5 mA at 0.45 Von each of its 16 PROG pin may be either high or low when power is applied. The I/O lines simultaneously. If, however, all lines are not sinking first high-to-Iow transition of PROG causes device to exit power simultaneously or all lines are not fully loaded, the drive on mode. The power on sequence is initiated if Vee drops below capability of any individual line increases as is shown by the 1 V. accompanying curve. Address Instruction Fig. 3 - ~ IOL vs IOL (at VOL::;; 0.45V) P21 P20 Code P23 P22 Code > OIl 140 ": 0 0 Port 4 0 0 Read ~II 120 0 1 1 0 Port 5 Port 6 0 1 1 0 Write ORlD ~ .J 100 " " 1 1 Port 7 1 1 ANlD « 80 WRITE MODES E .J o 60 ~ The device has three write modes. MOVD Pi, A directly writes new data into the selected port and old data is lost. ORlD Pi, A takes new data, OR's it with the old data and then writes it to the port. ANlD Pi, A takes new data, AND's it with the old data and "'l I .J o 40 20 o o 2 4 6 " 8 10 \., 12 14 then writes it to the port. Operation code and port address are Largest IOL of anyone pin (rnA at VOL ~ 0.45V) latched from the input port 2 on the high-to-Iow transition of the PROG pin. On the low-to-high transition of PROG data on port 2 2·127 ~lllmllllllllllllllllllllllllllllllllllllllllllll FUJITSU Mil 82C43 1111111111111111111111111111111111111111111111111111 For example, if only 5 of the 16 lines are to sink current at one time, the curve shows that each of those 5 lines is capable of sinking 9 mA at 0.45 V (if any lines are to sink 9 mA the total IOL must not exceed 45 mA or five 9 mA loads). Example: How many pins can drive 5 TTL loads (1.6 mAl assuming remaining pins are unloaded? IOL = 5 x 1.6 mA " 8 mA I:loL = 60 mA from curve #pins =60 mA + 8 mA/pin = 7.5 =7 In this case, 7 lines can sink 8 mA for a total of 56 mA., This leaves 4 mA sink current capability which can be divided in any way among the remaining 8 I/O lines of the MBl 82C43. Example: This example shows how the use of the 20 mA sink capability of Port 7 affects the sinking capa- bility of the other I/O lines. ' An MBl82C43 will drive the following loads simultaneously. 2 loads - 20 mA at 1 V (port 7 only) 8 loads - 4 mA at 0.45 V 6 loads - 3.2 mA at 0.45 V Is this within the specified limits? I:loL = (2 x 20) + (8 x 4) + (6 x 3.2) =91.2 mAo From the curve: for IOL = 4 mAo I:loL "" 93 mAo since 91.2 mA < 93 mA the loads are within specified limits. Although the 20 mA at 1 V loads are used in cal- culating I:lo L, it is the largest current required at 0.45 V which determines the maximum allow- able I:l oL . 2-128 --------.-~-- Ilmlllllllllllllllllllllllllllllllllllllllllllllll FUJITSU IIIIIIIIIIII~II~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII MBL 82C43 TYPICAL APPLICATION Fig. 4 - 1/0 EXPANDER INTERFACE MBl80C49 MBl82C43 Iii Iii . ~ DB7-DBO IA 8 .,)1/0 P43-P40 4 ...A P17-P10 8 )1/0 Iii -II. P53-P50 4 ) P27-P24 A . 4 1/0 .- I' TO JI T1 TEST INPUTS P63-P60 4 INT ... I' A --" P23-P20 4 P23-P20 JI • P73-P70 4 PROG PROG cs • ,b Fig. 5 - MULTIPLE 1/0 EXPANDER INTERFACE MBl82C43 MBl82C43 MBl82C43 MBl82C43 PROG PROG PROG PROG MBl80C49 PROG P23-P20f\r-_ _ _ _,..-_ _ _ _---r_ _ _ _ _, -_ _ _......I P24 t - - - - - - - - ' P25E==========~=====:=!~_ _ _ _J P26 P27 2·129 1111111111111111111111111111111111111111111111111 FUJITSU MBL 82(43 1111111111111111111111111111111111111111111111111 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Rating Unit NOTE: Permanent device damage may occur if Supply Voltage Vee GND -0.3 to +7.0 ABSOLUTE MAXIMUM RATINGS are V exceeded. Functional operation should be Input Voltage Y'N GND -0.3 to + 7.0' restricted to the conditions as detailed in the- operational sections of this data sheet. Ambient Temperature under Bias TA -40 to +85 Exposure to ABSOLUTE MAXIMUM °c RATI NGS conditions for extended periods Storage Temperature Tstg -55 to +150 may affect device reliability . Power Dissipation Po 1 W • V IN should not exceed Vee + 0.3V. RECOMMENDED OPERATING CONDITIONS Parameter Symbol Value Unit Note +5 ±10% Normal Operation Vee V Supply Voltage 3.5 to 6.0 Standby Operation GND 0 V Operating Temperature TA -40 to +85 °c DC CHARACTERISTICS (Vee = +5V ±10%, GND =OV, TA = -40'Cto + 85'C) Value Parameter Symbol Conditions Unit Min Typ Max Input Low Voltage V ,L GND -0.3 0.8 V Input High Voltage V ,H 2.2 Vee +0.3 V Ports 4 to 7 V OL1 0.45 V IOL = 5mA Ports 4 to 7 Output Low Voltage V OL2 1.0 V IOL = 20mA Port 2 VOL3 0.45 V IOL = 0.6mA Ports 4 to 7 V OH , 2.4 V IOH = -240jiA Output High Voltage Port 2 V OH2 2.4 V IOH = -100jiA Ports 4 to 7 I'L' -10 20 jJ.A GND ~ Y'N ~ Vee Input Leakage Current Port 2, CS, PROG I'L2 -10 10 jJ.A GND ~ Y'N ~ Vee lOUT = 5mA at each 80 Total 101 of 16 Outputs LIOI mA pin of Port:) 4 to 7 All outputs open, 600 jJ.A Icc, 200 Normal operation Supply Current All outputs open, lee2 Standby operation 1 10 jJ.A 2-130 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MBL B2C43 AC CHARACTERISTICS (Vee = +sv ±10%, GND =ov, TA = -40°C to +8S°C) Value Parameter Symbol Condition Unit Min Typ Max Address/Operation Code Setup Time tA C L = 80pF 100 ns Address/Operation Code Hold Time ts C L = 20pF 60 ns Data Setup Time tc C L = 80pF 200 ns Data Hold Time to C L = 20pF 20 ns Port 2 Floating Time tH C L = 20pF 0 150 ns PROG Pulse Width tK 700 ns CS Setup/Hold Times tcs 50 ns Ports 4 to 7 Output Delay Time t po C L =100pF 700 ns Ports 4 to 7 Setup/Hold Times t LPI 100 ns Port 2 Output Delay Time t ACC C L = 80pF 650 ns Fig. 6 - TIMING DIAGRAM CS tcs ,', tK .', tcs 2.2V 2.2V PROG 1\ 0.8 V 0.8 V V ~ ~ ~ ~ 2.2V ADDRESS! 2.2 V 2.2V 2.2V 1 WRITE MODE 1 PORT2 OPERATION INPUT DATA 0.8 V CODE 0.8 V 0.8 V 0.8 V tACC- r-tH~ 2.2V 2.4 V 2.4 V [REAoMOOEJ PORT2 2.2V 0.8 V ADDRESS! OPERATION OUTPUT DATA 0.45 V CODE 0.8 V 0.45 V ~tPo- WRITE MODE 1 PORTS 4 to 7 OLD OUTPUT DATA 2.4V~ OUTPUT - 1 0.45V!1.0V DATA I--tLPI--i ~tLPI- 2.4 V 2.4 V 1 READ MODE 1 PORTS 4 to 7 INPUT DATA 0.45 V!1.0 V 0.45 V!1.0 V 2-131 1111111111111111111111111111111111111111111111111 FUJITSU MBl 82C4J 1111111111111111111111111111111111111111111111111 PACKAGE DIMENSIONS CERAMIC DIP (Suffix:-CZ) 24-LEAD CERAMIC (CERDIP) DUAL IN-LINE PACKAGE (CASE No.: DIP·24C-C01) R.025(0.64) REF 00000000000 1.200(30.48) 1.300(33.02) ~.'230(5'8. 4)MAX .120(3.05) .150(3.81) .090(2.29) .110(2.79) .020(0.51) .050(1.27) 1.100(27.94)REF .042(1.06) .015(0.38) Dimensions in .062(1.58) inches (millimeters) .023(0.58) © 1985 FUJITSU LIMITED D24008S-2C 2-132 111111111111111111!!111111111111111111111111111111!1 FUJITSU 1111111111111111111111111111111111111111111111111111 MBl 82(43 PACKAGE DIMENSIONS PLASTIC DIP (Suffix:-P) 24-LEAD PLASTIC DUAL IN-LINE PACKAGE (CASE No.: DIP-24P·M01) ~e::~1-TI5' MAX INDEX l.524(13.30) I.590(14.99) .610(15.49) !!;=r=;=;=;==;=;r=;=::;=;r=;=::;=;:=;=;=;::::;=;=;=:::;=;:=;=:;:::?! 1.171 (29.75) I l"" 1.197(30.40) .039(0.98) .058(1.48) .100(2.54) I 11"'"~'M".118(3.00)MIN TYP .020(0.SllMIN Dimensions in inches (millimeters) ® 1986 FUJITSU LIMITED D24009S-1C 2-133 11111I1111111111111111111111111111111111111111111111 FUJITSU MBl 82C43 1111111111111111111I11111111111111111111111111111111 PACKAGE DIMENSIONS PLASTIC SOP (Suffix:-PF) 24-LEAD PLASTIC FLAT PACKAGE (CASE No.: FPT-24P-M02) .002(0.051 1. MIN (STAND OFFI .-dJ.--t------. 3861(9.81 .417(10.61 .350(8.91 J'" INDEX .287(7.31 ~=n==n=:::;:;:::::;:;::=n==n=:;:r:::;:r:::n=;:;:=~ ~7.91 .005(0.131.11. .008(0.201 l·Of(O.~1 .0 8(0. I Detail of "A" part .024(0.61 .050(1.271 TYP .007(0.181 MAX .027(0.681 Dimensions in MAX inches (millimeters) @ 1985 FUJITSU LIMITED F24008S-1 C 2-134 Selector Guide 4-Bit Microcomputers 2·135 April 1986 Edilion3.0 4-Bit Microcontrollers and Peripherals Table 1: FUJITSU 4-BIT MCU FAMI LY R~" VIVI RAiVII Process/ Device Size Size Device Number Package' Package Series Number [bits) [bits) 2Kx 8 128 x 4 MB 8841 HM/-PSH D 1P-42 P-MO 1/M02 MB 8845HM FPT-48P-M02 NMOS 2K x 8 128 x 4 MB 8842M/-PSH DI P-28P-M02/M03 MB 8846M FPT -48P-M02 MB 8840 1K x 8 64 x 4 MB 8843M/-PSH DIP-42P-M01/M02 MB 8847M FPT-48P-M02 Series 1Kx 8 64 x 4 MB 8844M/-PSH DI P-28P-M02/M03 MB 8848M FPT-48P-M02 2Kx 8 128 x 4 MB 8851 M/-PSH DI P-42P-M01 /M02 MB 8855M FPT-48P-M02 2Kx 8 128 x 4 MB 8852M/-PSH D 1P-28P-M02/M03 MB 8856M FPT-48P-M02 1K x 8 64 x 4 MB 8854M/-PSH DIP-28P-M02/M03 MB 8858M FPT -48P-M02 2Kx 8 128 x 4 MB 8851AM/-PSH D 1P-42P-MO 1/M02 MB 8855AM FPT-48P-M02 2Kx 8 128 x 4 MB 8852AM/-PSH DIP-28P-M02/M03 MB 8856AM FPT-48P-M02 CMOS MB 8858AM FPT-48P-M02 1K x 8 64 x 4 MB 8854AM/-PSH DIP-28P-M02/M03 MB 8850/H MB 8850B 128 x 4 MB 8851 LM/-PSH D 1P-42P-MO 1/M02 MB 8855LM FPT-48P-M02 2Kx 8 Series 2Kx 8 128 x 4 MB 8852LM/-PSH Dlp·28P-M02/M03 MB 8856LM FPT-48P-M02 1Kx 8 64 x 4 MB 8854LM/-PSH DIP-28P-M02/M03 MB 8858LM FPT·48P-M02 2K x 8 128 x 4 MB 8851 HM/-PSH DI P-42P-M01 /M02 MB 8855HM FPT·48P-M02 2Kx 8 128 x 4 MB8851B·p3 DIP-42P-M01 MB 8855B-p3 FPT -48P-M02 512 x 8 16 x 4 MB 88201-P DIP-16P-M02 MB 88201-PF FPT-16P-M03 1K x 8 32 x 4 MB 88202-P DIP-16P-M02 MB 88202·PF FPT-16P-M03 r'''''' CMOS 512 x 8 16 x 4 MB 88201A-P DIP-16P-M02 MB 88201A-PF FPT-16P-M03 MB 88200/H 1K x 8 32 x 4 MB 88202A-P DI P·16P-M02 MB 88202A-PF FPT-16P-M03 MB 88200B Series 512 x 8 16 x 4 MB 88201 H-P DI P-16P-M02 MB 88201 H-PF FPT-16p·M03 1K x 8 32 x 4 MB 88202H-P DIP-16p·M02 MB 88202H·PF FPT-16P-M03 1K x 8 32 x 4 *MB 88205B-p3 DIP-28P-M02 - - CMOS MB 88210 1K x 8 32 x 4 MB 88211-p4 DIP-20P-M02 - - Series 4K x 8 192 x 4 MB 88401-P/-PSH D 1P-42 P-MO 1/M02 MB 88401-PF FPT-48P-M02 NMOS MB 88400/H 4Kx 8 256 x 4 MB 88401 H-P/-PSH DIP-42P-M01/M02 MB 88401 H-PF FPT·48P-M02 Series 2Kx 8 256 x 4 MB 88403H-P/-PSH D 1P-42P-MO 1/M02 MB 88403H·PF FPT-48p·M02 4K x 8 192 x 4 MB 88411-P/-PSH 4 DIP-42P-M01/M02 MB 88411-PF 4 FPT-48P-M02 NMOS 2K x 8 192>\ 4 MB 88413-P/-PSH 4 DIP-42P-M01/M02 MB 88413-PF 4 FPT-48P-M02 MB 88410/H Series 4Kx 8 256 x 4 MB 88411 H-P/-PSH 4 DI P-42P-M01 /M02 MB 88411 H_PF 4 FPT-48P-M02 2K x 8 ,,~C' .. L'-'U J\ .... A II.lIn n('1 ........ 11 n l n ........ IVID oo"t l.Jn-r/-r.::>n 4 Di P-42P-iviOi iivi02 iviB 884i3H·PF 4 FPI-48p-M02 4K x 8 192 x 4 MB 88421-PSH 5 DIP-64P-M01 - - NMOS 3Kx 8 192 x 4 MB 88422-PSH 5 DIP-64P-M01 - - MB 88420/H 2K x 8 128 x 4 MB 88423-PSH 5 DIP-64P-M01 - - Series 4K x 8 256 x 4 MB 88421 H-PSH 5 DIP-64P-M01 - - 2-136 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 Maximum Maximum Typical Number Minimum Maximum Maximum Maximum Input Output Supply Power of Instruction Clock Process/ I/O Control Only Only Voltage Dissipation Instruc- Cycle Time Frequency2 Series Ports Ports Ports Ports [mW] tions [IlS] [MHz] 4 12 16 5 5.0 ± 10% 350 70 2.0 3.0 4 8 11 2 5.0 ± 10% 300 69 3.0 2.0 NMOS 4 12 16 5 5.0 ± 10% 300 70 3.0 2.0 MB 8840 4 8 11 2 5.0 ± 10% 300 69 3.0 2.0 Series 4 12 16 5 5.0 ± 10% 10at lMHz 70 3.0 2.0 4 8 11 2 5.0 ± 10% 10at lMHz 69 3.0 2.0 4 8 11 2 5.0 ± 10% 10 at lMHz 69 3.0 2.0 4 12 16 5 3.5 to 6.0 10 at lMHz 70 3.0 2.0 4 8 11 2 3.5 to 6.0 10 at lMHz 69 3.0 2.0 4 8 11 2 3.5 to 6.0 10at lMHz 69 3.0 2.0 CMOS MB 8850/H 4 12 16 5 2.5 to 4.0 1.8 at 0.5MHz 70 7.5 0.8 MB 8850B 4 8 11 2 2.5 to 4.0 1.8 at 0.5MHz 69 7.5 0.8 Series 4 8 11 2 2.5 to 4.0 1.8 at 0.5MHz 69 7.5 0.8 4 12 16 5 5.0± 10% 15 at 2M Hz 70 1.5 4.0 4 12 16 5 5.0 ± 10% 10at lMHz 70 2.0 3.0 0 0 12 0 5.0 ± 10% 5 at lMHz 37 3.0 2.0 0 0 12 0 5.0 ± 10% 5 at lMHz 38 3.0 2.0 0 0 12 0 3.5 to 6.0 5 at lMHz 37 3.0 2.0 0 0 12 0 3.5 to 6.0 5 at lMHz 38 3.0 2.0 CMOS MB 88200/H 0 0 12 0 5.0 ± 10% 15 at 3MHz 37 1.5 4.0 MB 88200B 0 0 12 0 5.0 ± 10% 15 at 3MHz 38 1.5 4.0 Series 0 16 7 0 5.0 ± 10% 15at lMHz 39 3.0 2.0 4.0 CMOS 0 0 10 0 5.0 ± 10% 10 at 4MHz 39 3.0 with MB 88210 prescaler Series 4 12 15 5 5.0± 10% 365 75 2.86 2.0 NMOS 4 12 16 5 5.0 ± 10% 425 76 1.5 4.0 MB 88400/H 4 12 16 5 5.0 ± 10% 425 76 1.5 4.0 Series 4 12 12 5 5.0 ± 10% 384 74 2.86 2.0 4 12 12 5 5.0 ± 10% 384 74 2.86 2.0 NMOS MB 88410/H 4 12 12 5 5.0± 10% 440 75 1.5 4.0 Series 4 12 12 5 5.0 ± 10% 440 75 1.5 4.0 4 8 40 5 5.0 ± 10% 415 79 2.86 2.0 4 8 40 5 5.0± 10% 415 79 2.86 2.0 NMOS 4 8 40 5 5.0 ± 10% 415 79 2.86 2.0 MB 88420/H Series 4 8 40 5 5.0 ± 10% 415 80 1.5 4.0 2-137 Table 1: (Continued) ROM RAM Process/ Device Size Size Device Number Package 1 Package Series Number [bitsl [bitsl 4K x 8 192 x 4 MB 88501-P/-PSH DI P-42P-MOl /M02 MB 88501-PF FPT-48P-M02 4K x8 256 x 4 MB 88505-P/-PSH DIP-42P-M01/M02 MB 88505-PF FPT-48P-M02 2K x 8 256 x 4 MB 88507-P/-PSH DIP-42P-M01/M02 MB 88507-PF FPT-48P-M02 CMOS 4K x 8 192 x 4 MB 88501A-P/-PSH DIP-42P-M01/M02 MB 88501A-PF FPT-48P-M02 MB 88500/H 4K x 8 256 x 4 MB 88505A-P/-PSH DIP-42P-M01/M02 MB 88505A-PF FPT-48P-M02 Series 4Kx 8 256 x 4 MB 88501 H-P/-PSH D I P-42 P-MO 1/M02 MB 88501 H-PF FPT-48P-M02 2Kx 8 256 x 4 MB 88503H-P/-PSH DIP-42P-M01/M02 MB 88503H-PF FPT-48P-M02 4K x 8 256 x 4 MB 88505H-P/-PSH DIP-42P-M01/M02 MB 88505H-PF FPT-48P-M02 4K x 8 256 x 4 *MB 88511-P/-PSH 4 DIP-42P-M01/M02 *MB 88511-PF 4 FPT-48P-M02 2K x 8 192 x 4 *MB 88513-P/-PSH 4 DIP-42P-M01/M02 *MB 88513-PF 4 FPT-48P-M02 CMOS MB 88510 6K x 8 256 x 4 MB 88514B-PSH 345 DIP-64P-MOl MB 88510B 8Kx 8 256 x 4 MB 88515B-PSH 345 DIP-64P-MOl Series 4K x 8 256x 4 MB 88516B-PSH 34 DIP-64P-MOl 4K x 8 256 x 4 MB 88517B-p 34 DIP-42P-MOl 4K x 8 256 x 4 MB 88521-PSH 5 DIP-64P-MOl MB 88521-PF 5 FPT-64P-MOl CMOS 4K x 8 256 x 4 *MB 88522-PSH 5 DIP-64P-MOl MB 88520 2K x 8 256 x 4 MB 88523-PSH 5 DI P-64P-MOl MB 88523-PF 5 FPT-64P-MOl MB 88520B 4K x 8 256 x 4 MB 88525-PSH 5 DIP-64P-MOl Series 4K x 8 256 x 4 MB 88525B-PSH 35 DIP-64P-MOl MB 88525B-PF 35 FPT-64P-MOl CMOS 2K x 8 128 x 4 MB 88535-P/-PSH 6 D I P-42P-MOl /....,02 MB 88535-PF 6 FPT-48P-M02 MB 88530 2Kx8 128 x 4 MB 88536-P/-PSH 6 D I P-42P-MOl /M02 MB 88536-PF 6 FPT-48P-M02 Series 4K x 8 256 x 4 MB 88541-PF 7 FPT-70P-MOl CMOS 4K x 8 256 x 4 *MB 88543-PF 7 FPT-80P-MOl MB 88540 4K x 8 256 x 4 *MB 88544-PF 7 FPT-80P-MOl Series 4~ x 8 256 x 4 *MB 88545-PF 7 FPT-80P-MOl 4K x8 256 x 4 *MB 88546-PF 7 FPT-80P-MOl 8K x 8 256 x 4 MB 88551-PF45 FPT-80P-MOl CMOS 6Kx8 256 x 4 MB 88552-PF 45 FPT-80P-MOl MB 88550/H Series 8K x 8 256 x 4 MB 88551 H_PF 45 FPT-80P-MOl 6K x 8 256 x 4 MB 88552H-PF 45 FPT-80P-MOl CMOS 3K x 8 192 x 4 MB 88561-PF 47 8 FPT-80P-MOl MB 88560 * ..IVIC ~ ... ......... ,. . ....... ...... ~~ 4K x 3 256 x 4 OOOOL-I""I'""- -- FPT-80P-iviQ i Series Notes: 1. 28- and 42-pin DIP packages may be specified with standard 100 mil pin spacing [M or -P suffix as shownl , or small- outline 70 mil pin spacing [-PSH suffixl. The 64-pin DIP is available in small-outline 70 mil pin spacing only [-PSH suffixl. 2. When the on-chip prescaler is connected, the maximum external clock frequency can be doubled. A 4.194 MHz crystal can be used for MB 884XX or MB 885XX devices. (except MB 88530 series) 3. On-chip VFD driver port 4. On-chip A/D converter 5. Multiple I/O ports 6. On-chip D/A converter 7. On-chip LCD driver 8. On-chip PLL * Under development 2-138 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 Maximum Maximum Maximum Maximum Typical Number Minimum Maximum Input Output Supply Power of Instruction Clock Pr.ocess/ I/O Control Only Only Voltage Dissipation Instruc- Cycle Time Frequency2 Series Ports Ports Ports Ports [mW] tions [IlS] [MHz] 4 12 15 5 5_0 ± 10% 10at1MHz 75 2.86 2.0 4 12 15 5 5.0 ± 10% 10 at 1MHz 75 2.0 3.0 4 12 15 5 5.0 ± 10% 10at 1MHz 75 2.0 3.0 CMOS 4 12 15 5 3.5 to 6.0 10at1MHz 75 2.86 2.0 MB 88500/H 4 12 15 5 3.5 to 6_0 10at1MHz 75 2.86 2.0 Series 4 12 15 5 5.0 ± 10% 20 at 2MHz 76 1.5 4.0 4 12 15 5 5.0 ± 10% 20 at 2MHz 76 1.5 4.0 4 12 15 5 5.0 ± 10% 20 at 2MHz 76 1.5 4.0 0 0 34 5 5.0 ± 10% 15at1MHz 79 2.0 3.0 0 0 34 5 5.0 ± 10% 15at 1MHz 79 2.0 3.0 CMOS 3.0 MB 88510 0 25 29 5 5.0 ± 10% 15at1MHz 81 2.0 3.0 MB 88510B 0 25 29 5 5.0 ± 10% 15 at 1MHz 81 2.0 2.0 3.0 Series 0 17 26 5 5.0±10% 15at1MHz 81 0 15 19 5 5.0 ± 10% 15at1MHz 81 2.0 3.0 4 8 40 5 5.0 ± 10% 10at1MHz 80 2.0 3.0 4 8 40 5 5.0 ± 10% TBD 80 2.0 3.0 CMOS 4 8 40 5 5.0 ± 10% 10at 1MHz 80 2.0 3.0 MB 88520 4 8 40 5 5.0 ± 10% 10at1MHz 80 2.0 3.0 MB 88520B Series 4 32 16 5 5.0 ± 10% 10at1MHz 79 2.0 3.0 CMOS 4 8 17 5 5.0 ± 10% 10at1MHz 70 3.0 2.0 MB 88530 4 8 15 5 5.0 ± 10% 10at 1MHz 70 3.0 2.0 Series 4 4 16 5 5.0 ± 10% 10 at 1MHz 75 2.86 2.0 4 4 16 5 5.0 ± 10% 10at 1MHz 76 2.0 3_0 CMOS 4 4 24 5 5.0 ± 10% 10at 1MHz 80 2.0 3.0 MB 88540 4 4 16 5 5.0 ± 10% 10at1MHz 76 2.0 3.0 Series 4 4 24 5 5.0 ± 10% 10at1MHz 80 2.0 3.0 0 0 68 5 5.0 ± 10% 15at1MHz 82 2.0 3.0 0 0 68 5 5.0 ± 10% 15at1MHz 82 2.0 3.0 CMOS MB 88550/H 0 0 68 5 5.0 ± 10% 25 at 2MHz 82 1.5 4.0 Series 0 0 68 5 5.0 ± 10% 25 at 2M Hz 82 1.5 4.0 CMOS 4 4 11 2 5.0 ± 10% 85 at 4.5MHz 70 6.67 4.5 MB 88560 4 4 11 2 5.0 ± 10% TBD 71 6.67 4.5 Series 2-139 Table 2: FEATURES OPTIONS AVAILABLE ON THE FUJITSU 4·BIT MCU FAMILY Ambient Serial ROM RAM Temperature Port Serial Nesting Device Number Process Size Size Package Range Output Buffer Levels [bits] [bits] [oC] Latch MB 8841 HM/·PSH NMOS 2K x 8 128 x 4 DIP -30 to +70 option 4 4 MB 8842M/-PSH NMOS 2K x 8 128 x 4 DIP -30 to +70 no 4 4 MB 8843M/·PSH NMOS 1K x 8 64 x 4 DIP -30 to +70 option 4 4 MB 8844M/·PSH NMOS 1K x 8 64 x 4 DIP -30 to +70 no 4 4 MB 8845HM NMOS 2K x 8 128 x 4 FPT -30 to +70 option 4 4 MB 8846M NMOS 2K x 8 128 x 4 FPT -30 to +70 no 4 4 MB 8847M NMOS 1K x 8 64 x 4 FPT -30 to +70 option 4 4 MB 8848M NMOS 1K x 8 64 x4 FPT -30 to +70 no 4 4 MB 8851 M/·PSH CMOS 2K x 8 .128 x 4 DIP -40 to +85 option 4 4 MB 8851AM/·PSH CMOS 2K x8 128 x 4 DIP -30 to +70 option 4 4 MB 8851B·P CMOS 2K x 8 128 x 4 DIP -30 to +70 option 4 4 MB 8851 HM/-PSH CMOS 2K x 8 128 x 4 DIP -40 to +85 option 4 4 MB 8851 LM/·PSH CMOS 2K x 8 128 x 4 DIP -30 to +70 option 4 4 MB 8852M/·PSH CMOS 2K x8 128 x 4 DIP -40 to +85 no 4 4 MB 8852AM/·PSH CMOS 2K x 8 128 x 4 DIP -30 to +70 no 4 4 MB 8852LM/·PSH CMOS 2K x 8 128 x 4 DIP -30 to +70 no 4 4 MB 8854M/·PSH CMOS 1K x 8 64 x 4 DIP -40 to +85 no 4 4 MB 8854AM/·PSH CMOS 1K x 8 64 x4 DIP -30 to +70 no 4 4 MB 8854LM/·PSH CMOS 1K x8 64 x4 DIP -30 to +70 no 4 4 MB 8855M CMOS 2K x 8 128 x 4 FPT -40 to +85 option 4 4 MB 8855AM CMOS 2K x 8 128 x 4 FPT -30 to +70 option 4 4 MB 8855B·P CMOS 2Kx8 128 x 4 FPT -30 to +70 option 4 4 MB 8855HM CMOS 2K x8 128 x 4 FPT -40 to +85 option 4 4 MB 8855LM CMOS 2K x 8 128 x 4 FPT -30 to +70 option 4 4 MB 8856M CMOS 2K x 8 128 x 4 FPT -40 to +85 no 4 4 MB 8856AM CMOS 2K x 8 128 x 4 FPT -30 to +70 no 4 4 MB 8856LM CMOS 2K x 8 128 x 4 FPT -30 to +70 no 4 4 MB 8858M CMOS 1K x 8 64 x 4 FPT -40 to +85 no 4 4 MB 8858AM CMOS 1K x 8 64 x 4 FPT -30 to +70 no 4 4 M88858LM CMOS 1K x 8 64 x 4 FPT -30 to +70 no 4 4 2·140 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 Output PLA Optional On-chip Output Port On-chip Clock Features Device Number Port 2 Options 1 Prescaler Generator [bits] 5 4/8 yes yes High speed MB 8841HM/-PSH 3 4/8 yes yes Standard MB 8842M/-PSH 4 4/8 yes yes Standard MB 8843M/-PSH 3 4/8 yes yes Standard MB 8844M/-PSH 5 4/8 yes yes High speed MB 8845HM 3 4/8 yes yes Standard MB 8846M 4 4/8 yes yes Standard MB 8847M 3 4/8 yes yes Standard MB 8848M 2 4/8 yes yes Standard MB 8851M/-PSH 2 4/8 yes yes Wide voltage range MB 8851AM/-PSH 2 4/8 yes yes VFD driver port [8 seg. x 8 digits], high speed MB8851B-P 4 4/8 yes yes High speed MB 8851 HM/-PSH 2 4/8 yes yes Low voltage MB 8851 LM/-PSH 2 4/8 yes yes Standard MB 8852M/-PSH 2 4/8 yes yes Wide voltage range MB 8852AM/-PSH 2 4/8 yes yes Low voltage MB 8852LM/-PSH 2 4/8 yes yes Standard MB 8854M/-PSH 2 4/8 yes yes Wide voltage range MB 8854AM/-PSH 2 4/8 yes yes Low voltage MB 8854LM/-PSH 2 4/8 yes yes Standard MB 8855M 2 4/8 yes yes Wide voltage range MB 8855AM 2 4/8 yes yes VFD driver port [8 seg. x 8 digits] ,high speed MB 8855B-P 4 4/8 yes yes High speed MB 8855HM 2 4/8 yes yes Low voltage MB 8855LM 2 4/8 yes yes Standard MB 8856M 2 4/8 yes yes Standard MB 8856AM 2 4/8 yes yes Standard MB 8856LM 2 4/8 yes yes Standard MB 8858M 2 4/8 yes yes Wide voltage range MB8858AM 2 4/8 yes yes Low voltage MB 8858LM 2-141 Table 2: (Continued) Ambient Serial ROM RAM Temperature Port Serial Nesting Device Number Process Size Size Package Range Output Buffer Levels [bits] [bits] rOC] Latch MB 88201·P CMOS 512 x 8 16 x 4 DIP -40 to +85 - - 2 MB 8820HF CMOS 512 x 8 16 x 4 FPT -40 to +85 - - 2 MB 88201A·P CMOS 512 x 8 16 x 4 DIP .-30 to +70 - - 2 MB 88201A·PF CMOS 512 x 8 16 x 4 FPT -30 to +70 - - 2 MB 88201H·P CMOS 512 x 8 16 x 4 DIP -40 to +85 - - 2 MB 88201 H·PF CMOS 512 x 8 16 x 4 FPT -40 to +85 - - 2 MB 88202·P CMOS 1K x 8 32 x 4 DIP -40 to +85 - - 4 MB 88202·PF CMOS 1K x8 32 x 4 FPT -40 to +85 - - 4 MB 88202A·P CMOS 1K x 8 32 x 4 DIP -30 to +70 - - 4 M B 88202A·PF CMOS 1K x 8 32 x 4 FPT -30 to +70 - - 4 MB 88202H·P CMOS 1K x 8 32 x 4 DIP -40 to +85 - - 4 MB 88202H·PF CMOS 1K x 8 32 x 4 FPT -40 to +85 - - 4 *MB 88205B·P CMOS 1K x 8 32 x 4 DIP -40 to +85 - - 4 MB 88211·P CMOS 1K x 8 32 x 4 DIP o to +70 - - 4 MB 88401·P/-PSH NMOS 4K x 8 192 x 4 DIP -30 to +70 yes 4 8 MB 88401·PF NMOS 4K x 8 192 x 4 FPT -30 to +70 yes 4 8 M B 88401 H·P/·PSH NMOS 4K x 8 256 x 4 DIP -30 to +70 yes 4 8 MB 88401 H·PF NMOS 4K x 8 256 x 4 FPT -30 to +70 yes 4 8 MB 88403H·P/·PSH NMOS 2K x 8 256 x 4 DIP -30 to +70 yes 4 8 MB 88403H·PF NMOS 2K x 8 256 x 4 FPT -30 to +70 yes 4 8 MB 88411·P/-PSH NMOS 4K x8 192 x 4 DIP -30 to +70 yes 4 8 MB 88411·PF NMOS 4K x 8 192 x 4 FPT -30 to +70 yes 4 8 MB 88411 H·P/·PSH NMOS 4K x8 256 x 4 DIP -30 to +70 yes 4 8 MB 88411 H·PF NMOS 4K x 8 256 x 4 FPT -30 to +70 yes 4 8 MB 88413·P/·PSH NMOS 2K x 8 192 x 4 DIP .30 to +70 yes 4 8 MB 88413·PF NMOS 2K x 8 192 x 4 FPT -30 to +70 yes 4 8 MB 88413H·P/-PSH NMOS 2K x8 256 x 4 DIP -30 to +70 yes 4 8 MB 88413H-PF NMOS 2K x8 256 x 4 FPT -30 to +70 yes 4 8 MB 88421-PSH NMOS 4K x 8 192 x 4 DIP -30 to +70 yes 4 8 MB 1::18421 H-PSH NMOS 4K x 8 256 x 4 DIP -30 to +70 yes 4 8 MB 88422-PSH NMOS 3K x 8 192 x 4 DIP -30 to +70 yes 4 8 MB 88423-PSH NMOS 2K x 8 128 x 4 DIP -30 to +70 yes 4 8 2-142 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 PLA On-chip Output Optional Output Port On-chip Clock Features Device Number Port 2 Options 1 Prescaler Generator [bits] 4 - yes yes Low cost MB B8201-P 4 - yes yes Low cost MB 88201-PF 4 - yes yes Wide voltage range MB B8201A-P 4 - yes yes Wide voltage range MB 88201A-PF 4 - yes yes High speed MB 88201H-P 4 - yes yes High speed MB 88201 H-PF 4 - yes yes Low cost MB 88202-P 4 - yes yes Low cost MB 88202-PF 4 - yes yes Wide voltage range MB 88202A-P 4 - yes yes Wide voltage range MB 88202A-PF 4 - yes yes High speed MB 88202H-P 4 - yes yes High speed MB 88202H-PF 3 - yes yes Low cost. VFD driver port [8 seg. x 8 digits] *MB 88205B·P 3 - yes (fixed) yes Low cost. AID converter [8 bits x 1 channel] MB 88211·P 3 4/8 yes yes Standard MB 88401-P/·PSH 2 4/8 yes yes Standard MB 88401-PF 4 4/8 yes yes High speed MB 88401 H-P/-PSH 4 4/8 yes yes High speed MB 88401 H-PF 4 4/8 yes yes High speed. ROM 2K version MB 88403H-P/-PSH 4 4/8 yes yes High speed. ROM 2K version MB 88403H-PF 3 4/8 yes yes On-chip AID converter' [8 bits x 7 channels] MB 88411-P/-PSH 2 4/8 yes yes On·chip AID converter [8 bits x 7 channels] MB 88411-PF On-chip AID converter [8 bits x 7 channels]. 4 4/8 yes yes MB 88411 H-P/-PSH high speed On-chip AID converter [8 bits x 7 channels]. 4 4/8 yes yes MB 88411H-PF high speed On-chip AID converter [8 bits x 7 channels] • 3 4/8 yes yes MB 88413-P/-PSH ROM 2K version On·chip AID converter [8 bits x 7 channels] . 2 4/8 yes yes MB 88413-PF ROM 2K version On-chip AID converter [8 bits x 7 channels]. 4 4/8 yes yes MB 88413H-P/-PSH high speed. ROM 2K version On·chip AID converter [8 bits x 7 channels]. 4 4/8 yes yes MB 88413H-PF high speed. ROM 2K version 3 4 yes yes Multiple 1/0 ports [57 1/0 ports] MB 88421-PSH 5 4 yes yes Multiple 1/0 ports [57 1/0 ports]. high-speed MB 88421H-PSH Multiple 1/0 ports [57 1/0 ports]. 3 4 yes yes MB 88422-PSH ROM 3K version Multiple 1/0 ports [57 1/0 ports]. 3 4 yes yes MB 88423-PSH ROM 2K version 2-143 Table 2: (Continued) Ambient Serial ......... RAM Temperature Port Serial Nesting Device Number Process Size Size Package Range Output Buffer Levels [bits] [bits] [oC] Latch MB B8501-P/-PSH CMOS 4Kx 8 192 x 4 DIP -40 to +85 yes 4 8 MB 88501-PF CMOS 4Kx 8 192 x 4 FPT -40 to +85 yes 4 8 MB 88501A-P/-PSH CMOS 4Kx 8 192 x 4 DIP -30 to +70 yes 4 8 MB 8B501A-PF CMOS 4K x 8 192 x 4 FPT -30 to +70 yes 4 8 MB 88501H-P/-PSH CMOS 4K x 8 256 x 4 DIP -40 to +85 yes 4 8 MB 88501 H-PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4 8 MB 88503H-P/-PSH CMOS 2K x 8 256 x 4 DIP -40 to +85 yes 4 8 MB 88503H-PF CMOS 2K x 8 256 x 4 FPT -40 to +85 yes 4 8 MB 88505-P/-PSH CMOS 4K x 8 256 x 4 DIP -40 to +85 yes 4/8 8 MB 88505-PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4/8 8 MB 88505A-P/-PSH CMOS 4K x 8 256 x 4 DIP -30 to +70 yes 4/8 8 MB 88505A-PF CMOS 4K x 8 256 x 4 FPT -30 to +70 yes 4/8 8 MB 88505H-P/-PSH CMOS 4K x 8 256 x 4 DIP -40 to +85 yes 4/8 8 MB 88505H-PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4/8 8 MB 88507-P/-PSH CMOS 2K x 8 256 x 4 DIP -40 to -'85 yes 4/8 8 MB 88507-PF CMOS 2K x 8 256 x 4 FPT -40 to +85 yes 4/8 8 *MB 88511-P/-PSH CMOS 4K x8 256 x 4 DIP -40 to +85 yes 4/8 8 *MB 88511-PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4/8 8 *MB 88513-P/-PSH CMOS 2K x 8 192 x 4 DIP -40 to +85 yes 4/8 8 *MB 88513-PF CMOS 2K x 8 192 x 4 FPT -40 to +85 yes 4/8 8 MB 88514B-PSH CMOS 6K x 8 256 x 4 DIP -40 to +85 yes 4/8 8 MB 88515B-PSH CMOS 8Kx 8 256 x 4 DIP -40 to +85 yes 4/8 8 MB 88516B-PSH CMOS 4Kx8 256 x 4 DIP -40 to +85 yes 4/8 8 MB 88517B-P CMOS 4K" 8 256 x 4 DIP -40 to +85 yes 4/8 8 MB 88521-PSH CMOS 4K x8 256 x 4 DIP -30 to +70 yes 4 8 MB 88521-PF CMOS 4K x 8 256 x 4 FPT -30 to +70 yes 4 8 2-144 1111111111111111111111111111111111111111111111111 PUJITSU 1111111111111111111111111111111111111111111111111 PLA Output Optional On·chip Output Device Number Port On-chip Clock Features Port 2 Options' Prescaler Generator [bits) 2 4/B yes yes Standard MB 88501·P/·PSH 2 4/B yes yes Standard MB 8B501·PF 2 4/8 yes yes Wide voltage range MB 8B501A·P/·PSH 2 4/8 yes ·yes Wide voltage range MB B8501A·PF 4 4/B yes yes High speed MB 88501 H·P/·PSH 4 4/B yes yes High speed MB 88501 H·PF 4 4/8 yes yes High speed, ROM 2K version MB 88503H·P/·PSH 4 4/8 yes yes High speed, ROM 2K version MB B8503H·PF 2 4 yes yes Serial buffer 4/8 bits MB B8505·P/·PSH 2 4 yes yes Serial buffer 4/B bits MB 88505·PF 2 4 yes yes Serial buffer 4/B bits, wide voltage range MB BB505A·P/·PSH 2 4 yes yes Serial buffer 4/B bits, wide voltage range MB 88505A·PF 2 4 yes yes High speed, serial buffer 4/B bits MB BB505H·P/·PSH 2 4 yes yes High speed, serial buffer 4/B bits MB B8505H·PF 2 4 yes yes High speed, ROM 2K version MB 88507·P/·PSH 2 4 yes yes High speed, ROM 2K version MB BB507·PF 4 - yes yes On·chip ND converter [B bits x 4 channels) *MB BB511·P/·PSH 4 - yes yes On·chip A/D converter [8 bits x 4 channels) *MBBB511·PF On-chip A/D converter [B bits x 4 channels), 4 - yes yes ROM 2K version *MB BB513·P/·PSH On·chip A/D converter [8 bits x 4 channels) , 4 - yes yes ROM 2K version *MB B8513·PF On·chip A/D converter [B bits x B channels) , 4 - yes yes multiple I/O ports [54 I/O ports) , VFD driver MB BB514B·PSH port [18 seg. x 7 digits) , ROM 6K version On·chip ND converter [81lit~ ~ B channels) , 4 - yes yes multiple I/O ports [54 I/O potts) , VFD driver MB BB515B·PSH port [18 seg. x 7 digits) , ROM BK version On-chip A/D converter [8·bits x B channels) , 4 - yes yes VFD driver port [10 seg. x 7 digits) MB BB516B·PSH On·chip A/D converter [B·bits x 4 channels), 4 - yes yes VFD driver port [B seg. x 6 digits) MB8B517B·P 3 - yes yes Multiple I/O ports [57 I/O ports) .. MB BB521·PSH 2 - yes yes Multiple I/O ports [57 I/O ports) MB 88521·PF 2-145 14 Table 2: (Contined) Ambient Serial ROM RAM Temperature Port Serial Nesting Device Number Process Size Size Package Range Output Buffer Levels [bits] [bits] rOc] Latch *MB 88522·PSH CMOS 4K x 8 256 x 4 DIP -30 to +70 yes 4 8 MB 88523·PSH CMOS 2K x 8 256 x 4 DIP -30 to +70 yes 4 8 MB 88523·PF CMOS 2K x 8 256 x 4 FPT -30 to +70 yes 4 8 MB 88525·PSH CMOS 4K x 8 256 x 4 DIP -30 to +70 yes 4/8 8 MB 88525B·PSH CMOS 4K x 8 256 x 4 DIP -30 to +70 yes 4/8 8 MB 88525B·PF CMOS 4K x 8 256 x 4 FPT -30 to +70 yes 4/8 8 MB 88535·P/·PSH 3 CMOS 2K x 8 128 x 4 DIP -30 to +70 option 4 4 MB 88535·PF 3 CMOS 2K x 8 128 x 4 FPT -30 to +70 option 4 4 MB 88536·P/·PSH 3 CMOS 2K x 8 128 x 4 DIP -30 to +70 option 4 4 MB 88536·PF 3 CMOS 2K x 8 128 x 4 FPT -30 to +70 option 4 4 MB 88541·PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4 8 *MB 88543·PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4/8 8 *MB 88544·PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4/8 8 *MB 88545·PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4/8 8 *MB 88546·PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4/8 8 2-146 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 PLA Output Optional On-chip Output Port On-chip Clock Features Device Number Options 1 Port 2 Prescaler Generator I [bits] Multiple I/O ports [57 I/O ports] , TBD - yes yes *MB 88522-PSH square wave output I Multiple I/O ports [57 I/O ports] , 3 - yes yes ROM 2K version MB 88523-PSH Multiple I/O ports [57 I/O ports] , 3 - yes yes ROM 2K version MB 88523-PF ~ Multiple I/O ports [57 I/O ports] , 3 - yes yes serial buffer 4/8 bits MB 88525-PSH Multiple I/O ports [57 I/O ports] , 2 - yes yes MB 88525B-PSH VFD driver port [8 seg. x 16 digits] Multiple I/O ports [57 I/O ports] , 2 - yes yes MB 88525B-PF VFD driver port [8 seg. x 16 digits] 2 - yes yes On-chip D/A converter [6 bits x 3 channelsJ MB 88535-P/-PSH 3 2 - yes yes On-chip D/A converter [6 bits x 3 channels] MB 88535-PF 3 On-chip D/A converter [6 bits x 3 channels, 2 - yes yes MB 88536-P/-PSH 3 13 bits x 1 channelJ On-chip D/A converter [6 bits x 3 channels, 2 - yes yes 13 bits x 1 channel] MB 88536-PF 3 On-chip LCD driver 2 - yes yes [24 segment output and 4 common output, MB 88541-PF programmable duty: static, 1/2, 1/3, and 1/4J On-chip LCD driver [32 segment output and 4 common output, 2 - yes yes programmable duty: static, 1/2, 1/3, and 1/4J, *MB 88543-PF serial buffer 4/8 bit On-chip LCD driver [24 segment output and 4 common output, 2 - yes yes programmable duty: static, 112, 1/3, and 1/4] *MB 88544-PF serial buffer 4/8 bit On-chip LCD driver [32 segment output and 4 common output, 2 - yes yes *MB 88545-PF programmable duty: static, 112, 1/3, and 1/41. two clock, serial buffer 4/8 bit On-chip LCD driver [24 segment output and 4 common output, 2 - yes yes programmable duty: static, 112, 1/3, and 1/4J, *MB 88546-PF two clock, serial buffer 4/8 bit 2-147 16 Table 2: (Continued) Ambient Serial ROM RAM Temperature Port Serial Nesting Device Number Process Size Size Package Range Output Buffer Levels [bits] [bits] rOc] Latch MB 88551-PF CMOS 8K x 8 256 x 4 FPT -30 to +70 yes 4/8 8 MB 88551H-PF CMOS 8K x 8 256 x 4 FPT -30 to +70 yes 4/8 8 MB 88552-PF CMOS 6K x 8 256 x 4 FPT -30 to +70 yes 4/8 8 MB 88552H-PF CMOS 6K x 8 256 x 4 FPT -30 to +70 yes 4/8 8 MB 88561-PF CMOS 3K x 8 192 x 4 FPT -40 to +85 yes 4 'MB 88562-PF CMOS 4K x 8 256 x 4 FPT -40 to +85 yes 4 Notes: 1- Standard pull-up, high-current pull-up, standard open-drain, high-current open-drain, middle-current open-drain, high-voltage open-drain, and 12V-interface open-drain output port configurations are available on certain devices_ 2. "4" means dual 4-bit parallel output, "8" means 8-bit parallel output. Either option is available. 3. MB 8850 series device. Under development. 2-148 111111111111111111111I111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 PLA Output Optional On-chip Output Port On-chip Clock Features Device Number Port 2 Prescaler Options 1 Generator [bits] On-chip AID converter [5 bits x 4 channels] , 3 - yes yes programmable pulse generator [9 bits x 1] , MB 88551-PF multiple I/O ports [68 I/O ports] On-chip A/D converter [5 bits x 4 channels] , 3 - yes yes programmable pulse generator [9 bits x 1] , MB 88551 H-PF mUltiple I/O ports [68 I/O ports], high speed On-chip A/D converter [5 bits x 4 channels] , 3 - yes yes programmable pulse generator [9 bits x 1] , MB 88552-PF multiple I/O ports [68 I/O ports] On-chip A/D converter [5 bits x 4 channels] , 3 - yes yes programmable pulse generator [9 bits x 1] , M8 88552H-PF Multiple I/O ports [68 I/O ports], high speed On-chip LCD driver [26 segment output and 2 - - yes 2 common output, 1/2 duty], PLL, MB 88561-PF A/D converter [6 bits x 3 channels] On-chip VFD driver [39 segment outputl.PLL, 2 - - yes A/D converter [6 bits x 3 channels] *MB 88562-PF Table 3: PERIPHERAL INTEGRATED CIRCUITS FOR THE FUJITSU 4·BIT MCU FAMILY Process Device Number Function Features Pulsewidth modulation type, 6-bit x 3 ch. MB 88301A·P DfA Converter 13-bit x 1 ch., 4·bit data input 20 character x 9 lines, 5 x 7 dot matrix, TV Display Controller 64 character types, programmable character MB 88303·P [for TV/VCR] size/position/blink, parallel data input, NMOS character generator ROM I/O Expander 4-bit x 4 ch. I/O ports, parallel/AND/OR MB 88304·P [open-drain output] I/O ports, power on reset I/O Expander 4·bit x 4 ch. I/O ports, parallel/AND/OR MB 88305·P [3 state output] I/O ports, power on reset Rising-edge-triggered shift clock input, MB 88306-P/·PF Output Expander 8-bit CMOS data output, serial I/O Rising-edge-triggered shift clock input, MB 88307·P/-PF Output Expander 8·bit N-ch. open-drain data output, serial I/O Falling·edge·triggered shift clock input, M888308-P/-PF Output Expander 8-bit CMOS data output, serial I/O Falling-edge·triggered shift clock input, MB 88309-P/-PF Output Expander 8-bit N-ch. open-drain data output, serial I/O I/O Expander MB 88310-P CMOS version of MB 88304 [open·drain output] I/O Expander MB 88311-P CMOS version of MB 88305 [3 state output] 16(8) characters x 1(2), line(s),5 x 7 dot CMOS TV Display Controller matrix,32 character types, programmable M888313-P [for TV/VCR] character size/position/blink, serial data input, character generator ROM 20 characters x 9 lines, 8 x 8 dot matrix, TV Display Controller 64 character types, programmable character "MB 88321-P [for TV, ROM version] size/position/blink, serial data input, character generator ROM. RGB outputs TV Display Controller "M888322-P Character generator RAM version of MB 88321 [for TV, RAM version] 20 characters x 9 lines, 8 x 8 dot matrix, TV Display Controller 64 character types, programmable character MB 88323·P [for VCR, ROM version] Size/position/blink, serial data input, character genaratoi ROM, V & H sync generation TV Display Controller MB88324-P Character generator RAM version of MB 88323 [for VCR, RAM version] " Under development 19 2-150 111111111111111111111111111111111111111111111111111: FUJITSU 1111111111111111111111111111111111111I11111111I111I1 Ambient Typical Supply Temperature Operating Package Process Voltage Range Clock Frequency [DC] [MHz] I 0IP-16P-M02 5.0 ± 10% -30 to +70 4.0 i ~ 0IP-22P-M02/ FPT-24P-M02 5.0 ± 10% -30 to +70 6.0 I i NMOS ~ 0IP-24P-M01 5.0 ± 10% -30 to +70 I 0IP-24P-M01 5.0 ± 10% -30 to +70 I DI P-16P-M02/ 5.0 ± 10% -40 to +85 2.0 I FPT-16P-M02 II 0IP-16P-M02/ 5.0 ± 10% -40 to +85 2.0 FPT-16P-M02 0IP-16P-M02/ 5.0 ± 10% -40 to +85 2.0 FPT-16P-M02 0IP-16P-M02/ 5.0 ± 10% -40 to +85 2.0 FPT-16P-M02 0IP-24P-M01 5.0±10% -40 to +85 0IP-24P-M01 5.0±10% -40 to +85 CMOS 0IP-16P-M02/ 5.0 ± 10% -30 to +70 6.0 FPT-16P-M02 01 P-22P-M02 5.0 ± 10% -30 to +70 TBO 0IP-22P-M02 5.0 ± 10% -30 to +70 TBO 0IP-22P-M02 5.0 ± 10% -30 to +70 7.16 0IP-22P-M02 5.0 ± 10% -30 to +70 7.16 2-151 Table 4: PIGGYBACK EPROM TYPE EVALUATION DEVICES FOR THE FUJITSU 4-BIT FAMILY External Ambient Applicable RAM Piggyback ROM Supply Temperature Device Number i Series/ Process Package Size EPROM Size Voltage Range [bits] Devices [bits] [OC] MB 8850U1-C401 E MB 8840/50 CMOS MBM 27C32A 4K x 8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x4 MB 8850U1-C402E MB 8840/50 CMOS MBM 27C32A 4K x 8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x4 MB 8850U1-C403E MB 8840/50 CMOS MBM 27C32A 4Kx8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x4 MB8850U1-C411E MB 8840/50 CMOS MBM 27C32A 4K x 8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x4 MB8850U1-C412E MB 8840/50 CMOS MBM 27C32A 4K x 8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x4 MB8850U1-C413E MB 8840/50 CMOS MBM 27C32A 4K x 8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x 4 MB 8850U2-C401 E MB B840/5O CMOS MBM 27C32A 4K x 8 MDP42C·P04 5.0 ± 10% -40 to +B5 12B x 4 MB BB50U2-C402E MB BB40/50 CMOS MBM 27C32A 4K x 8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x 4 MB BB50U2-C403E MB 8B40/50 CMOS MBM 27C32A 4K x B MDP42C·P04 5.0 ± 10% -40 to +85 128 x4 MB BB50U2-C-411 E MB 8840/50 CMOS MBM 27C32A 4Kx8 MpP-42C-P04 5.0± 10% -40 to +B5 128 x4 MB 8B50U2-C-412E MB BB40/50 CMOS MBM 27C32A 4K x B MDP-42C-P04 5.0 ± 10% -40 to +B5 128 x4 MB BB50U2-C-413E MB 8840/50 CMOS MBM 27C32A 4K x 8 MDP-42C-P04 5.0 ± 10% -40 to +85 128 x4 MB 8850H-C-001 MB 8B40H/50H CMOS MBM 27C32A 4K x 8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x4 M B 8850 H -C-002 MB 8840H/50H CMOS MBM 27C32A 4K x 8 MDP42C-P04 5.0 ± 10% -40 to +85 128 x4 MB 88408U-C-001 E MB 88400 NMOS MBM2732A 4K x8 MDP42C-P03 5.0 ± 10% -30 to +70 192 x4 MB 88408U-C-002E MB 88400 NMOS MBM2732A 4K x 8 MDP42C-P03 5.0 ± 10% -30 to +70 192 x4 MB 88408U-C-003E MB88400 NMOS MBM 2732A 4K x 8 MDP42C-P03 5.0 ± 10% -30 to +70 192 x4 MB 88408H-C-101 MB 88400H NMOS MBM 2732A 4K x 8 MDP42C-P03 5.0 ± 10% -30 to +70 256 x4 MB 88408H-C-111 MB 88400H NMOS MBM 2732A 4K x 8 MDP42C-P03 5.0 ± 10% -30 to +70 256 x4 MB 88418-C-001 E MB 88410 NMDS MBM 2732A 4K x B MDP42C-P03 5.0 ± 10% -30 to +70 192 x4 MB 88418H-C-101 MB 88410H NMOS MBM 2732A 4K x 8 MDP42C-P03 5.0 ± 10% -30 to +70 256 x4 MB88418H·C-111 MB 88410H NMOS MBM 2732A 4K x 8 MDP42C·P03 5.0 ± 10% -30 to +70 256 x4 MB 88428-C-101 MBM 2764/ 8K x 8 MB 88420 NMOS MDP-64C-P01 5.0 ± 10% -30 to +70 256 x4 MBM 2732A 4K x 8 NMOS MBM 2764/ 8K x 8 "MB 88428-C-102 MB 8B420 iviDP-64C-POi 5.0 ± 10% -30 to +70 256 x4 MBM 2732A 4K x 8 2-152 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 Output Output Number PLA Serial Port Port of Output Output Port On-chip Oscillation Standby Level Serial Level Device Number Instruc- Port Mask Output Prescaler Type Function During Buffer During tions Number Latch Standby Reset standard crystal! 70 #001 2 yes yes/ no5 ceramic yes/no5 high-Z 4 high MB 8850U1-C-401 E open-drain standard crystal! 70 #0023 yes yes/no5 ceramic yeslnoS high-Z 4 high MB 8850U1-C-402E open-drain standard crystal! 70 #003 4 yes yes!n05 yes! n05 high-Z 4 high MB 8850U 1-C-403E open-drain ceramic standard crystal! 70 #001 2 yes yes/ no5 yes/no5 high-Z 4 high M8 8850U1-C-411 E pull-up ceramic standard crystal! 70 #002 3 yes yes!n05 yes!n05 high-Z 4 high MB 8850U1-C-412E pull-up ceramic standard crystal! 70 #003 4 yes yes!n05 yes!n05 high-Z 4 high MB 8850U1-C-413E pull-up ceramic standard crystal! 70 #001 2 no yes!n05 yes!n05 high-Z 4 high MB 8850U2-C-401 E open-drain ceramic standard crystal! 70 #0023 no yes/no 5 yes!n05 high-Z 4 high MB 8850U2-C-402E open-drain ceramic standard crystal! 70 #003 4 no yes!n05 yes!n05 high-Z 4 high MB 8850U2-C-403E open-drain ceramic standard crystal! 70 #001 2 no yes/noS yes/noS high-Z 4 high MB 8850U2-C-411 E pull-up ceramic standard crystal! 70 #002 3 no yes!n05 yes/no 5 high-Z 4 high MB 8850U2-C-412E pull-up ceramic standard crystal! 70 #003 4 no yes!n05 yes! n05 high-Z 4 high MB 8850U2-C-413E pull-up ceramic standard 10 crystal! yes!no 11 70 #001 2 no yes/noS ceramic (soft) hold 4 low MB 8850H-C-001 open-drain standard 10 crystal! yes!n012 70 #001 2 yes yes/no 5 hold 4 high M B 8850 H -C-002 open-dran ceramic (hard) high I : #:S : I r-6-Bit Data Register-, MSB LSB MSB LSB 013 012 011 010 OAC4 I #:9 #:8: I 2-163 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I I I~ FUJITSU MB 88301A 111111111111111111111111111111111111111111111111111111001 PULSE WIDTH MODULATION/DAC OUTPUT WAVEFORM • 13-Bit Resolution D/A Converter: DACl • 6-Bit Resolution D/A Converters: DAC2 to DAC4 Fig. 8 shows the configuration of the 13-bit resolution pulse Fig. 10 shows the configuiation of the 6-bit resoiution pulse width modulator: The on-chip clock generater provides width modulator: The 2M Hz clock that is the output of 4MHz clock for the 13-bit free-running counter. When all bits Bit 1 of the 13-bit free-running counter drives the 6-bit free- of the counter is zero, the all-zero detector sets the output R- running counter. This 6-bit counter is also part of the 13-bit R-S flip-flop. The COincidence detector compares the counter counter (Bits 2 to 7). The comparator compares the counter with the data register. When they match, the coincidence with the data register every cycle. When the counter value is detector resets the output flip-flop. The waveform appearing equal to or less than the data register value, the comparator at the DACI output depends on the data register value, outputs a high level at the DAC output. When the counter shown in Fig. 9. value exceeds the date register value, the comparator out- puts a low level at the DAC output. This produces the wave- Fig_ 7 - 13-BIT PULSE WIDTH MODULATOR forms at the DAC2, DAC3, and DAC4 outputs, shown in CONFIGURATION Fig. 11. Fig_ 9 - 6-BIT PULSE WIDTH MODULATOR Output CONFIGURATION S-R F/F DAC2 (DAC3) (DAC4) Fig. 8 - DACl OUTPUT WAVEFORM Fig_ 10 - DAC2/DAC3/DAC4 OUTPUT WAVEFORM NOlES: N: DATA REGISTER VALUE (O:5:Ns2 13 _1) NOTES, N, DATA REGISTER VALUE (O;i;N;i;26-1) T : PULSE CyCLE TJME (T = 213.t~LK -: 2.048msl T: PULSE CYCLE TIME (T=26otCLK = 32ps) tH PULSE WIDTH (t H ~ (N+l) • t elK ) tH PULSE WIDTH (t H '" (N+1)' telK I telK: COUNTER CLOCK CYCLE TIME (telK'" 1/4MHz=O.25,usl tel K: COUNTER CLOCK CYCLE TIME hCLK '" 1/2MHz '" O.5j..ts) CD' COUNTER IS ZERO. CD, COUNTER IS ZERO. (OVERFLOW) @: COUNTER MATCHES DATA REGISTER. @' COUNTER EXCEEDS DATA REGISTER. 2-164 1IIIIIIIOOllllllllllliiIIIOOII~lllilllll~ FUJITSU :~IIIIIIIIIIIIIIII!IIII~IIIIIIIIIIIII MB 88301A EXTERNAL FILTER CONFIGURATION The on-chip pulse width modulator generates positive pulse 1. Not use data of "I FFF", or waveforms similar to the one shown in Fig_ 13 at the DAC 2. Change the DACI data register value (Le., "I FFF") just outputs (DACI to DAC4). The pulse width (t H ) is propor- before the counter become full (i.e., all bits are set). Since tional to the digital data programmed into the data register. in this case an undesired pulse due to the data change may The cycle time (T) is determined by the resolution value appear at the DACI output, the pulse must be eliminated (6 or 13 bits). with the external filter. User-designed low-pass filters are required at the DAC outputs to eliminate AC components from the output waveform and to convert the waveform to a DC voltage. Fig. 11 - OUTPUT CIRCUIT CONFIGURATION Fig. 12 shows an example of a simple output configuration in (EXAMPLE) which an RC integrator is used as the low-pass filter. With MB88301A--r--external Output Circuiti this circuit, the DAC waveform shown in Fig. 13 is converted to the VOUT output waveform shown in Fig. 14. Ripple and I vee ' response time (tR) depend on the time constant of the RC filter. A longer time constant reduces ripple but increases DAC1-DAC4 i RL I LPF response time. A time constant that best meets the tradeoff between desired accuracy and response time should be ! r-------l I R I chosen. Also, since the DAC outputs are high-voltage open ~----+-~I~vv~-.--+-OVOUT drain, they can externally be pulled up to a power supply I higher than 5V. This prevents the output voltage from attenuating through the external low-pass filters. --l ! C T Ii Note: I L ______ .J ,b- I ' I The low-pass filter shown in Fig. 12 is just an example. In RL : Pull-up resistor actual practice, depending on the user's system design, LPF : Low-pass filter additional amplifiers, mUlti-stage filters, and other circuits VOUT : LPF output voltage will be needed for the external low-pass filter. NOTICE Fig. 12 - DAe OUTPUT WAVEFORM To change the DC output voltage of the external low-pass filter, the data register value must be updated to vary the positive pulse width (duty ratio) of the DAC output. How· ever, all bits on the data register can not be changed at the same time. They are updated a nibble at a time by the 4-bit parallel data loading. In addition, the DAC output is single buffered. Because of this nibble-by-nibble update and single buffering, the data register value during update may become tH : Pulse width transient. During this pulse cycle, depending·on the transient T : Cycle time value, an undesirable duty ratio disturbance may occur at the DAC output, affecting the filter output. It is therefore neces- sary to design the output filter so that such disturbances in Fig_ 13 - VOUT OUTPUT WAVEFORM the DAC output waveform will not appear at the filter out- put. This notice applies to both the 13-bit and 6-bit resolu- VOUT tion converters. With the 13-bit resolution converter, how- ever, it is possible to avoid such disturbance by software. This is done by controlling the update timing of the data register value through monitoring of the DACI output and the TM03 output waveforms. Also, note the following thing when the DACI output is used: in the steady state where the.DACl data register bits 01 I are all set (Le., data is "I FFF") the DACI output remains high. But, when the· data is updated; there is a possibility I------,-- t R ------l tHIT : Duty ratio that the DACI output may become undefined during that tR : Response time output cycle time (less than one cycle time). To avoid this t : time phenomenon, the following method is utilized: 2-165 111111111111111111111111111111111111111111111111111111I1111 FUJITSU MB 88301A 11111111111111111111111111111111111111111111111111111111111I1 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Rating Unit Pins/Conditions Supply Voltage Vee Vss -0.3 to Vss +8.0 V Vee DI0·DI3. LDI. Input Voltage VIN Vss -0.3 to Vss +8.0 V EXTAL. XTAL Vss = 0 V Vss -0.3 to Vss +15.0 DAC1·DAC4 Output Voltage V OUT V Vss -0.3 to Vss +8.0 TM01·TM03 Operating Temperature TA -30 to +70 °c Ambient temperature Storage Temperature T stg -55 to +150 °c NOTE: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. RECOMMENDED OPERATING CONDITIONS Value Parameter Symbol Unit Min. Typ. Max. Vee 4.5 5.0 5.5 Supply Voltage V Vss 0 Input High Voltage V IH 2.0 Vee V Input Low Voltage V IL - 0.3 0.8 V Clock Frequency fc 0.5 4.0 MHz Operating Temperature TA -30 70 °c NOTE: • Crystal or ceramic resonator should be used. See Fig. 17. DC CHARACTERISTICS (Recommended operating conditions unless otherwise noted.) Value Parameter Symbol Pins/Conditions Unit Min. Typ. Max. TM01·TM03 2.4 Output High Voltage V OH IOH = -2001lA V DAC1·DAC4 Open Drain TM01·TM03 0.4 V IOL = 1.8mA DAC1·DAC4 Output Low Voltage VOL IOL = 2.0mA. 5kQ External 0.8 V Pull Up Resistor DAC1·DAC4 Output Leakage Current ILOH V OH = 13.2V. 50 IlA OFF State Vee = 5.5V. Supply Current lee All Outputs Open 15 25 mA 2·166 11111 F'WrI'SU 1__lilll MB 88301A AC CHARACTERISTICS (Recommended operating conditions unless otherwise noted.1 Parameter Symbol Pins/Conditions Min. Typ. Max. Unit LDI LDI Pulse Width PWLDI 5 /.Is Fig. 14, Fig. 16 trLDI LDI LDI Rise/Fall times 1.5 /.IS tfLDI Fig. 14, Fig. 16 ts 013·010 Address/Data Setup Time 0.5 /.IS Fig. 14, Fig. 16 013-010 Address/Data Hold Time tH 2 /.Is Fig. 14, Fig. 16 trTMO TM01·TM03 TMO Rise/F.all times 0.2 /.Is tfTMO Fig. 15, Fig. 16 Fig. 14 - ADDRESS/DATA INPUT TIMING trLDI tfLDI -f-+.----PWLDI---......,.--i4---PWLDII---~ 2.0V 2.0V LOI 013-010 Fig. 15 - SYNCHRONIZATION CLOCK OUTPUT TIMING 2.4V ~ 2.4V J ~ TM01-TM03 0.4V 0.4V trTMO- - -- I+--tfTMO 2-167 1IIIIillillY FUJITSU MB 88301A ~llllllllllllillll~I••11 Fig. 16 - AC TEST CONDITIONS I • INPUT CONDITIONS Input Levels: 2.0V for a logic "1" I 2.0V O.8V X 2.4V O.4V >TEST POINTS~ 2.4VX O.4V O.SV for a logic "0" I OUTPUT CONDITIONS I ~ l'RL • Timing Reference Levels: DEVIDE 2.4V for a logic "1" L TEST UNDER ..... POINT 0.4 V for a logic "0" TEST • Output Load Circuit: U CL = 100pF (including scope ~ and jig capacitances) RL =4kn 1" ~ 7I!r Fig. 17 - CRYSTAL/CERAMIC OSCILLATOR CIRCUIT fc = 4MHz Cl = C2 = 20pF - 60pF 2-168 1IIIIIIIIIIIIIIWl l l l l l l l l l l lil OOII FUJITSU III~IIIIIIIIIIIIIIIIIIIIIIIIIIIIII~IIIIII MB 88301A PACKAGE DIMENSIONS PLASTIC DIP (Suffix: -PI 16-LEAD PLASTIC DUAL IN-LINE PACKAGE (CASE No_ : DIP-16P-M02) I .23415.95) .29017.37) ~::;:=r==;:=;==;=:::;==;=r=:;=;:==;:=;==;=:;=;:!>!1~6.45) .31017.87) INDEX .756 119.20) . .780119.80) .00810.201 f .01210.30) .002410.61 ) .004411.11) .1.7214.36)MAX .118 13.00) MIN .02010.51)MIN Dimensions in inches (millimeters) ©1986 FUJITSU LIMITED D1~022S-1C 2-169 il l l l l l l l l l l l l!I I ~1 1 1 1 1 1 1 1 1 1 1 1 1 1 : FUJITSU MB 88301A il l l l l l~1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I1 I 1 1 PACKAGE DIMENSIONS PLASTIC SOP(Suffix: -PF) 16-LEAD PLASTIC FLAT PACKAGE (CASE No.: FPT-16P-M02) .002(0.05) .008(0.20) I (STAND OFF) Detail of "A" part .260(6.6) ~ .: ' A: ~ U.O. .28r .2) 12(0.3) J .020(0.5) .007(0.18) MAX ~.028(0.7) ~ JI .. .027(0.68) .024(0.6) - - _ T TYP 014(0.351 .022(0.55) l .039(l 0)" ~ .005 (0.13) .008(0.20) .085(2.15) MAX MAl< Dimensions in ©1986 FUJITSU LIMITED F28005S·2C inches (millimeters) 2-170 MB 88304 FUJITSU MB 88305 11111111111111111111111111111111111111111111111111111111111111111 April 1986 Edition 1.1 NMOS INPUT/OUTPUT EXPANDER The Fujitsu MB 88304/MB 88305 are peripheral integrated circuits that can be connected to a 4-bit or 8-bit single-chip microcomputer (MCU) to provide ad- ditional I/O ports. Besides furnishing simple I/O port expansion, the MB 88304 and MB 88305 can AND or OR port data with data from the MCU, on instruc- tion from the MCU. The MB 88304/MB 88305 are pseudo-bidirectional ports. They are accessed in 4-bit units, but each individual bit can be used for either input or output, and input and output can be intermixed. The interface to the MCU requires only the connection of a 4-bit interface port and a strobe signal. All output ports of the MB 88304 are open-drain; MB 88305 output ports all have pull-up resistors. The output ports on both chips are reset to the high-impedance state at power-up. The MB 88304/MB 88305 are fabricated with N-channel silicon-gate E/D MOS process, and packaged in 24-pin plastic DIP. Also, they are powered with a single +5V power supply, and operate over the ambient temperature range of _30°C to +70°C. PLASTIC DIP DIP-24P-MOl FEATURES • Four 4-bit I/O ports (16 lines) PIN ASSIGNMENT • Four Functions: parallel input, parallel output, AND output, and OR output • AND and OR functions provide individual output capability PBO" Vee • Single-bit input/output: Input and output can be intermixed on each port PB1" PAO" • High output drive PAl' 3 PB2' • Built-in power-on reset circuit PA2' PB3* PA3* 5 PCO' • CS pin for simplified input/output expansion PC1" • Two output circuit types: Open-drain output (MB 88304) TOP VIEW 7 PC2" 3-state output (MB 88305) 013 PC3' • Easily connectable to MCUs with 8243 interface 012 P03' • Single +5V power supply 011 P02' POI' • _30°C to +70°C operating temperature range 12 POO' • N-channel silicon-gate E/D MOS process • 24-pin plastic DIP (Suffix: -PI • {MB 88304: Open-drain output MB 88305: 3 ..tate output This device contains circuitry to protect the inputs against damage due to high static volt- ages or electric fields. However, it is advised that normal precautions be taken to avoid application of any voltage higher than maxi- mum rated voltages to this high impedance circuit. 2-171 1111111111111111111111111111111111111111111111111 FUJITSU MB 88304 1111111111111111111111111111111111111111111111111 MB 88305 LOGIC SYMBOL Processor Expansion Interface 5V Ports vee 4 PA3-PAO (Port A) CS PB3-PBO (Port B) MB 88304 D5T PC3-PCO (Port C) MB 88305 013-010 P03-POO (Port 0) Vss Fig. 1 - BLOCK DIAGRAM mo cs . r----, ~ ~~--~~ PC3' • MB 88304: Open-drain outputs MB 88305: 3-state outputs 2-172 1111111111111111111111111111111111111111111111111111 MB 88304 FUJITSU MB 88305 1111111111111111111111111111111111111111111111111111 PIN DESCRIPTION The MB 88304/88305 have two interfaces: One is the processor interface; C$, LDI, and DI3-DI0, which are used for the processor to communicate with the MB 88304/5 devices. Another is the expansion I/O ports; Ports A, B, C, and D, which serve as an expansion of the processor's I/O. Table 1 - PIN DESCRIPTION Symbol Pin No. Type Name/Function Vee 24 - Vee: is the +5V power supply pin. GND 12 - GND: is the ground pin. Chip Select: is a low-level-sense high-impedance input. A low level on this CS 6 I input selects the device. This input is TTL-compatible. Load Data Input: is an edge-triggered strobe input. The operation code and LDI 7 I address code on DID to DI3 are latched at the LDI falling edge_ The data transffered via DID to DI3 becomes valid on the rising edge of the LDI input. Data Bus: is a 4-bit bidirectional port used for interface to the MCU. The operation code and address code provided by the MCU on this port are DI3 to DID 8 to 11 I/O latched at the falling edge of the LDI strobe input, and input/output data is transferred at the rising edge of the LDI. The DI port remains in the high- impedance state except when the input operation is executed. Ports A, B, C, and Dare 4-bit bidirectional ports used as expansion I/O ports. These four ports are addressed by address codes provided by the MCU. PAOto PA3 2 to 5 I/O When an input operation code is given by the MCU, data on the addressed port is transferred to the DID to DI3 at the rising edge of the LDI. When an PBO, 1, output operation code is provided, data on the DID to DI3 is transferred and I/O PB1 to PB3 21 to 23 latched to the addressed port at the rising edge of the LDI. Logical operations are also possible, in which data on the addressed port is ANDed or ORed with data on the DID to DI3 and the result is latched at the addressed port at the rising edge of the LD I. PCO to PC3 20 to 17 I/O After a power-on reset, Ports A to D are all set to the high-impedance state. An individual port is released from the high-impedance state when the OUT, AND, or. OR function is applied to it. (Since the MB 88304 has open-drain PDO to PD3 16 to 13 I/O outputs, a line returns to the high-impedance state when an "1" is written on it.) 2-173 1111111111111111111III1I1111IIII111111I111I1II111 FUJITSU MB 88304 1111111111111111111111111111111111111111111111111 MB 88305 FUNCTIONAL DESCRIPTION The four 4-bit I/O ports of the MB 8830.4 and MB 8830.5 OUTPUT MODE (Write Mode) are labelled port A, port B, port C, and port D (PA, PB, PC, Corresponding to three functions of the MCU, the MB 8830.4 and PD). They serve as expansion I/O ports for a one-chip and MB 8830.5 have three output modes: data transfer output microcomputer (MCUl. and can be accessed via an MCU (OUT), (ogical OR (OR), and logical AND (AND). porL Their functions are as follows: • OUT • Data transfer from the MCU to port A, B, C, or D The designated port latches and outputs the 4-bit data trans- • Data transfer from port A, B, C, or D to the MCU ferred from the MCU. • ANDing of the port A, B, C, or D data with MCU data and latching of the result at port A, B, C, or D • AND The 4-bit data transferred from the MCU is ANDed with the • ORing of the port A, B, C, or D data with MCU data and 4-bit data of the designated port, which then latches the latching of the result at port A, B, C, or D result as output. For interface to the MCU, the MB 8830.4 and MB 8830.5 • OR have a 4-bit interface port (DID to D13), a strobe input The 4-bit data transferred from the MCU is ORed with the (LDI pin). and a chip select input (CS pin). The interface 4-bit data of the designated port, which then latches the data consists of two 4-bit units. The first 4 bits give the result as output. operation code (2-bits) and address code (2 bits). The second The operation code and address code sent from the MCU to 4-bits are the input or output data. Both 4-bit units are trans- pins DID to DI3 of the MB 8830.4 or MB 8830~_~.':e latched ferred through the interface port (DID to D13) on timings on the falling edge of the strobe signal at the LD I pin. The determined by the strobe (LDI) signal. The MB 8830.4 or MCU data is read on the rising edge of the strobe signal and MB 8830.5 reads the operation code and address code from sent to the logic circuit of the designated port, where it is the MCU on the falling edge of the LD I signal, and sends or processed. The MCU data is then latched as output data. receives the I/O data on the riSing edge of ITIT. The CS pin is used to read a chip select signal from the MCU's I/O port when two or more MB 8830.4 or MB 8830.5 INPUT MODE (Read Mode) chips are connected to the MCU. The MB 8830.4 and MB 8830.5 have only one input mode (IN), corresponding to data input by the MCU. Ope. Code Addr. Code • IN Funciton Port Address The input data at the port designated by the MCU is read and DI3 DI2 Dll DIO sent to the MCU via the interface port (DID to D13). 0 0 IN (Input) 0 0 Port A (PA) 0 1 OUT (Output) 0 1 Port B (PB) The operation and address code sent from the MCU to pins 1 0 OR (Logical OR) 1 0 Port C (PC) DID to DI3 of the MB 8830.4 or MB 8830.5 are latched on the 1 1 AND (Logical AND) 1 1 Port D (PD) falling edge of the strobe signal at the LDI pin. If the opera· tion code specifies input, the MB 8830.4 or MB 8830.5 sends data from the port designated by the address code to the POWER·ON RESET MCU via DID to D13. The MB 8830.4 and MB 8830.5 contain an internal power-on A power-on reset places the chip in the input mode with reset circuit that detects the rise of Vee on the power ports A to D in the high-impedance state. If only the IN supply line and holds the chip circuits in the reset state. function is used thereafter, the ports remain in the high- In the reset state, the interface port (pins DID to D13) is set impedance state. Release from the high-impedance state to the input state, and ports A to D (PA to PD) are in the takes place when the OUT, AND, or OR function is used. high-impedance state (except that latched output ports are The MB 8830.4 and MB 8830.5 are designed for easy external not reset). The Vee line must rise smoothly for the reset driving. The MB 8830.4 has open-drain outputs, while the circuit to operate. Regardless of the input level (high of MB 8830.5 outputs have pull-up resistors. For both chips, the low) of the LDI pin at the moment power is applied, the input level of a port to be used for input can be read by reset state is released at the first falling edge of the LDI writing a 1 and performing the IN function. Input and input. A power-on reset also occurs if the supply voltage output can therefore be intermixed within the four bits of (V cc) drops to 1 V or less, then recovers to the rated volt- each of the four ports (A to D). age. 2-174 1111111111111111111111111111111111111111111111111111 MB 88304 FUJITSU MB 88305 1111111111111111111111111111111111111111111111111111 Fig. 2 - PORT CIRCUIT CONFIGURATION IN INPUT DATA INTERNAL DATA PA3-PAO PB3-PBO OUTPUT DATA PC3-PCO PD3-PDO AND>--I--t OR OUT POWER.QN RESET S SINK CURRENT FROM PORTS A TO 0 For instance, if one of the I/O lines has to sink 9mA, the total IOL (~IOL) of all the lines can be up to 45mA. When VOL ~ 0.45V, the MB 88304 and MB 88305 can sink 5mA (lOL) on each of their 16 I/O lines simultaneously. Example·1: How many I/O lines with 5 TTL leads can be When this current sinking capability is not required on all of driven? the I/O lines, or not all of the lines have to sink 5mA, the IOL = 5 x 1.6mA = 8mA driving capability (sink current) of the other I/O lines can be !: IOL ~ 60mA (from the total IOL charac· increased according to the characteristics shown in the curve teristics curve) below. 60mA/8mA = 7 I/O lines The chip can drive 7 lines with 5 TTL loads, Fig. 3 - !: IOl vs IOl (@ VOl~ 0.45V) making a total of 56mA on these lines. The 140 remaining 4mA can be shared among the other 9 I/O lines. 120 "- Example·2: Suppose that two of the load lines have IOL = > 100 "'"",- It> 20mA (at VOL ~ 1V). Can the MB 88304 or "': MB 88305 drive the following loads? '" '" 0 ~I 2 I/O lines: 20mA (at VOL ~ lV) 80 ~ J 0 8 I/O lines: 4mA (at VOL ~ 0.45V) > 6 I/O lines: 3.2mA (at VOL ~ 0.45V) @J 60 « Total IOL = (2x20mA) + (8x4mA) + (6x3.2mA) E = 91.2mA 40 J Reading the total IOL characteristic for IOL = .2 '-1 20 f\ 4mA, we see that!: I OL ~ 93mA. Since 91.2mA ~ 93mA, the chip can drive these loads. Note: The allowable total IOL (!:I OL ) depends o on the maximum sink current of the o 2 4 6 8 10 12 14 largest IOL of anyone pin (rnA @V OL ;:;;0.45V) lines for which VOL must be equal to or less than 0.45V. 2-175 1111111111111111111111111111111111111111111111111111 FUJITSU MB 88304 1111111111111111111111111111111111111111111111111111 MB 88305 Fig. 4 - TYPICAL APPLICATIONS • INTERFACE WITH 4·BIT MICROCOMPUTER • INTERFACE WITH 8·BIT MICROCOMPUTER MB 8841 "/MB 88401 MBl8049 MB 88304/MB 88305 OUTPUT PAO-PA3 I/O OUTPUT I/O K PORT I/O R PORT I/O PDO-PD3 R4-R7 4 D10-D13 P20-P23 4 RO Lei PROG Lei cs • INTERFACE WITH 4·BIT MICROCOMPUTER MB 88304/MB 88305 MB 88304/MB 88305 MB 8841 "/MB 88401 R4-R7 4 RO Rl~--------------~ R2 NOTE: "Output port of MB 8841 should be open-drain type. 2-176 1111111111111111111111111111111111111111111111111 MB 88304 FUJITSU MB 88305 1111111111111111111111111111111111111111111111111 ABSOLUTE MAXIMUM RATINGS Parameter Symbol NOTE: Permanent device damage may Rating Unit occur if ABSOLUTE MAXI· Supply Voltage Vee Vss -0.3 to + 7.0 V MUM RATINGS are exceeded. Functional operation should be Input Voltage V IN Vss-0.3 to +7.0 V restricted to the conditions as DC detailed in the operational sec· Operating Temperature TA -30 to +70 tion of this data sheet. Exposure Storage Temperature T sts -55 to +150 DC to ABSOLUTE MAXIMUM RA TI NGS conditions for ex- Power Dissipation Po 1.0 W tended periods may affect device reliabil ity. RECOMMENDED OPERATING CONDITIONS Parameter Symbol Value Unit Vee +5 ±10% Supply Voltage V Vss 0 Operating Temperature TA -30 to +70 DC DC CHARACTERISTICS ITA = _30 DC to +70DC, Vee = +5V ± 10%, Vss = OV) Value Parameter Symbol Unit Conditions Min. Typ. Max. Input Low Voltage V IL Vss-0.3 0.8 V Input High Voltage V IH 2.0 Vee + 0.3 V V OL1 - 0.45 V IOL = 5mA Output Low Voltage Port A to 0 V OL2 - 1.0 V IOL = 20m A Output Low Voltage OIOto 013 V OL3 - 0.6 V IOL = 1.8mA Output High Voltage Ports A to 0 V OH1 2.4 V IOH = -501LA 1MB 88305) Output High Voltage 010 to 013 V OH2 2.4 V IOH = -1001LA Ports A to 0 IIL1 -10 20 ILA Vss ~ V IN ~ Vee Input Leak~ge Current 010 to 013, CS,LDI IIL2 -10 10 ILA VSS~VIN~Vee Input Current Ports A to 0 II 2.0 mA V IN = Vss 1MB 88305) Total IOL Output Current from 16 Output ~loL 80 mA Each output current: 5mA Supply Current Vee lec 10 24 mA 2-177 ml l l l l l l l !l l l l l l l l l l l ml l l l 111I111ml.1111 == ::~g: AC CHARACTERISTICS (TA = _30°C to +70°C, Vee = +5V ± 10%, Vss = OV) Value Parameter Symbol Unit Condition Min. Typ. Max. Address/Op Codes Setup Time DI3to DIO tA 100 ns CL =80pF Address/Op Codes Hold Time DI3to DIO tB 60 ns CL = 20pF DI3 to DIO Data Setup Time te 200 ns CL = 80pF (Output Mode) DI3 to DIO Data Hold Time to 20 ns C L = 20pF (Output Mode) Ports A to D Data Output Delay Time tpo 700 ns C L = 100pF (Output Mode) LDI Pulse Width LDI tK 700 ns CS Setup/Hold Time CS tes 50 ns Ports A to D Input Data Setup/Hold Time t LPI 100 ns (Output Mode) DI3to DIO ns C L =80pF Data Output Delay Time tAee 650 (Input Mode) DI3 to DIO Data Hold Time tH 0 150 ns C L = 20pF (Input Mode) 2-178 1111111111111111111111111111111111111111111111111111 MB 88304 FUJITSU MB 88305 1111111111111111111111111111111111111111111111111111 Fig. 5 - TIMING DIAGRAM OUTPUT MODE (WRITE MODE) tcs .. tK • ! tcs 1~8V 2.0V \ 0.8V tA ,-- -tB~ i-tc- ~tD- 2.0V 2.0V HIGH-Z 2.0V '\.2.0V HIGH-Z D13-D10 ADDR. CODE, OPER. CODE DiTA 0.8V 0.8V 0.8V 0.8V 1=.-:po- PA3-PAO - - - - - - - - - - - - - - - - - - - . 1 PB3-PBO 2.4V PC3-PCO OLD OUTPUT DATA NEW OUTPUT DATA PD3-PDO _ _ _ _ _ _ _ _ _ _ _ _ _ _ _..;;0;;:.4:::5.::,;V!~1;:;:.0::..V}[ INPUT MODE (READ MODE) tcs tK tcs 2.0V \ 0.8V / 0.8V .l!. - t B - -tH~ 2.0V 2.4V 2.0V ,2.4V D13-D10 HIGH-Z ADDR.CODE, \ 1 HIGH-Z DITA 0.8V~ OPER. CODE 0.6V 0.8V 0.6V i--tLPI tACC-- ~ PA3-PAO } K 2.4V 2.4V PB3-PBO INPUT DATA PC3-PCO 0.45V!1.0V 0.45V!1.0V PD3-PDO 2·179 -----.~~.---. -. ~--.. -.----- - .. -. 1IIIIIIII!IIIIIIIIIIIillllllllllllllllllllllllili FUJITSU MB 88304 1111111111111111111111111111111111111111111111111 MB 88305 PACKAGE DIMENSIONS PLASTIC DIP (Suffix: ·PI 24·LEAD PLASTIC DUAL IN·LlNE PACKAGE (CASE No.: DIP·24P·M01) INDEX l .524(13.30) .543(13.89) .590(14.991 .610(15.491 ~=;===;=;==;=;==~J 1.171(29.751 1.197(30.401 .1 -----1.11-- 11'''''~'·A> .015(0.371 .118(3.00)MIN .021(0.531 .020(O.51IMIN Dimensions in inches (millimeters) © 1986 FUJITSU LIMITED D24009S-1C 2·180 11111111111111111111111111111111111111111111111111111111111111111 CMOS FUJITSU MB 88310 INPUT/OUTPUT MB 88311 EXPANDER 111111111111111111111111111111111111111111111111 April 1986 Edition 1.0 CMOS INPUT/OUTPUT EXPANDER The Fujitsu MB 88310/MB 88311 are peripheral integrated circuits that can be connected to a 4-bit or 8-bit single·chip microcomputer (MCU) to provide ad· ditional I/O ports. Besides furnishing simple I/O port expansion, the MB 88310 and MB 88311 can AND or OR port data with data from the MCU, on instruc· tion from the MCU. The MB 8831 O/MB 88311 are pseudo·bidirectional ports. They are accessed in 4-bit units, but each individual bit can be used for either input or output, and input and output can be intermixed. The interface to the MCU requires PLASTIC DIP only the connection of a 4-bit interface port and a strobe signal. All output DIP-24p·M01 ports of the MB 88310 are open·drain; MB 88311 output ports all have pull·up resistors. The output ports on both chips are reset to the high·impedance state at power·up. The MB 88310/MB 88311 are fabricated with silicon·gate CMOS process, and package in a 24-pin plastic DIP or plastic fat package (SOP). Also, they are powered with a single +5V power supply, and operate over the ambient temperature range of _40°C to +85°C. PLASTIC SOP FPT -24P-M02 FEATURES • CMOS Version of Fujitsu MB 88304/88305 PIN ASSIGNMENT • Four 4-bit I/O ports (16 lines) • Four Functions: Parallel input, parallel output, AND output, and OR output PBO' Vee • AND and OR functions provide individual output capability PAO' 2 PB,. • Single·bit input/output: Input and output can be intermixed on each port PAl' 3 PB2' • High output drive PA2' 4 21 PB3' • Built·in power·on reset circuit PA3' 5 PCO' • CS pin for simplified input/output expansion 6 PC,. TOP VIEW • Two output circuit types: Open·drain output (MB 88310) LOI PC2' 3-state output (MB 88311) 013 8 PC3' • Easily connectable to MCUs with 8243 interface 012 9 P03' • Single +5V power supply 011 10 P02' 010 11 PO,. • -40°C to +85°C operating temperature range GNO 12 POO' • Si Iicon·gate CMOS process • Two Package Options: • {MB 88310: Open-drain output 24-pin plastic DIP (Suffix: ·P) MB 88311: 3-state output - 24-pin plastic SOP (Suffix: ·PF) This device contains circuitry to protect the inputs against damage due to high static volt- ages or electric fields. However, it is advised that normal precautions be taken to avoid application of any voltage higher than maxi- mum rated voltages to this high impedance circuit. 2-181 IIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIIIIIIIIIIIIIIIIII FUJITSU MB 88310 1111111111111111111111111111111111111111111111111111 MB 88311 LOGIC SYMBOL Processor Expansion Interface 5V Ports vee 4 PA3-PAO (Port A) CS PB3-PBO (Port B) [01 MB 88310 PC3-PCO (Port C) M888311 D13-D10 PD3-PDO (Port D) Vss Fig. 1 - BLOCK DIAGRAM PA2' 012 PAl' pao' POl' "MB 88310: Open-drain outputs MB 88311: 3-state outputs 2-182 1111111111111111111111111111111111111111111111111111 MB 88310 FUJITSU MB 88311 1111111111111111111111111111111111111111111111111111 PIN DESCRIPTION The MB 88310/88311 have two interfaces: One is the processor interface; CS, LDI, and DI3-DIO, which are used for the processor to communicate with the MB 88310/88311 devices. Another is the expansion I/O ports; Ports A, B, C, and D, which serve as an expansion of the processor's I/O. Table 1 - PIN DESCRIPTION Symbol Pin No. Type Name/Function Vee 24 - Vee: is the +5V power supply pin. GND 12 - GND: is the ground pin. Chip Select: is a low-level-sense high-impedance input. A low level on this CS 6 I input selects the device. This input is TTL-compatible. Load Data Input: is an edge-triggered strobe input. The operation code and LDI 7 I address code on DIO to DI3 are latched at the LDI falling edge. The data transffered via DIO to DI3 becomes valid on the rising edge of the LDI inPut. Data Bus: is a 4-bit bidirectional port used for interface to the MCU. The operation code and address code provided by the MCU on this port are DI3 to DIO 8 to 11 I/O latched at the falling edge of the LDI strobe input, and input/output data is transferred at the rising edge of the LDI. The DI port remains in the high- impedance state except when the input operation is executed. Ports A, B, C, and Dare 4-bit bidirectional ports used as expansion I/O PAO to PA3 2 to 5 I/O ports. These four ports are addressed by address codes provided by the MCU. When an input operation code is given by the MCU, data on the addressed PBO, 1, port is transferred to the DIO to 013 at the rising edge of the LDI. When an I/O output operation code is provided, data on the DIO to DI3 is transferred PB1 to PB3 21 to 23 and latched to the addressed port at the rising edge of the LDI. Logical operations are also possible, in which data on the addressed port is ANDed or ORed with data on the DIO to DI3 and the result is latched at the PCO to PC3 20 to 17 I/O addressed port at the rising edge of the LDI. After a power-on reset, Ports A to D are all set to the high-impedance state. An individual port is released from the high-impedance state when the OUT, AND, or OR function is applied to it. (Since the MB 88310 has open-drain PD~ to PD3 16 to 13 I/O outputs, a line returns to the high-impedance state when an "1" is written on it.) 2-183 1111111111111111111111111111111111111111111111111111 FUJITSU MB 88310 1111111111111111111111111111111111111111111111111111 MB 88311 FUNCTIONAL DESCRIPTION The four 4-bit I/O ports of the MB 88310 and MB 88311 OUTPUT MODE (Write Mode) are labelled port A, port B, port C, and port D (PA, PB, PC, Corresponding to three functions of the iVlCU, the MB 88310 and PD). They serve as expansion I/O ports for a one-chip and MB 88311 have three output modes: data transfer out- microcomputer (MCU), and can be accessed via an MCU put (OUT), logical OR (OR), and logical AND (AND). port. Their functions are as follows: • Data transfer from the MCU to port A, B, C, or D • OUT The designated port latches and outputs the 4·bit data • Data transfer from port A, B, C, or D to the MCU transferred from the MCU. • ANDing of the port A, B, C, or D data with MCU data and latching of the result at port A, B, C, or D • AND • ORing of the port A, B, C, or D data with MCU data and The 4-bit data transferred from the MCU is ANOed with the latching of the result at port A, B, C, or D 4-bit data of the designated port, wh ich then latches the result as output. For interface to the MCU, the MB 88310 and MB 88311 have a 4-bit interface port (DIO to DI3), a strobe input • OR (LDI pin), and a chip select input (CS pin). The interface The 4-bit data transferred from the MCU is ORed with the data consists of two 4-bit units. The first 4 bits give the 4-bit data of the designated port, which then latches the operation code (2-bits) and address code (2 bits). The second resu It as output. 4-bits are the input or output data. Both 4-bit units are trans- ferred through the interface port (DIO to D13) on timings The operation code and address code sent from the MCU to determined by the strobe (LDI) signal. The MB 88310 or pins 010 to 013 of the MB 88310 or MB 88311 are latched MB 88311 reads the operation code and address code from on the falling edge of the strobe signal at the LOI pin. The the MCU on the falling edge of the LDI signal, and send~ or MCU data is read on the rising edge of the strobe signal and receives the I/O data on the rising edge of LDI. sent to the logic circuit of the designated port, where it is processed. The MCU data is then latched as output data. The CS pin is used to read a chip select signal from the MCU's 1/0 port when two or more MB 88310 or MB 88311 INPUT MODE (Read Mode) chips are connected to the MCU. The MB 88310 and MB 88311 have only one input mode (IN), corresponding to data input by the MCU. Ope. Code Addr. Code Function Port Address • IN 013 012 Funct 011 010 The input data at the port designated by the MCU is read 0 0 IN (Input) 0 0 Port A (PA) and sent to the MCU via the interface port (010 to 013). 0 1 OUT (Output) 0 1 Port B (PB) 1 0 OR (Logical OR) 1 Port C (PC) The operation and address code sent from the MCU to pins 0 1 1 AND (Logical AND) 1 1 Port 0 (PO) 010 to 013 of the MB 88310 or MB 88311 are latched on the falling edge of the strobe signal at the LOI pin. If the opera- tion code specifies input, the MB 88310 or MB 88311 sends POWER-ON RESET data from the port designated by the address code to the MCU via 010 to 013. The M B 88310 and MB 88311 contain an internal power-on reset circuit that detects the rise of Vee on the power A power-on reset places the chip in the input mode with supply line and holds the chip circuits in the reset state. ports A to D in the high-impedance state. If only the IN In the reset state, the interface port (pins DIO to D13) is set function is used thereafter, the ports remain in the high· to the input state, and ports A to D (PA to PD) are in the impedance state. Release from the high-impedance state high-impedance state (except that latched output ports are takes place when the OUT, AND, or OR function is used. not reset). The Vee line must rise smoothly for the reset The MB 88310 and MB 88311 are designed for easy external circuit to operate. Regardless of the input level (high of driving. The MB 88310 has open-drain outputs, while the low) of the LDI pin at the moment power is applied, the MB 88311 outputs have pull-up resistors. For both chips, the reset state is released at the first falling edge of the LDI input level of a port to be used for input can be read by input. A power-on reset also occurs if the supply voltage writing a 1 an'~ performing the IN function. Input and (V ce) drops to 1 V or less, then recovers to the rated volt- output can therefore be intF!rmixed within the fou!" bits of age. each of the four ports (A to D). 2-184 1111111111111111111111111111111111111111111111111111 MB 88310 FUJITSU MB 88311 1111111111111111111111111111111111111111111111111111 Fig. 2 - PORT CIRCUIT CONFIGURATION IN INPUT DATA INTERNAL DATA PA3-PAO PB3-PBO OUTPUT DATA PC3-PCO PD3-PDO AND DR OUT POWER.QN RESET SINK CURRENT FROM PORTS A TO D making a total of 56mA on these lines. The When VOL ~ 0.45V, the MB 88310 and MB 88311 can sink remaining 4mA can be shared among the other 5mA (lod on each of their 16 I/O lines simultaneously. 9 I/O lines. When this current sinking capability is not required on all of Example·2: Suppose that two of the load lines have IOL = the I/O lines, or not all of the lines have to sink 5mA, the 20m A (at VOL ~ lV). Can the MB 88310 or driving capability (sink current) of the other I/O lines can be MB 88311 drive the following loads? increased according to the characteristics shown in the curve 2 I/O lines: 20mA (at VOL ~ lV) below. 8 I/O lines: 4mA (at VOL ~ 0.45V) For instance, if one of the I/O lines has to sink 9mA, the 6 I/O lines: 3.2mA (at VOL~ 0.45V) total IOL (~Iod of all the lines can be up to 45mA. Total IOL (2x20mA) + (8x4mA) + (6x3.2mA) Example·l: How many I/O lines with 5 TTL leads can be = 91.2mA Reading the total IOL characteristic for IOL = driven? 4mA, we see that ~loL ~93mA. Since 91.2mA IOL = 5 x 1.6mA = 8mA ~ 93mA, the chip can drive these loads. ~loL ~ 60mA (from the total IOL charac· teristics curve) Note: The allowable total IOL (~Iod depends 60mA/8mA = 7 I/O lines on the maximum sink current of the lines for which VOL must be equal to or The chip can drive 7 lines with 5 TTL loads, less than 0.4 V. Fig. 3 - L IOL vs IOL (@ VOL~ O.45VI NOTICE ON USING INPUT MODE 140 When the MB 88310/88311 devices work in input mode with a processor which has no 8243 interface, data collision 120 "- may occur between the device's D13-D10 port and pro· ;; "'0 100 i'-. cessor's data bus. In such case, the following limits should be ~ -0: noticed. >11 80 1. DC collision: Maximum short circuit current for 013 - ~ J 0 010 = 2.5mA. > 2. AC collision: Maximum short circuit current for 013 - @> 60 < <0: .s J 40 I\. 010 = 30mA at T2/Tl (= duty) T2 < lms. (See figure below.) 0.1 and .9 '" 20 f\ o o 2 4 6 8 10 12 14 Largest IOL of anyone pin (rnA @V OL ;£ 0.45Vl Nota: T1 = Period, T2 = Collision Time 2-185 1111111111111111111111111111111111111111111111111111 FUJITSU MB 88310 1111111111111111111111111111111111111111111111111111 MB 88311 Fig. 4 - TYPICAL APPLICATIONS • INTERFACE WITH 4·BIT MICROCOMPUTER • INTERFACE WITH a·BIT MICROCOMPUTER MB 8841*/MB 88401 MB 88310/MB 88311 M8L 8049 M8 8831 O/MB 88311 OUTPUT OUTPUT R PORT 1/0 POO-P03 R4-R7 1V-_ _..;4_ _--vJ010-013 P20-P23 1"""'____-,/1 RO r-----------o~ LOI cs PROGr--------~ ~---'" • INTERFACE WITH 4·BIT MICROCOMPUTER MB 88310/MB 88311 MB 8831O/M8 88311 MB 8841*/MB 88401 010-013· D10-013 R4-R7 4 RO~------------~~---------------J R1r---------------~ R2 NOTE: * Output port of MB 8841 should be open-drain type. 2-186 Im~mlllmilillimllil~lllumlmll MB 81310 FUJITSU MB8B3n ~11~~OO!I!I~~~m~MII ABSOLUTE MAXIMUM RATINGS NOTE: Permanent device damage may Parameter Symbol Rating Unit occur if ABSOLUTE MAXI- Supply Voltage Vss-0.3 to +7.0 MUM RATINGS are exceeded. Vcc V Functional operation should be Input Voltage V IN Vss-0.3 to +7.0* V restricted to the conditions as detailed in the operational sec- Operating Temperature TA -40 to +85 °c tion of this data sheet. Exposure to ABSOLUTE MAXIMUM Storage Temperature Tstg -55 to +150 °c RATINGS conditions for ex- tended periods may affect device Power Dissipation Po 1.0 W reliability. *V IN should not exceed V cc + 0.3V. RECOMMENDED OPERATING CONDITIONS Parameter Symbol Value Unit Vce +5 ± 10% Supply Voltage V Vss 0 Operating Temperature TA -40 to +85 °c ELECTRICAL CHARACTERISTICS DC CHARACTERISTICS (TA = -40°C to +85°C, Vce = +5V ± 10%, Vss = OV) Value Parameter Symbol Unit Conditions Min. Typ. Max. Input Low Voltage V IL Vss-0.3 0.8 V Input High Voltage V IH 2.2 Vce+ 0.3 V Output Low Voltage V OLl - 0.45 V IOl =5mA Port A to 0 V OL2 - 1.0 V IOl =20mA Output Low Voltage DIOto 013 V OL3 - 0_6 V IOl = 1.8mA Output High Voltage Ports A to 0 V OHl 2.4 V IOH =-240pA(MB88311) Output High Voltage DIOto 013 V OH2 2.4 V IOH =-100pA Ports A to 0 Illl -10 20 pA Vss ~VIN ~Vcc I nput Leakage Current D10.!QJ)13, CS, LDI IIL2 -10 10 pA Vss ~ V IN ~ Vcp Input Current Ports A to 0 II 1.0 mA V IN = Vss (MB 88311) Total IOl Output Current from 16 Output l:IOl 80 mA Each output current: 5mA All outputs open, lecl 200 600 IJ-A Normal operation Supply Current Vec All outputs open, lec2 1.0 10 pA Standby operation, LDI cycle = 5ps 2-187 1111111111111111111111111111111111111111111111111111 FUJITSU MB 88310 1111111111111111111111111111111111111111111111111111 MB 88311 AC CHARACTERISTICS (TA = _40°C to +B5°C, Vee = +5V ± 10%, Vss = OV) Value Parameter Symbol Unit Conditions Min. Typ. Max. Address/Op Codes Setup Time DI3 to DIO tA 100 ns CL = BOpF Address/Op Codes Hold Time DI3 to DIO t8 60 ns C L = 20pF DI3 to DIO Data Setup Time te 200 ns CL = BOpF (Output Mode) DI3 to DIO Data Hold Time to 20 ns CL = 20pF (Output Mode) Ports A to D Data Output Delay Time tpo 700 ns CL = 100pF (Output Mode) - LDI Pulse Width LDI tK 700 ns CS Setup/Hold Time CS tes 50 ns Ports A to D Input Data Setup/Hold Time t LPI 100 ns (Output Mode) DI3 to DIO Data Output Delay Time t Aee 650 ns CL = BOpF (Input Mode) DI3 to DIO Data Hold Time tH 0 150 ns C L = 20pF (Input Mode) 2·188 1IIIIIIIIIIIImlllllllllllllllllllllllllllllllllili MB 88310 FUJITSU MB 88311 11111111111111111111~llllllmllllllllllllllllllm Fig. 5 - TIMING DIAGRAM OUTPUT MODE (WRITE MODE) HIGH-Z 2_0V HIGH-Z 013-010 O_BV I'----.J! PA3-PAO ----------------~~ PB3-PBO PC3-PCO OLD OUTPUT DATA NEW OUTPUT DATA P03-PDO _ _ _ _ _ _ _ _ _ _ _ _ _ _ -::;~.:..:.;.::.:JI ' -_ _ _ __ INPUT MODE (READ MODE) tcs . tK . . tcs ~_BV 2.0V \ O.BV ~ -t8- i--tH- 2.0V 2,4V 2.0V \2.4V HIGH-Z HIGH-Z ADDR.COOE. \ 013-010 OPER.CODE DtTA O.BV 0.6V O.BV 0.6V I--tLPI tACC- .~ PA3-PAO PB3-PBO PC3~PCO PD3-PDO } 2,4V 0.45V/1.0V INPUT DATA 2,4V 0,45VI1.0V K 2·189 Ilmm~IIIIIIIIIIIIIIIIIIIIIIIII~II~~llmllll FUJITSU MB 88310 111111111111111111111111111111111111111.111111111 MB 88311 PACKAGE DIMENSIONS PLASTIC DIP (Suffix: ·PI 24-LEAD PLASTIC DUAL IN·LINE PACKAGE (CASE No.: DIP·24P·M011 INDEX l .524(13.30) .543(13.89) .590(14.99) .610(15.49) ~~rr~~rTl.TI7'1('29=.7r5~)~rrTT"~I~ 1.197(30.40) II-- -----I- II'''''~'·'' .015(0.37) .021 (0.53) .118(3.00)MIN .020(0.51)MIN Dimensions in inches (millimeters) © 1986 FUJITSU LIMITED D24009S·1C \ 2·190 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImimii MB 88310 FUJITSU MB 88311 11111111111111111~llmllllllllllllllllllllllllllll PACKAGE DIMENSIONS PLASTIC SOP (Suffix: ·PF) 24-LEAD PLASTIC FLAT PACKAGE (CASE No.: FPT·24p·M02) .002(0.051 MIN fll (STAND OFFI -dJ..-t--. ·386(9.81 .417(10.61 INDEX .287(7.31 ~::;:;::::;:;=n=;n=;:;::;:;::;:;;=;:;=;:;:::::;:r~~(7 .91 .012(0.31 .028(0.71 Detail of "Au part ..024(0.61 .050(1.271 TYP .007(0.181 MAX .027(0.681 Dimensions in MAX inches (millimeters) ©1985 FUJITSU LIMITED F240Q8S-1C 2·191 ~ .....- - . - - - - - FUJITSU • MB88306 MB88307 MB88308 October 19B6 MB88309 CMOS Output Expander DESCRIPTION Each of the four expanders provides a serial 1/0 port and an B-bit paral- lel output port. Data is serially loaded via the input port, converted to an B-bit parallel format, and latched. The latched data is then transferred to the parallel output port for distribution. The B-bit output port can directly drive a Light Emitting Diode (LED) display; the LED display can be ex- panded in byte-size increments to make any desired configuration. In terms of output drive and shift clock triggers, each expander is unique- see description that follows. Expander Output Shift Clock Trigger MBBB306 CMOS 3-State Rising Edge 8306-1 MBBB307 NMOS Dilen Drain Rising Edge Plastic DIP (Suffix -P) MBBB30B CMOS 3-State Falling Edge DIP-16P-M02 MBBB309 NMOS Open Drain Falling Edge MBBB306171B/9 are fabricated by a silicon-gate CMOS process and are packaged in a standard 16-pin plastic DIP or SOP. All four expanders operate with a single + SV power source and a 2 M Hz shift clock over an ambient temperature range of -40'C to + BS'C. FEATURES • B-bit parallel output 8306-2 • Serial input/output Plastic SOP (Suffix -PF) FPT-16P-M02 • Expandable in B-bit increments • LED direct drive capability: 15 rnA max at 1.2V Pin Assignments • Two output port types: -CMOS 3-state output (MBBB306/B) so Vee -NMOS open-drain output (MBBB307/9) LOAD IiESEf 00 Sl • Two shift clock polarities: 01 07 -Rising-edge-triggering (MBBB306/7) -Falling-edge-triggering (MBBB30B/9) 02 os 03 05 • Simple interface to Fujitsu 4-bit microcomputers SC(iC) 04 • TTL compatible outputs V.. l5E • Single + SV power supply 8306-3 • Silicon-gate CMOS process Note; • Two package options: SC is applicable to MB88306 and MB88307 SC is applicable to MB88308 and MB88309 -16-pin plastic DIP (Suffix -P) -16-pin plastic SOP (Suffix -PF) This device contains circuitry to protect the in- puts against damage due to rn9h static voltages or electric fields. However. it is advised that nor· Copyright @ 1986 by Fujitsu limited and Fujitsu Subsidiaries worldwide. mal precautions be taken to avoid application of any voltage higher than maximum rated voltages This document contains information considered proprietary by Fujitsu limited, Tokyo. Japan and to this high impedance cirCuit. its subsidiaries. No part of this document may be copied or reproduced in any form or by any means, or transferred to any third party without the prior written consent of Fujitsu Limited. 838306 2-192 MB8830e MB88307 MB88308 MB8830e Figure t. Block Diagram DE - - - - I Vee 07 06 05 03 02 01 00 Vss_ 8306-4 Figure 2. System Intertace +5V T Vee SI • 07 06 • 05 04 PROCESSOR INTERFACE . M...... 03 MRALLEL OATAOUTPUT EXPANSION PORT MIIII8307 02 Ma_ Ma_ 01 00 • SO SERIAL DATA OUTPUT Vss 1 8306-5 Note: SC for M88830617; ~ for MB88308/9 FUJITSU 2-193 MB88308 MB88307 MB88308 MB88309 PIN DESCRIPTION Figures 1 and 2 show the pin assignment and logic symbol of the MB883061718/9. Table 1 shows the pin description. The MB88306/7/8/9 have two interfaces: one is the processor interface; SI, SC (SC), RESET, LOAD, and dE inputs; the other is the expansion output port; 07-00, and SO outputs. Table 1: Pin Description Name & Function + 5V dc power supply pin. Power supply ground pin . • Processor Interface SI 14 I Serial data input to the internal shift register: A data bit on the SI pin is shifted into the MSB of the shift register at the rising edge (MB8830617) of the shift clock SC or the falling edge (MB88308/9) of the shift clock for SC. The data bits are transferred from the processor or from the SO pin of the cascaded devices. SC 4 I Shift clock input for the internal shift register: The rising edge of SC (MB8830617) or (SC) falling edge of SC (MB88308/9) shifts a data bit on the SI pin into the MSB of the shift register, each bit of the shift register is shifted right, and the LSB of the shift register appears directly on the SO pin. A high level and low level and the falling edge (MB8830617) or the rising edge (MB88308/9) keep contents of the shift register. This is a hysteresis input. RESET 15 I Preset input for the internal data latch: A low level on the RESET pin initializes the data latch in high state, and also inhibits the LOAD input. This is a hysteresis input. The RESET input does not affect the shift register and the output drain. LOAD 2 I Load enable input for the internal data latch: A low level on the LOAD pin transfers 8-bit parallel data of the shift register into the data latch. A high level inhibits data transmission from the shift register to the data latch, to hold contents of the data latch. This input is automatically inhibited when the RESET input is activated (low). This is a hysteresis input. bE 9 I Output enable input of the output driver: A low level on the OE pin outputs 8-bit data of the data latch on the data output pins 07-00. A high level places the 07-00 pins in high impedance state. The bE pin does not control the SO output. • Expansion Port 07-00 13-10, 0 Parallel data output: This is an 8-bit 3-state data output port. This port outputs 8-bit 6-3 data in the data latch when the bE pin is activated (low), and is placed in high impedance state when the OE pin is inactive (high). This port is CMOS 3-state output (MB88306/8) or NMOS open-drain output (MB88307/9). Both output drivers can directly drive LEDs. The MSB and LSB of the shift register are output onto the 07 and 00 pins, respectively. These pins are TTL compatible. SO 1 0 Serial data output of the internal shift register: The LSB of the shift register appears directly onto the SO pin with some delay time because the SO output has no output latch. This pin is used to cascade devices to expand the data output port in 8-bit units. This pin is TTL compatible but is not 3-state output controlled by the OE pin. FUJITSU 2-194 MB8830e MB88307 MB88308 MB88308 PUNCTIONAL DESCRIPTION BLOCK FUNCTIONS The MB883061718/9 consist of a shift register, a data latch, and the RESET input is active, the LOAD input is automaticelly inhib- an output driver. Figure 1. ited. Output Driver This is an 8-bit serial-in/parallel-out static shift register, that con- This is an 8-bit 3-state output driver that is driven by 8 bits of verts serial data loaded by the processor into 8-bit parallel data. data from the data latch. The MB88306/8 have a CMOS 3-state The rising edge (MB8830617) or falling edge (MB88308/9) of output driver and the MB88307/9 have an NMOS open-drain the shift clock (SC or ~ shifts a data bit on the 51 pin into the output driver. Both drivers are controlled by the bE input and MSB of the shift register. Each bit of the shift register is shifted can directly drive LEOs (VOL = 1.2V max at IOL = 20 mAl. A right (MSB --+ LSB), and the LSB of the shift register is shifted low level on the bE pin enables 8-bit data in the data latch onto out onto the SO pin. Eight parallel output lines of the shift regis- output pins 07-00. A ~!fs:;el forces the output pins to a high ter are internally connected to the data latch inputs. The Shift impedance state. The Input does not affect the output register has no clear input and, after power-up, the register con- driver. tents are undefined. The RESET input does not affect the shift register. Sy.,.... INTIIRPAC. Dtlta Latch The processor and expansion-port interface for the four expan- ders is shown in Figure 2. As previously indicated, internal oper- This is an 8-bit D-type transparent latch that holds 8-bit parallel ations of the MB88306 and MB88307 are initiated on the rising data transferred from the shift reggter. The latch has two control edge of Shift Clock (SC) whereas, the same operations in the inputs, IT5AD and ~: The L AD pin is a data enable input MB88308 and MB88309 occur on the falling edge of SC. The and a low level on this pin transfers contents of the shift register Serial Output (SO) pin can be used to cascade two or more ex- into the data latch. The RESET pin is a preset input and a low panders; an example is shown later in this data sheet. level on this pin initializes the data latch in the high state. When Table 2_ blNlncler Functions Controllnputa Internal State Dtlta Outputa Shift Dtlta Mode SC(SC) LOAD J!iDIT i5I! R......r Latch 07-00 Shift i (,I.) H X X X X X H/L, H Z Hold X X X X ,I. (i) L X H X X Z Load X (X) L H L H/L H/L H/L H Z Reset X (X) X L X H L X Legend, H = High level Z - High Impedance t - Rising edge L = Low level X = Don't care ... - Failing edge FUJI'l'SU 2-195 .B88308 .B88307 .B88308 .B88308 FUNCTIONAL D.8CRIPTION (Continued) OPIIRAnNG MODD Inltlallutlon (R...t Mode) Data Input (Shift" Hold Modes) After power on, contents of the shift register and data latch are Data serially loaded by the processor through the SI pin ~ undefined. The shift register can not be Initialized by hardware chronously with the shift clock, SC (MB8830617) or SC because it has no preset input. The data latch can be preset to (MB88308/9). At the rising edge of SC or the failing edge of SC, a high state by a low level on the RESET pin. serial data on the SI pin is shifted into the MSB of the shift regis- ter. Each bit of the shift register is shifted right, and the LSB of the shift register underflows onto the SO pin. During high and low levels of SC (SC), contents of the shift register are held. Fltlu... 3. Input/Output Timing a.HC11 on the Rising ~. . of 8C (I/O Umlng for ~ Is IdenUcal, except for puls..wldth offset.) sc , , , , , :. ZZZZZZZZZJ ,, I I I,L ,,I , IL q I '. ,,, :L IL :, , I I ,,, vZZZZZZZZZZZZZt L : i, zzzzzzaz/J I, , ri I , i, i I L ,, II I I ,, BIT a 'ZZZZZZZZZZZllZllJ,, I,, r-1 :, L , I , ,, L I BITS 'azzzzzzzZZZZZZZZ///A r-l , I BIT 0 'ZZzzmzzzzzzmzzzaam I ~~_ _~r-1~L_________ _ BIT a zzzzzzzzzzzzzazzzzzzzzzzzaZZZ4 H BIT2 I7ZZZWl/l/mamamwZZZzzWA BIT' 1ZZZZaZZZZZzzZZZZzzZmZZZaZ7II/ll1IlZZI BIT 0 (LIB) 7zzzzazzzzzzzzzzzzzazzzazzzzzzzzzazzzzzzZZZI, H , I 10 ZZZZZZZZZZZzzzzzzzzzzzzzzzazzzzazazzzzzzzzzz , I --------'l.J ,, r ----------------------------------..'---------------- U I ""'" LATCH /fj/II//1/ _LlW!L \".....;==D;..._ ~r--------------------------------~ I !-- ~ ~GH .... DANCE !oc 8306-8 FUJITSU 2-198 ••8830• ••88307 ••88308 ••88308 FUNCTIONAL DI:SCRIPTION (Continued) Data Output (Load Mode) A low level on the LOAD pin transfers 8 bits of data from the the MB88307/9 float when 1s are output because they have shift register in parallel into the data latch. A low level on the bE NMOS open-drain drivers.) pin enables the 8·bit data in the data latch onto the output port pins 07-00. When the LOAD pin is high, the shift register and APPLICAnoN the data latch are isolated to hold contents of the data latch. (When the RESET pin is activated, the load input is automatical· Figure 4 shows an example of an expended output port configu. Iy inhibited.) Also, when the bE pin is inactive, the 07-00 pins ration. are forced to a high impedance state. (The data output pins of Plgure 4. I:xpended Output Port Configuration oSV OSV -rVee I""" Vee SO ., 07 TIl SC(8C) 08 111m RESET 05 .18150' "'IIT MCU . ar ....... ....... .II13II7 04 R' mil ....... 01 AO .---- SO 02 RI - 01 00 V,. Vos * '-- II -r*... Vee 07 scliC) 08 iiiiii -....... 05 III! 04 .II13II7 tIIlUI ....... 02 - SO 02 01 00 V.. FUJITSU * 8306-7 2·197 M888308 M888307 M888308 M888309 ABSOLUTE MAXIMUM RATINGS Rating Parameter Symbol Min Max Unit Remarks Supply Voltage Vee VSS-O.3 VSS+7.0 V Input Voltage VIN Vss-0.3 Vss+7.0 V Should not exceed Vee + 0.3V Output Voltage VOUT Vss-0.3 Vss+7.0 V Should not exceed Vee + 0.3V Output Low Current IOL 20 rnA Total Output l:IOL 60 rnA Low Current Power Dissipation Po 200 mW Operating Ambient TA -40 +85 'C Temperature Storage Temperature TSTG -55 +150 'C Note: Permanent device damage may occur if the above ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. RECOMMENDED OPERATING CONDITIONS Value Parameter Symbol Min Max Unit Remarks Vee 4.5 5.5 V Guaranteed range Supply Voltage Vss 0 0 V VIH 0.7Vee Vee+ 0.3 V Non-hysteresis inputs: SI, ~ Input High Voltage VIHS 0.8Vee Vee + 0.3 V Hysteresis inputs: RESET, LOAD, SC (SC) VIL Vss-0.3 0.3Vee V Non-hysteresis inputs: SI, OE Input Low Voltage VILS Vss-0.3 0.2Vee V Hysteresis inputs: RESET, LOAD, SC (SC) Operating Ambient TA -40 +85 'C Temperature FUJITSU 2-198 ...88308 ...88307 ...88308 ...88308 DC CHARACT.RISTICS (Recommended operating conditions unless otherwise noted) Perame..r Symbol Pin Condition Vee = 4.5V,IOH = -2oo,.A Min 2.4 Value Typ .... Unit V Output High Voltage VOH 07-001, SO Vee = 4.5V, IOH = -10 poA 4.0 V Vee = 4.5V,IOL = 1.8 mA 0.4 V Output Low Voltage VOL 07-00,80 Vee = 4.5V, IOL = 5.0 rnA 0.6 V Vee = 4.5V,IOL = 15 rnA 1.2 V Input Leakage SI,SC,(~ -10 poA IlL RESET, rnIrn, ()E Vee = 5.5V, VIN = 0.4V Curren1 High-Impedance Vee = 5.5V, Output Leakage loz 07-001 VIN = OV to 5.5V, ±10 poA Current Off State Open-Drain Vee = 5.5V, Output Leakage Ileak 07-002, SO VIN = 5.5V, 10 ,.A Current Off State Vee = 5.0V (Typ), 5.5V (Max), Ic = 2 MHz, Supply Current lee Vee All Outputs Open and '100 200 poA All Inputs Pulled Up/Down to VeelVss N_ 1. This P'irameter Is specWled lor MB88307/MB88309 (CMOS 3-state output). 2. This parameter is specified lor MB88306/MB88308 (NMOS open-,hln output). AC C"ARA~RI.TICS (Recommended operating conditions unless otherwise noted) Input Timing Requlremen" Value Perame..r Symbol Pin Condition Min Typ Mu Unit Shift Clock Frequency Ic SC(S"e) 2 MHz Shift Clock Cycle Time tcvc SC~ F"tg. 5 (Fig. 6) 0.5 pos twcH Shift Clock Pulse Width SC~ FIg. 5 (Fig. 6) 200 ns twcL . Shift Clock Rise/Fall TImes Icr SC (S"e) Fig. 5 (Fig. 6) 10 100 ns Icr Input Data Setup TIme Is SI Fig. 5 (Fig. 6) 100 ns Input Data Hold Time It! SI Fig. 5 (Fig. 6) 50 ns Reset Pulse Width !wI ~ Fig. 7 100 ns Load Pulse Width !w2 LOAD Fig. 7 200 ns F'WITSU 2-199 M888306 MB88307 MB88308 MB88309 AC CHARACTERIS'nCS (Recommended operating conditions unless otherwise noted) (Continued) Figure 5. Input Timing for MB88308 and MB88307 lcYe ~O.2Vec O.8Vec O.8Vec O.8Vec i. SC O.2Vee 'I ~O.2Vec - t) tWeL t.r • tWeH SI X O·7Vec O.3Vec O.7Vec O.3Vec K ts --tH- 8306-8 Flgur. 8. Input Timing for MB88308 and MB88309 lcYe O.BVee O.BVee O.BVec I tWeH O.2Vec \~ tWCL O.2Vec 1I tef • t cr - SI ~ O·7Vec O.3Vec O.7Vec O.3Vec K . ts ~tH- 8306-9 Figure 7. Input Timing for All Expand.... 8306-10 FUJITSU 2-200 1I.8830e 11.88307 11.88308 11.88308 AC CHARACTIIRI8TICS (Recommended operating conditions unless otherwise noted) (Continued) Output Timing RMPOn_ Value Parameter Symbol Pin Condlllon Min TyP IIu Unit tooH1 500 ns Parallel Data tooL1 200 ns Output Delay 07-00 Time IooH2 Output Load: 500 ns 1ooL2 50pF + 1.2kll 200 ns Serial Data See Fig. 8 Output Delay 'sOH SO 500 ns Time 'sOL 200 ns ....ure .. Output Timing for All Expande,. Parallel Data Output (1)--LOAD Controlled O'E v. t:~,~ t:"'"'1 / tOOl 07-00 0.4V 8306-11 Parallel Data Output (2~ Controlled iiE I O·7Vcc r\'7Vcc VIIS LOAD 07-00 - IooH2 I- 2.4V HIGH IMPEDANCE - -Ioou 2.4V CAV 0.4V 8306-13 Serial Data Output sc (SC) --1 O.BVcc , O.2Vcc j O.BVcc , O.2Voo M1I88306/7 so Isoto~ I - 2.4V 'soL- *- \ DAV MB88308/9 so -Isoto- I 2.4V -'soL- , O.4V 8306-12 FUJITSU 2-201 M888308 MB88307 MB88308 MB88309 PACKAGE DIMENSIONS 16·LEAD PLASTIC DUAL IN·LlNE PACKAGE (DlP-16P.M02) "',{ :::::l~r.: 1= .756119.201 .780 09.811 I .17214.36IMAX .11813.001 MIN ~jmenSiOns in Inches (millimeters) .10012.541 I TYP .02010.51IMIN 8306-14 16·LEAD PLASTIC FLAT PACKAGE (FPT·16P.M02) ~r·=-~:db!!:::~~' ;j- i dbJ!.i r Details of "AU part TI cf lNDEX 2911741 32318.21 .19715.01 .2201561 I I _, .26016.61 ~'28317'21 ~ A ' ~_ , ,1-. I ' ' ' .01210.31 "------r 0281071 L. .03911.01 1 - .00510131 .00810.201 Dimensions in inches (millimeters) 8306-15 2-202 Section 3 Memory Controners 3-2 MB1422A Dynamic RAM Controller LSI 3-22 MB1430 1M Dynamic RAM Controller 3-23 MB1412A LS-TTL Error Checking and Correction Circuit 3-39 MB1426 16-BIt Error Checking and Correction 3-1 MB 1422A June 1986 Edition 1.0 DYNAMIC RAM CONTROLLER The Fujitsu MB 1422A is a high performance DRAM controller LSI. The MB 1422A controls address multiplexing, refresh timing and their arbitra- tion, and realizes one chip DRAM peripheral controller. PLASTIC PACKAGE The MB 1422A is designed to easily interface 64K and 256K DRAM to the DIP-42P-MOl system based on the 8086 or 68000. The MB 1422A is fabricated in an advanced low-power Schottky TTL process. The device is housed in a plastic 42-pin Dual In-line-Package, 42 pin shrink DIP, and 44-pin PLCC. PLASTIC PACKAGE DIP-42p·M02 • 256k and 64k Dynamic-RAM control capability • Directly addresses and drives up to 44 DRAMs without external drivers • Internal/external refresh capability • Supports 8086 (5MHz or 8M Hz) or 68000 (8MHz or 12.5MHz) type micro- processor PLASTIC PACKAGE • +5V only schottky TTL technology for high performance LCC-44P·M01 • Low power dissipation: 440mW Typ. • TTL compatible 1/0 PIN ASSIGNMENT • Standard 42 pin Plastic DIP (Suffix: -P) • Standard 42 pin Plastic Shrink DIP (Suffix: -P) • Standard 44 pin Plastic LCC (Suffix: -PO) RA2 CA2 RA3 ABSOLUTE MAXIMUM RATINGS CA3 Parameter Symbol Rating Unit RA4 Powery Supply Voltage Vee +7.0 V CA4 RA5 Input Voltage VI -0.5 to +5.5 V RA6 Output Voltage Vo -0.5 to +5.5 V Operating Temperature Top -25 to +85 °c Storage Temperature TSTG -55 to +125 °c PLCC PIN ASSIGNMENT: See Page 21 Th;;; dsvii:<:i contains circuitry to P,O'it=Ci tht: t-J,CTE: !'i;iiiiianeiit deviCe damage Iltay occur if ABSOLUTE MAXiMUM inputs against damage due to high static volt- RATINGS are exceeded. Functional operation should be restricted to ages or electric fields. However. it is advised the conditions as detailed in the operational sections of this data that normal precautions be taken to avoid application of any voltage higher than maxi~ sheet. Exposure to absolute maximum rating conditions for extended mum rated voltages to this high impedance periods may affect device reliability. circuit. 3-2 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIIIIIIIIIIIIIIIIIIIII FUJITSU 1 ~l l l l l l l l l l l l l l l l l l l l l l il l l I I I I MB 1422A Fig. 1 - MB 1422A BLOCK DIAGRAM ... CAO to CAS ... ..... RAO to RAS v MOOEO/RESE T - r - - - MULTIPLEXER => MAO to MAS I ~ REFRESH TIME GENERATORe-- I MOOE1/RFRQ ARBITER - REFRESH COUNTER I I - - RASO R/W I - - RAS1 TIMING GENERATOR I - - CASO Cs I---- CAS1 I---- WE BS I---- ROY ClK BLOCK FUNCTIONS Multiplexer: Multiplexes the CPU addresses (CA and RA) and refresh address to nine row and nine column address. Timing Generator: Generates RAS, CAS and WE signals by address strobe (AS) and Riw signals from CPU and refresh request signal from the arbiter. Sends select signals for row, column or refresh address to multiplexer. Refresh Counter: Generates the refresh address and counts up at each cycle. Refresh Time Generator: Generates an internal refresh request signal. Arbiter: Resolves the conflict of read/write and refresh cycle. 3-3 1111111111111111111111111111111111111111111111111111 FUJITSU MB 1422A 1111111111111111111111111111111111111111111111111111 Table 1 - PIN DESCRIPTION Pin Symbol Type Pin Name and Function DiP PLCC MODEO/ 9 10 I Internal/External Refresh Select; RESET This pin is used to select refresh mode, internal refresh or external refresh. If MODEO/RESET ~ "H", internal refresh mode is selected. If MODEO/RESET ~ "L", external refresh mode. The falling edge of MODEO/RESET resets the refresh address counter. MODE1/ 38 40 I Internal Interval Select/External Refresh Request; RFRO When Internal Refresh mode is selected (MODEO/RESET ~ "H"l. this pin is used as refresh interval selection. If CLK:;;; 15MHz, it must be "L", and if CLK -24 to 25MHz, it must be "H". When External Refresh mode is selected (MODEO/RESET ~ "L"l. this pin is used as refresh request. And the refresh starts when MODE1/RERO ~ "L" is strobed by the falling edge of CLK. AS 40 42 I Address Strobe; Memory access starts when AS ~ "L" is strobed by the falling edge of CLK, and ends at the rising edge of AS, that is, both RAS and CAS become "H" (inactive) when AS turns "H" except refresh mode. The AS must be kept "L" until RAS and CAS pulse widths have been satisfied for DRAM specifications. R/W 39 41 I Read/Write Control; This pin is used to select memory read or write mode. If R!W ~ "H", read mode is selected. If R/Iii ~ "L", write mode. CS 42 44 I Chip Select; This pin is used to control the states of output pins except for ROY. When CS ~ "H", RAS, CAS, WE and MA (MAO to MA8) become high impedance state. BS 41 43 I Bank Select; This pin is used to select either of the two banks of DRAM arrays. If BS ~ "L", the lower bank (RASO) is selected. If BS ~ "H", the upper bank (RAS1) is selected. CLK 10 11 I Clock input; This input provides basic timing for the internal logic. 8086 (5MHz)"'" CLK ~ 15MHz 8086 (8M Hz) ...,. CLK ~ 24MHz 68000 (8MHz)"'" CLK ~ 16MHz 68000 (12.5MHz)"'" CLK ~ 25MHz The CLK frequency should be higher or equals to 15MHz. RAO 1 2 I Row Address; RAl 3 4 These inputs are used to generate memory row address. RA2 5 6 RA3 7 8 RA4 17 13 RA5 RA6 RA7 RA8 I: Input, 0': 3·State output 3-4 11111111111111111111111111111111111111111111111111111111111111111 FUJITSU 111111111111ill11111111111111111111111111111111111111111111111111 MB 1422A Table 2 - PIN DESCRIPTION (Continuted) Pin Symbol Type Pin Name and Function DIP PlCC CAD 2 3 I Column Address; CAl 4 5 These inputs are used to generate memory column address. CA2 6 7 CA3 8 9 CA4 13 14 CA5 15 16 CA6 17 18 CA7 19 20 CA8 21 22 RASO 37 39 0* Row Address Strobe; RASl 36 38 These outputs are used by DRAM to strobe Row Address present on MAO to MA8. Either RASO or RASl is selected by BS. The selected RAS is issued after AS = "l" is strobed by the falling edge of ClK. In the refresh mode (both Internal and External), both RASO and RASl are issued. These outputs become high impedance state if CS = "H". Each output drives maximum 22 DRAMs directly without external driver. CASO 35 37 0* Column Address Strobe; CASl 34 36 These outputs are used by DRAM to strobe column address, present on MAO to MA8. These outputs are issued from the ClK rising edge, which is 1.5 ClK cycles after AS = "l" is strobed, with delay time of tCAS N ' (See Fig. 4 and 5.) These outputs are not controlled by BS, i.e., both CASO and CASl are issued every memory access. In the refresh mode (both Internal and External), these outputs are kept "H". These outputs become high impedance state if CS = "H". Each output drives maximum 22 DRAMs c;lirectly without external driver. WE 22 24 O' Write Enable; This output is used by DRAM to control read or write cycle. This output depends on R/W input, i.e., it is asynchronous with ClK. This output drives maximum 44 DRAMs directly without external driver. ROY 23 25 0 Ready; This output identifies whether the memory arrays is refresh mode. If RDY = "l", refresh is excuted. If RDY = "H", refresh is not executed. MAO 33 35 0* Memory Address; MAl 31 33 These outputs are used by DRAM for address inputs, row, column and MA2 30 32 refresh row address. MA3 29 31 These outputs can drive maximum 44 DRAMs directly without external MA4 28 30 driver. MA5 27 29 These outputs become high impedance state if CS = "H". MA6 26 28 MA7 25 27 MA8 24 26 I: Input, 0*: 3-State output, 0: Output 3-5 I I I I I I~I I I I I I I I I I I I I I I I I I I I I 1 1 1 1 1; FUJITSU MB 1422A 11111111111111111111111111111111111111111111111111111111111111111 FUNCTIONAL DESCRIPTION Read/Write Cycle Mode; The memory read and write cycle starts from AS = "l". "l"), WE is changed regardless of states of AS and ClK. The selected RAS is issued after half cycle period from the Therefore, Read-Modify-Write cycle can be executed. Refer falling edge of ClK which strobes AS = "l". The CAS is to the "APPLICATION" section below. issued after 1.5 cycles from AS strobed. The AS input must The bank select (BS) must not change during AS = "l" be- satisfy the set up time, TASSL, referenced to the falling edge cause the RAS's are controlled by B6. If BS were changed of ClK. The address at MAO to MA8 are changed from row during AS = "l", the both RAS (RASO and RASl) would to column at the 3rd rising edge of ClK. The WE output be selected during one memory access cycle. Refer to th" depends on R/W input, controlled by neither ClK nor AS, Fig. 2. i.e., if R/W changes from "H" to "l" in memory cycle (AS = Fig. 2 - BANK SELECTION CLK ~--'L __________________-r------- ~~~E~!'--------------------"H" MODElI--------------------"H'" RFRQ •. In the read cycle, the data on upper bank are RDY "W' held valid until CAS goes "H". ••. When the DRAM has the "CAS-before-RAS" BS--------~L_ ____r_----------- refresh mode, the DRAM executes the CAS- before-RAS refresh. RASOI-------~~r_--r--------­ RAS'------. CASO------~--~~---~-s----- CAS'------~~---~~-~-r---~ Upper bank select (no operation"'''') Lower bank select (no operation··) Refresh Mode; 2. External Refresh Mode; The MB 1422A provides two types of refresh modes as inter- The external refresh mode is selected" by MOD EO/RESET nal refresh mode and external refresh mode selected by = "l" and executed when the MODE1/REFO = "l" is MODEO/RESET. Both RASO and RAS1 are issued during strobed by the falling edge of ClK. refresh mode Both CASO and CAS1 are set. "H" until com- The external refresh will be completed within twelve ClK pletion of the refresh cycles. cycles after MODElIRFRO = "l" is strobed by the falling The refresh addresses are provided by internal refresh coun- of ClK. However, the RDY is kept "l" within ten ClK ter on MAO to MA8 before issuing RAS. cycles. Because the first falling edge of ClK after During refresh mode (both internal and external), RDY is MODE1/RFRO = "l" is used to check the status of AS set "l" to identify the MB 1422A is in refresh cycle. and the second falling edge is used to issue RDY signal. When AS is brought "l" during RDY = "l", the memory If AS = "l" is strobed by the first falling edge of ClK, access (both Read and Write Cycle) is ignored and the the MB 1422A executes memory access (read or write) MB 1422A executes RAS-only refresh. first and refresh mode. 1. Internal Refresh Mode; Arbitration of memory access and refresh request; The internal refresh mode is selected by MOD EO/RESET The MB 1422A arbitrates memory access and refresh request, = "H" and executed by internal refresh request. If refresh request, either external or internal, is strobed dur- In the internal refresh mode, the refresh is automatically ing memory access cycle, the MB 1422A executes memory t.aken place by the specified period :;:r:cc ;i1teiiial refrash acce» eyde firST and refresh cycle. On the other hands, request signal is generated by the refresh time generator. if memory access request is strobed during refresh mode The internal refresh will be completed within ten ClK the memory access request will be ignored until the end cycles, therefore, the RDY remains "l" until ten ClK of refresh cycle. cycles. 3·6 111111111111111111111111111111111111111111111111111111II FUJITSU 1I1111I1111111111111111111111111111111111111111111111 MB 1422A FUNCTIONAL TRUTH TABLE BS READ/WRITE CYCLE REFRESH CYCLE CS MAO to MA81 RASO I CASO I - WE RASO RASl RASO I RASl RASl CASl l Valid H l Valid Valid H H Valid H High-Z MODEO/RESET MODE1/RFRO Function H l Internal Refresh mode, ClK L 15MHz' H H Internal Refresh mode, ClK = 24 to 25 MHz" l RFRO External refresh mode •. For 8086 (5MHz) and 68000 (8MHz), the refresh is executed once in every 232 ClK cycles . ••. For 8086 (8M Hz) and 68000 (12.5MHzl, the refresh is executed once in every 372 ClK cycles. DRAM INTERFACE Addressing; The MB 1422A is capable to address directly maximum set·up and hold times on both row and column addresses. 512K address with 256K DRAM. Fig. 3 shows the example The MB 1422A resolves such critical timing requirement. of interfacing between MPU and MB 1422A for both 64K Fig. 4 shows an example of calculation of address set up and and 256K DRAM system. The DRAMs require address hold times. Fig. 3 - INTERFACING BETWEEN MPU AND DRAM MPU MB l422A MPU MB l422A Al to AB Al to A9 A9 to A16 Al0 to AlB A17 A19 64K DRAM 256K DRAM (12BK Address) (5l2K Address) Fig. 4 - EXAMPLE OF ADDRESS SET UP AND HOLD TIME CALCULATION r--I tCY eLK tASC = tCASN (Min) - tMAN (Max) tRAH = tCY (Min) + tMAN (Min) - tRASN (Max) ADDRESS:::::::::::::*=:::::::::::::::::::: (MAO to MAB) 3-7 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIImlllllllllllllilim FUJITSU MB 1422A 1IIIIIIIIIIImllllllllllllllllilimilmlllllllili Read/Write Command; Since the WE depends on R/W, it must be taken a care to has been satisfied except for read-modify-write cycle. Fig. 5 set-up and hold times for Read and Write command. There· shows an example of calculation of Read/Write command fore, R/W must be valid before CAS; "l", and R/W must set up times. not be changed until Read or Write command hold time Fig. 5 - READ/WRITE COMMAND SET UP/HOLD TIME I , r - - t i ASN - t--tASRAS tD1_ ---j t--tCASN - t--tASCAS I• .1 twcs or tRCS t02 ~ tRCH ,- ~ ~tWEHL (or tWELH) tWELH (or tWEHL).-j , ~ Riw Set Up Time; I - twcs = (tcASN + 1.5tCY + tASSL) - (t01 + tWEHL) tRCS = (tCASN + 1.5tCY + tASSL) - (tD1 + tWELH) Hold Time; tRCH = t02 - tASCAS + tWEHL Initiallization; In the single power supplied DRAM which has substrate pause time. bias generator, it is necessary 200/-ls pause time to let sub- On the other hand, in the case of using external refresh strate stable and after that eight dummy RAS cycles must mode eight refresh cycles (keeping MODEI/RFRQ ; "l" be done for initiallization of internal dynamic circuitly. until eight RAS; "L" is detected) or eight AS cycles must Therefore, memory access is not executed correctly until be applied. the above pause time and eight dummy cycles have been Refresh; satisfied. In the case of using internal refresh mode, eight AS TheMB 1422A is capable of doing refresh mode for both clocks or eight refresh cycles must be applied after 200/-ls 2ms/128 cycles and 4 ms/256 cycles. 3-8 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MB 1422A MPU INTERFACE The MB 1422A is capable of interfacing with both 8086 and 6800. The examples of interfacing with these MPU's ar.e shown in Fig. 6 and 7. Fig. 6 - EXAMPLE OF INTERFACE BETWEEN MB 1422A AND 8086 I I 'SV rDfl I -<,>-- MBL 8284A "- RES RDY OSC (24 MHz) I JL Ao-a ,;L Ao-s M j r WAIT STATE GENERATOR ,---- RAS - RAS ! READY MB 1422A - CAS - CAS I !! (8 MHz) I _ ClK MB 817"6 MB 81256 RDY r- It "1"- MOOE a RESET ClK MBl8288 MODE, r- WE -WE i ClK R/W RASa r - I- I ...--- RAS, r--- DI DD I rv-:::-- DI DO SO So MR5C AS r--- r--- I CASe MWTC f-- 5, S, CAS, 1111 5, - " DEN ~ c: BS CAo-a MAo-a [l II ~ ~ RAo_a r- DT/R I'" MBl B086 "i7 ALE .r cs J ,-tL roll r MN/MX If MBl8282 STB 5E - c- Ao-a Ao-a ~ RAS - CAS - WEl BHE BHE ~ I- CAS - CAS MB 81256 MB 81256 ADO-15 WEO AO- 19 ADDRESS rV "'" A'6-19 Ao "V' - - '- WE -WE U ~ DI DO DI DO L= t1}i~ T MBL 8286 MB 426 '-T DCE '--- 5E cs ~ RO ~ --V °0-15 DATA DB DI I II MBl8286 - 3-9 illllllllllllllllllllllllllllllllllllllllllllllllill FUJITSU MB 1422A 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIml lili Fig. 7 - EXAMPLE OF INTERFACE BETWEEN MB 1422A AND 68000 (25MHz) MB 1422A L CLK MAO~8 AS ...... "'''t MOOED MODE 1 R/W ~ D ~ -J=D RASa WE Ao-a WE Ao-a L~ AS A 23 -;--- RAS, A,. A22 BS CASa RAS . - - DECODER A 1O-18 A21 - ~ CAo_s CAS, CAS -- A, .... g rr:'-- A 20 MB 81256 x 8 MB81256 x 8 A,-19 ADDRESS RDY r-- WAIT STATE f--- GENERATOR DTACK -----I '--- RAS 68000 - CAS MB 81256 x 8 M8 81256 x 8 UDS -'" WE' ~, LDS WED DI DO DI DO jl j1 z.. RO DI RO DI R/VIi DCE M6426 V eli MB426 DB DB °8-15 ~. DATA I 1 DO-71'\ ~ (MPU) 3-10 1IIIilllllllllllllllllllllllllllllllllllllllllllllliliIllillllll FUJITSU il l l l l l l l l l l!1111111111111111111111111111111111111111I1 MB 1422A APPLICATION Memory Access Cycle Time; Since memory access cycle depends on AS, the memory time can be calculated with Fig. 8. cycle time can be controlled by AS. The minimum cycle Fig. 8 - MEMORY ACCESS CYCLE TIME ClK Hence, tRCO = tCY + tCAS N -tRASN tRSH = 75ns (min) -+ M8 81256·15 L.-4--+-----j------- The minimum AS Pulse Width must be t RSH + tRCO + tRAS N + O.5tcy + tASSL - tASRAS' -----IL-l.----~W_----- The maximum AS pulse width must not be greater than RAS maximum t RAS of DRAM. CAS------l____r----- Read·Modify·Write; The MB 1422A provides a capable of read·modify·write and Fig. 9 shows an example of write command on R/W for read· delayed write cycle by delayed write command input on modify·write cycle. R!W. Fig. 9 - WRITE COMMAND INPUT FOR READ·MODIFY·WRITE ClK ~ I AS ---,1.-+--+-----f--- tASSL--j r-tRASN In the Read-Modify-Write cycle, the write command (WE) should be delayed with tewD- Therefore, the write com- mand on the R!W should be delayed. RAS----~L_+_----4_r---- Delay Time of RM from AS is; r--tCASN tASCAS tASSL + 1.5t CY + tCASN + tewD - tWEHL- CAS --------;------~f,---- The tRWL and tCWL must be noticed in the read-modify· tcwo tRWL write cycle. i .. -----l tCWL Therefore, AS must be "L" until delay time of tCWL - tASCAS and tRWL - tASRAS have been satisfied. ---j f--tWEHL R!W - - - - - - - - L_____ 3-11 1111111111111111111111111111111111111111111111111111 FUJITSU MB 1422A 1111111111111111111111111111111111111111111111111111 Refresh; There are two ways for refreshing DRAM in the memory applied at a period of 15.6I1s. In the external refresh mode system as cycle steal (or distributed) refresh and burst the refresh period counter is necessary for this purpose. refresh. 2. Burst Refresh The MB 1422A provides both ways. The burst refresh is taken place by doing refresh for all In the internal refresh mode, cycle steal refresh is taken place required refresh cycles continuously, i.e., the refresh automatically without any external control circuit. request should be applied at a period of required refresh On the other hands, in the external refresh mode, both ways cycles. When MODE1/RFRO is kept "l" through all can be used by controlling MODE1/RFRO input. refresh cyCles (256 or 128) , one refresh cycle will be 1. Cycle Steal Refresh completed within seven ClK cycles because next refresh The cycle steal refresh is taken place by the period divided request is strobed during the refresh cycle. required refresh period by required refresh cycle, i.e., Fig. 10 shows an example of burst refresh cycle with keep 4ms/256 = 15.611s, and the refresh request should be MODE1/RFRO = "l" through the cycle. Fig. 10 - BURST REFRESH CLK MODE1/RFRQ ________________________~----------------------------~------------ RAsa ________________________________________________________ H - - - - - -_____________________________________________________ L ROY RDY Output; The MB 1422A issues ready signal to identify whether DRAM array is ready or not. The follOWing cautions are Fig. 11- EXAMPLE OF ROY INTERFACE TO MPU necessary to send R DY to MPU. • RDY must be sent only when the DRAM array is being READY accessed. ROY from MB 1422A TO MPU • RDY must be sent synchronously with MPU operation. Memory Select Q • RDY must be sent before MPU starts operation, and if RDY is issued during MPU operation, RDY must be held until the completion of current MPU operation and then Master Clock of MPU-------J>CK sent to MPU. The Fig. 11 shows an example of external circuit to send RDY to MPU. In this case, both set up and hold times on READY of MPU must ut: Satisfied. 3-12 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB 1422A RECOMMENDED OPERATING CONDITIONS Value Parameter Symbol Unit Min. Typ. Max. Supply Voltage "Vee 4.5 5.0 5.5 V Output High Current IOH - - -3.3 mA Output low Current 10L - - 10 mA Ambient Temperature TA 0 - 70 °c *: Referenced to GND DC CHARACTERISTICS (Recommended Operation Conditions unless otherwise noted I Value Parameter Symbol Unit Conditions Min. Typ. Max. Supply Current lee 88" 145 mA Vee = 5.5V Input low I Except for ClK and CS -200 Vee = 5.5V, Current I ClK, CS IlL -400 IJA V IN = 0.5V Vee = 5.5V IIHl 20 V IN = 2.4V Input High Current IJA Vee = 5.5V, IIH2 100 V IN = 5.5V Vee = 4.5V, Input Clamp Voltage Vie -1.5 V IIN= -18mA Vee = 4.5V, Output low Voltage VOL 0.5 V 10L = 10mA Vee = 4.5V, Output High Voltage V OH 2.4 V 10H = -3.3mA Vee = 5.5V, Output leakage Current (High-ZI loz -100 100 IJA V OUT = 0.5V /2.4V Vee = 5.5V, Output Short Circuit Current los -50 -100' -200 mA V OUT = OV Input low Voltage V IL - - 0.8 V Input High Voltage V IH 2.0 - - V ". All typical values are at Vee = 5.0V, T A = 25°C 3-13 1IIIIIIIIillllllllllllllllllllllllllllllllllllllllii FUJITSU MB 1422A 1111111111111111111111111111111111111111111111111111 AC CHARACTERISTICS (Recommended operating conditions unless otherwise noted.) Value Parameter Symbol Unit Min. Typ. Max. AS low Set up Time to ClK t ASSL 10 ns FRRQ low Set up Time to ClK tRFRQS 10 ns RFRQ low Hold Time to ClK tRFRQH 10 ns RFRQ High Set up Time to ClK tREFSS 10 ns AS High Set up Time to ClK t ASSH 10 ns BS Set up Time to ClK tBSS 10 ns BS Hold Time to AS tBS H 10 ns ClK High Time twp 15 ns ClK low Time tWN 15 ns Delay Time from ClK to RASn t RASN 20 32 ns Delay Time from AS to RASn tASRAS 18 30 ns Delay Time from ClK to CASn t CASN 37 52 ns Delay Time from AS to CASn tASCAS 36 53 ns Delay Time from RAm to MAm tRAMA 21 35 ns Delay Time from ClK to MAm tMAN 27 42 ns Delay Time~from CAm to MAm tCAMA 21 35 ns Delay Time from AS to MAm t ASMA 23 39 ns tWEHL 16 25 ns Delay Time from R/W to WE tWELH 17 28 ns Delay Time from ClK to RASn tRASRHL 24 36 ns (Refresh cycle) tRASRLH 25 37 ns Delay Time from ClK to MAm (Refresh cycle) tMAR 33 51 ns Delay Time from ClK to ROY tRDYHL 23 35 ns (Refresh cycle) tRDYLH 21 32 ns tpzHMA 24 43 ns Address Enable Time from CS tpZLMA 24 41 ns tpZHWE 24 43 ns WE Enable Time from CS tpZLWE 24 41 ns tpZHRC 20 38 ns RAS/CAS Enable Time from CS tpZLRC 23 41 ns tpHZMA 36 56 ns Address Disable Time from CS tpLZMA 32 48 ns tpHZWE 36 56 ns WE Disable Time from CS tpLzWE 32 48 ns tpHZRC 33 48 ns RAS/CAS Disable Time from CS tpLZRC 23 39 ns Column Address to CAS Set up Time t ASC 0 ns HAS Puis Width (Kefresh cycle) t WRAS 150 ns Delay Time from RAS to. CAS t RCA 25 ns Row Address Hold Time tRAH 20 ns n; 0,1 m; 0,1,2,4,5,6,7,8 3-14 ------------------ 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MB 1422A AC CHARACTERISTICS TEST CONDITIONS 1. DELAY TIME Pm Name C L (std) MAO to MAS 300pF WE 300pF RASO and RAS1 200pF CASe and CAS1 200pF ROY 150pF • Including Jig capacitance. " INPUT VOH 2.4V OUTPUT O.8V Input conditions; V1H = 3V, V 1L = OV, tr ~ 10ns, tf ~ 5ns 2. ENABLE/DISABLE TIME CL fT VT Symbol Pin Name (pFI (Vi A L "'1KU MAO to MAS, WE 300 Disable tpLZ Vee time RAS.CAS 200 MAO to MAS, WE 300 Output I ment tpHZ RAS, CAS 200 0 tI o Measuring Point Enable time tpZL MAO to MAS, WE RAS. CAS 300 200 Vee ..L C • measure- MAO to MAS, WE 300 b L • Including jig capacItance. ment tpZH RAS, CAS 200 ---1 "r-- -----j r-- cs 1.3V 1""0% 10% 90% 10% ~.3V ov V OH H .T·.t v OH -0.3V OV 'PLZ~--yJ Vee .1:VOL +O.3V VOL f N, OUTPUT Vee O.8V tPZHI---i. !2.4V OV tr i; 1Ons, tf ,;; 5ns Delay time calcuration When the load capacitance is different from the standard value shown above, the delay time is specified according to the following equation. tpd(CL) = tpd(Std) + 0.04 x 6CL , 6C L = CL - CL(Std) Unit: tpd = ns C L =pF 3·15 ---------------~~~-=---=-====~~~-==------~~.---.-- --------_._---_._------- 1IIImlllllllllllllllllllllllllllll~I~lllllmlll FWITSU MB 1422A 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIil READ/WRITE CYCLE TIMING DIAGRAM ClK (INPUT) MODEl! RFRQ (INPUT) AS (INPUT) RAS (OUTPUT) CASO, I (OUTPUT) RAOto RAS (INPUT) MAO to MAS (OUTPUT) _ _ _ _---' -._..,......,.._ _-'I _ _ _ _~I----' '--_-' ...._ _ __ -+--+-----+----COlUMN ADDRESS-f---t->-ROW ADDRESS ROY (OUTPUT) Riw (INPUT) tWEHl WE (OUTPUT) tass BS (INPUT) 3·16 I1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1I ~I I FUJITSU I I I ~I I I I I ~I I I I I I I I I I I I I I I ~I I I111MB 1422A EXTERNAL REFRESH CYCLE TIMING DIAGRAM ClK (INPUT) MOOEII RFRQ (INPUT) AS (INPUT) tRASRLH RAS ~RAS~~~---------------r---- (OUTPUT) CAS (OUTPUT) ~AR MA ROW ADDRESS REFRESH ADDRESS (OUTPUT) ROW ADDRESS tRDYHL ROY (OUTPUT) 3-17 1111111111111111111111111111111111111111111111111 FUJITSU MB 1422A 1111111111111111111111111111111111111111111111111 READIWRITE REFRESH CYCLE ClK (INPUT) MODE1/RFRO--__----~~--~------~----~,-----~~--------~--~------~r~--­ (INPUT) AS (INPUT) RAS (OUTPUT) CAS (OUTPUT) MAO to MAS (OUTPUT) ROW ADDRESS RDY (OUTPUT) REFRESH READ/WRITE CYCLE ClK (INPUT) MODE1/RFRO (INPUT) AS (INPUT) RAS (OUTPUT) CAS (OUTPUT) MAO to MAS COLUMN ADDRESS (OUTPUTI RDY (OUTPUT) BURST REFRESH CYCLE ClK (INPUT) AS (INPUT) RAS (OUTPUT) CAS (OUTPUT) lMAR MAO to MA8 ROW ROW ADDRESS REFRESH ADDRESS N ADORESS (OUTPUT) ____________-1_[-tRDYH L RDY (OUTPUT) 3·18 Iloolw~m~llllllllllmllll~mm~mml FUJITSU 1~llm!~I~~II~mm~lmlll~~llllm~~ MB 1422A APPLICATION FOR 1M DRAM The Fujitsu MB 1422A is designed to refresh all nine bits of memory addresses (MAO to MAS). It can also, control 1M DRAMs by adding some external circuits. Refer to the application circuits described below. Fig. 12 - ADDITIONAL EXTERNAL CIRCUIT MB 1422A ClK RASO RAS1 MB 74lS157 1M DRAM D MB 74lS08 S RA9 A Y A9 CA9 8 G * ClK ( ) I tRASN MA9 , ; =f h" '( )j I "t1 = tpHL (lSOB) + tPLH or tpHL (lS1571 ~ tRAH (Row Address Hold Time) "t2 = tpLH (lS08) + tpLH or tpHL (lS157) 3-19 1IIIIIImlllllllllllllllllllllllllllllllllllllllili FUJITSU MB 1422A 1111111111111111111111111111111111111111111111111111 PACKAGE DIMENSIONS 42-LEAD PLASTIC DUAL IN-LINE PACKAGE (CASE No_: DIP-42P-MOll INDEX (EJECTOR MARK) I I .533(13.55) .590(14.99) T'T';=rTT=;=r=;=;r=;=;=;=T'T=;=r=;=;~~TT'T"i=;=r=;=;=;=;=rT'T=;=;=;=;~IJ·05) _-\I:,==-.j-61_",C' l!!r I• 2.045(51.95) . 2.071 (52.60) .034(0.865) .050( 1.27)MAX 1 1. 100 (2.54) .01510.38) II"·"~'·" .118(3.00)MIN TYP .021 (0.54) .02010.51)MIN Dimensions in inches (millimeters) ©1986 FUJITSU LIMITED D42006S-1C 42-LEAD PLASTIC DUAL-IN-LINE PACKAGE· (CASE No.: DIP-42P-M02) .590(14.99) .610(15.49) .20715.25IMAX .11813.0)MIN .07011.778) T'r'P Dimensions in inches (millimeters) © 1986 FUJITSU LIMITED D420Q7S·1C 3-20 1IIIIIIImlllllllllllllllllllllllllllllllllllili FUJITSU Illmlllllllll~lllllmllllllllll~IIIII~11111 MB 1422A PACKAGE DIMENSIONS 44·LEAD PLASTIC CHIP CARRIER (CASE No.: LCC-44P·M01 I .685 .695 CIT ! .650(16.51t I 0 o -"1'-" 0 .650/16.511 .656/16.661 .685/1 HOI .695/17.651 .165/4.191 .178/4.521 ©1986 FUJITSU LIMITED C44061,S-)& Dimensions in inches (millimeters) Pin No. PinNlme Pin No. PinNIrr. Pin No. Pin Name GNo I. RAS 2' MAS RA. 16 CAS 3. M" CAO 17 RAS 31 MA3 RAI 16 CA6 32 MA2 CAl RA7 33 MAl RA2 " 20 CA7 34 VCC CA2 21 RAS 3S MAO RAa 22 CAS 36 CASI CA3 23 GNo 37 CABO I. MOOEO/RESET 24 WE 36 RASI 11 CLX 25 RoV 39 RASO 12 GNo 26 MAa 40 MOOE1/RFRQ 13 RM 27 MA7 41 R/W 14 CM 26 MAO 42 AS 43 6S 44 CS 3-21 MB1430 ADVAN DESCRIPTION INFORMATION The Fujitsu MB1430 Dynamic RAM (DRAM) Controller is a high-performance device that provides all control functions required to implement and supervise a multiple-DRAM memory. Major functions include multiplexed address control, memory refresh, and refresh arbitration. The MB1430 is designed to operate with systems based on the MBL8086, MBL80186, and the MBL80286 (5,8, and 10 MHz) or the 68000 (8 and 12.5 MHz) microprocesors. Interface connections for 64K, 256K, and 1-megabit DRAMs are simple and straightforward. For optimum flexibility and to provide a high order of efficiency, the MB1430 supports all useful modes of operation; these include read-modify-write, nibble, fast page, and CAS-controlled byte operations. The MB1430 is fabricated using a low-power Schottky TTL process and the device is housed in a 48-pin plastic DIP. FEATURES • Full-featured control for 64K-, 256K-, and • Easy interface to MBl8086, MBl80186, 1-megabit DRAMs. MBl80286 and 68000 microprocessor-based • Direct address-and-drive capabilities for up to systems. 44 DRAM devices. • TTL-compatible 1/0. • CAS-before-RAS refresh. • low power consumption (typically 425 mW). • Internallexternal refresh capability. • Single +5V supply. • Supports multiple operating modes. PIN CONFIGURATION BLOCK DIAGRAM CAOIo CAO RAO 1 48 R/W CAD 2 47 FPC RADio RA~ ADDRESS => RA1 3 CAl 4 RA2 5 CA2 6 RA3 7 CA3 8 46 MODE1/RFRQ 45 RASa 44 Rill 43 CAsii 42 CASi 41 MAO MODEO/iiESiT -p , J-REFRESH TIMING GENERAtoR MULTIPLEXER MAO to MAO RA4 9 40 MAl ARBITER MODEO/iiSiT 10 39 MA2 MODEl/RFRQ CLK 11 38 MA3 GND 12 37 GND AS r-- AS 13 36 VCC I - --- CA4 14 35 MA4 RA5 15 34 MAS RtW CAS 16 33 MA6 RA6 17 32 MA7 as TIMING GENERAtoR CA6 18 31 MA8 BACO RA7 19 30 MA9 CA7 20 RA8 21 CA8 22 RA 9 23 CA9 24 29 RDY 28 WE 27 BAC1 26 BACO 25 BS BACl ClK -- This device contains circuitry to protect the inputs against damBgedueto high static voltages or electric fields. However, it is advised thai normal precautions be taken to avoi application of any voltage higher than maximum rated voltages to this high impedance circuit. 3-22 11111111111111111111111111111111111111111111111111111111111111111 LS-TTL ERROR .~tIIti.. AND FUJITSU .CHECKING MB 1412A CORRECTION CIRCUIT 1111111111111111111111111111111111111111111111111I111111111111111 May 1981 FUJITSU MB 1412A EIGHT-BIT SLICE ECC LSI The MB 1412A is an 8-bit slice Error Checking and Correction (ECC) monolithic integrated circuit fabricated in a low-power Schottky TTL process. The device is utilized in memory system designs, and is suitahle for constructing 2-byte, 4-byte, or 8-byte ECC circuitry. The MB 1412A will detect and correct single- bit errors, and detect double-bit errors utilizing a built-in modified Hamming single-error-correction, double-error-detection (SEC-OED) code. A 64-pin square package with 100 mil pin spacing is utilized for the MB 1412A to pro- vide high board packing density. • 8-bit slice ECC function in one LSI. • 100% single-bit error detection/correction and double-bit error detection. • Simplified circuit design for 2, 4, or 8-byte memory systems. 4/8-byte sys- tem requires only 4/8 ECC circuits and 4/8 TTL SSI devices. • Uses built-in modified Hamming SEC-OED Code. • 4/8-byte data word requires only 7/8 check bits for full SEC-OED operation. • High speed: 31/47 nsec. typical for 4/8-byte detect system, 40/56 nsec, for CERAMIC PACKAGE 4/8-byte correct. PGA-64C-MO 1 • Low-power dissipation: 1.6 watts maximum. For 8-byte system, 8.7 watts typical system power including peripheral circuitry. • Low-power SChottky TTL process; single +5 volt supply. Small geometry bipolar integrated circuits are • Space-saving 64-pin square-pack with 100 mil pin spacing. occasionally susceptible to damage from static vol tages or electric fields. It is therefore advised that normal precautions be taken to avoid appli- cation of any voltage higher than maximum ABSOLUTE MAXIMUM RATING rated voltates to this device. i Parameter I Symbol 1 Rating Unit Power Supply I Voltage ! Vee I 7 V i : Input Voltage I VI -0.5-+5.5 V Temperature Under Operation : Top -25-+85 °c I Temperature T stg -65-+150 °c Under Storage I NOTE: Permanent device damage may occur if ABSO- LUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sec- tions of this data sheet. Exposure to absolute maximum rating conditions for extended peri- ods may affect device reliability. 3-23 1111111111111111111111111111111111111111111111111111 FUJITSU 111111111111111111111111111111111111111111111I111111 MB 1412A Fig.l MB 1412A BLOCK DIAGRAM 510 I SOD RD: Read Data Buffer SI5 I SG: Syndrome Generator 505 WD: Write Data Buffer CIO DS: Data Selector I CG: Check·bit Generator CI5 CC: Check-bit Corrector COO 5: Syndr'ome I nput Buffer RDO DC: Data Corrector I I RD7 C05 SD: Syndrome Decoder/locator WDO I WD7 STBC -If------I DO I RVC02} _-+-__-1 D7 RVC36 so I r---------~RVC 56 r---------~REl FUNCTIONS OF BLOCK ELEMENTS RD (Read Data Buffer) S (Syndrome Input Buffer) Input buffer gate for memory read data. Input buffer gate for synthesized syndrome input data. SG (Syndrome Generator) SO (Syndrome Decoder /Locater) Generates syndrome for the data to be checked in the Locates a data bit for correction and indicates when a read data buffer. one-bit error is detected. WD (Write Data Buffer) DC (Data Corrector) Input buffer gate for memory write data. Corrects the data bit indicated as an error by the syn- OS (Data Selector) drome decoder. Selects RD or WD depending on the mode ("0" or "1") CC (Check-bit Corrector) of the STBC input. Corrects one check-bit by reversing depending on the CG (Check·Bit Generator) mode of RVC and S. Generates check-bits for memory data being checked. INPUT/OUTPUT PINS Input Pins: RDO-RD7 (Read Data) STBC (Store Byte Control) Memory data inputs. READ data operation is dictated Set "b" (low) to read RD inputs; set "1" (high) to read when STBC is "0" (low). WD inputs. WDO-WD7 (Write Data) SO-55 (Synthesized Syndrome Input) WR ITE data inputs. WR ITE data operation is dictated Reads the synthesized syndrome code output from the when STBC is "1" (high). last ECC LSI (SO outputs) in a cascaded multi-byte ECC 510-515 (Syndrome Input) system configuration. SO-55 must correspond to the Syndrome code inputs to read the synthesized syndrome order of the SOO-S05 outputs on the same ECC LSI to from the previous ECC LSI (SO output) in a cascaded accomplish syndrome decoding (see ECC system exam- multi·byte ECC system configuration. The syndrome in· ples). In the event of a single data bit error (during puts for the iirsi ECC LSi in the system read memory memory READ), the syndrome decoder (SO I decodes check-bit data previously generated. SO-55 to locate the error bit to be corrected. The binary C10-C15 (Check-Bit Input) location of the error bit is read from SO-52 (e.g., SO = Reads check-bits into the internal Check-Bit generator 0, 51 = 1, S2 = 0 is binary 010 or decimal "2" which in a cascaded ECC system. corresponds to input data bit "2"). 3-24 IIIIIIIII!IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIII!I' FUJITSU MB 1412A 111!11111111111111111111111111111111!IIII!il l l l ' 56 (Synthesized Syndrome Input #6) Output Pins: Reads a synthesized syndrome bit output from a cascaded 500-505 (Syndrome Output) multi·byte ECC system configuration. A "0" input in· Synthesized syndrome output code, normally connected dicates that no bit error is detected within the read to Syndrome Input (51) in the next sequential ECC IC in memor." byte for the ECC IC, and forces the RTI and a cascaded multi·byte ECC configuration. Syndromes are RVC outputs high (1). A "1" input indicates that a 1·bit effective for the system at the output of the last ECC error is detected within the read memory byte. LSI in sequence. RVC02 (Reverse Check·Bit #02) COO-C05 (Check·Bit Output) A "0" (low) input indicates no error detected. A "1" Check·bit output code, normally connected to Check· (high) indicates an error is detected within the input Bit Input (CI) in the next sequential ECC LSI in a cas· memory data byte, and corrects the first three check caded multi·byte ECC configuration. Check·bits are ef· bits (see Fig. 13, CO-C2). A "0" on syndrome data SO, fective for the system at the output of the last ECC LSI 51, or 52 dictates correction of CO, C1, or C2 respectively. in sequence. RVC36 (Reverse Check·Bit #36) RE1 (Read Error One) A "0" (low) input indicates no correction to check·bit A "0" (low) indicates that a one-bit error has occurred C3. A "1" (high) input performs correction of check· in fetched data or check bits. bit C3. RVC (Reverse Check-Bit) A "0" (low) indicates that an error in check-bit must be corrected. DO-D7 (Data Output) Corrected data output. Fig. 3 PIN ASSIGNMENT TABLE PIN PIN I I/O NAME I/O NAME NO. NO. 1 I RVC02 33 0 D7 2 0 COO 34 0 D5 3 I CI1 35 0 D3 4 I CI2 36 0 D1 5 0 CO2 37 0 DO 6 RVC36 3B I CIO Fig. 2 PIN ASSIGNMENT OF PACKAGE 7 CI3 39 0 C01 8 CI4 40 - GND 9 CI5 41 0 C03 0 0 o 0 0 0 0 021 0 0 10 WD1 42 0 C04 28 27 26 25 24 23 22 20 19 11 WD3 43 0 C05 0 0 o 0 0 0 0 o 0 0 12 WD4 44 I WDO 29 58 57 56 55 54 53 52 51 18 13 WD6 45 I WD2 0 0 0 0 14 WD7 46 I WD5 30 59 50 17 15 STBC 47 - VCC 031 0 0 0 16 RD1 48 I RDO 60 49 16 17 RD3 49 I RD2 0 0 0 0 18 RD5 50 i RD4 32 61 48 15 0 0 0 0 19 RD7 51 I RD6 33 62 47 14 20 0 500 52 I 510 0 0 0 0 21 I 511 53 0 501 34 63 46 13 22 I 512 54 - GND 0 0 OINDEX 0 0 23 0 502 55 I 513 35 64 45 12 24 0 503 56 I 514 0 0 0 0 0 041 042 043 0 0 25 0 504 57 I 515 36 37 38 39 40 44 11 0 000 0 0 0 0 0 0 26 0 505 58 I 51 1 2 3 4 5 6 7 8 9 10 27 I SO 59 I 53 28 I 52 60 I 56 29 I 54 61 - VCC TOP VIEW 30 I 55 62 0 D6 31 0 i'IT1 63 0 D4 32 0 RVC 64 0 D2 3-25 mlmllillililllllllll!illllllllllllllllllllllilli FWITSU mllllmllmlmrumllll~lmmllllllllllllll MB 1412A RECOMMENDED OPERATING CONDITIONS Parameter Value Power Supply Voltage 5.0V ±5% O°C -70°C DC CHARACTERISTICS (Recommended operating conditions unless otherwise noted) Limits Parameter Symbol Unit Conditions Min Typ Max Vcc=4.75V, VIL=0.8V Output Low Level VOL 0.5 V VIH=2.0V, 10L=2OmA V cc =4.75V, VIL =0.8V Output High Level VOH 2.7 V VIH;'2.0V,IOH=lmA Input ROn, WOn, Sn, RVC02, RVC36 IILI 1.6 , mA I Low STBC IIL2 3.2 mA Vcc=5.25V, V IL=0.5V I Current Sin, Cln IIL3 4.8 mA I Input ROn, WOn, Sn, RVC02, RVC36 IIHl 20 IlA High STBC IIH2 40 IlA Vcc=5.25V, VIH=2.7V Current Sin, Cln IIH3 60 IlA Input High Current IIH 1 mA Vcc-5.25V, VIH=5.5V Output Short Current los 30 120 mA V cc=5.25V, Vo=O.5V Power Supply Current Icc 190 300 mA Vcc=5.25V Input Clamp Voltage VIC 1.2 V Vcc-4.75V,IIL=18mA AC CHARACTERISTICS (Recommended operating conditions unless otherwise noted) Limits Parameter Symbol Unit Min Typ Max (R01 - R07) to (SaO - S02) * tpdl 14 19 ns (ROO - R07) to S03, S04 tpd2 25 ns ROO to S05 tpd4 17 ns (ROO - R07) to (COO - C05) tpd3 36 ns (ROO - R07) to (DO - 07) tpd4 18 ns (SIO - S15) to (SaO - S05) * tpd5 4 9 ns (CIO -CI5) to (COO - C05) * tpd6 4 9 ns (WOO - W07) to (COO - C05) * tpd7 25 36 ns (WOO - W07) to (DO - 07) tpd8 18 ns (SO - 56) to (COO - C05) tpd9 22 ns (SO - 56) to (DO - 07) * tpdl0 14 19 ns (SO - 56) to REl tpdl1 22 ns (SO-56)to~ tpd12 21 ns RVC02 to (COO - C03) tpd13 18 ns RVC36 to (COO - C03) tpd14 17 ... STBC to (COO - C05) tpd15 36 ns STBC to (DO - 07) tpd16 22 ns STBC to RVe tpd17 18 ns * Note: Critical path on a chip 3-26 IlmmllWllmlWIIIIWllmlml~mlllli FUJITSU MB 141 2A ImmlmlllllWlmllllmlllmllllllllmlll1 Fig. 4 DELAY TIME MEASUREMENT CIRCUIT INPUT OUTPUT Pulse Generator MB 1412A All Diodes 1N3064 or Equivalent R L : 280 ohm C L : 15 pF (Including test jig and probe) Vee: 5.0V ±5% Fig. 5 INPUT SIGNAL/OUTPUT SIGNAL TIMING INPUT 10% 10% V 1L : OV ' - - - - - - VIL V 1H : 3.0V tr : tf : 2.5 ns PRR: lMHz ",---VOH V raf . : 1.3V '- OUTPUT '----VOL CRITICAL PATH TIMING Critical timing paths for the MB 1412A are shown underAC tpd (ROn -On) = tpd (ROn - SaO) + (~- 1) x Characteristics as indicated by the notation "Critical Path tpd (510 - SaO) + tpd (Sm - On) on Chip". In a typical, mUlti-chip ECC system application, system delay time would be measured from the RO input For a 4-byte system (see Figure 6), delay time from READ to the 0 output for processing of the complete data input. data (RO) to corrected data (D) is 40 nsec typical: The equation is as follows, where ~ is the number of bytes tpd (RO - 0)4 = 14ns + ( 3 x 4 ns) + 14 ns =40 nsec. in the data input: Fig. 6 CRITICAL PATH TIMING (Data Correction) Byte-O Byte-l Byte-2 Byte-3 ROn o----fRDn 510 500 r--_~ISm On On In = 0-7) 3·27 Illiiili!ilillllli:lillii!illi!llliiili!,!ili!iilll' FUJITSU IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIII!III!III; MB 1412A THEORY AND APPLICATION OF ECC In most any data processing system, binary bit errors are When memory is read, both data bits and check-bits form going to occur when blocks of data are moved from one inputs into the ECC system. Data bits are entered in parallel, location to another. As such errors are not uncommon and one byte per ECC IC in the ECC system. The check-bits are can lead to entirely bogus or meaningless results in routine entered into the first ECC IC in the chain, and additional programs, it has become requisite design discipline to in· ECC IC's as shown in the example in Figure 15. elude ECC (Error Checking and Correction) Circuitry in These fetched check-bits are exclusive-ORed with newly main memory control logic. The MB 1412A accomplishes generated check-bits created from the data input in order to this in a highly integrated form which allows ECC imple· generate a syndrome code for the fetched data as shown in mentation with a minimal package count. Figure 9. From the syndrome code, the ECC system can The MB 1412A will correct one·bit errors in every input determine if there is an error in the input data bits, as data word, and flag the occurence of two-bit errors. One-bit follows: error correction is considered adequate, as the probability • If the syndrome code is all "0", there is no error. of more than a one-bit error is quite low. As an example, • If one syndrome bit is "1", the corresponding check·bit consider a data word of 5-bits with the error possibility of is in error. As a result, RE1 will go to "0" and RVC will .0001 (one in ten· thousand) per bit. The chances of an error go to "1" so that no correction will be made in the data occuring in a data word are: bits. no error Po ~ (1 - P)s ~ 0.9995 • If more than one syndrome bit is "1 ", and the parity of one error PI ~ 5 C I . P (1 - p)4 ~ 0.0005 all syndrome bits is even, a multiple error has occurred. two errors P, ~ sC,· P' (1 - p)3 ~ 0.00000025 No correction is made, and the program should be Thus, one-bit detection and correction and two-bit detec- interrupted. tion only should provide adequate insurance, and satisfac- • If more than one syndrome bit is "1 ", and the parity of tory system performance. When a two-bit error occurs, of all syndrome bits is odd, a single error has occurred in course, the program must be interrupted to prevent mis- the data bits. The binary location of the error in the calculation. input data bits can be determined by decoding of the In order to detect data bit errors, memory check-bits must syndrome code as shown in Figure 10. be stored with the data words. For 1-bit error detection of In the event of multiple errors, no data correction is made; a word of n-bits, assume the number of check-bits required rather the event is flagged and system software should be is Cn. The number of possible bit combinations for no error interrupted. As a two-bit error without ECC would normally is therefore 1 (all bits, both data bits and check-bits cor- result in program execution errors, program interruption is rect); and the number of possible bit combinations for a presumed to be the only satisfactory outcome of the mul- 1-bit error is: n + Cn. tiple error detection event. The number of combinations made by check-bits is 2 Cn . When one error is detected in the fetched check-bits, the To detect 1-bit errors a hundred percent, the following ECC system, in effect, generates a new set of check-bits must be satisfied: (and "ignores" the fetched check-bits) with respect to pro- 1 + (n + Cn) o;;;2 Cn . cessing the input data bits. This means, for example, that a 1-bit error in 16-bits of data can be detected by five additi6nal check-bits. Following the WRITE Mode: same calculation, 1-bit errors in 32-bit data words require 6 A "1" input on STBC initiates the WRITE mode operation check-bits, and 64-bit data words require 7 check bits. To and tells the Data Selector (OSI to read data from the Write detect 2-bit errors, one additional bit is requi red; e.g., 6 Data (WO) buffer (WOO-W07 inputs). The RVC (Reverse check-bits for a 16-bit word. Check Bitl and RET (Read Error One) outputs of the Syn- The MB 1412A is designed for use in a memory system con- drome Decoder/Locator (SO) go high so that no error in- figuration of either 2-bytes (16 data bits), 4-bytes (32 data dication for the data is possible. Further, the function of bits), or 8-bytes (64 data bits). Simple external gating, as the Check-bit Corrector (CC) is inhibited by feedback of shown in Figures 7 and 8, is required in the error indication the RVC signal (high state) to the RVC02 and RVC36 in- and reverse check-bit circuitry. puts. Data correction can not occur because the RVC out- When data is first written into memory, the ECC system put is high. does not correct or detect errors. But it does generate the The Check-bit Generator (CG) will generate check-bit data necessary check-bits (as a function of the number of bytes from the WR ITE data transferred from the Data Selector of data in the memory system configuration) which are (OS) and output it on COO-C05 in accordance with the stored in memory along with the data bits. The check-bit logic table shown in Figure 9. At the same time, the Data code conforms to the ECC system output of the modified Corrector (DC) will transfer the WRITE data onto outputs Hamming code check-bit generator as shown in Figure 9. DO-D7. Thus the WR ITE data on 00-07 can be stored in The check-bit generator takes the parity of all the data bits main memory along with the appropriate output check-bits marked by an X in the rows of the input data bits. corresponding to the data bits input into the ECC system. 3-28 1IIIIIIIIIIIIIIIllll!!!li!'!:!!!!!l'II!:il!!I!i!:!! FUJITSU MB 1412A 1111!illll!III!lilll!lllllil!!I:ll!I!I!I!!!l:'!!i!! READ Mode: A "0" input on STBC indicates the READ mode operation Fig_ 7 ERROR INDICATION CIRCUIT and tells the Data Selector (OS) to transfer read data from inputs RDO-RD7 through the Read Data (RD) buffer to so-~"--- the Data Corrector (DC) and Check-bit Generator (CG)_ The Syndrome Generator (SG) will generate check-bits from the 1 same data inputs and XOR (exclusive-OR) them with the Sm----<:L-.._ data on S10-S15 (Syndrome Inputs). XORed data becomes the output on SOO-S05 (Syndrome Output) according to the logic table shown in Figure 9_ At the same time, the RE10 --1---0;:-..... Single Error Check-bit Generator (CG) will generate check-bits from the 1 }---~ RE1 n -~--=---a~" input read data and will accept check-bit correction if the data from memory contains an error. Note that by perform- (m: Bit size of Syndrome-1) ing syndrome generation and check-bit correction simulta- neously, high speed operation is maintained_ A "0" on STBC also gates the Syndrome Decoder/Locator Fig_ 8 REVERSE CHECK-BIT CIRCUIT (SO) to decode syndrome inputs on SO-S6_ When syn- drome data is not all "0", both RVC (Reverse Check-Bit) and REl (Read Error-One) go "0" (low) to indicate error RVC0=n- detection_ Logic tables are shown in Figure 10_ The error _ I_ : RVC02/RVC36 bit position is indicated to the Data Corrector (DC). and RVCn the data output at 00-07 is corrected_ RVC is fedback to the RVC02 and RVC36 inputs_ So when (n: Byte size-1) an error is detected (RVC = low). the input syndrome data from the Syndrome Buffer (5) is gated into the Check-bit Corrector (CC)_ The check-bits are corrected in accordance with the logic table shown in Figure 9_ Fig_ 9 LOGICAL DESCRIPTION OF SYNDROME GENERATION/DECODING AND CHECK-BIT GENERATION Table 1 Syndrome Generation (See Note *) SI RD XOR TREE OUTPUT 0 1 2 3 4 5 0 1 2 3 4 5 6 7 X X X X X EVEN SOD X X X X X EVEN SOl X X X X X EVEN S02 X X X X X X X X X ODD S03 X X X X X X ODD S04 X X ODD S05 Table 2 Check-Bit Generation (See Note *) CI RD (STBC=O)/WD (STBC=l) XOR MODIFICATION .. OUT- 0 1 2 3 4 5 0 1 2 3 4 5 6 7 TREE PUT X X X X X ODD <±) RVC02-S0 COO X X X X X ODD <±) RVC02-S1 COl X X X X X ODD <±) RVC02-S2 CO2 Note: X X X X X X X X X EVEN (f) RVC36-S3 C03 • Inputs marked "X" are X X X X X X EVEN C04 gated to the XOR-TREE. X X EVEN C05 •• <±) indicates XOR. Fig_ 10 SYNDROME DECODING For data For check-bit I S I Error ~ S Error _~ f---,---,----,,-...::.----,--:----,,----11 nd icati on ----- Error indication- Error ~1_~2~_-~3~~4-~5~~6_:_~~~~·-~L~0~ca~t~lo~n 0 1 2 3 4 5 6 ;:;.;:: Location : 0 0. 0 1 1 1 0 Data Bit 0 1 0 0 0 0 0 0 Check-Bit 0 i 1 0 0 1 1 0 0 Data Bit 1 0 1 0 0 0 0 0 Check-Bit 1 i 0 1 0 1 1 0 0 Data Bit 2 0 0 1 0 0 0 0 Check-Bit 2 I 1 1 0 1 0 0 0 Data Bit 3 0 0 0 1 0 0 0 Check Bit 3 i 0 0 1 1 1 0 0 Data Bit 4 II 1 0 1 1 0 0 0 Data Bit 5 o 1 1 1 0 0 0 Data Bit 6 1 1 1 1 1 0 0 Data Bit 7 3-29 111111111111111111111111111illlllllllllllllllllllll: FUJITSU 111111111111111111111111111111111111111111111111111, MB 1412A EXAMPLE OF A 2-BYTE SYSTEM Figure 11 is a block diagram of a 2-byte ECC system con- In the READ mode shown in Figure 13, we assume that bit figuration, including the external gate requirements. Two 10 has been inverted (error). The data bits are gated to the MB 1412As are connected so that the bits indicated by an exclusive-O R tree to regenerate check-bits (now 110001) X in the Hamming code shown in Figure 12 are exclusive~ which are exciusive-ORed with the original check-bits ORed in the Check-Bit Generator. In the example, the 16- (101000). The syndrome bits (011001) are then decoded as bit input data word is 00011100 01011101, and the check- shown which indicates an error on bit 10 of the input data. bits generated in WRITE mode are 101000. This is corrected by inverting (change "I" to "0"). Fig. 11 TWO-BYTE ERROR CHECKING AND CORRECTION SYSTEM READ DATA I 0 I 1 I .---- ~ RCO BYTE-O ~ I BYTE-l ~ RCl ~ READ RC2 CHECK RC3 BIT SG SG RC' RC5 "1' '--,.- ,-----.-"'L- ~ 1'--"- ,-----.-"''-- r-- CO "1' Cl ~g'Notel L-. I-- C4 C5 CG CG ~ "1' " 1 " - I-- "1' r-- "1"-1- r--- RIT1 ~'--- "0" ~ RVC36 STBCO r-- RElO RVCO RVC02- RVC36- STBC1- ~ f-- RVCl Dr-- -I 50- ,~ 50 Sl Sl- SYNDROME ~ DC 54- DC BIT 54 55- 52- S5 53- ~ "'" '-- "1"- -I I0 I 1 WRITE DATA RVCfi==i>-t: RVel 74500 RVC02 CORRECTED DATA I0 1 RVC36 74530 ERROR DETECT S2~ :tI 74511 ~MULTIPLEERROR RVC02 C2 RElO - CO2 SINGLE ERROR RIT1 (The Last Chi ) 74Soo Note: When ECC system is used in "Partial Write Mode", C2 must be connected to the C02 input of the external reverse check bit circuit. 3-30 1111111111111111111111111111111111111111111111111111 FUJITSU MB 1412A 1111111111111111111111111111111111111111111111111111 Fig_ 12 WRITE OPERATION IN 2-BYTE ECC SYSTEM (Write Data from CPU) a 1 2 :3 4 5 6 7 8 9 la 11 12 13 14 15 a a a 1 1 1 a a a 1 WI 1 1 a 11 Check-bit Generator a 1 2 3 4 5 6 7 8 9 la 11 12 13 14 15 XOR-Tree Check-Bit X X X X X X X X f----. CoD r-- ca 1 X X X X X X X X f---- ODD Cl - a X X X X X X X X X f---- EVEN , - - C2 1 X X X X X X X X X f---- ODD C3 ~ a r-- X X X X X X X X X f---- EVEN ' - - C4 a X X X X X X X X X f----~- C5 a a 1 2 3 4 5 6 7 8 9 la 11 12 13 14 15 ca Cl C2 C3 C4 C5 ! a a a 1 1 1 a a a 1 WI 1 1 a 1 I1 a 1 a a al (Write Data to MS) Fig_ 13 READ OPERATION IN 2·BYTE ECC SYSTEM (Read Data from MS) a 234 5 6 7 8 9 la 11 12 13 14 15 ca Cl C2 C3 C4 C5 a a a 1 a a a 1 OJI 1 1 all a 1 a a a I Syndrome Generator a 1 234 5 6 7 8 9 la 11 12 13 14 15 XOR-Tree XOR Check-Bit x x x X X X X X_Oi)[)l 1\ ,- x x X X X X X X _ ODD 1 I\ / a X X X X X X X X X X X X X X X X X X X X X X X X X X X f---- I - - ODD a f--- a EVEN EVEN ~ V'\ i \ •_ 1 _ a a ~X__________________ -L_x__ x___x___ x __x___ x __ x___x-"I--~ 1 ~ Syndrome SO SI S2 S3 S4 S5 Data a 1 1 a a 1 Syndrome ~ Decoder SO SI S2 S3 S4 S5 ERROR 0 a 0 a a a NONE a a 0 1 1 1 a 1 a a 1 1 a 1 a 1 a 1 1 a 2 1 1 a 1 a a 3 0 a 1 1 1 a 4 1 a 1 1 a 0 5 a 1 1 1 a a 6 1 1 1 1 1 a 7 XOR a a 1 1 a 1 8 ~ 1 0 1 a a 1 9 II 1 0 0 1 10 1 1 0 a 0 1 11 a 0 1 a 1 1 12 1 a a a 1 1 13 a 1 a a 1 1 14 1 1 1 a 1 1 15 a 1 2 3 4 5 6 7 8 9 la 11 12 13 14 15 All remaining bit combinations 0 a a 1 1 1 0 a a 1 0 1 1 1 a 1 are multiple error. (Corrected Data) 3·31 ... -=----___________ . "_________h . _ ---._... -- ---------- "--_.- 1111111111111111111111111111111111111111111111111111 FUJi'i""SU 1111111111111111111111111111111111111111111111111111 MB 1412A EXAMPLE OF A 4-BYTE SYSTEM In a 4-Byte ECC system. four MB 1412A LSls are connected check-bits. The WRITE mode is diagrammed in Figure 16. in a cascaded manner as shown in Figure 14. The Hamming and READ mode is shown in Figure 17. Figure 18 diagrams code depicted in Figure 15 is realized from the interconnec- a Partial WR ITE op~ration on the 1st and 2nd bytes. with tion of the LSls as shown. Data bits marked with an X in READ mode on the 3rd and 4th. Figure 15 are gated to an exclusive-OR tree to generate Fig_ 14 FOUR-BYTE ERROR CHECKING AND CORRECTION SYSTEM READ DATA I0 I ' I2 I 3 I II I I ~I I -l I I ~ \ RCO SYTE-O . - - BYTE-' ,- i \ RC, RC2 RC3 RC4 SG r;== SG RC~ RC5 L- ,.---/,-- .-- - ,----.L .-- I" "1" ~-- "1" "1" _ _ C3 CG CG ~----.J r::;.= I "0" ~~ "0" "0"- RVC36 RVC36 - L- STBCO STSC' - --RE,O -,." .-- --RETl --RVCO _Rvcl - DC DC - - >-- '--rr '--T \ 1 I I 1 7 I0 I ' I2 I3 WRITE DATA 1 L 74$30 I 74530 ERROR DETECT I -~ ~ V MUL TIPLE ERROR 111 fD-:~'NGLE I I RE1D RETf ERROR 1m2 rrrTI 3-32 74520 \ IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII FUJITSU MB 1412 A IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII Fig. 15 FOUR-BYTE ECC CODE TABLE Data Bits 0 1 2 3 4 7 8 9 5 6 1011 12131415 16 17 18 19 20 21 2223 24 25 26 27 28293031 XOR·T,ee Check-B.t X' X X r--~-'Ci)l X X X X X X, X X X X, X X X X X X X X X X X X X X X X X X X X X X X X X X X X X I X X I - - - ODD X X X X r - - ODD - - C1 C2 i X X X X X X X xi X r - - EVEN _ C3 I xI~ X X X X X X X X X X X Xi~ X X X X X X X X X X X X X X X X X X X X r - - EVEN _ I - - - EVEN - xix X X X X X X X r - - EVEN - C4 C6 -.ill ) -;==:t--- \ BYTE-2 I i BYTE·3 r----T SG . r;::1= . '-- SG '-- ,.--./LJ '-- ,---:L- r-- ~ CO Cl C2 CG I--- C5 CG C6 "0"- r::;= / ~~ ~~ "0"- RVC02- RVC36- RVC36- STBC2- STBC3- f---.- RET2 ,-----.->t L.:::::> ~ r- RET3 f---.- RVC2 r-- RVC3 DC DC L- '-- ,---T ~If SO 51 52 53 54 55 56 / I I ot u o I 1 ~ 2 I 3 RVCO~ AVC02 RVC1 74520 CORRECTED DATA RVC2 IWO RVC36 3-33 l~rnlllllllllllllii!!illllllll!llllIIllr~!IIII! FUJITSU m~llllllmlmlllllllllllllllll!lllllllllilllll! MB 1412A Fig. 16 WRITE OPERATION (4-BYTEI Fig. 17 READ OPERATION (4-BYTEI Write Data 0 Write Oata 31 0 9 Reed Data 31 Check-Bit 0 6 1 2 3 4 1 1 2 i 141 D 3 CO-C6 00-031 Check-Bit Write Data Memory CO-C6 00-31 Corrected Corrected Oeta Check-Bit No correction is done on any byte data. One bit error in Read Data can be corrected. Fig. 18 PARTIAL WRITE OPERATION (4-BYTEI Write Data Read Data Check-Bit o 31 o 31 0 6 10 !1 2 3 I 1 10 II! i 31 D 2 Write ht and 2nd bytes. STBCO!1 = "I" =1~~~S~T~B~C~2!3 = "0" Data CO-C6 00-031 Corrected Co!"!"~cted D!t! Check-Bit 1. When one bit error is detected on 3rd and 4th byte data. Data and Check-bit can be corrected. (READ Datal 2. No correction is done on 15t and 2nd byte Data. (WR ITE Datal 3. One bit error on check-bit need not be corrected. 3·34 111~11111~lmlllllllllllllllllml~IIII~lllllli FUJITSU MB 141 2 A 111111111~lllllllllllllllllmlmlllllllllllllllll EXAMPLE OF AN 8-BYTE SYSTEM In a 8-Byte ECC system, eight MB 1412A LSls are connected in a cascaded manner as shown in Figure 20. The Hamming code depicted in Figure 19 is realized from the interconnec- tion of the LSls as shown. Data bits marked with an X in Figure 19 are gated to an exclusive-OR tree to generate check-bits. Fig_ 19 EIGHT-BYTE ECC CODE TABLE Byte-O Byte-1 Byte-2 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X I~ X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X I Byte-3 Byte-4 Byte-5 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X Byte-6 Byte-7 62 63 XOR-Tree Check-Bit 48 49 50 51 52 53 54 55 56 57 58 59 60 61 X X X X X X X X ODD CO X X X X X X X X EVEN C1 X X X X X X X X X EVEN C2 X X X X X X X X X X X X ODD C3 X X X X X X ODD C4 X X X X X X X X X EVEN C5 X X X X X X X X X X X X X X X X ODD C6 X X X X X X X X X X X X X X X X EVEN C7 3·35 1I I I I I I I I I I I I I I I Iil l l l l l l lili FUJITSU 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 MB 141 2A Fig. 20 EIGHT-BYTE ERROR CHECKING AND CORRECTION SYSTEM \ READ DATA I0 1 2 I3 I4 5 I6 I7 I ~==~!II~I~III.IIII~~~~ ~~,--~~,----I~._.Ir! BYTE·O BYTE·' 8YTE-2 BYTE 3 I RCO 0-- f-~ ~~ -~ ~r¥f----O e--1 =:~ -2 -2 i--2 r--2 e--3 -3 f----3 e--3 - e-- 4 - 4 f---- 4 e-- 4 f--5 -5 f--5 f--5 ~6::J ~6::J 5=6::J ~6:J -=- ,...=:.- ,...=:.- f-=- I---+!+W----.l. - ,--- - i--- f----+l+~----\ - - - - i--- f----++If+---A\ - - - - e - - I---~----\ - - - - e - - I---~I------\ '-- - - - f-- I-----!------\ ..11-- - - i--- 74S;;}--J- ~ - - - 1-------'>-.-----1 - - -T -Irr~~~~~§ 11111111 Ir I / BH~ ! !!!!!!~ ~ SINGLE ERROR RE13~ ~MULTIPLEERROR ~ 74S30 74530 74S0B \ ms ERROR DETECT IrrIT 3-36 11111111111111111111111111 FUJITSU MB 1412A 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 \~~~~~~~~~~~~D'~ ~4~ ~ ~ ::)L»L L L =»>- I •••~_;=~'----~~ BYTE·4 r-~4 W BYTE·5 r--~ BYTE·6 c..=- =JL) BYTE·7 " ~ 3~ ~I RC7Q- r-- \-------1 r-- 4 _...J Lj. r- - \ - - \ - - - - - ; I-- 5 - --l = = _ - 3~ i-- - ~~ ~ 4 r- f- ~ 3~ - II Uo- r- I-- I-- 4 -r--J - I ~ 3~ I-- "1"0- I-- r-- ¥1--I-+1ifl-H, I-- 4i----' '---:::. .~ -t:::= -5~ L r-- ~ t:= 5 - ~ n ~ r-- 51 - - - '--;::::, - \-----+1 - \------H - ~ 3~ - h \ - - - - - t i - 4 -14'--- ~4 0 == - 0~ ~ ~i= - 3~ f--C7 - 4 'I I ~~ UCJ- r- 3 - r-- 4 ~ I-- 0 ~ "0"0- - - - - = 43~ -- ~ 0I-t--I-Itttltttlt-.. co ~~ J\---STBC-4o-----tl~-I~= "0"0- "0"0- _RVC4 r- "0"0- DC4 STB=~-~DC5 STBC: r- r- l1ET5 "0"0- _REf4 r-~ "0"0- DC6 STBC7o-- = r-!fIT6~RVC02 . . , f--Riia "0"0- ~r--;: ~ DC7 - = +-REf1 +-1!VC7 ~-[~ r------1 I-- 0 / 1 II -- -- 01 r- 0 I-- 0 ~------1 I - - 1 I-- 1 I-- 1 r-2 r-3 1--2 1--3 1--2 r-3 1--2 t--3 I-- 4 t-- 4 r- 4 t-- 4 1--5 1--5 r-5 1--5 ~ 6eJ \ .:~\=- =- =- =- =- =- =- l~- 1l= \\------1 f - - - \------1 f - - - \------1 r - - - t:;:. 6 1 r t:::. 6eJ I-- I-- t-- t:::. 6 ~ f--- f--- ~ ~ = = = = ~=~:!~ ~ = : .~S( - - t-------+ttt-.. ~ 55 ?rii-~n±!J f--- - 56 \-----; f--- ---- t---- - S7 /~f--- ~IJ!:- I \ \ 101112341516 7 I CORRECTED DATA 3-37 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIillllllillmlili FUJITSU 1111111111111111111111111111111111111111111111111111 MB 1412 A PACKAGE DIMENSIONS 64-LEAD CERAMIC (RESIN SEAL WITH METAL CAP) REPEATED QUAD IN-LINE PACKAGE (CASE No.: PGA-64C-M01) .01610.41) .04011.02) DIA .02010.51) DIA 1.06011.52) Il r~oooooooo~ 000 0 0 0 0 000 o 0 0 0 o 0 0 0 I o o 1.070(27.18) .900122.861 0 0 JRr I~'_______~. uoor~1 o 0 o 0 INDEX o 0 o~- 0 o 0 ()'o 0 INDEX AREA 1'1' ~ ~~=:==:=O==O=:==:=:==:=~~ I .09012.29) . 1.070127.18) _. I .11012.791 11 00127,94) I' .02010.51) .05011.27) .26016.60) ,12013,05) MAX .15013.811 Dimensions in inches (millimeters) 3-38 FUJITSU MB1426 11111111111111111111111111111111111111111111111111111111111111111 April,1986 Edition 1.0 DESCRIPTION The MB1426 Error Checking and Correction (ECC) device is designed to enhance memory reliability in 16-bitsystems. Using a modified Hamming Single- Error-Correction/Oouble-Error-Oetection (SEC/OED) code, the ECC can find and correct all single-bit errors and detect all double-bit errors. The MB1426 is a TTL device fabricated in low-power Schottky and is housed in a 64-pin Pin-Grid-Array (PGA) package. FEATURES • Detects and corrects all single-bit errors • Detects all double-bit errors • On-chip latches for memory-read, check-bit, and syndrome data • Separate busses for GPU and memory data • Direct read/write by EGG-through mode • Low power Schottky TTL for high performance PGA-64C-A01 • Single +5V supply This device contains circuitry to protect the inputs against damage due to high static voltages or electric fields. However, it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this high impedance circuit 3-39 Iml ml!!l l l l ml ml l lmml l lml l l FUJITSU lillimii~lllllllllilll~IIIIIIIIIII~II~llmlll M B1426 PIN ASSIGNMENTS 0 0 0 0 0 0 0 0 0 0 28 27 26 25 24 23 22 21 20 19 ~ 0 0 SO 0 0 57 a. 0 55 0 54 0 53 0 52 0 51 0 0 18 0 30 59 50 17 0 0 0 0 31 60 49 16 0 0 0 0 32 61 48 15 0 0 0 0 33 0 34 0 3S 62 0 . 63 0 o INDEX . 47 14 0 0 0 13 0 45 12 0 0 0 0 0 0 0 0 0 0 36 37 36 39 40 41 42 43 44 n 0 0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8 9 10 No. 1/0 Name No. 1/0 Name No. 1/0 Name No. 1/0 Name 01 B C008 17 B CB1 33 I PWCO 49 B CB4 02 I PWC1 18 B CB2 34 B C014 50 B CB5 03 B C007 19 B M001 35 B C012 51 B MOOO 04 B C005 20 B M003 36 B C010 52 B M002 05 B C004 21 B M004 37 B C009 53 B M005 06 B C003 22 B M006 38 I ECCTH 54 GNO 07 B COO1 23 B M007 39 B COOS 55 B M009 08 0 ERR 24 B Moo8 40 GNO 56 B M011 09 0 MERR 25 B M010 41 B C002 57 B M013 10 T STCBO 26 B M012 42 B COOO 58 B M015 11 T STCB1 27 B M014 43 I ERREN 59 I RCLK 12 T STCB2 28 I BSCNT 44 I EN 60 0 PERR 13 T STCB3 29 B P1 45 I SLE 61 VCC 14 T STCB4 30 0 PERR1 46 I RST 62 B C015 15 T STCB5 31 B PO 47 VCC 63 B C013 16 B CBO 32 0 PERRO 46 B CB3 64 B C011 B: Bidirectional pin I: Input pin 0: Output pin 3·40 1111111111111111111111111111111111111111111111111111 FUJITSU MB1426 1111111111111111111111111111111111111111111111111111 PIN DESCRIPTIONS Pin No. Designator Function 33 PWCO Partial Write Control/Read Write Control: 2 PWC1 These pins are used to control read write and they are also used to control the partial write. If both PWCO and PWC1 = "H" the read operation is selected. If both PWCO and PWC1 = "L" the word write operation is selected. In the partial write mode, if PWCO = "L" and PWC1 = "H", the lower byte (MDO to MD7) is written CPU data and the upper byte (MD8 to MD15) is written memory data which is latched during previous read operation. On the other hand, if PWCO = "H" and PWC1 = "L" the lower byte is written memory data and the upper byte is written CPU data. ~------~------~------------------­ 59 RCLK Read Data Latch Clock: This pin is used to strobe the read data from memory and latch into the internal read data latch. The rising edge of RCLK strobes read data from MDOO/MD15 and check bits from CBO/CB5. In the read cycle, data is strobed on the rising of RCLK. 45 SLE Syndrome Latch Enable: This pin is used to latch syndrome bits into the internal syndrome latCh. The falling edge of SLE strobes and latches the syndrome bits until RST = "L". 46 RST Synd rome Latch Reset: This pin is used to reset syndrome latch. If RST = "L", the syndrome latch is reset and the latch is enabled to accept next string of syndrome bits. 43 ERR EN Error Enable: This pin is used to enable ERR and MERR outputs. If ERREN = "L", ERR and MERR are set "H" and disabled. 44 EN Syndrome Output Enable: This pin is used to enable syndrome outputs (STCBO and STCB5). If EN = "L", STCBO/STCB5 are enabled. If EN = "H", STCBO/STCB5 are disabled and in the high- impedance state. 38 ECCTH ECC Through: This pin is used to enable the ECC-through mode. If ECCTH = "L", ECC-through mode is enabled and the read or write cycle is executed without regard to the ECC function. When ECC is utilized, the ECCTH pin must be "H". 28 BSCNT Bus Control: This pin is used to control the operating mode of data pins CDOO/CD15 and MDOO/MD15, also to disable PERRO, PERR1 and PERR. If BSCNT :::: "L" all data pins are in the input mode and PERRO, PERR1 and PERR are disabled (set "H"). If BSCNT = "H", the operating mode of these data pins is controlled by the states of PWCO, and PWC1, and PERRO, PERR1 and PERR are enabled corresponding the the state of pwtoand PWC1. 42 CDOO CPU Data: 7 CD01 These pins have a common I/O capability and are connected to the CPU data bus. 41 CD02 In the write cycle, these pins are in the input mode, that is, the CPU data is input to these pins and ~__~6__~_C~D~O~3~~_______ _ 3-41 ----------------- Ilmmllllllllllllllmlmlllmlllllll~lmllll FUJITSU 1IIIImlmllllillmlllmllllllllllllilimmili MB 1426 PIN DESCRIPTIONS (continued) PinNa. Designator Function output to memory through MDOO/MD15. 5 CD04 4 CD05 In a read cycle, these pins are in the output mode, that is, memory data from MDOO/MD15 is 39 CD06 output to tlie CPU via these pins. 3 CDO? 1 CDOa 37 CD09 36 CD10 64 CD11 35 CD12 63 CD13 34 CD14 62 CD15 51 MDOO Memory Data: 19 MD01 These pins have a common 1/0 capability and they are connected to the memory data bus. 52 MD02 20 MD03 In a write cycle, these pins are in the output mode, that is, CPU data from CDOO/CD15 is output to 21 MD04 memory through these pins. 53 MD05 In a read cycle, these pins are in the input mode, that is, memory data is input to these pins and 22 MD06 output through CDOO/CD15. 23 MD07 24 MDOS 55 MD09 25 MD10 56 MD11 16 MD12 57 MD13 27 MD14 58 MD15 31 PO Parity Bit: 29 P1 These pins have a common 1/0 capability and PO and P1 correspond, respectively, to the lower byte and the upper byte. The parity bit from the CPU should be odd parity. 16 CBO Check Bit: 17 CB1 These pins have a common 1/0 capability and are connected to the check bit memory 1/0 line. 18 CB2 In a write cycle, check bit data is generated by the check bit generator using CPU data; the 48 CB3 check-bit pattern is output to check bit memory, that is, during a write cycle, these pins operate in 49 CB4 the output mode. 50 CB5 In a read cycle, the check-bit pattern from memory is input to these pins, that is, during a read cycle, these pins operate in the input mode. 10 STCBO Syndrome-Through Check Bit: 11 STCB1 These pins output the syndrome bits when read or partial write is selected. These outputs are 12 STCB2 used to analyze an error bit in the data word (CDOO/CD15) and in the check bits (CBO/CB5). 13 STCB3 14 STCB4 In the ECG-through mode, these pins output the check bits from memory. 15 STCB5 8 ERR Error: This pin outputs the error flag when any single- or multiple-bit error is detected. 3-42 111111111111111111111111111111111111111111111111111I FUJITSU MB1426 1111111111111111111111111111111111111111111111111111 PIN DESCRIPTIONS (continued) Pin No. Designator Function 9 MERR Multiple Error: This pin outputs the multiple error flag when a multiple-bit error is detected. -- 32 PERRO Parity Error: -- 30 PERR1 These pins output a parity error flag when parity error occurs on CPU data. If PERRO = "L", a 60 PERR parity error on CDOO/CD07 and PO occurs. If PERR1 = "L", a parity error on CD8/CD15 and P1 occurs. PERR = PERRO· PERR1. BLOCK DIAGRAM CO 00 MOOO os C007 MD07 coos M008 os CD 15 M01S t - - - - RCLK cPO - CBS PO P1 PERRo ~-~ ~---------_ PEruff PERR ~-~ ~------ ERREN STCBO ,------1 1-----------1 1-------- SLE STCBS '------I DS: Data Selector ED: Error Detector CSB: Control Signal Buffer PC: Parity Checker DC: Data Corrector SD: Syndrome Decoder CG: Check Bit Generator LT : Latch SG: Syndrome Generator PG: Parity Generator 3·43 1111111111111111111I11111111111I111111111111111111II FUJITSU 1111111111111111111111111111111111111111111111111111 MB1426 ANALYSIS OF BLOCK DIAGRAM If a single-bit error is detected, the ERR flag is raised and the error is corrected by the data corrector; the corrected data is OS (Data Selector): Selects memory-read or memory-write output to CDOO/CD15, When a single-bit error is detected and data. SLE is driven Low, the falling edge triggers the syndrome DC (Data Corrector): Corrects a single-bit error by using latches; this iatched data is output to STCBO/STCB5 when syndrome decoder. EN is driven Low. Because data is held in the syndrome latches until RST is driven Low, "RST = L" should be executed LT (Latches): Latches memory-read, check-bit, and syndrome before the syndrome data is used to identify the error-bit data. location. ED (Error Detector): Detects single-bit or double-bit errors of If multiple-bit errors or a bit string (Os or 1s) error is detected, memory-read data (MDOO/MD15 and CBO/CB5). Single-bitor both ERR and MERR flags are raised and the latched memory double-bit errors are determined, respectively, by the states of data is output to CDOO/CD15. For these cases, the data ERR and MERR. correction cycle is not executed. SG (Syndrome Generator): Generates a syndrome-bit pattern In the read cycle, odd parity bits for bytes MDOO/MDO? and to check memory-read data. MD08/MD15, respectively, are output to PO and P1. SO (Syndrome Decoder): Decodes syndrome-bit pattern of Syndrome Generator. When a single-bit error is detected, Write Cycle locates error bit and inverts the parity bit. Write capabilities of the MB1426 include both word write and partial (byte) write; either operation can be selected by setting CSB (Control Signal Buffer): Buffers all control signals. PWCO and PWC1 to the proper states-see Truth Tables that CG (Check Bit Generator): Generates check bit for checking follow. If the CPU is capable of parity coding, the parity bits of memory-write data. PO and P1 are utilized and, in both the word and paritial-byte write modes, the parity bits are checked. PG (Parity Generator): Generates odd parity bit for bus data. The word write mode is executed by setting both PWCO and PC (Parity Checker): Checks odd parity bit for bus data. PWC1 to the Low state. In the word-write mode, CPU data SDS (Syndrome Data Selector): Selects syndrome data or from CDOO/CD15 is transferred to the check-bit generator and memory-check bit. to MDOO/MD15. Data appearing at MDOO/MD15 is output and written into memory. The check-bit generator uses the CPU FUNCTIONAL DESCRIPTION data to generate the check bits and these are output to CBO/CB5. The CPU and check-bit data are written into The error-detecting and error-correcting capabilities of the memory during the same write cycle. MB1426 ECC provides the user with a high order of confidence in memory reliability. Using a modified Hamming SECIDED The partial write mode is executed by setting either PWCO or code, the ECC is able to detect and correct all single-bit errors PWC1 to the Low state. If PWCO is Low and PWC1 is High, and to detect all double-bit errors, even those containing the partial write is performed on byte CDOO/CDO?; in reverse consecutive strings of Os and 1s. The detect/correct cycle for states, byte CD08/CD15 is affected. Before a partial write is single-bit errors occurs without interrupting the CPU. Error executed, the memory and check-bit data must be latched by flags notify the user when an error is detected. setting BBSCNT to the Low state; this action puts CDOO/CD15, MDOO/MD15, PO, and P1 in the input mode and The MB1426 has on-chip latches for memory-read, check-bit, avoids data output to the CPU and memory. and syndrome data; latching of the memory data allows the user to execute a partial (byte) write. To further enhance The 8-bits of CPU data to be written to memory and the data transmission reliability, a parity generator and checker is to be read from memory are sent to the check-bit generator available to the user. A brief description of the read, write, and and to MDOO/MD15; the data on MDOO/MD15 is written into partial-write capabilities are described in subsequent para- memory. Check bits are generated from 8-bits of CPU data graphs; for adetailed analysis of operating prinCiples, refer to and 8-bits of memory data and the check bits are then output the Functional Truth Tables. to CBO/CB5. The partial write operation can be summarized as follows: Read Cycle - Set BBSCNT Low and latch the 16-bit memory data and 6 The read cycle is executed by setting BSCNT, PWCO, and check bits by executing a read cycle. PWC1 tothe High state. Thedata and check bits from memory are read out and latched on the rising edge of RCLK; the - Set either PWCO or PWC1 Low and execute a write cycle. latched data is sent to the syndrome generator and data (In this case, BSCNT should be High to change MDOO/ corrector. The syndrome bit pattern is generated and decoded MD15 from the input to the output mode.) by the syndrome decoder; the decoded results are then sent to - Check bits are generated by 8 bits of CPU data and 8 bits of the data corrector. memory data. 3-44 1111111111111111111111111111111111111111111111111111 FUJITSU MB1426 illllllllllllllllllllllllllllllllllllllllllllllllill FUNCTIONAL TRUTH TABLES CPU Bus/Memory Bus Control COOOlo COOB 1o -- -- BSCNT PWCO PWC1 COO7, PO C015. P1 MOOO 1o M007 MOOB 1o M015 Function H H Output Output Input Input Read L H Input Input Output' Output 2 H Partial Write H L Input Input Outpu12 Output' L L Input Input Output Output Write L X X Inp!J! Input Input Input No function Notes: 1. The CPU data is written into memory. 2. Memory data from previous read cycle is written into memory. Syndrome Output Control ECCTH PWCO PWC1 EN CBO1o CB5 STCBO to STCB5 Funclion H H Input Syndrome Read L H Output H Syndrome Partial Write H L L Output L L Output Write L X X Input Check Bit ECC-Through X X X H High-Z Hamming Code CPU Data Check Bit 0 1 2 3 4 5 6 7 B 9 10 .11 12 13 14 15 Function CBa X X X X X X X X Odd CB1 X X X X X X X X Odd CB2 X X X X X X X X X Even CB3 X X X X X X X X X Odd CB4 X X X X X X X X X Even C!35 X X X X X X X X X Odd 3-45 mW~IWMmJllilm.lmm FUJrrBU mllJm~OOOOOOOO.OOIl MB1426 FUNCTIONAL TRUTH TABLES (continued) Check Bit Generation CBO = C001 + C003 + C005 + COO? + C009 + C011 + C013 + C015 CB1 = C002 + CQ03 + C006 + COO? + C010 + C011 + C014 + C015 CB2 = C004 + C005 + C006 + COO? + COOS + C009 + C010 + C012 + C015 CB3 = COOO + C001 + C002 + C003 + C004 + C005 + C006 + COO? + COOS CB4 = COOO + C001 + C002 + C004 + COO? + C012 + C013 + C014 + C015 CB5 = COOO + COOS + C009 + C010 + C011 + C012 + C013 + C014 + C015 Syndrome Decode Error Bit Memory Bus Data (MD) Check Bit (CB) Syndrome No (STCB) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 0 1 2 3 4 5 Error 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0 0 0 0 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 0 0 0 0 2 0 0 0 0 1 1 1 1 1 1 1 0 1 0 0 1 0 0 1 0 0 0 0 3 1 1 1 1 1 1 1 1 1 0 0 0 0 0 q 0 0 0 0 1 0 0 0 4 1 1 1 0 1 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 1 0 0 5 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 1 0 Error Detection and Correction ERR MERR Message Detect Correct H H No Error - - L H Single Bit Error Yes Yes L L Multiple Bit Error Yes No Error Flag Control ERR ERREN ECCTH PWCO PWC1 MERR 0 X X X X 0 X X disable 1 1 0 0 0 1 1 1 1 0 enable 1 1 3-46 1IIIIIIIIIIIIIIIIImlllllllillmlillmllllllllili FUJITSU MB1426 1111111111111111111111111111111111111111111111111111 Parity Error Flag Control -- BSCNT PWCO PWC1 PERRO PERR1 PERR H H H H H L H enable H H H L H enable L L X L X enable H enable H H I H: Disable state ABSOLUTE MAXIMUM RATINGS RECOMMENDED OPERATING CONDITIONS Parameter Symbol Rating Unit Value Power Supply Voltage Vee 7.0 V Parameter Symbol Min Typ Max Unit Input Voltage VI -0.5 to 5.5 V Supply Voltage Vcc 4.5 5.0 5.5 V Output Voltage Vo -0.5 to 5.5 V Output High Current 10H -3.3 mA Operating Temperature Top -25 to 85 °C Output Low Current 10L 10 mA Storage Temperature T STG -55 to 125 °C Ambient Temperature TA 0 70 °C Nole: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational specifications of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. DC CHARACTERISTICS (Recommended Operating Conditions unless otherwise noted.) Value Parameter Symbol Min Typ Max Unit Conditions Supply Current lee 240 400 mA Vee = 5.5V Except for PWCO, -200 PWC1, ECCTH Input Low Current IlL fJA Vcc = 5.5V, VIN = 0.5V PWCO, PWC1, -400 ECCTH IIH1 20 Vee = 5.5V, VIN = 2.4V Input High Current fJA IIH2 100 Vee = 5.5V, VIN = 5.5V Input Clamp Voltage VIC -1.5 V Vec = 4.5V, II = -18mA Output Low Voltage VOL 0.5 V Vec = 4.5V, 10L = 10mA Output High Voltage VOH 2.4 V Vec = 4.5V, 10H = -3.3mA Output Leakage Current (High-Z) loz -100 100 fJA Vee = 5.5V, VI = 0.5V12.4V Output Short Circuit Current los -60 mA Vec = 5.5V, Vo = OV Input Low Voltage VIL 0.8 V r Input High Voltage VIH 2.0 V 3-47 1111111111111111111111111111111111111111111111111111 FUJITSU i!!!!!!!!!!!!!!!!!!!!!i!!!!!!!!i!!!i!!!!i!!!i!!!ii!i M81426 AC CHARACTERISTICS (continued) (Recommended operating conditions and AC test conditions unless otherwise noted.) Value Parameter Symbol Min lYP Max Unit Delay Time from RCLK to CD, PO, P1 tCKCO 35 57 ns Delay Time from RCLK to ERR tCKER 22 37 ns Delay Time from RCLK to MERR tCKMER 25 42 ns Delay Time from ERREN to ERR, MERR tEREN 11 21 ns MD Set Up Time referenced to RCLK tMOCKS 15 ns MD Hold Time referenced to RCLK tMOCKH 10 ns CB Set Up Time referenced to RCLK tcsCKS 15 ns CB Hold Time referenced to RCLK tCSCKH 10 ns Disable Time of MD from PWCO/PWC1 t MoZO 15 26 ns Disable Time of CB from PWCO/PWC1 tcszo 15 26 ns Enable Time of CD, PO, P1 from PWCO/PWC1 tcozE 22 36 ns Delay Time from CD to MD t coMO 16 27 ns Delay Time from CD to CB tcocs 21 34 ns Delay Time from CD to PERRO/PERR1 tCOPEN 22 35 ns Delay Time from CD to PERR tCOPER 23 38 ns Delay Time from PO/P1 to PERRO/PERR1 tpPEN 12 22 ns Delay Time from PO/P1 to PERR tpPER 14 26 ns Enable Time of MD from PWCO/PWC1 t MOZE 20 32 ns Enable Time of CD from PWCO/PWC1 tCSZE 20 32 ns Disable Time of CD, PO, P1 from PWCO/PWC1 tcozo 15 26 ns Delay Time from PWCO/PWC1 to PERRO, PERR1 tpwPEN 10 18 ns Delay Time from PWCO/PWC1 to PERR tpWPER 12 22 ns Enable Time of MD from BSCNT tSCMOZE 20 35 ns Delay Time from SLE to STCB tSLEST' 23 37 ns Enable Time of STCB from EN tSTZE' 15 24 ns RCLK Set Up Time referenced to SLE tSSL' 44 ns Delay Time from MD to CD tMOCOTH 2 21 34 ns Delay Time from MD to PO, P1 tMOPTH 2 28 48 ns Delay Time from CB to STCB tCBSTTH 2 18 30 ns RCLK Set Up Time referenced to PWCO, PWC1 tCKS 3 57 ns PWCO, PWC1 Set Up Time referenced to BSCNT tSBC3 10 ns Delay Time from PWCO/PWC1 to CD tsco3 15 26 ns 3-48 1111111111111111111111111111111111111111111111111111 FUJITSU MB1426 1111111111111111111111111111111111111111111111111111 AC CHARACTERISTICS (continued) (Recommended operating conditions and AC test conditions unless otherwise noted.) L l RCLK Pulse Width Parameter Symbol tWCK -r Mi~ 20 -- - Value !YPt~- ~ ----- U,"ns l;;glse Width tWRS T 20 ns _.- ._-- ---- SLE Pulse Width WSLE 20 ns Notes: 1. Syndrome Latch 2, ECC-Through Mode 3_ Partial Write Mode AC TEST CON DITONS Output Load: Timing Waveform: Vee T SW1 V,H -- - t, 90% INPUT 1.3V 10% V,L R1 VOH OUTPUT (DELAY) 1.SV VOL OUTPUT MEASURING POINT OUTPUT 1.5V (ENABLE) RL .,.tpZH+- OUTPUT 1.SV (DISABLE) V,H 3V, Vil '" OV, tr = 10n5, tt 5n. Parameter Symbol RL(O) R1(O) CL(pF) SW1 SW2 tpLH Delay Time 1.0K - 50 Off On tpHL tpLZ On On Enable Time 1.0K 0.5K 5 tPHZ Off On tpzL On On Disable Time 10K 0.5K 50 tpzH Off On 3-49 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MB1426 TIMING DIAGRAMS Read Mode elYl '-' 0 z j] . CHARACTER CODE r WPU E(iID) R/W (WR) DATA CRTC ==-- RAO-4 WB89321A y----.., ---v' Jr J (MB89322A) SCREEN REFRESH WAO-13 j,. RAM ~ ITl l ADDRESS FUJITSU 4-10 MB89321A MB89322A Programmable Values Programmable values which can be written to registers and their respective symbols are as shown below: Register Number Register Name Programmable Value Symbol RO Total Number of Characters in Line Characters Nht R1 Number of Characters Displayed in Line Characters Nhd R2 Horizontal Sync Position Characters Nhsp R3 Sync Signal Pulse Width Rasters/Characters Nvsw/Nhsw R4 Total Number of Lines Lines Nvt R5 Total Raster Adjust Rasters Nadj R6 Number of Lines Displayed Lines Nvd R7 Vertical Sync Position Lines Nvsp R8 Scan Mode/Skew R9 Maximum Raster Address Rasters Nr R10 Cursor Start Raster Rasters NCSTART R11 Cursor End Raster Rasters NCEND R12 Start Address 1 NSI R13 R14 Cursor R15 R16 Light Pen R17 R18 Screen 2 Display Start Position Lines NL2 R19 Start Address 2 NS2 R20 R21 Screen 3 Display Start Position Lines N L3 R22 Start Add ress 3 NS3 R23 R24 Screen 4 Display Start Position Lines NL4 R25 Start Add ress 4 NS4 R26 R27 Vertical Sync Position Fine Adjust Rasters Nspadj R28 Light Pen Raster R29 Smooth Scroll Rasters Nradj R30 Control R31 Control/Status FUJITSU 4·11 MB88321A MB88322A Screen Format TOTAL NUMBER OF CHARACTERS HORIZONTAL SYNC POSITION I-- NUMBER OF CHARACTERS-j DISPLAYED IN LINE ~ 1 CHARACTER "I "I .~ w 0 1 --- Nhd-1 NOd ---I NO,p 1___ No. ..5 0 NOd Nhd+ 1 2Nhd -1 2Nhd - - - Nhd+Hhsp'--- Nhd+ Nh Z .. OW 2Nhd 2Nhd+ 1 --- 3Nhd -1 3Nhd - - -2Nhd + Nhsp - - 2Nhd + Nht ;:Z COCii:J I I I I I wO" Z .. 0 :::i (.)a: I I I I I 0>'".. .. zw a: ... ~ :. I I I I I i~l (N Yd-1) 'Nhd (N,o-I) xNh(t+1 --- NvdxNhd -I NVd> N,o' N.d N..• Nhd+1 - - - NYdXHhd +Nhl '1 ~ - - - I I li I Nhd- - - N.... N~~ht - - - a: ~ -< Line numbers are counted starting at the following addresses: Line number a = starts from memory address a Line number 1 = starts from memory address Nhd Line number 2 = starts from memory address 2Nhd Line number n = starts from memory address (Nvd-1 )Nhd Scan Mode Examples of format during scan mode: Interlace Mode a ---- ---- ---- a Non-Interlace Mode a ••••••• 2 .... .... 2 3 -- - - - - - - - - - - 2 3 ••• 4 5 3 4 4 5 •• 6 7 5 7 7 6 7 • FUJITSU 4-12 MB80321A MB80322A Example of Screen Format Dot clock rate 16.128 MHz Horizontal frequency 15.75 kHz Vertical frequency 60.1145 Hz Althe following clock rates and register settings, the screen format is as shown in the diagrams below: Total number of characters in line, Register 0: 127 Number of characters displayed in line, Register 1: 80 Horizontal sync position, Register 2: 99 Sync signal pulse width, Register 3: 8 Total number of lines, Register 4: 31 Total raster adjust, Register 5: 6 Number of lines displayed, Register 6: 25 Vertical sync position, Register 7: 27 Maximum raster address, Register 9: 8 TOTAL NUMBER OF CHARACTERS ~I HORIZONTAL SYNC POSITION !+-:NUMBER OF CHARACTERS~ RASTER i+-+ 1 CHARACTER DISPLAYED IN LINE "I 0 1 2 --- 7. 80 --- 99 --- 127 !w 80 81 82 --- 159 160 --- 179 --- 207 ..~ 160 161 162 --- 239 240 --- 259 --- 287 . !II 0 zw z :::; ~ . I I I I I I I I ~ . 0 w I I I I I I I I I I .. . ffi :E u z ~ z :::; 0 LII . RASTER ::> a: 1920 1921 1922 --- 1999 2000 - - - 2047 z c...I w :E Ii: ::> 2000 2001 2002 - - - 2127 w > Z ...I J~ I I I I I I I I I I I I j 2160 2161 2162 2287 - - - I I I I I I I I I I I I 2480 2481 2482 2607 RASTER - - - 2560 2561 2562 - - - 2687 TOTAL RASTER ADJUST T FUJITSU 4-13 M!J!!9321A MB89322A 1_ ---- Scan Mode (Continued) Interlace & Video Modes um 1------------ o: - - - - - - _ • • -- o _____ _ n - - mml ___________ _ -- 3 : ------_• • -------- 3 ------ ------------ 5 ------ ------------ 5 6 o6 - - - - - - - - - - - - - - - - - - - - 7 -------------------- 7 l 8 : 6 ------_• • -------- ------ ------------ -------------------- 3 5 7 :~;~I:::·:·~~: 7 -------------------- 8 Even number of rasters in a line Odd number of rasters in a line Cursor Control Examples of settings for the cursor start and end raster registers: o o o 1 1 1 •••••• 2 2 2 --e ••••• 3 3 3 •••••• 4 4 4 •••••• 5 5 •••••• 5 6 •••••• 6 •••••• 6 7 7 7 Start add ress = 6 Start address = 5 Start address = 1 End address = 6 End address = 6 End add ress = 4 TV Sync Mode Example of a TV Sync mode circuit: CRTe ,--------f4- elK m>n ~--t=~ __ DOT CLOCK TV sync mode is used to will occur. Accordingly, an During HSYNC, CLK must be superimpose displays on TV or appropriate prescaler should low (stopped). video signals. In the above be designed to avoid image example a 1/n fose dot shift resolution problems. FUJITSU 4-14 MB89321A MB89322A Master-Slave Mode Example of a master-slave HSYNC Master-slavemode is used to mode circuit: VSYNC synchronize master and slave CRT controllers. The screen HSVNC formats and clock phases of VSYNC I - - - -.....--I>--IEXVSYNC the two CRTCs must match. MASTER CRT SLAVE CRT CONTROLLER CRTC CRTC CONTROLLER Since HSYNC is output, PLL can be used. COUNTER (PRESCALER) Smooth Scroll Example of smooth scrolling In the example, screen 2 is display: SCREEN 1 ~Uil-r being smooth scrolled. SCREEN 2 flJJI SMOOTH SCROLLING flJJI SCREEN. f lJ J I ~~f?J ~ ffj_ ~ ~ ~FaJL... Double-Size Vertical Display Raster Address Raster Address The vertical size of the display can be doubled using the o ,""7777,,",, raster interpolation function iF o as shown in the example. 1 1 In raster interpolation, the 2 raster address is updated 2 every second raster. 3 3 Refer to item 6 of Notes on Without raster 4 Operation. interpolation function 4 5 5 6 6 With raster interpolation function FUJITSU 4-15 MB89321A MB89322A Absolute Maximum Ratings Parameter Symbol Rating Unit Input Voltage VIN -0.3to +7.0 V Supply Voltage Vee -0.3 to +7.0 V Operating Ambient Temperature TA -40to +85 ·C Storage Temperature TSTG -55to +150 ·C Power DisSipation Po 600 mW Note: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Recommended Operating Conditions Value Parameter Symbol Min. Typ. Max. Unit Vee 4.5 5.0 5.5 V Supply Voltage VSS 0.0 V LPSTB,CLK VIHl 2.2 Vee V Input High Voltage Other Inputs VIH 2.0 Vee V LPSTB,CLK VIL1 -0.3 0.6 V Input Low Voltage Other Inputs VIL -0.3 0.8 V Ambient Temperature TA -20 25 +75 ·C DC Characteristics Value Recommended operating con- ditions unless otherwise noted. Parameter Symbol Test Conditions Min Typ Max Unit Input High LPSTB,CLK VIHI 2.2 Vee V Voltage Other Inputs VIH 2.0 Vee V Input Low LPSTB,CLK VIL1 -0.3 0.6 V Voltage Other Inputs VIL -0.3 0.8 V DO to 07, VIN ~ 0.4 V to 2.4 v, EXHSYNC, IlL Vee=5.5 V -10 10 /l-A Input Leakage EXVSYNC Current Other -2.5 2.5 IILI VIN=O V to 5.5 V /l-A Inputs DO to 07 VOH IOH= -205/l-A 2.4 V Output High Voltage Other VOHI IOH= -100 /l-A 2.4 V Outputs Output Low Voltage VOL IOL = 1.6 mA 0.4 V DO to 07, EXHSYNC, CIN VIN=OV 12.5 pF Input EXVSYNC Capacitance Other CINI f=1.0MHz 10.0 pF Outputs Ouput Capacitance COUT 10.0 pF Power Dissipation Vee = Vmax Po 10 30 mW f=1.0MHz FUJITSU 4-16 M. . 8321A M888322A AC Characteristics Recommended operating Value conditions unless otherwise noted. Parameter Symbol Conditions Min. Typ. Mall. Unit Clock Period tClK 250 ns Clock High t PWCH 100 ns Clock Low tPWCl 100 ns Clock Rise tCA 20 ns Clock Fall tCF 20 ns CRT Memory Address Delay tMAO 80 ns (1) Controller Raster Address Delay tAAO 100 ns Display Timing Delay tOTO 120 ns Cursor Timing Delay tcoo 120 ns Horizontal Synchronous tHSO 100 ns Delay Vertical Synchronous Delay tvso 120 ns Clock Stop tClKST 100 ns External Horizontal t PWHS 1000 ns Synchronous Signal Width External Horizontal tHA 20 ns Synchronous Rise External External Horizontal tHF 20 ns Synchro- Synchronous Fall nization (2) External Vertical ·1 tpwvs l 12201 ns Synchronous Signal Width tPWVSS 1750 External Vertical tVA 20 ns Synchronous Rise External Vertical tVF 20 ns Synchronous Fall External Synchronous tvss 50 ns Setup (M~ter-slave mode) Light Pen Strobe Width tpWLP 60 ns Light (3) Light Pen Strobe t lPOA 0 ns Pen Maximum Period !lPOF 70 ns Enable Period tE 0.5 ps Enable High tpWEH 0.22 ps Enable Low tpWEL 0.21 ps Enable Rise tEA 20 ns CRT Enable Fall tEF [(4) MB89321A 20 ns Interface Address Setup only] 40 ns tAs 1 Data Delay tOOA 120 ns Data Access t ACC 160 ns Address Hold tAH 10 ns Data Hold tH 10 ns Data Setup tosw 60 ns FWITSU 4-17 MB89321A MBS832iA AC Characteristics (Continued) Value Parameter Symbol Conditions Min Typ Max Unit Read Address Setup tAR 0 ns Read Low ._- 'HH 160 ns Read Address Hold tRA 0 ns Write Address Setup tAW 0 ns Write Low tww [(5)MB89322A190 ns CPU Write Address Hold only] 0 ns Interface tWA 2 Data Delay tAD 120 ns Data Hold tDF 10 ns Data Setup tDW 60 ns Data Hold tWD 0 ns Access Inhibit tDiS 210 ns Interrupt Delay tlRDF 150 ns IRQ (6) 1/2tClk ns Interrupt Delay '2 t'RDR +150 Note: '1. External vertical synchronous signal width tpwvs = 1000 ns + tcLK (TV sync mode) tpwvss ~ 1000 ns + 3 !eLK (Master slave mode) "'2. Rising delay time when light pen strobe input in non display time Clock A TTL-level input from DC to A circuit example for horizon- 4.5 MHz character clock tal 8-dot character mode is as should be used. An example follows: of the clock circuit is shown below. TTL-LEVEL-INPUT VIDEO ! } --r--- DDT CLK DOT eLK ~CRTCCLK FUJITSU 4-18 MB89321A MB89322A Timing Diagrams (1) CRT Controller elK MAOTOMA13 RAOTORA4 DISPTMG CUDISP HSYNC VSVNC (2) External synchronization ClK (lV .ync mod.) -----+--~ EXHSffiC ~ d~2_.0_V____ IPWVs _ _ _ _ _ 2.OV_~ CLK(W.s\er'l.ve~ 1 \ mod.) O.6V J L- rlvss Ipwvss~ EXVSYNC - - - - , : : ~t . . ___ FUJITSU 4-19 MB89321A MB89322A Timing Diagrams (Continued) (3) Light Pen When the light pen strobe is enabled, LPSTB goes high, tLPDR tLPDF M+2 is loaded into the light pen register, N into the light pen raster register, and the display elK status bit is set. LPSTB • LIGHT PEN STROBE 2.2V LPSTB ENABLE ~tpWLP MAO TO MA13 M X M+' X M+2 RAOTO RA4 N (4) CPU Interface 1 (MB89321 A only) lAS IpWEH 2.DV 2.DV CS R/W RS DO TO 07 (READ) DO TO 07 (WRITE) FUJITSU 4-20 MB89321A MB89322A Timing Diagrams (Continued) (5) CPU Interface 2 (MB89322A only) cs RS RD WR = DO TO 07 (READ) DO TO 07 (WRITE) _ _ _ _..... t: ~ tDW~ _IWK: 2.4~ O.4V. _ _ _ _ _ __ (6) IRQ Timing ClK o.sv IRQ Notes on Operation (1) Screen Partition Timing MAO TO MA13 NS1 + 4 Nhd ..!1______ J.J.JA NS1 + 4Nhd + Nhl ~S1 + 4Nhd I NS1 + 4Nhd + Nht ____' i±x mx J/xx,52 x&52 __ • NS1 +, 4Nhd I ____ NS1 + 4Nhd + Nht ' ___ _ NS2 + Nht I -- I --- I ._. I --- I --- ! RAOTDRA4 j X I t:::j I Nr i E I ' : I I I 1 LINE NUMBER I I 5 (NL2 + 1) : i SCREEN 1 ----l!1-- SCREEN 2 I ' I SCREEN PART~TIONED HERE This example shows typical memory addresses and raster addresses of screens 1 and 2 during screen partitioning. Nht: Total Number of Characters in Line (RO) Nhd: Number of Characters Displayed in Line (RI) Nr : Maximum Raster Address (R9) NsI: Start Address I (RI2, R13) NL2: Screen 2 Display Start Position (RIS) NS2: Start Address 2 (RI9, R20) FUJITSU 4-21 MB89321A MB89322A Notes on Operation (Continued) (2) Interrupt Signal Generator The interrupt signal is output Timing to the CUDISP pin during display blanking. The interrupt signal can be generated as DISPT~G shown in the diagram below. CUDlSP!IRO DISPTMG==D-'AQ CUDISP ® IRQ request of light pen strobe interrupt request of light pen strobe during this display period When the cursor is not enabled, the CUDISP pin func- tions as IRQ. eLK E(ROl vertical -~t:IR:D,::r-;:;=I=====~., CD IRQ ofblanking _ _=_+-..J tiRO' ®IRQ of light pen t'RDf t'RDf strobe @IRO of light pen ---:=-j~~==----J-::-~~- t'ROF tlROf strobe _ _:""';'':'''''..J- (3) TV Sync Timing In TV sync mode, EXHSYNC is enabled when a pulse of EXVSYNC EXVSYNC DETECT 1,000 ns or more is applied. SIGNAL Also, during vertical blanking, EXVSYNC is enabled to sync the controller's internal horizontal display period signal. In order to use the TV HORIZONTAL DISPLAY sync function, a horizontal CHARACTERS display period should be set. The basic circuit required to do this is shown to the left. Note: Low (enabled) during the horizontal display period. The TV sync function may EXVSYNC _ _ _ _..J not operate under the timing shown here at the immediate EXHSYNC left. The TV sync function is EXVSVNC _ _---..J activated using the timing as shown here. EXH$YNC EXVSVNC EXHSYNC FUJITSU 4-22 MB89321A MB89322A Note. on Operation (Continued) (4) Horizontal Display Period (A) and (B) indicate points Setting (TV Sync Mode) where EXVSYNC is detected. The horizontal display period EXVSYNC is normally is determined by the timing detected at (B). However, diagrams below: when EXHSYNC is generated during the horizontal display EXHSYNC .J1I~ORI!rT rt.- AL BACK PORCH + 2 CLOCK CYCLES period by an equivalent pulse, detection is at (A). HORIZONTAL DISPLAY PERIOD -II NUMBER OF CHARACTERS ~ISPLAYED IN LINE r- (A) and (B) require at least 1,000 ns + 1 clock cycle, 1- -11- during which period (A) (a) EXVSYNC must be main- tained. (5) Screen Partitioning The display order of partitioned screens can be changed by programming the start position registers (R18, R21, and R24) for each partitioned screen, except screen 1, which is always displayed from line a on the screen. (See Figure A below.) But, when the same values are programmed to the start position registers, the partitioned screens for those start position registers aren't displayed, even if those partitioned screens are enabled by PO and P1 bits. Figure A Line No. Display Screen Example of Register Setting a Screen 3 Start Position (R21) Screen 1 :5: Screen 2 Start Position (R 18) 2 :5: Screen 4 Start Position (R24) 3 4 Screen 3 • Screen 2 Start POSition Reg. 5 (R18) = 5 6 • Screen 3 Start Position Reg. 7 Screen 2 (R21) = 2 8 • Screen 4 Start Position Reg. 9 (R24) = 8 10 Screen 4 11 FUJITSU 4-23 M889321A M889322A Notes on Operation (Continued) (6) Raster Interpolation At present, two versions of MB89321 A/89322A are provided: One has the raster interpolation function, and another has no raster interpolation function. On MB89321 A/89322A without the raster interpolation function, "0" must always be written to RI bit of the control/status register (R31). Figure B Line No. Display Screen Example of Register Setting 0 Screen 2 Start Position (R18) = Screen 3 Start Position (R21) 2 ,,; Screen 4 Start POSition (R24) 3 4 Screen 1 • Screen 4 Start POSition Reg. 5 (R24) = 8 6 7 • Screens 2 and 3 aren't 8 displayed because the start position registers for these 9 screens have the same value. 10 Screen 4 In the display areas for 11 Screens 2 and 3, Screen 1, which is displayed above those screens, is displayed. Package Dimensions Dimensions in inches 40-Lead Plastic (millimeters) Dual In-Line Package (Case No.: DIP-40P-M01) 15° MAX 1 r J'OBIO.2011 .012(0.30) ~~ . t1. III 195 !4'96)MAX .118IJ.OO1MIN ~ 100(2.54)TYP. j L·o~(~ .070(1.77) ---ll .015(0.38) .021 (0.54) ~·.020(~~1)MIN © 1985 FUJITSU LIMITED D40005S-1 C FUJITSU 4-24 11111111111111111111111111111111111111111111111111111111111111111 PROGRAMMABLE MB89321B FUJITSU CRT CONTROLLER MB89322B 11111111111111111111111111111111111111111111111111111111111111111 October 1986 Edition 1.0 DESCRIPTION The Fujitsu MB89321 B/MB89322B Programmable CRT Controllers are used to interface a CRT raster-scan display with a microcomputer system. The MB89321 B is pin-for-pin compatible with the 6845 controller and is designed to interface with the 6800-series of microprocessors from Motorola. The MB89322B is designed to interface with the 8080-series of microprocessors from Intel; because the Intel bus requires separate read/write lines, the MB89322 is not a direct replacement for 6845. Both devices refresh the CRT display by buffering information from main memory. Eighteen internal registers track the display position on the screen and provide a realtime presentation of the video data. The interface with most raster-scan CRT displays is simple and the hardware/software overhead is minimal. Together, the MB89321A/MB89322A and MB89321 B/MB89322B controllers provide design alternatives for the bus-interface requirements shown at the bottom of this page. The MB89321 and MB89322 can be ordered with or without enhancements. Non-enhanced versions (suffix B) contains all standard features of the 6845; enhanced versions (suffix A) provide all standard features of the 40-Pin Plastic DIP 6845 plus smooth scroll, additional screen partitioning, independent scrolling of (DIP-40P-M01) screen partitions, and other convenient features. FEATURES • Programmable screen and character formats • Cursor control display: Form, Position, and Blink • Three selectable scan modes: Interlace, Non-interlace, and Interlace with PIN ASSIGNMENTS Video Vss VSYNC • 14-bit refresh memory address output: 16K word refresh memory addressing RESET HSYNC capability LPSTB RAO • 5-bit raster address output: Up to 32 rasters per character MAO RA1 MA1 RA2 • Light pen detection: Refresh memory address capture MA2 RA3 • Flexible bus interface: 6800 compatible bus for MB89321 B, 8080 compatible MA3 RA' bus for MB89322B MAO DO MAS 01 • Up to 4 MHz clock rate MAS 02 • Silicon gate CMOS processlTTL compatible I/O MA7 03 • Single + 5V power supply/40-pin plastic DIP (Suffix P) MA8 DO MAg OS MAlO OS MAll 07 Bus Interface MB89321A MB89322A MB89321B MB89322B 6845 MA12 ES MA13 RS 8080 Bus Interface OISPTMG E (AD) X X CUDISP R/W(WR) (Intel) eLK Vcc 6800 Bus Interface X X X Legend: (Motorola) ( ) '" MB89322B Enhanced (Note) X X Non-Enhanced X X X Note: The MBS9321 A and MB89322A provide all features of the 6845; however, both devices require that This device contains circuitry to protect the inputs against Registers 30 and 31 be cleared during initialization. The clearing command is not required forthe damagedueto high static voltages or electric fields. However, 6845 or the non-enhanced (MB89321 B/MB89322B) devices. it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this high impedance circuit. 4-25 FUJITSU MB89341 11111111111111111111111111111111111111111111111111111111111111111 October 1986 Edition 1.0 DESCRIPTION The Fujitsu MB89341 Hard Disk Controller (HOC) interfaces with a host processor and a hard disk drive unit and provides data transfers between the two units in accordance with commands loaded from the host processor. The HOC is fabricated in CMOS and is housed in a 48-pin shrink DIP. FEATURES • Two programmable modulation modes: MFM and NRZ. • data On-chip 8-byte FIFO for timing control of transfers. • High speed data transfers - • On-chip memory buffer with arbitration logic. MFM: Maximum of six megabits per second (typically S Mbps). • On-chip ECC with 32-bit fire code. NRZ: Maximum of 12 megabits per second • Supports 16 drives and 16 head selections. (typically 10 Mbps). • specification Interface compatibility with Seagate STS06/412 and ESDI specification. • Programmable step rate - 1-to-8 J-Ls in eight steps. Fast: • register array. Parallel data loading to CPU interface: Slow: 0.S-to-4 ms in eight steps. • Multi-sector read/write and multi-track • Silicon-gate CMOS process. read/write. • Single +SV supply. PIN CONFIGURATION BLOCK DIAGRAM elK BRDY Vee (+5V) SVNC/SCT/AMF RESET TRAKOOlTXACK elK SKC{NRZ)/CMC(NRZ) TEST FAULTJATN IRO READY .3 SKC(MFM)/CNFIG HU3 INDEX .,.0 A2 DISK HU2 CONTROL HU1 RE SIGNALS HUO 07 USTB 06 DISK DATA USEL OS SIGNALS Rwe DO OIRC/CMD 03 woe 02 ~ EARLYIWCLK 01 LATEIAME DO WG ORO ~G :=:0. ROT ORO RCLK ~J Vss(GND) STEF¥TXREQ MSEl MACCR BRDY This device contains circuitry to protect the inputs against damage due to high static voltages or electric fields. However, it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this high impedance circuit. 4-26 FUJITSU MB8876A MICROELECTRONICS MB8877A October 1986 FLOPPY DISK Edition 2.0 FORMATTER/ CONTROLLER DESCRIPTION The Fujitsu MB8876A and storage, and the IBM System-34 MB8877A are one-Chip Floppy format and the modified frequen- Disk Formatter/Controllers (FOG) cy modulation (MFM) recording which are fabricated with N-chan- are used for the double density nel ElD MOS technology. They storage. can be applied to any single den- sity floppy disk, double density The MB8867A and MB8877A inter- floppy disk and mini floppy disk. face with an 8-bit parallel micro- processor to control data transfer The IBM3740 format and the fre- and mechanical operation. They quency modulation (FM) record- are packaged in a standard 40-pin CERAMIC DIP ing are used for the single density dual in-line package. DIP-40C-A01 FEATURES • Interface to 8-bit • Programmable Head Microprocessor Engage/Head Settle Time MB8876A: Negative-logic • Double Buffered Data 1/0 8·bit Data Bus • DMA Data Transfer Capability MB8877A: Positive·logic • Write Precompensation PLASTIC DIP 8·bit Data Bus Capability DIP-40P-M01 • IBM Compatible Sector Format • All TIL Compatible 1/0 • Automatic Track Seeking and • Single + 5V Power Supply Verification • N-Channel Silicon-gate • Both Single and Double EtD MOS Process PIN ASSIGNMENT Density Formats • MB8876A: Upward a) Single Density in IBM3740 Compatible with NC' NC' WE IRQ Format and FM Recording Western Digital FD1791-02 cs DRo b) Double Density in IBM • MB8877A: Upward fiE DDEN System·34 Format and WPRT Compatible with Ao fl' A, M FM Recording Western Digital FD1793-02 r~'" TROD • Programmable Single Sectorl • Two Package Options DALlIDAL 1 WFIVFOE DAL2iDAL2 READY Multiple Sectors/Entire Track -40-pin Ceramic DIP (Suffix: -C) •• DAL3iDAL3 WD Read Operation -40-pin Plastic DIP (Suffix: -P) DAL41DAL4 WG • Programmable Single Sector/ DAL5iDAL5 TG43 DAL6iDAL6 HLD Multiple Sectors/Entire Track DAL7iDAL7 RAW READ Write Operation STEP RCLK DIRC RG • Programmable Side Compare EARLY CLK Function LATE HLT • Programmable Sector Length MR TEST Vss Vee • Programmable Head Step Rate PACKAGE • Applicable to Single Density, Dlp·40C·A01 Double Density, and Mini ': No Connection Floppy Disks .. {~::~~:~ ~:~i~i~:eL~~~~C This device contains circuitry to protect the inputs against damage due to high static voltages or electric fields. However, it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this high impedance circuit. FUJITSU reserves the right to change products and specifications without notice. This information does not convey any license under patent rights of FUJITSU LTD. or others. 4-27 MB8876A/MB8877A PIN DESCRIPTIONS Pin No. Symbol Pin Name 110 Description 20 Vss Ground (GND) Power Supply I 21 Vee +5V DC supply 24 ClK Clock I 2·MHz fixed frequency clock signal (1·MHz for mini·floppy disk). 19 MR Master Reset I Signal for resetting the FDC. 22 TEST Test I Signal for setting the FDC into a test mode. 1,40 NC Non Connection - These pins are not used. MPU INTERFACE PINS Signal for selectina a FDC operation mode: I When DDEN = 0, the double density operation mode is selected. 37 DDEN Double Density = When DDEN 1, the single density operation mode is selected. This input must be fixed while the FDC is in busy state. = Signal for controlling the DAls: When CS 0, the DAls are ac· tivated and data transfer between .the FDC and the MPU is 3 CS Chip Select I enabled. When CS = 1, the DAls are in high impedance state and data transfer is inhibited. (i.e., FiE and WE are ignored.) 4 RE Strobe Sign~rOVided when data is read from internal registers: Read Enable I When CS = R = 0, data can be read from internal registers. 2 WE Write Enable I Strobe~n~OVided when data is written into internal registers: When C = = 0, data can be written internal registers. Signal for addressing an internal register among Command Register (CR), Status Register (STR), Track Register (TA), Sector 5,6 "'0, A1 Register Select Line I Register (SCR) and Data Register (DR): Refer to table of REGISTER SELECTION (p. 6). 7-14 DALo- DAl7 Data Access Line 110 8·blt bidirectional bus for transferring 8-bit data between the FDC DALo- DAl7 and the MPU. MB8876A: negative 10gicJMB8877A: positive logic. Signal for informing the MPU of a DR status: Read operation: 38 DRQ Data Request 0 DRQ = 1 shows the DR is filled with a 8-bit data from a disk, and the FDC is requesting for the MPU to read the data. Write opera: = tion: DRQ 1 shows the DR is empty, and the FDC is requesting for the MPU to write the next data into the DR. Interrupt signal to the MPU: IRQ is set when a Command is com· 39 IRQ Interrupt Request 0 pleted or the TYPE IV Command is executed. IRQ is reset when the next Command is written or the STR is read. FLOPPY DISK INTERFACE PINS Disk Head Control Signal 15 STEP Step Move 0 Step pulse Signal for moving a disk head. 16 DIRC Direction 0 ° Signal for indicating a direction of disk head moving to the FDD: = DIRC = shows the head moves toward outside. DIRC 1 shows the head moves toward inside. Signal for loading a disk head: When HlD = 1, the head is 28 HLD Head load 0 = engaged on the disk. When HlD 0, the head is released from the disk. MICROELECTRONICS FUJITSU ________________________________________________~ 4·28 MB8876A I MB8877A Disk Head Control Signal (Continued) Pin No. Symbol Pin Name 1/0 Description Signal for informing a disk head status: HLT = 1 shows a disk head is in an enagaged state. HLT is set when a disk head has 23 HLT Head Load Timing I been settled or a head settle time pre·determined by one shot cir· cuit has elapsed after HLD = 1. Signal for informing whether a disk head is positioned on Track 34 TROO Track 00 I No. 00 or not: TROO = 0 shows Track No. 00 is detected during track seaking operation. Signal for informing the FDC of a disk drive status: READY = 1 shows the disk drive is ready for operation, and only when READY = 1, read/write operation for disk can be executed. READY 32 READY Ready I = 0 shows the disk drive is not ready, and neither read/write operation cannot be executed. However, seek operation is ex· ecuted regardless of this signal. Signal for informing the FDC of an index hole of disk being 35 iP Index Pulse I detected in the FDD. Disk Read Operation Signal Signal for informing synchronization between RCLK and 25 RG Read Gate 0 = RAWREAD to an external VFO circuit: RG 1 show the FDC has found out a SYNC byte during disk reading operation. RCLK Read Clock A data window signal which is generated in an external VFO 26 I circuit out of Read Data. 27 RAWREAD Raw Read I A raw read data signal transferred from the FDD. Disk Write Operation Signal 30 WG Write Gate 0 Signal for indicating data is being written into a disk. Signal for indicating early pre·compensation of data write timing 17 EARLY Early Shift 0 to a disk: EARLY = 1 shows a serial data to be transmitted via the WD pin to a disk must be shifted earlier. Signal for indicating later pre·compensation of data write timing 18 LATE Late Shift 0 to a disk: LATE = 1 shows a serial data to be transmitted via the WD pin to a disk must be shifted later. 31 WD Write Data 0 A write data signal transferred to the FDD. Signal for indicating a head position of a disk: TG43 = 1 shows 29 TG43 Track Greater 0 the head is located on any Track No. 44 thru 76. TG43 = 0 shows Than 43 the head is located on any Track No. 0 thru 43. Input signal for informing a fault is detected during write operation 33 WFIVFOE Write FaultNariable I/O for a disk (during WG = 1). Output signal for informing the FDC Frequency Oscil· is reading a disk (during WG = 0). lator Enable 34 WPRT Write Protect I Signal for inhibiting write operation for disk. 4·29 I MB8876A/MB8877A I REGISTER SELECTION Chip Address Selected Register Data Access Line Status Select Read Mode (RE = 0) Write Mode (WE = 0) DAL7 - DALo CS A1 Ao DAL7 - DALo 1 * * Deselected Deselected High Impedance 0 0 0 Status Register (STR) Command Register (CR) Enabled 0 0 1 Track Register (TR) Track Register (TR) Enabled 0 1 0 Sector Register (SCR) Sector Register (SCR) Enabled 0 1 1 Data Register (DR) Data Register (DR) Enabled *: Don't care MB8876A/MB8877A BLOCK DIAGRAM DALO - DAL7*{ DALo - DAl7** I DATA 1/01 Buffer OUTPUT Hl r BUS LINE ~ j INPUT ! I BUS LINE 1 f i 1 I~ATA (DR) REG'I COMMAND REG. (CR) I r1~"'O' REG. (SCR) TRACK REG. (TR) J{- I STATUS REG. (STR) I l I , - - .-J ~pATA SHIFT 1 RAWREAD REG. (DSR) WD_ I I AM DET·I f--------lCR C G ENJ-- =23 /RClK DDEN STEP DIRC CS HlD RE HlT WE COMMAND TROD MPU DISK READY TEST- Ao PlA MR ClK - -- A, INTERFACE (232xI9) INTERFACE . iP RG WG EARLY Vcc - DRQ lATE Vss - IRQ TG43 (GNDI WPRT WFNFOE * MB 8876A: Negative logiC ** MB 8877A: Positive Logic FUJITSU "i;;;MICROELECTRONICS 4-30 ~76Jl/~77Jl FUNCTIONAL BLOCK DESCRIPTION ing Read, Write, and Verify operations. The TR should not be written to when the device is busy INTERNAL REGISTERS (BUSY = 1). • Command Register (CR) • Sector Register (SCR) An 8-bit write-only register, holds the command An 8-bit read/write register, holds the address of which is being executed. This register should not the desired sector number. The sector number is be loaded when the BUSY flag is set (BUSY = 1) written into the SCR prior to the Read and Write unless the execution of the current command is to Data Command execution. It should not be written be overridden, using the Force Interrupt command. to during busy (BUSY = 1). Executing the Read Ad- • Status Register (STR) dress Command causes the SCR to be loaded with An 8-bit read-only register, holds the device status the track number from the ID field. information. The contents of STR are automatical- ly updated according to the status of the execut- ing Command. After the STR is read, the IRQ out- put is usually reset (IRQ = 0) except for the Type IV Command. OTHER FUNCTIONAL BLOCKS • Data Register (DR) An 8-bit read/write used as a holding register dur- • Cycle Redundancy Cheek (CRC) Logic ing Disk Read and Write operations. In Disk Read This logic is used for checking or generating the operations, the serial data assembled in the Data 16-bit Cycle Redundancy Check that is in the 10 Shift Register is transferred to the DR, where it is and Data fields used for error detection. The poly- made available to the data bus. In Disk Write oper- nominal is: G(X) = X16 + X12 + X5 + 1. ations, parallel data from the data bus is written in- • Arithmetic/Logic Unit (ALU) to the DR where it is transferred to Data Shift Reg- The ALU is a serial comparator, incrementer, and ister. In a Seek Command, the data written into the decrementer used for register comparisons and DR holds the address of the desired Track address. modifications with the disk record ID fields. • Data Shift Register (DSR) • Address Mark (AM) Detection Circuit An 8-bit shift register which cannot be accessed A circuit to detect specific bit pattern data in the directly through the data bus. The DSR assembles serial data from a disk (i.e. Index Mark, 10 Address serial data from the RAW READ input during Read Mark, Data Address Mark). operations and transfers the data to the DR. In Write operations, the DSR receives data from the • Data Modulator DR and serially transfers it out through the WRITE A circuit to modulate data to be written onto a disk DATA output. in the specific recording format: Single density recording format: Frequency Modulation (FM) • Track Register (TR) Double density recording format: Modified Fre- An 8-bit read/write register, holds the track number quency Modulation (MFM) of the current disk head position for Restore, Seek, Step, Step-In and Step-Out Commands (i.e. TYPE 1 • Programmable Logic Array (PLA) for Commands Commands), and is updated during the Command A micro-program to generate control signals (Com- execution. The TR contents are compared with the mands) which control the FDC operation: The size track number (recorded in the disk's ID field) dur- of micro-program is approximately 232 x 19 bits. 1..:;;_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _;;;;;;; FUJITSU MICROELECTRONICS 4-31 MB8876A/MB8877A BIT STRUCTURES OF COMMANDS MB8876A/MB8877A BITS TYPE COMMAND 7 6 5 4 3 2 1 0 I Restore 0 0 0 0 h V r1 ro I Seek 0 0 0 1 h V r1 ro I Step 0 0 1 u h V r1 ro I Step In 0 1 0 u h V r1 ro I Step Out 0 1 1 u h V r1 ro II Read Sector 1 0 0 m S E C 0 II Write Sector 1 0 1 m S E C ao III Read Address 1 1 0 0 0 E 0 0 III Read Track 1 1 1 0 0 E 0 0 III Write Track 1 1 1 1 0 E 0 0 IV Force Interrupt 1 1 0 1 13 12 11 10 NOTE: Bits shown In TRUE form. TABLE 1. STEPPING RATES CLK 2 MHz 2 MHz 1 MHz 1 MHz 2 MHz 1 MHz DDEN 0 0 X X R1 RO Tm=1 TEST = 1 TEST = 1 Tm=1 Tm=o Tm=o 00 3 ms 3 ms 6ms 6ms 184~s 366~s o 1 6 ms 6 ms 12 ms 12 ms 190~s 360~s 1 0 10 ms 10 ms 20 ms 20 ms 198~s 396~s 11 15 ms 15 ms 30 ms 30 ms 206~s 416~s TYPE I COMMANDS TYPE II " III COMMANDS TYPE IV COMMAND h = Head Load Flag (Bit 3) m = Multiple R&cord flag (Bit 4) Ii = Interrupt Condition flags (Bits 3·0) h = 1, Load head at beginning m =0, Single Record 10 = 1, Not·Ready to Ready Transition h = 0, Unload head at beginning m = 1, Multiple Records 11 = 1, Ready to No· Ready Transition V = Verily flag (Bit 2) ao I = Data Address Mark (Bit 0) 12= 1, Index Pulse V = 1, Verify on destination track 13 = 1, Immediate Interrupt ao = 0, FB (Data Mark) 13 - 10 = 0, Terminate with no Interrupt V = 0, No verify ao = 1, Fa (Deleted Data Mark) '1 '0 = Stepping motor rate (Bits 1·0) E = 15 ms Delay (2M Hz) Refer to Table 1 for rate summary E = 1, 15 ms delay u = Update flag (Bit 4) E = 0, no 15 ms delay u = 1, Update Track register S = Side Select Flag u = 0, No update' S = 0, Compare for Side S = 1, Compare for Side 1 ° C = Side Compare Flag C = 0, diable side select compare C = 1, enable side select compare MICROELECTRONICS FUJITSU ______________ ~ ______________________________ ~ 4·32 MB8876A/MB8877A STATUS REGISTER SUMMARY Command Status Bit 7 6 5 4 3 2 1 0 All Type I Not Ready Write Protect Head Loaded Seek Error CRC Error Track 0 Index Busy Read Sector Not Ready 0 Record Type Rec not Found CRC Error Lost Data ORO Busy Write Sector Not Ready Write Protect Write Fault Rec not Found CRC Error Lost Data ORO Busy Read Address Not Ready 0 0 Rec not Found CRC Error Lost Data ORO Busy Read Track Not Ready 0 0 0 0 Lost Data ORO Busy Write Track Not Ready Write Protect Write Fault 0 0 Lost Data ORO Busy STATUS DESCRIPTION FOR TYPE I COMMANDS Bit Name Meaning S7 Not Ready This bit when set indicates the drive is not ready. When reset it indicates that the drive is ready. This bit is an inverted copy of the Ready input and logically 'ored' with MR. 56 Protected When set, indicates Write Protect is activated. This bit is an inverted copy of WRPT input. S5 Head Loaded When set, it indicates the head is loaded and engaged. This bit is a logical "and" of HLD and HLT signals. 54 Seek Error When set, the deSired track was not verified. This bit is reset to 0 when updated. S3 CRC Error CRC encountered in 10 filed. S2 Track 00 When set, indicates ReadIWrite head is positioned to Track O. This bit is an inverted copy of the TROO input. 51 Index When set, indicates index mark detected from drive. This bit is an inverted copy of the IP input. SO Busy When set command is in progress. When reset no command is in progress. STATUS DESCRIPTION FOR TYPE n AND m COMMANDS Bit Name Meaning 57 Not Ready This bit when set indicates the drive is not ready. When reset, it indicates that the drive is ready. This bit is an inverted copy of the Ready input and 'ored' with MR. The Type II and III Commands will not execute unless the drive is ready. 56 Write Protect On Read Record: Not Used. On Read Track: Not Used. On any Write: It indicates a Write Protect. This bit is reset when updated. 55 Record TypeJ On Read Record: It indicates the record-type code from data field address mark. 1 = Deleted Data Write Fault Mark. 0 = Data Mark. On any Write: It indicates a Write Fault. This bit is reset when updated. 54 Record Not When set, it indicates that the desired track, sector, or side were not found. This bit is reset when Found (RNF) updated. 53 CRC Error If S4 is set, an error is found in one or more 10 fields; otherwise it indicates error in data field. This bit is reset when updated. ~2 Lost Data When set, it indicates the computer did not respond to ORO in one byte time. This bit is reset to zero when updated. 51 Data Request This bit is a copy of the ORO output. When set, it indicates the DR is full on a Read Operation or the DR is empty on a Write operation. This bit is reset to zero when updated. 50 Busy When set, command is under execution. When reset, no command is under execution. 4-33 MB8876A/MB8877A TRACK FORMAT ~----------~~------------------------------------------------------------------------ GAP 4 PRE INDEX GAP 4 BYTe 2·129 10 128 BYTES OF USER ADDRESS DATA MARK HEX FF{FM) HEX 4E (MFM) WRITE GATE TURN-ON FOR UPDATE ~ .-:" 1~8~TE.1 OF NEXT DATA FIELD ·WHERE HEX 00 OR FF IS OPTIONAL. ~ FOR UPDATE OFWRITE TURN-OFF FF IS RECOMMENDED. PREVIOUS DATA FIELD TRACK FORMAT U-INDEX DETECTION SECTOR 26/15/8 L1=::~E~~~LE1"""I---------- SECTOR o 1 - - - - - - - - - - ...j I~O;.~ AMBLE _IDFIELD_I I-DATAFIELD----;..... I I ) , ) ) IG~p GAP 4 GAP SYNC 0 GAP 1 SYNC AM1 ID CRC GAP 2 SYNC AM2 DATA CRC GAP 3 SYNC IG:p ) // DATA INDEX ID or ADDRESS ADDRESS DEtETED MARK MARK DATA MARK 128 27 247 26 / \ ~ ~fI) SINGLE >- 0 "'z 40 6 1 26 6 1 4 2 11 6 1 256 512 2 42 58 170 311 15 8 ~~) Track DENSITY .~ (FM) (FM) « l- « FF 00 FC' FF 00 FE' ,. ... FF 00 FB' or (DATA) .. , FF FF Q F8' -- - --~-~ _. 256 54 598 26 DOUBLE UJ '" ~ ~o "'z 80 12 3 1 50 12 3 1 4 2 22 12 3 1 512 2 84 400 15 (~) Track DENSITY (MFM) . - 1--- _ .. -- 1024 116 654 8 (MFM) <{ I- « 4E 00 C2' FC 4E 00 Al' FE .. ... 4E 00 Al' FB or (DATA) ... 4E 4E Q F8 NOTE: Shows to have missing clock. Shows the 10 field Shows the cyclic Redundancy check polynomial G(X) ::::: XO + X5 + X12 + X 16 See the most right column for its byte numbers and data. MICROELECTRONICS __________________________________________________~ FUJITSU 4-34 l4B8876Jl/!4B8877Jl SECTOR FORMA.T SECTOR 10 FIELD DATA FIELD TRACK SIDE SECTOR SECTOR DATA SYC lOAM NUMBER NUMBER NUMBER LENGTH CRC1 CRC 2 GAP 2 SYNC AM DATA CRC 1 CRC2 GAP 3 6 1 1 1 1 1 1 1 11 6 1 1 1 27/42/58 bytes byte byte byte byte byte byte byte bytes bytes byte byte byte bytes (FM) or 12 4 1 1 1 1 1 1 22 12 4 1 1 54/84/116 ( MFM) y bytes bytes byte byte byte byte byte byte bytes bytes byte byte byte bytes (OO)H" fo(128 Bytes/Sector data (01)H for 256 Bytes/Sector data (02)H 412 Bytes/Sector data (03)H for 1024 Bytes/Sector data ( (01)H to (1A)H for 26 Seetor/Track format (OI)H to (OF)H for 15 Sector/Track format I (01)H to (08)H for 8 Sector/Track format (OO)H for Side 0 of single-side of double-side disk \ (01)H for Side 1 of double-side disk f (OO)H to (4A)H for Track 0 thru Track 74'" I NOTE ': Byte number of this column is defined in the SECTOR LENGTH column . • *: "HI! after parentheses show that the parenthesized figures are hexa-decimal. *. *: Track 75 and 76 are usually used for correction. l4B8876Jl/!4B8877Jl TYPICAL SYSTEM CONSTRUCTION 2MHz or MR lMHz +5V I I I DDEN I CLK Vee STEP CS MB 8876A DIRC MB 8877A HLD RE (FDC) ~ WE SHOT Ao,A, INTERNAL REGISTER HLT COMMAND REG. TROO .A DALa - DAL7' ... / STATUS REG. ) READY MPU "" DALo - DAL7 " v TRACK REG. SECTOR REG. DATA REG. RG RAWREAD IP FLOPPY DISK DRIVE ~ VFO READ CIRCUIT (FDD) RCLK DATA DRO IRO ~10K WD EARLY WRITE PRECOM- El ~ cm '~7~::~D +5V ___ WFNFOE 1~ WF WG TG43 WPRT Vss , MB 887BA: Negative Logic ** MB 8877A: Positive Logic ~ TESl ~ *** Open Collector Output 4-35 MB8876A/MB8877A IBM 3740 Format IBM System 34 Format This single-density (FM) format utilizes 128 bytesl This double-density (MFM) format utilizes 256 bytesl sector. The bytes to be generated by the system sector. The bytes to be generated by the system MPU for use in the execution of the Write Track com- MPU for use in the execution of the Write Track com- mand are shown below. mand are shown below. Data No. 01 Data No. of Byte Bytes Comments Byte Bytes Comments (hex) (hex) FF 00 FC 7J 1 Gap 5 Post Index) Index AM 4E 00 F6 :j 3 Gap5 (Post Index) Writes C2 FC 1 Index AM ~J FF Gap 1 ~J- Gap 1 00 4E FE 1 lOAM 00 XX 1 Track Number F5 3 Writes lOAM (004A) Sync Bytes OX 1 Side Number FE 1 lOAM (000r01) XX 1 Track Number XX 1 Sector Number (004C) (01·1A) OX 1 Side Number 00 1 Sector Length (00 or 01) ONE (128 bytes) XX 1 Sector Number SECTOR F7 1 Causes 2-Byte CRC (01-1A) to be Written CD 01 1 Sector Length (256 Bytes) ~1:r FF Gap 2 (10 Gap) ONE 00 SECTOR F7 1 Causes 2-Byte CRC to be Written FB 1 Data AM CD 2~J 4E Gap 2 (10 Gap) E5 128 Data Field 00 12 F7 1 Causes 2-Byte CRC to be Written F5 3 Writes lOAM Sync Bytes FF 27 Part of Gap 3 (Data Gap) FB 1 Data AM FF 247 Rwe wo GNO VeE1 Absolute Maximum Rating Parameter Symbol Rating Unit Supply Voltage VEE' -7.0 - 0 V VEE2 -15.0- 0 V Output Terminal Voltage Vee 0-9.0 V Input Voltage V1N -5.0 - 0 V Write Current IWG 0-60 mA Power Dissipation Po 580 mW Operating Temperature Ta 0-70 'C Storage Temperature Tstg -55 -150 'C Recommended Operating Conditions Parameter Symbol Value Unit Supply voltage VEE1 -5.2±5% V VEE2 -12.0±S% V Output Terminal Voltage Vee -6.0±5% V External Resistance R EXT1 700±2% n FUJITSU 4-77 MB4316 Pin Function Table PinHo. Symbol Functions 1 VEE2 Power Supply (-12 V) 2 Gl Gain of output Amplifier (Receiver) is specified with an 3 G2 External resister between Gl and G2. 4 RWD This input specifies Data level in write mode. 5 WT WC switch. When it is at CML low level, WC is active. 6 WC Write Current Source Output Write Current is specified with resister between Rwe and 7 Rwe VEE2 (See Block Diagram). (lwe=5.4V1REXT2) 8 GND Ground 9 VEE1 Power Supply (-5.2V) 10 WD - - - - - - - - - - - - - Write Data, driven by complementary signal of CML level. 11 WD 12 OX Data Bus 13 DY Read/Write mode Switch. When it is at CML low level, read 14 RD mode is selected, and at high level, write mode is selected. 15 OUT --:------=~----- Output for read data 16 OUT Electrical Characteristics (VEE1 = -5.2V, VEE2 = -12.0V, TA = 25°C) Measurement Parameters Symbol Conditions Diagram Min. Typ. Max. Unit ~ 65 mA Power Supply Current ~ VEE1 = -5.46V, VEE2 = -12.6V 15 mA IEE2W 10 mA 11R5 _Vcn~R~D~=_-_0~.8-:1-:V~,-:V~W'~T_=_-_1_.7_1_V_--:-_ _ _ _ _ _ _ _ _ _~~ 0.2 ___ mA~___ VEE1 = -5.46V -. IIWD Vwo = -0.81V 0.9 mA Input Current VWfj= -0.81V 0.9 mA VEE2 = -12.6V-:-"-'-"---,...c,-,.,.,--,..,------,-:-:,..,-,-------------..c.:.::---'-'- VR5 = -1.71V, Vwr = -0.81V 1 0.15 mA Vwe VR5 = -0.89V, Vwr = -1. 75V 1 4.9 5.4 5.9 V Vwo = -0.96V 1 -0.59 -0.45 V Output Voltage ~ VRi5 = 0.96V VWD = -0.96V -0.75 -0.61 V ~ Vwr=1.65V -0.59 -0.45 V VOVL Vwo = -0.96V -0.75 -0.61 V DxDy Differential Output Voltage IVxvl IVox - Vovl 160 mV Voltage Gain Av V 1 = 100mVpp, f = 5MHz 2 0.95 1.1 1.25 V/V Band Width BW 2 30 MHz 3 ~ WT-RWC 350 ns 3 100 ns Delay Time 4 200 ns ~ RD-DX,DY t pLH2 4 100 ns FUJITSU 4-78 MB4318 Measurement Diagram 1. 2. -12.0Y 6.0Y -12.0V -5.2'1 3. -12.0V 6.0V r::- WT -O.S9V \50% r:_JL~~~:_ .-_': l : ________-.1:!5V tpLH1-+-: l...... . . . .: r"- tpHL1 RWC----'..v::--l. ---. L 50% INPUT: P.R.R. : 1.5 MHz tr=H'" 10n5 -12.0V -S.2V 4. -12.0V 6.0V INPUT: P.R.R. : 1.5 MHz tr=H=10ns -O.S9V _ , O% ~ 50010 -1.7SV RD I ! ! ,..... tpLH2 SOO/0"'L-J"r:: IpHL.2 ...., :........... son OX I ! (DY)~ 50% -12.0V -S.2V Bias Output VWD Vwo DX -O.89V -1.75V DY -1.75V -O.89V FUJITSU 4-79 MB4316 Package Dimensions Dimensions in inches 16-Lead Ceramic (Cerdip) (millimeters) Dual In-Line Package Dip-16C-C02 .788(20.021 .050{1.27.lMAX .014(0.361 .090(2.291 .110(2.791 ~--~--~~~u-4+~ .013(0.331 .023(0.581 FUJITSU 4-80 Advanced Products FUJITSU October 1986 • MB88303 Edition 2.0 NMOS Television Display Controller (TVDC) Description The Fujitsu MB88303 NMOS Television Qisplay Controller (TVDC) is an interface LSI that displays 180 alphanumeric characters (20 characters x 9 lines) in white on a TV screen. The characters overlay the picture on the TV screen . r- While designed to operate in conjunction with the Fujitsu r- MB8840/8850 and MB88400/88500 single-chip 4-bit i-r- r- microcomputers, the MB88303 TVDC can also be interfaced to • a wide range of 4- and 8-bit microprocessors. f- ,ti '- The MB88303 allows simple interface to almost any TV display (raster scan CRT with horizontal and vertical scanning) ~ I regardless of interlace or non-interlace scan. -f-- f- .......... -f-- f-- The MB88303 is fabricated with N-channel silicon-gate E/D MOS process, and packaged in a 22-pin plastic DIP. Also, it is powered by a single +5V power supply, and operates over a temperature range of -30°C to +70°C. Features • Character display controller • Automatic inter-dot filling available for NTSC, PAL and function for improved SECAN TV sets smoothness • 20 character x 9-lIne screen • Black-level background format (Max. 180 charactersl output for improved clarity screen) • 180 x 7-bit display data RAM • 5x7 -dot matrix character • 448 x &-bIt character format (1-dot horizontal and generator ROM 2-dot vertical spacings) • Four control registers • 64-character set • 3-bit general-purpose open- • Programmable character drain latched output size: 4 widths and 4 heights • On-chip clock generator for • Programmable display start external RC-network position: 57 horizontal and • Single +5V power supply 64 vertical positions • Wide operating temperature • Programmable character range: _30 0 C to + 700 C blinking control • N-channel silicon-gate E/D MOSprocess • 22-pln plastic DIP (Suffix -P) 4-81 ... 88303 Pin A..lgnment And Logic Symbol PROCESBOR INTERFACE +SV TELEVISION INTERFACE RESET Vee DOD DA7 001 DA6 EX Vee 002 DAS C~CK { VIDEO VOW DA4 } SIGNALS VOB DA3 CIRCUIT TOTY VSvNc DA2 HSYNC DAl EX DAD SYNC X ADM } SIGNALS Vss LOI FROMTY Block Diagram ADM LDI I ADDRESS CONTROL ADDRESS REGISTER (8) (& INCREMENTER) J ,, ~ ~~ DATA BUS 002 DA7 ... ffi DA6 CAS ::::: ~ T I, T T I, I ADDRESS BUS RESElLlNE , , I ~t;;M' !;s ..... f- .. I- r- 001 DA4 DA3 ::::: ~ 1 0'" ~ DOD - ::::: ......~ ""- DA2 HORIZONTAL HORIZONTAL VERTICAL VERTICAL BLINKING DAl CHARACTER DISPLAY CHARACTER DISPLAY REGISTER DAO SIZE POSITION SIZE POSITION REGISTER REGISTEFI REGISTER REGISTER * (2) * (3) , (S) • (2) (6) DISPLAY MEMORY t I _1 L ! I J. I 11 (180x 7) . ,. + + + i HORIZONTAL HORIZONTAL VERTICAL VERTICAL ~ CHARACTER DISPLAY CHARACTER DISPLAY jctBLINKING SIZE POSITION SIZE POSITION ONTROLlER t CONTROLLER CONTROLLER CONTROLLER CONTROLLER ffi ~ z CHARACTER ~ GENERATOR 11 t t -- (6417115) "z !"'"- T~ I ~ t ~g ffi f-< vow '1 ~ !!1~Co f-' EX SHIFT CLOCK REGISTER GENERATOR " ~ Vee - VSYNC v.. - * THESE REGISTERSARE DESIGNATED BY ONE ADDRESS AS THE DISPlAY CONTROL REGISTER. HSYNC 4-82 M888303 Pin Description Symbol Pin No. ~pe Function Power Supply Vee 22 +5V power supply pin. Vss 11 Ground pin. Clock EX_ _ _ _ _9_ _ _ _ _ _ 1___ RC-network externally connected to these pins from an- X 10 a chip oscillator 6MHz clock generator. Processor Interface Reset input: A low level on RESETstops the TVDC and initializes its internal control registers to the following states: Horizontal Display Position Register : Cleared. Vertical Display Position Register : Cleared. Display/Character Control Register : Cleared. (consisting of Horizontal Character Size, Vertical Char- acter Size, and Blinking Registers) General-Purpose Output Register : Set. RESET As a result, the output pins are clamped in the following states: VOW = "L", VOB = "H", D02 = DOl = DOO ="H" The address register and display memory are not affected by RESET. This pin is a non-TTL compatible hysteresis input with an internal pull up. Address mode select input for writing data to the internal registers and the display memory: A low level on ADM activates the Direct Address mode. A high level on ADM ADM 13 activates the Address Increment mode. This pin is a TTL compatible input with an internal pull up. Write strobe input for multiplexed address/data: Direct Address Mode: At the leading edge of LDI, an 8-bit address on DA7-DAO is automatically latched into the internal address register. At the trailing edge of LDI, a 7-bit data on DA6-DAO is written into an internal control register or an internal display memory location that is designated by the address latched at the leading edge. LDI 12 Address Increment Mode: At the leading edge of LDI, the address register is automatically incremented. At the trailing edge of LDI, a 7-bit data on DA6-DAO is written into an internal control register or a display memory location that is indicated by the address register. This is a non-TTL compatible input with an internal pull up. 8-bit parallel multiplexed address/data input: An address/data on DA7-DAO is written into the internal registers or the display memory at the LDI transition. The address/data input format is DA7-DAO 21-14 DA7: the most significant bit (MSB) DAO: the least significant bit (LSB) These pins are TTL compatible with internal pull up. PUJI'I'SU 4-83 M888303 Pin Description (Continued) Symbol Pin No. Tvpe Function Television Interface Horizontal synchronization input: HSYNC pulses are supplied by the TV set connected. This signal is the same as the horizontal sync signal of the TV display, which controls display start position. HSYNC 8 The MB88303 starts to output character bit patterns on the VOW output, triggered by HYSNC pulse. This pin is a non-TTL compatible hysteresis input with an internal pull up. Vertical synchronization input: VSYNC pulses are supplied by the TV set connected. This signal is the same as the vertical sync signal of TV display, which controls display starts position. VSYNC 7 The MB88303 starts to output character bit patterns on the VOW output, triggered by VSYNC pulse. This pin is a non-TTL compatible hysteresis input with an internal pull up. White-level video signal output: The device serially outputs character dot patterns on VOW synchronously with HYSNC pulses. This signal is used for brightness modulation of the VOW 5 0 TV display. This signal is superimposed on the normal TV video signal. This pin is a TTL compatible output. Black-level video signal output: This signal is supplied to the TV to improve clarity of displayed characters when SLK VOS 6 0 and BLKS bits of the blinking register are set. This pin is a TTL compatible output. 3-bit parallel output port: Oata written into the general output register appears on pins 00 2-000 002-000 4-2 0 These signals are used for other attribute control to TV. These are latched open-drain outputs. FUJITSU 4-84 ------~-------- M888303 Functional Description Screen Fonnat and Character space between characters and generator ROM. Fig. 6(a) shows Fonnat a 2-dot space between lines. internal character patterns in The MB88303 TVDC supports Screen Format also shows the the character generator, which the display of 9 lines of 20 relative on-screen size of the are automatically modifed by characters per line, or a total displayed elements. Figure 2 '1i11ing" function and displayed of up to 180 alphanumeric shows the character format. on the screen as shown in characters, as shown in Figure 3(b). The character Figure 1. patterns are encoded as Character Patterns and Codes shown in Table 1. The characters are formed in The MB88303 has a built-in 5 a 5 x 7-dot matrix, with a 1-dot x 7-dot matrix character Figure 1. Screen Format 2 3 4 5 6 1 8 910111213141516171819 12 13 EJGEJEJE1EJ 1 GGElB~~EJ~~~ 30 33 E1~EJE1E1El '8B88B8BBB888BB88BBB8 '8aBBB888B88GBGGGGGBG '8BBB8B88B88BBB88BBB8 sa8888888888BBBB8888B 6B88~8888~88888888888 7888B8BBBBB88~~8~888~ NOTE: 8~8B8888888888aBBBB~a NUMBERS 0 to 179 INDICATe DISPLAY MEMORY ADDRESSES. Figure 2. Character Fonnat Table 1. Character Codes 1/2 DOT SPACE 1/2 DOT SPACE CH5·4 ~ HORIZONTAL.~ .. SOOTS CH3.~O 1 2 3 1 DOT SPACE 0 A N 0 I 1 B a 2 C P 2 VERTICAL 7 DOTS 3 D Q 3 4 E R 4 + 5 F S 5 1 DOT SPACE 6 G T 6 t 7 H U 7 8 V 8 9 J W 9 & Note: Refer to Page 10 for an A K X ? ~(kanji) explanation of the difference B L Y Jl (kanji) between blanks and back- ground. C M Z (apostrophe) B (kanji) D • (raised dot) (period) (comma) (background) - 0 E w • F .. ... ~-. -, (blank) ml (Telephone) FUJITSU 4-85 - "-",--~--- - ._----- MB88303 Functional Description Figure 3(a). Internal Character Dot Patterns (Continued) (Character Generator ROM Patterns) ABCDEFGH I JKLM · .... l::::] (BLANK) NOPQRSTUUWXYZ:I( 01234567891! '.0) (BACKGROUND) Figure 3(b). Displayed Character Dot Patterns (Format with "Filling" Function) ABCDEFGHIJKLM·~D (BLANK) NOPQRSTUUW)(YZ:II 01 234561891! ' . D) (BACKGROUND) FUJITSU 4·86 MB88303 Figure 4. Display Memory & Control Register Map Functional Description Address Structure (Continued) ADDRESS All addresses are 8-bit words. Addresses from 0 [00000000] to 179 [10110011] indicate the display memory locations. DISPLAY ~ ADDRESS 6 S 0 3 2 1 0 Addresses from 180 MEMORY 180 HPS HPO HP3 HP2 HP1 HPO [10110100] to 183 [10110111] 179 180 181 - VPS VPO VP3 VP2 VP1 VPO are used for the control CONTROL 182 BLINK BLKS BLK VSZ1 VSZO HSZ1 HSZO REGISTERS registers. Figure 4 shows the 183 183 002 001 000 memory map. Selected • HPSTOO HORIZONTAL DISPLAY POSITION REGISTER addresses are input through • VPSTOO VERTICAL DISPLAY POSITION REGISTER pins DA7 to DAO. Addresses • HSZ1 TOO: HORIZONTAL CHARACTER SIZE REGISTER } 184 above cannot be used. • VSZ1 TO 0 • BLK • BLKS • BLINK VERTICAL CHARACTER SIZE REGISTER DISPLAY BLANKING BIT BACKGROUND BLANKING BIT BLINKING BLINKING ENABLE BIT REGISTER l DISPLAY CONTROL REGISTER • 002 TO 0 GENERAL OUTPUT REGISTER Display Memory The display memory is a 180 x Figure 5. Display Memory Word Format 7-bit RAM. Bits 5 to 0 (CH5- CHO) are character code MSB LSB storage; Bit 6 (BC) can be set to "1" to enable blinking, and reset to zero to disable blinking. ADDRESSES o TO 179 Figure 5 shows the word structure; refer to Character CHO Codes table for character CH1 codes (see page 5). Selected '-----_CH2 character codes and blinking CHARACTER CODE BITS (SEE TABLE 1.) control bit are input through ' - - - - - - _ CH3 pins DA6 to DAO. ' - - - - - - - _ CH4 ' - - - - - - - - -__ CHS Control Registers '-----------~ BC ." BLINKING CONTROL BIT Horizontal Display Position o~ BLINKING DISABLE Register [HP5 to HPOj 1 ~ BLINKING ENABLE This register (address 180) stores the horizontal position Figure 6. Horizontal Display Position Register Format of the start of the diplay on the TV screen. The values (000000) to (000110) cannot be used for ADDRESS the horizontal disp.i.!!Y...QQ§ition 180 register. Since the RESET input clears this register, a HPO value must be set after every HP1 RESET input. Figure 6 shows '--------I~ HP2 the horizontal display position ' - - - - - - - - - - . HP3 register. For the display ' - - - - - - - - - - - -.... HPO starting position control, see page 9. ' - - - - - - - - - - - - - - _ HPS Figure 7. Vertical Display Position Register Format Vertical Display Position Register [VP5 to VPOj This register (address 181) ADDRESS stores vertical position of the 181 start of the display on the TV screen. Since the RESET VPO input clears this register, a VP1 value must be set after every ' - - - - - - - _ VP2 RESET input. Figure 7 shows ' - - - - - - - - - _ VP3 the vertical display position ' - - - - - - - - - - - _ VPO register. For the display starting position control see '----------------1~ VPS page 9. FUJITSU 4-87 Functional Description Display Control Register Figure 8. Display Control Register Format (Continued) (1) Horizontal Character Size Register [HSZ1 and HSZO] ADDRESS These bits indicate the width 182 of the characters. Character width is selectable from 4 values determined by setting HSZ1 and HSZO as shown in Table 2. The reset input rests both bits to zero. Note: T is the period of oscillation frequency Q. When Table 2. Horizontal Character Size the oscillation frequency is Q [Hz], the period at that time T[s] is 1/Q. Code Size Size Charac- (2) Vertical Character Size Dot ter Register [VSZ1 and VSZO] Charac- (when Q 6MHz, = These bits indicate the height HSZ1 HSZO ter Dot = T 167ns) of the characters. Character 0 0 10T 2T 1.67/1s 0.33/1s height is selectable from 4 0 1 20T 4T 3.34/1S 0.67/1s values by setting VSZ1 and 1 0 30T 6T 5.01/1s 1.0/1s VSZO as shown in Table 3. 1 1 40T 8T 6.68/1s 1.34/1s The reset input rests both bits to zero. Table 3. Vertical Character Size Note: 1H (horizontal line) c Code ~S_iz_e________~~________ 63.5/1s. One screen at non-interlace scan is 262.5H. I VSZ 1 VSZO Character Dot (3) Blinking Register [BLK, o o 14H 2H BLKB and BLINK] o 1 28H 4H 1 o 42H 6H 1 1 56H 8H - Display Blanking Bit [BLK] This bit indicates the status of Figure 9. General Output Register Format the characters display. When BLK is zero, no data is displayed; to enable display, Address set BLK to "1". The reset input 183 resets BLK to zero. - Background Blanking Bit [BLKB] ' - - - - - - - . 000 This bit indicates the status of ' - - - - - - - - _ 001 the background display. When BLKB is zero, background is not displayed regardless of ' - - - - - - - - - - -. . 002 data content; to enable background display, set BLKB to 1. The reset input resets Figure 10(a). Direct Address Mode Timing BLKB to zero. LOW ADM - Blinking Enable Bit [BLINK] This bit turns blinking on and ----'II ~:::'-- off. When BLINK is zero, ~__ blinking is disabled regardless lDI of blink control bit value of the display memory input; when BLINK is "1", blinking is enabled, provided that the blink control bit of the display DA7-DAO ADDRESS (8 BITS) X. .___.~ A-T-A-(7-B-IT-S-)_ _ memory is set to "1". The reset input resets BLINK to zero. .... lATCH ADDRESS ! :-.- LATCH DATA FUJITSU 4-88 MB88303 Functional Description General Output RegIster Figure 10(bl. Address Increment Mode Timing (Continued) This is a 3-bit latched output; ADM data written to 002 to 000 is HIGH output to the open drain terminals 002 to 000. The ,'------ reset input sets 002 to 000 lines to "1". Data Input LDI _ _....J{ \ i MB88303 has two modes for writing data to the control registers and display memory. DA7-DAO _ _ _ _ _ 'G_N_O_RE_D!'"_ _ JX,,__ I ~DAI"'"":rA_(7_B_':rs_)_ _ The modes are switched by the ADM input. i: • i Dlract Address Mode r----- ; INCREMENT ADDRESS; : . - - LATCH DATA This mode is enabled when : REGISTER i input to the ADM terminal is low. When the input signal to the lDI terminal goes high, Figure 11. Display Start Position data on DA 7 to DAO are latched to the address register. When the lDI BLACK terminal signal goes low, BACKGROUND 7 bits of data, DA6 to DAO, are written to the memory specified by the memory address register. Fig. 10(a) is HS---o-t': the timing diagram. Address Increment Mode This mode is enabled when input to the ADM terminal is high. When the input signal to the lDI terminal goes high, the data currently latched to the address register are incremented. When the lDI terminal signal goes low, 7 bits of data, DA6 to DAO, are Note: If T(s) is the period when the oscillating frequency written to the memory is fc (Hz), H will be equal to!one period of the horizontal specified by the address synchronization signal. register after incrementing. Fig. 10(b) is the timing diagram. Reset 1. The following internal. 2. General output register 4. Address register and registers are cleared by (DO outputs) is set by Display data memory are not RESET. RESET. affected by RESET. 002 = 001 = 000 = "1" ("H") Horizontal character size = register: HSZ1 HSZO ''0'' = 3. VOW and VOB outputs are Horizontal display pOSition initialized by RESET as register: follows: HP5 to HPO = "0" VOW = "l", VOB = "H" (Blanks Vertical character size register: are displayed on the screen.) VSZ1 = VSZO = "0" No character is displayed on Vertical display position the TV screen until "BlK" bit register: (Bit 4 of Blinking Register) is VP5 to VPO= "0" set to "1". Blinking register: BLINK = BlKB = BlK = "0" FUJITSU 4-89 .888303 Functional Description Display Starting Position (Continued) Control Table 4. P Values The horizontal and vertical HSZ1 HSZO p display starting points on the TV screen are determined by o o 9 specifying the position at o 10 which the black background display begins. This is done o 11 with the values of addresses 12 HPS to HPO and VPS.to VPO as shown in Fig. 6 ahd Fig. 7. The horizontal starting position Figure 12(a). Dot Filling Examples HS and the vertical start position VS may be found INTERNAL DOT PATTERN DISPLAY DOT PATTERN using the following equations: ' ~ . '''' HS = T x 4 [25 X HP5 + 24 X HP4 + 23 X HP3 + 22 X HP22 + 2 x HP1 + HPO) + PI ¢ VS = H x 4 (2 VPS + 2' x 5 x VP4 + 23 x VP3 + 2' x VP2 + 2 x VP1 + VPO) where: P = width of character, .'~ .'~ from Table 4; T = 1/fc [fc = oscillating frequency; 6MHz typ.] H = period of horizontal synchronization signal ¢ [63.S/ls typ.] Blinking Control The MB88303 supports Figure 12(b). Simple 5x7 Matrix [Left] & blinking of any desired wl,h "FIlling" Function [Right] character(s) on the screen. Blinking affects only those characters for which the blinking bit is set to 1. Display is on for approximately O.Ss and off for the same period (vertical synchronization pulse x 64). Blinking can be set as follows: "Filling" Function 1. Set the blinking enable bit "Filling" is the process of the display control register whereby dot matrix displays to 1. like those in (A) of Fig. 12(a) •'!l i are filled out to the form 2. Set the blink control bit to 1 shown in (8) by the display of for the position of the display an intermediate dot. As can be memory corresponding to the seen from Fig. 12(b) "filling" character for which blinking is results in a smoother and desired. more pleasing shape than can be attained with an ordinary S x 7-dot matrix. FUJITSU 4-90 MB88303 Functional Description Display Output Timing woman, a blank (character background display is (Continued) code OF) displays differently black. Fig 13. shows the timing for VOW and VOB for the from background (character overlayed portion of a display code 2E), depending on In the left picture of Fig. consisting of the letter "A", a whether VOS is used or not. 14(b), were VOS is off, the TV "blank" (character code OF), picture is visible everywhere "background" (character In Fig. 14(b) both pictures on the screen except where code 2E). and the letter "B", display the letter "A", a the characters display in with the display blinking and "blank", a "background", the white. Here, blanks and background blanking set to 1. letter "B", and a "blank". background are displayed Note that the display of the identically. Note that the In the right picture of Fig. broken lines have been drawn background changes during 14(b), where VOS is on, the in to indicate where the the "BLAN K" character when character displays are frames would be displayed if the VOB line goes high. bounded by a black frame, so they were displayed on the Difference Between Blanks that the spaces between screen. and Background characters display as black. Where a blank is displayed, a Note: In Fig. 14(b) which 5 x 7-dot portion of the TV shows a screen of characters picture is visible. The overlaying the picture of a Figure 13. Display Output Timing -,I Ir . I I BLANK I BACKGROUND I TIMING FOR (CHARACTER I ____ (CHARACTER I CODE2E) .J THIS AREA CODE OF) I- ! vow I ~B--,~: ________~r---------;~_______________________ Fig 14(a). Display of Fig 14(b). Display of Character on TV Picture TV Picture • 'lOs OFF • VOB ON Notes: 1. For HSYiiIC and V5YNC input signals, both cycle and rise/falltimes must be constant. 2. Character output during the blanking period of TV should be inhibited. If not, character shapes may change. So, blanks should be written for memory addresses which cannot be displayed on the screen. FUJITSU 4-91 ( M8aa303 Functional Description Figure 15. Application Example (Continued) IPROCESSOR' • TYDC • • TELEVISION sn • MB88401-P MB88303 t EX HSVtiC VSYNC DAO DA7 VOW LDI VOB ADM RESET RESET %J Absolute Maximum Ratings Parameter Symbol Pin Rating Unit Supply Voltage Vee Vee Vss -0.3 to Vss +7.0 V EX, RESET, ADM, Input Voltage V,N Vss -0.3 to Vss +7.0 V LDI, DA7-DAO VOW, VOS Vss -0.3 to Vss +7.0 Output Voltage VOUT V 000-002 Vss -0.3 to Vss +15 Operating Temperature TA -30 to +70 °C Storage Temperature Tst9 -55 to +150 °C Power Dissipation PD 600 mW Nole: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. FUJITSU 4-92 M888303 Recommended Operating Conditions Value Parameter Symbol Pin Min. '1YP. Mall. Unit Vee Vee 4.5 5.0 5.5 Supply Voltage V Vss Vss 0 VIH DA7-DAO, ADM 2.0 Vee V Input High Voltage RESET,~_ VIHS 3.0 Vee V VSYNC, HSYNC OA7-0AO, AOM RESET,~ Input Low Voltage VIL -0.3 0.8 V VSYNC, HSYNC, EX Operating Temperature TA -30 +70 °C Operating Clock fe EX,X 6.7 MHz Frequency DC Characteristics (Recommended operating Value conditions unless otherwise Symbol Pin Min. Typ. Mall. Unit Condition Parameter noted.) 2.4 Vee = 4.5V, Output High VOW, VOS VOH V IOH = -200/lA Voltage 002-000 Open Orain 0.4 Vee =4.5V, VOW, VOS IOL = 1.8mA Output Low Vee =4.5V, VOL V Voltage IOL = 1.8mA, 002-000 0.4 with 5kO external pull-up resistor Vee =5.5V, VOH = 13.2V, Output Leakage 'leak 002-000 50 /lA at OFF state with Current with 5KO external pull-up resistor RESET.LOI. Input Leakage AOM, VSYNC, -60 Vee = 5.5V, IlL HSYNC, /lA VIL = OAV Current OA7-0AO Vee = 5.5V, All outputs open, Supply Current lee Vee 80 120 mA fe = 6.7MHz, reset state FUJITSU 4-93 MB88303 AC Characteristics (Recommended operating Value conditions unless otherwise Parameter Symbol Pin Min. Max. Unit Condition noted.) LDI Pulse Width t Wlol LDI 5 j1S Fig. 15, Fig. 18 LDI Rise/Fall Time trlDI LDI j1S Fig. 15, Fig. 18 tflDI ADM Setup Time tAS ADM 0.5 j1S Fig. 15, Fig. 18 ADM Hold Time tAH ADM 2 j1S Fig. 15, Fig. 18 Address/Data Setup Time ts DAD to DA7 0.5 j1S Fig. 15, Fig. 18 Address/Data Hold Time tH DAD to DA7 2 j1S Fig. 15, Fig. 18 DO Output Delay Time tDD DOD to D02 0.6 j1S Fig. 16, Fig. 18 RESET Pulse Width t RST RESET 4 j1S Fig. 17, Fig. 18 RESET Setup Time tRSTS RESET 1 j1S Fig. 17, Fig. 18 RESET HDld Time tRSTH RESET 3 j1S Fig. 17, Fig. 18 Figure 15. Address/Data Input Timing m DON'T CARE Figure 16. DO Output Timing lDI \oav / LtDDi ~2.4~V------------------------ 000-002 OLD DATA X NEW DATA ________________________-J ~~0.4~V-------------------------------- FUJITSU 4-94 MB88303 Figure 17. RESET Input Timing ,3.0V lOl D.SY \ fa.BY . . . . . - - IRSTH -----... tRSTS IRST Notes: 1. If tRSTS spec. (1J1s min.) is not met, the MB88303 cannot be reset. 2. If tRSTH spec. (3J1s min.) is not met, then the TV screen will be disturbed. This is caused by the undefined data on the DA line written into internal registers and display memory at LDI's high-to-Iow transition during RESET = "L". This case occurs, for example, when RESET goes high just after LDI goes low, shown at.lQQ..J:ight diagram. This unacceptable RESET timing is caused when ~----------~+-----r-------- the device is reset separately fl'?m the processor connected to the device. However, when LDI level is fixed high or low during reset (I.e. RESET = "L") shown at bottom right diagram, the TV screen is not disturbed. RESET--U"'--- lDI Figure 18. AC Test Conditions Input Conditions 2.4V 2.0V ~ TEST Timing Reference Levels: POINT O.SV ..... ........ O.SY 3.0V for a logic "1" (RESET, LDI) O.4V 2.0V for a logic "1" (ADM, DA7-DAO) 0.8V for a logic "0" vee Output Conditions Timing Reference Levels: 2AV for a logic "1" DEVICE OAV for a logic "0" UNDER TEST" TEST POINTS Output Load Circuit: RL = 4kO CL = 50pF (including scope and jig capacitances) 'with external 5kO pull-up resistor at D02-DOO for tDD FUJITSU 4·95 . . . .303 Figure 19. Rc-Network Oscillator eireuH Note: The clock frequency (Ie) has wide variation from device to device. EX The clock frequency also ccnsider· ably depends on the ambient tem- perature and supply voltage. .. R..... X MB88303 Therefore, io limH the clock fre- quency within the specHled renge, H is required to edjust n with the extemal resistor in advance. - I/O Circuit Configuration Pin Characteristics RESi::T LOI Pull Up Reslslor: ADM IIL;::;;;60pA OAO-OA7 HSYNC = at Vee 5.5V, V IL =O.4V VSYNC High-Voltage Open Drain: IlL ;::;;;O.4V = at Vee 4.5V, VOL I.SmA: = 000-002 Ileak ;::;;;501'A at Vee = 5.5V, VOH = 13.2V, OFF state: 'with external 5kO pull up resistor Pull Up Reslslor: VoH ;;;;2.4V VOW VOB = = at Vee 4.5V, IOH -200pA V oL ;::;;;0.4V at Vee = 4.5V, IOL = I.SmA 4-96 \ MB88303 Pac;kage Dimensions 22-Lead Plastic; Dimensions in inches Dual In-Line Pac;kage (millimeters) DIP-22P-M02 '"O"~ ~ ~ ~ ~ ]J~: :.;,; 1.106(28.09) lMhMAmw ii' 1 I ""00,",, ~~0~254) I I ~ --11~~~:~~: .118(3.001MIN .020(051) MIN FUJITSU 4-97 Preliminary Advanced Products FUJITSU October 1986 • M888313 CMOS Television Display Controller (TVDC) DBSCRIPTION The Fujitsu MB88313 CMOS Television Display Controller (TVDC) is a programmable interface LSI device, which displays 16 alphanumeric and symbol characters of a 32-character set in four colors on a standard color TV (NTSC, PAL, SECAM, etc.) screen under control of a general 4 or 8-bit microcomputer. The MB88313 contains a display memorY (16 x 8 bit static RAM), an address counter, six programmable control registers, a character gener- ator (5 x7 x 32-bit mask ROM),ind a clock generator. 16 characters, of which codes are written into the display memory, and displayed on the TV screen, superimposed on the picture. Various screen features, such as screen format, character size, di§play start position, character attri- butes (color and blink), are controlled:by programming the control regis- 8313-1 ters using control commands serially loaded by the processor. The stan- Plastic DIP dard TVDC's character generator contains the Fujitsu standard charac- (Suffix .P) ter set. User designed character patterns are also acceptable on the DIp.1ep.II02 mask ROM. The on-chip clock generator oscillates with an external RC or LC network. The MB88313 is fabricated with the silicon-gate CMOS process, and packaged in a standard 16-pin plastic DIP or SOP. It operates with a single + 5V power supply and 7 MHz clock over the ambient tempera- ture range of -30'C to + 70·C. The MB88313 is suitable for display of simple character information on the TV screen, such as TV channel numbers, voice volume, VTR tape remainder and recording date and time, for which LCD or LED ·displays have been used. 8313-2 !'BATURa. Plastic SOP • External synchronization type character display controller (Suffix .PI') ppy·1ep·II02 • Display method: Characters are superimposed on the picture of a TV screen synchronized with TV HSYNC and VSYNC signals • Command drive method: Display memory and internal registers are programmed by eight 8-bit control commands serially loaded by the processor • Programmable screen format: -8 characters x 2 lines -16 characters x 1 line • Fixed character format: 5 x 7 dot matrix with automatic rounding function • 32 mask programmable character patterns: -Fujitsu standard character set -User-designed character set 838313 4-98 MB88313 nATURa. (Continued) • Programmable character size: • Seven programmable registers [address counter & -4 selections for width control registers) -4 selections for height • 5 x 7 x 32-bit mask ROM [character generator) • Programmable display position: .16 x 8-bit static RAM [display memory] -29 selections for horizontal position • On-Chip clock generator for external RC/LC components -31 selections for vertical position • Silicon-gate CMOS process • Programmable screen controls: -Screen format control • Single + 5V power supply -Background control • TTL compatible 110 ports -Blink control • Up to 7 MHz clock -Color control • - 30"C to + 70"C operating temperature range • Interfaceable to general 4 & 8-bit microprocessors • Two package options: • Interfaceable to standard color TV (NTSC, PAL, SECAM, etc.), -16-pin DIP (Suffix -P) standard monochrome TV sets, and interlace & -16-pin SOP (Suffix -PF) non-interlace CRTs PIN ASSIGNMENT AND LOGIC SYMBOL 5V T AEIET Vee 11!IT VSYNC Processor Television CI SCLK ., HSYiiC 002 001 Interface Vee Interface I RCM~ EX X DOD .... EX YDC V6i NETWORK 8313-3 X This device contains circuitry to protect the I.,.. puts against damage due to high static voltages A -- ESET MB88313 YDC or electric fields. However, It is advised that nor· mal precautions be taken to avoid application of any voltage higher than maximum rated voltages S to this high Impedance circuit. 3 CLK 002-000 sI .... ,t 8313-4 FUJITSU 4-99 .888313 BLOCK DIAGRAM DII D t D/O SI -n ~ ..... J rrr COMMAND r1 SHIFT REGISTER I t COMMAND REGISTER I GENERAL DUTPUT REGI8TI!Rj:;' • OUTPUT CONTROL seuc L DECODER • , HORIZONTAL CHARACTER t i HORIZONTAL DISPLAY VERTICAL CHARACTER i VERTICAL DISPLAY t SCREEN CONTROL • ADDRESS son _rrOON SOZE _mOM REGISTER COUNTER REGISTER REGISTIII REGISTER REGISTER RESE T 1 • t t t ~ ~ ---*- ~ r HORIZONTAL CHARACTER CONT"OL~E" SIZE - [ HORIZONTAL DISPLAY POSITION CONTROLLER ~ VERTICAL CHARACTER SIZE CONTROLLER VERTICAL DISPLAY POSlnON ~ CONTROLLER M SCREEN CONTROLLER DISPUYED CHARACTER SELECTION J- I DISPLAY MEMORY Vee ---< I '--- t~ll, y I r- CHARACTER JL GENERATOR ---< CLOCK GENERATOR TIMING GENERATOR l.J SHIFT REGISTER I, I TEST ~ ••l .J.. DISPLAY CONTROL J.. r::- EX X HsVNC ViiNc 1 J. 8313-5 FUJITSU 4-100 MB88313 PIN DESCRIPTION The MS88313 TVOC has two interfaces: One is the processor interface consisting of, CS, SCLK, and SI inputs which are used for the processor to serially load control commands into the TVOC. The other is the television interface, consisting of, HSYNC and VSYNC inputs and VOC, vas and 002-000 outputs which are used for the TVOC to display characters on the TV screen. Table 1. Pin Description Symbol Number Type Name & Function • Power Supply & Clock Vee 16 - + 5 V dc power supply pin. Vss B - Power supply ground pin. EX 7 I Oscillator input/output: With an external capacitor (C) and resistor (R) or, inductor (L) X 6 0 and capacitors (C) connected to the EX and X pins, the on-chip oscillator generates the internal clock. A clock frequency is determined by the values of Rand C, or Land C. TEST 2 0 Test output: This output pin is enabled in the test mode, which is used for the shipping test purposes only at Fujitsu. In the normal operation mode, this output pin is low, and may be left open. • Processor Inter1ace RESET 1 I Reset input: A low level on the RESET pin stops the TVOC's operations, initializes the internal control registers and clamps the outputs as follows: 1. Horizontal/vertical character size registers, horizontallvertical display position registers, screen control register and general output register are all cleared. 2. All inputs are inactive. 3. VOC and 002-DOO output pins are clamped low, and VOS is clamped high. The display memory is not affected by the RESET. The command shift register, command register and address counter are undefined after a reset. After the RESET pin is driven high, the TVDC restarts its display operations. This pin is a hysteresis input. CS 3 I Chip select input: A low level on the CS pin resets the internal SCLK counter, and enables the command shift register to receive serial data through the SI input pin. SCLK 4 I Shift clock input: The rising edge of the SCLK moves data on the SI pin into the command shift register, and also increments the internal SCLK counter. SI 5 I Serial command input: A command bit on the SI pin is shifted into the MSS of the command shift register at the rising edge of the SCLK. At the eighth riSing edge, which is counted by the internal SCLK counter, an B-bit command word is latched into the command register. • Television Inter1ace HYSNC 14 I Horizontal sync input: Horizontal synchronization pulse signal (negative pulse) provided by TV set should be applied to this input pin. The TVDC outputs character and background signals (VOC and VOO) synchronously with this signal. This pin is a hysteresis input. VSYNC 15 I Vertical sync input: Vertical synchronization pulse signal (negative pulse) provided by TV set should be applied to this input pin. The TVDC outputs character and background signals (VOC and VOS) synchronously with this signal. This pin is a hysteresis input. FUJITSU 4-101 11.88313 PIN DESCRIPTION (Continued) Symbol Number Type Name & Function voe 10 0 Video output for character: This pin outputs a high level for character dot patterns, and is clamped low during the reset mode, standby mode, and non-display mode, disabling character display on the TV screen. VOB 9 0 Video output for background: This pin outputs a low level for background or edge portion of character dot matrix during the background or edge mode, respectively. The VOB output is clamped high during the reset mode, standby mode, non-display mode, and non-backgroundl edge mode, disabling background and edge displays on the TV screen. 002-000 13-11 0 Data outputs: These outputs are controlled by the GOC bit: When GOe = 0 (i.e., the general output mode), a 3-bH data in the on-chip general output register is output at these output pins. These are used for general control outputs. When GOC = 1 (i.e., the color display mode), the attribute code bits ACI and ACO are output at the 001 and 000 pins, respectively, These are used as color control data. The remaining bit of the general output register appears at the 002 pin. BLOCK DBSCRIPTION Refer to Block Diagram on page 3. Dleplay Memory The MB88313 TVDC contains the following main functional The MB88313 has a 16 x 8 bit static RAM as a display memory, blocks: which stores 16 character codes and their attribute codes to be • Clock generator displayed on the TV screen. The 16 memory locations are ad- • Character generator dressed by a 4-bit address counter (A3-AO). Figure 1 shows the • Display memory display memory map: Each memory word is divided into two • Address counter ) fields: The lower 5 bits (CH4-CHO) defines a character code, • Command shift Register and the upper 3 bits (AC2-ACO) defines its attribute codes (col- register and or code and blink code). Each field of a word addressed by the Set command register address counter is written separately by the processor using • Six control registers Commands 0 and 6 respectively. See Table 1. The display mem- ory is not affected by RESET, and is retained during the standby Clock Generator mode. The MB88313 has an on-chip clock generator, which provides a Reglster . .t basiC timing clock to internal circuits. The clock frequency is de- termined by external RC or LC network. The MB88313 contains a register set consisting of an address counter, command shift register, command register, and six con- For synchronization, the clock supply to the internal circuit is trol registers, which are programmed using control commands or stopped while the HSYNC is low. The clock generator is stopped directly loaded by the processor. See Table 1. during the standby mode, which is initiated by software (Com- mand 6). Command Shift Regletor and Command Register (CM7- CMO) Character Generator The command shift register is an 8-bit serial-in/parallel-out shift The MB88313 has a 5 x 7 x 32 bit mask ROM as a character register that assembles serial command bits (provided by the generator, which stores thirty-two 5 x 7-dot character patterns processor through the SI input synchronously with the SCLK in- encoded into character codes. The character generator defines put) into an 8-bit command word during the command load oper- a character set. The standard MB88313 has the Fujitsu standard ation. character set shown in Figure 15. Those characters are indicat- ed by character codes shown in Table 5. A user-designed char- Tt)e command register is an 8-bit write-only register that holds acter set is also programmed on the mask ROM using metal op- control commands transferred in parallel from the command tion. But character codes, (OF)H and (1 F)H are reserved as shift register. The transferred 8-bit command word is output to "blank" and "background" codes. FUJITSU 4-102 MB88313 BLOCK DESCRIPTION (Continued) Figure 1. Display Memory Map the command decoder to generate internal control signals. Fig- ure 2 shows the command shift register and command register MSB LSB configuration. Address (Hex) AC2 AC1 ACO CH4 CH3 CH2 CH1 CHO 80th registers are undefined after a reset, and hold the current state during the standby mode. o Address Counter (A3-AO) The address counter is a 4-bit binary counter which addresses a 2 I display data memory location written by Commands 0 and 6. The address counter is preset by Command 1, and is automatic 3 4 I cally incremented by Command O. Figure 3 shows the address counter format. The address counter is undefined after a reset, 5 and holds the current state during the standby mode. 6 Horizontal Display Position Register (HP4-HPO) 7 The horizontal display position register is a 5-bit write-only regis- B ter which selects one of 29 horizontal positions from where the first character (including blank and background) begins to ap- 9 pear on the screen. This control register is programmed by the A processor using Command 2, and cleared by RESET. Figure 4 shows the horizontal position register format. During the standby 8 mode, this register holds the current state. C D E F ~~---~~----) ~~-----------~------~I Attribute Character Code Field Code Field Notea: 1. Address is indicated by Address Counter. which is setup using Command 1. 2. Attribute code field is written by Command 6. 3. Character code field is written by Command O. Table 2. Display Memory &. Register Set Summary Register Name Bit Symbol Programming Method AC2-ACO: Display Memory Commaii8 0, Command 6 CH4-CHO Serial Load Command Shift Register & Command Register CM7-CMO & Parallel Latch Address Counter A3-AO Command 1 Horizontal Display Position Register HP4-HPO Command 2 Vertical Display Position Register VP4-VPO Command 3 Control Horizontal Character Size Register HS1-HSO Command 4 Registers Vertical Character Size Register VS1-VSO Command 4 Screen Control Register SC4-SCO Command 5 General Output Register G02-GOO Command 7 FUJITSU 4-103 M888313 BLOCK DESCRIPTION (Continued) Vertical Display Position Register (VP4-VPO) The vertical display position register is a 5-bit write-only register using Command 3, and is cleared by RESET. Figure 5 shows the which selects one of 31 vertical positions from which the first vertical position register format. During the standby mode, this character (including blank and background) begins to appear on register holds the current state. the screen. This control register is programmed by the processor Flgur. 2. Command Register Configuration MSB LSB cs SClK COMMAND SHIFT REGISTER 51 COMMAND REGISTER 8313-6 Note: Command register is written by the processor through command shift register. Figure 3. Addr.ss Counter Format Figure 5. Vertical Position Register Format MSB lSB MSB lSB I A3 A2 I A1 AO IVP4 IVP3 IVP2 IVP1 I VPO I Note: Not••: Address counter is programmed by Command 1. 1. VP = H x 4 x (25VP4 + 24VP3 + 23VP2 + 22VP1 + 2VPO) + 1) Where, VP: Vertical display start position; referred to the rising edge of Figure 4. Horizontal Position Register Format VSYNC MSB lSB H: Horizontal sync cycle time; H = 63.5 [I-'S] IHP4 IHP3 IHP2 IHP1 IHPO I 2. Vertical position register is programmed by Command 3. Not••: 1. HP = T X (4 x (25HP4 + 24HP3 + 23HP2 + 22HPl + 2HPO) + P) Where, P = 10,11, 12and l3tar (HS1, HSO) = (0,0), (0,1), (1,0) and (1,1), respectively HP: Horizontal display start position; referenced to the rising edge of HSYNC T: Clock Cycle time; T(S) = 1/fc [Hz] 2. Horizontal position register is programmed by Command 2. Table 3. DD Outputs iii Color Display Mode Video Signal DO Outputs Display VOB VOC DD2 = 002 DD2 = AC1 DDO =ACO 0 0 0 1 X 1 X Character 1 0 1 1 1 Blank 0 0 0 X 0 Black (Background) FUJITSU 4-104 MB88313 BLOCK DESCRIPTION (Continued) Horizontal Character Size Register (HS1 and HSO) Screen Control Register (SC4-SCO) The horizontal character size register is a 2-bit write-only register The screen control register is a 5-bit write-only register which which selects one of 4 character widths. This control register is controls screen features: Screen format, display mode, and programmed by the processor using Command 4, and cleared blinking. This control register is programmed by the processor by RESET. Figure 6 shows the horizontal character size register using Command 5, and cleared by RESET. Figure B shows the format. During the standby mode, this register holds the current screen control register format and bit functions. During the state. Vertical Character Size Register (VS1 and VSO) standby mode, this register holds the current state. Note: When the display is disabled (SeQ = 0), the background must be also disabled (SC1 ~ 0). I II The vertical character size register is a 2-bit write-only register which selects one of 4 character heights. This control register is General Output Register (G02-GOO) programmed by the processor using Command 4, and cleared by RESET. Figure 7 shows the vertical character size register The general output register is a 3-bit write-only output register format. During the standby mode, this register holds the current which latches 3-bit output data written into by Command 7. De- state. pending on the general output register control bit GOC, the TVDC has two output modes for the 002-000 pins. During the general output mode (GOC ~ "0"), the latched data appears at Figure 6. Horizontal Character Size Register Format I MSB LSB I, I EEJ I I Horizontal Size Code Horizontal Character Horizontal HS1 HSO Size (Width) Dot Size 0 0 10T 2T 0 1 20T 4T 1 0 30T 6T 1 1 40T 8T 8313-7 Not••: 1. T: Clock cycle time; T(s] = lIfe [Hz] 2. Horizontal character size register is programmed by Command 4. Figure 7. Vertical Character Size Register Format MSB LSB I EEl I I Vertical Size Code Vertical Character Vertical VS1 VSO Size (Height) Dot Size 0 0 14H 2H 0 1 28H 4H 1 0 42H 6H 1 1 56H 8H ~--- 6313-6 Notes: 1. H: Horizontal sync cycle time; H = 63.5 [,.,s] 2. Vertical character size register is programmed by Command 4. , FUJITSU 4-105 -~-----~ ~ ... MB88313 BLOCK DESCRIPTION (Continued) Figure 8. Screen Control Register Format MSB LSB ~C4ISC3ISC2\SC1 \sco L SCO 0 Display Enable (For Full Screen) Display on TV screen is disabled 1 Display on TV screen is enabled SCl Background Enable 0 Background display is disabled 1 Background display is enabled SC2 Background/Edge Select 0 Background display is selected 1 Edge display is selected SC3 Screen Format Select 0 16 characters x 1 line 1 8 charactaers x 2 lines SC4 Blink Enable (for Full Screen) 0 Blink is disabled 1 Blink is enableq 8313-9 Note: Screen control register is programmed by Command 5. Figure II. General Output Register Format General Output Mode Color Display Mode GOC MSB LSB G G02 G01 \ GOO \ IAC2\ AC1 \ ACO I I ~D~ 001 I L Dao 001 002 002 GOC I [J \ G02\ G01 \ GOO \ MSB LSB 8313-10 Note: General output register is programmed by Command 7. FUJITSU 4-106 MB88313 BLOCK DESCRIPTION (Continued) and screen features (screen format, character size, and display position) on a standard monochrome or color TV screen, super- the 002-000 output pins. During the color display mode (GOC imposed on the picture. The MB88313 can interface to NTSC, = "1 "), the color code bits ACI and ACO stored in each attri- PAL and SECAM standard color TV set, and also to the raster bute field of the display memory are automatically output on the scan type CRT, regardless of interlace or noninterlace scan. 001 and the 000 pins respectively while the VOC output is high. When the VOC is low, the 001 and 000 pins are clamped The MB88313 has three operation modes; the active mode, low. The G02 bit only appears at the 002 in the color display standby mode and reset mode. The active mode operations are mode. See Table 3. Controlling RGB signals by the 001 and described on pages 10-16. Both Standby mode operations, and 000 and VOC, four-colored characters can be displayed. This control register and control bit GOC are programmed by the processor using Command 7, and cleared by RESET. Figure 9 Reset mode operations are described starting on page 17. Active Operations I shows the general output register format. During the standby Character & attribute codes and feature control codes are writ- mode and non-display mode, the 002-000 output are clamped ten into the on-chip display memory and control registers by the low, regardless of the general output mode or the color display processor using control commands, respectively. The control mode. commands are serially loaded into the on-chip command register through the processor interface pins, CS, SCLK, and SI. Accord- FUNCTIONAL DESCRIPTION ing to the programmed character & attribute codes and control codes, the MB88313 issues the character & background video The MB88313 TVOC is an external synchronization type pro- signals from the VOC and VOB pins synchronously with HSYNC grammable character display controller. Under control of a 4 or and VSYNC, signals provided by the TV set. Also, the 002- 8-bit general microprocessor, it displays 16 characters of 32- 000 outputs are used as color control or other general control character set with various character attributes (color and blink) signals to the TV set. INPUT/OUTPUT CIRCUITS TYPE PIN MB88306/308 MB88307/309 LOAD HYSTERESIS INPUT HYSTERESIS INPUT I!! ::> "- SC(SC) RESET cH>o-+ cH>o-+ NON-HYSTERESIS INPUT NON-HYSTERESIS INPUT -= OE SI c:r--[>o-. c:r--[>o-. CMOS 3-STATE OUTPUT NMOS OPEN-DRAIN OUTPUT I!! ::> "- I- ::> 0 07 -00 ~kJb~ ~~OE CMOS OUTPUT NMOS OPEN-DRAIN OUTPUT oi~ SO ~r-< 8313-11 FUJITSU 4-107 MB88313 FUNCTIONAL DESCRIPTION (Continued) Command Load Operation The processor serially loads 8-bit commands into the TVOC's counted by the SCLK counter, and at the eighth rising edge, the command shift register using the processor inputs, CS, SCLK 8-bit command word is latched into the command register, and S!. The !oaded command is parallel latched into the com- where the first-in bit is the LSB and the last-in bit is the MSB. mand register. According to the command, control data is written After that, the command is decoded to generate internal control into a designated memory location, address counter, or control signals. register. Not.: In successive command loading a few hundred ns after completion of one Figures 10 and 11 show the command register configuration and command loading, the next loading should not be made. command load timing: A low level on the CS pin initializes the SCLK counter and enables the command shift register to receive Diapla,. Operationa command words. Then, synchronously with the SCLK shift clock input, an 8-bit command word is serially loaded into the com- According to programmed display memory and control registers, mand shift register through the SI input pin. At the rising edge of the MB88313 issues video signals, VOC and VOB for character SCLK, a command bit on the SI pin is shifted into the MSB of patterns synchronously with HSYNC and VSYNC signals sup- the command shift register and at the same time the command plifld by the TV set, and also outputs feature control signals on shift register bits are right shifted. The rising edge of SCLK is the 002-000 pins. Figure 10. Command Regiater Configuration MSB Co SCLK $1 INTERNAL CONTROL SIGNALS 8313-12 Figure 11. Command Load Timing Co -,~ _________________________________________ SClK $1 (FROM SCLK COUNTER) COMMAND------------------------------------------------- REGISTER _______________________________________________ ..J\I'-+-__CO_M_M_A_N_D_V_A_Ll_D___ A FEW HUNDRED NS 8313-13 FUJITSU 4-108 MB88313 FUNCTIONAL DESCRIPTION (Continued) Screen Format Control smooth the character form. Figure 14·2 shows an example of this rounding function. The MB66313 can display 16 characters in the format of 16 characters x 1 line (with one-dot horizontal spacing) or 6 charac- Character Patterns and Codes ters x 2 lines (with one-dot horizontal & two-dot vertical spac- ings) on the TV screen. Either format can be selected by con- The MB66313 has a character set of 32 character patterns, trolling the SC3 bit using Command 5: SC3 ~ "1" for 16 charac- which is defined by the on-chip character generator mask ROM. ters x 1 line, and SC3 ~ "0" for 6 characters x 2 lines. Figure 12 shows the two screen formats. Figure 15 shows the standard character set. Each character pat- tern is encoded as shown in Table 5. The MB66313 can also have user-designed character set (except blank and back- I Character Format and Automatic Rounding Function ground) by programming the mask ROM. I The character patterns are formatted as 5 x 7 dot matrix, stored Display Mode Control (Character/Background Control) in the on-chip character generator mask ROM. Figure 13 shows the character format. But, on the actual TV screen, this format is One of four display modes can be selected by the five screen modified by the automatic rounding function. See Figure 14-1: control bits SC4-SCO using Command 5, as shown in Table 4. When the internal original dot pattern (i.e., raw output signal Figure 16 shows examples of the display states, as well as the from the character generator) contains diagonally aligned dots, a VOC and VOB output timing signals on line AA' for character dot is automatically inserted between every diagonal dot to codes of 1, 2, blank, background, 3, and 4 in the three display modes, except the non-display mode. Figure 12. Screen Format • 16 characters x 1 line I+-H- SOOTS 1 DOT • 8 characters x 2 lines 1--1-1- SOOTS 1 DOT 8313-14 Note: Each box represents one character display area (5 x 7 dots). The hexadecimals represent display memory addresses. Table 4. Display Mode Control Screen Control Bits SC4 SC3 SC2 SC1 SCO Display Modes Non Display Mode: No X X X X 0 characters nor background are displayed Non-Background/Edge X 0 X 0 1 Mode: Characters are displayed, nor background Edge Mode: Edged X 0 0 1 1 characters are displayed Background Mode: X 0 1 1 1 Characters with black background are displayed FUJITSU 4-109 MB88313 FUNCTIONAL DESCRIPTION (Continued) Display Start Position Control Blink Control The horizontal and vertical display start positions on the TV The MB88313 can blink any desired character(s) on the TV screen are defined by the horizontal and vertical display position screen. Blinking function is enabled when the SC4 bit of the registers. Programming these control registers using Commands screen control register is set to "1". Blinking effects only those 2 and 4, the display start position (HP, VP) can be determined. characters for which the AC2 bit (blink control bit) is set to "1". For the horizontal position, 29 selections, and for the vertical po- Blinking characters appear for approximately 0.5s and disappear sition, 31 selections are possible. Figure 17 shows the definition for the same period (vertical sync pulse cycle time x 64). of the display start position. Blinking can be set as follows: The horizontal display start position HP (from the rising edge of HSYNC to the falling edge of VaB) and the vertical display start 1. Preset a display memory address where the character blink position VP (from the rising edge of VSYNC to the falling edge is required, using Command 1. of VaB) are calculated from programmed values of HP5 to HPO and VP5 to VPO using the following equations: 2. Set the AC2 bit (blink control bit) of the location of the ad- dress, using Command 6. HP ~ T X 4 X [(2 5 X HP5 + 24 X HP4 + 23 X HP3 + 22 X HP2 + 2 x HPl + HPO) + P] 3. Set the SC4 bit (blink enable bit) of the screen control regis- ter, using Command 5. VP ~ H x 4 X (2 5 X VP5 + 24 X VP4 + 23 X VP3 + 22 X VP2 + 2 x VPl + VPO) Figure 13. Character Format Where: P ~ 9,10,11,12 for (HS1, HSO) ~ (0,0), (0,1), (1,0), 1/2 DOT SPACE and (1,1) respectively T ~ Clock (oscillation) cycle time [7 MHz max.] H ~ Horizontal sync cycle time [63.5 ,",S typ.] Character Size Control The character width and height on the TV screen are defined by VERTICAL the horizontal and vertical character size registers. Programming 700TS these control registers using Command 4, the character size can be determined. As shown in Tables 6 and 7, 4 selections are possible for each of the horizontal and vertical sizes. 1 DOT ,PACE 8313-15 Note: Each box presents one dot, and hatched boxes indicate displayed dots. Figure 14·1. Automatic Rounding Function (Algorithm) Figure 14·2. Automatic Rounding Function (Example) Algorithm (/) INTERNAL DOT PATTERN DISPLAYED DOT PATTERN ,-- INTERNAL DOT PATTERN I DISPLAYED DOT PATTERN '.~ (B) L_____~ Algorithm (/I) 8313-17 8313-16 FUJITSU 4-110 11888313 FUNCTIONAL DESCRIPTION (Continued) Figure 15. Standard Character Set (Character Patterns) 01234~6? 89RBCDH[~J (BLANK) MPSUV. •• -.f!l8_· tic D (BACKGROUND) 8313-18 Table 5. Standard Character Codes ~ CJ3-CHO 0 0 0 M ------ 1 1 P 2 2 s 3 3 v 4 4 Y 5 5 · (Period) 6 6 · (Colon) 7 7 , (Apostrophe) 8 8 - (Hyphen) 9 9 1I'Kanji (Year) A A Jl Kanji (Month) B B 8 Kanji (Day) C C _ (Underline) D D • (Dot) E H • (Asterisk) F ~ (Blank) o (Background) 8313-19 FUJITSU 4-111 MB88313 FUNCTIONAL DESCRIPTION (Continued) Flgur. 16. Display Mod.s and VOC a VOB Output Timing Non-Background/Edge Mode A--++-~~ra~~~~: A' ,, ,, " ,, " " ", "" " " " _____....,HrU1 'I'" __ , " "", , voc _ _ _ _ _ H H~ 8313-20 Edge Mode A~~I~::---=----i~:ra· " " ", , " ",I III' 'I ,I " "I , 'I "" '''''' I: " " ' "I , u-______________ , , :' " , ~ " "" III' 'I " 8313-21 Background Mode A' , ,, ,, ,, __~r1~_~___ I , voc ,I , I VOB---1L.-._____ ~-------------'.-- ...I 8313-22 Note: During the non-display mode, the VOC and VOB outputs are clamped low and high, respectively, disabling display on TV screen. FUJITSU 4-112 MB88313 FUNCTIONAL DESCRIPTION (Continued) Figure t 7. Dlaplall Start PMltion 8313-23 Table 6. Horizontal Character Size Horizontal Size Code Horizontal HSt HSO Charactar Size (WIdth) Horizontal Dot Size 0 0 lOT 2T 0 1 20T 4T 1 0 30T 6T 1 1 40T 8T Note: T: Clock cycle time T [sl ~ life [HzI Table 7. Vertical Charactar Size Vertical Size Code Vertical VSt VSO Charaetar Size (Height) Vertical Dot Size 0 0 14H 2H 0 1 28H 4H 1 0 42H 6H 1 1 56H 8H Note: H: Horizontal sync cycle time H = 63.5 [,...5] FUJITSU 4-113 MB88313 Functional Description (Continued) Color Control the VOB is low, the A'G'B' ~Is are all disabled to create a black background. When the VOB is high, the A'G'B' signals are The MB88313 has a color display mode, in which color control enabled to display TV signal. The VOC (character) signal and signals are output on the 001 and 000 pins, in addition to the the 001 & 000 (i.e., ACl & ACO) color code outputs are used VOC and VOB signals. The color display mode is initiated by set- 10 enabie color character Signals A, G, B, respectively, AGB and ting the GOC bit to "1" using Command 7. During this mode, the A'G'B' Signals control (A)(G)(B) Signals of the CAT in parallel. color code bits ACl and ACO stored in each attribute field of the display memory are automatically output on the DO 1 and 000 Table 8. Displayable Colors pins respectively, while the VOC output is high. When the VOC is low, the color control signals are clamped low. Controlling R G B Displayed Colors AGB signals of the colorTV set by the VOC, 001 and 000 sig- 0 0 0 Black nals, characters are displayed in four of eight colors shown in Table 8. One of four colors is selected for each character by 0 0 1 Blue writing color codes to each attribute field of the display memory. 0 1 0 Green Four colors to be displayed are selected by a combination of connections between MB88313's VOC/D01/DOO and TV's 0 1 1 Cyanogen AGB pins. 1 0 0 Red Figure 18 shows an example circuit for selecting character col- 1 0 1 Magenta ors: green, cyanogen, yellow and white. 1 1 0 Yellow In this example circuit, the \70§" (background) signal is used to 1 1 1 White inhibit all TV color video signals R'G'B' simultaneously. When Figure 18. TV Interface Configuration (Example) VSVNC HSYNC MB88313 VOB 001 A voc G 000 B D02 8313-24 Note: R'G'B' are TV AGB signals. FUJITSU 4-114 MB88313 FUNCTIONAL DESCRIPTION (Continued) Table 9. Color Control (In Color DI.play Mode: GOC "1") Video Signal. Color Control Code. VOB VOC(G) AC1 = D01 (R) ACO = DOO(B) Displayed Color. 0 0 Green (RB: disabled) 0 1 Cyanogen (R: disabled) X 1 1 0 Yellow (B: disabled) I 1 White (RGB: enabled) Blank (RGB: disabled, 1 0 0 R'G'B': enabled) 0 Black (Background) (RGB and 0 0 0 R'G'B': disabled) Standby Operation Re.et Operation The MBBB313 has a low power standby mode (i.e., clock stop A low level on the RESET pin stops the TVOC's operations, and mode) which is initiated by software. A logic "1" on the STP bit initializes its internal control registers and input! output pins to stops the on-chip clock generator, reducing the power dissipa- the following states: tion, and sets the internal states and input! output pin states, as follows: 1. All internal control registers are cleared. 1. All internal control registers, display memory, address counter, 2. All input pins are inactive. and command shift & command registers keep their current states. 3. VOC and 002-001 output pins are clamped low, and VOB, clamped high. 2. All input pins are inactive. The display memory data is not affected by RESET. The com- 3. Output pins hold the states before the standby mode. mand shift register, command register, and address counter are undefined after RESET. Ouring the standby mode, characters disappear on the TV screen. Ouring the reset mode, characters are not displayed on the TV screen because the output pins are deactivated as mentioned in When the STP bit is reset to "0", the clock generator restarts, item 3 above. and characters reappear on the screen. The STP is controlled by Command 6. After the RESET pin is driven high, the TVOC restarts its normal Not••: operations. But, VOC, VOB, and 002-001 outputs remain de- 1. When the STP bit is reset and the clock generator restarts, the vertical display activated, that is, no character is displayed on the TV screen, position of each character is disturbed in the first screen field. To avoid until the SCO screen enable bit is set in the screen control regis- this problem. the following procedure is recommended when resetting the ter. STPbit: 1) Before resetting. disable the screen display, resetting the SeQ bit with Command 5. 2) Reset the STP bit using Command 6. 3) At least 16.7 rns after resetting the STP bit, set the SeQ bit, enabling the screen display. 2. When set/reset the STP bit using Command 6, the AC2-ACO bits addressed by the current address counter may change also. FUJITSU 4-115 M888313 COMMAND DESCRIPTION Command Set Command 3 (Vertical Display Position Control) The MB88313's display memory, address counter, and control Command 3 writes its lower 5 bits (vertical display pOSition code: registers are programmed using control commands. The VP4- VPO) into the vertical display pOSition register. For the com- MB883i3 can accept eight 8-bit display control commands. mand format, see Table 10. These commands are serially loaded into the command register by the processor, and write their operand field data (control Command 4 (Character Size Control) codes) into the display memory, address counter, and control registers. According to the programmed registers and memory, Command 4 writes its lower 2 bits (horizontal character size the MB88313 displays characters on the TV screen. The com- code: HS1 and HSO) and the next 2 bits (vertical character size mand format and functions are shown in Table 10. The upper 3 code: VS1 and VSO) into the horizontal character size register bits define op code, and the lower 5 bits are operand (control and the vertical character size register, respectively. For the code). command format, see Table 10. Not.: Command 0 (Character Code Set) Bit 4 should be "0". Command 0 writes its lower 5 bits (character code: CH4-CHO) Command 5 (Screen Control) into character code field of a display memory location indicated by the address counter, and then increments the address coun- Command 5 writes its lower 5 bits (screen control bits: SC4- ter. For the command format, see Table 6. SCO) into the screen control register to control various screen features. For the command format, see Table 10. Command 1 (Address Preset) Command e (Attribute Control) Command 1 writes the lower 4 bits (display memory address: A3-AO) into the address counter, which addresses a display Command 6 writes its lower 3 bits (attribute codes: AC2 and memory location into which Commands 0 and 6 write character AC1-ACO) into the attribute field of a display memory location and attribute codes. For the command format, see Table 10. indicated by the address counter. Note that this command does Note: not increment the address counter, differently from Command O. Bit 4 should be "0". This command sets/resets Bit 4 to initiate/release the standby mode (clock stop mode). Bit 3 should be "0". For the command Command 2 (Horizontal Display Position Control) format, see Table 10. Command 2 writes its lower 5 bits (horizontal display position Command 7 (General Output Control) code: HP4-HPO) into the horizontal display pOSition register. Val- ues of (00000) to (00010) can not be used as HP4-HPO. For the Command 7 writes its lower 3 bits (general output data: G02- command format, see Table 10. GOO) into the general output register, and sets/resets Bit 4 (general output control bit: GOG). For the command format, see Table 10. NOTICE 1. The test mode is initiated by test mode command (code = 00111XXX), and is released by a low level on the HSYNC pin. In the test mode, output operations of the VOC, VOB and D02-D01 pins are different from in the normal operation mode. 2. The MB88313 may enter the test mode when a control command, which is wrongly transferred due to noises, matches the test mode command. 3. When the command transmission from the processor to the MB88313 fails on the way due to noises, the command word must be retransferred after once making CS high and then returning low FUJITSU 4-116 MB88313 COMMAND DESCRIPTION (Continued) Table 10. Command Set Summary Command Word Format Opecode Operand Field Field Command Number MSB LSB Name & Function Character code set: Write operand field data (character code: CH4-CHO) 0 000 CH4 CHS CH2 CHI CHO into the character code field of the display memory. Address preset: Write operand field data (display memory address: AS-AO) 1 o 0 1 0 AS A2 AI AO into the address counter to indicate memory locations. Horizontal display position control: Write operand field data (position code: 2 o 1 0 HP4 HPS HP2 HPI HPO HP4-HPO) into the horizontal display position register. Vertical display position control: Write operand field data (position code: S o 1 1 VP4 VPS VP2 VPl VPO VP4-VPO) into the vertical display position register. Character size control: Write operand field data (horizontal & vertical 4 1 0 0 0 VSl VSO HSI HSO character size codes: HSI & 0, VSl & 0) into the horizontal and vertical character size registers. Screen control: Write operand field data (screen control codes: SC4-SCO) 5 1 0 1 SC4 SCS SC2 SCI SCO into screen control register. Attribute control: Write operand field data (clock stop code: STP, attribute 6 1 1 0 STP 0 AC2 ACI ACO codes: AC2-ACO) into the attribute field of the display memory, and the standby mode (clock stop mode) control bit. General output control: Write operand field data (GOC, G02-GOO) into the 7 1 1 1 GOC 0 G02 Gal GOO i general output register (G02-GOO) and its control bit (GOC). ABSOLUTE MAXIMUM RATINGSt Rating Parameter Symbol Min. Typ. Mal(. Unit Remarks Supply Voltage Vee Vss-O.S Vss+7.0 V Should not exceed Input Voltage VIN Vss-O.S Vss+7.0 V Vee+ O.SV Should not exceed Output Voltage VOUT Vss-O.S Vss+7.0 V Vee+ O.SV Power Dissipation Po 600 mW Operating Ambient TA -SO +70 'C Temperature Storage Temperature TSTG -55 +150 'c tPermanent device damage may occur if the above ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. FUJITSU 4-117 MB88313 RECOMMENDED OPERATING CONDITIONS Value Parameter Symbol Min. Typ. Max. Unit Remarks Vee 4.5 5.0 5.5 V Vee Supply Voltage Vss 0 V RESET. CS. SCLK. SI Input High Voltage VIH 0.8 x Vee Vee+ 0.3 V HSYNC. VSYNC RESET. CS. SCLK. SI Input Low Voltage VIL Vss-0.3 0.2 x Vee V HSYNC. VSYNC Operating Ambient TA -30 70 'C Temperature DC CHARACTERISTICS (Recommended operating conditions, unless otherwise noted.) Value Parameter Symbol Pin Condition Min. Typ. Max. Unit Vee = 4.5V 2.4 V Output High 002-000. IOH= -200,..A Voltage VOH VOC.VDB Vee=4.5V 4.0 V IOH= -10,..A Vee = 4.5V 0.4 V Output Low 002-000. IOL = 1.8 mA Voltage VOL VOC. VOB Vee=4.5V 0.6 V IOL=3.2mA Vee=5.5V -20 -60 RESET ,..A VIL =O.4V CS.SCLK. Input Leakage Vee=5.5V IlL SI HSYNC. -20 -60 ,..A Current VIL =O.4V VSYNC Vee=5.5V -20 EX -10 ,..A VIL =O.4V Vee=5.0V (Typ.) fc=6 MHz Supply Current lee Vee (Active) 8.0 mA Reset state All outputs open FUJITSU 4-118 MB88313 AC CHARACTERISTICS (Recommended operating conditions, unless otherwise noted.) Clock Timing Valua Paramatar Symbol Pin/Port Condition Min. Typ. Max. Unit RC-network OSC, Clock Frequency Ic EX,X LC-network OSC 4.0 7.0 MHz Figure 19 Input Timing Valua Paramatar Symbol Pin Condition Min. Max. Unit Shift Clock tWCH 300 SCLK Figure 20 ns Pulse Width tWCL 300 Shift Clock ler 200 SCLK Figure 20 ns Rise/Fall Times tct 200 Shift Clock tcYC SCLK Figure 20 1000 ns Cycle Time Shift Clock tss SCLK Figure 20 200 ns Start Time Shift Clock tHS SCLK Figure 20 1000 ns Hold Time Input Data tsu SI Figure 20 200 ns Setup Time Input Data tH SI Figure 20 50 ns Hold Time Chip Select tEC CS Figure 20 1000 ns End Time Chip Select tcre CS Figure 20 200 ns Rise/Fall Times lelc Horizontal tHSDF 1 200 HSYNC Figure 21 ns Sync Valid Time tHSDR 2 200 Not.s: 1. The rising edge of HSYNC is not counted during tHSDF period to calculate the vertical display position. 2. The rising edge of HSYNC is counted during tHSDR period to calculate the vertical display position. Output Timing Valua Paramatar Symbol Pin Condition Min. Max. Unit General 5 k!l External Output Delay tDD D02-DOO Pull-Up 600 ns Time Figure 22 FUJITSU 4-119 M888313 AC CHARACTERISTICS (Recommended operating conditions. unless otherwise noted.) (Continued) Figure 19. Clock Circuit Configurations RC-NETWORK lC·NETWORK OSCILLATOR OSCillATOR EX X EX X ~ 1 .L I 7R V c± 8313-25 Cj n l30PF 8313-26 Figure 20. Input Timing (Processor Interface) SCLK - - - ___ 1_ -- - -- __ - --G.IVee SI -- -----1- --- ---- - -_·o.2Vcc 8313-27 Figure 21. Input Timing (Television Interface) O.BVec o.2Vcc .J. O.BVCCt" I r O.2Vcc 8313-29 Figure 22. Output Timing \'----t:~D:::i. SCLK 000-002 ______________________________________J ~r~:~:~:======================= 8313-28 FUJITSU 4-120 IIB88313 PACKAGE DIMENSIONS ie·LEAD P DUAL IN.LINE TiC DIP.ieP-M02KAGE -:""c __. . . . =~=.. 1 0" - 15· ,,{::::::]~: I .756 119.201 .780 119.811 • .01510.381 .02110.541 8313-30 Dimensions In Inches (millimeters) .38219.71 .409110.41 R R HR .05011.271 TYP 8313-31 4-121 111111111111111111111111111"1"""""""' """"'"'"""" 11111111111111111111111111111111111111111111111111111111111111111 SCSI FUJITSU PROTOCOL MB87030 CONTROLLER 11111111111111111111111111111111111111111111111111111111111111111 April 1986 Edition 1.0 DESCRIPTION The MB87030 SCSI Protocol Controller (SPC) isa CMOS LSI circuit specifically designed to control a Small Computer Systems Interface (SCSI). The SPC can serve as either an Initiator or Target for the SCSI; thus, it can be used as an I/O controller or as a host adapter. To use the device in the most effective manner, it is recommended that the user be thoroughly familiar with the SCSI protocol. For detailed information in these areas, the user should requestthe "Users Guide for' MB87030 SCSI" from the nearest Sales Office of Fujitsu. The SPC is designed to control all SCSI interface signals and virtually all interface control procedures. Used as an 8- or 16-bit peripheral, the device provides high-level control for almost all SCSI configurations. To achieve optimum performance and interface flexiblity, the SPC contains an 8-byte First In First Out (FIFO) data buffer register aria a 24-bit transfer byte counter. Independent data busses for the CPU and the DMA controller plus separate inpuVoutput pins forall control signals greatly reduces the possiblityof a "busy" condition. Data transfers can be executed in either the synchronous or asynchronous mode with a maximum offset of 8-bytes. PGA-88C-A01 FEATURES • Independent data transfer bus for CPU and DMA controller • Full support for SCSI control This device contains circuitry to protect the inputs against damage due to high static voltages or electric fields, However, • Serves as either Initiator or Target device it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this high impedance circuit. • Synchronous mode transfer with a programmable offset of up to eight bytes • In synchronous mode, data transfer speed programmable at four rates • Data transfer rates of up to 4 megabytes per second • Eight-byte data buffer register • 24-bit transfer byte counter • Compatible with single-ended and/or differential alternative for SCSI • Single +5V supply • Low power dissipation • TTL-compatible I/O • 88-Pin Ceramic Repeated Quad-In-Line Package 4-122 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MB87030 PIN ASSIGNMENTS 000000000000 34 33 32 31 30 29 28 27 26 25 24 23 000000000000 35 72 71 70 69 68 67 66 65 64 63 22 00 00 00 36 73 86 85 62 21 ° 37 ° 74 ° 61 ° 20 ° 38 ° 75 ° 60 ° 19 000 000 039076087 (TOP VIEW) 0 840 59 Cr 40 77 88 83 58 17 ° 0., 70 INDEX PIN 57 0,. ° °'2°79 / ° 5.0,5 000 00 00 43 80 81 82 55 14 000000000000 44 45 46 47 48 49 50 51 52 53 54 13 0, 02 03 0,. 05 0. 07 ° 0 09 °'0°" 0,2 Pin Signal Pin Signal Pin Signal Pin Signal I/O I/O I/O I/O No. Name No. Name No. Name No. Name 1 I HIM 23 0 SOBOP 45 I Al 67 0 SOBE5 2 I/O HOBO 24 0 SOBE7 46 I A2 68 0 SOBE4 3 I/O 1 25 I SOBI7 47 I A3 69 I SOBI4 4 I/O 2 26 0 SOBE6 48 I/O 04 70 0 SOB03 5 I/O 3 27 0 SOB05 49 I/O 05 71 I SOBI2 6 I/O 4 28 I SOBI5 50 I/O 06 72 0 SOBOl 7 I/O 5 29 0 SOB04 51 I/O 07 73 0 SOBEO 8 I/O 6 30 0 SOBE3 52 I/O OP 74 I SOBIO 9 I/O 7 31 I SOBI3 53 0 INTR 75 I RST 10 110 P 32 0 SOB02 54 I 1/01 76 0 OREO 11 0 INIT 33 0 SOBE2 55 I C/OI 77 I WT 12 0 TARG 34 I SOBll 56 I SEll 78 I WTG 13 0 1/00 35 0 SOBEl 57 I MSGl 79 I/O 02 14 0 C/OO 36 0 SO BOO 58 I REOI 80 I/O 03 15 0 SElO 37 I CS 59 I RSTI 81 Power Supply VSS 16 0 MSGO 38 I ClK 60 I ACKI 82 Power Supply VOO 17 0 REOO 39 I RO 61 I BSYI 83 Power Supply VOO 18 0 RSTO 40 I RGO 62 I ANTI 84 Power Supply VSS 19 0 ACKO 41 I ORESP 63 I SOBIP 85 Power Supply VSS 20 0 BSYO 42 I/O DO 64 0 SOB07 86 Power Supply VOO 21 0 ATNO 43 I/O 01 65 0 SOB06 87 Power Supply VOO 22 0 SOBEP 44 I AD 66 I SOBI6 88 Power Supply VSS 4-123 1111111111111111111111111111111111111111111111111111 FUJITSU MB87030 1111111111111111111111111111111111111111111111111111 PIN DESCRIPTIONS Pin Number Designator Function 82,83, VDD +5V power supply 86,87 81,84, Vss Ground (OV) 85,88 38 ClK Input clock for controlling SPC internal operation and data transfer speed. 75 RST Asynchronous reset signal for clearing internal circuits of SPC. 37 CS Selection enable signal for accessing an internal register in SPC. When CS is active, the following input/output signals are valid: RO, ROG, WT, WTG, Op, A3-AO, and 07-00. 47 A3 Address input signals for selecting an internal register in SPC. 46 A2 MSB: A3, lSB: AO - 45 A1 When CS is active low, read/write is enabled and an internal register is selected by these 44 AO address inputs via data bus lines 07-00 and OF' 39 RO Input strobes used for reading out the contents of the SPC internal register and are 40 ROG effective only when CS is active low. -- When ROG is active, the contents of an internal register selected by address inputs A3-AO are placed on data bus lines 07-00 and OP. - For a data transfer cycle in the program transfer mode, the trailing edge of RO is used as a timing signal to indicate the end of data read. 77 WT Input strobe used for writing data into an SPC internal register and is only effective when CS is active low. - On the trailing edge of WT, data placed on data bus lines 07-00 and OP are loaded into an internal register selected by address inputs A3 to AO, except when all address lines are high (A3-AO = H). - For a data transfer cycle in the program transfer mode, the trailing edge of WT is used as a timing signal to indiacte a data-ready state. 78 WTG When WTG is active low, data appearing on data bus lines 07-00 and OP is output to HOB7-HOBO and HOBP if the following input conditions are satisfied: CS= 'l' A3 = A2 = A 1 = AO = 'H' HIN ='H' 51 07 Used for writing-or-reading data into-or-from an internal register in SPC. This data bus is 50 06 three-state and bidirectional. 49 05 MSB: 07 48 04 lSB:OO 80 03 Odd Parity Bit: OP 79 02 - -- When the CS and ROG inputs are active, the contents of the internal register are output to 43 01 the data bus (read operation). 42 00 52 OP In operations other than read, this data bus is kept at a high impedance level. 4-124 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB87030 PIN DESCRIPTIONS (Cont'd) Pin Number Designator Function 53 INTR Requests an interrupt to indicate completion of an SPC internal operation or the occurrence of an error. Interrupt masking is allowed except for an interrupt caused by the RSTI input (reset condition is SCSI). When an interrupt request is permitted, the INTR signal remains active until the cause of the I interrupt is cleared. I I 25 SDBI7 Used as input for the SCSI data bus. 66 SDBI6 MSB: SDBI7 28 SDBI5 LSB: SDBIO 69 SDBI4 Odd parity bit: SDBIP I 31 SDBI3 i; Parity checking for the SCSI data bus is programmable. 71 SDBI2 34 SDBI1 74 SDBIO I 63 SDBIP 64 SDB07 Used as outputs to the SCSI data bus. 65 SDB06 MSB: SDB07 27 SDB05 LSB:SDBOO 29 SDB04 Odd parity bit: SDBOP 70 SDB03 If the bus driver is an open collector device, these signals should be applied directly to the 32 SDB02 driver ci rcu it. 72 SDB01 SDBOO If the bus driver is a three-state device, these signals are used as data and the SDBE7 -SDBEO 36 SDBOP and SDBEP signals are used as drive-enable signals. 23 24 SDBE7 Used as drive enable signals (corresponding to respective bit positions) when a three state- 26 SDBE6 buffer is used for the SCSI data bus. 67 SDBE5 SDBE7-SDBEO and SDBEP correspond to SDB07-SDBOO and SDBOP, respectively. The I 68 SDBE4 relationship with respect to the SCSI bus status is shown below. 30 SDBE3 I 33 SDBE2 I~ SOBOn SDBEn 35 SDBE1 SCSI bus status 73 SDBEO (ID) (ID) (ID) (ID) 22 SDBEP Bus Free 'L' 'L' 'L' 'L' Arbitration 'H' 'L' 'H' 'L' Selection/Reselection D D 'H' 'H' Information I SPC-SCSI D D 'H' 'H' Transfer SPC-SCSI 'L' 'L' 'L' 'L' I - • (ID) indicates a bit positions corresponding to the SCSI bus device ID, and (ID) indicates the other bit position. • D denotes that valid information is sent out. 4-125 I1111111111111111111111111111I1111111111111111111 FUJITSU MB87030 1111111111111111111111111111111111111111111111111 PIN DESCRIPTIONS (Cont'd) Pin Number Designator Function 56 SEll Used for receiving SCSI control signals. The outputs of the SCSI receiver can be directly 61 BSYI connected. 58 REOI Note: Waveform distortion or any other disturbance stlOuld not occur in the REOI and ACKI 60 ACKI signals which are used as timing control signals for sequencing data transfer. 57 MSGI 55 C/OI 54 1/01 62 ATNI 59 RSTI 15 SELO Used to output SCSI control signals. The following signals become active only when SPC 20 BSYO serves as a target; otherwise, these signals are always low: REOO, MSGO, C/OO and 1/00. 17 REOO The following signals become active only when SPC serves as an initiator; otherwise, these 19 ACKO signals are always low: ACKO and ATNO. 16 MSGO 14 C/OO 13 1/00 21 ATNO 18 RSTO 11 INIT Used to indicate operating state of SPC. These signals are also available as control signals 12 TARG for the SCSI driverlreceiver circuits. Initiator Target Status 'L' 'L' SPC is not connected to SCSI. 'L' 'H' SPC is executing reselection phase or is operating as a target. 'H' 'L' SPC is executing selection phase or is operating as an initiator. 76 OREO When executing a data transfer cycle in OMA mode, the DREO signal is used to indicate a request for data transfer between SPC and the external buffer memory. In OMA mode, data is routed as shown below: Output operation External buffer memory I HOB7 to HOBO, and HOBP pins I SPC internal data buffer register (8 bytes) I SOB07 to SOBOO and SOBOP pins I (SCSI) 4-126 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MB87030 PIN DESCRIPTIONS (Conl'd) Pin Number Designator Function 76 OREQ Input operation (conl'd) (SCSI) j SOBI7 to SOBIO and SOBIP pins j SPC internal data buffer register (8 bytes) j HOB7 to HOBO, and HOBP pins j External buffer memory In an output operation, OREQ becomes active to request a data transfer from the external buffer memory when the SPC internal data buffer register has free space available. In an input operation, it becomes active to request a data transfer to the external buffer memory when the SPC internal buffer memory contains valid data. I I 41 ORESP Used as a response signal to the above data transfer request signal (OREQ) in OMA mode during a data transfer cycle. Pin ORESP must be refreshed with an applied pulse after each byte transferred. In an output operation, SPC uses the trailing edge of the ORESP signal for sampling data on the HOB7-HOBO and HOBP bus lines. In an input operation, SPC holds data to be transferred onto HOB7-HOBO and HOBP bus lines until the trailing edge of the ORESP signal. I 9 HOB7 Three-state, bidirectional data bus for transferring data to-or-from the external buffer 8 HOB6 memory in OMA mode. 7 HOB5 MSB: HOB7 6 HOB4 LSB: HOBO 5 HOB3 Odd parity bit: HOBP 4 HOB2 The data transmission direction depends on the HIN input signal. 3 HOB1 HIN HDBn Operation 2 HOBO 'L' Input mode Output I~ 10 HOBP 'H' Output mode Input 1 HIN This signal indicates transmission direction along data bus lines HOB7-HOBO and HOBP in OMA transfer mode. To be executed, transmission direction must be properly coordinated with internal operation of the SPC. When the HIN signal is Low, data bus lines HOB7-HOBO and HOBP are put in the high impedance state (input mode). When the HIN signal is High, they are switched to the output mode. 4·127 --------~~----~ .. 1111111111111111111111111111111111111111111111111111 FUJiTSU MB87030 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImlili ABSOLUTE MAXIMUM RATINGS1 Values Notes: Rating Symbol Min Max Unit 1. Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are Supply Voltage Voo VSS2 - 0.5 7.0 V exceeded. Functional operation should be restricted to the conditions as Input Voltage VI VSS2 - 0.5 VOD + 0.5 V detailed in the operational sections of the SCSI User's Guide. Absolute Output Voltage Vo VSS2 - 0.5 Voo + 0.5 V maximum rating conditions for extended periods may affect device reliability. Storage Temperature (Ceramic) Tstg -65 +150 °C 2. Vss = OV. Temperature Under Bias Tbias -40 +125 °C 3. Not more than one output may be (Ceramic) shorted at a time for a maximum Output Current3 -40 +70 mA duration of one second. los RECOMMENDED OPERATING CONDITIONS Values Parameter Symbol Min Typ Max Unit Supply Voltage VOD 4.75 5.0 5.25 V Input High Voltage VIH 2.2 V Input Low Voltage VIL 0.8 V Operating Temperature TA 0 70 °C DC CHARACTERISTICS (Recommended Operating Conditions unless otherwise noted) Values Parameter Symbol Condition Min Typ Max Unit Power Supply Current loos Steady state' 100 Il A Power Dissipation PO 300 mW Output High Voltage VOH 10H = -O.4mA 4.2 Voo V Output Low Voltage VOL 10L = 3.2mA Vss 0.4 V Input High Voltage VIH 2.2 V Input Low Voltage VIL 0.8 V Input Leakage Current III VI = 0 - Voo -10 10 Il A 3-state Input Leakage Current ILZ -10 10 IlA VI =0- Voo Note: 1. V1H :;: VDD • V1L = vss CAPACITANCE (TA = 25°C, Voo = VI = OV, f = 1 MHz) Values Parameter Symbol Min Typ Max Unit Input Pin Capacitance CIN 9 pF Output Pin Capacitance COUT 9 pF 110 Pin Capacitance CliO 11 pF 4-128 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII FUJITSU II1III111111111111111111111111111111111111111111111I MB87030 PACKAGE DIMENSIONS 88-Lead Ceramic (Metal Seal) Repeated Quad In-Line Package PGA-88C-A01 .015(038) 1"1".'" D"10 0 0 /""''' 0 ",>Yeo" 0 0 0 0 0 0 0 0 1 000000 o o 0 0 0 00 o ° 1.100(27.94) PIN 1 ° 0 ° I REII F INDEX\O : : =2__' INDEX ~ 0 0 0 0 000000000000 • 0 0 0 0 0 0 0 0 0 0 0 1.185(30.10) .035(0.89) .090(2.29) 1.215(30.86) .060(1.52) .110(2.79) .250(6.35) .120(3.05) MAX .150(3.81) Dimensions in inches (millimeters) 4-129 Advanced Products FUJITSU October 1986 • MBL8041A/H/E/N Edition 2.0 NMOS Universal Peripheral Interface 8-Bit Microcomputer Description The MBL8041A Universal Peripheral Interface is a single-chip 8- bit microcomputer based on a 8-bit parallel microprocessor chip. I /~ - The MBL8041A is fa~l{!cated with an N-channel silicongate MOS process. The MBL8041A has a lKx8 bit ROM for program -If,~~ memory, a 64x8 bit RAM for data memory, 18 I/O ports, an 8-bit timer/counter and clock generator on the chip, and is powered by single +5V supply. The MBL8041A is designed to operate as a slave Processor, lWr which receives commands and data from the master processor. controls peripheral devices and transfers input data from -:- f- Q~ia~~ .-:- c- peripheral devices to the master processor. And by using the MBL8041A an intelligent peripheral controller can be designed freely. Features • Processor: • 8-Billnterval Timer/Event 8-bit parallel processing Counter -- =IW • Register: • Low-power Standby Opera- One 8-bit Status Register tion Capability (for Interface with master processor) • Power-on Reset Capability (with External Capacitor) - l\No 8-bit Data Bus BlItter • Instruction Set: Registers (for Input/Output) 93 Instructions (217 Instruc- • Memory: • tion Codes) lKx8 bitRdM (for program memory) I-byte Instruction (about 70%), -:-- - tl.'!.stl~..ol~ft_- :-- r - 64x8 bit RAM (for data 2-byte Instruction (about memory) 30%) • I/O: - I-cycle or 2-cycle instruc- One 8-bit Bidirectional Data tion (1 cycle; 2.5/ls at Bus 6MHz XTAL) l\No 8-bit Bidirectional I/O • Technology: Ports N-channel Silicon-gate E/D Two Test Inputs MOS Process • Clock Source: • Two Package Options: Clock Generator (with Exter- Standard 40-pin nal Crystal Resonator) or Ceramic (SUffix-C) External Clock or Plastic DIP (Suffix-P) • Equivalent: Intel8041A Portions reprinted by permission of Intel Corporation, Copyright© I 986 Intel Corporation. Compilation and additional materials Copyright© 1986 by Fujitsu Limited, Tokyo, Japan, and Fujitsu Microelectronics, Inc., Santa Clara, California, U.S.A. Fujitsu Limited is a licensee of Intel Corporation and authorized to produce alternate source products. 4-130 MBL8041A/H/E/N Block Diagram SYSTEM INTERFACE PORT 1 PORT 2 1/0 EXPANDER 1 CONNECTION FLAG OUTPUT DMA TERMINAL Pin Assignment TO Vee X1 T1 X2 P27/ID\CK- ·RESET P26/0RO- ·SS P25/iBF· CS P24/0BF· EA P17- RD P16* AO P1S e WR P14* SYNC P13* DO P12* D1 P11· D2 P10· D3 Voo D' PROG DS P23· DS P22· D7 P21· Vss P20· ·These pins are internally pulled up This device contains circuitry to protect the inputs against damage due to high static voltages or elec- tric fields. However, it is advised that normal precau- tions be taken to avoid application of any voltage higher than maximum rated voltages to this high im- pedance circuit. FUJITSU 4-131 MBLS041 '''"'E'N Pin Descriptions Pin No. Name Symbol Description Test 0 To Conditional Input for Conditional Branch Input pin for the internal Clock Generator to be connected 2 Crystal 1 XTALl to one terminal of the external crystal. Also, this pin can be used as the input from an external clock source. Input pin for the internal Clock Generator to be connected to the other terminal of the external crystal. 3 Crystal 2 XTAL2 (Note: The XTAL 1 and XTAL 2 input levels are not TTL compatible). 4 Input which resets and forces the MPU to be initialized. Reset RESET (Note: This input level is not TTL compatible). 5 Single Step SS Input pin used for single step operation. 6 Chip Select CS Input pin used for the master processor to select the UPI. Input pin used for contrOlling program memory access. Holding EA External high forces all program memory fetches to reference external 7 EA Address memory. Useful for emulation and debug, and essential for testing and program verification. A Strobe input used to enable the MBL8041 A to be read contents 8 Read Strobe RD of the Data Bus Buffer register or Status register. An Address input to determine whether read/write data or read/ write commands. 9 Address "0" Ao Ao = "L" indicates data read or write. Ao = "H" indicates status read or command wr~e. Write A strobe input used to enable the MBL8041A to be written 10 WR into its Data Bus Buffer register. Strobe A clock output pin indicating the MBL8041 A instruction cycle. This 11 Sync SYNC pin Is used when a synchronization signal is required for external circuits. 12 DBo 8-bit bidirectional I/O port used to interface the MBL8041A thru Data Bus thru to the master processor. 19 DB7 20 Ground Vss Ground terminal. Lower 4 bits of the quasi-bidirectional I/O port (Port 2). 21 P20 These function as interface port with the I/O expander thru Port 2 thru (MBL8243) when an expansion I/O executes instruction. 24 P23 During single step operation upper 2 bits of the program fetch address are output on P20 and P2 1. A strobe signal output pin for an I/O expander (MBL8243) 25 Program PROG used, when performing an expansion I/O instruction. Power 26 Voo Power supply Pin (+5V) for internal RAM. Supply 27 Pl 0 Quasi-bidirectional 110 ports (Port 1). During single step thru Port 1 thru operation, the next program fetch address (Lower 8 bits) 34 P1 7 is output. 35 P24 Upper 4 bits of the quasi-bidirectional I/O port (Port 2). thru Port 2 thru These function as the flag output pins (P2 4 and P2s) and 38 P2 7 DMA pins (P2s and P2 7) according to instructions. This pin as the following functions according to instruction: 39 Test 1 Tl 1. Event Input pin for the Event Counter. 2. Condition Input pin for Conditional Branch. Power 40 Vee Power supply pin (+5V). Supply FWITSV 4-132 MBLS041 AIHIEIN System Interface The master processor and The master processor can read When DBB Is read (CS = RE = MBL8041 A are interfaced only data from the output DBB Ao = 0, WR = 1) by the master through the data bus buffer. register, and cannot read and processor, OBF is reset. IBF is check data or commands which set when the master processor MBL8041 A has 2 internal DBB the master processor has written writes in the DBB, and reset when (Data Bus Buffer) registers. It is ~elf. MBL8041 A reads the data from determined by the address line the DBB w~h IN A, DBB and strobe signal which register is When MBL8041 A writes data to instruction. accessed. the output DBB with the OUT DBB, A instruction, OBF is set. The Intemal status of the Flag 1 (F1) is set when a MBL8041A does not change even command is written (AD = 1), when the status register contents and reset when data is written is read out. (AD = 0). CS RD WR Ao Description 0 0 0 Read DBB (Output) register. 0 0 1 Read Status Register. 0 0 0 Write DBB (Input) register (Data). 0 0 Write DBB (Input) register (Command). x x x Invalid. Interface between MBLS041Aand Master Processor 1---------------------------. I OB0-7 lIalM4.A ~ • 1.. st- BUS aUFFER 0, 0, ~ D. D. IIASTER PROCESSOR 0, 0, ST, ~ D. D. ST. f--;- D. D. F, I+-- 0, 0, F. t-- 0, IBF 0, i- Da D. OBF "- DBa DBa STATUS (INPUT) (OUTPUT) 1 I I -i; cs AD WR ADDRESS CONTROL LOGIC Ao L_____----------------------I FUJITSU 4-133 iliiii..ii04i A;n;E;N Resident Data Memory Map (RAM) Address (Hex) o Ro Register 0 R1 Register 1 2 R2 Register 2 3 R3 Register 3 Register Bank 0 4 R4 Register 4 5 Rs Register 5 6 R6 Register 6 7 R7 Register 7 8 9 PCl T Stack Register (16 Bytes) C AC FO BS PC H (8 Level Stack) 16 17 Ro Register 0 _1 18 19 R1 Register 1 1A R2 Register 2 1B R3 Register 3 Register Bank 1 1C R4 Register 4 10 Rs Register 5 1E R6 Register 6 1F R7 Register 7 20 21 22 Working Area (32 Bytes) 3D 3E 3F Status Register (PSW) 7 6 5 4 3 2 o The Status Register is an 8-bit register configured as shown in C I AC I Fo I BS 1 SP2 I SP1 I SPa the following figure. The upper four bits are used for flags to indicate the status of the MPU and when a sub-routine call or .. Flags .- (Unused ~Stack Painter_I Bit an interrupt occurs, the contents of the program counter is transferred to one of the 8 register pairs of the Stack Register as determined by the lower three bits of the Status Register. The remaining one bit is an unused bit. FUJITSU 4-134 MBL8041A/H/E/N Flags SP (Stack Pointer): In the When the interrupt processing C (Carry): When an overflow diagram below, "SP" indicates a begins, the Status and Program occurs in the Accumulator, this bit Stag.k Pointer address to be used Counter contents are first stored is set to "1 ". for the next sub-routine call or in the stack. Then, operation interrupt. "SP" is given as an 8- jumps to Address 3 in the case of bit code from the lower three bits the IBF interrupt and Address 7 in of Status Register as follows: the case of a timer interrupt. AC (Auxiliary Carry): When an overflow occurs from Bit 3 to Bit 4 After the interrupt has been in the accumulator, this bit is set SP = 00001SP2 SP, SPO processed by a user program to"l". ~egister and RETR (Return and 'L;:status Restore Status) instruction has Bits 0 to 2. been executed, the Status and Fo(User Flag): This flag can be Program Counter contents controlled as a user flag by the PC n (Program Counter): "PC n" stored in the stack are proper instruction. indicates the content of the n-th restored, the interrupt flag is bit in the Program Counter. reset and the system is ready BS (Bank select): This flag can to accept the next interrupt be controlled to select a request. Register Bank by an instruction. When BS = 0, the Interrupt Processing (IBF Interrupt, Timer/Counter A Timer/Counter interrupt Register Bank 0 is selected. Interrupt) request occurs when the When BS = 1, the Register Bank 1 is selected. There are two types of Timer/Counter overflow flag is interrupt: the IBF interrupt and set due to Timer/Counter overflow. Stack Register (8 Level Timer/Counter interrupt. Capability) If an interrupt occurs when the However, si nce the The Stack Register has 16 bytes Timer/Counter interrupt system is in "interrupt enable" of memory area in the built-in request is masked by the IBF status, the interrupt flag is set RAM. The stack Register consists interrupt request, IBF interrupt as soon as the current of eight levels, i.e. a Stack level instruction is completed. has first priority. consists of two bytes as shown below. The Timer/Counter interrupt is enabled after the IBF interrupt has been executed and the system has become ready to receive the next interrupt request. MSB LSB SP-3 SP - 2 PC7-4 PC3-0 SP - 1 PSW7-4 PC9-8 } A Set of 2 Bytes This level will be used at the SP I- next sub-routine call or interrupt. SP + 1 Stack Position t SP = 00001SP 2SP, SP O RAM Address FUJITSU 4-135 MBL8041A/H/E/N Operation Flow Chart Interrupt Flow Chart NO FUJITSU 4-136 MBLB041 A/M/E/N Instruction Set Summary Accumulator OP Flag -------- Oparation Mnemonic Coda Byte Cycle C AC Note Add register to A ADDA,Rr 6X (A) +- (A) + (Rr) Add data memory to A ADDA,@RO 60 (A) +- (A) + «RO» ADDA,@RI 61 (A) +- (A)+«RI» Add immediate to A ADDA,#data 03 (A) +- (A) + data Add register to A with Carry ADDCA,Rr 7X (A) +- (A) + (Rr) + (C) Add data memory 70 (A) +- (A) + «RO» + (C) to A with Carry ADDCA,@RO ADDCA,@RI 71 (A) +- (A)+«RI»+(C) Add immediate to A with ADDC A,#data 13 (A) +- (A) + data + (C) Carry AND register to A ANLA,Rr 5X (A) +- (A) AND (Rr) AND data memory to A ANLA,@RO 50 (A) +- (A) AND «RO» ANLA,@RI 51 (A) +- (A) AND «RI» AND immediate to A ANLA,#data 53 (A) +- (A) AND data OR register to A ORLA,Rr 4X (A) +- (A) OR (Rr) OR data memory to A ORLA,@RO 40 (A) +- (A) OR «RO» ORLA,@RI 41 (A) +- (A) OR «RI» OR immediate to A ORLA,#data 43 (A) +- (A) OR data Exclusive OR register to A XRLA,Rr OX (A) +- (A) XOR (Rr) Exclusive OR data memory XRLA,@RO DO (A) +- (A) XOR «RO» loA XRLA,@RI 01 (A) +- (A) XOR «RI» Exclusive OR immediate to A XRLA,#data 03 (A) ___ (A) XOR data Increment A INCA 17 (A)+-(A) + I Decrement A DEC A 07 (A)+-(A) - I Clear A CLRA 27 (A) +-0 Complement A CPLA 37 (A) <-(A) Decimal Adjust A DAA 57 Note (I) Swap nibbles of A SWAP A 47 (A7-4) ;:!(A3-0) 7 Rotate A Left RLA E7 !:ii 13: I IY ~ Rotate A Left through Carry RLbA F7 1+1 IY Rotate A Right RRA 77 7 I:E I Ij! Rotate A Right through Carry RRCA 67 ffi c 1+1 I'\J Note 1: The accumulator value is adjusted to form BCD digits following the binary addition of BCD numbers. Operation Code X: Table I Flag·: This flag is set or reset in the state after executed instruction. Input/Output OP Flag Operation Mnemonic Code Byte Cycle C AC Note Input port to A IN API 09 (A) <-(PI) INA,P2 OA (A) +-(P2) Output A to port OUTLPI,A 39 (PI)+-(A) OUTLP2,A 3A (P2) +- (A) AND immediate to port ANLPI,#data 99 (PI) +- (PI) AND data ANLP2,*data 9A (P2) <- (P2) AND data OR immediate to port ORLPI,#data 89 (PI) +- (PI) OR data ORL P2,#data 8A (P2) +- (P2) OR data Input DBB to A clear IBF INA,DBB 22 (A) <- (DBB), (IBF) +- 0 Output A to DBB, set OBF OUTDBB,A 02 (DBB) +- (A), (OBF) +- I A7-4 to bits 7-4 of Status MOVSTS,A 90 (STS7-4) +- (A7-4) Input Expander port to A MOVDA,Pp OX (A3-0) <- (Pp), (A7-4) +-0 Output A to Expander port MOVDPp,A 3X (Pp) +- (A3 - 0) AND A to Expander port ANLD Pp,A 9X (Pp) +- (Pp) AND (A3 - 0) OR A to Expander port ORLDPp,A 8X (Pp) +- (Pp) OR (A3 - 0) Operation Code X: Table 2 FUJITSU 4-137 M8L8041 A/H/E/N Instruction Set Summary (Continued) Data Moves OP Fla. - ----- Operation Mnemonic Code 8,te C,ele C AC Note Move register to A MOVA.Rr FX (A) -(Rr) Move data memory to A MOVA.oRO FO (A) - (AO)) MOVA.OAt Fl (A) -«Rt» Move immediate to A MOVA.#data 23 (A) - data Move A to reg ister MOVRr,A AX (Rr) - (A) Move A to data memory MOVORO,A AO «RO)) -(A) MOVoRt,A Al «Rl)I-(A) Move immediate to register MOV Ar.#data BX (Rr) - data Move immediate MOVORO. BO «RO)) - data to data memory #data MOV"Rt. Bl «Rl)) - data #data Move PSWto A MOVA.PSW C7 (A) - (PSW) Move A to PSW MOVPSW,A 07 (PSW) - (A) Exchange A and register XCHA.Rr 2X (A) ::;(Rr) Exchange A and data memo!" XCHA.oRO 20 (A)::; «AO)) XCHA.oRt 21 (A) ::;«At» Exchange digit of A XCHDA.oRO 30 (A3-0) ::; «AO)3-0) and data memory XCHDA.oRt 31 (A3-0) ::; «At )3-0) Move to A from current page MOVPA.oA A3 (A) - «A» within page Move to A from Page 3 MOVP3A.oA E3 (A) - «A)) within page 3 Operation Code X: Table 1 Flag": This flag is set or reset in the state after executed instruction. Timer/Counter OP Fla. Operlltlon Mnemonic Code 8,te C,ete C AC Note Reed Timer/Counter MOVA.T 42 (A)-(T) Load Timer/Counter MOVT, A 62 (T) -(A) Start Timer STATT 55 Start Counter STAT CNT 45 Slop Timer/Counter STOP TCNT 65 Enable Timer/ EN TCNTI 25 Counlllr Interrupt D/oable Timer/ DIS TCNT! 35 Counter Interrupt Control OP Fta. Operation Mnemonic Code 8,te C,ete C AC Note Enable DMA Handshake Lines EN DMA E5 Enable IBF Interrupt ENI 05 Disable IBF Interrupt DISI 15 Enable Master Interrupts EN FLAGS F5 Select register bank 0 SEL RBO C5 (8S) - 0 Select register bank 1 SEL ABI 05 (8S) _1 No Operation NOP 00 FU.JJTSU 4-138 ~~--~.. - . . . ~------------~-------------- MBL8041A/H/E/N Instruction Set Summary (Continued) Register OP Flag ------- Operation Mnemonic Code Byte Cycle C AC Note Increment register INC R, IX (R,) - (A,) + 1 Increment data memory INC@lRO 10 ((RO)) - (RO)) +1 INC@Rl 11 ((Rl)) - ((Rl)) + 1 Decrement register DEC R, CX (R,) - (A,) 1 Ope,ation Code X: Table 1 Subroutine OP Flag ------- Operation Mnemonic Code Byte Cycle C AC Note Jump to Subroutine CALL add' %4 Note (2) Return RET 83 Note (3) Return and restore status AETR 93 Note (4) Operation Code %: Table 3 Flag·: This flag is set or reset in the state after executed instruction. Flags OP Flag Operation Mnemonic Code Byte Cycle C AC Note Clear Carry CLR C 97 Z (C) -0 Complement Carry CPL C A7 CP (c)-(e) Clea, Flag a CLR Fa 85 (Fa) -0 Complement Flag a CPL Fa 95 (Fa) - (Fa) Clea, Flag 1 CLA Fl A5 (Fl) -0 Complement Flag 1 CPL Fl B5 (Fl) - (Fi) Flag Z: Aeset CP: Invert Branch OP Flag Operation IInemonic Code Byte Cycle C AC Note Jump unconditional JMP add, %4 Unconditional Branch Unconditional Branch Jump indirect JMPP@A B3 Note (5) Decrement register and jump DJNZ Rr, addr EX 2 (R,) f a Note (6) Jump on Carry = 1 JC add' F6 (C) =1 Jump on Carry =0 JNC add, E6 (C) = a Jump on A Zero JZ add, C6 (A) = a Jump on A not Zero JNZ add, 96 2 (A) f a Jump on TO = 1 JTO add, 36 2 (TO) = 1 Jump on TO = a JNTO add' 26 (TO) ~ a Jump on T1 = 1 JTl add, 56 (Tl) = 1 Jump on Tl = a JNTl add, 46 (Tl) = a Jump on Fa = 1 JFO add, B6 (Fa) = 1 Jump on F1 =1 JFl add, 76 (Fl) ~ 1 Jump on Timer Flag =1, JTF add, 16 (TF) = 1 Clear Flag Jump on I SF Flag = a JNIBF add, D6 (IBF) =a Jump on OBF Flag = 1 JOBF add, 86 (OBF) = 1 Jump on Accumulator Bit JBb add, %2 (Ab) = 1 Ope,ation Code %: Table 3 Note 3: AET Note 5: JMMP @ X: Table 1 (SP) - (SP) -1 (PC7-0) - ((A)) (PC) - ((SP)) Note 2: Call addr Note 6: DJNZ A,. add' ((SP)) .~ (PC), (PSW7-4) Note 4: AETA (Rr)-(Ar)-1 (SP) - (SP) + 1 (SP) - (SP) - 1 if (A,) fa (PC7---Q) - addr (PC9-B) - AH (PC) - ((SP)) a if (Ar) = Execute next inst,uction (PC7-0) - AL (PSW7-4) - ((SP)) FUJITSU 4·139 Instruction Set Summary (Continued) O.P. Code Of Register Access (Table 1) Mnemonic Rr RO Ri R2 R3 R4 RS RS R7 ADD A.Rr 63 69 6A 6B 6C 60 6E 6F bit AOOC A.Rr 78 79 7A 7B 7C 70 7E 7F 7 6 5 4 3 2 a ANL A.Rr 58 59 5A 5B 5C 50 5E 5F L-- Ir2~ DEC Rr C8 C9 CA CB CC CD CE CF OJNZ Rr. addr E8 E9 EA EB EC ED EE EF INC Rr 18 19 1A 1B 1C 10 1E 1F MOV A.Rr F8 F9 FA FB FC FO FE FF MOV Rr.A A8 A9 AA AB AC AD AE AF MOV Rr,#data B8 B9 BA BB BC BO BE BF ORL A. Rr 48 49 4A 4B 4C 40 4E 4F XCH A.Rr 28 29 2A 2B 2C 20 2E 2F XRL A.Rr 08 09 OA DB DC DO DE OF O.P.Code Of Expander Port Access (Table 2) Mnemonic PP P4 PS PS P7 ANLO Pp.A 9C 90 9E 9F bit MOVO A. Pp OC 00 OE OF 7 6 5 4 3 2 1 a MOVO Pp. A 3C 3D 3E 3F Ji1liQJ ORLO p p. A 8C 80 8E 8F O.P Code of JMp, CALL. JBb (Table 3) First Byte Second Byte bit bit 7 6 5 4 3 2 1 a 7 6 5 4 3 2 a JMP 10 I AH 10 o 11 I 0 I 0 I I AL I CALL I 0 I AH 11 a 11 I a I a I JBb BQ 11 I 0 I 0 11 I0 I AH; Add ress Ag. As A L ; Add ress A7 to Ao Bb; b-th Bit on Accumulator FUJITSU 4-140 MBL8041A/H/E/N Instruction Cod.s l F 0 1 2 3 4 5 6 7 8 9 A B C 0 E H OUT ADD JMP EN DEC IN IN MOVD MOVD MOVD MaVD 0 NOP A,_ 1 A A,P2 A,P1 DBBA 0" A,Pl A,P4 A.P5 A,PO INC INC JBO ADDC CALL DIS JTF INC INC INC INC INC INC INC INC INC 1 «(IIRQ @lAl addr A,_ 0" 1 addr A RO Rl R2 R3 R' R5 R6 R7 XCH XCH IN MOV JMP EN JNTO ClR XCH XCH XCH XCH XCH XCH XCH XCH 2 A,RO A,Rl A,ORO A,ORl A,DBB A,_ 1 " TeNTl addr A A.A2 A.RS A.R4 A.RS A,R6 A,R7 XCHD XCHD JBl CALL DIS JTO CPl OUTl OUTl MOVD MOVO MOVD MOVD 3 A,ORO A,ORl addr 1 " TeNT1 addr A Pl,A P2A P4A P5A PO,A P1A -.... ORl • ORl A,ORO A,eRl MOV A,T ORl A,_ JMP 2" STRT CNT JNTl addr SWAP A ORl A,RO ORl A.A1 ORl A,R2 ORl A,AS ORl A,R4 ORl A,RS ORl A,RS ORl A,A7 ANl ANl JB2 ANl CALL STAT JTl DA ANl ANl ANl ANl ANl ANl ANl ANl 5 A,_ A,RO A,ORO A.• Al addr 2" T addr A A,Rl A,R2 A,R3 A,R4 A.RS A,AB A.R7 ADD AOD MOV JMP STOP RRC ADD ADD ADD AOD ADD ADD ADD ADD 6 A.OR1 A,AD A,AS A.eRO TA 3" TeNT A A.R' A.R2 A.Ra A.R. A,AS A,R7 ":J~~-- - ADOC AOOC JB3 CALL JFl ADOC ADOC ADOC ADOC ADOC AODC ADDC 7 A,ORO A,ORl addr 3" addr A.A1 A,R2 A,R3 A,R4 A,R5 A.RS A,R7 -- ClR JOBF ORl ORl ORUD ORlD ORlD DRLO 8 RET FO addr Pl,. P2,# P4.A PS,A PO,A P1,A MOV JB. CPl JNZ ClR ANl ANl ANlD ANUD ANUD ANLD 9 RETR addr P2,_ STS,A addr FO C Pl," P'A PSA POA P1,A MOV MOV MOVP CLR, CPl MOV MOV MOV MOV MOV MOV MOV MOV A ORO,A OR1.A A,OA Fl C RM RIA R2,A R3A R4,A RO,A AB,A RM MOV MOV JBS JMPP CPl JFO MOV MOV MOV MOV MOV MOV MOV MOV B Fl R2,_ ORO,# • Ri,1I addr @A addr RO,. Rl," AS,# R4,. RS .• AB, • Fl7,# SEl JZ MOV DEC DEC DEC DEC DEC OEC DEC DEC C A.PSW RS R6 R7 RBO addr RO R' R2 R3 R' XRl XRl JB6 XRl SEl JNIBF MOV XRl XRl XRl XRl XRl XRl XRl XRl 0 A.ORO A.OR1 addr A,' RBI addr PSW.A A.RO A.R1 A.R2 A.R3 A.R3 A,R5 A.R8 A,R7 MOVP3 EN JNC Rl DJNZ DJNZ DJNZ DJNZ DJNZ DJNZ DJNZ DJNZ E A,OA R1,addr' R2,addr- R3,addr R4.addr R8,addr R7,addr DMA addr A RO_ RS.addr MOV MOV JB7 EN JC RlC MOV MOV MOV MOV MOV MOV MOV MOV F A,R2 A,R3 A,R4 A,R6 A,ORO A.ORI addr FLAGS addr A A,RO A,R1 A,R5 A.R7 #: Immediate data D 1 Byte, 1 Cycle Instruction D 1 Byte, 2 Cycle Instruction D 2 Byte, 2 Cycle Instruction FUJITSU 4·141 MBL8041 A/It/E/N Absolute Maximum Ratings Parameter Symbol Value Unit Supply Voltage Vee, VDD -0.3 to +7.0 V Input Voltage -0.3 to +7.0 V Operating Temperature TA 0 to +70 °C Storage Temperature Tstg -55 to +150 °C Power Dissipation PD 1.5 W . Note: Permanent device damage may occur if the above Absolute Maximum Ratings are exceeded, Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating condttions for extended periods may affect device reliability. Recommended Operating Conditions Parameter Symbol Value Unit Vee,VDD +5.0 ±10% V Supply Voltage Vss 0 V Operating Temperature o to +70 °C DC Characteristics (TA = DOC to +70°C, Vee = VDD Test Value =5.0V ± 10%, Vss = OV) Parameter Symbol Conditions Min. Max. Unit All Except_ _~ VtL -0.3 0.8 V Input Low Voltage XTAL 1, 2, RESET XTAL1,2, RESET VtL1 -0.3 0.6 V All Except_ _~ VIH 2.0 Vee V Input High Voltage XTAL1, 2, RESET XTAL 1,2, RESET VIH1 3.8 Vee V DBo to DB7 VOL IOL =2.0mA 0.45 V Output Low Voltage P10-P17, P20-P27 VOL1 10L =1.6mA 0.45 V SYNC PROG VOL2 10L =1.0mA 0.45 V DBo to DB7 V OH 10H =-4001lA 2.4 Output High Voltage All other outputs V OH1 10H =-5OIlA 2.4 Input Leakage To, T 1, RD, WR, CS, IlL VSS:O;VIN:O;Vee ±10 IlA Current A o, EA Output Leakage DBo to DB7 Vss+0.45V:O; 10L ±10 IlA Current (High Z State) VIN~Vee P1 0 to P1 7 III VIL =0.8V 0.5 mA Input Low Current P2 0 to P2 7 RESET, SS IU1 V IL =O.8V 0.2 mA VDD Supply laD 15 rnA Current Supply Current lee + 125 rnA IDD FUJITSU 4-142 MBL8041 A/H/E/N AC Characteristics (TA = A' C to +70' C, Vcc = VDO Data Bus Buller Register Read (Refer to the Fig, 1) = 5.0V ± 10%, Vss = OV) Test Value Parameter Symbol Conditions Min. Max. Unit CS, Ao Setup Time (to RD) 0 ns CS, Ao Hold Time (from RD) 0 ns RD Pulse Width 250 ns Data Delay Time (from CS, Ao) C L = 150pF 225 ns Data Delay Time (from RD) C L = 150pF 225 ns Data Floating Time (from RD) 100 ns Recovery Time 300 ns MBL8041AN 2.5 15.0 J.ls Cycle Time ~M~B~L~8~0~4~IA~E _______ tCY 1.875 15.0 J.ls MBL8041AH 1.36 15.0 J.ls "tCY =2.50j.ls at 6MHz XTAL IN version) ""tCY = I.S75j.ls at SMHz XTAL IE version) """tCY = 136j.ls at 11 MHz XTAL IH version) Data Bus Buller Register Write (Refer to the Fig. 2) Test Value Parameter Symbol Conditions Min. Max. Unit CS, Ao Setup Time (to WR) tAW 0 ns CS, Ao Hold Time (to WR) tWA 0 ns WR Pulse Width tww 250 ns Data Setup Time (to WR) tow 150 ns Data Hold Time (to WR) two 0 ns Port 2 (Refer to the Fig. 3)* MBL8041 AN MBL8041 AE MBL8041 AH Parameter Symbol Min. Max. Min. Max. Min. Max. Unit Port Control Setup before Falling Edge of PROG Time tcp 100 105 110 ns (to PROG) Port Control Hold after Falling Edge of PROG Ti(T1e (from PROG) tpc 60 80 100 ns III Output Data Setup Time top 200 210 250 ns (to PROG) Output Data Hold Time tpo 20 45 65 ns (fromPROG) Input Data Hold Time tpF 0 150 0 150 0 150 ns (from PROG) PROG Time P2 Input tpR 650 700 810 ns Must be Valid PROG Pulse Width tpp 700 1150 1200 ns *at 6MHz XTAL for N version at 8 MHz XTAL for Eversion at 11 MHz XTAL for H version. FUJITSU 4-143 MBLa041 A/H/E/N AC Characteristics (Continued) DMA Characteristics (Refer to the Fig. 4) Test Value Parameter Symbol Conditions Min. Max. Unit DACK Setup Time (to RD. WR) t ACC 0 ns DACK Hold Time (from RD,wR) t CAC 0 ns Input Data Delay Time (from DACK) tACO C L c 150pF 225 ns DRO Clear Time (from RD, WR) t CRO 200 ns AC Test Conditions V'L c O.BV (All except )(TAL 1,2, RESET) c O.6V (XTAL 1, 2, RESET) V,H c 2,OV (All except )(TAL 1,2, RESET) o 3.BV (XTAL 1,2, RESET) VOL °0.45V VOH c 2.4V Output Load DO-D7 . C L 150pF C All other outputs: C L c BOpF Timing Diagram Figure 1. Data Bus Buffer (DBB) Read Operation Cs,A" ) I( (Address) tR' _IA-\ • IRR ~I _IRA+ I 1 ..lI '1\ r- ~r------~-L-'D-O-U-T-PU-T-D-~-A----~---ip~________________ IRO I-IOF _ lAD 090-7 (Output) Figure 2. Data Bus Buffer (DBB) Write Operation a,AO (Address) :::JL,'..__ r-J IWW _ _ _"I DBc}-7 (Input) FUJITSU 4-144 MBLB041A/H/E/N Timing Diagram (Continued) Figure 3. Port 2 (Lower 4 Bits) Operation in Connection with 1/0 Expander SYNC _ _---II \~- ____--~I .1 I.~ lop "1..-t PO +- P2... , J OUTPUT 1/0 DATA ) PORT CONTROL I OUTPUT DATA K- I IpA J I ~IPF_ l'NPUT (CONNECTED WI PROG I/OCATA TH 1/0 EXPANDER _ _ _ _ _ _ _ _ _ _ _... i PORT CONTROL _ICp _ ..-tpC"-' K. t-~o_-----Ipp,-----__o. INPUT STATE A INPUT DATA ~ _ ..._------- "" INPUT STATE Figure 4. DMA Operation 080-7 ORO Oscillation Circuits Crystal Oscillator External Clock Drive WBL8041A 5V WDL8041A 1 to 121.tHz 2 r---t----1 XTAL1 Externa.l Clock· >o--+------t XTAL1 r - - -....-~ XTAL2 ">0-.....--1 XTAL2 20 P] ; • Both high and low times should be more than 35% of the CYCle time, and rise and fall times should be less than *Including capacitances 20ns. FUJITSU 4-145 - . __. _ - - - - - - - - - - - - MBL8041 A/H/E/N Package Dimensions Dimensions in inches 40-Lead Ceramic (millimeters) (Metal Seal) Dual In-Line Package (Case No.: DIP-40C-A01) 0" to 9" }. "::.i:; ~ ~ ~ ~ [::::I::::::]J:kI~:1 L _ 1.98DlSO.29} 2.020(51.31 ) I ~lmfflfflffl ~~.'_.r.T:::,::D:}MAX ,090(2.29) .110(2.79) i t + - 1.150(3.81) j ,036(0.91) .055 1.4 r ~I ,015(0.38) .02310.58) I ~~~-(1.~;) .060(1.53) 1.900(48.26)REF ----1 @ 1986 FUJITSU LIMITED 0400068-1 C DimenSions in inches (millimeters} 40-Lead Plastic Dual In-Line Package (Ca.e No.: DIP-40P-M01) 15 MAX 0 \ I '~ Y' /(EJECTQR MARK) .533(13.55) T! 553(14.05) I I 590(14.99) INDEX I .610(1~.49) j I .1 2.045(51.95) 2.071 (52.601 1ffiffiAmNfflmvVlM1Ej]::::::: ~ 1--1--.IDDI2.54}TYP. UD5DI1.27) .070(1.77) -II .DI5ID.38} .021 (0.54) .D2DID.51}MIN @1985FUJITSU UMITED040005S-1C FUJITSU 4-146 Advanced Products FUJITSU October 1986 • MBL8042H/N Edition 2.0 NMOS Universal Peripheral Interface 8-Bit Microcomputer Description The MBL8042 Universal Penpherallnterface is a single-chip 8-bit microcomputer based on an 8-bit parailel microprocessor chip. Y~~ - The MBL8042 is fabricated with an N-channel silicon-gate MOS - --~:/~ process. The MBL8042 has a 2K x 8-bit ROM for program memory, a 128 x 8-bit RAM for data memory, 18 I/O ports, an 8-bit timer/ counter and clock generator on the chip, and is powered by single +5V.supply. mIl The MBL8042 is designed to operate as a slave processor, which "" - - -D'-P::&OC, r--- - receives commands and data from the master processor, controls .A01 peripheral devices and transfers input data from peripheral devices to the master processor. By using the MBL8042 an intelligent peripheral controiler can be designed freely. Features • Processor: • 8-Bit Interval Timer/Event 8-bit parallel processing Counter .. - • Register: • Low-power Standby Opera- One 8-bit Status Register tion Capability - (lor Interface with master • Power-on Reset Capability t-- - processor) (with External Capacitor) Two 8-bit Data Bus Buffer • Instruction Set: r- Registers (lor Input/Output) 93 Instructions r- • Memory . (217 Instruction Codes) - 2K x 8 bit ROM (lor - 1-byte Instruction (about program memory) 70%), 2-byte Instruction r- r--- Plastic DIP DIP-40P-M01 r--- r--- - 128 x 8 bit RAM (lor data (about 30%) memory) - 1-cycle or 2-cycle • I/O: Instruction (1 cycle = One 8-bit Bidirectional Data 2.5ps at 6MHz XTAL) Bus • Technology: Two 8-bit Bidirectional I/O N-channel Silicon-gate E/D Ports MOS Process Two Test Inputs • Two Package Options: • Clock Source: Standard 40-pin CeramiC Clock Generator (with (Suffix-C) or Plastic DIP External Crystal Resonator) (Suffix-P) or External Clock • Equivalent: Intel 8042 Portions reprinted by permission of Intel Corporation, Copyright@1985 Intel Corporation. Compilation and additional materials Copyright © 1985 by Fujitsu Limited, Tokyo, Japan, and Fujitsu Microelectronics, Inc., Santa Clara, California, U.S.A. Fujitsu Limited is a licensee of Intel Corporation and authorized to produce alternate source products.· 4-147 -----------.--~~.~~- ... MBL8042K/N Block Diagram SYSTEM INTERFACE PORT 1 l PORT 2 itO EXPANDER CONNECTfON FLAG OUTPUT DMA TERMINAL Pin Assignment TO Vee XTAL1 T1 XTAL2 P2710AeJ<* ·RESET P26/DRO· '95 P25/iDJ:* cs P24/0BF· EA P17' Ri5 P16· AD P15· WR P14- SYNC P13- DO P12· D1 P11· D2 P10· D3 Voo DO PROG DS P23- D6 P2.. D7 P21· Vss P20· -These pins are Internally pulled up ThiS devies contains circuitry to protect the inputs against damage due to high static voltages or elec- tric fields. However, it is advised that normal precau- tions be taken to avoid application of any voltage higher than maximum rated voltages to this high im- pedance circuit. FUJITSU 4-148 MBLS042H/N Pin Descriptions Pin No. Name Symbol Description Test 0 To Conditional Input for Conditional Branch Input pin for an internal Clock Generator connected to 2 Crystal 1 XTAL 1 external crystal. Also, this pin can be used as input from an external clock source. Input pin for an internal Clock Generater connected to external crystal. 3 Crystal 2 XTAL2 (Note: The XT AL 1 and XT AL 2 input levels are not TIL compatible). Resets and forces the MPU to be initialized. 4 Reset RESET (Note: This input level is not TTL compatible). 5 Single Step SS Input pin used for single step operation. 6 Chip Select CS Input pin used for the master processor to select the UPI. Input pin used for controlling program memory access. External Holding EA high forces all program memory fetches to 7 EA Address reference external memory. Useful for emulation and debug, and essential for testing and program verification. Strobe input enables the MBLS042 to read contents of the S Read Strobe RD Data Bus Buffer register or Status register. Address input to read/write data or read/write commands. 9 Address "0" Ao Ao = "L" indicates data read or write. Ao = "H" indicates status read or command write. Write Strobe input enables the MBLS042 to write data into its 10 WR Strobe Data Buffer register. A clock output pin indicating the MBLS042 instruction cycle. 11 Sync SYNC This pin is used when a synchronization signal is required for external circuits. 12 DBo S-bit bidirectional I/O port used to interface the MBLS042 thru Data Bus thru to the master processor. 19 DB7 20 Ground Vss Ground terminal. Lower 4 bits of the quasi-bidirectional I/O port (Port 2). 21 P20 These function as interface port with the I/O expander thru Port 2 thru (MBL8243) when an expansion I/O executes instruction. 24 P23 During single step operation upper 3 bits of the program fetch address are output on P20, P21, P22. A strobe signal output pin for an I/O expander (MBL8243) 25 Program PROG ~sed, when performing an expansion I/O instruction. Power 26 Voo Power supply pin ( + 5V) for internal RAM. Supply 27 P1 0 Quasi-bidirectional I/O ports (Port 1). During single step thru Port 1 thru operation, the next program fetch address (Lower 8 bits) 34 P1 7 is output. 35 P2 4 Upper 4 bits of the quasi-bidirectional I/O port (port 2). thru Port 2 thru These function as the flag output pins (P24 and P25 ) and 38 P2 7 DMA pins (P2s and P27) according to instructions. This pin has the following functions according to instruction: 39 Test 1 T, 1. Event Input pin for the Event Counter. 2. Condition Input pin for Conditional Branch. Power 40 Vce Power supply pin ( + 5V). Supply FUJITSU 4-149 MBL8042H/N System Interface The master processor and The master processor can When DBB is read (CS = RD = MBL8042 are interfaced read only data from the output Ao = 0, WR =1) by the master th rough the data bus buffer. DBB register, and cannot read processor, OBF is reset. IBF is and check data or commands set when the master processor MBL8042 has 2 internal DBB which the master processor writes to the DBB, and reset (Data Bus Buffer) registers. has written itself. when MBL8042 reads data The register to be accessed is from the DBB with IN A, DBB determined by the address When MBL8042 writes data to instruction. line and strobe signal. the output DBB with the OUT DBB, A instruction, OBF is set. The internal status of the Flag 1 (F1) is set when a MBL8042 does not change command is written (Ao = 1), when the status register and reset when data is written contents are read out. (Ao = 0). CS RD WR Ao Description 0 0 0 Read DBB (Output) register. 0 0 1 1 Read Status Register. 0 0 0 Write DBB (Input) register (Data). 0 0 Write DBB (Input) register (Command). x x x Invalid. Interface between MBL8042 and Master Processor Ir---------------------------------------------~ MBL8042 I OB0-7 ~ ~ BUS BUFFER • D, D. t D, D, t ST, ST. MASTER -- PROCESSOR Ds Ds STs ~ D, D, ST, r--- D, D, F, - D, D, - Fo D, D, IBF Do Do OBF DBB DBB STATUS (INPUT) (OUTPUT) L=t=: cs AD WR ADDRESS CONTROL LOGIC Ao IL _____________________________________________ _ FUJITSU 4-150 MBL8042H/N R..ldent Del. Memory M.p(RAM) Address (Hex) o Ro Register 0 1 R, Register 1 2 R2 Register 2 3 R3 Register 3 Register Bank 0 4 R4 Register 4 5 Rs Register 5 6 R6 Reg i ster 6 7 R7 Register 7 8 . ~ PCl T Stack Register (16 Bytes) C AC FO BS PC H (8 Level Stack) 16 17 18 19 Ro Register 0 R, Register 1 1 1A R2 Register 2 1B R3 Register 3 Register Bank 1 1C R4 Register 4 10 Rs Register 5 1E R6 Register 6 1F R7 Register 7 20 21 22 Working Area (96 Bytes) 70 7E 7F Status Reglstar (PSW) 7 4 3 TheStatus Register is an 8-bit register configured as shown in c BS the following figure. The upper four bits are used for flags to (Unused indicate the status of the MPU Bit) and when a sub-routine call or an interrupt occurs, the . contents of the program counter is transferred to one of the 8 register pairs of the Stack Register as determined by the lower three bits of the Status Register. The remaining one bit is an unused bit. 4-151 MBL8042H'N Flags SP (Stack Pointer): In the first stored in the stack. C (Carry): When an overflow diagram below, "SP" indicates Then, operation jumps to occurs in the Accumulator, this a Stack Pointer address to be Address 3 in the case of the bit is setto "1 ". used for the next sub-routine IBF interrupt and AddreSS 7 in call or interrupt. "SP" is given the case of a timer interrupt. AC (Auxiliary Carry): When an an 8-bit code from the lower overflow occurs from Bit 3 to Bit three bits of Status Register as After the interrupt has been 4 in the accumulator, this bit is follows: processed by a user program set to "1". and RETR (Return and SP = 0OOOlSP2SP1SPa Restore Status) instruction has ~egister Fa (User Flag): This flag can been executed, the Status and 'L;:status Program Counter contents be controlled as a user flag by Bits 0 t02. the proper instruction. stored in the stack are restored, the interrupt flag is BS (Bank Select): This flag can PC (Program Counter): reset and the system is ready be controlled to select a "P~n" indicates the contents to accept the next interrupt Register Bank by an instruction. of the n-th bit in the Program request. When BS = 0, Register Bank 0 Counter. is selected. When BS = 1, the A Timer/Counter interrupt Register Bank 1 is_selected. Interrupt Processing (IBF req uest occu rs when the Interrupt, TImer/Counter Timer/Counter overflow flag is Interrupt) set due to Timer/Counter Stack Register (8 Level overflow. Capability) . There are two types of interrupt: the IBF interrupt and The Stack Register has 16 Timer/Counter interrupt. However, since the bytes of memory area in the Timer/Counter interrupt built-in RAM. The stack If an interrupt occurs when the request is masked by the IBF Register consists of eight system is in "interrupt enable" interrupt request, IBF interrupt levels, Le. a Stack level status, the interrupt flag is set has first priority. consists of two bytes as as soon as the current shown below. instruction is completed. The Timer/Counter interrupt is enabled after the IBF interrupt has been executed and the When the interrupt processing system has become relldy to begins, the Status and Program Counter contents are receive the next interrupt request. MSB LSB SP-3 SP-2 PC7-4 PC3-0 SP-1 PSW7-4 PC10-8 } A Set of 2 Bytes This level will be used at the SP I- next sub-routine call or interrupt. SP+1 Stack Position SP = 00001SP 2SP1SPO t RAM Address 4-152 MBL8042H/N Operation Flow Chart Interrupt Flow Chart NO FUJITSU 4-153 MBteo42H/N Instruction Set Summary Accumulator OP Flag Operation Mnemonic Code Byte C,cle C AC Note Add register to A ADD A, Ar 6X (AI ..... (AI+(Rrl Add data memory to A ADDA,@AO 60 (AI ..... (AI + «AO» ADDA,@Al 61 (AI"'" (AI + «RI» Add immediate to A ADD A, #data 03 (AI ..... (AI + data Add register to A with Carry AD DC A, Ar 7X (AI ..... (AI + (Rrl +C Add data memory 70 (AI ..... (AI+«RO»+C to A with Carry ADDCA,@AO ADDCA,@AI 71 (AI ..... (AI+«Rl»+C Add immediate to A with ADDC A, #data 13 2 (AI <- (AI + data + C Carry AND register to A ANL A, Ar 5X (AI - (A) AND (Ar) AND data memory to A ANLA,@AO 50 (A) - (A) AND (AO) ANLA,@AI 51 (A) - (A) AND (AI) AND immediate to A ANL A, #data 53 (A) - (A) AND dala OR register to A OAL A, Ar 4X (A) - (A) OA (Ar) OR data memory to A OALA,@AO 40 (A) - (A) OA «AO» OALA,@Al 41 (A) - (A) OA «AI» OR immediate to A OALA, #data 43 (A) - (A) OA data Exclusive OR register to A XALA, Ar DX (A) - (A) XOA (Ar) Exclusive OR data memory XALA,@AO DO (A) - (A) XOA «AO» toA XALA,@Al Dl (A) - (A) XOA «AI» Exclusive OR immediate to A XAL A, #data D3 (A) - (A) XOA data Increment A INCA 17 (A)- (A) +1 Decrement A DECA 07 (A) - (A)-1 Clear A CLAA 27 (A) -0 Complement A CPLA 37 (A) -(A) Decimal Adjust A DAA 57 Note (1) Swap nibbles of A SWAP A 47 = (A7-4) (A3-0) 7 Aotate A Left ALA E7 !:ii I!E I lOp 1\1 ~ Aotate A Left through Carry ALCA F7 HI Rotate A Aight AAA 77 I:E I IjJ Aotate A Aight through Carry AACA 67 I[j:j C I:E I lil Note 1: The accumul~i6r value is adjusted to form BCD digits fOllowing the binary addition of BCD numbers. Operation Code X: Table I Flag': This flag is set or reset in the state after executed instruction. Input/Output OP Flag Operation Mnemonic Code B,te C,cle C AC Note Input port to A IN A, PI 09 (A) <-(PI) IN A, P2 OA (A) -(P2) Output A to port OUTL PI, A 39 (PI) -(A) OUTL P2, A 3A (P2) - (A) AND immediate to port ANL PI, #data 99 (PI) - (PI) AND data ANL P2, #data 9A (P2) - (P2) AND data OR immediate to port ORL PI, #data 89 (PI) - (PI) OA data ORL P2, #data 8A (P2) - (P2) OA data Input DBB to A, clear IBF INA, DBB 22 (A) - (DBB), (IBF) - 0 Output A to DBB, set OBF OUTDBB, A 02 (DBB) - (A), (OBF) -1 A7-4 to bits 7-4 of Status MOV STS, A 90 (STS71 - 41 ..... (A7 - 41 Input Expander port to A MOVD A, Pp OX (A3-Q) - (Pp), (A7-4) - 0 Output A to Expander port MOVD Pp, A 3X (Pp) - (A3-0) AND A to Expander port ANLD Pp , A 9X (Pp) - (Pp) AND (A3-Q) OR A to Expander port ORLDPp , A 8X (Pp) - (Pp) OR (A3-Q) Operation Code X: Table 2 FUJITSU 4-154 MBLB042H/N Instruction Set Summary (Continued) Data Moves OP Flag Operation Mnemonic Coda Byta Cycle C AC Note Move register to A MOV A, Ar FX (A)~(Ar) Move data memory to A MOVA,@AO FO (A) ~((AO)) MOVA,@A1 F1 (A) ~.((A1)) Move immediate to A MOV A, #data 23 (A) ~data Move A to register MOV Ar, A AX (Ar) ~(A) Move A to data memory MOV@AO,A AO ((AO)) ~ (A) MOV@A1,A A1 ((A1)) ~(A) Move immediate to register MOV Ar, "data 6X (Ar) ~ data Move immediate MOV@AO, 60 ((AO)) ~ data to data memory #data MOV@A1, 61 ((A1)) ~ data #data Move PSW to A MOVA,PSW C7 (A) ~(PSW) Move A to PSW MOVPSW, A 07 (PSW) ~ (A) Exchange A and register XCH A, Ar 2X (A)=(Ar) Exchange A and data memory XCH A, @AO 20 (A) = ((AO)) XCHA,@A1 21 (A)=((A1)) Exchange digit of A XCHD A,@AO 30 (A3-(]) = ((AO)3-0) and data memory XCHDA,@A1 31 (A3-(]) = ((A1)3-0) Move to A from current page MOVPA,@A A3 (A) ~ ((A)) within page Move to A from Page 3 MOVP3A,@A E3 (A) ~ ((A)) within page 3 Operation Code X: Table 1 Flag·: This flag is set or reset in the state after executed instruction. Timer/Counter OP Flag Operation Mnemonic Coda Byte Cycle C AC Note Aead Timer/Counter MOVA, T 42 (A)-(T) Load Timer/Counter MOVT,A 62 (T)-(A) Start Timer STATT 55 Start Counter STRT CNT 45 Stop Timer/Counter STOP TCNT 65 Enable Timer/ EN TCNTI 25 Counter Interrupt Disable Timer/ DIS TCNTI 35 Counter Interrupt Control OP Flag Operation Mnemonic Code Byte Cycle C AC Note Enable DMA Handshake Lines EN DMA E5 Enable ISF Interrupt EN I 05 Disable I SF Interrupt DIS I 15 Enable Master Interrupts EN FLAGS F5 Select register bank 0 SEL R60 C5 (6S)- 0 Select register bank 1 SEL A61 05 (6S)-1 No Operation NOP 00 FUJITSU 4-155 MBLSC42H/N Instruction Set Summary (Continued) Register OP Flag Operation Mnemonic Code Byte Cycle C AC Note Increment register INC Rr 1X (Rr)- (Rr) + 1 Increment data memory INC@RO 10 ((RO)) - ((RO)) + 1 INC@R1 11 ((R1)) - ((R1)) + 1 Decrement register DEC Rr CX (Rr)- (Rr)-1 Operation Code X: Table 1 Subroutine OP Flag Operetlon Mnemonic Code Byte Cycle C AC Note Jump to Subroutine CALL addr %4 Note (2) Return RET 83 Note (3) Return and restore status RETR 93 Note (4) Operation Code %: Table 3 Flag·: This flag is set or reset in the state after executed instruction. Flags OP Flag Operation Mnemonic Code Byte Cycle C AC Note Clear Carry CLR C 97 Z (C) -0 Complement Carry CPL C A7 CP (C)-ie) Clear Flag 0 CLR FO 85 (FO) -0 Complement Flag 0 CPL FO 95 (FO) - (FO) Clear Flag 1 CLR F1 AS (F1) -0 Complement Flag 1 CPL F1 B5 (F1) - (Ff) Flag Z: Reset CP: Invert Branch OP Fleg Operation Mnemonic Code Byte Cycle C AC Note Jump unconditional JMPaddr %4 Unconditional Branch Unconditional Branch Jump indirect JMPP@A B3 Note (5) Decrement register and jump OJNZ Rr,addr EX 2 (Rr) '0 Note (6) Jump on Carry::: 1 JC addr F6 2 (C) = 1 Jump on Carry::: 0 JNC addr E6 (C) = 0 Jump on A Zero JZ addr C6 (A) =0 Jump on A not Zero JNZ addr 96 (A)>'O Jump on TO = 1 JTO addr 36 2 (TO) = H Jump on TO::: 0 JNTO addr 26 2 (TO) = L Jump on T1 = 1 JT1 addr 56 (T1) = H Jump on T1 :::: 0 JNT1 addr 46 (T1) = L Jump on FO = 1 JFO addr B6 (FO) = 1 Jump on F1 ::: 1 JF1 addr 76 (F1) = 1 Jump on Timer Flag = 1, JTF addr 16 (TF) = 1 Clear Flag Jump on IBF Flag = 0 JNIBF addr 06 (IBF) =0 Jump on OBF Flag = 1 JOBF addr 86 (OBF) =1 Jump on Accumulator Bit JBb addr %2 (Ab) =1 Operation Code X: Table 1 Note 3: RET Note 5: JMPP @ %: Table 3 (SP) - (SP) - 1 (PC7-0) - ((A)) (PC) - ((SP)) Note 2: Call addr Note 6: OJNZ Rr, addr ((SP)) - (PC), (PSW7-4) Note 4: RETR (Rr) - (Rr) - 1 (SP) - (SP) + 1 (SP) - (SP) - 1 if (Rr) >' 0 (PC7-0) - addr (PC10 - 8) - AH (PC) - ((SP)) if (Rr) =0 Execute next instruction (PC7-0) - AL (PSW7-4) - ((SP)) FUJITSU 4-156 MBLB042H/N Instruction Set Summary (Continued) OP Code Of Register Access (Table 1) Mnemonic Ar AO Ai A2 A3 A4 AS A6 A7 ADD A,Rr 63 69 6A 6B 6C 60 6E 6F bit AOOC A,Rr 7B 79 7A 7B 7C 7D 7E 7F 7 6 5 4 3 2 1 0 ANlA,Rr 5B 59 5A 5B 5C 50 5E 5F 1 Ir21rllrQI DEC Rr C8 C9 CA CB CC CD CE CF OJNZ Rr, addr EB E9 EA EB EC ED EE EF INC Rr 1B 19 1A 1B 1C 10 1E 1F MOVA,Rr FB F9 FA FB FC FO FE FF MOV Rr,A AB A9 AA AB AC AD AE AF MOV Rr, "'data BB B9 BA BB BC BO BE BF ORl A, Rr 4B 49 4A 4B 4C 40 4E 4F XCH A,Rr 2B 29 2A 2B 2C 20 2E 2F XRl A,Rr 08 09 OA DB DC DO DE OF OP Code Of Expander (Table 2) Mnemonic PP P4 PS P6 P7 ANlO Pp, A 9C 90 9E 9F bit MOVO A, Pp OC 00 OE OF 7 6 5 4 3 2 1 0 MOVO Pp,A 3C 3D 3E 3F 1 1 Pli Po 1 ORlO Pp, A BC BO BE BF OP Code Of JMP, CALL, JBb (Table 3) First Byte Second Byte bit bit 7 6 5 4 3 2 1 0 7654320 JMP 1 AH 10101110101 1 AL 1 CAll AH 11101110101 JBb Bb 11101011101 AH; Address A 10 ' Ag, As A L ; Address A7 to Ao Bb; b-th Bit on Accumulator FUJITSU 4-157 MBL9042H/N Instruction Codes ~ 0 1 2 3 4 S 6 7 6 9 A B C 0 E F OUT ADD JMP EN DEC IN IN MOVO MOVO MOVO MOVO 0 NOP OBB,A A, # A A, P1 A, P2 A, P4 A, P5 A, P6 A, P7 0" I INC INC JBO AOOC CAll DIS JTF INC INC INC INC INC INC INC INC INC 1 @RO @Rl addr A, # Oxx I addr A RO Rl R2 R3 R4 R5 R6 R7 XCH XCH IN MOV JMP EN JNTD CLR XCH XCH XCH XCH XCH XCH XCH XCH 2 A,@RD A,@Rl A, DaB A, # 1x x TCNTI addr A A, RD A, Rl A, R2 A, R3 A, R4 A, R5 A, R6 A, R7 XCHO XCHO JBl CAll DIS JTO CPL OUTl OUTl MOVO MOVO MOVO MOVO 3 A,@RO A,@Rl addr TCNTI Pl, A P2, A P4, A P5, A P6, A P7, A 1x x addr A ORL ORL MOV ORL JMP STRT JNT1 SWAP ORL ORL ORL ORL ORL ORL ORL ORL 4 A,@RO A,@Rl A, T A, # 2xx CNT addr A A, RD A, R1 A, R2 A, R3 A, R4 A, R5 A, R6 A, R7 ANL ANL JB2 ANL CAll STRT JTl DA ANL ANL ANL ANL ANL ANL ANL ANL 5 A,@RO A,@R1 addr A, # 2xx T addr A A, RD A, R1 A, R2 A, R3 A, R4 A, A5 A, A6 A, R7 ADD ADD MOV JMP STOP RRC ADD ADD ADD ADD ADD ADD ADD ADD 6 A,@RO A,@Rl T,A 3xx TCNT A A, RD A, R1 A, R2 A, R3 A, R4 A, R5 A, R6 A, R7 AOOC AOOC JB3 CAll JFl RR AOOC AODC ADDC ADDC ADDC ADDC AODC ADDC 7 A,@RO A,@Rl addr 3xx addr A A, RD A, Rl A, R2 A, R3 A, R4 A, R5 A. R6 A, A7 JMP CLR JOBF ORL ORL ORlD ORlO ORlO ORlO 8 RET 4xx FO addr Pl, # P2, # P4, A PS, A P6, A P7, A MOV JB4 CALL CPL JNZ CLR ANL ANL ANlD ANlO ANlO ANlD 9 RETR STS, A addr 4xx FO addr C Pl, # P2, # P4, A P5, A P6, A P7, A MOV MOV MOVP JMP CLR CPL MOV MOV MOV MOV MOV MOV MOV MOV A @RO,A @Rl,A A,@A 5xx Fl C RD, A R1, A R2, A A3, A R4, A AS, A R6, A R7, A MOV MOV JBS JMPP CAll CPL JFO MOV MOV MOV MOV MOV MOV MOV MOV B @RD,# @R1,# addr @A 5xx Fl addr RD, # R1, # R2, # R3, # R4, # RS, # R6, # A7, # JMP SEL JZ MOV DEC DEC DEC DEC DEC DEC DEC DEC C 6xx RBO addr A, PSW RO Rl R2 R3 R4 R5 R6 R7 XRL XRL JB6 XRL CAll SEL JNIBF MOV XRL XRL XRL XRL XRL XRL XRL XRL 0 A,@AD A,@Rl addr A, # 6xx RBl addr PSW,A A, RD A, A1 A, A2 A, R3 A, R4 A, R5 A, R6 A, R7 MOVP3 JMP EN JNC RL OJNZ OJNZ OJNZ OJNZ OJNZ OJNZ OJNZ OJNZ E A@A 7xx DMA addr A RD, addr Rl, addr R2, addr R3, addr R4, addr RS, addr R6, addr R7, addr MOV MOV JB7 CALL EN JC RLC MOV MOV MOV MOV MOV MOV MOV MOV F A,@RO A,@Rl addr 7xx FLAGS addr A A, RQ A, Rl A, R2 A, R3 A, R4 A, R5 A, R6 A, R7 #: Immediate data D 1 Byte, 1 Cycle Instruction D 1 Byte, 2 Cycle Instruction D 2 Byte, 2 Cycle Instruction FUJITSU 4-158 .BL8042H/N Absolute Ma.lmum Ratings Paramater S,mbol Value Unit Supply Voltage Vee, Voo -0.3 to +7.0 V Input Voltage VIN -0.3 to +7.0 V Operating Temperature TA o to +70 °C Storage Temperature Tstg -55 to +150 °C Power Dissipation Po 1.5 W Note: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational specifications of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Recommended Operating Conditions Paramater S,mbol Value Unit Vee, Voo +5.0±10% V Supply Voltage Vss 0 V Operating Temperature o to +70 °C DC Characteristics (TA = O°C to +70°C, Vee = Voo Teat Value = 5.0V ± 10%, Vss = OV) S,mboi Conditions Min. Ma•• Unit Paramater All Except___ Vil -0.3 0.8 V Input Low Voltage XTAL1, 2, RESET XTAL1,2, RESET V1Lt -0.3 O.S V All Except___ VIH 2.0 Vee V Input High Voltage XTAL 1,2, RESET XTAL1,2, RESET VIH1 3.8 Vee V DBoto DB7 VOL IOL =2.0mA 0.45 V Output Low Voltage ~~t:;17, P20-P27 VOlt IOl = 1.SmA 0.45 V PROG VOl2 IOl = 1.0mA 0.45 V DBoto DB7 VOH IOH = - 4OOIlA 2.4 Output High Voltage All other outputs VOH1 IOH = -501lA 2.4 Input Leakage To, T 1, RD, WR, CS, A o, EA III VSS~VIN~Vee ±10 IIA Current Output Leakage DBoto DB7 Vss+0.45V~ IOl ±10 IIA Current (High Z State) VIN~Vee P1 0 to P1 7 III V il = 0.8V 0.5 mA Input Low Current P2 0 to P2 7 RESET,SS ILll Vil = 0.8V 0.2 mA Voo Supply 15 mA Current 100 Supply Current lee + 125 mA 100 Fu.JI'I'BV 4·159 MBLSC42H/H AC Characteristics (TA = O°C to +70°C, Vcc = Voo Data Bus Buffer Register Read (Refer to the Fig. 1) = 5.0V ± 10%, Vss = OV) Test Value Parameter Symbol Conditions Min. Max. Unit CS, Ao Setup Time (to RD) tAR 0 ns CS, Ao Hold Time (from RD) tRA 0 ns RD Pulse Width tRR 160 ns Data Delay Time (from CS, Ao) tAO C L = 150pF 130 ns Data Delay Time (from RD) t RO C L = 150pF 130 ns Data Floating Time (from RD) tOF 85 ns MBL8042N 2.5 15.0 I1S Cycle Time tCY MBL8042H 1.25 15.0 I1S "ICY = 2.5011s al 6MHz XTAL (N version) ""ICY = 1.25/1s al 12MHz XTAL (H version) Data Bus Buffer Register Write (Refer to the Fig. 2) Test Value Parameter Symbol Conditions Min. Max. Unit CS, Ao Setup Time (to WR) tAW 0 ns CS, Ao Hold Time (from WR) tWA 0 ns WR Pulse Width tww 160 ns Data Setup Time (to WR) tow 130 ns Data Hold Time (from WR) two 0 ns Port 2 (Refer to the Fig. 3)' MBL8042N MBL8042H Parameter Symbol Min. Max. Min. Max. Unit Port C.ontrol Setup before Fa.lling Edge of PROG Time tcp 100 110 ns (to PROG) Port Control Hold after Falling Edge of PROG tpc 60 100 ns Time (from PROG) Output Data Setup Time top 200 250 ns (to PROG) Output Dat!! Hold Time tpo 20 65 ns (from PROG) Input Data Hold Time t pF 0 150 0 150 ns (from PROG) PROG Time P2 Input tpR 650 810 ns Must be Valid PROG Pulse Width tpp 700 1200 ns "al 6MHz XTAL for N version al 12MHz XTAL for H version FUJITSU 4-160 MBL8042H/N AC Characteristics (Continued) DMA Characteristics (Refer to the Fig. 4) Test Value Parameter Symbol Conditions Min. Max. Unit DACK Setup Time (to RD, WR) tACC 0 ns DACK Hold Time (from RD, WM, tCAc 0 ns Input Data Delay Time (from DACK) tACD C L = 150pF 130 ns DRO Clear Time (from RD, WR) tCRD 100 ns AC Test Conditions V'L = O.BV (All except XTAL 1, 2, RESET) =0.6V (XTAL 1,2, RESET) _ _ V,H = 2.0V (All except XTAL 1,2, RESET) = 3.BV (XTAL 1,2, RESET) VOL = 0.45V VOH = 2.4V Output Load DO-D7 : C L = 150pF All other outputs: C L =BOpF Timing Diagram Figure 1. Daia Bus Buffer (DBB) Read Operation C$,Ao :) I( (Address) ~IA-J IRR I -IRA" ~ ...It \. ~l------V-~-Ll-D-O-U-TP-U-T-D-~-'A-----~--~~~ IRD I-'DF I-'AD OB0-7 _________________ (Oulput) Figure 2. Data Bus Buffer (DBB) Write Operation C$,Ao (Address) OB0--7 (Input) FUJITSU 4-161 MBL8C42H/N Timing Diagram (Continued) Figure 3. Port 2 (Lower 4 Bits) Operation in Connection with 1/0 Expander SYNC __--J/ \~____________--J/ lop .. 1..... t PO .... .1- I/O DATA ). PORT CONTROL I[ OUTPUT DATA K P2l>-3j OUTPUT I IpR I I ~IPF_ INPUT I/O DATA PORT CONTROL K INPUT STATE K INPUT DATA K INPUT STATE .-Icp TH I/O EXPANDER (CONNECTED WI _ _ _ _ _ _ _ _ _ _ -...1=_ Ipc_ IPP. _ _ _ _ _ _) _ - PROG 1- Figure 4. DMA Operation WR DB()-7 VALID OUTPUT DATA ORO Oscillation Circuits Crystal Oscillator External Clock Driver 5V 4700 ITO II MHz 2 MBL8042 MBL8042 EXTERNAL r - -.....-~XTALI CLOCK· >o-+-----=-IXTAL1 . - - -....--=:.jXTAL2 XTAL2 20pF ;;J;. • Including stray capacitances • Both high and low times should be more than 35% of the cycle time, and rise and fall times should be less than 20 ns. FUJITSU 4·162 MBL8042H/N Package Dimensions Dimensions in inches 40-Lead Ceramic (millimeters) (Metal Seal) Dual In-Line Package (Case No.: DIP-40C-A01) C"toao ":;[; ~ ~ ~ ~ [::: :1:::: :: ]1~~:::: I I 1 980(5029) 2.020(51.31) I -"------J.'"""""~ Dimensions in @ 1986 FUJITSU LIMITED D400065-1 C inches (millimeters) 40-Lead Plastic Dual In-Line Package (Case No.: DIP-40P-M01) ' "' b;; ;; ;; Q~'~ ~~ ~j::~I~;~::: I 2045(51 95) 2011 (52 60) ;; I 012(030) ~ i I'''''''~' ~.100(2.54)TYP. j ~ I Illf If If .070(1.77) ---11 .015(0.38) .021(0.54) .118(3.00)MIN .Q20(O.51lMIN @ 1985 FUJITSU LIMITED D40005S-1C FUJITSU 4-163 MBL8742H/N October 1986 Edition 1.0 DESCRIPTION The Fujitsu MBL8742 Universal Peripheral Interface (UPI) is an 8-bit micro- computer that uses a 2K x 8-bit Electrically Programmable Read Only Memory (EPROM). Besides the EPROM program memory, the microprocessing circuits aresupported by a 256 x 8-bit static RAM, 181/0 lines, an 8-bit timer counter, and a clock generator. The device can be ordered in either of two speed versions: N-version for operation at 6MHz and H-version for operation at 12M Hz. For either frequency, the operating temperature is aoe to 7aoe. The MBL8742 is fabricated using an N-channel polysilicon-gate MOS process and is housed in a 4D-pin ceramic windowed DIP. A single +5-volt supply is required for basic operation; the EPROM requires an ultraviolet (UV) light source for erasure and a 21-volt supply for programming. Using the EPROM program memory, the MBL8742 is ideally suited for such applications as system evaluation, system prototyping, and low-volume production work. FEATURES Ceramic DIP • Processor: 8-bit Microprocessing Unit (MPU) (DIP-40C·A04) • Memories: 2K x 8-bit ProgJam Memory (EPROM) 256 x 8-bit Data Memory (static RAM) - 8-level Stack - 8 pairs of Working Registers • I/O: One 8-bit Bidirectional Data Bus Pin Assignment Two 8-bit Bidirectional I/O Ports Two Test Inputs TO Vee XTAL1 T1 • Master Processor Interface: One 8-bit Status Register XTAL2 P27DACK* Two 8-bit Data Bus Buffer '"RESET P26DRQ* *85 P25i1iF* Registers CS P24OBF* EA P17' • DMA Handshake Capability RD P16* AO P15* • 8-bit Timer/Event Counter WR P14* SYNC P13* • Clock Source: Internal Clock Generator (with external DO P12' Crystal) or External Clock D1 P11* D2 P10· • Single-step Operation D3 VDD 04 PROG • Low-power RAM Retention Mode D5 P23' D6 P22' • Power-on Reset Capability (with External Capacitor) D7 P21' VB. P20· • Instruction Cycle: 1.25,...s/12MHz (MBL8742H) and 2,5,...s/6MHz (MBL8742N) *These pins are Internally pulled up. • Instruction Set: 93 Instructions with 217 Instruction Codes • Single +5V Power Supply This device contains circuitry to protect the inputs against damage due to high static voltages orelectricfjelds. However. • Operating Temperature Range: 0° C to 70° C it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this high impedance ~ircuit. ~rtions reprintecfby permission of Intel Corporation. Copyright@ 1986 Intel Corporation. Compilation and additional materials Copyright@) 1986 by Fujitsu limited. Tokyo. Japan, and Fujitsu ~.Ihcroetectronics. Inc.• Santa Clara, Califomia, U.S.A. Fujitsu Limited Is a licensee of Intel Corporation and authorized to produce alternate source products. 4-164 Imllilimmmmlmllllllllllllllllllllllllill FUJITSU 1111111111111111111111111111111111111111111111111111 MBL8742H/N FEATURES (Cont) • N-channel Silicon-gate MOS Process • Standard 40-pin Ceramic DIP (Suffix-C) • Compatible with Intel 8742 • Replaceable with MBL8041A/42 and Intel 8041A/42 BLOCK DIAGRAM 8-BIT EXTERNAL MPU XTAl DATA BUS BUFfER (DBB) SYSTEM INTER- FACE DATA BUS BUFFER (DBB) PORT 1 256x 8 DATA MEMORY 110 lPORT 2 ilO EXPANDER CONNECTION FLAG OUTPUT =} PORT (RAM) OMA TERMINAL TEST PIN 2048)( 8 PROGRAM MEMORY (ROM) PIN DESCRIPTIONS Pin No. Symbol Function 40 Vee +5Vdc power supply input. 26 Voo +5Vdc power supply input for internal RAM. This pin is also used as the power supply input when programming the EPROM. 20 Vss Ground terminal. 1 TO Input used for conditional branching. 39 T1 This pin performs the following functions: • Event input pin for the event counter. • Conditional input pin for conditional branch. 4-165 1111111111111111111111111111111111111111111111111111 FUJITSU MBL8742H/N 1111111111111111111111111111111111111111111111111111 PIN DESCRIPTIONS (Cont) Pin No. Symbol Function 2 XTAL 1 Input connection for external crystal. This pin can also be used as an input from an external clock source. 3 XTAL2 Input connection for external crystal. (Note: The XTAL 1 and XTAL 2 input levels are not directly TTL compatible with a TTL clock source. An open-collector drive with an appropriate pullup is required to properly interface the two circuits.) 4 RESET Input that resets and initializes the MPU. (Note: This input level is not TTL compatible.) 5 SS Input used for single step operation. 6 CS Chip select input. 7 EA Input used for controlling program memory access. Holding EA high forces all program memory fetches to reference external memory. Useful for emulation and debug, and essential for testing and program verification. - 8 RD Strobe that enables a read operation from data bus buffer or status register. 9 AO Address input to determine whether read/write data or read/write commands. AO = "L" indicates data read or write. AO = "H" indicates status read or command write. 10 WR Strobe that enables a write operation to data bus buffer register. 11 SYNC An output synchronized with the MBL8742 clock. This pin is used when a synchronization signal is required for external circuits. 12-19 00-07 8-bit bidirectional I/O port used to interface the MBL8742 to the master processor. 21-24 P20-P23 Lower 4 bits of the 8-bit quasi-bidirectional I/O port (Port 2). These pins function as an interface port with the I/O expander (MBL8243) when an expansion I/O is used to execute instructions. During single step operation the upper 3 bits of the program address are output on P20, P21, P22. 35-38 P24-P27 Upper 4 bits of the 8-bit quasi-bidirectional I/O port (Port 2). These function as the flag output pins (P24 and P25) and DMA pins (P26 and P27) according to the executed instruction. P24: OBF (Output Data Buffer Register Full) output P25: IBF (Input Data Buffer Register Full) output P26: DRQ (DMA Request) output - - P27: DACK (DMA Acknowledge) input 25 PROG Strobe output signal when performing an expansion I/O instruction with an I/O expander such as the MBL8243. Used as a programming input when writing to the EPROM. 27-34 P10-P17 8-bit Quasi-bidirectional I/O ports (Port 1). During single step operation, the next program fetch address (Lower 8 bits) is output from these pins. 4-166 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MBL8742H/N FUNCTIONAL DESCRIPTION System Interface The data, command, and status interface between the master Table 1. Selection Logic processor and the MBL8742 is provided by two Data Bus CS RD WR AO DESCRIPTION Buffer(DBB) registers and a status register. Selection logic for these registers is shown in Table 1; a simplified interface is 0 0 1 0 Read DBB (Output) register. shown in Figure 1. Referring to the interface drawing, note that Read STS (Output) register the master processor can read data from the output buffer 0 0 1 1 (Status) register and write data into the input buffer register. When the MBL8742 executes an "OUT DBB, Pi' instruction, data is Write DBB (Input) register 0 1 0 0 written into the DBB and the Output Buffer Full (OBF) flag is (Data). set. When data is read from the DBB by the master processor, Write DBB (Input) register OBF is reset. If the master processor writes into DBB, the 0 1 0 1 (Command). Input Buffer Full (IBF) flag is set and is reset when the MBDL8742 reads the data. Reading the status register is non- 1 x x x Invalid. destructive and does not affect internal operation of the MBL8742. Figure 1. Interface Between MBL8742 and Master Processor r----------------------------------~ I MBL8742 I I I I ~ t t I I 00.07 07 07 S17 I BUS BUFFER OS OS ST6 I MASTER PROCESSOR I OS OS STS I D. D. ST. I 03 03 Fl I- I 02 02 FO I 01 01 IBF t-- I I DO DO OBF ~ I I DBB OBB STATUS I I (INPUT] (OUTPUT] I I I I I I I I I I I I I I I I I I L. Co - ADDRESS I I ~ L.-,. RD CONTROL LOGIC I I WR I .. ~ I AD I I I IL__________________________________ I ~ 4-167 1111111111111111111111111111111111111111111111111111 FUJITSU MBL8742H/N 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImllllllili Program Status Word (PSW) RESIDENT DATA MEMORY MAP (RAM) As shown in the following diagram and associated text, the upper four bits of the PSW are used as flags to indicate MPU Address status. The lower three bits are used to select register pairs in (Hex) the RAM stack when servicing a subroutine call or an interrupt. o Ro Register 0 The flag bits (C, AC, Fo, and BS) are defined below; the stack pointer bits (SPo - SP2 ) are defined in the next paragraph. The R1 Register 1 remaining bit in the PSW is unused. 2 R2 Register 2 7 6 5 4 3 2 o 3 R3 Register 3 Register Bank 0 I C I AC I Fo BS SP 2 SP1 I SPo 4 R4 Register 4 I-FlagS----lun~~ed~Stack pOinter-! 5 Rs Register 5 6 R6 Register 6 r Flag Bits 7 R7 Register 7 C (Carry): When an accumulator overflow occurs during an 8 Stack Register ALU operation, this bit is set to '1 '. (16 Bytes) AC (Auxiliary Carry): When an accumulator overflow from (8 Level Stack) bit 3 to bit 4 occurs during an addition, this bit is set to "1". Fo (User Flag): With the proper instruction, this flag can be PCl user-designated; the Fo flag can also be checked from the C AC Fo BS PC H MPU as bit 2 of the Status Register. BS (Bank Select): With the proper instruction, the BS flag indicates selection of a Register Bank. When set to "0", Register Bank 0 is selected; when set to "1 ", Register Bank 1 is selected. Refer to the RAM memory map that follows. 17 Stack Register (8-Level Capability) 18 Ro Register 0 The Stack Register has 16 bytes of memory area in the built-in RAM. The stack Registerconsists of eight levels, that is, a stack 19 R1 Register 1 level consists of two bytes as shown in the following diagram. 1A R2 Register 2 MSB LSB 1B R3 Register 3 Register Bank 1 SP-3 1C R4 Register 4 SP-2 PC7-4 PC3-0 10 Rs Register 5 PC10-8 } SP-1 A set of 2 bytes 1E R6 Register 6 PSW7-4 SP - This level will be 1F R7 Reg ister 7 SP+1 used at the next sub- 20 routine call or inter- rupt. Stack pOSition 21 RAM SP = 00001 SP2SP 1SPo 22 Address SP (Stack Painter): In the above figure, "SP" indicates an address of Stack Pointer to be used for the next sub-routine call or interrupt. "SP" is given as an Working Area (224 Bytes) 8-bit code from the lower three bits of Status Register as follows: SP = 00001 SP2SP1SPo FD 'e::::.. Status Register Bits 0 to 2. FE PC n (Program Counter): In the above figure, "PCn" indicates FF the content of the n-th bit in the Program Counter. 4-168 ~mlmmimooillmlllllllllllllllllllllllill FWITSU 1IIIIIIIIIIIml~lllllllmlll~llllllllllmllllll MBL8742H/N Interrupt Processing There are two types of interrupt: IBF interrupt and Timer/ Symbol Function Counter interrupt. If an interrupt occurs when the system is in "interrupt enable" status, the interrupt flag is set as soon as the Voo +5-volt power supply. current instruction is completed and interrupt processing PROG Input programming pulses. starts. AO&CS Clamp both of these inputs low. First, the upper four bits ofthe Status Word and content ofthe Program Counter are stored in the stack. The program then jumps to address "3" in the case of an IBF interrupt and Programming Procedures address "7" in the case of a Timer/Counter interrupt. Step 1: Initialize circuits as follows. After the interrupt has been processed by a user program and • Apply +5V to Vee, Voo , TO and EA pins. Let Bus (07-00) a RETR (Return and Restore Status) instruction has been and PROG pins float. executed, the Status Word and Program Counter contents stored in the stack are restored, the interrupt flag is reset; and • Apply OV to RESET, AO, and CS pins. • Use interrial oscillator or an external source to generate a the system is ready to accept the next interrupt request. 1-to-3MHz clock. A Timer/Counter interrupt request occurs when the Step 2: Select program mode by setting TO to Ov. Timer/Counter overflow flag is set due to Timer/Counter overflow. However, since the Timer/Counter interrupt request Step 3: Set EA to 1SV to enable program or verify mode. is masked by the IBF interrupt request, an IBF interrupt has Step 4: Input address as follows. first priority. • Bus (07-00): Slow-order bits The Timer/Counter interrupt is enabled after the IBF interrupt • P22 to P20: 3 high-order bits has been executed and the system is now ready to receive the Step 5: Set RESET to +5V to internally latch address inputs. next interrupt request. Operational and interrupt flowcharts are shown on the following page. Step 6: Input write data to bus. Step 7: Turn on programming power supply and set Voo to PROGRAMMING AND VERIFYING THE EPROM 21-volts. Step S: Apply O-volts to the PROG pin and then apply a The MBLS742 uses an internal 2K x S EPROM for program programming pulse of 1S-volts for 50-milliseconds. Again memory. A description of the pins used for programming and apply O-volts to the pin and then let it float. verifying operation opHe EPROM are repeated here for user convenience. Procedural steps for programming and verifi- Step 9: Turn off programming power supply (Voo from 21V cation follow the pin functions. to 5V) and let Bus (07-00) float. Step 10: Select verify mode by setting TO to 5V. Pin Descriptions Step 11: Read and verify bus data. If data cannot be verified, repeat steps 2 through 10. Symbol Function Step 12: Set RESET to OV. If all desired addresses haven't been written yet, repeat steps 4 through 11. XTAL1 & Input clock signal (1-to-3MHz) Step 13: Set EA to 5V to terminate programming XTAL2 procedure. RESET Initializes internal registers. ERASING THE EPROM Input address data to the data bus is inter- Data written into the EPROM can be erased by applying nally latched on the rising edge of RESET. ultraviolet light rays with a wavelength of 2537 angstroms. With TO When TO is Low, prog ram mode is selected. UV light source directly above the transparent lid at a distance When TO is High, verify mode is selected. of 2-to-3 centimeters. The time for complete erasure is between 15-and-20 minutes for most commercial lamps. The EA When 1S-volts is applied to this pin, the recommended amount of UV radiation is 10Wsec/cm2 ; the program and verify modes are enabled. luminous intensity on the package surface is designed to be Bus (07-00) Lower S-bits for address and data inputs in approximately 12000uW/cm 2. the program mode; data output in the verify If the package surface is soiled by grease, adhesives, or other mode. light inhibitors, the erasing time will increase. Before attempting to erase data, it is recommended that surfaces be P22-P20 Upper address inputs. cleaned with alcohol or some other detergent that will not damage the package. 4-169 1111111111111111111111111111111111111111111111111111 FUJITSU MBL8742H/N 1111111111111111111111111111111111111111111111111111 OPERATIONAL FLOWCHART INTERRUPT FLOWCHART No No 4-170 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MBL8742H/N Table 2. Instruction Set Summary ACCUMULATOR INSTRUCTIONS Flag OP Operation Mnemonic code Byte Cycle C AC Remarks Add register to A ADD A, Rr 6X3 1 1 *2 *2 (A) - (A) + (Rr) Add data memory to A ADDA,@RO 60 1 1 *2 *2 (A) - (A) + ((RO)) ADDA,@R1 61 1 1 *2 *2 (A) - (A) + ((R1)) Add immediate to A ADD A, #data 03 2 2 *' *2 (A) - (A) + data Add register to A with Carry AD DC A, Rr 7X3 1 1 *' *2 (A) - (A) + (Rr) + (C) Add data memory to A with Carry ADDCA,@RO 70 1 1 *' *2 (A) - (A) + ((RO)) + (C) ADDCA,@R1 71 1 1 *' *2 (A) - (A) + ((R1)) + (C) Add immediate to A with Carry AD DC A, #data 13 2 2 *' *2 (A) - (A) + data + (C) AND register to A ANLA, Rr 5X3 1 1 - - (A) - (A) AND (Rr) AND data memory to A ANLA,@RO 50 1 1 - - (A) - (A) AND ((RO)) ANLA,@R1 51 1 1 - - (A) - (A) AND ((R1)) AND immediate to A ANLA, #data 53 2 2 - - (A) - (A) AND data OR register to A ORLA, Rr 4X3 1 1 - - (A) - (A) OR (Rr) OR data memory to A ORLA,@RO 40 1 1 - - (A) - (A) OR ((RO)) ORLA,@R1 41 1 1 - - (A) - (A) OR ((R1)) OR immediate to A ORLA, #data 43 2 2 - - (A) - (A) OR data Exclusive OR register to A XRLA, Rr DX3 1 1 - - (A) - (A) XOR (Rr) Exclusive OR data memory to A XRLA,@RO DO 1 1 - - (A) - (A) XOR ((RO)) XRLA,@R1 D1 1 1 - - (A) - (A) XOR ((R1)) Exclusive OR immediate to A XRLA, #data D3 2 2 - - (A) - (A) XOR data IncrementA INCA 17 1 1 - - (A)-(A)+1 Decrement A DECA 07 1 1 - - (A) - (A)-1 Clear A CLRA 27 1 1 - - (A)-O Complement A CPLA 37 1 1 - - (A)-(A) Decimal Adjust A DAA 57 1 1 * - Note 2 Swap digits of A SWAP A 47 1 1 - - (A7-4) "" (A3-0) Rotate A Left RLA E7 1 1 - - ~~FmlrJ Rotate A Left through Carry RLCA F7 1 1 *' - ~~IWIIOJ Rotate A Right RRA 77 1 1 - - LJ~I*lrJ ~~I*lrJ Rotate A Right through Carry RRCA 67 1 1 *' - INPUT/OUTPUT INSTRUCTIONS Input port to A INA, P1 09 2 (A)-(P1) INA, P2 OA 2 (A)-(P2) Output A to port OUTL P1, A 39 2 (P1)-(A) OUTL P2, A 3A 2 (P2)-(A) AND immediate to port ANL P1, #data 99 2 2 (P1) - (P1) AND data ANL P2, #data 9A 2 2 (P2) - (P2) AND data OR immediate to port ORL P1, #data 89 2 2 (P1) - (P1) OR data ORL P2, #data 8A 2 2 (P2) - (P2) OR data Input DBB to A, clear IBF IN A, DBB 22 (A) - (DBB), (IBF) - 0 Output A to DBB, set OBF OUT DBB,A 02 (DBB) - (A). (OBF) - 1 A7-4 to bits 7-4 of Status MOVSTS,A 90 (STS7-4) - (A7-A4) 4·171 1111111111111111111111111111111111111111111111111111 FUJITSU MBL8742H/N 1111111111111111111111111111111111111111111111111111 INPUT/OUTPUT INSTRUCTIONS (Continued) Flag OP Operation Mnemonic code Byte Cycle C AC Remarks Input Expander port to A MOVDA. Pp OX' 1 2 - - (A3-0) - (Pp), (A7-4) - 0 Output A to Expander port MOVDpP.A 3X' 1 2 - - (Pp) - (A3-0) AND A to Expander port ANlD pP. A 9X' 1 2 - - (Pp) - (Pp) AND (A3-0) OR A to Expander port ORlD Pp,A ax' 1 2 - - (Pp) - (Pp) OR (A3-0) DATA MOVE INSTRUCTIONS Move register to A MOVA, Rr FX3 1 1 - - (A)-(Rr) Move data memory to A MOVA,@RO FO 1 1 - - (A)-((RO» MOVA,@R1 F1 1 1 - - (A)-((R1» Move immediate to A MOVA, #data 23 2 2 - - (A) - data Move A ~o register MOVRr, A AX3 1 1 - - (Rr)-(A) Move A to data memory MOV@RO,A AO 1 1 - - ((RO»-(A) MOV@R1,A A1 1 1 - - ((R1»-(A) Move immediate to register MOV Rr, #data BX3 2 2 - - (Rr) -data Move immediate to data memory MOV @RO, #data BO 2 2 - - ((RO» - data MOV @R1, #data B1 2 2 - - ((R1)) - data Move PSWto A MOVA, PSW C7 1 1 - - (A) - (PSW) Move A to PSW MOV PSW,A 07 1 1 *' *' (PSW) -(A) Exchange A and register XCH A, Rr 2X3 1 1 - - (A)= (Rr) Exchange A and data memory XCHA,@RO 20 1 1 - - (A)= ((RO» XCHA,@R1 21 1 1 - - (A)= ((R1» Exchange digit of A and data memory XCHDA,@RO 30 1 1 - - (A3-0) = ((RO)3-0) XCHDA,@R1 31 1 1 - - (A3-0) = ((R1)3-0) Move to A from cu rrent page MOVPA,@A A3 1 2 - - (A) - ((A)) within page Move to A from Page 3 MOVP3A,@A E3 1 2 - - (A) +- ((A)) within page 3 TIMER/COUNTER INSTRUCTIONS Read Timer/Counter MOVA, T 42 1 1 - - (A)-(T) load Timer/Counter MOVT,A 62 1 1 - - (T)-(A) Start Timer STRTT 55 1 1 - - Start Counter STRT CNT 45 1 1 - - Stop Timer/Counter STOP TCNT 65 1 1 - - Enable Timer/Counter Interrupt EN TCNTI 25 1 1 - - Disable Timer/Counter Interrupt DIS TCNTI 35 1 1 - - CONTROL INSTRUCTIONS Enable DMA Handshake Lines ENDMA E5 1 1 - - Enable IBF Interrupt EN I 05 1 1 - - Disable I BF Interrupt DISI 15 1 1 - - Enable Master Interrupts EN FLAGS F5 1 1 - - Select register bank 0 SEl RBO C5 1 1 - - (BS)-O Select register bank 1 SEl RB1 05 1 1 - - (BS) -1 No Operation NOP 00 1 1 - - REGISTER INSTRUCTIONS Increment register INC Rr 1X3 1 1 - - (Rr) - (Rr) + 1 Increment data memory INC@RO 10 1 1 - - ((RO» - ((RO)) + 1 INC@R1 11 1 1 - - ((R1» - ((R1» + 1 Decrement register DECRr CX3 1 1 - - (Rr) - (Rr) - 1 4-172 1IIIIIIIIIIIIIIIIIIIIIImlllllllllllllllllllllllili FUJITSU 1IIIIIIIllllllllllllllllllllllllllllllllllllllllllli MBL8742H/N SUBROUTINE INSTRUCTIONS OP Flag I Operation Mnemonic code Byte Cycle C AC Remarks Jump to Subroutine CALL addr %45 2 2 - Note 6 Return RET 83 1 2 - - Note 7 Return and restore status RETR 93 1 2 Note 8 *' *' FLAGS INSTRUCTIONS Clear Carry CLRC 97 1 1 Z' - (C)-O Complement Carry CPLC A7 1 1 CP' - (C)-(e) Clear Flag 0 CLR FO 85 1 1 - (FO)-O Complement Flag 0 CPL FO 95 1 1 - (FO) - (FO) Clear Flag 1 CLR F1 AS 1 1 - (F1) - 0 Complement Flag 1 CPL F1 B5 1 1 - - (F1)-(F1) BRANCH INSTRUCTIONS Jump unconditional JMP addr %45 2 2 - - Unconditional Branch Jump indirect JMPP @A B3 1 2 - - Unconditional Branch (Note 9) Decrement register and jump DJNZ Rr, addr EX 3 2 2 - - (Rr) # 0 (Note 10) Jump on Carry = 1 JC addr F6 2 2 - - (C) = 1 Jump on Carry = 0 JNC addr E6 2 2 - - (C) =0 Jump on A Zero JZ addr C6 2 2 - - (A) = 0 Jump on A not Zero JNZ addr 96 2 2 - - (A)#O Jump on TO = 1 JTO addr 36 2 2 - - (TO) = H Jump on TO = 0 JNTO addr 26 2 2 - - (TO) = L Jump on T1 = 1 JT1 addr 56 2 2 - - (T1) = H Jump on T1 = 0 JNT1 addr 46 2 2 - - (T1) = L Jump on FO = 1 JFO addr B6 2 2 - - (FO) = 1 Jump on F1 = 1 JF1 addr 76 2 2 - - (F1) = 1 Jump on Timer Flag = 1, Clear Flag JTF addr 16 2 2 - - (TF) = 1 Jump on IBF Flag = 0 JNIBF addr 06 2 2 - - (IBF) = 0 Jump on OBF Flag = 1 JOBF addr 86 2 2 - - (OBF) = 1 Jump on Accumulator Bit JBb addr %25 2 2 - - (Ab) = 1 Notes: 1. Flag status 5. Refer to Table 5. 8. RETR * = Set or reset flag bit to the state it was in 6. CALL addr (SP) - (SP) - 1 before instruction execution. «SP» - (PC), (PSW7-4) (PC) -«SP» Z = Reset flag bit. (SP) - (SP) + 1 (PSW7-4) - «SP» CP = Complement flag oit. (PC10-8) - AH 9. JMPP@A 2. The accumulator value is adjusted to form (PC7-0) - AL (PC7-0) - «A» BCD digits following the binary addition of 7. RET 10. DJNZ Rr, addr BCD numbers. (SP) - (SP) - 1 (Rr) -(Rr)-l 3. Refer to Table 3. (PC)- «SP» if (Rr) '" 0 (PC7-0) - addr 4. Refer to Table 4. if (Rr) '" 0 Execute next instruction 4-173 1111111111111111111111111111111111111111111111111111 FUJITSU MBL8742H/N 1111111111111111111111111111111111111111111111111111 Table 3. OP Code for Register Access Rr RO R1 R2 R3 R4 RS R6 R7 Mnemonic ADD A, Rr 68 69 6A 6B 6C 60 6E 6F AOOCA, Rr 78 79 7A 7B 7C 7D 7E 7F ANlA, Rr 58 59 5A 5B 5C 50 5E 5F OECRr C8 C9 CA CB CC CO CE CF OJNZ Rr, addr E8 E9 EA EB EC ED EE EF INC Rr 18 19 1A 1B 1C 10 1E 1F MOVA, Rr F8 F9 FA FB FC FO FE FF MOVRr,A A8 A9 AA AB AC AD AE AF MOV Rr, #data B8 B9 BA BB BC BO BE BF ORlA, Rr 48 49 4A 4B 4C 40 4E 4F XCHA,Rr 28 29 2A 2B 2C 20 2E 2F XRl A, Rr 08 09 OA DB DC DO DE OF Bit 7 6 5 4 3 2 1 0 Table 4. OP Codes for Expander Port Access Rr P4 PS P6 P7 Mnemonic ANlO Pp, A 9C 90 9E 9F MOVO A, Pp OC 00 OE OF MOVO Pp,A 3C 3D 3E 3F ORlO Pp, A 8C 80 8E 8F Bit 76543210 1 1 1 1 1 1 IP11poI Table S. OP Codes for JMp, CALL, and JBb First Byte Second Byte Bit 7 6 543 2 1 0 Bit 7 6 5 4 3 2 1 0 JMP AH AL 1 10 10 11 10 10 1 1 I , I , I I I 1 Bit 765 4 3 2 1 0 Bit 7 6 5 4 3 2 1 0 CAll 1 AH 11101110101 1 I I I AL I I I 1 Bit 7 6 5 4 3 2 1 0 Bit 7 6 5 4 3 2 1 0 JBb AH = Address A10, A9, As AL = Address A7 to Ao Bb = bth bit of accumulator 4-174 '1llllllllllllllffillllmlllllllllllllllllllllllllll FUJITSU 1111111111111111111111111111111111111111111111111111 MBL8742H/N INSTRUCTION CODES , I~ 0 1 2 3 5 6 7 8 9 A B C 0 E F OUT ADD JMP EN DEC IN IN MOVD MOVO MOVO MOVO 0 NOP DBB,A A, # I A A, Pl A, P2 A, P4 A, P5 A, P6 A, P7 0" INC INC JBO AD DC CALL DIS JTF INC INC INC INC INC INC INC INC INC 1 @RO @R1 addr A, # 0" I addr A RO R1 R2 R3 R' Rs R6 R7 XCH XCH IN MOV JMP EN JNTQ CLR XCH XCH XCH XCH XCH XCH XCH XCH 2 A.@RO A,@R1 A, DBB A, # "TeNTI addr A A, AQ A, R1 A, R2 A, R3 A, R4 A, RS A, R6 A, R7 1" XCHD XCHD JB1 CALL DIS JTO CPL DUTL DUTL MOVO MOVO MOVO MOVO 3 A,@RO A,@R1 addr TeNTI addr A P1, A P2, A P4,A P5, A P6, A P7, A 1" , ORL A,@RO ORL A,@Rl MOV A, T ORL A, # JMP 2" STRT CNT JNTl addr SWAP A ORL A, AO ORL A, Rl ORL A, R2 ORL A R3 ORL A, A4 ORL A. RS ORL A. R6 ORL A, A7 ANL ANL JB2 ANL CALL STRT JT1 DA ANL ANL ANL ANL ANL ANL ANL ANL 5 A,@RO A,@Rl addr A, # 2" T addr A A, AD A, Rl A, R2 A, R3 A, R4 A, RS A, R6 A, R7 ADD ADD MOV JMP STOP RRC ADD ADD ADD ADD ADD ADD ADD ADD 6 A,@RO A,@Rl T,A 3xx TeNT A A, RD A, Rl A, R2 A, R3 A, R4 A, RS A, R6 A, R7 7 ADDC AD DC JB3 CALL JF1 RR ADDC AD DC AODC ADDC ADDC ADDC ADDC ADDC A,@RO A,@R1 addr 3xx addr A A, RD A, Rl A, R2 A, R3 A, R4 A, A5 A, R6 A, R7 JMP CLR JOBF ORL ORL ORlO UALD ORLO ORlO 8 RET Pl, # P4, A P7, A 'x x FO addr P2, # P5, A P6, A MOV JB4 CALL CPL JNZ CLR ANL ANL ANlD ANLO ANLD ANLD 9 RETR STS, A addr 4xx FO addr C Pl, # P2, # P4, A PS, A P6, A P7, A MOV MOV MOVP JMP CLR CPL MOV MOV MOV MOV MOV MOV MOV MOV A A4, A R7, A @RO,A @R1,A A,@A 5xx F1 C AO, A Rl, A R2, A R3, A RS, A R6, A MOV MOV JBs JMPP CALL CPL JFO MOV MOV MOV MOV MOV MOV MOV MOV B @RO,# @R1,# addr @A sxx F1 addr AO, # R1, # R2, # R3, # A4, # RS, # R6, # R7, # JMP SEL JZ MOV DEC DEC DEC DEC DEC DEC DEC DEC C 6x x RBO addr A, PSW RO R1 R2 R3 R' Rs R6 R7 XRL XRL JB6 XRL CALL SEL JNIBF MOV XRL XRL XRL XRL XRL XRL XRL XRL 0 A,@R1 A, R4 A,@RO addr A, # 6xx RB1 addr PSW, A A, AO A, R1 A, R2 A, R3 A, RS A, R6 A, R7 MOVP3 JMP EN JNC RL OJNZ OJNZ OJNZ OJNZ DJNZ OJNZ OJNZ DJNZ E A.@A 7xx DMA addr A RO, addr R1, addr R2, addr R3, addr R4, addr RS, addr R6, addr R7, addr MOV MOV JB7 CALL EN JC RLC MOV MOV MOV MOV MOV MOV MOV MOV F A,@RO A,@Rl addr 7xx FLAGS addr A A, RO A, A1 A, R2 A. R3 A, R4 A. RS A, R6 A, R7 Legend: 0:: Immediate data D 0:: 1 Byte, 1 Cycle Instruction o = 1 Byte, 2 Cycle Instruction o = 2 Byte, 2 Cycle Instruction 4-175 1111111111111111111111111111111111111111111111111111 FUJITSU MBL8742H/N 1111111111111111111111111111111111111111111111111111 ELECTRICAL CHARACTERISTICS Absolute Maximum Ratings Recommended Operating Conditions Parameter Symbol Value Unit Value Supply Voltage Vee, -0.3 to +7.0 V Parameter Symbol Min lYP Max Unit VDD Vee, 4.5 5.0 5.5 V Input Voltage VIN -0.3 to +7.0 V Supply Voltage VDD Ambient Operating Vss 0 V Temperature TA oto +70 °C Operating TA 0 +70 °C Storage Temperature Tstg -55 to +150 °C Temperature Power Dissipation PD 1.5 W Note: conditions as detailed in the operational sections of this data sheet. Permanent device damage may occur if the aboveABSQLUTE MAXIMUM Exposure to absolute maximum rating conditions for extended periods RATINGS are exceeded. Functional operation should be restricted to the may affect device reliability. DC Characteristics TA = O°C to +70°C, vee = V DD = 5.0V ± 10%, Vss = OV Value Parameter Symbol Test Conditions Min Max Unit V DD Supply Current IDD 20 mA Supply Current Icc + IDD 150 mA All except XTAL 1, 2, RESET Vil -0.3 0.8 V Input Low Voltage XTAL1, 2, RESET VIl1 -0.3 0.6 V -- Ali except XTAL 1, 2, RESET V IH 2.0 Vee V Input High Voltage XTAL 1,2, RESET VIH1 3.8 Vee V Do to 0 7 VOL 10l = 2.0mA 0.45 V Output Low Voltage P10 to P17, P20 to P27, SYNC VOL1 10l = 1.6mA 0.45 V PROG VOl2 10l = 1.OmA 0.45 V Do to 0 7 VOH 10H = -400JiA 2.4 V Output High VOltage All other outputs VOH1 10H = -50JiA 2.4 V Input Leakage Current To, T 1, RD, WR, CS, AO, EA III Vss:S VIN :S Vee ±10 JiA V ss + 0.45V :S Output Leakage Cu rrent Do to 0 7 (High-impedance) 10l ±10 JiA VIN:S Vee P10to P17; P20to P27 III VIL = O.BV 0.5 mA Input Low Current - - - RESET, SS ILl1 Vil = 0.8V 0.2 mA 4-176 111~lllllllmmllllmllllllllllllllmllllllllll FWITSU llllllillmlllllllillmllllllllllllllllllllllllill MBL8742H/N AC Characteristics (DBB Read Operation) (TA = O·Cto +70·C, vee = voo = 5.0V ±10%, vss = OV) value Parameter Symbol Test Conditions Min Max Unit ~, AO Setup TIme (to AD J..) t~R 0 ns CS, AO Hold Time (to RD t) tRA 0 ns - RD Pulse Width tRR 160 ns Data Delay Time (from CS, AO) tAD CL = 150pF 130 ns Data Delay Time (from I1i5J.. ) tRO C L = 150pF 130 ns Data Floating Time (from RD t ) tOF 85 ns I MBL8742N 6MHz (N-version) 2.5 15.0 ps Cycle Time I MBL8742H tCY 12MHz (H-version) 1.25 15.0 ps Timing Diagram for Data Bus Buffer (DBB) Read Operation: CS,Ao (ADDRESS) iiii - - - f - - t 1 - - - " ' - - _ 1 Ir--~----, Do-In (OUTPUT) 4-177 1111111111111111111111111111111111111111111111111111 FUJITSU MBL8742H/N 1111111111111111111111111111111111111111111111111111 AC Characteristics (DBB Write Operation) (TA = o·eto +700e, vee = voo = 5.0V ±10%,Vss = OV) Value Parameter Symbol Test Conditions Min Max Unit es, AO Setup Time (to WR .J.. ) tAW 0 ns es, AO Hold Time (from WR t ) tWA 0 ns - WR Pulse Width tww 160 ns Data Setup Time (to WR t) tDW 130 ns Data Hold Time (from WR t) tWD 0 ns Timing Diagram for Data Bus Buffer (DBB) Write Operation: (ADDRESS) a.Ao ~ ¥ _ _ _ _ _ _ _ ____ ~ ~1k , ~-dt-~J~-----..,,~ r&U~PL _ _ _ _ _ _ _~ VALID INPUT DATA !<.__________ 4-178 ~mllllm~m~lmlllllllllllllllllllllllllll FUJITSU I I1I11111111111111111111111111111111111111111111111 MBL8742H/N AC Characteristics (Operation with 1/0 Expander) (TA = O·Cto +70·C, vee = voo = 5.0V ±10%,Vss = OV) MBL8742N MBL8742H Parameter Symbol Min Max Min Max Unit Port Control Setup Time (to PROG ,J, ) tcp 100 110 ns Port Control Hold Time (from PROG ,J, ) tpc 60 100 ns Input Data Delay Time (from PROG ,J,) tpR 650 810 ns Input Data Hold Time (from PROG t) tpF 0 150 0 150 ns Output Data Setup Time (to PROG t) top 200 250 ns Output Data Hold Time (from PROG t) tpo 20 65 ns PROG Pulse Width tpp 700 1200 ns Timing Diagram for Port 2 (lower 4 bits) Operation in Connection With I/O Expander: SYNC OUTPUT ----/ 1/0 DATA ,-------- { P20~P23 INPUT -----lL 110 DATA INPUT STATE (CONNECTED WITH I/O EXPANDER) I_---Ipp---_I PROG 4-179 mlllllllllllllllllllllllllllillmlllllllillmill FUJITSU MBL8742H/N IIIIIIIIIIIIIIIIIIIIIIII~IIIIIIIIIIIIIIIIIIIIIIIIII AC Characteristics (DMA Operation) (TA = O·Cto +70·C, vee = voo = 5.0V ±10%,Vss = OV) Value Parameter Symbol Test Conditions Min Max Unit ~ Setup Time (to RD J., WR J.) tACC 0 ns DACK Hold Time (from RTI t , WR t) t CAC 0 ns Input Data Delay Time (from ~ J.) tACO C L = 150pF 130 ns DRO Clear Time (from RD J. , WR J. ) 'eRQ 100 ns Timing Diagram for DMA Operation: DBG-OB7 YAUO OUTPUT DATA ORO ICftQ TEST CONDITIONS VOL = 0.45V V 1L = 0.8V (All except XTAL 1. 2. RESET) VOH = 2.4V = 0.6V (XTALI. 2. RESET) OUTPUT LOAD V 1H = 2.0V (All except XTAL 1. 2. RESET) = 3.8V (XTAL 1.2. RESET) DO to 07: C L = 150pF All other outputs: C L " 80pF Oscillation Circuits Crystal Oscillator External Clock Drive .-------, 5V MBLB142 MBLB742 1 to 12t.tHz 2 XTALt External ~H~----IXTALI Clock· r - - -......-~ XTAL2 I ":>o-~~ XTAL2 20PF'J, "Both high and low times should be more than .....---~ 35% of the cycle time. and the rise and fall "Including stray capacitances Umes should be less than 20 ns. 4·180 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MBL8742H/N ELECTRICAL CHARACTERISTICS FOR PROGRAMMING DC Characteristics1,2 (TA = 25°C ± 5°C, Vee = 5V ± 5%, VOO = 21 ± 0.5V or 5V ± 5%) Value Parameter Symbol Min Max Unit Voo Program Voltage High Level V OOH 20.5 21.5 V Voo Program Voltage Low Level V OOL 4.75 5.25 PROG Program Voltage High Level VpH 17.5 18.5 V PROG Program Voltage Low Level VpL - 0.2 EA ProgramlVerify Voltage High Level V EAH 17.5 18.5 V EA Pro9ramIVerify Voltage Low Level VEAL - 5.25 Voo High Voltage Supply Current 100 - 30.0 PROG High Voltage Supply Current IpROG - 16.0 mA EA High Voltage Supply Current lEA - 1.0 Notes: 1. High Level Voltage (VOOH. VPH) should notba applied to Vooand PROG pins unless Vee ~ 5V ±5% and EA ~ lav ±O.5V. 2. Voo. PROG, and EA should not exceed the above specified range, including overshoot and undershoot. AC Characteristics (TA = 25°C ±5°C, Vee = 5V ±5%, Voo = 21 ±1.0Vor5V ±5%) Value Parameter Symbol Min Max Unit Address setup time (before RESET i) tAW 4· tCY - Address hold time (after RESET i ) tWA 4· tCY - Input data setup time (before PROG i) tow 4· tCY - Input data hold time (after PROG J..) two 4· tCY - RESET hold time (after EA J..) tpH 4· tCY - Voo setup time (before PROG i) t voow 4· tCY - Voo hold time (before PROG J..) t VOOH 0 - Program pulse width tpw 50 60 ms TO setup time (before RESET i ) tTW 4· tCY - TO hold time (after Voo J..) tWT 4· tCY - Data output delay time (after TO i) too - 4· tCY RESET pulse width (to Lateh Address) tww 4 - tCY - Voo and PROG rise/fall time tr/tf 0.5 2.0 jJs MPU cycle time tCY 5.0 - JlS RESET setup time (before EA i) tRE 4· tCY - EA setup time (before RESET t) tEA 10 - ms 4-181 1111111111111111111111111111111111111111111111111111 FUJITSU MBl8742H/N 1111111111111111111111111111111111111111111111111111 Timing Diagram for ProgrammingNerify Mode: lav --~'/.--:--- PROGRAM MODE -----1-- EA 5V TO 5V OV RESET SY OV 0110-7 - - . ( NEXTADDR x:: P20-22 NEXT AODR 21V VDD 5V - - - - - - - - + - . . . , , 1 lav PROG 5V -------'\ --------------------~ ov PACKAGE DIMENSIONS 4D-Lead Ceramic (Metal Seal) Dual In-Line Package (Case No.: DIP-40C-A04) 0'109" 1 R.050 11.27) REF INDEX AREA 1.980150.29) 2.020151.31) .21015.33)MAX .12013.051 ~_--t_,,-,.15013.81) .04011.021 .060(1.53) 1.900148.26IREF Dimensions in inches (millimeters) ® 1986 FUJITSU LIMITED D40014S-1C 4·182 Advanced Products FUJITSU October 1986 • MB8868A Edition 2.0 MOS Universal Asynchronous Receiver ITransmitter (UART) Description The Fujitsu MB8868/A is a programmable Universal Asynchronous Receiver/Transmitter (UART), fabricated with an ~i N-channel silicon gate MOS technology. All control pins, input - pins and output pins are TTL compatible. The UART interfaces - asynchronous serial data channels from terminals or other peripherals to the parallel data of a microprocessor, computer, or other terminal. Parallel data is converted by the transmitter _~7' I~t' section of the UART into a serial word consisting of the data as , ~,[Jrr\i1jqL well as start, parity, and stop bit(s). Serial data is converted by :11 the receiver section of the UART into parallel data. The receiver section verifies correct code transmission by parity checking and - - -~ir ClII~Z !?I~ e- e- active reception of a valid stop bit. The UART can be programmed to accept word lengths of 5, 6, 7, or 8 bits. Even or odd parity can be set. Parity generation and checking can be inhibited. One, one and one-half, or two stop bits can be set when transmitting a 5-bit code. - =. Features - • Full or Half Duplex • Complete Static Circuity - Operation • TTL Compatible 1/0 • Completely Programmable • Three-State Ou!put • Start Bit Generated Capability Automatically • Single Power Supply: +5V • Data and Clock • Standard 40-Pin Dual In- Line Package - - - !,ia~~~ ~~~1- - Synchronization Performed Automatically • Functionally Compatible • Data Received/Transmitted with Western Digital TR1863 Status Automatically and AMI S1602 Generated 4-183 1I.88S8A MB8888A Block Diagram 33 32 31 30 29 29 27 26 TRa TR7 TRe TRs 1"R4 TA3 TR2 TR1 A ~~Q~-~i~T~i~ 1~ +5V ..... 3~ OV 21 MR TRANSMITTER HOLDING 'I REGISTER I 35 PI ~r-- - - PARITY BIT 39 GEN 40 EPE =EJ- ~ 1 TRC - 23 lR5 cttt t 36 THRL SBS H:J- ) LOAD TIMING ;:u- 38 WL5, - ~ ] WORD LENGTH SELECT AND 22 THRE 37 WL5, - ~ CONTROL SHIFT 24 TRE 34 CR L - Go Go ~ Ii: 25 ~ II:a! TRANSMITTER REGISTER ~ ~ TRO I eMPTY DETECT I 17 RRC MOD'6 COUNTER II -, , 1 TIMING G~~G DATA SHIFT 1 WORD LENGTH SELECT , I -4 TI I ~ 1 DATA 20 RI START DETECT , ~ RECEIVER REGISTER I RECEIVED DETECT tl STOP PARITY l~ BIT II CHECK DETECT ~ W RECEIVER HOLDING REGISTER -=D- F/F @ ~* 3 STATE OUTPUT I- ~ 11i ~IJJ"1~ I- ~ ) .... FE RRD RR, RRr RR, RR. RR, RRa RR, RRI DRR OE DR SFD PE 19 18 13 14 4 5 8 7 8 9 10 11 12 18 '5 Capacitance (TA =25° C, I =1MHz, VIN =OV) Value Parameter Symbol Typ. Max. Unit Input Capacitance lor all inputs 10 pF FUJITStJ 4-184 ~------------ MB8888A Pin Assignment Vee TRC *N.C. EPE Vss WLS1 RRD WLS2 RRB SBS RR, PI RR. CRl RR, TR. RR, TR, RR, TRB RR, TR, RR, TR, PE TR, FE TR, OE TR, SFD TRO RRC TRE ORR THRl DR THRE RI MR 'N.C. (no connection) Absolute Maximum Ratings (See Note) Rating Symbol Value Unit Vee Pin Potential to Vss Pin Vee -0.3 to +7.0 VDe Input Voltage -0.3 to +7.0 Output Voltage -0.3 to +7.0 VDe Operating Temperature o to +70 °e Storate Temperature -55 to +150 Note: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. This device contains circuitry to protect the inputs against damage due to high static voltages or electric fields. It is advised that normal precautions be taken to avoid applications of any voltages higher than maximum rated voltages to this high impedance circuit. Recommended Operating Conditions (Referenced to Vss ) Value Operating Parameter Symbol Min. Typ. Max. Unit Temperature Vee 4.75 5.0 5.25 V Supply Voltage Vss 0.0 0.0 0.0 V ooe to +70oe Logic Input High Voltage V,H 2.2 Vee V Logic Input Low Voltage V'L -0.3 +0.8 V FUJITSU 4-185 MB!!!!8!!A DC Characteristics (Recommended operating Value conditions unless otherwise Parameter Symbol Min. Typ. Max. Units noted) Input Leakage Current III 350 I1A (VIN = 0 to 5.2SV, Vee = S.2SV) Output Leakage Current for 3-State -20 IlZ +20 I1A (VOUT = OV to Vee, SFD = RRD = V1H ) Output Low Voltage (IOl = 1.8mA) VOL 0.4 V Output High Voltage (IOl = -200I1A) VOH 2.4 V Vee Supply Current Icc 70 mA AC Characteristics (ReCOmmended operating Value ranges unless otherwise Parameter Symbol Min. Typ. Max. Units noted) Clock Frequency for RRC and TRC fe DC 800 kHz (Duty Cycle = SO%) CRL Pulse Width, High tpwe 200 ns THRL Pulse Width, Low tpWT 180 ns ORR Pulse Width, Low tpWR 180 ns MR Pulse Width, High tpWM ISO ns Coincidence Time (Fig. 4 and Fig. 8) te 180 ns Hold Time (Fig. 4 and Fig. 8) tH 20 ns Setup Time (Fig. 4 and Fig. 8) tSET 0 ns Propagation Delay Time, High to Low, Output tpdQ 3S0 ns (Cl = 130 pF + 1 TTL) Propagation Delay Time, Low to High, Output tpd1 3S0 ns (Cl = 130 pF + 1 TTL) Pin Descriptions Pin Name Pin Number Description RRD 4 Receiver Register Disconnect A high logic level, V1H , on this pin disconnects the Receiver Holding Register outputs from the data outputs RR B-RR 1 on pins 5-12. RRB thru 5, 6, 7, 8, 9, 10, Receiver Holding Register Data RR1 11, 12 These are the parallel outputs from the Receiver Holding Register if the RRD input is an input low level, V1l . Data is right justified for character formats of less than eight bits, with RR1 being the least significant bit. Unused MSB's are forced to a low logic output level, VOL' PE 13 Parity Error This output pin goes to a high level, VOH , if the received parity does not agree with that programmed by the Even Parity Enable input (pin 39). With each character transferred to the Receiver Holding Register, this output is updated. The status Flag Disconnect input (pin 16) allows additional PE lines to be tied together by providing an output disconnect capability. FUJITSU 4-186 ---~ ------- --- MB8888A Pin Descriptions (Continued) Pin Name Pin Number Description FE 14 Framing Error This output pin goes to a high level, VOH, if the received character has no valid Stop bit. With each character transferred to the Receiver Holding Register, this output is updated, The Status Flag Disconnect input (pin 16) allows additional FE lines to be tied together by providing an output disconnect capability. DE 15 Overrun Error This output pin goes to a high level, VOH, if the Data Received Flag (pin 19) is not reset before the next character is transferred to the Receiver Holding Register. The Status Flag Disconnect input (pin 16) allows additional DE lines to be tied together by providing an output disconnect capability. SFD 16 Status Flag Disconnect When this input goes to a high level, V1H , PEE, FE, DE, DR, and THRE outputs are disconnected allowing bus sharing capability. RRC 17 Receiver Register Clock This clock input is sixteen times the desired receiver shift rate. DRR 18 Data Received Reset (ORR) A low level input, V1L , resets the data Received (DR) line. DR 19 Data Received This output goes to a high level, VOH, when an entire character has been received and transferred to the Receiver Holding Register. RI 20 Receiver Input Serial input data enters on this line. It is transferred to the Receiver Register as determined by the character length, parity, and number of Stop bits. When data is not being received, this input must be at high level, V1H MR 21 Master Reset A high level pulse, V1H , on this input will clear the internal logic. The Transmitter and Receiver Registers, the Receiver Holding Register, FE, DE, PE, and DRR are reset. In addition, the serial output line is set to a high level, VOH. THRE 22 Transmitter Holding Register Empty This output goes to a high level, VOH, when the Transmitter Holding Register has completed transfer of its contents to the Transmitter Register. The high level indicates that a new character may be loaded into the transmitter Holding Register. THRL 23 Transmitter Holding Register Load When a low level, V 1L , is applied to this input, a character is loaded into the Transmitter Holding Register. This character is transferred to the Transmitter Register on a low to high level transition, as long as the Transmitter Register is not currently in the process of transmitting a character. If a character is being transmitted, the transfer from the Transmitter Holding Register is delayed until character transmission has been,completed. Then, the new character is transferred simuitaneously with the start of the serial transmission of the new character. TRE 24 Transmitter Register Empty This output is at a high level, VOH, when the Transmitter Register has completed the serial transmission of a full character including the required number of Stop bits. A high level will be maintained until the start of transmission of the next character. FUJITSU 4-187 Pin Descriptions (Continued) Pin Name Pin Number Description TRO 25 Transmitter Register Output This output line transmits the Transmitter Register contents [Start bit, Data bits, Parity bit, and Stop bit(s)] serially. This output remains at a high level, VOH , when no data is being transmitted. Therefore, the start of transmission is determined by the transition of the Start bit from a high level to a low level voltage, VOL. TR1 thru 26, 27, 28, 29, Transmitter Register Data Inputs TRs 30, 31, 32, 33 The THRL strobe loads each character on these lines into the Transmitter Holding Register. If WLS 1 and WLS 2 have selected a character of less than 8 bits, the character is then right-justified to the least significant bit, TR 1, with the excess bits not used. A high input level, V'H, will cause a high output level, VOH, to be transmitted. CRL 34 Control Register Load When this input is at a high level, V 1H , the control bits (WLS 1, WLS 2 , EPE, PI, SBS), are loaded into the Control Register. This input may be either strobed or hard wired to a high level. PI 35 Parity Inhibit When this input is at a high level, V1H , parity generation and verification circuitry are inhibited and the PE output will be held to a low level, VOL. in the inhibit condition, the Stop bit(s) will follow the last data bit on transmission. SBS 36 Stop Blt( s) Select A high level, V 1H , on this input will select two Stop bits, and a low level, V1L , will select one Stop bit. If 5-bit long words are selected, a high level, V1H , will generate one and one-half Stop bits. WLS1. WLS2. Word Length Select (WLS1. WLS2) EPE. TRC The state of these two inputs determines the character length (exclusive of parity) as follows: Word Length 8 bits 7 bits 6 bits 5 bits Even Parity Enable (EPE) A high level. V'H, on this input will select even Parity, while a low level, V,L. selects odd Parity. Transmitter Register Clock (TRC) The frequency of this clock is 16 times the desired transmitter shift rate. FUJITSU 4-188 MBaa8aA Timing Diagrams Receiver Operation // ----- .... " / \ / \ . .__oSEE DETAIL #1 I \ RI ~LS_"_~_RT~I~____D_A_T_~ ~i~'S~lOPSTAf~T__~~_____D_A_T_~~i S~Trp ____ ____ RR, -RRe, PE, OE, FE ----------+-~----~i--~x~----- DR ~-ri----~~ ORR -----------------'l...\------....,U/ LJ \ , / I " '- -" " Timing for Status Flag. RR 1 • thru RRa and DR (Detail #1) 10 11 12 13 14 15 RRC RI PE, FE RR,-RRa.OE ORR DR FUJITSU 4-189 MBsseSA Timing Diagrams Transmitter Operation (Continued) ----l:-'.....JX 't: SEE DETAIL #2 ~ I/" DATA X DATA ..... I -I" / "- THRL ----~/~Ur~i~\---,/ur------~(~\----------------- I I : i \/ SEE DETAIL #. \1 / I I THRE ~-~u ! SEE DETAIL #3 ~ I I --~------~n~~i---------~~ TRE I TRO \ I~~I~)__~_D_M_A ~I__~I~I~I:_____~_~____~ ____ " . . .S~~T. . . / \ STOP START STOP "' _-_ ,,/ ......... ....... Data Input Load Cycle (Detail #2) I'---------...Jf '-- - - -- THRL tSET 'H FUJITSU 4-190 MB8888A Timing Diagrams Transmitter Output Timing (1) (Detail #3) (Continued) TRC THRL THRE TRE TRO Notes: (!) When the positive transition of THRL is 2: 500 ns before the falling edge of TRC (CF2 in the figure), then TRE is enabled at CF2. But when 500 ns >0> 0 ns, then TRE is invalid between CF2 and CF3. o THRE goes low during 500 ns Max. from the postive transition of THRL. o TRE goes low during 500 ns Max. from the first falling edge of TRC after THRE goes low with TRE high. o TRO goes low (START BIT) during 500 ns Max. from the first rising edge of TRC after TRE goes low. ® THRE goes high during 500 ns Max. from the falling edge of TRC after Start bit is enabled. Transmitter Output Timing (2) (Detail #4) CR'O CF'o CR'1 CF'1 TRC THRL THRE MAX SOOns G) TRE '; CD TRO DATA Notes: 0 0- ® Refer to Notes in Detail #3 ® TRE goes high during 500 ns Max. from the 15th rising edge of TRC after Stop bit is enabled. FUJITSU 4-191 MB...... Timing Diagram. Other Timing Diagrams (Continued) Input AHer ~aster Reset Control Register Load Cycle WLS, WLS, MR sas PI EPE THRl CRl RI Status Flag Output Data Output SFD RRD PE FE OE RRB-RR, DR THRE 4-192 .8••8.A Packa.e Dimensions (Dimensions in millimeters) O'to9' 40-Lead Ceramic J4.~1 (Metal Seal) Dual In-Line Package A.OSOll.271 DIP-40C-A01 AEF INDEX AREA C:=:====:::j I I .605115.381 J:~::::::: ~~~~~~=-=-~~,~.mro~100;'=29;1=:~~~~=-=-~~1 ~~--~~ 2.020151.31) .~ ~'7714'00IMAX ~LUJ ~! .120t3.0S1 .10013.811 .09012.291 .03610.911 .01510.381 I .04011.021 .11 012. 791 .05511.401 .023tO.581 .060(1.531 1.900(48.26)REF @1988 FUJITSU LIMITED D40008S-1C 4D-Litad Plaatlc '""'"'; ;;;;;~'~~ ~"~ ;;IIJ~~I=~ Dual In-Line Package DIP-40P-M01 I 2.045(51.951 2.071 (52.BO) I .09012.291MAX a~·'95(4.96IMAX :=P'1813.00IMIN .02010.51 )MIN .021(0.54} @1985FUJITSULIMITEDD40005S·1C 4·193 MB 8867 FUJITSU MB 8867E 11111111111111111111111111111111111111111111111111111111111111111 October 1982 Edition 2.0 TWO-PHASE MICROPROCESSOR CLOCK The Fujitsu MB 8867 is an advanced Microprocessor Clock Generator/Driver LSI manufactured with Fujitsu's bipolar TTL process. The circuit generates non-overlapping two-phase clock signals for the Fujitsu MB L 6800 micro- processor unit or similiar single +5 volt MPU's. Additionally, two·phase TTL clock signals synchronized with the MPU clock are provided, as well as an MPU data strobe, reset/clock controls for the memory interrupt, and an automatic power·up reset. With the MB 8867, the entire MPU timing ·system can be designed with one chip and a minimum of external components. A built·in oscillator permits external timing control by a ·crystal; or RC network timing can .be utilised for less critical applications. In th~ former; the CERAMIC PACKAGE DIP-24C-C01 internal frequency divider is rate selectable, so that the output frequency is either 1/4 or 1/16 of the source frequency. Driver circuits are included on the MB 8867 which eliminates the need for external buffer gates and reduces system package count. Output drivers are short - circu it protected. • Single chip two·phase clock generator with on-chip drivers • Short·circuit protected outputs • Complete MPU system timing network including dynamic memory refresh PLASTIC PACKAGE DIP-24P-M01 • Single +5V power supply • Low power consumption: 450 mW typo • Reliable TTL process PIN ASSIGNMENT • Two·phase TTL clock signals • Data strobe for memory control synchronization • Automatic power-up and manual reset GND Vee • Clock controls for memory interrupt R. REO XT, • Crystal or R C network frequency source R. GRANT XT, • Selectable source frequency options M.GRANT INH • Works with high speed microprocessors M. ROY EXT. IN • Standard 24 pin package 4M R. SEL • Minimum external components required 2M RESIN ABSOLUTE MAXIMUM RATINGS (See NOTE) M.CLK RESIN Symbol Value Unit DATA ST8 Rating AC $1 TTL RESET Vee Pin Potential to GND Pin Vee +7 Max. V "'2 TTL ¢l Input Voltage V ,N -0.5 to +5.5 V GND ¢, Output Voltage Vo -0.5 to +5.5 V Operating Temperature Top -25 to +125 °c Storage Temperature T stg -55 to +150 °c Small geometry bipolar integrated circuits are occasionally susceptible to damage from static NOTE: Permanent device damage may occur if ABSOLUTE MAXIMUM voltages or electric fields. It is therefore advised RATINGS are exceeded. Functional operation should be restricted to that normal precautions be taken to avoid application of any voltage higher than max- the conditions as detailed in the operational sections of this data imum rated voltages to this device. sheet. 4-194 IIIII~IIIIII~IR~IIIII~IIIII~IIIII~IIII FUJITSU MB 8867 IIIIIII.IIIIIIIIIIIIIIMIIIIIIIIIIIIIIII MB 8867E INTRODUCTION The MB 8867 provides the two-phase clock signal input for system cost and power consumption. A major design the MB L 6800 microprocessor or any similiar timing signal problem in such systems is to provide dynamic RAM refresh required in a microcomputer system. The IC incorporates the timing signals synchronized with the operation of the MPU. necessary logic to ensure that these clock signals (et>. and et>,) The MB 8867 solves this problem with its refresh control are non-overlapping; and, additionally, the MB 8867 is pins, R. REO and R. GRANT (Refresh Request and Refresh designed to accomodate direct connection to high capacitive Grant). loads (typically 170 pF) without additional buffering_ In the pin description below, all TT L compatible inputs and Most high speed microprocessor controlled systems utilize outputs are indicated by "TTL input" or "TTL output" and dynamic random access memories in order to minimize later refered to in the characteristic tables by these terms. DESCRIPTION OF PINS XT 1 , XT2 R. SEl (TTL input) Two pins are provided for the connection of an external When R. SEL is high (open), the one-by-four frequency crystal. The crystal selected should be either four or sixteen divider is operational; when R. SEL is low, the divider is times the desired output clock frequency. Small picofarad bypassed. As an example, a 16MHz external time source will capacitors are provided internally in the oscillator circuitry_ generate a 1MHz output clock frequency if R. SEL is high. However, for fine oscillation control, an additional small capacitor (3 pf to 10 pf) in series with the crystal may be 4> 1,4>2 MPU output clock drivers. 4>. and 4> 1have non-overlapping used_ control. EXT. IN (TTL input) This input is used for an external RC network to provide 4> I TTL, 4> 2 TTL (TTL outputs) timing control when a crystal is not utilized. Note that, like TTL level output clock drivers synchronized with 4>. and 4>" the crystal source, the input frequency will be either four or respectively. sixteen times the desi red output clock frequency. See the DATA STB (TTL output) APPLICATIONS INFORMATION section of this data sheet Data strobe signal for memory read and write operations. for proper external component connection. DATA STB goes high one cycle of the 4M output frequency M. ClK (TTL output) after 4>2 goes high; DATA STB goes low just before 4> 1goes Provides a reference clock driver for external memory low. If M. ROY is not interrupted, DATA STB will maintain synchronous with et>" The frequency is identical to the its high state during the last quarter cycle of et> 2. output clock frequency (et>., et> 2), but is not affected by RESIN, RESIN (TTL outputs) switching R. REO (refresh cycle). Provides manual input reset. After reset, RESIN is brought 2M,4M (TTL outputs) low and RESIN is open. Manual reset occurs when these 2M and 4M are pulse train drivers with frequencies of two states are reversed. An internal flip-flop prevents switch-on times and four times the output clock (4). , 4> 1) frequency, chattering. respectively. When R. SEL is low, EXT. IN and 4M are in RESET (TTL output open-collector) opposite phase. Therefore, ring oscillation can be generated Open-collector output pin to provide the reset function. without an external crystal by inserting an appropriate RC R. REO, (TTL input) R. GRANT (TTL output) network between 4M and EXT. IN. See the APPLICATIONS These pins provide memory refresh control. R. R EO is INFORMATION section of this data sheet for circuit usually kept high. To start the refresh cycle, R. REO is information. brought low, and then R. G RANT goes high at the next RC falling edge of the memory clock_ Then R. REO is brought Provides automatic power-up reset function by utilizing an high, and R. GRANT will go low at the next falling edge of external RC network. REm goes low with the rising edge the memory clock. et>. will stay high and et> 1 will stay low of 4>. when RC 'is less than 0.8V; RESET goes high when RC during refresh. R. GRANT may be connected to the three is greater than 2/3 Vee. Therefore, automatic power-up reset state control of the MPU system to provide refresh for is obtained by providing a delay slower than the rise time of dynamic memories and DMA (Direct Memory Access) in the Vee· "cycle steal" mode. M. ROY, (TTL input) M. GRANT (TTL output) INH (TTL input) Provided for low speed memory control. M. ROY is usually Used to control internal oscillation. The oscillator is opera- kept high. When M. ROY is brought low, M. GRANT goes tional when INH is brought high (open); the oscillator is low on the next falling edge of 4M. The high state of et>, is inhibited when INH is brought low. extended for the period that M. GRANT is low. At the same 4-195 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImlillmimmili MB 8867 FUJITSU MB 8867E 1111111111111111~llllllllmlllllllllll!lml!l! time, the high state of M. elK and DATA STB are recommen,ded if the supply rail is long in order to reduce maintained. This permits a long time period for memory supply impedance. read operations. GND 1, GND2 Vee Two ground terminals are provided in order to reduce Connected to the +5V supply. BY'pass capacitors are internal impedance paths. Fig. 1-MB 8867 BLOCK DIAGRAM r-r-- ,~ I XT1 r.:::==:::l-------.-~_f>_l_- ~, f--J:-XT, L,..::;;::~J-r----trr_l>i- ~, 11 "--1>+--4>2 TTL -t/J, TTL I-+---f.:>+-- DATA STe ~~_____-1--L-~_~_____-+_~~ __ M.GAANT ----i~-:_:_:-----t.---j-~>-----------t--{>--:-- R. GRANT Vc. Pulse Width (4)d pw~, ns MB 8867E Tc -100 2 MB 8867 Tc -50 2 4>2 Pulse Width (4)2 ) pw~, ns Fig. 4 MB 8867E Tc -100 2 Rise Time (4). , 4>2) tr~ 20 40 ns Fig. 3 Fall Time (4). , 4>2) tf~ 15 30 ns Fig. 4 4>. to 4>2 Delay Time (4). , 4>2) td. 5 20 30 ns Fig. 3 4>2 to 4>. Delay Time (4). ,4>2) td 2 5 20 30 ns Fig.4 Tc -30 Tc Pulse Width (4M) pw. ns 8 8 Fig. 3 (M.RDY=INH=R.SEl=HIGH) Tc -30 Tc Fig. 5 (2M) pw, ns 4 4 Tc -30 Tc (M.ClK) pWM ns 2 2 Fig. 3 Tc Fig. 6 (DATA STB) pw o Tc -30 ns 4 4 4M to M.GRANT Delay Time 4G 50 ns Fig. 3 4M to M.ClK Delay Time 4MC 15 30 ns Fig. 5 M.ClKto 4>. Delay Time tM, 5 20 60 ns M.ClK to 4>2 Delay Time tM, 15 40 80 ns Fig. 3 M.ClK to DATA STB Delay Time tMO Tc -30 Tc +15 ns Fig. 6 4 4 M.ClK to R.GRANT Delay Time tMG 50 ns M.RDY Enable Time tEM 50 ns Fig. 3 M.RDY Disable Time tOM 50 ns Fig. 5 R.REO Enable Time tER 50 ns Fig. 3 R.REO Disable Time tOR 50 ns Fig. 6 4-198 1111111111111111111111111111111111111111111111111111 FUJITSU MB B867 1111111111111111111111111111111111111111111111111111 MB 8867E Fig.3-AC TEST CONDITIONS Load for TTL Outputs TTL Input Waveform Load for ¢! and 1>2 Vee 90% i r - - - - - - - - - . r - 2 . 4 V TTL Output ~>-t<:f--1>----< Equivalent I to lS460 CL¢ ~ )170 pF ITc~ 750n,) 1120 pF (Tc~500n') Fig.4-TlMING DIAGRAM (1) I-~~--PW-¢-,----Te----------------l Vee- 0 .3V <1>, 0.3V I~--------------~ Fig.5-TIMING DIAGRAM (2) Fig.6-TIMING DIAGRAM (3) 4M 2M M.CLK "MC 4-199 1IIIIIIIIIIIIIIIIIIIIIIIIIIml l l l l l lilim MB 8867 FUJITSU tAB 8867E 1111111111111111111111111111111111111111111111111 TYPICAL CHARACTERISTICS CURVES Fig. 7 - lee suppi. V CURRENT Fig. 8 - liN INPUT CURRENT Fig. 9 -IOl OUTPUT LOW CURRENT 200 vsVee SUPPLY VOLTAGE VI Y,N INPUT VOLTAGE' V, VolOUTPUT LOW VOLTAGE(TTLOUTPUTS) 1.0 .JIf / I"""'" ~ 0.8f-_--I_ _+ _ _+-_V_cc_=-15f-.0_V_-i lV 1 Vcc =5.0V TA=7O TA=25"C ':;"" ~ 0.61----1--+--+---,.-11-:--,.--1 / ' ~A=70"C /K'A=O"C ~ TA=25"C ~ 0 ~ 0.41----I--+-'--+--';;.~1!;ilII:::;;;<~ /' TA=Ooi !:; 0 / -4 o ~ 0.21---::;l~""'+--+- ,,,,"" > ,, -5 I 4 -2 -1 o o 10 20 30 40 50 vee. SUPPLY VOLTAGE (V) V ,N _ INPUT VOLTAGE (V) 'OL' OUTPUT LOW CURRENT {mAl • except inputs with pull-up resistor Fig. 10 - IOH OUTPUT HIGH CURRENT Fig. 11-IOl OUTPUT LOW CURRENT Fig. 12 - ,. , CLOCK PULSE WIDTH VI VOH OUTPUT HIGH VOLTAGE(TTL OUTPUTS) VS VOL OUTPUT LOW VO LTAGE( OUTPUTS) 600.-_~~'~·~T~erC_Y_C_L_ETT_IM_E--"'-77-' 5 1.0 Vcc =5.0V 2w 0.8.f--=+--+----+'---*-::~ ] 500 TA=25·C ClO =170 pF ~ J: b §l 0.6f----+--+--h69f=-----1 it 400f----+--+-~<-t- ~ ~ ~ ~ 0.4f--+--::;dli~'--I--+---1 .. 300f----+"-~+--+--_1_1---1 f ~ ~ 0.2II1II'"""-+--+--+---;----1 t o 20 40 60 80 100 1~~-~600~-n8~OO.-~10~OO~~120~0,-.7.1400 'OH' OUTPUT HIGH CURRENT (mAl 'OL' OUTPUT L.OW CURRENT (mAl T C. CYCLE TIME In51 Fig. 13 - IOH OUTPUT HIGH CURRENT Fig. 14 - C lO LOAD CAPACITANCE 5 v,V OH OUTPUT HIGH VOLTAGE (OUTPUTS) WI PW4I1 PULSE WIDTH 550 vcJ5.0V 2 500 w ] ~o ...J: 450 0 /' TA=O"C > J: il I~ w ...'" ~ ;: TA =250(; ~ 400 TAj70 C- ...~ ::l <; o f ~ 1 350 > 300 -1 -20 -100 o 50 100 150 200 250 'OH' OUTPUT HIGH CURRENT (mA) <;Lcp' LOAD CAPACITANCE (pF) 4-200 IllmllmIIWIII~IIIIIIIIIIIIIIIIIIIIIIIIIIII!! FUJITSU MB 8867 II.I~.IIIIIIIIIIIIIIIIIII~IIIIIIIIIII MB 8867E APPLICATIONS INFORMATION 1. Crystal Oscillator: Fig. 16-Standard Capacitance for Crystal Oscillator The crystal oscillator circuitry is shown in Fig. 15. Oscilla- tions between the serial (fo) and parallel (foo) resonant fre- quency of the crystal can be generated. Pico farad capacitors (e l 0, C2 0) are diffused on-chip. Therefore, oscillation can be generated by simply connecting an external capacitor (C 2 - 50p F) from XT 2 to ground. Normally, a crystal .,u with a resonant frequency of four or sixteen times the c: desired output clock driver frequency is used_ The selection l!! .~ depends on whether the R. SEL pin is high (16X) or co low (4X). C,) External crystal specifications: Osci lIator Frequency 22 MHz max. Load Capacitance 10 - 30pF 20 (MHz) Equivalent Resistance 75 ohms max. Frequency of Oscillator Resonant Power 4mW max. and Recommended Crystal Frequency Range Fig. 1S-0scillation Circuitry 2. 1/>1, 1/>2 Clock Driver Circuit The output clock driver circuit is shown in Fig. 17. These circuits are designed to drive capacitive loads with a r-------- - high amplitude pulse train. The pull-up resistor Rp has a I Vee nominal value of 500 ohms, and is on-Chip in order to swing I 1/», 1/>2 up to Vee. When 1/» , 1/>2 are'grounded, Rs (10 ohms) Ie,) I I and a.. protect.the output driver 0 3 , I XT, f l-...-O-------<~~OutPut Fig. 17-Clock Driver Circuitry _ ef-,_X4TJ.,......V V\rH e I I2. ------------, I'" I Bias -~-----<~-~-___<~'Vcc: I I I ________ _ L I I Rp I I I I I I I I Typical Frequency of Crystal Oscililltor I I I Clock Cycle Inherent Frequency of ________ -=-_J Frequency Time Crystal Oscillator (MHz) (MHz) (ns) R.SEL=H R.SEL=L 1.00 1000 16.00 - 1.33 750 21.33 - 3. Input Controls 2.00 500 - 8.00 All input controls (lNH, R. SEL, R. REO, M. ROY, RESIN, RESIN) are TTL comp~tible. To simplify system packaging, all these pins have internal pull·up resistors so that they may be left open (unconnected) if desired. 4-201 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIIIIIIII MI 1867 FUJITSU MI 8867E 1111111111111111111111111111111111111111111111111 Fig. 18-CLOCK GENERATION USING CRYSTAL Vee I '? 4Kn t 20pF vee XT I ~ to RESET of MPU lOOK n ,l, XT 2 RESET _ 50pF T RC -- .J 3Kn '1 4Kn (. lEXT.IN J4M 1000pF INH to RESET of MPU RESET lOOK n R.SEL to RL r iCL " TTL QUTPUT-----t----IK ..<1--J-----1 lN3064x4 ~ ~ (or Equivalent) RL= 2k!1 C L = 15pF ~7 (including jig capacitance) 7J,~ Fig.3 TTL OUTPUT WAVEFORM VOH----... V OL - - - - ' 1--------tct-----~___1 Threshold voltage = 1.5V Fig.4 TTL INPUT WAVEFORM VIH=3V.VIL=OV tr = tf = 10ns Threshold voltage = 1.5V 5-15 111111111111111111111I111111111111111111111111111 FUJ!TSU MB 502A 1111111111111111111111111111111111111111111111111 AC CHARACTERISTICS (Cont'd) AC TEST CONDITIONS (Cant'd) Fig.5 TXDATA± OUTPUT LOAD CIRCUIT TXDATA+ ~--~---.l\,"I'v-----, RT v,V\r- TXDATA- ~---+---'V v---~ Ti Fig.6 TXDATA± OUTPUT WAVEFORM VO H - - - ' I---------tc,--------I Fig. 7 RXDATA+, COL+ INPUT WAVEFORM 2.5V V 1L - - - - - V 1H = 3.5V, V1L = 1.5V tr= tf = 2.0n5 RXDATA-, COL- Input voltage = 2.5V (DC) DCLINK = OV (DC coupling) 5-16 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MB 502A TYPICAL CHARACTERISTICS CURVES Fig. 8 Fig. 9 TXDATA± RXDATA±, COL± Output Voltage vs. Output Current Input Current vs. Input Voltage -0.6 r---r--,.-,--,---,-,-----,----, 0.8 0.6 r-- T~ ~ 2~'C Vee ~ 5V ~ 0.4 I E I ~ ~ 0.2 DCLINK ~ Vee~ ~ 3 0 ~ -0.2 ~CLlNK~OV f-- ~~ ~ ;;: -0.4 -0.6 ~ -20 o -0.8 Io 2 4 6 10 Output Current (rnA) V 1N Input Voltage (V) Fig. 10 Fig. 11 TTL-OUTPUT TTL-OUTPUT High Level Output Current vs. Low Level Output Current vs. High Level Output Voltage Low Level Output Voltage ~ 0 r--Ta I~ 251C .......: gV ~ .§ 16 r-- TaI ~ 25~ C I E E ~ AV E ~ 12 Vee ~ 5V I ~ ~ ~Vee~4.5V_ t-- 1 ::> ~ u () -40 ~ ::> ~ :; 0 e ::> 0; '" ~vee ~ 5V Vee~ 5.5V_ f------ e 0 ::> 0; > 8 I -80 > '";: '" ...J :§, ...J 0 ...J 4 / I -' I -120 .2 o o 2 4 6 8 o o 0.2 I 0.4 0.6 0.8 V OH High Level Output Voltage (V) Vo L Low Level Output Voltage (V) Fig. 12 Fig. 13 TTL-INPUT OSC.IN Input Current vs. Input Voltage Input Current vs. Input Voltage 80 ~ 2~'C I I, 0- Tal _Ta ~ 25 C ---::: ~ Vee ~ 5V ~ ~ 40 ." 3 3 ~ ::;;0-- ~ -10 U ~::> ~ .'-Vee ~ 4.5V Vee 5V - ~ / :; "Vee ~5.5V c. ::> E -20 c. ~ z z -40 -30 -80 o 2 3 o 2 4 6 V IN Input Voltage (V) V 1N Input Voltage (VI 5-17 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIImillmi FUJITSU MB 502A 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIm Fig. 14 Fig. 15 COLi toXCOL TRANSFER (Receiver Threshold) COLi to XCOL TRANSFER (Receiver Threshold) Output Voltage vs. Differential Input Voltage Output Voltage vs. Differential Input Voltage 6 I-Tal = 2J,C I I T~ =2h 6 I-RL = Skn to GND 1 .l RL = Skn to GND I - DcrT1IlR = Vee ~ I-bCLINK = OV ~ '" f! " 4 "'" f! 4 '0 \' '0 > > :; '\ :'-Vee = S.5V ~ e-" \ ~Vee=S.5V_ ~ 2 Vee=5V- \Vee =4,5V 0" 2 \yce=SVI 0 0 0 Vee=4.SV_ > > 0 0 I I I Vdiff = VeOL+-VeOL- Vdiff = VeoL+-VCOL- -0.4 -0.2 0 0.2 0.4 -0.4 -0.2 a 0.2 0.4 Vdiff Differential Input Voltage (V) Vdiff Differential Input Voltage (V) Fig. 16 Fig. 17 TTL·INPUT THRESHOLD RC to TXDATA- TRANSFER TTL Input Threshold vs. Power Supply Voltage Output Voltage vs. RC Input Voltage -0.6 Ta = o-7Cfc Ta = 2SoC.! .I 3 Vee = OV (Shifted) - LBC~ xcoL ~ -1.0 y 1\\ RL = soon to V GNO 2 " ~ \1\ \ LBC=VGNO,I" DCLINK = OV ~~ -1.4 \ /~GNO = -4.SV VGNO=-SV 1 & 1\\ \/ [,j-vGNO = -6.SV o" -? -l.B 1\ / o -2.2 4.2 4.6 S 5.4 S,B -l.B -1.4 -1.0 -0.6 -0.2 Vee Power Supply Voltage (V) VRe RC Input Voltage (V) Fig. 18 Fig. 19 TXDATA- LOW LEVEL HOLD TIME COLi to XCOL PROPAGATION DELAY TIME TXDAT A- Low Level Hold Time . Propagation Delay Time vs. TXDATA-Idling Rise Time VS. RC Capacitance Ambient Temperature E_ 16 ~ 40 i=3 r- T~ = 2J,C I .5 "E r-C~ = lbpF I "0 " Vee =SV '0 E i= RL = 2kn J: i= 12 r-DCLINK = Vee a; " . >- a; 30 r-bCLINK = qv ~~ o ~ g' ./ V c o /Vee=4.75V .s '§ B "~ 20 V/I Vee;=SV-- .(' tLTX V ! I-- t~L / / VI /Vee = 5.25V I-<{ <{~ 100'" £ ~H~ 4 '/ ..J :r 10 1-1- X X V trlTX_ I- ~o. i..J ,~ I- I- l,...- I-- I-"" r-tr LH ./ ~:f 0 ~o. 0 o 400 800 1200 1600 o 20 40 60 80 CTX RC Capacitance (pF) Ta Ambient Temperature ('C) 5·18 IIIIIIIIIIIIII!IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII FUJITSU 1111111111111111111111111111111111111111111111111111 MB SOlA APPLICATION INFORMATION Fig.20 TYPICAL APPLICATION CIRCUIT Vee vee (+5.0V) MB 502A vee 24 f O. 1IlF C = 33pF COL- ""fjit '::"~~]II L 270n COL+ TXDATA- ,~:'J]IIL TXDATA+ RXDATA- RXDATA+ p'N-sL._ T E N _ I . - - - - - - - ! 8 TEN DCLINK TXD - ; . - - - - - - - 1 9 TXD LBC 16 T C K N - + - - - - - - - i 1 0 TCKN XCD 15 RXD - f - - - - - - - - ! 1 1 RXD XCOL EDLC MB 8795B RCKN ~I----...., GND RCKN 13 I XCOL - f - - - - - , I XCDn LBC~ LL--------------~ ---~ ----------------' Note: 39n resistors must be balanced less than 1 %. 5-19 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII!IIII: FUJITSU MB 502A 1111111111111111111111111111111111111111111111111111 Fig. 21 TYPICAL COMPONENT LAYOUT ry- I I I OSC.IN I l-----f--OOSC.REF _______-... @ 0 RESET o TEN °0 o 11 TXD LBC 0 0 TCKN XCD EDLC MB 8795B RXD XCOL RCKN 00 00 00 000 000 Note: The faces ® and ® must be the stortest possible. 5-20 1111111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111111 MB 502A PACKAGE DIMENSIONS 24·LEAD CERAMIC (CERDIP) DUAL IN·LINE PACKAGE (CASE No.: DIP·24C·C01) 02510.64) REF l .514113.06) fl .600115.24) .600115.24)TYP hD. ,. .,.O-.- To-ror-r,-DT O"T" TD-.-rD-r-lo. . . ,. . -o,.I.,-o-r-r~-]'" '''[]~=-+--,- 1.200130.48) 1.300133.02) .09012.29) 5j .230 15.84)MAX .12013.05) .15013.81) .11012.79) .02010.51) .05011.27) ~--+---~~~~=----+~ .01510.38) Dimensions in inches (millimeters) .02310.58) 5·21 Preliminary Advanced Products FUJITSU • MB8795B Ethernet Data Link Controller Description The Fujitsu MB8795B Ethernet Data Link Controller (EDLC) manufactured with Fujitsu's Advanced CMOS Technology, is designed for Ethernet' Local Area Network Systems and to I be used with Fujitsu's MB502A Ethernet Encoder/Decoder (EED). - r- I- The MB8795B EDLC provides the user with a low power imple- - I- mentation of the Data Link Layer of the Ethernet Blue Book Specification. High throughput is possible via the separate data - I- ports, while low cost implementations are also possible by tying - r- t-- the ports together. The host system communicates with the "MB8795B EDLC using the command and status registers accessed through the control - ...:;:."_·····'_.a ..... · v - I- port. Functions provided include complete transmit and receive control, and interrupt masking. Features • Implementing Ethernet Blue • Random exponential backoll Book Specification to recover from collisions • Function to generate and • Three separate data ports remove preamble and CRC providing flexible interlace; • Conversion between serial Transmit, Receive, Control and parallel Data Ports • Four modes of address • Optional parity check on recognition transmit byte stream Accept no packet, Physical • Odd parity generated for receive byte stream Address/Multicast-group Address/Broadcast Address, • Low power, advanced silicon gate CMOS technology Physical Address/Multicast Address, Accept all packets • Space saving 64-pin pin grid array package Note: *Ethernet is a trademark of Xerox Corp. 5-22 MB8795B Block Diagram RROV TEM RSTB RECEIVE FIFO ROEN CONTROL ROo· TRANSMIT RECEIVE CRC CRC RD, RECEIVE 4 BYTE 6 BYTE RPAR PORT CRC ASYNC. 6 BITE TRAP FIFO REOF BACKOFF ADDRESS RAM RDIS Pin Assignment TRANSMIT GROUP DATA CONTROL GROUP CONTROLS CONTROL GROUP DATA TRANSMIT GROUP CONTROLS CONTROL GROUP ADDRESS FUJITSU 5-23 MBS795B Pin Assignment (Continued) PIN Pin PIN Pin PIN Pin PIN Pin No. I/O Name No. I/O Name No. I/O Name No. I/O Name 1 0 TEM 17 WRC 33 T02 49 I/O 1006 2 0 RROY 18 WRB 34 I TOO 50 ROA 3 RSTB 19 CE 35 0 TPOK 51 ROB 4 0 ROO 20 I WRA 36 I TSTB 52 ROC 5 0 R02 21 0 TINT 37 0 ROIS 53 RST 6 0 R03 22 0 RINT 38 I ROEN 54 Vss GNO 7 0 R05 23 0 PRST 39 0 R01 55 I RCKN 8 0 R07 24 0 TM 40 Vss GNO 56 XCOL 9 0 RPAR 25 RXO 41 0 R04 57 I XCO 10 SA1 26 I TCKN 42 0 R06 58 0 LBC 11 SA3 27 0 TXO 43 0 REOF 59 TEOF 12 I/O 1000 28 0 TEN 44 SAO 60 T06 13 I/O 1002 29 TPAR 45 SA2 61 Voo Vee 14 I/O 1003 30 T07 46 I/O 1001 62 I T03 15 I/O 1005 31 T05 47 Voo Vee 63 I T01 16 I/O 1007 32 T04 48 I/O 1004 64 0 TRET Absolute Maximum Ratings Value Rating Symbol Min. Max. Unit Supply Voltage Vee GNO - 0.3' 7.0 V Input and Output Voltage VI, VOUT GNO - 0.3' Vee + 0.3' V Storage Temperature TSTG -55 150 °c Operating Temperature Top 0 70 °c Note: *0.3 V is for stable state. For transit state, 0.5 V is allowed. (20 to 30 nsec.) Note: Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Capacitance (TA = 25°C, Vee = VI = GNO = OV, Value f= 1 MHZ Parameter Symbol Min. Typ. Max. Unit Input Capacitance CIN 8 pF Output Capacitance COUT 8 pF Bus Capacitance CliO 12 pF Recommended Operating Conditions Value Parameter Symbol Min. Typ. Max. Unit Supply Voltage Vee 4.5 5.0 5.5 V Operating Temperature Top 0 70 °c FUJITSU 5-24 MB8795B DC Characteristics Value Parameter Symbol Min. Typ. Max. Unit Power Supply Current lee 0 0.1 mA (For Stable State; VIH = Vee. VIL = GND) Output High Voltage (loH = -O.4mA) VOH 4.0 Vee V Output Low Voltage (lOL = 2m A) VOL GND 0.4 V Input High Voltage VIH 2.2 V Input Low Voltage VIL 0.8 V Input Leakage Current (VI =OV to Vee) III -10 10 JiA Input Leakage Current for Bus Pins I LZ -40 40 JiA (VI =OV to Vee) AC Characteristics Control Register Read Timing Value Parameter Symbol Min. Typ. Max. Unit Read Pulse Width tRW 35 ns Read Address Pulse Width tRAw 35 ns Read Access Time (C L = 80 pF) tRA 110 ns Read Address Access Time (C L = 80 pF) tRAA 150 ns Read Turn-off Delay Time (C L = 80 pF) tRZ 10 ns Read Address Turn-off Delay Time tRAZ 20 ns (C L = 80 pF) Address Register Read Access Time tARRA 300 ns (C L = 80 pF) Address Register Read Address Turn-off tARRAZ 20 ns Delay Time (C L = 80 pF) Address Register Read Address Setup Time tARRAS 15 ns Address Register Read Address Hold Time tARRAH 90 ns Control Register Write Timing Value Parameter Symbol Min. Typ. Max. Unit Write Pulse Width tww 35 ns Write Address Set-up Time tWAS 30 ns Write Data Set-up Time twos 15 ns Write Address Hold Time tWAH 40 ns Write Data Hold Time t woH 80 ns Test Pin Delay Time (CL = 50 pF) tT 150 ns Transmit Status Register Reset Delay Time t TS 150 ns (C L = 50 pF) Receive Status Register Reset Delay Time t RS 150 ns (C L = 50 pF) Reset Register Reset Delay Time tR 220 ns (C L = 50 pF) FUJITSU 5-25 Ma87ua AC Characteristics (Continued) Transmit Timing Value Parameter Symbol Min. Typ. Max. Unit TSTB Pulse Width t TSTBW 35 ns TCKN Pulse Width tTCKNW 35 ns TCKN Frequency f TCKN 10.2 MHz Transmit Data Set-up Time t TDS 20 ns Transmit Data Hold Time tTDH 25 ns TEM Delay Time High (C L = 50 pF) tTEMH 100 ns TEM Delay Time Low (C L = 50 pF) tTEML 150 ns TEM Delay Time Low (Sync.) (C L = 50 pF) tTEMLS 170 ns TEN Delay Time (C L =50 pF) tTEN 55 ns TXD Delay Time (C L = 50 pF) t TXO 70 ns TPOK Delay Time (C L = 50 pF) t TPOK 150 ns TRET Delay Time (C L = 50 pF) tTRET 140 ns TINT Delay Time (Transmit) (C L = 50 pF) tTINTT 160 ns Receive Timing Value Parameter Symbol Min. Typ. Max. Unit RCKN Pulse Width tACKNW 35 ns RCKN Frequency f ACKN 10.2 MHz RSTB Pulse Width t ASTBW 35 ns ROEN Pulse Width tAOENW 35 ns Receive Data Set-up Time tAOS 20 ns Receive Data Hold Time t AOH 10 ns RRDY Delay Time High (Sync.) (C L = 50 pF) tAAOYHS 650 ns Receive Data Delay Time (Sync.) (C L = 50 pF) t AoOS 650 ns RRDY Delay Time High (C L = 50 pF) tAAOYH 100 ns RRDY Delay Time Low (C L = 50 pF) tAAOYL 65 ns Receive Data Delay Time (C L =50 pF) 10 100 ns . tAD ROEN Access Time (C L = 50 pF) tAOENA 80 ns ROEN Turn-off Delay Time (C L = 50 pF) tAOENZ 10 ns RDIS Delay Time (C L = 50 pF) tAOIS 120 ns PRST Delay Time (C L = 50 pF) tpAST 120 ns RINT Delay Time (C L = 50 pF) tAINT 160 ns TINT Delay Time (Rcv) (C L = 50 pF) tTINTA 190 ns FUJITSU 5-26 M887958 Timing Diagram Control Register Read Registers 0-7, F IRA j.---+-IRW RDA ROB SAcr-3 1000-7 Address Registers 8-0 RDA ROB tARRAS J----l*'o-lARRAH --+O>--j.----- tARRAZ - - - - - I SAO-3 WHEN RESET OR WHEN IN LOOPBACK AND ACCEPT NO PACKET MODE. 1:-:::;::::::':':::,::::_: :::':1 tlON'T CARE ~ DATA UNDEFINED FUJITSU 5-27 MB87811B Timing Diagram (Continued) Control Regillter Write ~ WAB 1000-7 LBC TM TPOK TAET ROIS iiiiii PRST OOIM'CAIIE FWrrsU 5-28 MBB795B Timing Diagram (Continued) Transmit TSTS TDo--7 TMA TEOF TCKN TCKN TEN TXD TCKN ~ .., I - ..;c;.,I - -/ \. / l / j.--"'POK--! ;c;. ~c. TPOK X I :'- S"- !::-'TRET_ , TRET S' l SO; , !+--'TlNTT_ r' ,'.<" ~ C;o; 1;;;;\1 DON"r CARE FUJITSU 5-29 - - ------~--~--- MB8795B Timing Diagram (Continued) Receive RCKN RXO RCKN ~-------tRRDYHS--------l~ , _ _ _ _ _ _ _ _ _ _ _ __ RRDY 1--------IR005----------I =~7 ~~~~~~7t7t~~~~~~~~~~~~~~~~~~,_----------- REOF tRSTBW RSTB r--IRROYL_ I-IRROYH ..... RRDY I--IRO- RD(}-7 RPAR REOF !\ WHEN ROEN IS KEPT LOW. ________,'rot------ 1ROENW----1,..-_ _ _ _ _ _ _ _ _ _ _ _ _ _ __ ~ DATA UNDEFINED FUJITSU 5-30 MB8795B Timing Diagram (Continued) Receive (Continued) RCKN ROIS PRST RCKN J - I---'TINTO _ _ FUJITSU 5-31 MB!!79S8 Functional Description The MB8795B EDLC is prepared to reset its pOinters in ready' (RRDY) indicates a byte designed as two distinct the case of a late collision. is available to the host system. sections, a transmitter and a RSTB is a low true clock receiver. Each section provides Transmit Parallel/Serial whose falling edge causes a small amount of Conversion RRDY to be false and whose asynchronous buffering, This section has a shift rising edge causes the data in provisions for byte parity register for parallel to serial the register to be removed. (which can be ignored), data conversion, a preamble See the timing charts for preamble generation/stripping, generator, and a sychronization further clarification. CRC generation/checking, circuit for the collision and and conversion between serial carrier detect signals. Also CRC Trap and parallel data. In addition, included is the optional 'ODD' All received bytes are delayed the transmitter provides parity check that is performed by four bytes so that the last contention resol ution by on the byte data supplied to bytes of the received packet means of binary exponential the CRC generator. The parity (CRC) can be removed. After backoff. Finally, the receiver check provides added security four bytes are received the provides various modes of against internal chip failures trap will put one byte into the address recognition. due to undetected bad data asynchronous FIFO for each transmissions. subsequent byte received, Transmitter thereby always maintaining The block diagram on page 2 Transmit CRC four bytes in the trap. At the shows the various functions The 32-bit CRC generator as 'end of frame' the four bytes in the transmitter performs. defined in the Ethernet the trap are the CRG and they Specification. are never put into the Asynchronous FIFO asynchronous FI FO. A two-byte FIFO provides a Backoff minimum amount of elastic Receive Serial/Parallel A pseudo-random number buffering for the transmit byte generator (17-bits), clocked at Conversion data. Two signals are used for the bit rate so that distances This section has a shift the byte controls. The first between stations becomes register for data serial to signal, TEM, indicates that the part of the randomizing parallel conversion, a circuit input register is full. The function, is sampled at the time to recognize the end of second Signal, TSTB, is the of collision and counted down preamble, and an odd parity input register data strobe. On at the slot-time rate (512-bits) check circuit. the rising edge of this strobe defined in the Ethernet speci- input, the eight data bits, the fication, which provides a Receive CRC parity bit and the 'end of frame' binary exponential back off (TEOF) bit are latched into the The 32-bit CRC checking from collisions. register and comparison logic input register. Strobes are ignored while the register is as described in the Ethernet Transmitter State Machine specification. full. The state machine provides The TRET signal indicates the major sequencing of 6 Byte Address RAM that a collision has occurred events for the transmitter A 48-bit storage RAM used for and that the packet in including idle, preamble, data, comparing with the Destination progress should be restarted. CRC, interframe gap, jam, and Address Field of the incoming The buffer management backoff. It also provides packets (the first 48 bits after would typically flush any indicators for various error the preamble). buffers and reset its pointers conditions. to the beginning of the packet. Receiver Siale Machine Note that on the block diagram Receiver the asynchronous FIFO is Refer to the block diaQram for The state machine provides cleared by this Signal. the relation of the sections. the major sequencing through (See page 2). the receiver states including The TPOK signal indicates idle, address recognition, that successful transmission data, and holding as a Asynchronous FIFO of the packet has been discarded packet completes. It completed and the transmitter A six byte FIFO is provided so also provides indicators of is ready for the next packet. that when in diagnostic mode various error conditions. This signal goes high when a minimum size packet (6 byte transmission of the packet is destination address and 4 byte complete. CRC) can be received even in systems where the buffer Note: The TPOK signal remains management is half duplex. low long enough after the last byte The data, parity and 'end of is strobed into the FIFO, so the frame' bit are tri-stated with FIFO can be emptied and the CRC appended. Therefore the buffer signal ROEN, a low true management must remain enable. The 'receive byte FUJI'I'SU 5-32 M88711S8 Functional Description (Continued) Command/Status/Interrupt Interrupt conditions are SAo-3. (SAO represents the This section has fifteen defined by setting the registers lSB of the addreSs.) The of Transmit Marks and Receive address signals SAo-3 are registers, a register address decoder, and gating for Masks. activated by both the chip interrupt conditions. Each enable Signal CE and, write register is one byte length. Register Description signals WRA, WRB, WRC......QL The host system communicates The Register in the MB8795B read signals RDA, ROB, ROC. with the MB8795B EDlC using EDlC can be accessed via the A brief description of each these registers accessed control port with their address register is given in the table through the control port. assigned by the signals below. Register Description 7 8 5 4 3 2 1 0 ROY NET XMIT SHORT- UNDER- COll 16 PAR RD For BUSY RECVO EO FLOW COll ERR PKT 0 XMIT STATUS ClR ClR CLR ClR WR UNOER- COLl 16 PAR FLOW COLl ERR MASK MASK MASK MASK MASK MASK XMIT RD/WR STATUS - STATUS - STATUS STATUS STATUS STATUS MASKS 7 5 3 2 1 0 OVER- PKT RESET SHORT ALIGN CRC RO FLOW OK PKT PKT ERR ERR ERR 2 RECSTATUS ClR ClR ClR ClR ClR WR PKT ERR ERR ERR ERR MASK MASK MASK MASK MASK MASK REC 3 RD/WR STATUS - STATUS STATUS STATUS STATUS STATUS MASKS 7 4 3 2 1 0 TMODE+ DIS- 4 COLl RO/WR 3 2 0 IGNORE TM lBC ABLE PARITY ATTEMPT CONTNT ----------------------- Collision Attempts, Read Only ENA TST ADD ENA ADD ADD 5 RMOOE RD/WR SHORT CRC SIZE RST ENA1 ENAO PKT Write 6 RESET Only RESET - Read 7 TDR1 TOR7 TDR6 TOR5 TDR4 TOR3 TDR2 TOR1 TDRO Only FWITSV 5-33 M8e78118 Regleter Description (Continued) Ir----------- 8 8th NODE 100 RDIWR BIT A.P. 7 «5 7th BIT A.P. 5 6th BIT A.P. 4 5th BIT A.P. 3 4th BIT A.P. 2 3rd BIT A.P. 1 2nd BIT A.P. 0 1st BIT A.P.' --, I First Byte After Preamble I I 16th 15th 14th 13th 12th 11th 10th 9th I 9 NODE 101 RDIWR BIT BIT BIT BIT BIT BIT BIT BIT I A.P. A.P. A.P. A.P. A.P. A.P. A.P. A.P. I Second Byte After Preamble I I 24th 23rd 22nd 21st 20th 19th 18th 17th I A NODE ID2 RDIWR BIT BIT BIT BIT BIT BIT BIT BIT A.P. A.P. A.P. A.P. A.P. A.P. A.P. A.P. 48-Bit Ethernet Third Byte After Preamble Address 32nd 31st 30th 29th 28th 27th 26th 25th B NODE 103 RDIWR BIT BIT BIT BIT BIT BIT BIT BIT A.P. A.P. A.P. A.P. A.P. A.P. A.P. A.P. Fourth Byte After Preamble 40th 39th 38th 37th 36th 35th 34th 33rd C NODE 104 RDIWR BIT BIT BIT BIT BIT BIT BIT BIT A.P. A.P. A.P. A.P. A.P. A.P. A.P. A.P. Fifth Byte After Preamble 48th 47th 46th 45th 44th 43rd 42nd 41st 0 NODE IDS RDIWR BIT BIT BIT BIT BIT BIT BIT BIT A.P. A.P. A.P. A.P. A.P. A.P. A.P. A.P. - - - - - - - - - - - - - - - - - - - - Sixth Byte After Preamble - - - - - - - - - E (RESERVED) Read F TDR2 TDR13 TDR12 TDRll TDR10 TDR9 TDR8 Only 'Multlcast bit P11.J1'l'SU MB8795B Register Description (Continued) Transmit Status-Address OOH Bit2 Bit6 This register indicates the Read-Collision-Set when a not used status of the transmitter. collision terminates trans- mission of a packet. BitS Bit7 Write-D, no effect; 1, clear the not used Read-Ready for Packet-A error condition. copy of the Transmit Packet Bit 4 Successful (TPOK) signal pin. Bit1 Read-Reset Packet-Set For use in systems where the Read-16 Collisions-Set when a packet is received processor handles the trans- when the 16th collision for a successfully and the field mit buffer management. single packet aborts trans- type is D9DDH. The bit is Write-no effect. mission. Bytes are strobed cleared at the beginning of the through FIFO normally to next packet reception. The bit Bit6 discard the packet. is set only if the Node ID Write-D, no effect; 1, clear matches, not multicast or Read-Net Busy-A copy of broadcast. Reset packets are the Receive Carrier Detect the error condition. recognized in any Address (XCD) input. Match mode from NONE to BitD Write-no effect. PROMISCUOUS. 'Read-Parity Error-Set when the parallel to serial Write-no effect BitS converter detects a parity Read-Transmitted Packet error in the data. If parity Bit3 was Received-Indicates that check is enabled transmission Read-Short Packet-Set if a shortly after transmission was is aborted while the bytes packet does not meet the completed a good packet was continue to be strobed from minimum length requirements received by the receiver. This the FIFO, until EOF. of the Ethernet specification. is used to indicate self- reception of the packet, which Write-D, no effect; 1, clear Write-D, no effect; 1, clear allows the software to take the error condition. condition. advantage of the hardware address matching even in 1l'ansmlt Masks-Address O1H Bit2 systems which are designed The interrupt conditions Read-Alignment Error-Set for half duplex operation. This which define the signal at if a packet has bad CRC at the bit is cleared as each TINT are defined by setting last octet boundary and the transmission begins. the bits of this register. number of bits are not Write-no effect. divisible by eight. Bit 7-Rd/Wr-Gates 'Ready For Packet' Write-D, no effect; 1, clear Bit 4 Bit 6-no bit, read as D condition. Read-Shorted-Set if the Bit 5-Rd/Wr-Gates 'Transmit Receive Carrier Detect (XCD) Received' Bit1 stops during packet trans- Bit 4-no bit, read as D. Read-CRC Error-Set if the mission. Either a collision or Bit 3-Rd/Wr-Gates 'Under- CRC does not verify at the end shorted coax can cause the bit flow' of the packet. to be set. This bit is cleared as Bit 2-Rd/Wr-Gates 'Collision' each transmission begins. Bit 1-Rd/Wr-Gates '16 Write-D, no effect; 1, clear the -Write-no effect. Collisions' error condition. Bit D-Rd/Wr-Gates 'Parity Bit3 Error' BitD Read-Underflow-Set when Read-Overflow-Set if the data to be transmitted is not Receive Status-Address 02H internal asynch ronous FI FO is available to the parallel to This register indicates the full when a byte is available serial converter before the status of the receiver. from the serial to parallel converter is empty. Trans- converter. mission is aborted immedi- Bit 7 Write-D, no effect; 1, clear ately while bytes will be Read-Packet OK-Set when error condition. accepted from the FIFO until CRC of a legal length packet an EOF is encountered. received is correct. Write-D, no effect; 1, clear the Write-D, no effect; 1, clear the error condition. error condition. FUJITSU 5-35 MB8795B Register Description (Continued) Receive Masks-Address 03H operation, In this case the Bit 1-0 Collision Detect signal (a low The interrupt conditions level will inhibit the start of RdlWr-Address Match Mode- which define the signal at transmission) acts as carrier RINT are defined by setting • ModeO-accept no packets sense for the transmitter while • Mode 1-accept Node ID the bits of this register, collisions during transmissions packets, multicasts which Bit 7-Rd/Wr-Gates 'Packet are ignored, match the first three bytes OK' of the Node ID packets, Bit 6-no bit, read as 0, Receive Mode-Address OSH and broadcast packets, Bit 5-no bit, read as 0, Bit 7 • Mode 2-accept Node 10 Bit 4-RdlWr-Gates 'Reset packets, and all multicasts Packet' Rd/Wr-Test Mode-For chip including broadcast of Bit 3-Rd/Wr-Gates 'Short testing this bit: course Packet' 1) Inhibits the receiver from • Mode 3-promiscuous, Bit 2-Rd/Wr-Gates 'Align- accumulating CRC, The last accept all packets, ment Error' four bytes of a packet are Bit 1-Rd/Wr-Gates 'CRC shifted into the CRC register Resel-Address 06H Error' and checked without being Bit 0- Rd/Wr-Gates 'Overflow' Bit 7 modified, Write Only-Reset-This latch li'ansmil Mode-Address 04H 2) Changes the back off is writeable and will hold the algorithm so that the pseudo- device in the reset state while Bits 7-4 random number generator is set It is s~ the external Read Only-Collision Attempts disabled and the number to reset pin RST being low, After -Indicates the number of backoff becomes 2n- 1 +1, power up the software should collisions occured before the where n is the number of colli- first initialize all the modes last packet was sent (or sions, Also, the slot time is and masks, and then clear the aborted), This is a testing aid reduced to one (1) byte, reset as the number is cleared at the beginning of a subsequent Bit 6 Bit 6-0 transmission, not used not used, TOR LSB-Address 07t! Bit3 Bit 5 Bits 7-0 Rd/Wr-Ignore Parity-if set not used, this bit prevents the setting of Read Only-contains the least the Parity Error condition, significant 8 bits of the TOR Bit 4 register which counts how Bit 2 Rd/Wr-Address Size-When many bits were successfully set this bit reduces the Node transmitted, Counting stops Rd/Wr-TM-A bit whose 10 address match to 5 bytes on collision or drop of carrier, complement is available as instead of the normal 6, This is Count is reset with each signal pin TM, Intended to used where the node is per- transmission, control the power to the trans- forming some multiplex ceiver or any other function function on the least Node IO-Addresses 10-1SH external to the chip, significant byte of the destination address, These 6 bytes are Rd/Wr and Bit 1 represent the address against which th frame addresses are Rd/Wr-LBC-A bit whose Bit3 matched during Address complement is available as Rd/Wr-Short Packet Enable- Match Modes 1 and 2, Bit 0 of signal pin LBC, Intended to For testing, when this bit is set address 10H is equivalent to control the loopback function the receiver will successfully the multicast bit of the Encoder/Decoder or receive any packet of ten (10) any other function external to bytes or more, This function is TOR MSB-Address 17H the chip, used in half duplex systems for the loopback check and Bits 7-6 Bit 0 can be used by all testing not used Rd/Wr-Disable Contention- programs to reduce testing When this bit is set the trans- time, Bits 5-0 mitter disregards Receive Read Only-Contains the Carrier Detect This special Bit 2 most significant six bits of the function would only be used if Rd/Wr-Reset Enable-When TDR register which was' the MB8795B EDLC were this bit is zero, the checking described above. used in a two wire point to done for the special type field point link, in true full duplex is disabled, FUJITSU 5-36 .. B87t1.B Reglater De.crlptlon Interface Signal Description TEM (Transmit byte register RRDY (Receive byte ready, (Continued) Po_rGroup not empty, output) output) Vcc -+5V power supply Indicates that the asynchro- Indicates that a byte is available (two pins) nous FIFO has no room for a at the output of the async FI FO. byte. GND-ground (two pins) RSTB (Receive byte strobe, TSTB (Transmit byte register positive edge trigger input) Control Group strobe, positive edge-trigger Strobes the receive data out of CE (Chip enable, low active input) the async FIFO to the host input) system. Strobes the transmit data into This active low signal gates all the asynchronous FIFO. control port reads and writes. RDIS (Receive packet discard, output) TRET (Transmit packet - RDA,RDB,RDC (Control read, retransmit packet, output) Indicates that the bytes inputs) received so far should be These two active high and one Indicates that a collision or discarded because of bad active low signals are ANDed underflow has occurred. address, bad length or bad with CE to form read signals Buffer management logic CRC. This signal and the inside the MB8795B EDLC. should discard any remaining REOF output are mutually bytes of the current packet exclusive. WRA,wRB,wRC (Control and then restart transmission write, inputs) of the packet. Physical LInk Group These two active high and one RCKN (Receive data clock, TPOK (Transmit packet negative edge trigger input) active low signals are ANDed successful, output) with CE to form write strobes This signal is generated by the inside the MB8795B EDLC. Indicates to the buffer manage- Ethernet Encoder/Decoder One of the signals is intended ment that it will not be (EED) MB502A. It is a strobe to be a clock so that address, required to retransmit the frequency source for the data, and other controls will current packet again and thus receive bit clock and is used be stable when the internal can proceed to the next packet. to strobe RXD. write is active. RXD (Receive serial data, SAO-3 (Control port address, Receive Group input) input) RDO-7 (Receive data bytes, 3- Decoded data from the These four signals address the state outputs) MB502A EED. 16 possible registers of the Eight bits of data being MB8795B EDLC. SAO is the TCKN (Transmit data clock, least significant bit of the received. negative edge trigger input) address. RPAR (Receive data parity, 3- Generated by the MB502A IODO-7 (Control port data, a- state output) EED as a strobe frequency state outputs and inputs) source for the transmit bit Odd parity computed on the clock. These eight signals are the bi- incoming data stream. directional data used to read TEN (Transmit encode enable, and write the 16 possible REOF (Receive data end of output) internal registers of the frame, 3-state output) High true enable for MB8795B EDLC. A tenth data bit which accom- Manchester encoding. This Ttanamlt Group panies the last byte of the signal is strobed and stable at frame, which is only present if the same time as TXD. TDO-7 (Transmit data bytes, reception was successful. inputs) Successful reception means TXD (Transmit serial data, Eight bits of data to be that a packet had good CRC, output) transmitted. appropriate length and an Serial data to be encoded address match in the current onto the Ethernet Coax. Gated TPAR (Transmit data parity, mode. by TEN input) Optional parity accompanying ROEN (Receive byte output XCD (Receive carrier detect, the transmit byte data. enable, low active input) input) 3-state enable for the ten data Carrier detect signal of the TEOF (Transmit data end of bits above. This allows multi- decoder. Used by the receiver frame, input) plexing the receive data port as data gate and by the Required data bit which signals with the transmit and control transmitter as contention the last byte of the frame. ports in low cost systems. ·information. After the byte having this bit is sent, CRC transmission will start. FU.JI'l'SU 5-37 MB6795ii Register Description (Continued) XCOL (Collision presence, Misc. Group TINT (Transmitter interrupt, input) PRST (Packet reset, output) output) A TTL copy of the Collision Indicates that a complete and Same as RINT for transmitter presence pair ofthe transceiver legal packet of type 0900H interrupt. cable. The idle state is was received. This is intended indicated by a logic "1" and to be used as a remote reset RST (Reset, low active input) the collision is indicated by a function. 10 MHz square wave. TM (Test mode, output) RINT (Receive interrupt, A copy of a software loadable LBC (Loopback Control, output) latch. Intended to control a output) circuit to turn the Transceiver A logic "0" indicates the A copy of a software setable receiver interrupt condition power on and off. latch used to command the coincides with its correspond- M13502A EED to operate in ing mask bit. Loopback mode. Timing Diagram Transmit Good Packet (1) TPOK (OUT) \ ~----------~s~,----------------------------- TRET (OUT) --------------------------~s~s----~------~--------------- ,.._ _ _ _ _ _.....,r> rJ.._ _ _.,*~ 'NOTE 1 I I "In r TEM (OUT) ~~-----I~ ~------iJ1 S---~\ ~ \ Ir- TSTB "-A '---' (IN) I ~ I T~~7, TPAR ~z.=:=:::::,...,.:.. . .:..~o:!~'~;r:. . .==::::=:=====:~ ~ TEOF T""'0"'A I ~ "0" L /. .~ 7 "0" \ I L "0" \ "0" Ir (IN) TEN i01JL I ,..----~~~S-----...,.---_!I----...,---.,jl.....- I I I (OUT) I I I TXD :v-v \xxXxxXxlXXXxy .rvviMMM V'- (IN) I I I I TCKN (IN) I I I I I tn.W~~~~S--------r!------------!r------- XCD (IN) t I - I .111 .. BYTEO ---+-to·.........- I!.. BYTE1- I I ---IDLE-------_+ .. :.:;::BLE -----o·-!I. . .t-----n-+1-B-YT~~T:, -O.-•• -.-.c---- *Note1: This period could be as great as 1% byte times. FUJITSU 5-38 ..B878SB Timing Diagram (Continued) Transmit Good Packet (2) I,~---+----~.~ ------------------------------------------------4st---1l~~-.~N~O~~I~~ TPOK (OUT) TRET (OUT) IS I TEii (OUT) T8TB ,~--------------------------------4Sl~---~ ~~------------------~5i~------__¥ (IN) , T'f,j;7. TPAR~H"" ri'i::i:/u T~~ )jjj)JJjJjJ "1"1' \lifO' 'n"",' ,S . . ._____ T~~UT) nwN) I. "NO~ 2 * "I *I X X X *1 1 1 1 xii , X X xiii , X1 X 1 :s-:.ax. .I_I...ii,....-------""~S___ \.~-------------------'l,. ,~ TCKN (IN) XCD (IN) F , , I n , I 51 II .I' \\ u XCOL ,II ,'I CRe --55- CRe ........,II (IN) .. I • BYTE .. ' .. I n I 0 3 I I I ---------DATA--------.....-II...·c---~:;... "'I "Note 1: Must be less than - 5.0 II sec. to guarantee minimum packet spacing. "Note 2: This could be 11"-211,, byte times. 5-39 MB8795B Timing Diagram (Continued) Transmit Collision-First Fifteen Collisions only TPOK (OUT) TRET (OUT) TEM ,.-----'i.r,-';- - - - (OUT) TSTB (IN) TEOF (IN) TEN (OUT) TXD (OUT) TCKN (IN) xeD (IN) xeOl (IN) __ ~!~~~~~~ ____ ~~ ______ -.~~:~ __________ ~4- ___________________ B'~KOFF ______________-'~PREAMBLE TRANSMIT 16TH COLLISION, PARITY ERROR, UNDERFLOW ERROR • SOLID LINES INDICATE 16TH COLLISION . • DOTTED LINES INDICATE PARITY ERROR OR UNDERFLOW ERROR. ·Note1: Must be less than = 5.0 J.I sec. to guarantee minimum backoff time. FUJITSU 5-40 MB87958 Timing Diagram (Continued) nansmlt 16th Collision, Parity Error, Underflow Error • Solid lines Indicate 16th collision. • Dolled lines Indicate parity error or underflow error. ',/J TPOK (OUT) TRET (OUT) ss TEM (OUT) T5T8 (IN) STROBES BYTES AT NORMAL RATE UNTIL EOf IS STROBED. NEXT PACKET IF READY IMMEDIATELY IF THE UNDERFLOW CONTINUES, AFTER EOF STROBED AND TPOK. THE SAMPLING WILL STILL CONTINUE UNTIL A VALID EOF IS LOADED. TeOF \.....2.~"'....L.2i·:;;S!tLCCC:· \,.Jo_-~S~ (IN) TEN (OUT) TXD (OUT) X XX X X XX ____________________~~________\,~__~,,~ TCKN (IN) J\J\Jl XCD (IN) xeOl (IN) Receive ss XCD I (IN) I I I I RXD _ _ _.6.1_'............................... n~sOJ \ ..... ~ y X X Y X X Y tyrtSio)I'"'IIU"''IIX'''X-X-X'''Yr7"''lXlI''''''r.y..t*' 'X5' Mf\. r--- , I (IN) RCKN BYTEO _~BYTE1"""" ,.... BYTES I -i'I..........-- BYTE8 ~II (IN) CLOCKS DROPPED I CLOCK PHASE BYENCODERI I I HERE IS DECODER TO ALLOW I+--soons-+-l ARBITRARY PLl TO AOUIRE. I I RDIS (OUT) ')s II RRDY (OUT) ------------------~~,~S----------------~S~ ss RsrB ----------------------------------I);~ V- (IN) ------------------1)', SS-----------------..IS. ',,...------------- RDEN (IN) R~~~) :::::::::::X :~ S."SS-..~.."!,.."!,.."!,.."!,.."!,.."!,.."!,.."!,...."'..'!!'"' ' !!'i..it.."'.-..."'.."!'.."'"',."'...."'.."!'.."'.-."!,..''':'':'':':.·••.•~t~ :~ .,.:\:i:' RPAR : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :.. : BYTE 0 X REOF (OUT) it ~r,."'"',, ..-'"""''"''"''"''"''"''"''"''"'...... ~iii'"'<·'"'·.?'"')'"',.·••'"' •'.•'·'"'r....,\4~ ~r,.,i'"'II'"'Ir"">"'."''"'''·""'"''''''"',,:,""'''' ·0" I FUJITSU 5-41 MBl!795B Timing Diagram (Continued) Receive-Address Mismatch, Overflow Error, CRC Error, Packet Length Error I ALLOWED EXCESS BITS XCO (IN) $ \ \ \\ \ AXO (IN) xxxxxxxXx BYTEn RCKN (IN) VVV\. IF ADDRESS HAS IF CRe ERROR OR RDiS r------ NO MATCH IF OVERFLOW ! r--------'; PACKET TOO SHORT ,----------------' S'Jo';---------""·.../ - - - - - - - - (OUT) \ S~S--------------~------~ RRDY (OUT) '------- \._------"> '\'---------~ RSTB ~ 'CT" (IN) R~gU::i RPAR ::x:::::x. ._. . .__. . _ . . . . . . . . . . . . . . . r=x REOF (OUT) =' '0' I FUJITSU 5-42 M887958 Typical Application Circuit for MB879SB Vee and MBS02A L=O.1s,.tt TEN TXD TCKN RXD EDLC MB8795B RCKN XCOL XCD LBC FWI'I'SU 5-43 MB87958 Package Dimensions Dimensions in inches 64-LEAD CERAMIC (METAL SEAL) PIN GRID ARRAY PACKAGE (millimeters) (CASE No.: PGA-64C-A02) .09012.291 D -,I" o 0 0 0 @ INDEXA\,r J 1.050126.671 @ 0 0 I .718118.24150 TVP J .03510.891 1.020125.911 .06011.521 1.050126.671 MAX .21015.331 .12013.051 .15013.811 FUJITSU 5·44 Section 6 Signal Processors and Peripherals 6-2 MBB764 General Purpose Digital Signal Processor 6-21 MBB7064 Digital Signal Processor 6-33 MBB7067 ADPCM Digital Signal Processor 6-33 MBB706B ADPCM Digital Signal Processor 6-38 MBB7069 Serial Interface Adapter [II 6-1 MB 8764 December 1985 Edition 2.0 GENERAL PURPOSE DIGITAL SIGNAL PROCESSOR The Fujitsu MB 8764 is a general purpose silicon-gate CMOS digital signal processor (DSP) integrated circuit. The MB 8764 features a high-speed pipelined multiplier, supports concurrent operations with compound instruc· tions and multiple data paths, offers flexible and expandable memory options and has an on-chip DMA channel. With its high-speed operation, the MB 8764 gives high throughput in various applications, such as telecommunications, signal processing and image proces- sing. Being packaged in the 88-pin pin grid array, the MB 8764 allows a complex system to be built with the external program ROM and data RAM accessed through dedicated address and data buses. • General purpose high-speed digital signal processing • High speed operation lOOns cycle ti me CERAMIC PACKAGE • Parallel pipelined multiply function RIT-8SC-A01 16 bitsx 16 bits~ 26 bits • Divide function • 26 bits -;- 16 bits ~ 16 bits • Program ROM 1024 words x 24 bits This device contains circuitry to protect the Internal (mask-programmed) and external ROM selectable inputs against damage due to high static volt- • Part of the program ROM can be used for constant data storage ages or electric fields. However, it is advised • Two built-in 128 x 16 bits RAMs that normal precautions be taken to avoid application of any voltage higher than maxi- • Expansion RAM function mum rated voltages to this high impedance Expandable up to 1024 words x 16 bits circuit. • Two access speed rates can be selected • Numerous I/O functions 16-bit parallel interface • Three input modes and two output modes including DMA • Powerful instruction set using compound instructions One level of subroutine nesting (multi-level nesting can be programmed) Two levels of loop nesting (multi-level nesting can be programmed) Compound instructions (for example, an arithmetic/logic instruction combined with a move instruction) enable concurrent processing 15 arithmetic/logic instructions • AddreSSing Direct addressing Indexed addressing I mmediate addressing Virtual shift addressing • Sil icon-gate CMOS process • Single 5 volt power supply, TTL I/O interface (except pins for clock signals) • 88-pin space·saving pin grid array package • Support tool, including cross·assembly software and evaluation board 6-2 I111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB 8764 Fig. 1 - BLOCK DIAGRAM Clockgeneator ~~;=t§j-jJ ~~~~r~~ce block VOD - VSS~ L-_ _ _ _-.J1'I1 TST_ ESS ____ Control flag FUNCTION OF BLOCK Block Function Clock generator This block generates a cycle clock (¢3) used for internal operations. The clock pulses can be generated by supplying a clock signal from an external circuit through external pins CKl and CK2, or by a crystal resonator and capacitors connected to CKl and CK2. The master clock (MCLK) obtained by either of the above two methods has the same frequency as that of the CK1/CK2 clock and generates a cycle clock ¢3 having the frequency of the machine cycle (which is half the MCLK frequency). All internal operations are timed by the cycle clock ¢3. Sequence This block controls the DSP instruction execution sequence. The program counter (PC) is reset to address 0 by the control block RST pulse, and is incremented by 1 at each leading edge of ¢3 after RST is turned off. The PC output is connected to the address input of the internal microinstruction ROM (I ROM) via the ROM pointer (OPR), and the ROM data is read out sequentially according to the PC value. The DPR value is also output through PA9 to PAO to the outside to permit access to an external ROM (EROML Data from the EROM is input to the MB 8764 through P23 to PO. At any given time, either the IROM or EROM can be used, and the choice is controlled by the I RM input. The I ROM is a mask ROM with a capacity of 1,024 words x 24 bits. The ROM that has the same organization can be used for the EROM. The IROM and EROM are functionally identical. The ROM output data is transferred to the instruction register IRO at the beginning of a cycle (that is, at the leading edge of (3), moved to the instruction register I R 1 at the beginning of the following cycle, then decoded and executed. To perform a branch instruction,address can be loaded into PC through IRO and the IBUS, and the PC value can be saved in RAM or in another register through the IBUS. PCS is single PC stack used for subroutine execution. Two loop counters, CO and Cl, are provided to facilitate the handling of loops. This block also has a cycle counter (CYe) that controls execution of multi-cycle instructions. This counter automati- cally stops incrementing PC during execution of a multi-cycle instruction. 6-3 1111111111111111111111111111111111111111111111111111 FUJITSU MB 8764 1111111111111111111111111111111111111111111111111111 FUNCTION OF BLOCK (Cont'd) Block Function Decoder Instruction codes fetched from the instruction ROM and transferred to instruction registers IRO and IR1 at the begin- ning of each cycle are moved to the look-ahead decoder (LAD) and decoder (DEC), respectively. then interpreted and executed. Execution of an instruction (the execution cycle) usually takes place while the instruction is stored in IRL The DEC output controls the enable lines of the registers required for execution. Before an instruction is executed, LAD controls calculation of the effective address in RAM, interprets operations to be performed in the arithmetic and logic block, and decodes the number of cycles required for the instruction. The number of cycles required for an instruction is the number of machine cycles during which the instruction is stored in IRI. Address This block calculates the effective (execution) address in RAM (lRAM/ERAM) or ROM (table ROMI. calculation The address calculation block consists of index registers X and Y, stacks XS and YS for index registers X and Y, a block 7-bit adder (ADI), an 8-bit adder (AD2), the virtual shift pointer (VP), and the virtual shift mode register (VSI. An effective address is calculated in the LAD cycle, and the result is used as the execution address in the following execution cycle. An address in the table ROM is first calculated in AD1, then used to read table data through the table address register (TBA) and ROM pointer (DPRI. To access I RAM by an instruction having one address, the effective address is first calculated in AD2, then the result is used to access tRAM through the RAM pointer (DPB). To access IRAM by an instruction having two addresses, the effective address in ARAM is calculated in AD1, the effective address in BRAM is calculated in AD2, and the results are used to access ARAM and BRAM through DPA and DPB. An address in ERAM is calculated by AD2 and the result is used to access ERAM through the ERAM pointer (DPE). Note that the table ROM is accessed by adding the value of page register PGT as the MSB element of the address, and the ROM data (16-bit) is output to I BUS through TBD. ERAM is accessed by adding the value of page register PGM as the MSB element of the address. RAM This device has two I 28-word x 16-bit RAM areas called ARAM and BRAM. ARAM and BRAM can be used as two independent RAMs, or as a single RAM (I RAM) having a continuous address space. If the internal RAM is not suffi- cient, an external RAM (ERAM) can be connected to the, chip. The ERAM can be used as an extension of BRAM or I RAM, but its address space is independent of BRAM or I RAM. Arithmetic and Arithmetic and logic instructions are executed in this block. Execution of an instruction is timed by the machine cycle. logic block This block consists of input registers A and B, an accumulator 0 that receives the operation result. a multiplier ML T. and an arithmetic and logic unit ALU. Multiplication is performed by a two-stage parallel multiplier in which ML T and ALU functions are pipelined. ML T multiplies the values of A and B unconditionally at each instruction and stores the intermediate results in the temporary registers TRO and TR1. The final result of multiplication is obtained by having the ALU add the values of TRO and TRl according to a subsequent multiply instruction. Since the multiplier has a two-stage pipeline structure, it takes two cycles to obtain the multiplication result in 0 after data have been loaded into A and B. Operations other than multiplication are performed by the ALU alone, and the result is stored directly in D. The arithmetic and logic block also includes operation flags (PL. MI, ZR. and OV) that can be used to indicate condi- tions for conditional branch instructions. Register D has a longer bit length than the internal bus (I BUS), so a control register CLP is provided to output clipped data when the D value overflows the IBUS. I/O interface The I/O interface is used to exchange data between the DSP chip and an external circuit. It consists of I/O registers, an I/O controller and flags. The I/O controller controls data transfer to/from the external circuit independently of the execution of instructions. Data can be input from an external circuit through EI with or without address information through EIA. There are three input modes: the P, D, and A modes. These modes are distinguished by values set by instructions in the mode registers ADM and DMM. When data is set in EI, the input flag I F is set. In the P mode, the EI value is transferred to another register or to RAM by the program. In the D or A mode, the EI value is transferred to IRAM by cycle stealing. In the D mode, DMC is selected as the IRAM address, while in the A mode, EIA is selected. IF is reset when the EI contents are transferred to another location. Data is output to an external circuit through EA and EO. There are two output modes, and they are distinguished by the instruction data placed in EA. OF is set when data is placed in EA, and is reset when data output to the external circuit is completed. The data exchange between the DSP and an external circuit as explained above is performed through I/O control pins for synchronization with the external circuit. The I/O interface also includes the FO and F1 flags. These are set by external input signals and used for program control or synchronization. 6-4 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111I11111111111111111111111111111111111111 MB 8764 PIN ASSIGNMENT No. Name No. Name No. Name No. Name No. Name No. Name Fig. 2 - PIN ASSIGNMENT 1 PAl 16 EAO 31 D14 46 P23 61 EA7 76 CK2 2 PAO 17 - 32 REQ 47 P21 62 EA9 77 TST Data bus input/outpul -- - 3 P22 18 EA3 33 BCT 48 P18 63 ECE 78 PA9 -- 4 P20 19 EA5 34 RCK 49 P16 64 D2 79 PA6 -- 5 P19 20 EA6 35 RST 50 P15 65 D4 80 PA4 6 P17 21 EA8 36 FLO 51 P13 66 D7 81 GND - -- 7 P14 22 EWE 37 WCK 52 Pl0 67 D9 82 Vee E~pan"on RAM 8 P12 23 Do 38 ESS 53 P8 68 DlO 83 Vee ;~~:e~:,on RAM 9 Pll 24 D, 39 CKl 54 P6 69 D'2 84 GND Clock @ @ 10 P9 25 D3 40 IRM 55 P3 70 D'5 85 GND @@ @ @@ @ 11 P7 26 41 PA8 56 Pl 71 ACT 86 D5 Vee @@ -- 12 P5 27 D6 42 PA7 57 EAl 72 AIF 87 Vee Progfamaddre.. @@ ~'"' "" @@ o .@) @ 13 P4 28 DB 43 PAS 58 - 73 - FLl -- 88 GND 14 P2 29 D11 44 PA3 59 EA2 74 AOF @@ @ @ @ @@@ @l@ - 15 PO 30 D'3 45 PA2 60 EA4 75 ASL 00 0 0 ® ®0® ®@; (jJ) @ ,-~. No. Name I/O Function No. Name I/O Function No.Name I/O Function 78 PA9 Output Program address MSB 55 P3 I/O Instruction BIT3 30 013 I/O Data bus I/O BIT13 41 PA8 Output Program address B ITS 14 P2 I/O Instruction BIT2 69 012 I/O Data bus I/O BIT12 42 PA7 Output Program address B I T7 56 Pl I/O Instruction BITl 29 011 I/O Data bus I/O BIT11 79 PA6 Output Program address B IT6 15 PO I/O Instruction LSB 68 010 I/O Data bus I/O BIT10 43 PA5 Output Program addr",~ 39 CKl Input Master clock input pin 1 67 09 I/O Data bus I/O BIT9 80 PA4 Output Program address BIT4 76 CK2 Input Master clock input pin 2 28 D8 I/O Data bus I/O BITS 44 PA3 Output Program address BIT3 35 RST Input Initialization 66 07 I/O Data bus I/O BIT7 45 PA2 Output Program address B IT2 40 IRM Input Internal/external ROM 27 06 I/O Data bus I/O BIT6 1 PAl Output Program address BITl switching 26 05 I/O Data bus I/O BIT5 77 TST Input Internal ROM test mode ~ 2 PAO Output Program address LSB 04 I/O Data bus I/O BIT4 46 P23 I/O Instruction MSB 62 EA9 Output Expansion RAM 25 03 I/O Data bus I/O BIT3 Instruction address MSB 64 02 I/O Data bus I/O BIT2 3 P22 I/O BIT22 47 P21 Instruction BIT21 21 EA8 Output Expansion RAM 24 01 I/O Data bus I/O BITl I/O address BITS 4 P20 I/O Instruction BIT20 23 DO I/O Data bus I/O LSB 61 EA7 Output Expansion RAM 5 P19 I/O Instruction BIT19 address BIT7 34 RCK Input Data read clock 48 P18 I/O Instruction BIT18 20 EA6 Output Expansion RAM 33 BCT Input Data bus output enable 6 P17 I/O Instruction BIT17 address BIT6 72 AIF Input Data input request 49 P16 I/O Instruction BIT16 19 EA5 Output Expansion RAM 36 FLO Input Flag input 50 P15 I/O Instruction BI1"""15 address BIT5 73 FL1 Input Flag input 7 P14 I/O Instruction BIT14 60 EA4 Output Expansion RAM 75 AS[ Input Data output type speci- address BIT4 fication in E mode 51 P13 I/O Instruction BIT13 18 EA3 Output Expansion RAM 37 WCK Output Data write clock 8 P12 I/O I nstrl:H:tion BIT12 address BIT3 9 P11 I/O Instruction BITll 74 AOF Output Output data type speci· 59 EA2 Output Expansion RAM fication in I mode 52 P10 I/O Instruction BIT10 address BIT2 P9 Instruction BIT9 71 ACT Output Input enable 10 I/O 57 EAl Output Expansion RAM 32 REQ Output Data bus request 53 P8 I/O Instruction BIT8 address BITl BIT7 Output Expansion RAM 22 EWE Output ERAM write clock 11 P7 I/O Instruction 16 EAO 54 Instruction BIT6 address LSB 63 ECE Output ERAM chip enable P6 I/O 70 015 I/O Data bus I/O MSB 38 ESS Input ERAM speed select 12 P5 I/O Instruction BIT5 13 P4 I/O Instruction BIT4 31 014 I/O Data bus I/O BIT14 6~5 1111111111111111111111111111111111111111111111111111 FUJITSU MB 8764 1IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIilllli ABSOLUTE MAXIMUM RATINGS*1 Rating Parameter Symbol Unit Min Max Power supply voltage Vcc -0.3'2 7.0 V I nput voltage V, -0.3'2 Vcc +0.3'2 V Output voltage Va -0.3'2 V cC +0.3'2 V Operating temperature Top 0 85 °c Storage temperature T STG -55 150 °c Note: *1 Permanent device damage may occur if the absolute maximum ratings are exceeded. Functional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. *2 This value applies in a steady condition. It may be 0.5 V in a transient condition (for 20 to 30 ns). RECOMMENDED OPERATING CONDITIONS Condition Parameter Symbol Unit Min Typ Max Power suppl y vol tage Vcc 4.5 5.0 5.5 V Operating temperature Top 0 85 °c DC CHARACTERISTICS (Recommended Operating Conditions unless otherwise specified,) Parameter Symbol Condition Min Typ Max Unit V'H Other than CK 1, CK2 2.0 Vcc +0.3 V Input high voltage V'HCK CK1, CK2 4.0 Vcc +0.3 V V'L Other than CK 1, CK2 -0.3 0.8 V Input low voltage V'LCK CK1, CK2 -0.3 0.6 V f-- Output high voltage V OH IOH - -0.4 mA 2.7 Vcc V Output low voltage VOL IOL = 2 mA 0.4 V Input leakage current ILl V, - 0 to 5.5 V -25 25 !LA Input leakage current (Three-state pin input) I Lz V, =0 to 5.5 V -40 40 !LA Static power supply current Iccs 1 mA Power supply current Icc fop = 8 MHz 60 mA CAPACITANCE (Vee =VI =0 v, fM = 8 MHz) Parameter Symbol Min Typ Max Unit Input pin ' C'N 5 pF Output pin COUT 5 pF 1/0 pin CliO 8 pF 6-6 111111111111111111111I111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB 8764 AC CHARACTERISTICS EXTERNAL CLOCK TIMING Parameter Symbol Min Typ Max Unit Cycle time' 1 tCYC 100 ns High voltage pulse width tCKH 20 ns Low voltage pulse width tCKL 20 ns Note: *1 Value when ERAM (extended RAM) is not used. When ERAM is used, follow the specifications for the ERAM interface AC characteristics. This note also applies to the following AC characteristics. Fig. 3 - EXTERNAL CLOCK TIMING DIAGRAM CKl (INPUT) tCKH tCKL tCYC/2 tCYC CK2 (INPUT) tCKL tCKH INTERNAL OSCILLATOR (Crystal oscillator connected) Parameter Symbol Min Typ Max Unit Cycle time tCYC 100 ns Crystal frequency fCYc 16 20 MHz RESET INPUT TIMING Parameter Symbol Min Typ Max Unit Power-on reset '1 tpRST 1 ms MCLK setup '2 tRSTS 20 ns MCLK hold '2 tRSTH 15 ns Reset input pulse width tRSTW tCYC +35 ns Note: * 1 The time specification for power-on reset applies to the internal oscillation mode. In the external clock mode, the reset pulse must be entered so that the leading edge of MCLK (CK2) can be produced while RST = o. *2 In the external clock mode, MCLK is considered to be CK2 (the inversion of the clock input from CK2). This note also applies to the following AC characteristics. 6-7 111111111111111111111111111I1I111111111111I111111111 FUJ!TSU MB 8764 1111111111111111111111111111111111111111111111111111 Fig. 4 - RESET INPUT TIMING DIAGRAM Voo 4.5 V EXTERNAL ROM INTERFACE TIMING Parameter Symbol Condition Min Typ Max Unit --- Address output delay (from MCLK pulse) tpAO C L ~ 50pF 60 75 ns Address output hold (from MCLK pulse) t pAH C L ~ 50pF 20 ns Data hold time (to address) tpHA C L ~ 50pF 0 ns Data setup (before MCLK pulse) t ps C L ~ 50pF 10 10 ns Fig. 5 - EXTERNAL ROM INTERFACE TIMING DIAGRAM IRM = 0 (External ROM mode) MCLK (CK2) PA9 to PAO (OUTPUT) P23 to PO (INPUT) VALID f-----tps---.-, Note: *t pAC is the address access time provided by the specification of the external ROM. 6·8 1IIIIIIIIIIIIIIIIIIIIillllllllllllllllllllllllili FUJITSU 1111111111111111111111111111111111111111111111111 MB 8764 FLAG (FLO and FL 1) INPUT TIMING Parameter Symbol Min Typ Max Unit Setup time tFLS 15 ns Hold time tFLH 30 ns Pulse width' 1 tFLW tCYC + 45 ns Note: *1 tFLW (Min) ; 2 x tCYC + 45 when ERAM is used with ESS; 1. Fig.6 - FLAG INPUT TIMING DIAGRAM r---------------tCYC------------~~ MCLK (CK2) FLO and FL1 - - - - - -...... (INPUT) ~------------------tFLW------------------~ EXPANSION RAM INTERFACE TIMING (ESS ; 0, Read Cycle) Parameter Symbol Condition Min Typ Max Unit Address output delay tEAD C L ; 50pF 50 60 ns Address output hold tEAH C L ; 50pF 10 13 ns Chip enable output delay tCED CL ; 50pF 57 70 ns Chip enable output hold tCEH CL ; 50pF 17 19 ns Output disable tDHZ CL ; 50pF 0 ns Data input setup time tERDS CL ; 50pF 30 25 ns Data input hold time tERDH CL ; 50pF 0 ns Fig. 7 - EXPANSION RAM INTERFACE TIMING DIAGRAM (ESS ; 0, Read Cycle) tCYC MCLK ICK2) <1>3 / V tEAH r--- - ~tEAD- EA9 to EAO (OUTPUT) tm. - VALID m tCEH ECE (OUTPUT) J - t C E D -I - - tDHZI--l1-- f--- tERAA' 01510 DO V (INPUT) HIGH-Z VALID r- ~ ~ Note: *tERAA is the address access time provided by the specification of the expansion RAM. **tERCA is the chip select access time provided by the specification of the expansion RAM. 6-9 1IIIIIIIIIillllllllllllllillillllllllllllllllllllili FUJITSU MB 8764 illllllllllllllllllllllllllllllllllllllllllllllllill EXPANSION RAM INTERFACE TIMING (ESS = 1, Read Cycle) Parameter Symbol Condition Min Typ Max Unit Address output delay tEAD C L = 50pF 50 60 ns Address output hold tEAH C L = 50pF 10 13 ns Chip enable output delay tCED CL = 50pF 57 70 ns Chip enable output hold tCEH CL = 50pF 17 19 ns Data input setup time tERDS CL = 50pF 30 25 ns Data input hold time tERDH C L = 50pF 0 ns Fig.8 - EXPANSION RAM INTERFACE TIMING DIAGRAM (ESS = 1, Read Cycle) MCLK (CK2) EA910 EAO (OUTPUT) ECE (OUTPUT) -------+1~IGH.z-------{I_---_VA_L_I_O---!-+..I1 ICE D-----1f---tE RCA· • 01510 DO (INPUT) . - IERAA'--~t-----IERDS-----t Note: *tE RAA is the address access time provided by the specification of the expansion RAM. ""t ERCA is the chip select access time provided by the specification of the expansion RAM. 6-10 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB 8764 EXPANSION RAM INTERFACE TIMING (ESS = 0, Write Cycle) Parameter Symbol Condition Min Typ Max Unit Address output delay tEAO C L = 50pF 50 60 ns Address output hold tEAH C L = 50pF 10 13 ns Address hold (after EWE) tWEA C L = 50pF 5 ns Chip enable output delay tCEO C L = 50pF 57 70 ns Ch ip enable output hold tCEH C L = 50pF 17 19 ns Write enable output delay tWEO C L = 50pF 40 50 ns Write enable output hold tWEH C L = 50pF 5 35 ns tCYC Write enable pulse width tWEW C L = 50pF - - -30 ns 2 Data output delay too CL = 50pF + 1 TTL 52 70 ns tCYC Data setup (before EWE) tosw CL = 50pF + lTTL - - -50 ns 2 Data hold (after EWE) tOHW CL = 50pF + lTTL 5 ns Data output active delay t OAC C L = 50pF + 1 TTL 52 70 ns Fig.9 - EXPANSION RAM INTERFACE TIMING DIAGRAM (ESS = 0, Write Cycle) tCYC MCLK (CK2) 3 AIF (INPUT) ACT (OUTPUT) RCK (INPUT) f------tRCKAC----+--...-if---tOEH 015 to DO (INPUT) ----HIGH-Z----~:::::::~V~A~L~IO~:~:::=~----- /-------toos-------I---tODH 6-13 ------------- 111111111111111111111111111111111111111111I111111111 FUJITSU MB 8764 1111111111111111111111111111111111111111111111111111 A MODE INPUT TIMING Parameter Symbol Condition Min Typ Max Unit AIF setup tAFS 30 ns AIF hold tAFH 20 ns AIF pulse width "1 tAFW tCYC + 50 ns ACT fall delay tACT C L : 50pF + 1TTL 70 ns ACT reset delay tACTRO C L : 50pF + 1TTL 70 ns IiCR input enable tRCKAC 0 ns IiCR pulse width t RCKW 40 ns RCK enable hold tAEH 25 ns IiCR enable setup tOES 35 ns RCK enable hold tOEH 25 ns Address setup tAOS 25 ns Address hold tAOH 25 ns Data setup toos 25 ns Data hold tooH 25 ns ACT reset setup tACTRS 60 ns ACT reset hold tACTRH 10 ns Note: "I tAFW (Min) : 2 x tCYC + 50 when E RAM is used with ESS : 1. Fig. 12 - A MODE INPUT TIMING DIAGRAM MCLK (CK21 'AIF (INPUT) ACT (OUTPUT) RCK (INPUT) 015 to DO (INPUT) ------HIGH.~-------1c:~~~::*===~~~==~------------------ 6-14 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB 8764 I MODE OUTPUT TIMING Parameter Symbol Condition Min Typ Max Unit R EQ output delay tREQ CL = 50pF + lTTL 75 ns ATIF output delay tAOF CL = 50pF + lTTL 65 ns BCT level 0 setup tBLS 40 ns BCT level 0 hold tBLH 15 ns BIT level 1 setup tBHS 40 ns BCT level 1 hold tBHH 15 ns BCT level 1 pulse width '1 tBHW tCYC + 55 ns WCK fall delay t WCKO CL = 50pF + 1TTL 65 ns WCK rise delay tWCKU CL = 50pF + lTTL 65 ns Address output delay t AUO CL = 50pF + 1TTL 85 ns Data output delay touo CL = 50pF + 1TTL 80 ns Data output disable toDD CL = 50pF + lTTL 70 ns Address setup t AOOS CL = 50pF + 1TTL 170 ns Address hold t AOOH CL = 50pF + 1TTL 65 ns Data setup toos C L = 50pF + 1TTL 170 ns Data hold tOOH C L = 50pF + 1TTL 65 ns Note: '1 tBHw (Min) = 2 x tCYC + 55 when E RAM is used with ESS = 1. Fig. 13 - I MODE OUTPUT TIMING DIAGRAM tCYC MCLK (CK2) REQ (OUTPUT) AOF (OUTPUT) BCT (INPUT) WCK (OUTPUT)- 015 to DO (OUTPUT) touo 6-15 1IIIIIIiilllllllllllllllllillilllllllllillillllllili FUJITSU MB 8764 IIIIIIIII!IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII E MODE OUTPUT TIMING Parameter Symbol Condition Min Typ Max Unit REO output delay tREQ CL = 50pF + lTTL 75 ns BCT level 0 setup t BLS 40 ns BCT level 0 hold tBLH 15 ns BCT level 1 setup t BHS 40 ns BCT level 1 hold tBHH 15 ns BCT level 1 pulse width' 1 tBHW tCYC +55 ns Output active delay tBCA CL = 50pF + lTTL 85 ns Address output from fall of ASL tDSA C L = 50pF + lTTL 85 ns Data output from rise of ASL t DSD C L = 50pF + lTTL 85 ns Output inactive tacD C L = 50pF + lTTL 70 ns Note: "1 tBHW (Min) = 2 x tCYC + 55 when ERAM is used with ESS = 1. Fig. 14 - E MODE OUTPUT TIMING DIAGRAM tCYC MCLK (CK2) REO (OUTPUT) BeT (INPUT) ASL (INPUT) D15 to DO (OUTPUT) 6·16 1IIIIIIIIillllllllllllllllllllllllllllllllllllili FUJITSU 1111111111111111111111111111111111111111111111111 MB 8764 AC CHARACTERISTICS MEASUREMENT CONDITIONS Parameter Symbol Condition Power supply voltage Voo 5 V ± 10% Ambient temperature TA o to 85°C Fig. 15 - AC CHARACTERISTICS MEASUREMENT WAVEFORMS 4.0V 4.0V 1.95 V INPUT VALID 0.8 V SETU P'----t--:-Hc:::Oc-: L 0::--1 2.2V OUTPUT VALID 0.8 V OUTPUT DELAY OUTPUT HOLD 6-17 1111111111111[[11[11[1[111[11[11[11[11111111[1111111 FUJITSU MB 8764 IIIIIIII~IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII APPLICATION INFORMATION Fig. 16- EXAMPLE OF MB 8764 APPLICATION CIRCUIT (with 1K-word External ROM and 1K-word External RAM) MB 8764 LI5V GND RESET J: RST Vee FLO } CONDITION T CONTROL 5V FLl SIGNALS 4 CLOCK 74S04 T 5V CKl EA9 EAO CK2 Eel' ~ 74S04 EWE 1 I 1 PA9 11 7 11 " II t,.. A9 1> AO ~~ ~S- PAO [~ ru~· .. ~ MBM 214945 PKx4) MB 7132Y 11K x 81 1104'" .1/0, j-D- i~ {I- {i' 01 08 D15 BUS lS P23 P16 P15 DO AIF RCK - '1 WRITE DATA REQUEST FLAG, AND SIGNAL DISTINGUIS HING BETWEEN ADORESSES AND DATA IN INPUT DATA DATA READ CLOCK SIGNAL DATA INPUT ENABLE FLAG P8 ACT P7 REQ - WRITE DATA REQUEST SIGNAL PO BCT BUS OUTPUT ENABLE SIGNAL ASL SIGNAL DISTINGUISHING BETWEEN IRM ADDRESSES AND DATA IN OUTPUT DATA f TST ESS WCK AOF DATA WRITE CLOCK SIGNAL SIGNAL DISTINGUISHING BETWEEN ADDRESSES AND DATA IN OUTPUT DATA 6-18 1111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB 8764 INSTRUCTION SET ARITHMETIC AND LOGIC INSTRUCTIONS Mnemonic Processing performed Mnemonic Processing performed Nap No operation ABS IDI -+D ADD A+B-+D NEG -D -+ D MLT AxB-+D SRA Shift D right arithmetic -+ D SUB B-A-+D SLA Shift D left arithmetic -+ D MSM D+AxB-+D AND DnA-+D MRD D-AxB-+D ORA DUA-+D SUM D+A-+D DIV D7A-+D RED D-A-+D COM D-+D TRANSFER INSTRUCTIONS Mnemonic Processing performed LTB: (Arithmetic/logic instruction) $a,$b ROMT -+ A, BRAM/ERAM -+ B LAB: (Arithmetic/logic instruction) $a,$b ARAM -+ A, BRAM/ERAM -+ B MAB: (Arithmetic/logic instruction) $a,$b ARAM -+ BRAM/ERAM MBA: (Arithmetic/logic instruction) $a,$b BRAM/ERAM -+ ARAM MOV: (Arithmetic/logic instruction) $a, Reg [:Reg .. J IRAM/ERAM -+ Register MOV: (Arith metic/logic i nstructi on) #$d, Reg [:Reg .. J I mmediate data (d) -+ Register MOV: (Arithmetic/logic instruction) Reg, Reg [:Reg .. J Register -+ Register LDI: (Arithmetic/logic instruction) #$d d-+A LIB: (Arithmetic/logic instruction) #$d d -+A, BRAM -+ B JUMP INSTRUCTIONS Mnemonic Processing performed JMP: (Arithmetic/logic instruction) #$d Unconditional jump (d -+ PC) JOC: (Arithmetic/logic instruction) # $d, flag Conditional jump (d-+PC) JOC: (Arithmetic/logic instruction) $a, flag Conditional jump (I RAM/E RAM -+ PC) JSR: (Arithmetic/logic instruction) #$d Jump to subroutine (PC -+ PCS, d -+ PC) RTS: (Arithmetic/logic instruction) Return from subroutine MISCELLANEOUS INSTRUCTIONS Mnemonic Processing performed CLR: [Reg [:Reg ... J ..• J Clear register SET: [Reg[:Reg ... J .•. J Set register MXY: (Arithmetic/logic instruction) #$d,,#Sd 2 X + d, -+ X, Y + d 2 -+ Y LlY: (Arithmetic/logic instruction) #$d d -+ A,BRAM -+ B, Y + 1 -+ Y AVP: (Arithmetic/logic instruction) #$d VP + d -+ VP LVP: (Arithmetic/logic instruction) #$d d -+ VP ADY: (Arithmetic/logic instruction) Y+YS -+ Y GXY: (Arithmetic/logic instruction) XSc+ X, YS -+ Y SXY: (Arithmetic/logic instruction) #$d d -+ Cl, X -+ XS, Y -+ YS, a -+ X, a -+ Y Nap: (Arithmetic/logic instruction) No operation 6-19 1111111111111111111111111111111111111111111111111111 FUJITSU MB 8764 1111111111111111111111111111111111111111111111111111 PACKAGE DIMENSIONS 88-LEAD CERAMIC (METAL SEAL) REPEATED QUAD IN-LINE PACKAGE (CASE No.: RIT-88C-AOH .01510.381 .02510.64ID1A j.04011.02ITYP DIA 1Il=~-1--' 10" 0 0 0 0 0 0 0 0 0 0 0 000000000000 PIN 1 0 0 0 o 0 0 INDEX\O : : o 0 0 0 • 0 0 0 0 0 0 0 0 0 0 0 .03510.891 .06011.521 .25016.351 MAX Dimensions in inches (millimeters) 6-20 MB87064 April 1986 Edition 1.0 DESCRIPTION The Fujitsu MB87064 is a general-purpose LSI silicon gate Digital Signal Pro- cessor (DSP). The device is fabricated in low-power CMOS and features a high-speed pipelined multiplier, supports concurrent operations with compound instructions and multiple data paths, and offers flexible and expandable memory options. The MB87064 is housed in a 42-pin DIP. Except for some changes in the instruction set and minor modifications in the hardware, the low-cost MB87064 DSP is a functional clone for Fujitsu's full- featured MB8764 DSP. The low-cost MB87064 is particularly useful in systems where the additional features of the MB8764 are simply not required. Since basic functions of the two parts are identical, this data sheet describes only those differences that affect system design. Forcomplete functional detail pertaining to hardware and software, it is recommended that the user obtain data sheets for both parts (MB87064 and MB8764). Iffurther information regarding Digital Signal Processing is desired, the user should request "Support Documentation for the MB8764" from the nearest Fujitsu sales office. Both the MB87064 and the MB8764 are well suited for applications such as telecommunications, imaging work, and other signal-processing functions that DIP-42C-A01 require extensive computations and complex analysis. This device contains circuitry to protect the Inputs against damage dueto high staticYoltages or electric fields. However, it Is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this high impedance circuit. 6-21 I1111I11111111111111II111I111I111111111111111111I FUJITSU illlllllllllllllllllllllllllllllllllllllllllllill MB87064 Table 1. Comparison of Features (MB87064 and MB8764) Item MB8764 MB87064 Common Hardware Architecture • Parallel pipelined multiply function Hardware 16 bits x 16 bits - 26 bits Architecture • Divide function 26 bits 7 16 bits - 16 bits Basically the same as the MB8764 but with few Instruction Set MB8764 Instruction Set modifications Operation 100ns Cycle Time PGA88 Ceramic' Package DIP42 Ceramic' LCC84 Ceramic Internal (mask-programmable) ROM of 1024 words x 24 bits Program ROM External ROM of 1024 words x 24 bits No External ROM function selectable Built-in 2 blocks of 128 words x 16 bits Data RAM Expansion RAM up to 1024 words x 16 bits 16-bit Parallel Interface I/O Functions Three Input Modes Two Input Modes Two Output Modes One Output Mode (Brand-new) Same Addressing Functions • Direct Addressing Addressing • Immediate Addressing • Indexed AddreSSing • Virtual Shift Addressing Common Support Tools • Evaluation Board Support Tools • Softwares (Assemblers, Linkers, Software Simulators, Monitor) • In-Circuit Emulation Board 2 • Flexible system with external program • High Volume Production with Mask ROM memory Applications • Small Volume Production with Internal/External ROM • System evaluation before Production Notes: 1. Plastic package is scheduled for the future. 2. Soon to be available. 6-22 1111111111111111111111111111111111111111111111111111 MBS FUJITSU 7064 1111111111111111111111111111111111111111111111111111 BLOCK DIAGRAM CK1~ CK2~~ EA" EAO D CONTROL FLAG 6-23 I111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB87064 PIN DESCRIPTIONS vcc 08 06 D. 05 010 D. 011 03 012 02 013 01 01. DO 01. EWE GND ECE CK1 GND CK2 EAO RST EA1 FiJi EA2 FU EA3 AiF EA. RCK EA. ACT EA6 BCT EA7 REO EA8 VCC EA. Pin No. Designator Function Pin No. Designator Function Input/Output Pins: Output Pins: 09 D15 Data bus Bit 15 (MSB) 22 EA9 Expansion RAM Address MSB 08 D14 Data bus Bit 14 23 EA8 Expansion RAM Address Bit 8 07 D13 Data bus Bit 13 24 EA7 Expansion RAM Address Bit 7 06 D12 Data bus Bit 12 25 EA6 Expansion RAM Address Bit 6 05 D11 Data bus Bit 11 26 EA5 Expansion RAM Address Bit 5 04 D10 Data bus Bit 10 27 EA4 Expansion RAM Address Bit 4 03 D9 Data bus Bit 9 28 EA3 Expansion RAM Address Bit 3 02 D8 Data bus Bit 8 29 EA2 Expansion RAM Address Bit 2 01 07 Data bus Bit 7 30 EA1 Expansion RAM Address Bit 1 41 06 Data bus Bit 6 31 EAO Expansion RAM address LSB 40 05 Data bus Bit 5 34 EWE ERAM Write Clock Output 39 04 Data bus Bit 4 33 ECE ERAM Chip Enable Output 38 D3 Data bus Bit 3 11 CK1 Master Clock Input Pin 1 37 D2 Data bus Bit 2 12 CK2 Master Clock Input Pin 2 36 D1 Data bus Bit 1 13 RST Initialization Input 35 DO Data bus Bit 0 (LSB) 16 AIF Data Input Request 10 GND Circuit Ground 17 RCK Data Read Clock Input 32 GND Circuit Ground 18 ACT Data Input Enable Output 42 Vee +5V Power Supply 20 REO Data Bus Request Output 21 Vee +5B Power Supply 19 BCT Data Bus Output Enable Input 14 FLO Flag Input 15 FL1 Flag Input 6-24 1IIIIIIIIIIIIIIIIIIIImlllllllllllllllllllllllllili FUJITSU MB87064 1111111111111111111111111111111111111111111111111111 PIN MODIFICATIONS FUNCTIONAL DESCRIPTION Based on the pin configuration of the MB8764, the following modifications have been made for the MB87064. Program Memory Removal of pins caused by no external ROM: The program for the MB87064 is provided from the internal (mask-programmed) ROM with a capacity of 1024 words x 24 PA9 - PAO (10 pins) bits. The MB87064 cannot access external ROM. IRM (1 pin) P23 - PO (24 pins) Input/Output Modes TST (1 pin) Input Modes Removal of pins caused by reduction/modification of input/output mode: Two operating modes (D and P) are used to input data from an external device to the MB87064. The function and timing ASL (1 pin) specification for the two input modes are the same as those in AOF (1 pin) the MB8764. The selected input mode is loaded into the mode WCK (1 pin) (DMM) register by the program. Removal of pins caused by modification of external RAM speed control (hardware ~ software): Output Mode ESS (1 pin) Only one output mode is provided to transfer data from the Mi387064 to an external peripheral. The output mode in the Removal of unneeded power/ground pins: MB87064 is a modified version of the E mode in the MB8764. GND (2 pins) Output mode timing is shown in the following diagram. Vee (2 pins) Output Mode Timing ¢ii(Note) REQ(output) 1 1 L _ .(jI_ .........._ _ _---' 1 D15-DO(outpUI) +\~,.. ___ -- -r-----""'\ (~_ _D_A_~_ _ _J) Note: 4:13 is the cycle clock that controls internal operations of the OSP. Registers/Flags Register Omission Input address register EIA, output address register EA, unit in turn, is controlled by the SET/CLR instructions. The low- register U, and address mode register ADM are not required in speed mode (ESS = 1) is specified by the "SET ESS" instruc- the MB87064. tion. It is cleared by the "CLR ESS" instruction and the high- speed mode (ESS = 0) is then specified. When the device is New Registers and Flags reset, the high-speed mode is selected by default. ESS Flag. Because the ESS pin has been removed, the MB87064 controls ERAM access speed by the ESS flag which, 6-25 1IIIIIIIIIIIIIIIIIIIIImlllllllllllllllllllllili FUJITSU 1IIIIIIIIIIImllllllllillmlllllllllllllllllili MB87064 Because the ESS pin has been removed, the MB87064 TRC Register. The TRC register is a 1-bit register used to controls ERAM access speed through the ESS flag. A two control the truncation of the multiplication result. The TRC cycle access is selected by setting the ESS flag (ESS = 1). and Register is controlled by the SET/CLR instructions. the single cycle access is selected by clearing the ESS flag When TRC is set to "1", the multiplication result is truncated (ESS = 0). to 26-bits without rounding. When TRC is set to "0", the result ESS is cleared upon reset (ESS =0). is rounded to 26-bits. (Same as the MB8764.) 151413 o AI I I I II BI III II ex When TRC = 0 (Round) 31302928 6 5 4 3 2 1 0 Ideal Solution 1I I I !I 31302928 5 I I I I ! I ................. I I (+ I~:t:t:l: ALU ................. 0 ................. :1: 25242322 0 When TRC = 1 (Round is omitted) 31302928 6 5 4 3 2 1 0 Ideal Solution I I I I I I I I Ixlx/xlx/xl • discarded 31302928 51-r- II I I I I ................. I I (+ ~:I:lil ALU ................. 0 I ................. :.: 25242322 0 PCT Register. In the MB8764, even when operating in the output may not be the maximum positive or negative values CLIP mode with the overflow flag set, if two maximum [(8000H) or (7FFFH)]. The MB87064 selects the PCT (protedt negative numbers are multiplied together [(8000H) x (8000H)]. mode) to avoid this overflow problem. The protect mode is the resulting output from the 0 register to IBUS is (OOOOH). controlled by the "PCT" flag. The "PCT" flag is set by the "SET Also, if positive or negative overflows occur, the resulting PCT" instruction and cleared by the uCLR PCT" instruction. 6·26 1111111111111111111111111111111111111111111111111111 FUJITSU MB87064 1111111111111111111111111111111111111111111111111111 The "PCT" flag is also cleared by a reset input. As with the • The contents of EXA Register MB8764, the normal mode is selected when the "PCT" flag is cleared. 16 bits . , LSB IBUS EXA Register. The MB8764 outputs the contents of page register PGM and data pointer register DPE to the EA9 ~ EAO lower 10 bits pins regardless of ERAM access. Q The MB87064 outputs the contents of PGM and DPE when EXA ERAM is being accessed and outputs the contents of EXA • Timing Specifications when the I/O bus is being accessed for data transfer to-or-from • When ERAM is accessed: an external circuit. Same as MB8764 (input/output) • When I/O bus is accessed: See the following timing diagram: Input (P Mode/D Mode) <103 AIF(lnput) ACT(output) EA9-£AO(output) RcK(lnput) u ~ ~ hold read EI ------------------~){~------------------------------ Output (New Mode) REQ(output) BCT(lnpul) The instruction to write 10 _ ______________-1~::::~~::!)~E:XA~w:h="e~Ex:A~I.~O:ut:PU~liS~lg~n:Ored~___ EA9-EAO(output) D15-DO(output) 6-27 i111111111111111111111111111111111111111111111111 FUJITSU 1111111111111111111111111111111111111111111111111 MB87064 Chip Enable Control Output (ECE) In the MB8764, ECE is always set to "0" (expansion RAM neither ERAM nor I/O bus is accessed. This avoids address enable state) except when the 1/0 bus is being accessed for bus conflicts when multiple DSPs are used. data transfer to-or-from an external circuit. In the MB87064, ECE is set to "0" only when ERAM is being accessed. This Reset Input According to FLO and FL 1 Status modification helps to reduce the power consumption of The Reset signal (RST) must be input while FLO and FL 1 are ERAM. set to "1". The operation of the reset input flag is the same as the MB8764. Hi-Impedance State of EA9 ~ EAO Pins EA9~ EAO are placed in the high-impedancestate when INSTRUCTION SET MODIFICATIONS The MB87064 has the same instruction set as the MB8764 SET ADM except for the following modifications to the SET/CLR and CLRADM MOV instructions. The following instructions are added: SET/CLR Instructions SET ESS CLR ESS SET TRC CLR TRC According to ADM flag removal, the following instructions are SET PCT CLR PCT removed: Object code of SET instruction MSB LSB a b c d e f 9 h abc d e f 9 h set register 1 0 0 0 0 0 0 0 DMM o1 0 0 0 0 0 0 PCT -new 0 o 1 0 0 0 0 0 VS 0 0 o 1 0 0 0 0 ESS -neVI 0 0 0 o 1 0 0 0 CLP 0 0 0 0 o 1 0 0 TRC -new Object code of CLR instruction MSB LSB 1«1:0:0: : : : : : : : : : : : : : : : : : : 1 abc d e f 9 h i j kim ~ 0 p q r 5 6-28 1llllllllllml.llmlllllllllllllll FUJITSU MB87064 1111111111111111111111111111111111111111111111111111 a b c d e f g h i j k I m n 0 p q r s cleared register 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 D 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FO 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMC 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 A 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 B 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 X 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 Y 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 DMM 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 PCT -new 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 IF 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 OF 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 VS 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 ESS -new 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 OV 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 CLP 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 TRC _new • multiple registers can be specified • execution cycle: one MOV Instruction According to the EXA register addition, the destination of EXA register is added to the following MOV instruction: MOV[ :arithmetic/logic operation] $a(8) [([Y] [Ell] ,Reg [:Reg [: ... ] ... ] machine code MSB LSB a: RAM address c: operation t: destination t destination register 1 0 0 0 0 0 EO 0 1 0 0 0 0 A 0 0 1 0 0 0 B 0 0 0 1 0 0 D 0 0 0 0 1 0 EXA (lower 10 bits of RAM data) -new • Two or more destination registers can be selected at once. 6-29 I1111111111111111111111111111I1111111111111111111 FUJITSU 1IIIilllllllllllllllllllllllllllllllllllllllllili MB87064 MOV Instruction (Cont.) • An arithmetic/logic operation cannot be. performed when the destination register is O. According to EXA register addition, the processing of "d - EXA" is added. 1 MOV #$d,Reg machine code MSB LSB 111111111 :t: 111 : : : : : : : ~.: : : : : : : 1 t processing mnemonic 0 0 0 d-EO MOV #$d,EO 0 0 1 output instruction MOV #$d,EA(Note) 0 1 0 d-O MOV #$d,O 0 1 1 d-B MOV #$d,B 1 0 1 d(lower ten bits) - EXA MOV#$d,EXA -new Note: Though the EA register does not exist. this instruction does exist in the MB87064to maintain compatibility of output instruction with MB8764. This instruction is only effective as an output instruction and the processing of "d- EA" is ignored. ELECTRICAL CHARACTERISTICS ABSOLUTE MAXIMUM RATINGS1 Value Parameter Symbol Min Max Unit Power Supply Voltage Vee -0.32 6.0 V Input Voltage VI -0.3 2 Vee + 0.3 2 V Output Voltage Va -0.32 Vee + 0.3 2 V Operating Temperature Top -40 85 °C Storage Temperature TSTG -55 150 °C Notes: 1. Permanent device damage may occur if the absolute maximum ratings areexce'eded. Functional operation should be restricted tathe conditions as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2. This value applies for a steady-state condition. The incremental voltage can be increased to a value of O.5V for periods not to exceed 20-to-30 nanoseconds. RECOMMENDED OPERATING CONDITIONS Value Parameter Symbol Min Typ Max Unit Power Supply Voltage Vee 4.5 5.0 5.5 V Operating Temperature Top -40 85 °C 6-30 1111111111111111111111111111111111111111111111111111 FUJITSU MB87064 1111111111111111111111111111111111111111111111111111 DC CHARACTERISTICS (Recommended Operating Conditions unless otherwise specified.) Operating Temperature Range = ODC to 70 DC Value Parameter Symbol Condition Min Typ Max Unit V IH Other than CK1, CK2 2.2 Vcc + 0.3 V Input High Voltage VIHCK CK1, CK2 4.0 Vcc + 0.3 V V IL Other than CK1, CK2 -0.3 O.B V Input Low Voltage VILCK CK1, CK2 -0.3 0.6 V Output High Voltage VOH 10H = -OAmA 2.7 Vcc V Output Low Voltage VOL IOL = 2mA 0 OA V I nput Leakage Current III VI = 0 to 5.5V -10 10 I1A Input Leakage Current ILZ VI = 0 to 5.5V -20 20 I1A (Three-state Pin Input) Static Power Supply Current Iccs 10 I1A Power Supply Current Icc fop = BMHz 50 mA Operating Temperature Range = _40DC to 85 DC ---- Value Parameter Symbol Condition Min Typ Max Unit VIH Other than CK1, CK2 2.B Vcc + 0.3 V Input High Voltage VIHCK CK1, CK2 4.0 Vcc + 0.3 V V IL Other than CK1, CK2 -0.3 O.B V Input Low Voltage VILCK CK1, CK2 -0.3 0.6 V Output High Voltage VOH IOH = -OAmA 2.7 Vcc V Output Low Voltage VOL IOL = 2mA 0 OA V Input Leakage Current III VI = 0 to 5.5V -25 25 I1A Input Leakage Current ILZ VI = 0 to 5.5V -40 40 I1A (Three-state Pin Input) Static Power Supply Current Iccs 50 I1A Power Supply Current Icc fop = BMHz 60 mA INPUT/OUTPUT CAPACITANCE (Vcc = VI = OV, fop = BMHz) Value Parameter Symbol Min Typ Max Unit Input Pin C IN 6 pF Output Pin C OUT 6 pF I/O Pin CliO B pF 6-31 -~ .. ---------~ I1111111111111111111I1111111111111111111111111111 FUJITSU I111111111111111111111111111111111111111111111111 MB87064 Package Dimension 42-Lead Ceramic Multi Dual In-Line Package (DIP-42C-A01) R.050(1.27) J REF .578( 4.68) .605(15.38) .590(14.99) .610(15.49) ~~~~~~~~~~I ~-=~ i m060 m tmmmmm· (I.52)MAX ~ lU! . J I','~'~:,.~ 1 .150(3.81) _+-....l._ .090(2.29) .110(2.79) .036(0.91) .044(1.12) II .015(0.38) ---I' .023(0.58) .040(1.02) .060(1.52) 2.000(50.80)REF Dimensions in inches (millimeters) 6·32 11111111111111111111111111111111111111111111111111111111111111111 MB87067 FUJITSU MB87068 I April 19'36 Edition 1.0 DESCRIPTION The Fujitsu MB87067/MB87068 Digital Signal Processor (DSP) consists of two MB8764 DSPs each with an applications-specific program in the internal ROM. Together, the MB87067/MB87068 chip set provides all coding/decoding functions required to process Adaptive Pulse Code Modulation (ADPCM) signals. The MB87067 provides the encoding function and the MB87068 provides the decoding function. Under direction of the ADPCM programs stored in the two devices, the chip set allows the user to implement a CCITT standard ADPCM CODEC without any program development work. For complete electrical characteristics and functional detail of the MB8764 DSP, the user should refer to the current data sheet and, for additional DSP support, contact the nearest Sales Office of Fujitsu. FEATURES • High-performance design based on MB8764 DSP (Same electrical and timing specifications.) • CCITT standard ADPCM coding/decoding (Selectable Ceramic Package p.-Iaw/ A-law PCM). RIT-88C-A01 • MB87067 provides u-Iaw PCM bit-steal function: 7-bit decode function and bit-steal receiving function. • ADPCM bit-steal function with transmit/receive signaling. This device contains circuitry to protect the inputs against damage due to high static voltages or electric fields: However, • TTL interface. it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated • Silicon gate CMOS fabrication process. voltages to this high impedance circuit. • Single 5-volt power supply. • 88-pin grid array (PGA) package. 6-33 1IIIIIIIIIIIImllllllllllllllillmimlillllili FUJITSU MB87067 IIIIIIIIIIIIIIIIII~III~IIIII~II~IIII~IIII MB87068 PIN ASSIGNMENTS DATA BUS INPUT/DUTPUT IIDCDNTRDL RESET EXPANSIDN RAM CONTROL @@ @)@ EXPANSION RAM SPEED SELECT @)@ EXPANSION RAM CLOCK @'J@@ ADDRESS ROM CONTROL @ @@ PROGRAM @ @ «i' INDEX PIN ADDRESS @ @ @) @ @ @ @@@@@@@@)@@@@ INSTRUCTION G:l000®®0®®@@@ No. Name No. Name No. Name No. Name No. Name No. Name 1 PA1 16 EAO 31 014 46 P23 61 EA7 76 CK2 2 PAO 17 - 32 REO 47 P21 62 - EA9 77 TST 3 P22 18 EA3 33 BCT 48 P18 63 ECE 78 PA9 4 P20 19 EA5 34 RCK 49 P16 64 02 79 PA6 5 P19 20 EA6 35 RST - 50 P15 65 04 80 PA4 6 P17 21 EA8 36 FLO 51 P13 66 07 81 GNO 7 P14 22 EWE 37 WCK 52 P10 67 09 82 VCC 8 P12 23 DO 38 ESS 53 P8 68 010 83 VCC 9 P11 24 01 39 CK1 54 P6 69 012 84 GNO 10 P9 25 03 40 IRM 55 P3 70 - 015 85 GNO 11 P7 26 05 41 PA8 56 P1 71 ACT 86 VCC - 12 P5 27 06 42 PA7 57 EA1 72 AIF 87 VCC 13 P4 28 08 43 PA5 58 - 73 FL1 88 GNO 14 P2 29 011 44 PA3 59 EA2 74 AOF 15 PO 30 013 45 PA2 60 EA4 75 ASL 6-34 1IIIIIIIm~mmmmmlm~mlm~ilml M887067 FUJITSU M 887068 Ilmllllllllllilmlmmi~IIIII~llillmlll PIN DESCRIPTIONS Pin No. Designator Function MB87067 MB87068 70 D15 Data Bus MSB /J-Iaw/A-Iaw select 31 D14 Data Bus BIT14 7-bit coding select 'r 30 D13 Data Bus BIT13 'r 'r 69 D12 Data Bus BIT12 'r 'r 29 D11 Data Bus BIT11 'r 'r 68 D10 Data Bus BIT10 'r 'r 67 D9 Data Bus BIT9 'r 'r 28 D8 Data Bus BIT8 'r 'r 66 D7 Data Bus BIT7 PCM info • / PCM out 27 D6 Data Bus BIT6 PCM in/' • / PCM out 26 D5 Data Bus BIT5 PCM in/' • / PCM out 65 D4 Data Bus BIT4 PCM info • / PCM out 25 D3 Data Bus BIT3 PCM in/ADPCM out ADPCM in/ PCM out 64 D2 Data Bus BIT2 PCM in/ADPCM out ADPCM in/ PCM out 24 D1 Data Bus BIT1 PCM in/ADPCM out ADPCM in/ PCM out 23 DO Data Bus LSB PCM in/ADPCM out ADPCM in/ PCM out 34 RCK Data read clock -- 33 BCT Data bus output enable Control signal - 72 AIF Data input request 37 WCK Data write clock 74 AOF Output data type specification -- 71 ACT Input enable 62 EA9 Expansion RAM address MSB PCM bit steal out ADPCM bit steal out 36 FLO Flag input Signaling input Set to "1" - 73 FL1 Flag input Signaling on/off 35 RST Initialization Reset 39 CK1 Master clock input pin 1 20M Hz clock 76 CK2 Master clock input pin 2 20M Hz clock 40 IRM Internal/External ROM switching Set to "1" 77 TST Internal ROM test mode Set to "0" - 75 ASL Data output type specification Set to "1" 38 ESS ERAM speed select Set to "0" 22 EWE ERAM write clock NC -- 63 ECE ERAM chip enable NC 32 REO Data bus request NC Legend: *Unused pin 6-35 ... -----------------~--~--~-~-~----~-~-=--=-=--~-~-=--=-=-=-=--=--=-=-=-=-=--~------- iiiiilliiliiiliiiliiiliiiiiiiiiiiliiliiiliiiiiiiiiii FUJITSU MB87067 1111111111111111111111111111111111111111111111111111 MB87068 APPLICATIONS Typical Coding/Decoding Configuration L:-: '" CKl 40MHz >--C ~ Q " CK2 AiF VDD VSS Y ~ RCK BCT " FLO --< V ADPCM } 81TSTEAL m --< EA. --. BIT STEAL SIGNAL OUT li M887067/MB87068 +'V /1-LAW/A-LAW SELECT LS244 • 7 '" Dl. IRM - PCM BIT STEAL " Dl. - ~ 013 D12 ASL - - ~ 010 D11 TST 11 li • ~ D8 D. ESS - " D7 ,. 13 7 • "'V D'DB "7 INPU TOATA 17 3 u D. {MB8706 7:8BIT) 8 LS244 12 u (MB870.8:.BIT) • ,. 03 • ,. " u D2 Dl - 2 18 '" DO ,.,.,. 18 ,. 17 ,--- WCK RST OUTPUTDATA 12 13 (MB870.NBIT) (MB8706 8:8BIT} • LS374 8 • 7 • 2 • 3 Legend: T .A ..... A ..... ..:sL 20kO pullup RESET 6·36 OOi~.ml~mllllllllllllml~lmlll t:'UJITSU MB87067 IWIIIIWlllimllll!mllllmlllllllllmWI MB87068 PACKAGE DIMENSIONS Ic (Metal Seal) 88-Lead cerami Line Package Repealed Quad C-A01 n- RIT-88 01510.38) DIA 04011.02lTYP DIA 12510.64) 1 . sin Dimens(I~7I1imeterS) inches 6-37 MB87069 April 1986 Edition 1.0 DESCRIPTION The Fujitsu MB87069 is a dedicated Serial Interface Adapter (SIA) that provides cost-effective interface support between the Fujitsu MB8764 Digital Signal Processor (DSP). PCM CODECs. and general purpose microprocessors. Some interface examples are shown later in this document. FEATURES • Supports M88764 for interface of PCM CODEC and micro- processor • Serial 1/0 functions (dual input/output lines) • Conversion circuits for JJ-law/A-law data to linear data and vice-versa • Interface cirgfJit for microprocessor • Software-controlled operations from M 88764 or microprocessor • Silicon~gate CMOS process PGA-64C-A02 • 64-pin Pin Grid Array (PGA) package This device contains circuitry to protect the inputs against damage due to high static voltages or electric fields. However, it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages 10 this high impedance circuit. 6-38 Illmllllllm1111111111111111111111111111111111111 FUJITSU 111111111111111 1111111111111111111111111111111111111 MB87069 PIN ASSIGNMENTS 28 27 26 25 24 23 22 21 20 0 0 0 0 0 o 0 0 0 019 58 57 56 55 54 53 52 51 290 0 0 0 o 0 0 0 0 018 GNO 300590 050017 310600 049016 320610VDO 048015 (TOP VIEW) 330620 VOO 047014 340630 046013 350640 045012 GNO 360 0 0 0 o 0 0 0 0 011 I 37 38 39 40 41 42 43 44 0 0 0 0 o 0 0 0 0 0 1 2 3 4 5 6 7 8 9 10 i Pin Pin Pin Pin Pin Pin Pin Pin No. 1/0 Name No. 1/0 Name No. 1/0 Name No. 1/0 Name 1 Output XBCT 17 I/O CLOB 33 Output XCK3 49 Input BSIA 2 Output XAIF 18 1/0 SYOB 34 Output XASL 50 Output SODB 3 Input XACT 19 Input BSIB 35 Output XFLO 51 Input A02 4 1/0 015 20 Input A01 36 Output XRCK 52 Input XMCE 5 1/0 D12 21 Input ADO 37 Inut XREQ 53 Input XMWE 6 1/0 011 22 1/0 DB7 38 1/0 D14 54 - GND 7 I/O 08 23 I/O DB6 39 I/O D13 55 I/O DB4 8 I/O D6 24 I/O DB5 40 - GND 56 I/O DB2 9 I/O D5 25 I/O DB3 41 I/O D10 57 I/O DBO 10 I/O 03 26 I/O DB1 42 I/O 09 58 Input SIDB 11 I/O 02 27 Output XIRQ 43 I/O 07 59 Output IBSA I. 12 I/O DO 28 Output IBSB 44 I/O 04 60 Input SIOA 13 Input XEWE 29 Input SYIB 45 I/O 01 61 - VCC 14 Input EAO 30 Input CLiB 46 Input XRCE 62 Input MCLK 15 I/O SYOA 31 Input CLiA 47 - VCC 63 Input XRST 16 I/O CLOA 32 Input SYIA 48 Output SODA 64 Output XORS 6·39 --------~~~--,,--.----.~~-~~--~<~-~ .-"---=-~-- .---------- 1111111111111111111111111111111111111111111111111111 FUJITSU MB87069 1111111111111111111111111111111111111111111111111111 BLOCK DIAGRAM XREQ XACT XRCK XAIF INTERFACE PORT FOR MB8764 r----~-~~rl---1''M'--.,..--.,..--.,..---< ~--'~-I-'0:;:O-D15 >-_-.+=D~BO-DB7 XMWE INTERFACE XMCE PORT FOR AD2 MICRO· AD1 PROCESSOR ADO .....--r:~-I-J.-.XIRQ BLOCK ANALYSIS Registers SB1 and SB2 Registers RA1 and RA2 These two registers perform the same function for serial input port B as SA 1 and SA2 perform for port A. These two 8-bit shift registers generate parallel data input from serial input port A. Register RA2 is only used for 16-bit inputs; Linear to Non-Linear Converter (L - NL) the lower 8 bits are stored in RA 1 and the upper 8 bits are stored in RA2. Converts linear data to /1-law/A-law data. Registers RB1 and RB2 Registers IR1 and IR2 These two registers perform the same function for serial input Buffer interface registers for MB8764. port B as RA 1 and RA2 perform for port A. Registers OR1 and OR2 Non-Linear to Linear Converter (NL - L) These two interface registers are used when data is transferred Converts /1-law/A-law data to linear data. from the MB8764 DSP to the microprocessor. Registers SA1 and SA2 Registers ST2, ST10, and ST11 'fhese registers perform handshake interface functions be- When data is received from the MB8764, these registers tween the microprocessor and the SIA. perform a parallel-to-serial conversion and transfer the data to serial input port A. Register SA2 is only used for 16-bit data; in this case, the lower 8 bits are stored in SA 1 and the upper 8 bits Control (CTRL) Register are stored in SA2. This register specifies the operating mode of the SIA. 6-40 :1111111111100111111111111111111111111111111 FWITSU IIIIIIIIIIIIIIIIIIIIIIII~IIIIIIIIIIIIIIIIIIIIIII MB87069 TYPICAL APPLICATIONS Interface Between MB8764 (OSP) and MB6021/22 (COOEC) With MB87069 (SIA) I TIMING (X) CONTROL I +r +VS 00-15 EAO EWE ECE 00-15 EAO XEWE XECE SVIA SIDA ellA XSYNC DOUT XCLK AIN - ANALOG IN AIF XAIF RCK XRCK ACT XACT REO XREQ BcT XBCT MB602. ","aw) MBB7S4 M887069 MB6022 (A-law) ASL XASL VREF GA. C GA2 RST XDRS =l ~ POlL MCLK. MCLK2 A." ........ 804 ...... S04 J MCLK ; - - - XCK3 SVOA SODA RSVNC DIN AOUT r---- ANALOG OUT ,.- XRST CLOA RCLK -VS MASTER CLOCK ('6.384MHz)- ~. -5V MB8764 SYSTEM CLOCK_ S VSTEM R E S E T - I TIMING CONTROL(R) • 6-41 1111111111111111111111111111111111111111111111111 FUJiT-SU MB87069 1111111111111111111111111111111111111111111111111 Interface Between MBS7069 and Microprocessor (Me6S00) ADO-2 I ADDRESS VMA DECODER XMCE AO-15 OBO-7 DO-7 MB87069 MC6S00 XMWE -4 R/W E XIRQ f IRQ 6-42 illm~~glllllllllllllllllllllllllllllill FUJITSU 1111111111111111111111111111111111111111111111111111 MB87069 SYSTEM CONFIGURATIONS Echo Canceller ., 6•• ~ Gt .3 t t ~ •• t= ANALOG IN ANALOG OUT 4 ., MB87069 MB87069 Microprocessor Interface Circuit r:::I r-:::I r:::I ~ ~ ~ t MICROPROCESSOR AND PERIPHERALS t t t 32 kbps ADPCM CODEC r::::-l r:::I ~ ~ ANALOG IN t t ANALOG OUT FROM LINE TO LINE 6-43 ii!iii!iil!!illlliliil!ii!i!!I!!!illl!llllllliiil FUJITSU 1111111111111111111111111111111111111111111111111 MB87069 PACKAGE DIMENSIONS 64 Lead Ceramic (Metal Seal) Repeated Quad In-Line Package PGA-64C-A02 1.271.0501 TYP DIA .09012.291 / -l .11012.791 @oooooooo@ o 000 0 0 0 000 o 0 j 0 o 0 1.020125.911 .900122.861 o 0 1.050126.671 REF o 0 o 0 o 0 o 0 INDEX A REA o 0 o 0 \ ---, U .01610.411 o @0 0 0 0 0 000 0 0 0 0 0 0 0 o@ 0 .718118.24IS0 .02510.641 TYP .03510.891 1.020125.911 .06011.521 1.050126.671 .21015.331 .12013.051 MAX .15013.811 Dimensions in inches (millimeters) 6-44 Section 7 ROM Code Development Procedure ; 7-2 Procedure 7-3 Flowchart 7-1 4-Bit/S-Bit Microcomputers ROM CODE DEVELOPMENT AlI4-bit Microcomputers and some 8-bit microcomputers from Fujitsu are available with a mask ROM; thus. the Customer can develop a proprietary system that is efficient and very cost-effective. The ROM can be submitted in the form of an EPROM or the Customer can submit the device actually used to develop the code (MBL8742. MBL8749H. or equivalent). The code submittal must be accompanied by a Data Release Form that specifies mask options. package markings. delivery expectations. production quantities. and other relevant data. The submitted code is processed by Fujitsu and returned to the Customer in the form of an EPROM for code verification. Before code submittal. the Customer can choose either of two options. Option 1: If there is absolute certainty that the code is accurate and there will be no changes. the Customer can commit the code to production. In this case. Fujitsu will design the mask. finalize the package specifications. and produce the part in production quantities. As shown in the ROM Code Development Flowchart. the Customer assumes all risks for accuracy of code supplied to Fujitsu. Option 2: After code verification. the Customer may choose to wait for engineering samples before committing the code to production assuring Customer control of production device configuration. However. the wait for production parts is extended. For simple codes or for those with minor deviations from working samples. a risk order may be justified. Likewise. if tried-and-proven codes are being processed by Fujitsu to save time or money. a risk order will expedite production. For design prototypes or for systems with complex control features. the non-risk order is recommended. The Customer should review the following flowchart and become familiar with ROM-code development procedures. All required code-development forms are available at Fujitsu Sales Offices or the Customer can simply contact the FMI Sales Representative for additional information. 7-2 ~lmlllml1llllllllllllllllllllllllllllllll FUJITSU 1111111111111111111111111111111111111111111111111111 FLOWCHART OF ROM CODE DEVELOPMENT DEVELOP CODE, BURN EPROMS, AND SEND DATA TO FMI. Option 1 Option 2 APPROVE VERIFICATION APPROVE ENGINEERING CODE AND SIGNOFF SAMPLES AND SIGNOFF APPROVAL FORM. APPROVAL FORM. Legend: o CUSTOMER RESPONSIBILITY Em FMI RESPONSIBILITY 7·3 Section 8 Quali!y Assurance and Reliability 8-2 Flowchart 8-1 Quaiity Control at Fujitsu Quality control for all Fujitsu products is an integrated process that crosses all lines of the manufacturing cycle. The QC process begins with incoming inspection of all raw materials and ends with shipping tests and reliability tests following final test of the finished product. Prior to warehousing, Fujitsu products have been subjected to the scrutiny of man, machine, and technology and are ready to serve the Customer in the designated application. QUALITY CONTROL FLOWCHART WAFER SURFACE AND PATIERN SAMPLING INSPECTION CHIP SHIPPING INSPECTION INTERNAL SAMPLING VISUAL INSPECTION SeALING OR MOLDING AGING (AFTER ENCAPSULATION) FINE ANO GROSS LEAK TESTS EXTERNAL SAMPLING VISUAL INSPECTION SHIPPING TESTS RELIABILITY TESTS LOT TESTS/PERIODIC HERMETICITY (FINE AND GROSS LEAK TESTS.) EXTERNAL AND MARKING INSPECTIONS, TESTS ELECTRICAL CHARACTERISTiCS TESTS, ALL SAMPLING TESTS WAREHOUSING ENDURANCE AND ENVIRONMENTAL TESTS Legend: o Production process o Test/Inspection [QJ Production process and test/Inspection o OC gate (sampling) Note: The flow sequence may vary slightly with individual product type. 8-2 Section 9 Ordering Information 9-2 Product Marking 9-2 Ordering Codes 9-3 Office Locations 9-1 Ordering Information Product Marking Fujitsu Logo ZZ - year XX - week number Ordering Codes 1 MB XXXXX -1 P TIL Package Code (See Package Codes below) L"'_ Device Type Speed Designator (When applicable) Manufacturer Designator MB Device type is Fujitsu Internal Number MBL Device type is Second Source Note: Regarding ordering code, please contact your Fujitsu Sales Office for more Information. Package Codes Package Type Package Code Package Type Package Code LCC (Leaderless CV LCC (Leaderless PV Chip Carrier) Chip Carrier) PGA (Pin Grid Array) CR PGA (Pin Grid Array) PR DIP (Side Brazed) 1 C DIP (Duallnline Package) P DIP (CERDIP) 2 Z Shrink DIP PSH Shrink DIP CSH Flat PF Flat CF Side Brazed 2 9-2 • Headquarters Locations World Headquarters European Headquarters Asian/Pacific Headquarters Fujitsu Limited Fujitsu Mlkroelektronlk GmbH Fujitsu Microelectronics FMP Furukawa Sogo Bldg., 6-1 Arabella Center 9, OG./ A Marunouchl 2-chrome, Chlyoda-ku 805 Tslm Sha Tsul Centre Lyoner Strabe 44-48 0-6000 Tokyo 100, Japan Frankfurt 71, F. R. Germany West Wing 66 Phone National (03) 216-3211 Phone: 069/66 320 Mody Road. Kowloon International (Int'l Prefix) Telex: 0411 963 Hong Kong 81-3-216-3211 Phone: 852-3-7320100 Telex: 2224361 FT TOR J Telex: 31959 FUJIS HX North/South American Headquarters Fujitsu Microelectronics, Inc. 3320 Scott Blvd. Santa Clara, Ca. 95054-3197 Phone: (408) 562-1000 Telex: (910) 338-0190 FUJITSU SNTA • Sales Office Locations - USA HEADQUARTERS ATLANTA DALLAS Fujitsu Microelectronics, Inc. Fujitsu Microelectronics, Inc. Fujitsu Microelectronics, Inc. 3320 Scott Boulevard 1101 East Arapaho Road 3169 Holcomb Bridge Santa Clara, CA 95054-3197 Suite 225 Suite 506 (408) 562-1000 Norcross, GA 30071 Richardson, TX 75081 TWX: 910-338-0190 (404) 449-8539 (214) 669-1616 TWX: (810) 766-4542 TWX: (910) 867-9434 NORTHERN CALIFORNIA BOSTON MINNEAPOLIS Fujitsu Mlcrolectronlcs, Inc. 595 Mlilich Drive Fujitsu Microelectronics, Inc. Fujitsu Microelectronics, Inc. Suite 210 3460 Washington Avenue 57 Wells Avenue Campbell, CA 95008 Eagan, MN 55122 Newton Centre, MA 02159 (408) 865-5600 (612) 454-0323 (617) 964-7080 TELEX: 201-670 TWX: (910) 590-8003 TWX: (710) 335-7701 SOUTHERN NEW YORK CALIFORNIA CHICAGO Fujitsu Microelectronics, Inc. Fujitsu Microelectronics, Inc. Fujitsu Microelectronics, Inc. 801 Veterans Memorial Highway 840 Newport Center Drtlve 1501 Woodfield Road Suite P Suite 460 Suite 202, South Bldg. IV Hauppauage, NY 11788 Newport Beach, CA 92660 Schaumburg, IL 60195 (516) 361-6565 (714) 720-9688 (312) 885-1500 TWX: 510-227-1049 TWX: (910) 595-1587 TWX: 910-687-7378 1. (408) 866-5600 2. (714) 720-9688 3. (214) 669-1616 4. (612) 454-0323 5. (617) 964-7080 9-3 • Saies Office Locations Europe France Netherlands Scandinavia United Kingdom Fujitsu Mikroelektronlk Fujitsu Component Europe, Fujitsu Microelectronics Ltd. Fujitsu Microelectronics Ltd. Bureau de Liaison B.V. Industrigaten 2A, plan 7 Hargrave House Tour Rosny II Rljnkade 19B, 1382 GS, S-112 46 Stockholm Belmont Road 93118 Rosny Sous Bois Cedex Weesp, Sweden Maidenhead Phone: (1) 4855 1646 The Netherlands Phone: 8 785 00 67168 Berkshire Sl6 6NE Telex: 2 31 684 Phone: Telex: 13411 FNAB Phone: (06 28) 7 6100 31-2940-18748118914 Fax: 853 1634 Telex: 848 955 Telex: 44-11966 Italy Fujitsu Microelectronics Italla North Germany SRL Fujitsu Mlkroelektron.l.k GmbH South Germany Centro Oirezionalo Mllanoflorl Lyoner Strasse 44-48 Fujitsu Mlkroelektronik GmbH Palazzo A2. Arabella Center 9 .OG/A Arbeostrasse 5 1-20090 Assago - Milano 0-6000 Frankfurt-Nlederrad 0-8057 Echlng bel Muenchen Phone: 39-2-824-6170 71 Phone: (089) 3 19 10 15 FAX: 39-2-824-6189 Phone: (069) 6 63 20 Telex: 5 213 905 Telex: 4 11 963 Fax:. (0 69) 663 21 22 • Representatives/Distributors - Europe Austria France Mlcrotronica Spain Kaap de Goede Hooplaan II Atel Electronics ERN Diode 3526 AR Utrecht Eitnergasse 6 237 rue de Foumy Edlficio Iberia Mart 1232 Wlen Z.A. Buc Phone: (0 30) 88 00 84 Avda. de Brasil 5 Phone: (222) 86 1531 78530 Bue Telex: 40744 Madrid 20 Telex: 112344 Phone: (33) 9560011 Phone: (1) 4553686 Telex: 42148 Microram Belgium 6. reu Ie Corbusier Norway ERIAT SA SlIic 424 International S. A. 94583 Rungls Cedex Odin Electronics AS Litton Precision Rue de Fralsiers 89 Phone: (1)6868170 EDV Grlegsvei 2 Condes del Val 8 4410 Herstal-Vottem Telex: 206952 1472 Fjellhamar 28030 Madrid Phone: (41) 274263 P.O. Box 72 Phone: (1) 250 1507 Telex: 41 782 Germany Phone: (02) 703730 Telex: 44730 MHV Microhalbleiter GmbH Telex: 19732 Denmark Jaegerweg 1 () Nordisk Elektronlk AS 8012 Ottobrunn Transformervej 17 Phone: (0 89) 6 09 60 68 United Kingdom 2370 Harlev Telex: 5213807 Sweden Ambar Components Ltd. Phone: (02) 84 20 00 Naxab Rabans Close Telex: 35 200 Italy P.O. Box 4115 Aylesbury Bucks Konton S.p.a. 17104 Solna HP 19 3RS Finland Via G. Fantoll, 16115 Phone: (08) 9851 40 Phone: (0296) 34141 Gadelius OY 20138 Milano, Italy Telex: 17912 Kaupintie 18 Phone: (02) 50722174 Telex: 312288 Kontml 00440 Helsinki Phone: (80) 5 626644 Hawke Telex: 121274 Netherlands Switzerland Amotex House P & T Electronics Int. B. V. 45 Hawworth Road Eljapex AG Sunbury OY Comdax AS Esse Baan 77 Itaelahderkato 23A P.O. Box 329 Hardstrasse 72 Midox 00210 Helsinki 21 2900 LJ Capelle AID Ijessel 5430 Wettlngen TW 16 SDA Phone: (90) 0 67 02 77 Phone: (31) 10501444 Phone: (0 56) 26 30 52 Phone: 19797799 Telex: 1 25876 Telex: 26096 Telex: 58068 Telex: 923592 9-4 • Representatives - USA (Including North and South America) Semtronlc Associates, Inc. Michigan Oklahoma North America 1467 S. Missouri Avenue Ganzel Sales Associates AP Associates Clearwater t FL 33516 i Alabama (813) 461-<1675 9903 Webber 4135 South 100 East Avenue P.O. Box 777 Suite 101 The Novus Group, Inc. -1 14005 Coy' s Drive Brighton, MI48116 Tulsa, OK 74146 (918) 622-7744 Huntsville, AL 35803 Semtronlc Associates, Inc. (313) 229-6550 (205) 881-2207 3471 N. W. 55th Street Ft. Lauderdale, FL 33309 Minnesota Oregon Arizona (305) 731-2484 Electromec Sales L-Squared Limited Thorn Luke Sales 1601 East Highway 13 4540 S. W. Hall Blvd 2940 North 67th Place Suite 200 Beaverton, OR 97005 Suite H Georgia Burnsville. MN 55337 (503) 644-8555 Scottsdale, AZ 85251 The Nevus Group, Inc. (612) 894-8200 (602) 941-1901 4556 Canda Drive Lilburn, GA 30247 Missouri Puerto Rico California (404) 381-1015 Semtronlcs Association Kebco, Inc. Harvey King, Inc. 1810 Craig Road Mereantil Plaza Building 6393 Nancy Ridge Drive Suite 102 Suite 816 San Diego, CA 92121 Iowa St. Louis, MO 63146 Hato Rey, PR 00918 (619) 587-9300 Electromec Sales (314) 576-<1111 1500 2nd Avenue HI-Tech Rep Company Suite 205 North Carolina Texas 31332 Via Collnas Cedar Rapids, IA 62403 Technical Marketing, Inc. Sulta 109 (319) 362-6413 The Nevus Group, Inc. 3320 Wiley Post Road Westlake Village, CA 91362 4234 Bertram Drive Carrollton, TX 75006 (818) 706-2916 Raleigh, NC 27604 (919) 872-3966 HI-Tech Rep Company Idaho Technical Marketing, Inc. Cascade Components 0027 Northgate Blvd. 1111 EI Camino Real 2419 W. State Street New Jersey Suite 104 Suite 140 Suite 10 BGR Associates Austin, TX 78758 Tustin, CA 92680 Boise, 10 83702 Evesham Commons (714) 730-9561 (208) 343-9886 525 Route 73, Ste 100 Marlton, NJ 08053 Technical Marketing, Inc. Norcomp, Inc. (609) 983-1020 2901 Wllcrest Drive 3350 Scott Blvd. Suite 139 Suite 24 Illinois Houston, TX 77042 Santa Clara, CA 95054 Technical Applications Beta Technology (408) 727-7707 Marketing 510 Mitchell Road 2 Ridgedale Avenue Glendale Halghts, IL 60139 Suite 370 Utah Canada (312) 790-9886 Cedar Knolls, NJ 07927 Front Range Marketing Great Northern Technology (201) 286-9094 2520 S. State Street 3700 Gilmore Way Suite 117 Suite 425 Indiana New York Salt Laka City, UT 84115 Burnaby, BC V5G 4M8 Fred A. Dor_ and A ••ocl- (801) 364-6481 Quality Components ates Pipe Thompson Limited 6525 East 62nd Street 116 Fayette Street 5468 Dundas Street W. Suite 112 Manlius, NY 13104 Washington Suite 206 Indianapolis, IN 46250 (315) 682-8886 L-Squared Limited Islington, Ontario M9B 6E3 (317) 642-0060 10502 Riviera Place, NE (416) 236-2355 Quality Components Seattle, WA 98125 3343 Harlem Road Pipe Thompson Limited (208) 626-0641 Buffalo, NY 14225 RR2 North Gower Kansas (716) 837-5430 Ottawa, Ontario KOA 2TO Kebco, Inc. (613) 258-<1067 16047 East Kellog Technical Applications Wisconsin Wichita, KS 67230 Marketing Beta Technology Pipe Thompson Limited (316) 733-1301 1757 Veterans Memorial Hwy 9401 Beloit Street 769 Madeleine Street Suite 408 Suite 304C Laval, Quebec H7P 3W6 South Hauppauge, NY 11722 Milwaukee, WI 53227 (514) 628-1393 Massachusetts (516) 348-0800 (414) 643-6609 Mill-Bern Associates Connecticut 120 Cambridge Street Ohio Contech Sales, Inc. 70 White Turkey Road Sulta 8 Burlington, MA 01803 Bear Marketing South America 3623 Brecksville Road Suite 8 (617) 273-1313 P.O. Box 427 Brasil Brookfield, CT 06804 Richfield, OH 44286 HI-TECH Industrial Ltd. (203) 743-8936 (216) 659-3131 801 Con]. 111-121 Brooklin Maryland Sao Paulo, Brasil 04571 Florida Component Sales Bear Marketing Semtronic Associates, Inc. 108 Old Court Road 1563 E. Dorothy Lane Suite 204 Suit. 104 Coselbra Industrial Ltda. 657 Maitland Avenue Baltimore, MD 21208 Kettering, OH 45429 R. Olinda 280 Altamonte Springs, FL 32701 (301) 484-3647 (513) 229-6877 04761 Sao Paulo Brasil SP. (305) 831-8233 9-5 • Minnesota Distributors - USA Marshall Industries 129 Brown Street Oregon Marshall Industries 466 Lawndale Drive Diplomat Electronics Johnson City, NY 13790 Marshall Industries Suite C 14920 28th Ave. N. (607) 798-1611 8230 S.W. Nimbus Avenue Salt Lake City, UT 84115 Plymouth, MN 66441 Beaverton, OR 97005 (801) 485-1551 (612) 559-2500 (503) 844-6050 Marshall Industries Time Electronics 1280 Sccltsville Road 2446 Progress Drive Marshall Industries Time Electronics Rochester, NY 14624 Salt Lake City, UT 84119 3800 Annapolis Lane 16126 SW 72nd Avenue (716) 235-7620 (810) 973-8181 Plymouth, MN 66441 Portland, OR 97224 (612) 559-2211 (603) 684-3780 Marshall Industries Washington 275 Oser Ave. Westarn Mlcrotechnology Marshall Industries Time Electronics Hauppauge, NY 11768 1800 N. W. 169th Place 14102 NE 21st Street 7488 West 78th Street (616) 273-2424 Suite 6300 Bellevue, WA 98007 Bloomington, MN 55435 Beaverton, OR 97006 (206) 747-9100 (612) 944-9192 Mast Distributors (503) 829-2082 215 Marcus Blvd. Time Electronics Hauppauge. NY 11788 8601 Willows Road Missouri Pennsylvania Redmond. WA 98052 (516) 273-4422 Time Electronics Time Electronics (206) 682-1600 330 Sovereign Court 600 Clark Ave. St. Louis, MO 63011 Mligray King 01 Prussia, PA 19406 Western Mlcrotechnology (314) 391-6444 77 Schmidt Blvd. (215) 337-ll900 14636 NE 95th Street Farmingdale, NY 11768 Redmond, WA 98052 (516) 420-9800 (206) 881-8737 North Carolina Texas Marshall Industries Mllgray Diplomat Electronics Wisconsin 5221 North Boulevard 57 Monroe Ave. 2201 Denton Drive Classic Components Raleigh, NC 27604 Pittsford, NY 14534 Suite 104 2925 S. 160th Street (919) 878-9882 (716) 386-9330 Austin, TX 78758 New Berlin, WI 53151 (512) 836-8707 (414) 786-5300 Time Electronics Rome Electronics 216 Erie Boulevard, E. Diplomat Electronics Marsh Electronics 9800L Southern Pine Blvd. Rome, NY 13440 340 Mldcourt Road 1563 S. 101.t Street Charlotte, NC 28210 (315) 337-5400 Suite 128 Milwaukee, WI 63214 (704) 522-7600 Carrollton, TX 75006 (414) 475-&000 (214) 980-1868 Vantage Electronics Marshall Industries New Jersey 356 Veterans Memorial High- 235 North Executive Drive Diplomat Electronics Marshall Industries way Suite 305 490 S. River View Drive Commack, NY 11725 4025 Chenault Brookfield. WI 53005 Totawa, NJ 07512 (516) 543-2000 Carrollton, TX 75006 (4t4) 797-7260 (201) 785-1830 (214) 233-5200 Ohio Marshall Industries Marshall Industries Marshall Industries 7260 Langtry 101 Fairfield Road Houston, TX n040 Fairfield. NJ 07006 8212 Executive Blvd. Dayton, OH 45424 (713) 895-9200 (201) 882-0320 (513) 236-8088 Canada Marshall Industries Carsten Electronics Marshall Industries 8504 Cross Park Drive 3791 Victoria Park Ave. Marshall Industries 1021 Gaither Drive Austin, TX 78754 SCarborough, Ontario M1W 5905B Harper Road Mt. Laurel, NJ 08054 (512) 458-5854 Solon, OH 44138 3K6 (609) 234-9100 (416) 495-7705 (216) 248-1788 Mllgray Mllgray 17060 Dallas Parkway ITT Multlcomponents Mllgray 300 North Rlvermede Road 3002 Greentree Exec. Campus Suite 105 6155 Rockslde Road Dallas, TX 75248 Concord, Ontario Suite B Cleveland, OH 44131 (214) 248-1603 Canada L4K 2Z4 Marlton, NJ 08053 (216) 881-8800 (609) 983-5010 (416) 736-1048 Time ElectroniCS Space Electronics Reptron 2210 Hatton Vantage Electronics 404 E. Wilson Bridge Road 5651 Rue Ferrier Street 23 sebago Street Suite 101 Montreal, Quebec H4P 2K5 Suite A Carrollton. TX 75006 Clifton, NJ 07013 Worthington, OH 43085 (514) 697-8676 (201) 777-4100 (214) 241-7441 (614) 436-8675 Space Electronics Time Electronics 3070 Klngsway New York Time Electronics 10450 Stancllffe Blvd. Vancouver, B. C. V5R 5J7 6175H Shamrock Court Suite 110 (604) 438-5545 Currant Components Dublin, OH 43017 Houston. TX 77099 215 Marcus Boulevard (614) 761-1100 (713) 530-0800 tiauppauge, NY 11787 (516) 273-2600 Oklahoma Utah Diplomat Electronics Radio Inc. Diplomat ElectroniCS 110 Marcus Drive 1000 South Main 3007 South West Temple Melville, NY 11747 Tulsa, OK 74119 Salt Lake City, UT 84115 (516) 454-6400 (918) 587-9123 (801) 486-4134 9-6 • Alabama Distributors - USA Marshall Industries 3039 Kilgore Avenue Marshall Industries 4205 34th Street, SW Indiana Marshall Industries Rancho Cordova, CA 95670 Orlando, FL 32805 Marshall Industries 3313 S. Memorial Highway (916) 635-9700 (305) 841-t878 6990 Corporate Drive Suite 12t Indianapolis, IN 46278 Huntsville, AL 35801 Time Electronics Marshall Industries (317) 297-0483 (205) 881-9235 1339 Moffett Park Drive 1101 NW 62nd Street Sunnyvale, CA 94086 Suite 360 D Kansas Arizona (408) 734-9888 Ft. Lauderdale, FL 33309 Marshall Industries Insight Electronics (305) 928-0661 8321 Melrose Drive 1525 W. University Drive Time Electronics Lenexa, KS 66214 Suite 105 9751 Independence Ave. Mligray (913) 492-3t21 Tempe, AZ 85281 Chatsworth, CA 91311 1850 Lee Road (818) 998-7200 Suite 104 Mligray (602) 829-1800 690t W. 63rd Street Winter Park, FL 32789 Time Electronics (305) 647-5747 Overland Park, KS 66202 Marshall Industries (913) 236-8800 2410 E. Cerritos Ave. 835 W. 22nd Street Anaheim, CA 92806 Reptron Tempe, AZ 8528 t New Mexico (714) 937-0911 33320 N. W. 53rd Street (602) 968-6181 Suite 206 RAM Electronics Time Electronics Ft. Lauderdale, FL 33309 135 Virginia NE. Western Mlcrotechnology 19210 S. Van Ness Ave. (305) 735-1112 Albuquerque, NM 87108 7848 E. Redfield Drive Torrance, CA 90501 (505) 262-0888 SUite 17 (213) 320-0880 Reptron Scottsdale, AZ 85260 (602) 948-4240 13700 McCormick Drive Massachusetts Western Mlcrotechnology Tampa, FL 33624 Interface Electronics 10040 Bubb Road (813) 855-4656 228 South Street California Cupertino, CA 95014 Hopkinton, MA 01748 Image Electronics (408) 725-1660 Time Electronics (617) 435-6858 5310 Derry Street 6610 NW 21st Avenue Suite X Colorado Ft. Lauderdale, FL 33309 Marshall IndUstries Agoura, CA 91301 (305) 974-4800 One Wilshire Road Diplomat Electronics (818) 707-0911 Burlington, MA 01803 3974 Youngfield Street Time Electronics (617) 272-l1200 Wheatrldge, CO 80033 Image Electronics (303) 422-9229 4405 Vineland Road Suite C15 Mligray 1342 Bell Ave. Orlando, FL 32811 79 Terrace Hall Avenue Tustin, CA 92680 Marshall Industries (305) 841-6565 Burlington, MA 01803 (714) 730-0303 12351 N. Grant Road (617) 272-6800 Suite A Insight Electronics Thorton I CO 80241 Georgia RC Components 28035 Dorothy Drive (303) 451-8444 222 Andover Street Marshall Industries Suite 220 Wilmington, MA 01887 4350J International Blvd. Agoura Hills, CA 91301 Time Electronics (617) 273-1860 (818) 707-2100 Norcross, GA 30093 7399 S. Tucson Way (404) 923-5750 Suite A-7 Time Electronics Insight Electronics Inglewood, CO 80112 lOA Centennial Drive Mligray Peabody, MA 01960 3505 Cadillac Drive (303) 799-8851 17 Dunwoody Park (617) 532-6200 Costa Mesa, CA 92626 Suite 102 (714) 556-6890 Connecticut Atlanta, GA 30338 Maryland Marshall Industries (404) 393-9666 Insight Electronics Diplomat Electronics 6885 Flanders Drive 20 Sterling Barnes Park N. 9150 Rumsey Wallingford, CT 06492 Reptron Suite G Suite A6 (202) 285-3822 3040 H Business Park Drive San Diego, CA 92126 Columbia, MD 21045 Norcross, GA 30071 (619) 587-0471 . (301) 995-1226 Mligray (404) 446-1300 Marshall Industries 378 Boston Post Road Marshall Industries Orange, CT 06477 Time Electronics 8445 Helgerman 9674 Telstar Ave. (203) 795-0711 5555 Oakbrook Parkway Gaithersburg, MD 20877 EI Monte, CA 91731 Suite 535 (301) 840-9450 (818) 442-7204 Time Electronics Norcross, GA 30093 1701 Milldale Road (404) 448-4448 Milgray Marshall Industries Chesire, CT 06410 9801 Broken Land Parkway 336 Los Coches Street (203) 271-3200 Illinois Columbia, MD 21045 Milpitas, CA 95035 (301) 995-6169 (408) 943-4600 Classic Components Florida 3336 Commercial Ave. Vantage Electronics Marshall Industries Diplomat Electronics Northbrook, IL 60062 6925 R. Oakland Mills Road 10105 Carroll Canyon Road 1300 N. W. 65th Place (312) 272-9650 Columbia. MD 21045 San Diego, CA 92131 Ft. Lauderdale, FL 33309 (301) 995-0444 (619) 578-9600 (305) 974-8700 Marshall Industries 1261 Wiley Road Michigan Marshall Industries Diplomat Electronics Suite F Marshall Industries 9710 Desoto Avenue 2120 Calumet Street Schaumburg, IL 60195 31076 Schoolcraft Road Chatsworth, CA 91311 Clearwater, FL 33515 (312) 490-0155 Livonia, MI 48150 (818) 407-4100 (813) 443-4514 (313) 525-5850 Time Electronics Marshall industries Etek ElectroniCS 945 N. Edgewood Drive Reptron The Morgan 1490 NW 79th Avenue Suite G 34403 Glendale Irvine, CA 92718 Miami, FL 33126 Wood Dale, IL 60191 Livonia, MI 48150 (714) 458-5308 (309) 593-1188 (312) 350-0610 (313) 525-2700 9-7 I