INTELLIGENT PERIPHERAL DEVICES (IPD) DATA BOOK NEe NEe Electronics· Inc. NEe Intelligent Peripheral Devices [IPD] 1989-1990 DATA BOOK June 1989 Document No. 50051 01989 NEe Electronics Inc.lPrinted in the U.S.A. No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Electronics Inc. The information in this document is subject to change without notice. Devicessold by NEC Electronics Inc. are covered by the warranty and patent indemnification provisions appearing in NEC Electronics Inc. Terms and Conditions of Sale only. NEC Electronics Inc. makes no warranty, express, statutory, impll8d, or by description, regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. NEe Electronics Inc. makes no warranty of merchantability or fitness for any purpose. NEC Electronics Inc. assumes no responsibility for any errors that may appear in this document. NEC Electronlca Inc. makes no commitment to update or to keep current the information contained in this document. NEe ii NEe SELECTION GUIDES a COMMUNICATIONS CONTROLLERS fJ GRAPHICS CONTROLLERS B ADVANCED COMPRESSION/EXPANSION ENGINE II FLOPPY-DISK CONTROLLERS II HARD-DISK CONTROLLERS II LCD CONTROLLERS fJ MEMORIES FOR GRAPHICS APPLICATIONS II PACKAGE DRAWINGS m iii NEe iv tiEC Contents Section 1 Section 4 Selection Guides Advanced Compression/Expansion Engine Single-Chip Microcomputers 1-3 "PD72185 4-3 Advanced Compression/expansion Engine V-Series Microprocessors and Peripherals 1-9 Intelligent Peripheral Devices (lPD) 1-13 Section 5 DSP and Speech Products 1-15 Floppy-Disk Controllers V-Series Development Tools 1-17 I'fD765A/"PD765B 5-3 Single/Double Density Floppy-Disk Controller "PD75XX Series Development Tools 1-21 "PD71 065/66 5-21 "PD75XXX Series Development Tools 1~25 Floppy-Disk Interface "PD78XX Series Development Tools 1-29 "PD72065/65B 5-43 "PD78XXX Series Development Tools 1-31 CMOS Floppy-Disk Controller DSP and Speech Development Tools 1-35 "PD72067 5-57 Floppy-Disk Controller PG-1500 Programming Adapters 1-37 "PD72068 5-79 Floppy-Disk Controller Section 2 Communications Controllers "PD72069 5-105 Floppy-Disk Controller I'fD7201A 2-3 Multiprotocol Serial Communications Controller Section 6 "PD72001 2-21 Hard-Disk Controllers CMOS, Advanced Multiprotocol Serial Communications Controller I'fD7261A/B 6-3 Hard-Disk Controllers Section 3 "PD7262 6-39 Graphics Controllers Enhanced Small-Disk Interface Controller "PD7220A 3-3 "PD72061 6-67 High-Performance Graphics Display Controller CMOS Hard-Disk Controller "PD72020 3-31 "PD72111 6-69 CMOS Graphics Display Controller Small Computer System Interface Controller "PD72022 3-57 Intelligent Display Processor "PD72120 3-97 Advanced Graphics Display Controller "PD72123 3-153 Advanced Graphics Display Controller II v Contents Section 7 Section 9 LCD Controllers Package Drawings ""D7225 Package/Device Cross-Reference 9-3 CMOS, Intelligent Alphanumeric LCD Controller/Driver 28-Pin Plastic SOP (375 mil) 9-5 7·13 3D-Pin Plastic Shrink DIP (400 mil) 9-5 "PD7227 CMOS, Intelligent Dot-Matrix LCD 40-Pin Plastic DIP (600 mil) 9-6 Controller/Driver 4O-Pin Ceramic DIP With Side-Brazed Leads 9-7 "PD7228/28A 7·21 (600 mil) CMOS, Intelligent Dot-Matrix LCD Controller/Driver 4O-Pin Cerdip (600 mil) 9-8 44-Pln PLCC 9-9 Section 8 48-Pin Plastic DIP (600 mil) 9·10 Memories for Graphics Applications 52-Pin Plastic Miniflat (3.5-mm leads) 9~11 ""D41264/42273/42274 8·3 Dual-Port Graphics Buffers 52-Pin Plastic Minlflat (1.8-mm leads) 9·12 "PD421 01/421 02/42505 8-5 52-Pin PLCC 9·13 CMOS Line Buffers 64-Pin Plastic Miniflat 9·14 "PD42270 8-9 64-Pln Plastic Shrink DIP (750 mil) 9-15 NTSC Field Buffer 68-Pin PLCC 9-16 "PD43501 8·11 1,024-Channel Time-Division Switch 74-Pin Plastic Miniflat 9-17 80-Pln Plastic Miniflat (2.35-mm leads) 9-18 8O-Pln Plastic Miniflat (1.8-mm leads) 9-19 84-Pin PLCC NO 94-Pin Plastic Miniflat 9-21 100-Pin Plastic Miniflat 9-22 132-Pin Ceramic PGA 9-23 vi ttlEC Contents Numerical Index Device, "PD Page 41264 8-3 42101 8-5 42102 8-5 42270 8-9 42273 8-3 42274 8-3 42505 8-5 43501 8-11 71065/66 5-21 72001 2-21 7201 A 2-3 72020 3-31 72022 3-57 72061 6-67 72065/65B 5-43 72067 5-57 72068 5-79 72069 5-105 72111 6-69 72120 3-97 72123 3-153 72185 4-3 7220A 3-3 7225 7-3 7227 7-13 7228/28A 7-21 7261A/B 6-3 7262 6-39 765A/B 5-3 vii Contents viii t-fEC SELECTION GUIDES a 1-1 Selection Guides Section 1 Part Numbering System Selection Guides "PD72001L Typical microdevice part number Single-Chip Microcomputers 1-3 pP NEC monolithic silicon Integrated circuit V-Series Microprocessors and Peripherals 1-9 D Device type (D = digital MOS) 72001 Device identifier (alphanumeric) Intelligent Peripheral Devices QPD) 1-13 L Package type (L = PLCC) DSP and Speech Products 1-15 A part number may include an alphanumeric suffix that V-Series Development Tools 1-17 identifies special device characteristics; for example. ~PD72001L-11 has an 11-MHz data clock rating. ~PD75XX Series Development Tools 1-21 ~PD75XXX Serls~ DeveIOP!TlCllnt Tools 1-25 ~PD78XX Series Development Tools 1-29 ~PD78XXX Series Development Tools 1-31 DSP and Speech Development Tools 1-35 PG-1500 Programming Adapters 1-37 h2 fttIEC Single-Chip Microcomputers NEC Electronics Inc. Selection Gu ide 4-Bit, Single-Chip CMOS Microcomputers Device, Clock Supply ROM RAM iJ.PD Features (MHz) Voltage (V) (X8) (X4) 110 • Package Pins 7502 LCD controller/driver 0.4 2.5 to 6.0 2K 128 23 Mini.flat 64 7503 LCD controller/driver 0.4 2.5 to 6.0 4K 224 23 Miniflat 64 a 7507 General-purpose 0.4 2.7 to 6.0 2K 128 32 DIP 40 SDIP 40 Miniflat 52 7508 General-purpose 0.4 2.7 to 6.0 4K 224 32 DIP 40 SDiP 40 Miniflat 52 75CG08 Piggyback EPROM 0.4 4.5 to 5.5 2K or4K 224 32 Ceramic DIP 40 7514 LCD controller/driver 0.5 2.7 to 6.0 4K 256 31 Miniflat 80 7527A FIP controller/driver 0.6 2.7 to 6.0 2K 128 35 DIP 42 SDIP 42 7528A FIP controller/driver 0.6 2.7 to 6.0 4K 160 35 DIP 42 SDIP 42 75CG28 Piggyback EPROM; 0.5 4.5 to 5.5 4K 160 35 Ceramic DIP 42 FIP controller/driver 7533 AID converter 0.5 2.7 to 6.0 4K 160 30 DIP 42 SDIP 42 Miniflat 44 75CG33 Piggyback EPROM; 0.5 4.5 to 5.5 4K 160 30 Ceramic DIP 42 AID converter 7537A FIP controller/driver 0.6 2.7 to 6.0 2K 128 35 DIP 42 SDIP 42 7538A FIP controller/driver 0.6 2.7 to 6.0 4K 160 35 DIP 42 SDIP 42 75CG38 Piggyback EPROM; 0.5 4.5 to 5.5 4K 160 35 Ceramic DIP 42 FIP controller/driver 7554 Serial I/O; external clock 0.7 2.7 to 6.0 lK 64 16 SDIP 20 or RC oscillator SOP 20 75P54 Serial I/O; external clock 0.7 4.5 to 6.0 lK 64 16 SDIP 20 or RC oscillator OTPROM SOP 20 7564 Serial I/O; ceramic oscillator 0.7 2.7 to 6.0 lK 64 16 SDIP 20 SOP 20 75P64 Serial I/O; ceramic oscillator 0.7 4.5 to 6.0 lK 64 16 SDIP 20 OTPROM SOP 20 7556 Comparator; external 0.7 2.7 to 6.0 lK 64 20 SDiP 24 clock or RC oscillator SOP 24 75P56 Comparator; external 0.7 4.5 to 6.0 lK 64 20 SDIP 24 clock or RC oscillator OTPROM SOP 24 7566 Comparator; ceramic oscillator 0.7 2.7 to 6.0 lK 64 19 SDiP 24 SOP 24 75P66 Comparator; ceramic oscillator 0.7 4.5 to 6.0 lK 64 19 SDIP 24 OTPROM SOP 24 75004 General-purpose 4.19 2.7 to 6.0 4K 512 34 SDIP 42 Miniflat 44 # Plastic unless ceramic (or cerdip) is specified . • Under development; consult Microcontroller Marketing for availability. 1-3 Singl'e..Chip tttlEC 4-8it, Single-Chip CMOS Microcomputers (cont) Device, Clock Supply ROM RAM I1PD Featuree (MHz) Voltage (V) (XS) (X4) 110 • Package Pins 75006 General-plirpose 4.19 2.7106.0 6K 512 34 SDiP 42 Miniflal 44 7500S· General-purpose 4.19 2.7106.0 SK 512 34 SDiP 42 Miniflal 44 75POO8 General-purpose 4.19 4.5105.5 8K 512 34 SDiP 42 OTPROM Miniflat 44 75028· AID converter 4.19 2.7106.0 8K 512 40 SOIP 64 Miniflal 64 75P028· AID converter 4.19 4.5106.0 8K 512 40 SOIP 64 Miniflal 64 75048· AID converter; 0.5K EEPROM 4.19 2.7106.0 8K 512 40 SOIP 64 Miniflal 64 75104 High-end wilh 8-bit instruction 4.19 2.7106.0 4096 320 58 SOIl' 64 Miniflal 64 75106 High-end with 8-bit instruction . 4.19 2.7106.0 6016 320 58 SDiP 64 Miniflat 64 75108 High-end wilh 8-bii inslruction 4.19 2.7106.0 8064 512 58 SDiP 64 Miniflal 64 75P108 High-end wilh 8-bil inslruction; 4.19 4.5105.5 8064 512 58 OIP 64 on-chip OTPROM or UVEPROM Miniflal 64 Shrinkcenlip 64 75112 High-end wilh 8-bil instruction 4.19 2.7106.0 12,032 512 58 SOIP 64 Miniflal 64 75116 High-endwilh 8-blt instruction 4.19 2.7106.0 16,128 512 . 58 SDiP 64 Miniflal 64 75P116 High-end with 8-bit inslruction 4.19 4.510.5.5 16,128 512 58 OIP 64 OTPROM Miniflat 64 75206 FIP conlrollerldriver 4.19 2.710.6.0 6016 369 32 SOIP 64 Miniflal 64 75208 FIP conlroller/driver 4..19 2.7106.•0 8064 497 32 SDiP 64 .Miniflal 64 75CG208 FIP conlrollerldriver; 4•.19 4.5105.5 8064 512 32 Ceramic SOIP 64 piggyback EPROM Ceramic flatpack 64 75212A FIPconlroller/driver 4.19 2.7. to 6.0 12,160' 512 32 SOIP 64 Miniflat 64 75216A FIP conlroller/driver 4.19 2.7106.0 16,256 512 32 SOIP 64 Miniflal 64 75CG216A FIP controller/driver; 4.19 4.5105.5 16,256 512 32 CeramicSOIP 64 piggyback EPROM Ceramic miniflal 64 75P216A· FIP controller/driver 4.19 4.5105.5 16,256 512 32 SOIP 64 OTPROM 75268· FIP controller/driver 4.19 2.7 to 6.0 8064 512 20 SDiP 64 Ralpack 64 75304 LCO·controller/driver 4.19 2.7106.0 4K 512 68 Miniflal 80 75306 LCO conlrollerldriver 4.19 2.7106..0 6K 512 68 Miniflal 80 75308 LCO conlrollerldriver 4.19 2.7 10 6.0 8K 512 68 Miniflat 80 75P308 LCO conlrollerldriver; 4.19 4.5105.5 8K 512 6& Miniflat 80 on-chip OTPROM or UVEPROM Ceramic LCC 80 75312 LCO controller/driver 4.19 2.7 to 6.0 12K 512 68 Miniflat 80 1-4 tt1EC Single-Chip 4-Bit, Single-Chip CMOS Microcomputers (cont) Device, Clock Supply ROM RAM J.lPD Features (MHz) VoHage(V) (X8) (X4) 110 II Package Pins 75316 LCD conlroller/driver 4.19 2.7106.0 16K 512 68 Miniflal 80 75P316A' LCD conlroller/driver; 4.19 2.7 10 6.0 16K 512 68 Miniflal 80 on-chip OTPROM or UVEPROM Ceramic lCC 80 75328 LCD controller/driver; 4.19 2.7106.0 8064 512 24 Miniflal 80 AID converter 75P328 LCD conlroller/driver; 4.19 4.5105.5 8064 512 24 Miniflal 80 D AID converter OTPROM 75402 low-end 4.19 2.7106.0 1920 64 22 DIP 28 SOIP 28 Miniflal 44 75P402 low-end 4.19 4.5105.5 1920 64 22 DIP 28 OTPROM SDIP 28 Miniflal 44 75516 High-end; AID converter 4.19 2.7106.0 16K 512 68 Miniflal 80 75P516 High-end; AID converter 4.19 4.5105.5 16K 512 68 Miniflal 80 OTPROM lCC 80 a-Bit, Single-Chip NMOS/CMOS Microcomputers Device, Clock Supply ROM RAM J.lPD Features (MHz) Voltage (V) (X8) (X8) I/O II Package Pins 7810H NMOS; AID converter 15 4.5105.5 External 256 32 SDIP 64 QUIP 64 7811H NMOS; AID converter 15 4.5105.5 4K 256 44 SOIP 64 QUIP 64 78PGliH NMOS; AID converter 15 4.5105.5 4K 256 44 Ceramic QUIP 64 piggyback EPROM 78Cl0f78Cl0A CMOS; AID converter 15 4.5105.5 Exlernal 256 32 QUIP 64 SOIP 64 Miniflal 64 PlCC 68 78Cl1f78Cl1A CMOS; AID converter 15 4.5105.5 4K 256 44 QUIP 64 SOIP 64 Miniflal 64 PlCC 68 78CI2A CMOS; AID converter 15 4.5105.5 8K 256 44 QUIP 64 SDIP 64 Miniflal 64 PlCC 68 78C14 CMOS; AID converter 15 4.5105.5 16K 256 44 QUIP 64 SOIP 64 Miniflal 64 PlCC 68 78CP14 CMOS; AID converter 15 4.5105.5 16K 256 44 QUIP 64 OTPROM SDIP 64 Miniflat 64 PlCC 68 16K 256 44 Ceramic QUIP 64 UVEPROM Shrink cerdip 64 1-5 Single-Chip t-IEC 8-Blt, Single-Chip NMOS/CMOS Microcomputers (cant) Device, Clock Supply ROM RAM ILPD Features (MHz) Voltage (V) (X8) (X8) 110 1/ Package Pins 78213 CMOS; AID converter; 12 4.5105.5 External 512 54 SDIP 64 advanced peripherals QUIP 64 Miniflal 74 PLCC 68 78214 CMOS; AID converter; 12 4.5105.5 16K 512 54 SDIP 64 advanced peripherals QUIP 64 Miniflal 74 PLCt 68 78P214 CMOS; AID converter; 12 4.5105.5 16K 512 54 SDiP 64 advanced peripherals OTPROM QUIP 64 Miniflat 74 PLCC 68 16K 512 54 Shrink cerdip 64 UVEPROM Ceramic QUIP 64 78220 CMOS; analog comparalor; 12 4.5105.5 External 640 71 PLCC 84 large 110 Miniflal 94 78224 CMOS; analog comparalor; 12. 4.5105.5 16K 640 71 PLCC 84 large 110 Miniflal 94 78P224 CMOS; analog comparalor; 12 4.5105.5 16K 640 71 PLCC 84 large 110 OTPROM Miniflat 04 78233· CMOS; real-lime outputs; 12 4.5105.5 External 640 54 Miniflat SO' AID and D/A converters Miniflat 94 , PLCC. 84 . 78234· CMOS; .real-lime outputs; 12 4.5 to 5.5 16K 640 54 MinifJat SO AID andD/A converters Miniflal 94 PLCC 84 78P234 • CMOS; real-lime outputs; 12 4.5105.5 16K '640 54 Miniflal ,80 AID and D/A converters OTPROM Miniflat 94 PLCC 84 16-Blt, Single-Chip CMOS Microcomputers Device, Clock Supply ROM RAM ILPD Features (MHZ) VoltageM (X8) (X8) 110 II Package Pins 78310A Real-lime molor control 12 4.5105.5 External 256 48 SDIP 64 QUIP 64 Miniflat 64 PLCC 68 78312A Real-time motor control 12 4.5 to 5.5 8K 256 48 SDIP 64 QUIP 64 Miniflat 64 PLCC 68 78P312A Real-time molor control 12 4.5 to 5.5 8K 256 48 Shrink cerdip 64 UVEPROM Ceramic QUIP 64 8K 256 48 SDIP 64 OTPROM (jUIP 64 PLCC 68 78320 High-end; advanced analog 16 4.5105.5 External 640 55 Miniflat 64 and digital peripherals PLCC 68 78322 High-end; advanced analog 16 4.5 to 5.5 16K 640 55 Miniflal 64 and digital peripherals PLCC 68 [WEe Single-Chip 16-Bit, Single-Chip CMOS Microcomputers (cont) Device, Clock Supply ROM RAM J,1PD Features (MHz) Voltage (V) (X8) (X8) 110 'Package Pins 78P322 High-end; advanced analog 16 4.5 to 5.5 16K 640 55 PLCC 68 and digital peripherals OTPROM 71P301 Port and memory extender 4.5 to 5.5 16K 1K 16 PLCC 44 used with 7832X Minillat 64 microcomputer family; Ceramic QUIP 64 UVEPROM or OTPROM a-Bit, Single-Chip Microcomputers Device, J,1PD Features Clock (MHz) Supply Voltage (V) ROM (X8) RAM (X8) 110 ' Package Pins D 8035HL HMOS 6 4.5 to 5.5 External 64 27 DIP 40 8039HL HMOS 11 4.5 to 5.5 External 128 27 DIP 40 80C39H CMOS 12 2.5 to 6.0 External 128 27 DIP 40 Miniflat 44 80C40H CMOS 12 2.5 to 6.0 External 256 27 DIP 40 8041AH NMOS; universal PPI 11 4.5 to 5.5 1K 64 18 DIP 40 80C42 CMOS; universal PPI 12 4.5 to 5.5 2K 128 18 DIP 40 Miniflat 44 8048H HMOS 6 4.5 to 5.5 1K 64 27 DIP 40 8049H HMOS 11 4.5 to 5.5 2K 128 27 DIP 40 80C49H CMOS 12 2.5 to 6.0 2K 128 27 DIP 40 49H CMOS 12 2.5 to 6.0 2K 128 27 Miniflat 44 80C50H CMOS 12 2.5 to 6.0 4K 256 27 DIP 40 50H CMOS 12 2.5 to 6.0 4K 256 27 Minillat 44 8741A NMOS; universal PPI; UVEPROM 6 4.5 to 5.5 1K 64 18 Cerdip 40 8748H NMOS; OTPROM or UVEPROM 11 4.5 to 5.5 lK 64 27 DIP 40 Cerdip 40 8749H HMOS; OTPROM or UVEPROM 11 4.5 to 5.5 2K 128 27 DIP 40 Cerdip 40 1-7 Single.-Chip ttiEC 1-8 t't{EC V-Series Microprocessors and Peripherals NEG Electronics Inc. Selection Guide CMOS Microprocessors Device, Data Clock IlPD Features BHs (MHz) 1/ Package Pins 70008A 'Z80 microprocessor 8 8 DIP 40 Miniflat 44 PLCC 44 70108 8088 compatible; enhanced 8/16 80r 10 DIP 40 (V20) 70116 (V30) 8086 compatible; enhanced 16 80rl0 Ceramic DIP Miniflat PLCC DIP Ceramic DIP 40 52 44 40 40 D Miniflat 52 PLCC 44 70208 MS-DOS, V20 compatible CPU with peripherals 8/16 8 or 10 Ceramic PGA 68 (V40) PLCC 68 Miniflat 80 70216 MS-DOS, V30 compatible CPU with peripherals 16/16 80rl0 PGA 68 (V50) PLCC 68 Miniflat 80 70616 32-bit; high-speed 16/32 16 PGA 68 (V60) 70632 32-bit; high-speed 32132 20/25 PGA 132 (V70) 70832 32-bit; high-speed 32132 25 Ceramic PGA 208 (V80) 70136 Hardwired, enhanced V30 16 120r16 PGA 68 (V33) PLCC 68 70236 V33 core-based; high-integration; DMA, serial 110, 16 Ceramic PGA 132 (V53) interrupt controller, etc. 70320 MS-DOS compatible; high-integration; DMA, serial 110, 8/16 50r8 PLCC 84 (V25) interrupt controller, etc. Miniflat 94 70330 MS-DOS compatible; high-integration; DMA, serial 110, 16 8 PLCC 84 (V35) interrupt controller, etc. Miniflat 94 70325 MS-DOS compatible; high-integration; high-speed DMA 8/16 8 or 10 PLCC 84 (V25+) Miniflat 94 70335 MS-DOS compatible; high-integration; high-speed DMA 16 80r 10 PLCC 84 (V35+) Miniflat 94 70327 MS-DOS compatible; high-integration; software protection 8/16 8 PLCC 84 (V25 Software Guard) Miniflat 94 70337 MS-DOS compatible; high-integration; software protection 16 8 PLCC 84 (V35 Software Guard) Miniflat 94 79011 MS-DOS compatible; high-integration; real-time operating system 8/16 8 PLCC 84 (V25 RTOS) Miniflat 94 79021 MS-DOS compatible; high-integration; real-time operating system 16 8 PLCC 84 (V35 RTOS) Miniflat 94 70322 MS-DOS compatible; high-integration; 16K-byte ROM 8/16 8 PLCC 84 (V25 ROM) # Plastic unless ceramic (or cerdip) is specified . • For additional information, refer to 1987 Microcomputer Data Book. 1-9 -------- V-Series t\fEC CMOS Microprocessors (cont) Device, Data Clock JlPD Features Bits (MHz) /I Package Pins 70P322 MS-DOS compatible; high-integration; 16K-byte UVEPROM; 8/16 8 Ceramic LCC 84 V25 or vas mode 70332 MS-DOS compatible; high-integration; 16K-byte ROM 16 8 PLCC 84 (V35 ROM) NMOS and HMOS Microprocessors Device, Data Clock JlPD Features Bits (MHz) /I Package Pins 808SA 'S-bit microprocessor; NMOS or HMOS 8 5 DIP 40 8086 '16-bit microprocessor; HMOS 16 8 Cerdip 40 8088 '8-bit microprocessor; HMOS 8 8 Ceramic DIP 40 CMOS System Support Products Device, Data Clock JlPD Name Bits (MHz) /I Package Pins 71011 Clock Pulse GeneratorlDriver 20 DIP 18 SOP 20 71037 Programmable DMA Controller 8 10 DIP 40 Miniflat 40 PLCC 44 71051 Serial Control Unit 8 8/10 DIP 28 Miniflat 44 PLCC 28 71054 Programmable Timer/Controller 8 8/10 DIP 24 Miniflat 44 FLee 28 71055 Parallel Interface Unit 8 8/10 DIP 40 Miniflat 44 PLCC 44 71059 Interrupt Control Unit 8 8/10 DIP 28 Miniflat 44 PLCC 28 71071 DMA Controller 8/16 8/10 DIP 48 Ceramic DIP 48 Miniflat 52 PLCC 52 71082 Transparent Latch 8 8 DIP 20 SOP 20 71083 Transparent Latch 8 8 DIP 20 SOP 20 71084 Clock Pulse GeneratorlDriver 25 DIP 18 SOP 20 71086 Bus BufferlDriver 8 8 DIP 18 SOP 20 71087 Bus BufferlDriver 8 8 DIP 20 SOP 20 1-10 NEe V-Series CMOS System Support Products (cont) Device, Data Clock IJ.PD Name Bits (MHz) 1/ Package Pins 71088 System Bus Controller 8/10 DIP 20 SOP 20 82C43 -lnpuVOutput Expander 5 DIP 24 Skinny DIP 24 NMOS System Support Products Device, IJ.PD 8155H Name -256 x 8 RAM; 110 ports and timer Data Bits 8 Clock (MHz) 3 or 5 1/ Package DIP Pins 40 D 8156H - 256 x 8 RAM; I/O ports and timer 8 30r5 DIP 40 8237A -Programmable DMA Controller 8 5 DIP 40 8243 - InpuVOutput Expander 5 DIP 24 8251A -Programmable Communications Interface 8 3/5 DIP 28 8253 -Programmable Internal Timer 8 5 DIP 24 8255A -Programmable Peripheral Interface 8 5 DIP 40 8257 -Programmable DMA Controller 8 5 DIP 40 8259A -Programmable Interrupt Controller 8 5 DIP 28 8279 -Programmable Keyboard/Display Interface 5 DIP 40 1-11 V-Series t-IEC 1-12 ttlEC Intelligent Peripheral Devices (IPD) NEe Electronics Inc. Selection Guide Communications Controllers Device, IlPD Name Description Data Rate ' Package Pins 7201A Multiprotocol Serial Dual full-duplex serial channels; four DMA channels; 1 Mb/s DIP 40 Communications Controller programmable interrupt vectors; asychronous Ceramic DIP 40 COP and BOP support; NMOS 72001 CMOS, Advanced Multiprotocol Functional superset of 8530; 8086N30 interface; two 2.2 Mb/s DIP 40 72002 Serial Communications Controller CMOS, Advanced Multiprotocol Serial Communications Controller full-duplex serial channels; two digital phase-locked loops; two baud-rate generators per channel; loopback test mode; short frame and mark idle detection Low-cost, singlNhannel version of 72001; software compatible; direct interface to 8237 DMA. 2.2 Mbls Miniflat PLCC DIP Miniflat 52 52 40 44 D PLCC 44 Not included in 1989-1990 IPD Data Book; refer to 72002 data sheet. 72101 CMOS, HDLC Controller Single full-duplex serial channel; on-chip DMA Controller. 4 Mbls DIP 64 PLCC 68 Not included in 1989-1990 IPD Data Book; refer to 72101 data sheet Graphics Controllers Device, IlPD Name Description Drawing Rate 'Package Pins 7220A High-Performance General-purpose, high-integration controller; hardwired 500 ns/dot Ceramic DIP 40 Graphics Display support for lines, arc/Circles, rectangles, and graphics Controller characters; 1024x1024 pixel display with four planes 72020 Graphics Display CMOS 7220A with 2M video memory; dual-port RAM control; 500 ns/dot DIP 40 Controller write-masking on any bit; enhanced external synch Miniflat 52 72022 Intelligent Display Display and image processing for text and sprites; three display 500 ns/dot PLCC 68 Processor modes; four-way horizontal split-screen display; CMOS Miniflat 80 72120 Advanced Graphics High-speed graphics operations including paint, area fill, 500 ns/dot PLCC 84 Display Controller slan~ arbitrary angle rotate, up to 16x enlargement and Miniflat 94 reduction; dual-port RAM control; CMOS 72123 Advanced Graphics Enhanced 72120; expanded command set; improved painting 400 ns/dot PLCC 84 Display Controller II performance; laser printer interface controls; CMOS Miniflat 94 Advanced Compression/Expansion Engine Device, IlPD Name Description 'Package Pins 72185 Advanced Compression! High-speed CCITI Group 3/4 bit-map image compression/expansion (M test SDIP 64 Expansion Engine chart, 400 PPI x 400 LPI in under 1 second); 32K-pixelline length; 32-megabyte PLCC 68 image memory; on-chip DMA and refresh timing generator; CMOS 'Plastic unless ceramic (or cerdip) is specified. 1-13 IPD Floppy-Disk Controllers Device, Transfer J,lPD Name Description Rate II Package Pins 765A1B Floppy-Disk Controller Industry-standard controller supporting IBM 3740 and IBM 500 kb/s DIP 40 System 34 double-density format; enhanced 765.B supports multitasking applications 71065/66 Floppy-Disk Interface Compatible with 765-family controllers .and others; supports 500 kb/s SOP 28 mUltiple data rates from 125 to 500 kb/s SDIP 30 72065/65B CMOS Floppy-Disk 100% 765AIB microcode compatible; compatible with 808x 1 Mb/s DIP 40 Controller microprocessor families . PLCC 44 Miniflat 52 72067 Floppy-Disk Controller CMOS; 765A1B microcode compatible; clock generation/ 500 kb/s DIP 48 switching circuitry; selectable write precompensation; Miniflat 52 digital phase-locked loop PLCC 52 72068 Floppy-Disk Controller All features of the 72067 plus IBM-PC, PCIXT, PC/AT, or 500 kb/s Miniflat 80 PS/2 style registers; 24-ma high-current drivers PLCC 84 72069 Floppy-Disk Controller All features of the 72067/68 with substitution of high- 1 Mb/s PLCC 84 performance analog phase-locked loop for digital PLL Miniflat 100 Hard-Disk Controllers DeVice, ReadlWi'Ua J,lPD Name Description Clock II Package Pins 7261A1B Hard-Disk Controller Supports eight drives in SMD mode, four drives in ST506 23 MHz Ceramic DIP 40 mode; error correction and detection 7262 Enhanced Small-Disk Serial-mode ESDI compatible; controls up to seven drives; H!MHz Ceramic DIP 40 Interface (ESDI) Controller supports up to 80 heads; hard and soft-sector interfacing 72061 CMOS Hard-Disk Supports SMD/SMD-E and ST5061412 type drives 24 MHz DIP 40 Controller Miniflat 52 PLCC 52 72111 Small Computer System Selectable 8/16 data bus width; 16 high-level commands 16MHz SDiP 64 Interface (SCSI) Controller for reduced CPU load; single-command automatic Miniflal 74 execution; 4-Mb sync/async; CMOS PLCC 68 1-14 t-IEC DSPand Speech Products NEe Electronics Inc. Selection Guide Digital Signal Processors Device, Instruction Instruction Data ROM Data RAM I1PD Description Cycle (n8) ROM (Bits) (Bha) (Bha) , Package Pins 7720A 16-bit, fixed-point DSP; NMOS 244 512x23 510x 13 128 x 16 DIP 28 PLCC 44 77C20A 16-bit, fixed-point DSP; CMOS 244 512x 23 510x 13 128 x 16 DIP 28 a PLCC 28 PLCC 44 77P20 16-bit, fixed-point DSP; CMOS 244 512x23 510 x 13 128 x 16 Cerdip 28 UVEPROM UVEPROM 77C25 16-bit, fixed-point DSP; CMOS 122 2048x24 1024 x 16 256 x 16 DIP 28 PLCC 44 77P25 16-bit, fixed-point DSP; CMOS 122 2048 x 24 1024 x 16 256 x 16 DIP 28 OTPROM OTPROM PLCC 44 2048 x 24 1024 x 16 256 x 16 Cerdip 28 UVEPROM UVEPROM 77220 24obit, fixed-point DSP; CMOS 122 2048x32 1024 x 24 512 x 24 Ceramic PGA 68 PLCC 68 77230AR 32-bit, floating-point DSP; CMOS 150 2048x32 1024 x 32 1024 x 32 Ceramic PGA 68 77230AR-oG3 32-bit, floating-point DSP; CMOS; 150 nla nla nla Ceramic PGA 68 standard library software 77P230R 32-bit, floating-point OSP; CMOS 150 2048x32 1024 x 32 1024x32 Ceramic PGA 68 UVEPROM UVEPROM 77810 16-bit fixed-point modem DSP; CMOS 181 2048 x 24 1024 x 16 256 x 16 Ceramic PGA 68 PLCC 68 7281 Image pipelined processor; NMOS 5-MHz nfa nla 512x 18 Ceramic DIP 40 clock 9305 Support device for 111'07281 10-MHz nla nla nla Ceramic PGA 132 processors; CMOS clock Speech Processors DeVice, Clock Data ROM I1PD Name Technology (MHz) (Bits) 'Package Pins 7730 ADPCM Speech EncoderlDecoder NMOS 8 DIP 28 77C30 ADPCM Speech Encoder/Decoder NMOS 8 DIP 28 PLCC 44 7755 ADPCM Speech Synthesizer CMOS 0.7 96K DIP 18 SOP 24 7756 ADPCM Speech Synthesizer CMOS 0.7 256K DIP 18 SOP 24 77P56 ADPCM Speech Synthesizer CMOS 0.7 256K DIP 20 OTPROM SOP 24 7757 ADPCM Speech Synthesizer CMOS 0.7 512K DIP 18 SOP 24 7759 ADPCM Speech Synthesizer CMOS 0.7 1024K DIP 40 external Miniflat 52 I Plastic unless ceramic (or cerdip) is specified. 1-15 DSPand Speech 1-16 tttfEC V-Series Development Tools NEe Electronics Inc. Selection Guide V-Series Development Tools Selection Guide Part Full Relocatable Number Full Emulator MInI-IE Mlnl-lE EvaluatIon EPROM/OTP Assembler CCompller (Note 1) Emulstor Probe Emulstor Probe Boards DevIce (Note 13) (Note 14) "PD70136GJ-12 IE-70136-AOI6 EP-70136L-A IE-70136-PC EP-70136L-PC DDK-70136 RA70136 CC70136 (Note 2) (Note 2) "PD70136GJ-16 IE-70136-AOI6 EP-70136L-A IE-70136-PC EP-70136L-PC DDK-70136 RA70136 CC70136 II (Note 2) (Note 2) "PD70136L-16 IE-70136-AOI6 EP-70136L-A IE-70136-PC EP-70136L-PC DDK-70136 RA70136 CC70136 "PD70136L-12 IE-70136-AOI6 EP-70136L-A IE-70136-PC EP-70136L-PC DDK-70136 RA70136 CC70136 "PD70136R-12 1E-70136-AOI6 EP-70136L-A IE-70136-PC EP-70136L-PC DDK-70136 RA70136 CC70136 (Note 3) (Note 3) "PD70136R-16 IE-70136-AOI6 EP-70136L-A IE-70136-PC EP-70136L-PC DDK-70136 RA70136 CC70136 (Note 3) (Note 3) "PD70208GF-8 IE-70208-A010 (Note 12) EB-V40MINI-IE EB-70208 RA70116 CC70116 "PD70208GF-l0 IE-70208-A010 (Note 12) EB-V40MINI-IE EB-70208 RA70116 CC70116 "PD70208L-8 IE-70208-A010 IE-70000-2958 EB-V40MINI-IE ADAPT68PGA EB-70208 RA70116 CC70116 68PLCC (Note 4) "PD70208L-l0 IE-70208-A010 IE-70000-2958 EB-V40MINI-IE ADAPT68PGA EB-70208 RA70116 CC70116 68PLCC (Note 4) "PD70208R-8 IE-70208-A010 IE-700oo-2959 EB-V40MINI-IE (Note 4) EB-70208 RA70116 CC70116 "PD70208R-l0 IE-70208-A010 1E-700oo-2958 EB-V40MINI-IE (Note 4) EB-70208 RA70116 CC70116 "PD70216GF-8 IE-70216-A010 (Note 12) EB-V50MINI-IE EB70216 RA70116 CC70116 "PD70216GF-l0 IE-70216-A010 (Note 12) EB-V50MINI-IE EB70216 RA70116 CC70116 "PD70216L-8 IE-70216-A010 IE-700oo-2958 EB-V50MINI·IE ADAPT68PGA EB70216 RA70116 CC70116 68PLCC (Note 4) "PD70216L-l0 IE-70216-A010 IE-700oo-2958 EB-V50MINI·IE ADAPT68PGA EB70216 RA70116 CC70116 68PLCC (Note 4) "PD70216R-8 IE-70216-A010 IE-700oo-2958 EB-V50MINI·IE (Note 4) EB70216 RA70116 CC70116 "PD70216R-l0 IE-70216-A010 IE-700oo-2959 EB-V50MINI·IE (Note 4) EB70216 RA70116 CC70116 "PD70320GJ IE-70320·A008 EP-70320GJ EB-V25MINI·IE·P Ep-70320GJ DDK-70320 RA70320 CC70116 (Note 5) (Note 6) "PD70320GJ-8 IE-70320-A008 EP-70320GJ EB-V25MINI·IE·P EP-70320GJ DDK-70320 RA70320 CC70116 (Note 5) (Note 6) "PD70320L IE-70320·A008 EP-70320L EB-V25MINI·IE·P (Note 7) DDK-70320 RA70320 CC70116 "PD70320L-8 IE-70320-AOO8 EP-70320L EB-V25MINI·IE·P (Note 7) DDK-70320 RA70320 CC70116 "PD70322GJ IE-70320·A008 Ep-70320GJ EB-V25MINI·IE·P Ep-7032OGJ DDK-70320 RA70320 CC70116 (Note 5) (Note 6) "PD70322GJ-8 IE-70320·A008 EP-70320GJ EB-V25MINI·IE·P Ep-70320GJ DDK-70320 RA70320 CC70116 (Note 5) (Note 6) "PD70322L IE-70320-A008 Ep-70320L EB-V25MINI·IE·P (Note 7) DDK-70320 70P322K RA70320 CC70116 (Note 10) 50173 1-17 V-Series t\'EC V-Series Development Tools Selection Guide (cont) Part Full Relocatable Number Full Emulator Mlnl·IE Mlnl·IE Evaluation EPROM/OTP Assembler C Complier (Note 1) Emulator Probe Emulator Probe Boards Device (Nota 13) (Note 14) "PD70322L·S IE·70320·AOOS EP·70320L EB-V25MINI-IE-P (Note 7) DDK70320 70P322K RA70320 CC70116 (Note 10) "PD70325GJ-S IE·70325-AOOS EP-70320GJ (Note 12) (Note 12) DDK-70325 RA70320 CC70116 (Note 5) "PD70325GJ-l0 IE-70325-AOOS EP-70320GJ (Note 12) (Note 12) DDK-70325 RA70320 CC70116 (Note S) (Note 5) "PD70325L-S IE-70325-AOOS EP-70320L (Note 12) (Note 12) DDK-70325 RA70320 CC70116 "PD70325L-l0 IE-70325-A008 EP-70320L (Note 12) (Note 12) DDK-70325 RA70320 CC70116 (Note S) /lPD70327GJ-S IE-70320'AOOS EP-70320GJ EB-V25MINI-IE-P EP-70320GJ RA70320 CC70116 (Note 9) (Note 5) (Note 6) /lPD70327L-S IE-70320-AOOS EP·70320L EB-V25MINI-IE-P (Note 7) RA70320 CC70116 (Note 9) "PD70330GJ-S IE-70330-A008 EP-70320GJ EB-V35MINI-IE-P EP-70320GJ DDK-70330 RA70320. CC70116 (Note 5) (Note 6) /lPD70330L-S IE-70330-A008 EP-70320L EB-V35MINI-IE-P (Note 7) DDK-70330 RA70320 CC70116 /tPD70332GJ-8 IE-70SS0-AOOS EP-70320GJ EB-V35MINI-IE-P EP-70320GJ DDK-70330 RA70320 CC70116 (Note 5) (Note 6) "PD70332L-S IE-70330-A008 EP-70320L EB-V35MINI-IE-P (Note 7) DDK-70330 70P322K RA70320 CC70116 (Note 10) "PD70335GJ-S IE-70335-AOOS EP-70320GJ (Note 12) (Note 12) DDK-70330 RA70320 CC70116 (Note 5) /lPD70335GJ-l0 IE-70335-AOOS EP-70320GJ (Note 12) (Note 12) DDK-70330 RA70320 CC70116 (Note 8) (Note 5) /lPD70335L-S IE-70335-AOOS EP-70320L (Note 12) (Note 12) DDK-70330 RA70320 CC70116 /lPD70335L-l0 IE-70335·AOOS EP-70320L (Note 12) (Note 12) DDK-70330 RA70320 CC70116 (Note S) "PD70337GJ-S IE·70330-AOOS EP-70320GJ EB-V35MINI-IE-P EP-70320GJ RA70320 CC70116 (Note 9) (Note 5) (Note 6) /lPD70337L-S IE-7.0330·AOOS EP-70320L EB-V35MINI-IE-P (Note 7) RA70320 CC70116 (Note 9) "PD79011 GJ-S IE-70320·AOOS EP-70320GJ (Note 12) (Note 12) RA70320 CC70116 (Note 11) (Note 5) /lPD79011 L-S + IE-70320-RTOS EP-70320L (Note 12) (Note 12) RA70320 CC70116 (Note 11) "PD79021L-S IE-70330-A00S EP-70320L (Note 12) (Note 12) RA70320 CC70116 (Note 11) +IE-70330-RTOS Notes: ( 1) Packages: ( 3) 6S-pln PGA parts are supported by using the Ep·70136L-A PLCC probe or EP-70136L·PC PLCC probe, plus a PLCC socket with a Package Description PGA-plnout. A PLCC socket of this type Is supplied with the GF SO-pin plastic mlnlflat EP-70136L-A. GJ 74-pin or 94-pin plastiC miniflat K ( 4) The EB-V40 MINI-IE and EB-V50 MINI-IE support PGA packages S4'pin ceramic LCC with window L directly; the ADAPT6SPGA6SPLCC adaptor converts the PGA· 6S-pln or 84·pln plastic lCC R pinout on the MINI-IE to a PlCC footprint. This adaptor Is 6S-pln PGA supplied with the MINI-IE. e2) The EP-70136Gl,A and EP·70136L-PC contain both a 6S-pin PlCC probe and an adapter which converts the 6S-pin PLCC probes to a 74-pin miniflat footprint. 1-18 t-lEC V-Series ( 5) The EP-70320GJ Is an adaptor to the EP-70320L, which converts (13) The following relocatable assemblers are available: 54-pin PLCC probes to a 94-pin mlnlflat footprint. For GJ parts, RA70116-D52 For V2rP'/V30 operating system. (ASM75-D52). MS-DOS is registered trademark of Microsoft Corporation. 1-23 pPD75XX Series t\fEC 1-24 NEe NEe Electronics Inc. pPD75XXX Series Development Tools Selection Guide "PD75XXX Series Development Tools Selection Guide R,locatable Structured Part Number Main Board Add-on Emulation Optional Socket EPROM/OTP Aseembler Anembler (Note 7) Emulator* Board* Prob,* Adapter (Note 1) Device (Note 2) (Note 5) (Note 6) "PD75004CU EVAKlT-75X EV-75008 (Note 3) "PD75POO8CU/DU RA75X ST75X "PD75006GB EVAKIT-75X EV-750OB EP-750OBGB EV-9200G-44 "PD75POO8GB RA75X ST75X EVAKIT-75X EV-750OB (Note 3) "PD75POO8CU/DU RA75X ST75X D "PD75006CU "PD75006GB EVAKIT-75X EV-750OB EP-750OBGB EV-9200G-44 "PD75PO08G B RA75X ST75X "PD750OBCU EVAKlT-75X EV-75008 (Note 3) "PD75POO8CU/DU RA75X ST75X "PD750OBGB EVAKlT-75X EV-750OB EP-750OBGB EV-9200G-44 "PD75POOBG B RA75X ST75X "PD75POO8CU EVAKlT-75X EV-750OB (Note 3) RA75X ST75X "PD75POOBDU EVAKlT-75X EV-750OB (Note 3) RA75X ST75X "PD75POOBGB EVAKlT-75X EV-75008 EP-750OBGB EV-9200G-44 RA75X ST75X "PD75028CW EVAKlT-75X EV-75048 (Note 4) (Note 4) "PD75P028CW RA75X ST75X "PD75028GC EVAKlT-75X EV-75048 (Note 4) (Note 4) "PD75P028GC RA75X ST75X "PD75P028CW EVAKlT-75X EV-75048 (Note 4) (Note 4) RA75X ST75X "PD75P028GC EVAKlT-75X EV-75048 (Note 4) (Note 4) RA75X ST75X "PD75048CW EVAKlT-75X EV-75048 (Note 4) (Note 4) RA75X ST75X "PD75048GC EVAKlT-75X EV-75048 (Note 4) (Note 4) RA75X ST75X "PD75104CW EVAKlT-75X EV-751OB (Note 3) "PD75Pl08CW/DW RA75X ST75X "PD75104G EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 "PD75P1OBG/GF RA75X ST75X "PD75P116GF "PD75104GF EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 "PD75P1OBG!GF RA75X ST75X "PD75P116GF "PD75104AGC EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 RA75X ST75X "PD75106CW EVAKlT-75X EV-751OB (Note 3) "PD75P1OBCW/DW RA75X ST75X "PD75106G EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 "PD75P1OBG/GF RA75X ST75X "PD75Pll6GF "PD75106GF EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 "PD75P1OBG/GF RA75X ST75X "PD75Pl16GF "PD75108AG EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 RA75X ST75X "PD75108AGC EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 RA75X ST75X "PD751OBCW EVAKlT-75X EV-751OB (Note 3) "PD75Pl08CW/DW RA75X ST75X "PD751OBG EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 "PD75Pl08G!GF RA75X ST75X "PD75Pl16GF "PD751OBGF EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 "PD75Pl08G!GF RA75X ST75X "PD75P116GF "PD75P1OBBCW EVAKIT-75X EV-751OB (Note 3) RA75X ST75X "PD75P1OBCW EVAKlT-75X EV-751OB (Note 3) RA75X ST75X "PD75P1OBDW EVAKlT-75X EV-751OB (Note 3) RA75X ST75X "PD75P1OBG EVAKlT-75X EV-751OB EP-751OBGF EV-9200G-64 RA75X ST75X "PD75112CW EVAKlT-75X EV-751OB (Note 3) "PD75Pl16CW RA75X ST75X * Required Tools 110175 1-25 pPD75XXX Series ,;'1.' Stbe' , ' 'j" ~:~' .".,'. " , ' ... ' "PD75XXX Series Development Tools Selection Guide (cont) Relocatable Structured Part Number Main Board Add-on Emulation Op~lonal Socket EPROM/OTP A.88mbler A••embl.r (Note 7) Emulator* Board* 1"rob4I* Adapter (Note 1) Device (Note 2) (NoteS) (NOte 6) " "PD75112GF EVAKlJ.75X EV~75108 EP-75108GF EV-9200G-64 "PD75P116GF RA75X ST75X "PD75116CW :EVAKlT-75X EV-75108 (Nota 3) "PD75P116CW RA7S)(. ST7s)( . "PD75116GF EVAKlT-75X EV-76108 EP-75108GF EV-9200G-64 "PD75P116GF RA75X 'S17S)( "PDi5P116BGF EVAKlT-75X EV-76108 EP-75108GF EV-9200G-64 RA75X ST7s)( "PD75P11eCw EVAKlT-75X EV-75108 (Nota 3) RA7S)( ST7s)( "PD75P116GF EVAKlT-75X EV-75108 EP-75108GF EV-920OG·64 - RA7S)( S.T7S)( "PD75206CW EVAKlT-7S)( EV·7521.6A (NoteS) "PD76P2i6ACW RA75X ST7s)( "PD75206G EVAKlJ.75X EV·75216A EP-75216AGF EV-9200G-64 RA75X ST75X "PD7520sCW EVAKlJ.75X EV·75216A (Note 3) "PD75P216ACW RA7S)( ST75X "PD75208G EVAKlJ.75X EV·75216A EP·75216AGF EV-9200G·64 RA7S)(, . ST75X "PD75CG206AE EVAKlJ.75X EV·75216A (llioteS) RA75X ST75X "PD75CG208AEA EVAKlJ.75X EV.75216A EP·75216AGF EV-9200G-64 RA75X ST75X "PD75212ACW EVAKlJ.75X EV.75216A (Note 3) "PD75P216ACW RA7!iX ST75X "PD75212AGF EVAKI;:'75X EV·75216A EP·75216AGF EV-9200G-64 RA75X ST75X "PD75216ACW EVAKlJ.75X EV·75216A (Note 3) "PD75P216ACW RA75X ST75X "PD75216AGF EVAKlJ.75X E\i·75216A EP·75216AGF EV-92OOG-64 AA75X ST75X "PD75CG216AE EVAKlJ.75X EV.75216A (Note 3) .RA7SX ST75X "PD75CG216AEA EVAKlT-75X EV·75216A EP·75216AGF EV-92OOG-64 . RA75X ST75X .. "PD75P216ACW EVAKlT-75X EV·75216A (Note 3) "PD75P216ACW RA75X ST75X "PD75268CW EVAKlJ.75X EV·75216A (Note 3) "PD75P216A9W RA75X ST75X "PD75268GF EVAKlJ.75X EV·75216A EP·75216AGF EV-920OG~64 RA75X ST75X "PD75304GF EVAKlT-75X EV·75308 (Note 3) EV-9200G-80 "PD75P308GF/K RA75X ST75X "PD753()6GF EVAKlT-75X EV·76308 (Nota 3) EV-9200G-80 "PD75P308GF/K RA75x ST75X EVAKlT-75X EV·75308 (Note 3) EV-9200G-80 RA75X ST75X "PD76308GF , "PD75P308GF/K "PD75P308GF EVAKlT-75X EV·75308 (Note 3) EV-9200G-90 RA75X ST75X "PD75P308K EVAKlT-75X EV·76308 (Note S) .EV-820oG-a9 . .RA75X ST75X' '" "PD7!l312GF EVAKIT-75X EV·75308 (Note 3) EV-9200G-80 "PJ:?75P316GF RA75X ST75X "PD75P316GF. EVAfC~:~~0~.8-------]-··_t~po~ln~t·~----~0.~8~~~ CL = 150pf Data clock low tOCL 180 ns RxC, TxC width Tx data delay 300 ns xl Mode Read Cycle tTCTD from TxC 1000 ns x16, x32, x64 Mode Rx data setup o ns tAR tRR--1P"'--- to RxC DB Rx Data hold tRCRO 140 ns from RxC INT delay Time tlDl 4-6 tCY from Tx Data INTAK Cycle INT delay Time 7-11 tCY from RxC CTS, DCD, 200 ns SYNC high PRI [2) pulse width CTS, DCD, 200 ns DB SYNC low pulse width PRO External INT 500 ns from CTS, Nole: [1] iNTA signal acts as 1ii5 signal. DCD, SYNC [2] iiiii and HAl signals act as Cs signal. Recovery time 300 ns between controls Write Cycle WAIT delay 120 ns time from C/D. B/i. cs =>b: V-- WRtAWl=tww~ Address SYNC setup to 100 ns RxC DB h------uf ~- Nole: 1. RESET must be active for a minimum of one complete CLK cycle. 2. In all modes system clock rate must be 4.5 times data rate. DMA Cycle DRO --.-J Note: [1 J Piii and HAl signal. act .s Cs lignal. 2-8 t-iEC j.tPD7201A Timing Waveforms (cont) Transmit Data Cycle Receive Data Cycle Rxe TxC RxD TxD \NT iNT Other Timing Clock bL ~ tMH.=q _ _ _~t-_---,tM",-F Read/Write Cycle Sync Pulse Generation (Software Block Transfer Mode) (External Sync Mode) Last Bit of First Bit of Sync Character Data Character SYNC ---------------~ IRCS r------- Programming the MPSCC All control and status registers except CR2 are separately maintained for each channel. Control and Software operation of the MPSCC includes consistent status register 2 are linked with the overall operation register organization and high-level command struc- of the MPSCC and have different meanings when ad- ture to help minimize the number of operations re- dressed through different channels. quired to implement complex protocol designs. The MPSCC also has extensive interrupt and status report- Before intializing the MPSCC, first program control ing capabilities to simplify programming. register 2A (2B if desired) to establish the MPSCC pro- cessor/bus interface mode. Each channel may then The MPSCC Registers be programmed for separate use beginning with con- trol register 4 to set the protocol mode for that chan- The MPSCC interfaces to the system software with nel. The remaining registers may then be program- a number of control and status registers associated med in any order. with each channel (see tables 1 and 2). Commonly us- ed commands and status bits are accessed directly through control and status register O. Other functions are accessed indirectly with a register pOinter to minimize the address space that must be dedicated to the MPSCC. 2-9 J.tPD7201A t-{EC Table 1. Control Registers Table 2. Status Registers Control Status Register Function Register Function o Frequently used commands and register pointer o Buffer and "external/status" status control Received character error and special condition Interrupt control status 2 Processor/bus interface control 2 Interrupt Vector 3 Receiver control (Channel B only) 4 Mode control 3 Tx byte count register, low byte 5 Transmitter control 4 Tx byte count register, high byte 6 Sync/address character 7 Sync character Reset External Status Interrupt [010] : When the ex- ternal/status change flag is set, the condition of bits Control Register 0 03-07 of status register 0 are latched to capture the D7 I D8 DS I D4 I D3 D2 I D1 I Do short pulses that may occur. The reset external/status interrupts command reenables the latches so that CRC Control Command Register Pointer new interrupts may be sensed. Command Channel Reset (011] : This command has the same Register Pointer [00-021 effect on a single channel as an external reset at pin 2. The register pointer specifies which register number A channel reset command to channel A rests the is accessed at the next control register write or status internal interrupt prioritization logic. This does not register read. After a hardware or software reset, the occur when a channel reset command is issued to register pointer is set to zero. Therefore, the first con- channel B. All control registers associated with the trol byte goes to control register O. When the register channel to be reset must be reinitialized. After a channel pOinter is set to a value other than zero the next con- reset, wait at least four system clock cycles before = trol or status (C/O 1) access is to the specified writing new commands or controls to that channel. register. The pointer is then reset to 0 by setting the register pointer. Enable Interrupt on Next Character (100] : Issue this command at any time when operating the MPSCC in Commands [03-05] an interrupt on first received character mode. This command must be issued at the end of a message Commands commonly used during the operation of to reenable the interrupt logic for the next received. the MPSCC are grouped in control register O. Theyin- character (first character of the next message). clude the following: Reset Pending Transmitter Interrupt/DMA Request Null (000] :This command has no effect and is used (101] : A pending transmitter buffer empty interrupt or only to set the register pointer or issue a CRC OMA request can be reset without sending another command. character by issuing this command (typically at the end of a message). A new transmitter buffer empty Send Abort (001] : When operating in the HOle mode, interrupt or OMA request is not made until another this command causes the MPSCC to transmit the character has been loaded and transferred to the HOle abort code by issuing 8 to 13 consecutive 1s. transmitter shift register or when, if operating in Any data currently in the transmitter or the transmit- synchronous mode, the first CRC character has been ter buffer is destroyed. After sending the abort, the sent. transmitter reverts to the idle phase (flags). When us- ing the Tx byte count mode enable (Os of CR1), the Error Reset [110l: This command resets a special send abort command is automatically issued when receive condition interrupt. It also reenables the parity an underrun condition occurs. .and overrun error latches that allow error checking at the end of a message. 2-10 ftt{EC j.tPD7201A End of Interrupt (111] (Channel A Only] : Once an in- External/Status Interrupt Enable [00] terrupt request has been issued by the MPSCC, all When this bit is set to one, the MPSCC issues an inter- lower priority internal and external interrupts in the rupt whenever any of the following conditions occur: daisy chain are held off to permit the current inter- - Transition of the OCO, CTS or SYNC input pin rupt to be serviced while allowing higher priority in- Entering or leaving synchronous hunt phase, terrupts to occur. At some point in the interrupt ser- break detection or termination vice routine (generally at the end), the end of the in- HOLC abort detection or termination terrupt command must be issued to channel A to Idle/CRC latch set (CRC being sent) reenable the daisy chain and allow any pending lower After ending flag is sent in the HOLC mode priority internal interrupt requests to occur. The EOI command must be sent to channel A for interrupts that occured on either channel. Transmitter Interrupt Enable [01] When this bit is set to one, the MPSCC issues an CRC Control Commands [06-07] interrupt when the following conditions occur: fJ The following commands control the operation of the - A character currently in the transmitter buffer is CRC generator/checker logic: transferred to the shift register (transmitter buf- fer becomes empty), or Null (00] : This command has no effect and is used - The transmitter enters the idle phase and begins when issuing other commands or setting the register transmitting sync or flag characters. pointer. - The Tx byte count mode enable bit is set (06 of Reset Receiver CRC Checker (01]: This command CR1 = 1). The 7201A will automatically issue a Tx resets the CRC checker to zero when the channel is interrupt or OMA request when the transmitter in a synchronous mode. It resets to all 1s when in an becomes enabled (03 of CR5 = 1). HOLC mode. Condition Affects Vector [021 Reset Transmitter CRC Generator (10] : This command resets the CRC generator to zero when the channel When this bit is set to zero, the fixed vector pro- is in a synchronous mode. It resets to all 1s when in grammed in CR2B during MPSCC initialization is an HOLC mode. returned in an interrupt acknowledge sequence. When this bit is set to one, the vector is modified to reflect Reset Idle/CRC Latch (11] : This command resets the the condition that caused the interrupt. (Programm- idle/CRC latch so that when a transmitter underrun ed in channel B for both channels). condition occurs (transmitter has no more characters to send), the transmitter enters the CRC phase of Receiver Interrupt Mode [03 - 04] operation and begins to send the 16-bit CRCcharacter calculated up to that point. The latch is then set so This field controls how the MPSCC interruptlDMA that if the underrun condition persists, idle characters logic handles the character received condition. are sent following the CRC. After a hardware or soft- ware reset, the latch is in the set state. This latch is Receiver Interrupts/DMA Request Disabled (00] : The automatically reset after the first character has been MPSCC does not issue an interrupt or a OMA request loaded into the Tx buffer in the HOLC mode. when a character has been received. Control Register 1 Interrupt/DMA on First Received Character Only (01] : In this mode the MPSCC issues an interrupt only for 07 DB 05 0, I 03 02 01 DO the first character received after an enable inter- Wait Tx Byte Wait all Condi- Trans- Ext/ rupt/OMA on first character command (CRO) has been Func- Count Receive Receiver tion miller Status given. If the channel is in a OMA mode, a OMA request tion Mode Trans· Interrupt Affects Interrupt INT is issued for each character received, including the Enable Enable miller Mode Vector Enable Enable first. In general, use this mode whenever the MPSCC is in a OMA or block transfer mode. This will signal 07 DB 05 0, I 03 02 01 DO the processor that the beginning of an incoming Low Byte message has been received. 07 DB 05 04 I 03 02 01 DO High Byte 2-11 jtPD7201A t-{EC Interrupt land Issue a DMA Request] on All Received Also, when using theTx byte count mode, a transmit Characters 110] : In this mode an interrupt (and OMA interrupt or OMA request will automatically become request if the OMA mode is selected) is issued active after issuing theTX enable command to CR5. whenever there is a character present in the receiver buffer. A parity error is considered a special receive The Tx byte count mode can be cleared by either a condition. channel reset command or a hardware reset. Interrupt land Issue a DMA Request] on All Received Wait Function Enable [07] Characters (11] : This mode is the same as the one Setting this bit to one enables the wait function above, except that a parity error is not considered a selected by 05 of CR1. special receive condition. The following are con- sidered special receive conditions: Control Register 2 (Channel A) Receive overrun error Asynchronous framing error 07 06 05 I 04 I 03 02 01 I 00 - Parity error (if specified) Pin 10 Rx - HOLC end of message (final flag received) SYNCBI INT Priority DMA Mode RTSB Mask Interrupt Vector Select Wait on ReceiverlTransmitter [05] OMA Mode Select [Do - 01] If the wait function is enabled for block mode transfers, setting this bit to zero causes the MPSCC Setting this field determines whether channel A or B to issue a wait (WAIT output goes low) when the pro- is used in a OMA mode [data transfers are performed cessor attempts to write a character to the transmitter by a OMA controller], or in a non-OMA mode where while the transmitter buffer is full. Setting this bit to transfers are performed by the processor in either a one causes the MPSCC to issue a wait when the pro- polled, interrupt, or block transfer mode. The func- cessor attempts to read a character from the receiver tions of some MPSCC pins are also controlled by this while the receiver buffer is empty. field. See table 3. Tx Byte Count Enable [06] Priority [02] Each channel has a 16-bit Tx byte count register used This bit selects the relative priorities of the various for automatic transmit termination. When this bit is interrupt and OMA conditions according to the ap- set to one; the next two consecutive command cycle plication requirements. Sse table 4. writes will be to the byte count register. The first byte is loaded into the lower 8 bits and the second to the Interrupt Vector Mode [03 - 05] upper 8 bits of the byte count register. The byte.count This field determines how the MPSCO responds to an register holds the number of transfers to be performed interrupt acknowledge sequence from the processor. by the transmitter. A byte counter is incremented each See table 5. time a transfer is performed until the value of the byte counter is equal to the value in the byte count register. Rx INT Mask [06] When equal, interrupts or OMA requests will be stop- ped until the byte count enable bit is issued and a new This option is generally used in the OMA modes. byte count is loaded into the byte count register. If a Enabling this bit inhibits the interrupt from occuring transmit underrun occurs in the HOLC mode, and the when the interruptIDMA request on first received byte count is not equal to the byte count register, an character mode is selected. In other words, only a abort sequence will be sent automatically. OMA request will be generated when the first character is received. Table 3_ DMA Mode Sele.ction Channel Pin Function 01 00 A B 11 26 29 30 31 32 0 0 Non-DMA Non-DMA WAITB DTRB PRI PRO DTRA WAlTA 0 DMA Non-DMA DRQTxA HAl PRI PRO HAD DRQRxA DMA DMA DROTXA HAl DRQRxB DRQTxB HAD DRQRxA DMA DMA DRQTxA DTRB DRQRxB DRQTxB DTRA DRQRxA 2-12 ftiEC p.PD7201A Table 4. DMAllnterrupt Priorities Mode OMA Priority 02 Channel A Channel B Relation Interrupt Priority Relation o INT INT SRxA. RxA>TxA>SRxB. RxB>TxB>ExTA>ExTB INT INT SRxA. RxA>SRxB. RxB>TxA>TxB>ExTA>ExTB OMA INT RxA>TxA SRxA. RxA > SRxB. RxB > TxB > ExTA > ExTB OMA INT RxA>TxA SRxA. RxA >SRxB. RxB > TxB > ExTA> ExTB o OMA OMA RxA > TxA > RxB > TxB SRxA. RxA>SRxB. RxB>TxB>ExTB OMA OMA RxA>RxB> TxA>TxB SRxA. RxA>SRxB. RxB> ExTA. ExTB Table 5. Interrupt Acknowledge Sequence Response Receiver Enable [Do] Status Register 2B and Inler· Setting this bit to one after the channel has been com- rupt Vector Bits Affected When Condition Affects pletely initialized allows the receiver to begin opera- 05 O. 03 Mode Vector is Enabled tion. This bit may be set to zero at any time to disable 0 0 0 Nonvectored 04 030 2 the receiver. 0 0 Nonvectored 04 030 2 Sync Character Load Inhibit [01] 0 0 Nonvectored 02 0100 In the character synchronous modes, this bit inhibits 0 Illegal the transfer of sync characters to the receiver buffer, 1 0 0 8085 Master 04 D30 2 thus performing a "sync·stripping" operation. When 0 8085 Slave 04 030 2 using the MPSCC's CRC checking ability, use this 0 8086 020100 feature only to strip leading sync characters preceding a message, since the load inhibit does not 8085/8259A Slave 04 0302 exclude sync characters embedded in the message from the CRC calculation. Synchronous protocols us· Pin 10 SYNCB/RTSB Select [07] ing other types of block checking such as checksum or LRC are free to strip embedded sync characters. Programming a zero into this bit selects RTSB as the function of pin 10. A one selects SYNCB as the Address Search Mode [021 function. In the HDLC mode, setting this bit places the MPSCC Control Register 2 (Channel B) in an address search mode. Character assembly does I~ I~ I~ I~ I~ I~ I~ Interrupt Vector 00 not begin until the 8·bit character (secondary address field) following the starting flag of a message matches either the address programmed into CR6 or the global address 11111111. Interrupt Vector [Do . 071 Receiver CRC Enable [031 When using the MPSCC in the vectored interrupt mode, the contents of this register are placed on the This bit enables and disables (1 = enable) the CRC bus during the appropriate portion of the interrupt checker in the character oriented protocol mode, acknowledge sequence. Its value is modified if status allowing characters from the CRC calculation to be affects vector is enabled. The value of SR2B can be selectively included or excluded. The MPSCC has a read at anytime. This feature is useful in determining one·character delay between the receiver shift register the cause of an interrupt when using the MPSCC in and the CRC checker so that the enabling or disabl· a nonvectored interrupt mode. ing takes affect with the last character transferred from the shift register to the receiver buffer. Therefore, Control Register 3 there is one full character time in which to read the character and decide whether or not it should be 01 I 06 05 O. 03 02 01 00 included in the CRC calculation. In the HDLC mode, Sync there is no 8·bit delay. Re- Char- Number of Enter ceiver Address acter Re- Received Bits Auto Hunt CRC Search Load ceiver per Character Enables Phase Enable Mode Inhibit Enable 2-13 JLPD7201A Enter Hunt Phase [041 Parity Even/Odd [01) Although the MPSCC receiver automatically enters Programming a zero into this bit when parity is en- the sync hunt phase after a reset, there are other abled selects odd parity for the received character. times when reentry is appropriate. This may occur Conversely, a one in this bit selects even parity when synchronization has been lost or, in an HOLC generation and checking. mode, to ignore the current incoming message. A one in this bit position at any time after initialization Number of Stop Bits or Sync Mode [02 • OaJ causes the MPSCC to reeneter the hunt phase. This field specifies whether the channel is used in a synchronous or an asynchronous mode. In an asynch- Auto Enables [05] ronous mode, this field also specifies the number of Setting this bit to one causes the OCO and CTS in- bit times used as the stop bit length by the trans- puts to act as enable inputs to the receiver and mitter. The receiver always checks for one stop bit. transmitter, respectively. See table 7. Number of Received Bits per Character [06 • 07) Sync Mode [04 . 05) This field specifies the number of data bits assembled When the stop bits/sync mode field is programmed to make each character. The value may be changed for synchronous modes (02, 03 = 00), this field while a character is being assembled and, if the specifies the particular synchronous format to be change is made before the new nl,lmber of bits has used. This field is ignored in an asynchronous mode. been reached, it affects that character. Otherwise, the See table 8. new specifications take effect on the next character received. See table 6. Clock Rate [06 • 07) This field specifies the relationship between the Control Register 4 transmitter and receiver clock inputs (TxC, RxC) and 07 I 0& 05 I O. 03 I 02 01 00 the actual data rates at TxO and RxO. When operating Number Parity in a synchronous mode, a 1x clock rate must be of Stop Bits Even/ Parity specified. In asynchronous modes, any of the rates Clock Rate Sync Mode per Sync Mode Odd Enable may be specified. However, with a 1x clock rate, the receiver cannot determine the center of the start bit. Parity Enable [001 In this mode, the sampling (rising) edge of Rxe must be externally synchronized with the data. See table 9. Setting this bit to one adds an extra data bit contain- ing parity information to each transmitted character. Table 8_ Synchronous Formats Each received character is expected to contain this Sync Sync extra bit, and the receiver parity checker is enabled. Mode 1 Mode 2 Mode 05 O. Table 6. Received Bits per Character 0 0 a-bit internal synchronization character Blls per Characler (monosync) o o 5 0 16-bit internal synchronization character (bisync) o 7 0 SOLC/HOLC o 6 External synchronization (SYNC pin becomes an 8 input) Table 7. Stop Bits Table 9. Clock Rates Mode Clock Clock a a Synchronous modes Rate 1 Rale 2 Clock Rale 07 0& o Asynchronous 1 bit time (1 stop bit) 0 0 Clock Rate = Ix Data Rate Asynchronous 1'12 bit times (1';' stop bits) 0 Clock Rate = 16x Data Rate Asynchronous 2 bit times (2 stop bits) 0 Clock Rate = 32x Data Rate Clock Rate = 64x Data Rate 2-14 t-fEC jLPD7201A Control Register 5 line is zero·inserted. That is, the line goes low for one bit time out of every five. 07 06 I 05 04 03 02 01 DO Never disable the transmitter during the HDLC data CRC Trans· Number of Trans· Poly· mitter phase unless a reset follows immediately. In either Transmitted Bits Send mitter nomial CRC case, any character in the buffer register is held. OTR per Character Break Enable Select RTS Enable Disabling the transmitter during the CRC phase causes the remainder of the CRC character to be bit· Transmitter CRC Enable [Do] substituted with the sync (or flag). The total number A one or a zero enables or disables (respectively) the of bits transmitted is correct and TxD goes high after CRC generator calculation. The enable or disable they are sent. does not, take effect until the next character is If the transmitter is disabled during the idle phase, the transferred from the transmitter buffer to the shift remainder of the sync (flag) character is sent. TxD then register, thus allowing specific characters to be in· goes high. cluded or excluded from the CRC calculation. By set· ting or resetting this bit just before loading the next character, it and subsequent characters are included or excluded from the calculation. If this bit is zero when the transmitter becomes empty, the MPSCC Send Break [041 Setting this bit to one immediately forces the transmitter output (TxD) low (spacing). This function EI goes to the idle phase regardless of the state of the overrides the normal transmitter output and destroys idle/CRC latch. any data being transmitted, although the transmitter is still in operation. Resetting this bit releases the RTS [01] transmitter output. In synchronous and HDLC modes, setting this bit to Transmitted Bits per Character [05 . Os] one causes the RTS pin to go low, while a zero causes it to go high. In an asynchronous mode, setting this This field controls the number of data bits transmitted bit to zero causes the RTS pin to go high when the in each character. The number of bits per character transmitter is completely empty. This feature may be changed by rewriting this field just before the facilitates programming the MPSCC for use with asyn· first character is loaded. See table 10. chronous modems. Normally each character is sent to the MPSCC right· justified and the unused bits are ignored. However, CRC Polynomial Select [02] when sending five bits or less, the data should be for· This bit selects the polynomial used by the transmitter matted as shown below to inform the MPSCC of the and receiver for CRC generation and checking. A one precise number of bits to be sent. See table 11. selects the CRC·16 polynomial (X16 + X15 + X2 + 1). A zero selects the CRC·CCITT polynomial (X16 + X12 Table 10. 1i'ansmitted Bits per Character + X5 + 1). In an HDLC mode CRC·CCITT must be 'D'ansmitled ll'ansmltled selected. Either polynomial may be used in other syn· Bits per Bits per Character 1 Character chronous modes. Os 05 Bits per Character Transmitter Enable [03] o o 5 or less (see below) o 7 After a reset, the transmitted data output (TxD) is held o 6 high (marking) and the transmitter is disabled until 8 this bit is set. In an asynchronous mode TxD remains high until data Table 11. Transmitted Bits per Character for 5 is loaded for transmission. Characters or Less When the transmitter is disabled in an asynchronous 07 Os 05 04 03 02 01 Do Number of Bils per Charaler mode, any character currently being sent is completed 1 1 1 0 0 DO 1 before TxD returns to the marking state. 0 0 0 01 DO 2 If the transmitter is disabled during the data phase 1 0 0 0 02 01 DO 3 in a synchronous mode, the current character is sent. 1 0 0 0 03 02 01 DO 4 TxD then goes high (marking). In an HDLC mode, the 0 0 0 04 03 02 01 DO 5 current character is sent, but the following marking 2-15 J.tPD7201A t-lEC OTR [Data Terminal Ready] [07] the available characters, the MPSCC resets this bit until a new character is received. When this bit is one, the OTR output is low [active]. When this bit is zero, OTR is high. Interrupt Pending [01 • Channel A Only] Control Register 6 The interrupt pending bit is used with the interrupt vector register (status register 2) to make it easier to DO determine the MPSCC's interrupt status. This is useful in a nonvectored interrupt mode where the pro- cessor must poll each device to determine the inter- Sync Byte 1 [Do • 07] rupt source. In this mode, interrupt pending is set when status register 28 is read, the PRI input is active Sync byte 1 is used in the following modes: (low), and the MPSCC requests interrupt service. Monosync B·bit sync character transmitted It is not necessary to read the status registers of both during the idle phase channels to determine if an interrupt is pending. If the Bisync Least significant (first) B bits of the status affects vector is enabled and the interrupt 16·bit transmit and receive sync pending is set, the vector read from SR2 contains character valid condition information. External Sync Sync character transmitted during the idle phase In a vectored interrupt mode, interrupt pending is set HOLC Secondary address value matched to during the interrupt acknowledge cycle (on the secondary address field of the HOLC leading edge of the second INTAK pulse) when the frame when the MPSCC is in the ad- MPSCC is the highest priority device requesting in- dress search mode terrupt service (PRI is active). In either mode, if there are no other pending interrupt requests, interrupt pen- Control Register 7 ding is reset when the end of the interrupt cpmmand is issued. I~ I~ I~ I~ I~ Sync Byte 2 DO Transmitter Buffer Empty [02] This bit is set whenever the transmitter buffer is Sync Byte 2 [Do • 07] empty - except during the transmission of CRC. The Sync byte 2 is used in the fo!!o'l/ing mod as: ~..~PSCC uses the buffei to facilitate this function. After a reset, the buffer is considered empty and Monosync B-bit sync character matched by the transmit buffer empty is set. receiver Bisync Most significant (second) B bits of External/Status Flags [03 . 07] the 16-bit transmit and receive sync characters The following status bits reflect the state of the HOLC The flag character 01111110 must be various conditions that cause an external/status inter- programmed into control register 7 rupt. The MPSCC latches all external/status bits for flag matching by the MPSCC whenever a change occurs that would cause an receiver external/status interrupt, regardless of whether this interrupt is enabled. This allows transient status Status Register 0 changes on these lines to be saved. 07 D& 05 O. 03 02 01 DO When operating the MPSCC in an interrupt-driven Rec'd mode for external/status interrupts, read status Tx INT Char register 0 when this interrupt occurs and issue a reset Break/ Idle/ Sync Buffer Pend· Avail- Abort CRC DCD Empty ing external/status interrupt command to reenable the CTS Status able interrupt and the latches. To poll these bits without interrupts, issue the reset external/status interrupt Received Character Available [Do] command to first update the status to reflect the cur- When this bit is set, it indicates that one or more rent values. characters in the receiver buffer are available for the processor to read. Once the processor has read all 2-16 t-fEC jLPD7201A OCO 1031: This bit reflects the inverted state of the When the transmitter is completely empty, the OCO input. When OCO is low the OCO status bit is M PSCC sends the 16-bit CRC character and sets the high. Any transition on this bit causes an external/ latch again. An external/status interrupt is issued status interrupt request. when the latch is set, indicating that CRC is being sent. No interrupt is issued when the latch is reset. Sync Status 1041 : The meaning of this bit depends on the operating mode of the MPSCC. Break/Abort 101J : In the asynchronous mode, this bit indicates the detection of a break sequence (a null Asynchronous mode: Sync status reflects the inverted character plus framing error that occurs when the RxO state of the SYNC input. When SYNC is low, sync input is held low, spacing, for more than one status is high. Any transition on this bit causes an character time). Break/abort is reset when RxO returns external/status interrupt request. high (marking). External synchronization mode: Sync status operates In the HOLC mode, break/abort indicates the detec- in the same manner as in asynchronous mode. The tion of an abort sequence when seven or more ones MPSCC's receiver synchronization logic is also tied are received in sequence. It is reset when a zero is to the sync status bit in an external synchronization received. mode. A low-to-high transition (SYNC input going low) informs the receiver that synchronization has started Any transition of the break/abort bit causes an exter- and character assembly begins. nal/status interrupt. A low-to-high transition on the SYNC input indicates that synchronization has been lost. The sync status Status Register 1 becomes zero and an external/status is generated. D7 D6 D5 D4 D3 1 D2 1 Dl Do The receiver remains in the receive data phase until End of CRC Over· the enter hunt phase bit in control register 3 is set. SOLC Framing run Parity All Frame Error Error Error SOLe Residue Code Sent Monosync, bisync, HOLC modes: In these modes, sync status indicates whether the MPSCC receiver is in the sync hunt or receive data phase of operation. A zero All Sent [Dol indicates that the MPSCC is in the receive data phase, This bit is set when the transmitter is empty and reset and a one indicates that the MPSCC is in the sync when a character is present in the transmitter buffer hunt phase (as in after a reset or when the enter sync or shift register. This feature simplifies the mode con- hunt bit sets to 1). As in the other modes, a transition trol software routines. In the bit synchronous mode, on this bit causes an external/status interrupt. Note this bit sets when the ending flag pattern is sent. that entering a sync hunt phase (when programmed) or a reset causes an external/status interrupt request Residue Code [01 - OaJ which may be cleared immediately with a reset exter- nal/status interrupt command. Since the data portion of an HOLC message can con- sist of any number of bits and not necessarily an CTS 10sJ : This bit reflects the inverted state of the integral number of characters, the MPSCC has special CTS input. When CTS is low, the CTS status bit is logiC to determine and report when the end of frame high. Any transition on this bit causes an external/ flag has been received (that is, the boundary between status interrupt request. the data field and the CRC character in the last few data characters that were just read). Idle/CRC 10sl (Tx Underrun/EOMJ : This bit indicates When the end of frame condition is indicated (07 of the state of the idle/CRC latch used in the syn- status register 1 = 1) and there is a special receive chronous mode. After a hardware reset, this bit is set condition interrupt (if enabled), the last bits of the to one, indicating that the transmitter is completely CRC character are in the receiver buffer. The residue empty. When the MPSCC enters idle phase, it code for the frame is valid in the status register 1 byte automatically transmits sync or flag characters. associated with that data character. (SR1 tracks the In the HOLC mode, the MPSCC automatically resets received data in its own buffer). this latch after the first byte of a frame is written to The meaning of the residue code depends upon the the Tx buffer. number of bits per character specified for the receiver. The previous character refers to the last character read before the end of frame, and so on. See table 12. 2-17 / /LPD7201A ttlEC Tab/e 12. Residue Codes When any of these conditions occur and interrupts are enabled, the MPSCC issues an interrupt request. B Bits per Character In addition, if a condition affect vector mode is en. Previous 2nd Previous Character Character abled, the vector generated (and the contents of SR2B D3 °2 °1 for nonvectored interrupts) is different from that of a 1 0 0 CCCCCCCC CCCCCDDD received character available condition. Therefore, it 0 0 CCCCCCCC CCCCDDDD is not necessary to analyze SR1 with each character 1 CCCCCCCC CCCDDDDD to determine if an error has occurred. 0 0 CCCCCCCC CCDDDDDD Also, the parity error and receiver overrun error flags 1 0 CCCCCCCC CDDDDDDD are latched. That is, once one of these errors occurs, 0 C C C C C C C C* DDDDDDDD* the flag remains set for all subsequent characters CCCCCCCD DDDDDDDD until reset by the error reset command. Therefore read 0 0 0 CCCCCCDD DDDDDDDD SR1 only at the end of a message to determine if either of these errors occurred anywhere in the 7 Bits per Character message. The other flags are not latched and follow Previous 2nd Previous each character available in the receiver buffer. 03 02 °1 Character Character 1 0 CCCCCCC CCCCCDD Parity Error [Od: This bit is set and latched when 0 0 CCCCCCC CCCCDDD parity is enabled and the received parity bit does not 1 0 CCCCCCC CCCDDDD match the sense (odd or even) calculated from the 0 0 CCCCCCC CCDDDDD data bits. 1 0 CCCCCCC CDDDDDD Receiver Overrun Error [051 : This error occurs and is 0 1 C C C C C C C* DDDDDDD* latched when the receiver buffer already contains 0 0 0 CCCCCCD DDDDDDD three characters and a fourth character is completely 6 Bits per Character received, overwriting the last character in the buffer. Previous 2nd Previous 03 02 °1 Character CRC/Framing Error [Osl : In the asynchronous mode 1 0 0 CCCCCC CCCCCD a framing error is flagged (but not latched) when no 0 0 CCCCCC CCCCCD stop bit is detected at the end of a character (RxO is CCCOOO low one bit time after the center of the last data or 1 1 0 cceece parity bit). When this condition occurs, the MPSCC 0 0 CCCCCC CCDDDD waits an additional one·half bit time before sampling 1 CCCCCC CDDDDD again so that the framing error is not interpreted as 0 0 cecccc DDDDDD a new start bit. 5 Bits per Character In the synchronous mode, this bit indicates the result Previous 2nd Previous of the comparison between the current CRC result and 03 °2 °1 Character the appropriate check value. It is usually set to one, 0 0 C C e C C* D DDDD* since a message rarely indicates a correct CRC result 0 1 0 ceCCD DDDDD until correctly completed with the CRC check character. 1 0 CCCDD DDD DD Note that a CRC error does not result in a special 0 0 CCDDD D DDDD receive condition interrupt. 0 0 0 CDDDD DDDDD End of HOLC Frame [EOF] [071: This status bit is used Notes: C = CRC bit only in the bit synchronous mode to indicate that the D = Valid data end of frame flag has been received and that the CRC • = No residue error flag and residue code are valid. This flag can be reset at any time by issuing an error reset command. Special Receive Condition Flags The MPSCC also automatically resets this bit when the The status bits described below-parity error (if parity first character of the next message is sent. as a special receive condition is enabled), receiver over- run error, CRC/framing error, and end of HOLC frame- all represent special receive conditions. 2-18 !\fEe ItPD7201A Status Register 2B Table 13. Condition Affects Vector Modifications 0, DO Interrupt Pending 8085 Modes 0, 03 02 Interrupt Vector (SKO.O, Channel AI 8086 Modes 02 0, DO Condition Interrupt Vector [Do - 07 - Channel B Only] o 1 No interrupt pending 0 Channel B transmitter Reading status register 2B returns the interrupt vector buffer empty that is programmed into control register 2B. If a con- Channel B external/status 0 0 dition affects vector mode is enabled, the value of the Change vector is modified as shown in table 13. Channel B received 0 Code 111 can mean either channel A special receive character available condition or no interrupt pending. Examine the inter- 0 Channel B special receive rupt pending bit (D1 of status register 0, channel A), condition to distinguish which it means. In a nonvectored inter- 0 Channel A transmitter rupt mode, the vector register must be read first for buffer empty the interrupt pending to be valid. 0 Channel A external/status change Channel A received Character available Channel A special receive condition Status Register Bit Functions (Sheet 1 of 2) Control Register 0 Control Register 2 (Channel BI Register 0 Register 1 v, Register 2 Pointer for vo } l_Jl==~~~~~~~~~~~~V2 Register 3 the Selection of V3 Interrupt Register 4 a Read/Write V4 Vector Register 5 Register -V5 Register 6 V6 Register 7 V7 Null Code Send Abort (H DLC) Reset EXT/Status Interrupts Control Register 2 (Channel AI Channel Reset Enable INT on Next Ax Character Reset Tx INTfDMA Pending l Error Reset End of Interrupt (EOI - Channel A only) I Both Channels Interrupt Null Code Channel A DMA, Channel B INT Reset Rx CAe Checker o BothChannelsDMA-lnternal PflofityMode Reset Tx CRe Generator 1 BothChannels DMA-External PnontyMode Reset Tx Underrun/EOM Latch ~ ~~:~~:!~ ~=: ~ ~~~ ~ ~:: ~ i:: o 0 8085 Master Mode Control Register 1 o 1 8085 Slave Mode 1 0 8086/88 Mode 1 1 8085/8259A Slave Mode - Interrupt Vectored/Nonvectored Receive Interrupt Mask EXT INT Enable RTSBPin 10 Tx INT Enable SYNCB Pin 10 ~-- ~ - - - Status Affects Vector (Channel B only) Rx INT and DMA Disable } Rx INT on First Character Control Register 3 INT on All Rx Characters OR Interrupt on (Parity Affects Vector) Special Receive INT on All Rx Characters Condition (Parity Does Not Affect Vector) Rx Enable Wait on Receiver/Transmitter Sync Character Load Inhibit - Tx Byte Count Enable " - - - - - Address Search Mode (HOle) L - - - - - W a i t Enable L _-'========= " - - - - - - - - Ax CRC Enable Rx5 Bits/Character Enter Hunt Auto Phase Enables Ax7 Bits/Character Rx6 Bits/Character Rx8 Bits/Character 2-19 JLPD7201A ttiEC Status Register Bit Functions (Sheet 2 of 2) Control Register 4 Status Register 1 I~I~I~I~I~I~I~I~I Parity Enable o Parity = Odd = 1 Parity Even I L All Sent - Used with External/Status Interrupt Mode I·Field Sync Modes Enable I-Fiel Bits in 1 Stop Bit/Character l1f2 Stop Bits/Character I Bits i Previous Second Previous 2 Stop Bits/Character Byt 6yte B-bit Sync Character 16-bit Sync Character SOLe Mode (0111111 0 Flag) 1 0 0 o 1 1 1 0 0 0 0 0 3} 4 5 Residue Data tor L External Sync Mode o 0 1 0 6 Eight Rx Bits per XI Clock Mode 1 0 1 0 7 Character X16 Clock Mode 0 1 1 0 8 Programmed 1 1 1 1 8 X32 Clock Mode X64 Clock Mode o 0 0 2 8 Parity Error } L_-'==="---------===~End '~g,~~~~~n~r~~~r Control Register 5 [lJ of Frame (SOLe) Tx CRe Enable Status Register 2B RTS L_~=~====CRC-16ICRC-CCITT Tx Enable Send Break Tx5 Bits (or Less)/Character ~ml} Inler upl Tx7 Bits/Character ne6 Bits/Character Tx8 Bits/Character L--'===== OTR L_ - ' = = = = = = = = = = V4[2] V5 Vector Control Register 6 L~==========V6 V7 Note: [1] Used with special receive condition mode. SyncBitO Sync Bit 1 1 {2] Variable If Status Affects Vector is programmed. l_1=~=b~~~~~~~~sYnCB't3 I~l~ync6"4 Sync BitS ' - - - - - - S y n c Bit2 Sync BitS Sync Bit 7 J AlsoSOLC Address Field S1a1us Ragistsi 3 (Tx Byte Count Register) Bit 0 Control Register 7 Bit 1 '-----6iI2 L _-,========Bit Low } Bit 34 Byte L_ - , = = = = = = = = = = = = B i t Bit6 5 _-====== ~~~~:::: ---------------6iI7 L Sync Bit Sync Bit 10 11 [1] l_1=~=~~~~~~~~~sYnc Status Register 4 Sync Bit 13 Bit 12 Sync Bit 14 (Tx Byte Count Register) Sync Bit 15 Note: [1) ForSDLC it must be programmed to 01111110 for flag recognition. Bit 8 Bit9 Status Register 0 L_-,======Bit 10 Bitll High L_-,=========:::Bit 12 Bit 13 Byte L_ - , = = = = = = = = = = = = = BBit i t 15 14 Rx Character Available INT Pending (Channel A Only) l_l=~=~~~~~~~~~~~=~·=t~~-~~~:::::mpty CTS Tx UnderrunfEOM BreakfAbort } Extemal/Status Used with Interrupt Mode 2-20 pPD72001 NEe NEe Electronics Inc. CMOS, Advanced Multiprotocol, Serial Communications Controller Description D Digital phase-locked loop per channel D Two baud rate generator/timers per channel (receive TheJlPD72001 advanced multiprotocol serial controller and transmit) (AMPSC) is a high-performance, single-chip, serial D Crystal oscillator per channel communications controller designed to meet a wide D Loopback test mode variety of communications requirements. The AMPSC D SDLC loop mode contains two independent full-duplex channels which D Mark idle detection can be configured to transmit and receive data in either D Short frame detection asynchronous protocol or one of two synchronous D Single +5 V power supply protocols: character-oriented protocol (COP) or bit- D Standby mode for reduced power consumption oriented protocol (BOP). The COP and BOP synch- D Two speed versions: 8 MHz and 11 MHz systems ronous protocols include cyclic redundancy check and input data clocks (CRC) generation and checking. D Available in DIP, PLCC, and quadflat packages The AMPSC has several interrupt modes, including Ordering Information vectored and nonvectored. Separate direct memory Max Clock access (DMA) requests are available for the transmitter ParI No. Package Type Speed and receiver on each channel, allowing high speed operation. The AMPSC is easily interfaced to most pPD72001C 4O-pin plastic DIP 8 MHz microprocessors with a minimum of logic. pPD72001 C-11 40-pin plastic DIP 11 MHz pPD72001 GC-386 52-pin plastic miniflat 8 MHz The JlPD72001 AMPSC is an upgraded CMOS version pPD72001 GC-386-11 52-pin plastic 11 MHz of the JlPD7201A MPSCC with the following additions: four internal baud rate generator (BRG)/timers, two pPD72001L 52-pin plastic 8 MHz digital phase-locked loops (DPLL), two crystal oscilla- leaded chip carrier (PLCC) tors, and the capability of synchronous data link pPD72001 L-11 52-pin plastic leaded 11 MHz control (SDLC) loop operation. The BRG's can be used chip carrier (PLCC) as independent timers, when they are not being used as baud rate generators. Each timer generates its own zero count interrupt. These features simplify design Pin Configurations requirements and at the same time enhance the flexible architecture of the JlPD7201A. 40-Pin Plastic DIP Features DCDA CTSA D7 RxDA D Advanced version of the JlPD7201 A D6 XI1A/STRxCA D Functional superset of industry standard 8530 D5 XI2A/SYNCA D CMOS technology D4 TRxCA D Multiprotocol TdM - Asynchronous RTSA - Synchronous D, DRQRxA Do 9 RESET - Character-oriented (BISYNC/MONO-SYNC) GND ClK -.Bit-oriented (SDLC/HDLC) WR VDD D Two independent full-duplex channels RD DRQTxA D Versatile host-system interface C/O DTRA/DRQTxB - Software polling BfA: DTRB/DRQRxB - Interrupt PRO RTSB -DMA PRI TxDB D I nterface to a majority of microprocessors (V-Series, INTAK XI2B/SYNCB 8080, 8085, 80X86/88, and others) INT XI1 B/STRxCB D DC to 2.2-Mb/s data rate CTSB RxDB DC DB TRxCB D Modem control signals D NRZ, NRZI, and Frill encoding/decoding, Manchester 83-004274A decoding 2-21 NECEL-000501 pPD72001 Pin Configurations (cont) Pin Identification Symbol Function 52-Pin Plastic Miniflat B/A Channel B or channel A select input from host computer '" '" )( I- a: 00 )( C/O Control/data input select from host computer « )( ,l- ~ ~ ~ I- ~ ~ ClK System clock input from host computer ool~ oa:a: w (J) '" w ..I ceO I~ I~ 0 0 cca:t-t- a: Q a: 0 > > c c c z z CTSA Clear-to-send input for channel A .... ...... .... ..'" .. .,... ... .... Z Z CTSB Clear-to-send input for channel B N :;: TxOA RTSB DCDA Data carrier detect input for channel A TRxCA TxOB DCDB Data carrier detect input for channel B XI2A1SYNCA XI2B/SYNCB DTRA/DRQTxB Data terminal ready output for channel A or DMA XI1 AlffiiiCA XI1 B/STRxCB request output for transmit channel B; determined by RxOA RxDB control register CR2A CTSA TRxCB IC IC DTRB/DRQRxB Data terminal ready output for channel B or DMA OCOA DCDB request output for receive channel B; determined by 07 CTSB control register CR2A 06 INT DRQRxA DMA request output for receive channel A D5 INTAK DRQTxA DMA request output for transmit channel A 04 PRI 03 PRO System data bus :!~~~~~~~~~ct~~ INT Interrupt request output to host computer INTAK Interrupt acknowledge input from host computer 83-004272A PRI Priority input, interrupt daisy chain control PRO Priority output, interrupt daisy chain control RD Read control input from host computer RESET System reset input from host computer RTSA Request-to-send output for channel A RTSB Request-to-send output for channel _B_ _ _ _ __ RxDA Receive data input for channel A RxDB Receive data input for channel B TRxCA Transmit-receive clock input for channel A D. NC NC RTSA TRxCB Transmit-receive clock input for channel B D, DRQRxA TxDA Transmit data output for channel A NC NC Do RESET TxDB Transmit data .output for channnel B GND 41 ClK WR Write control input from host computer GND Voo XI1A/STRxCA External crystal connection for channel A or transmit- WR Voo receive clock source input for channel A AD DRQTxA C/O DTRAlDRQTxB XI2A/SYNCA External crystal connection for channel A or NC NC synchronization input for channel A B/A DTRB/DRQRxB XI1 B/STRxCB External crystal connection for channel B or transmit- NC NC receive clock source input for channel B XI2B/SYNCB External crystal connection for channel B or synchronization input for channel B ')("I'l-" Q en I- a: GND System ground Voo +5 V (typical) 83-Q04273A 2-22 t-iEC pPD72001 Pin Functions RD [Read]. The active-low RO input signal causes status or receive (Rx) data to be read out of the CPU Interface AMPSC. The data is presented on pins 00-07' The B/A [Channel Select]. The input to this pin selects the values are dependent on the state of the B/A and cio channel to be accessed for a write or read operation. A inputs and the internal state of the device. low input selects channel A; a high input selects WR [Write]. The active-low WR input signal causes channel B. control words or transmit (Tx) data to be written into C/D [Control/Data Select]. The inputtothis pin selects the AMPSC, The data written is input on pins 00-07 the type of data on the data bus during a write or read (data bus). The destination of the data is determined by access. A low input selects data; a high input selects a the state of the B/A and C/O pins and the value of the control or status register. internal register pointer. ClK [System Clock]. This input supplies the clock for 07-00 [Data Bus]. These pins constitute a three-state, the internal operation of the device. It is separate from 8-bit, bidirectional data bus. The bus is connected to the data clocks. The system clock input must be more the host processor's data bus to transfer control words, than five times the serial data transfer rate. status information, and send/receive data. INT [Interrupt]. The interrupt request output signal at Channel Interface this pin,goes low if an interrupt cause occurs within the AMPSC. The output is an open-drain transistor and RxDA, RxDB [Receive Data]. Receive data enters the requires a pull-up resistor. AMPSC on these pins. INTAK [Interrupt Acknowledge]. An active-low input TxDA, TxDB [Transmit Data]. Transmit data exits the signal at this pin is used in response to an interrupt AMPSC on these pins. request. In the Vector mode (CR2A bit 07 = 1), it DRQTxA, DRQTxB [DMA Transmit Requests]. These causes the interrupt vector to be placed on the data active-high outputs for channels A and Bare OMA bus. The output vector mode determines the number of requests to the OMA controller. The pin is set to high cycles of INTAK toggling that are required for each when the Tx buffer is emptied. The conditions under interrupt I!cknowledge cycle (see CR2A bits 03-05). In which this occurs depend on the status of control the Nonvector mode (07 = 0), this pin must be pulled register CR1 bit 02. (ORQTxB and OTRA are dual high. If unused, this pin must also be pulled high. functions of the same pin.) PRI [Priority Input]. The PRI signal controls interrupt DRQRxA, DRQRxB [DMA Receive Requests]. These ,request generation and interrupt vector output. The active-high outputs for channels A and Bare OMA pin is the input forthe interrupt priority daisy chain that requests to the OMA controller. The pin is set to high determines how interrupts from multiple devices are when the receiver enters the Rx Character Available resolved. A high level prevents the AMPSC from state. It is reset when received data is read out of the presenting an interrupt vector during the INTAK channel. (ORQRxB and OTRB are dual functions of the sequence. A low level allows the vector to be presented. same pin.) If unused, this pin must be tied low. TRxCA, TRxCB [Transmit/Receive ClOCk]. If bit 02 of PRO [Priority Output]. This is an output to the interrupt control register CR15 is zero, these pins are transmit or priority daisy chain. It controls interrupt requests from receive clock inputs. Also, they are inputs if bits 05 and lower-priority devices. It indicates the existence of a 06 or 03 and 04 are set to one and zero, respectively, higher-priority interrupt, either within the AMPSC or, if overriding the state of bit 02. no internal interrupt exists, the condition of the PRI input. If none of the conditions above are true, the pins function as outputs with the source selectable between RESET [Reset]. Applying a low signal continuously for the crystal oscillator, the BRG, the OPLL, and the two or more clock cycles (tCYK) to this pin resets the transmit clock. ~election is made with bits DO and 01 of AMPSC (system reset) and places it in Standby mode. CR15. A system reset disables the transmitter, receiver, in- terrupt, and OMA functions and sets the TxO and STRxCA, STRxCB [Clock Source]. These pins are the general-purpose output pins to high. It also resets all transmit or receive clock source inputs for channels A bits of the control registers. and B, respectively. They can be routed internally to the transmitter, receiver, BRG's, or OPLL. An alternative function as an external crystal connection point (XI) is selected by control register CR15 bit 07. 2-23 pPD72001 NEe XI1A, XI2A and XI1B, XI2B [Crystal Connections]. Crystal Recommendations These two pin pairs may be connected to external crystals that control the internal oscillators for channels The crystals used with the pP072001 internal crystal A and B, respectively. (See STRxCA and STRxCB.) oscillators should be parallel resonant, fundamental mode, with an AT cut. For frequency stability, two Modem Control capacitors can be added from the pins of the crystal to ground (figure 1). The value of the capacitors can be RTSA, RTSB [Request to Send]. These are general- calculated by the following formula: purpose outputs usable, as an example, for modem control. Pin status is set by CRS bit 01 and Auto Enable C = C1 X C2 + C bit status (CR3 bit OS). L C1 + C2 s CTSA, CTSB [Clear to Send]. These are general- CL is the load capacitance of the crystal and Cs is all purpose inputs usable, as an example, for modem stray capacitance in parallel with the crystal. The Cs control. A status change on CTSA or CTSB affects E/S value should include the input capacitance (CIO and bit latch operation. If E/S INT is enabled (CR1 bit DO set CIN) of the pP072001 and any wiring or socket to 1), an E/S interrupt occurs. If the Auto Enable mode capacitance. is selected (CR3 bit OS set to 1), CTSA and CTSB can be used with the Tx Enable bit (CRS bit 03) to control Figure 1. Crystal Configuration Circuit transmitter operation. DCDA, DC DB [Data Carrier Detect]. These are general- purpose inputs usable, as an example, for modem ,..---.----1 Xll control. A status change on OCOA or OCOB affects IlP D72001 E/S bit latch operation. If E/S INT is enabled (CR1 bit DO set to 1), an E/S interrupt occurs. If the Auto Enable XI2 mode is selected (CR3 bit OS set to 1), OCOA and OCOB can be used with the Rx Enable bit (CR3 bit ~O) 83,-005111 A to control receiver operation. DTRA, DTRB [Data Terminal Ready]. These are Absolute Maximum Rating~ general-purpose active-low outputs controlled by TA =+25·C control register CRSA bit 07. (ORQTxB and ORQRxB Power supply voltage, Voo -0.5 to +70 V have dual pin functions with OTRA and OTRB.) !nput vo!tage, Vi -0.5 to VDn + 0. 5 V SYNCA, SYNCB [Sync Input or Output]. In accordance Output voltage, Va -0.5 to Voo + 0.5 V with the settings of control regsister CR4 bits 07-02, Operating temperature, TaPT -10 to +lO·C and with CR1S bit 07 = 0, the three functions of these Storage temperature, TSTG -65 to +150·C pins are as follows. (1) Asynchronous mode: general-purpose input that functions like OCO and CTS. (2) External sync mode: active-low input indicates to the AMPSC that synchronization has occurred, (3) Internal sync mode: active-low output indicates when synchronization is detected by the AMPSC. 2-24 t-IEC pPD72001 DC Characteristics TA =-10 to +70·C; V DD = + 5 V ±10% Limits Parameter Symbol Min Typ Max Unit Test Conditions Input low voltage VIL -0.5 +0.8 V All pins except ClK VILC -0.5 +0.6 V ClK pin Input high voltage VIH +2.2 Voo + 0.5 V All pins except ClK VIHC +3.3 Voo + 0.5 V ClK pin Output low voltage VOL +0.45 V 10L = 2.0 mA Output high voltage VOH 0.7 Voo V 10H = -400JlA Output leakage current, high ILOH +10 JlA VOUT = Voo Output leakage current, low ILOL -10 JlA VOUT = V a Input leakage current, high ILiH +10 JlA VIN = Voo Input leakage current, low ILiL -10 JlA VIN = 0 V Voo supply current 100 20 40 mA All outputs at high level; tCY = 0.125 JlS Standby current IDOl 20 JlA fRxC = fTxC = fCLK = DC 2 mA Standby mode Capacitance TA = 25·C; VDD = 0 V Limits Parameter Symbol Min Max Unit Test Conditions Input capacitance 10 pF fC = 1 MHz; unmeasured pins returned to av. 110 capacitance 20 pF AC Characteristics TA = -10 to +70·C; VDD = +5 V ±10% Limits, B MHz Limits, 11 MHz Parameter Symbol Min Max Min Max Unit Test Conditions Clock Clock cycle (Note 1) tCYK 125 2000 91 2000 ns Clock high level width tWKH 50 1000 40 1000 ns Clock low-level width tWKL 50 1000 40 1000 ns Clock rise time tKR 10 10 ns 1.5 to 3.0 V Clock fall time tKF 10 10 ns 3.0 to 1.5 V Notes: (1) In all modes, the system clock frequency must be more than five times the maximum data rate. 2-25 pPD72001 NEe AC Characteristics (cont) limits, 8 MHz limits, 11 MHz Parameter Symbol Min Max Min Max Unit Test Conditions Read Cycle Address setup time to RD) tSAR 0 ns Address hold time from RD t tHRA 0 0 ns RD pulse width tWRL 150 150 ns Data output delay time tOAD 120 120 ns from address Data output delay time tORO 120 120 ns from RD ) Data float delay time tFRo 10 85 10 85 ns from RD t Write Cycle Address setup time to WR ) tSAW 0 0 ns Address hold tHWA 0 0 ns time from WR t WR pulse width tWWL 150 150 ns Data setup time to WR t tsow 120 120 ns Data hold time from WR t tHWO 0 0 ns Read/Write Cycle RD/WR recovery time (Note 2) tRY 160 160 ns Transmit or Receive Cycle Transmit/receive data cycle tCYO 5 5 tCYK STRxC, TRxC input clock cycle tCYC 125 91 ns STRxC, TRxC input clock pulse High-laval width tWCH 50 40 ns Low-level width tWCL 50 40 ns Transmit Cycle TxD delay time from STRxC l, tOTCTD1 100 100 ns xl mode TRxC) tOTCTD2 300 300 ns x16, x32, x64 mode INT delay time from TxD tOTDlQ 4 6 4 6 tCYK Tx INT mode DRQTx delay time from TxD tOTDoa 4 6 4 6 tCYK Tx DMA mode Notes [cont]: (2) For all operations except Tx/Rx data transfer 2-26 r-iEC pPD72001 AC Characteristics (cont) Limits, 8 MHz limits, 11 MHz Parameter Symbol Min Max Min Max Unit Test Conditions Receive Cycle RxD setup time tSRORC 0 0 ns to STRxC t, TRxC t RxD hold time tHRCRO 140 140 ns from STRxC t, TRxC t INTd~time tORCIO 7 11 7 11 tCYK Rx IN mode from RxC t (Note 3) DRORx delay time tORCOO 7 11 7 11 tCYK Rx DMA mode from RxC t (Note 3) DMA Request Control DRORx I request tOROO 120 120 ns delay time from Rii I DROTx I request delay time tOWOO 120 120 ns from WR I Interrupt Control INTAK low-level width tWIAL 150 150 ns PRO delay time from PRI toplPO 50 50 ns PRI setup time to INTAK I tSPIiA 0 0 ns When vector output is selected. PRI hold time tHIAPI 20 20 ns from INTAK t Data output to lAO 120 120 ns delay time from INTAK I Data fioat delay time tFIAO 10 85 10 85 ns from INTAK t Modem Control CTS, DCD, SYNC pulse High-level width tWMH 2 2 tCYK Low-level width tWML 2 2 tCYK lliLd~ time from tOMIO 2 2 tCYK CTS, DCD, SYNC Sync Control SYNCdelaL- tOTRCSY 0 2 0 tCYK COP external STRxC t, TRxC t synchronization Crystal Oscll/ator XI1 input cycle time tCYX 125 1000 91 1000 ns Reset RESET pulse width tWRSL 2 2 tCYK Noles [conI]: (3) STRxC or 'fRXC, whichever is used for the receive clock 2-27 pPD72001 NEe Timing Waveforms AC Test Load Circuit Clock Input Test Points -----' f3.3 I 0.6 Test points 3.3\ 0.6 \'-._ _ __ 83·004286A ~1 CL= 100pF [includes jig capacitance J liD Waveform Test Points 83-004267A 2.4---...,X 0.45 _ _ _- J ::: Test points :::x'-___ 83-004285A Clock Timing . tWKH-- tCYK tWKL- . ClK tKF -+ ~ tKR~ f4- 83-0042886 Read Cycle CtO,B/A -----'X------------'f~.-~ tSAR-I IWRL • -tHRA_ "\ V -tORO-- ~ tOAD . 83·0042898 2-28 t't{EC J.lPD72001 Timing Waveforms (cont) Write Cycle C/O,B/A ){ ~ -~----~- tSAw~ll. tWWL ,I-IHWA "" I S D W -~ 63-0042908 Read/Write Cycle (for al/ operations except Tx/Rx data transfer) C/o,B/A \'--_ _----J/ \~-- RD, ViR -----'\,-----"}. ~---------------'RV----------------~L . - - . 83-004291B Transmit Cycle 1--------ICyC------------+1 STRxCA/B TRxCA/B tOTCTD-+ II ICYD , TxDA/B ) ) _IDTDIO ____ \ !-IDTDDO--+ DRQTxA/B 83-0042928 2-29 pPD72001 ttlEC Timing Waveforms (coni) Receive Cycle • tCYC . , -twCL-I-tWCH- STRxCA/B TRxCA/B I \ tSRORC- t tHRCRO .. tCye . RxDA/B }. -tORCIQ- K k \ -tORCOQ- DRQRxAlB 83-0042938 DMA Request Control ~~ DRQRxAlB / ~ ~ _ _ _- - - , \ j - - t e R O Q _ Ri5 I wo-------.t"·oJ 83-0042948 Modem Control 1 \ tWML tWMH CTSA/B, - - - - - DCDAlB, SYNCAIB t.. Y i tOMIQ 83-0042968 2-30 ttrEC tJPD72001 Timing Waveforms (cont) Interrupt Control - '"""f_t_ F1 A D _ _ __ 07"00 ----«'--_--J)>------«'--_--J) 83-0042958 Sync Control STRxCA/B TRxCA/8 -.-I \~_I \'-- Last Bit of SYNC Character 1st Bit ot Data Character "I..... tOTRCSY ...... \ "SYNCA/B input must be set to 0 at the rising edge of RxC after two clock cycles following the last bit of SYNC character. 83-0042976 Crystal Oscillator Reset I: tCYX 1_ Xll~----""'\\I..____ ...JJ 83-004298A 83-004299A Functional Operation System Clock Control Refer to the jlPD72001 AM PSG block diagram (figu re 2) The system clock control logic receives and manages for an overview of the four major functional blocks of the system clock (GlK), which operates the internal logic listed below. circuitry of the jlPD72001. The system clock and internal circuitry must be operating in order for the • System clock control transmitters and receivers ofthejlPD72001 to function. • Interface control In standby mode, the system clock is blocked by the • Transmitter clock control circuitry and the transmitters and re- • Receiver ceivers can not operate. In clocked operation, the system clock can be used as the source for the data clock, which is used by the transmitters and receivers. 2-31 pPD72001 ttiEC The internal registers of the I1PD72001 are static in can be used as a timer with a wide dynamic range. The nature and do not require the system clock to retain clock source for the timer can be selected from the thei r contents. system clock, the data clock, an external source, or a crystal. Interface Control Receiver The interface control logic contains the signals used to control the transfer of data and status information The receivers in the AMPSC accept serial data into the between the host CPU and the AMPSC. This logic receive shift register, which in turn assembles this block has four types of interface lines. The read/write serial data into parallel characters (byte). The and control lines (RD, WR, C/O, B/A) select what data is assembled byte is transferred into the receive buffer to be transferred and the direction of the transfer. The (FIFO), which can contain up to three bytes. The reset line (RESET) which is part of this group, resets receive status of each byte is transferred along with it the internal state of the I1PD72001 when held active. through the receive buffer. In this way, the status The interrupt control line (INT) sends a signal to the reported by the I1PD72001 is always current forthe byte host CPU when the AMPSC requires attention. The that is about to be removed from the FIFO. interrupt acknowledge line (INTAK) signals the The receive shift reg ister also checks for flags and sync I1PD72001 when the host CPU is ready to service its characters in the synchronous modes. Flags are auto- request for attention. The interrupt priority lines (PRI, matically removed from the data stream, while sync PRO) are used to form the interrupt priority daisy characters have the option of being retained. This is chain, which arbitrates the interrupt service priority. determined by a CPU command. The DMA control lines (DRQRxA, DRQTxA, DRQRxB, DRQTxB), inform the DMA controller when a data The receiver in synchronous modes, calculates the received CRC and checks it against the CRC that is transfer is ready. The data bus buffer provides tempo- received with the data. A difference is reported to the rary storage of the data (07-00) being transferred from host processor. the internal registers of the JlPD72001 to the host CPU. The digital phase-locked loop (DPLL) is used to Transmitter separate the data from the clocking information in Each channel's transmitter accepts parallel byte data the NRZI, FM, and Manchester encoded received bit and sends it out serially. The data is sent out at a rate streams. It locks in on the received data and provides determined by the transmit data clock (TxCLK). The an accurate and stable clock for the receiver. source of this c!cck is determined by the clock control multiplexer. Bytes are loaded into the transmit buffer. Standby Mode When the transmit shift register is empty, the contents The I1PD72001 enters the standby mode after a hardware of the transm it buffer are loaded into the transm it sh itt reset or by issuing the standby command (CR13 bit register. DO). In standby mode, the system and data clocks are The transmitter is also responsible for the transmit blocked internally by the clock multiplexer. This shuts down the AMPSC and reduces power consumption CRC calculation and sending flags and sync characters. greatly. System power requirements can be further The transmitter can be made to send breaks and aborts using commands from the host CPU. reduced by externally stopping the input clock transitions. The internalloopback feature connects the transmitter In standby mode, the I1PD72001 retains all register to the receiver and disconnects the receiver from the RxD pin. values, but no internal functions operate and read operations of the AMPSC will not transfer any data. The echo loop featu re con nects the receiver to the TxD pin and disconnects the transmitter. To release the standby mode, a write cycle must be performed to CRO. To resume normal operation without The Baud Rate Generators (BRGs) divide down the affecting the internal state of the device, a zero can be selected clock source to produce data clocks that can written to CRO. be used for the transmitter and receiver. The clock multiplexer selects the clock sources for them. By selecting the correct value for the BRG count, the BRG 2-32 ttlEC tJPD72001 Figure 2. IlPD72001 AMPSC Block Diagram CFrB DTRA I ~p+_-----------, ~ TxRx Clock '--------------, r-- i - I Tx BRG 1 Tx BRG I ~~~-L~I~~ '-G~ Rx BRG 1----;---;--.1 Rx BRG H, l 1 '"- I- ,--- TxRx 1 I TxClK /-----c:-t-r... RxClK "--'-_---=.1----1 ~- Clock 1 Control J--- I l'v~ SR12·l5 DPLL t- .--1- :1 tnlL-H_i-!it - i i - - - - i - TRxCA ~ II- XllA/STRxCA i I p Osc XI2A/SYNCA L-------i--- .J System Clock ~ ~~4-~-~--~-1---DCDA I~~ Clockl CLK _____ ~~~~~i f--- TxRx Control ~ ~ SRO,3, SR1-4 kl'v----l /' 1+-+-+--RxDA I.r" 4,7 SR10-ll :::r '---rT- Receiver ~_ I' ~ Buffer Rx 1'.I~============~~====~ I I I ~ r-----------~~----~ I I J -I-- 4 I Interface I Control ~r-.l......-l---~ DRQRXA!::= r----v~1 ~------------+-+TxDA DRQTxA _--- DMA ... DRQRX~!::= DRQTxB. Control r-- r----"-'" Transmitter -v Interrupt Control r-- f.o-- I~ ,C) I U Data 07-00 Bus Control ~ TRxCB Channel B RTSB OTRB RO'----= - p.... WR----= Readl f--- ~ Xll B/STRxCB I---hLt C/O----- Write Biii----- Control XI2B/SYNCB RESET----=~ ~ CTSB DCOB ~ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ J - RxDB t; TxOB 49M-000146 2-33 pPD72001 fttIEC System Configuration Example The interface between thepPD72001 and the host CPU is not very complex. It requires only address decoding In the system configuration example (figure 3), the logic for I/O operations. A multiplexer can be used to pPD72001 is used as a high-speed interface to a decode DMA acknowledge signals. However, it is not modem. It controls the modem interface and serial data necessary with DMA controllers, such as thepPD71071, flow. The AMPSC is used with a direct memory access which are able to do their own I/O addressing. controller (DMAC), such as the pPD71071 in order to speed the data transfer and reduce the host CPU The AMPSC's flexible interface to a variety of host overhead. The pPD72001 directly interfaces with the processors makes connection simple. host CPU, without requiring an interrupt controller, such as thepPD71059. Extra hardware is not required, since the AMPSC can generate its own interrupt vectors. Figure 3. System Configuration Example 70108, 70116 ,.-. CPU I Memory I ?-- r- ?--r r- " ~~ i--J I I. r- Address Bus r- ) I I 7- I Data Bus I I I )' L Control Bus I MUX~ /~ 07·00 RD,WR /-- ./ INTAK C/O 'v-- 015·00 A23·AO B/A 72D01 ......... OMAAK INT AMPSC 71071 t-. DMAC ORa / OMARa RxO TxO STRxC 1m oco RTS Modem 83-0043046 2-34 t\'EC pPD72001 Programming the AMPSC Tilbl. 1. AMPSC Internal Reg/.'.r Configuration Software programming the AMPSC utilizes separate Control CRO data and command/status paths. The data path uses an Registers CRl a-bit register. The command/status path has a set of CR2 Functions differ for CR2A and CR2B a-bit registers structured for efficient and complete control with a minimum of interaction from the host CR3 processor. CR4 The internal registers (table 1) are divided into control CR5 registers (CAs) and status registers (SAs). Also, unless CR6 otherwise noted in table 1, each channel has its own set CR7 of registers; for example, CA1A and CA1 B are the CA1 CRB; CR9 Registers for each channel are used in control registers for channels A and B. pairs: CRBA/CR9A; CRBB/CR9B The control and status registers for a given channel are CR10 all accessed through the same I/O address. The dif- ferent registers are selected by using the register pointer in CAO (bits 00-02). The register pointer is reset to zero after each register operation. For example, CRll CR12 CR13 lx/Rx BRG registers are loaded by setting bits 0 and 1 of CR12 EJ to write to CA2, a two is initially written to the control address (C/O pin set high). After this the value to be CR14 written into CA2 is also written to the control address. CR15 To read from SA2, a two is written to the control Status SRO address, and then a read cycle at the control address Registers SRl reads the value in SA2. A zero is not required to be written before CAO and SAO are accessed. Control SR2B No register SR2A registers (figure 4) set up the device operation mode or SR3 control device operations. The host processor writes SR4A No register SR4B control words into these registers. SR5, SR6, SR7 'No registers Status registers (figure 5) hold device status in- SRB formation. The host processor can sense the AMPSC SR9 device status by reading these registers. SR10 Frequently used information is retained in control SRll register CAO and status register SAO. This information can be sent or received by writing or reading a single SR12, SR13 Registers for each channel are used in pairs: SR12A/SR13A; SR12B/SR13B byte. In normal operation, CAO is initially loaded with a command to reset the AMPSC. Next,CA2 is loaded to SR14, SR15 Registers for each channel are used in setthe interface mode. This is followed by the remaining pairs: SR14A/SR15A; SR14B/SR15B registers, beginning with CA4 to set the protocol type. 2-35 pPD72001 Figure 4. Control Register Bit Functions Control Register 0 Control Register 2 [Channel B] 1 D71 D6J D51 D41 D31 D21 Dl1 DOJ ! ! ! l_~=~===g}lnitial 0 0 1 OJ Pointer Register 1 Register 0 1 0 Reg!ster 2 SpeCifies 0 1 1 Reg.ster 3 the AMPSC 1 0 0 Register 4 Register to V4 Vector INT Value 1 0 Register 5 be Accessed 1 1 1 0 Register 6 L_~========:V5 V6 , 1 1 1 Register 7 ~------------V7 0 0 0 No Operation 0 0 1 High Pointer [Selacts Registers 8-15] 0 1 0 Reset EXTlStatu s Latches Control Register 3 0 1 1 Channel Reset 1 0 0 Enable INT on Next Rx Character 1 0 1 Resat Tx INT/D MA Pan ding, 1 1 0 Error Resat 1 1 1 End of Interrupt [Channal A Only] Receiver Enable o 0 No Operation Sync Character Load Inhibit! o 1 Initialize Rx CRC Calculator Muitlcast Enable , 1 0 Initialize Tx CRC 'Calculator '----Address Search Enable 1 1 Reset Tx Underrun/End of Message Bit '--'--~-Rx CRC Calculator Enable '--------Ente~ Hunt Phase '----~-----Auto Enable Moda Control Register 1 o 0 5 BitSiRx Character o ,1 7 BilslRx C,haracter 1 0 6 BitSiRx Character 1 1 8 BitslRx Character ExternaliStatus 'INT Enable Tx INT/DMA Enable Control Register 4 '--,,--First Tx INTIDMA Enable o o Rx INT Disable o 1 Rx INT on First Rx Character E~::'~:~ ~~:':::[~,,!e[~t 1 O=:rlt'f Parity Enabl.!.- Rx INT on All Rx Characters, Parity Even/Odd Parity Error is Not Special Rx INT o o Sync Mode FIrst Rx INT Mask o 1 Async, 1 Stop Bit Overrun Error Special Handling 1 o Async, 1.5 Stop Bits L..----Shon Frame Detact Enable 1 1 Async; 2 Stop Bits o 0 MONO Sync Mode Control Register 2 [Channel A] o 1 BISYNC Mode 1 0 HDLC Meide 1 1 External Sync Molla ,,0 0 Dala Clock Is xl Data Rate , o 1 Data Clock Is x16'Data Rate 0 0 Both Channels INT t ' 0 Data Clock Is x32 Data Rate 0 1 Channel A DMA; CHB INT 1 1 Data Clock Is x64 Data Rate, 1 ,0 Both Channels DMA 1 1 Reserved, [Use Is Prohibited] Control Register 5 INT Priority RxB > TxAfTxA > RxB 0 0 0 Type A·l INTAK Vector [8085 Master Mode] 0 0 1 Type A·2 INTAK Vector [8085 Slave Mode] 0 1 0 Type A·3 INTAK Vector [8085/8259 Slave Mode] Tx CRC Calculator Enable 0 1 1 Type B-1 INTAK Vector [8088/86 Mode] RTS 1 0 0 Type B-2 INTAK Vector 0 [8088/86, 8259 Slave Mode] 1 Reserved, [Use is Prohibited] l_~=~===CRC-16/CRC-CCiTT Transmitter Enable Send BraaklAbon 1 0 Reserved, [Use is Prohibited] 1 1 Reserved, [Use Is Prohibited] o o 5 BitslTx Character o 1 7 BitslTx Character INT Status Affects Vector Value 1 o 6 BitslTx Character Vectored INT Enable 1 1 8 Bits/Tx Character DTR 49M·000147 NEe pPD72001 Figure 4. Control Register Bit Functions (cont) Control Register 6 Control Register 11 1 D71 Dsl D51 D41 D31 D21 Dl] DO 1 Ill: 01 Bit Bit 1 Bit 2 S BRG INT Enable Idle Detect INT Enable ' - - - - - A l l Sent INT Enable :::: L~::'C Bytel ' - - - - - - DCD INT Enable '--------Sync/Hunt INT Enable Bit 5 Address ' - - - - - - - - - - C T S INT Enable Bit s ' - - - - - - - - - - - - T x Unde"un/EOM INT Enable Bit 7 '--------------Break/Abort/GA INT Enable Control Register 7 Control Register 12 I D71 Dsl D51 D41 D31 D21 Dl I DO I I LJ: Bit 9 BitS ::: ~~ Bit 12 1 Sync High By tel o Load Rx BRG Load Tx BRG L_-=:==== TxRx BRG BRG INT Enable 0 Reserved, [MUst be 01 INT Enable Bit 13 Flag Bit 14 DPLl BRG Source Tx BRG/Rx BRG Bit 15 TRxe BRG Source Tx BRG/Rx BRG Control Register 8 Control Register 13 I D71 D61 D51 D41 D31 D21 DIlDo I Ill: Bit 1 BltO} ::: ~ Tx Data o 0 0 0 0 Enter Standby Mode Tx Data Length Counter Enable Reserved, [Must be 0] Bit 4 Length, Bit 5 Low Byte Control Register 14 Bit 6 Bit 7 Control Register 9 LD7J DsJ D51 D4l D31 D21 DIlDO 1 Tx BRG Enable Rx BRG Enable l _~=~====BRG Source: Xtai·STRxCI System Clock I ll: It Its 9 } B It 10 B it 11 Tx Data o o 0 0 o No Operation External Loop Enable 1 DPLL Enter Search Mode loop Back Enable B It 12 L~ngth, o 1 o DPLL Reset Missing Clock B it 13 HIgh Byte o 1 1 DPLL Disable B It 14 1 0 o DPLL Select BRG as Source B it 15 1 0 1 DPLL Select XTAL/STRxC as Source 1 1 o DPLL FM Mode Control Register 10 1 1 1 DPLL NRZI Mode Control Register 15 1 D71 Dsl D51 D41 D31 D21 D1 1 DO Sync Character Length S/8 Auto Tx Enablel Loop Enable !! o TRxe Source is XTAL 1 TRxC Source Is TxCLK L----Abort on Tx 1 0 TRxC Source Is BRG Output Underrun 1 1 TRxC Source Is DPLL Output ' - - - - - - - M a r k Idle Enable ' - - - - - - - - - A u t o Tx on Syncl TRxe is Output Tx on Loop o TxCLK Source Is STRxC o TxCLK Source Is TRxC o 0 NRZ Data Encoding 1 TxCLK Source Is TxBRG Output o 1 NRZI Data Encoding 1 0 FM1 Data Encoding 1 TxCLK Source is DPLL Output 1 1 FMO Data Encoding o o RxClK Source is STRxC CRC Initial State o 1 RxClK Source is TRxC 1 o RxClK Source Is RxBRG Output 1 1 RxClK Source Is DPll Output XTAl Oscillator Enable 49M-000151 2-37 pPD72001 Figure 5. Status Register Bit Functions Status Register 0 Status Register 4A 1 D71 D6 1 Dsl D4 1 D31 D2 1 Dll DO 1 Rx Data Available Sending Abort ' - - - - T x Buffer Empty ' - - - - - - S h o r t Frame Detected ~S Channel B External/ tatus Interrupt Pending Channel B Tx Interrupt Pending Channel B Rx Interrupt Pending ' - - - - - - - - Parity Error Channel A External/ ' - - - - - - - - - - Rx Overrun Error 5 tatus Interrupt Pending '------------CRClFraming Error Channel A Tx Interrupt Pending '-----~-------'-- End of Rx Frame Channel A Rx Interrupt Pending Channel B Special Rx I nterrupt Pending Status Register 1 Channel A Special Rx Interrupt Pending Status Register 8 BRG Zero Count Idle Detected ' - - - - A l l Sent '-------DCD '--------Sync/Hunt '---------CTS ' - - - - - - - - - - - - T x Underrun/End 'of Message L_-=====Bit2 Bit 1 BitO} Bit 3 Tx Data Length '--------------BreakfAbort/GA Detected '-_~::::::::::::::"- ::: ~ Counter, Low Byte Status Register 2B '-----------Bit6 '--------------Bit7 Status Register 9 L~====V2/A2/B2 ~~;:~} , '-_______ ~!;!! Interrupt Vector 9 } ' Bit 8 '-----------V5 '-------------V6 '-----B" 10 '------------V7 ' - - - - - - B i t l l Tx Data Lenglh ' - - - - - - - - B i t 12 Counter, High Byte '---------~Blt13 Note: [1) ,Bits A4·A2 are modified if ,Type A Vectors are selected ' - - - - - - - - - - - - B i t 14 [2) Bits B2·BO are modified if Type B Vectors are selected '--------------Bit15 [3) If Status Affects Vector bit is set [CR2A Bit 6): A3/Bl A2/BO Condition Status Register 10 o 0 Tx Buffer Empty o 1 1 0 External/Status Rx Data Available 1 D71 D61 D51 D41 D31 D21 Dl I DO 1 IlJ~ 1 1 Special Receive A4/B2 = 0 Indicates Channel B eserved, State Unknown A4/B2 = 1 Indicates Channel A x Synchronized/On Loop Raserved, State Unknown Reserved, State Unknown Status Register 3 5 eildlng On Loop RBserved, State Unknown DPLL Missing Two Clocks DPLL Missing' One Clock Status Register 11 'BhO} Bit 1 Residue Code L_~==== Bit 2 ' Rx BRG count Is Zero 1 D71 D61 DS I D41 D31 D21 D1 I DO I ' - - - - - - - - T x BRG Count is Zero '----------Resarvad, State Unknown '------------Reserved, '~t~ta Unknown BRG Interrupt Enabled ' - - - - - - - - - - - - - - R e s e r v e d , State Unknown I l J ldie Detect Interrupt Enabled All Sent Interrupt Enabled Note: DCD Interrupt Enabled [1] Residue Codes that Indicate No Resld;,,;: Sync/Hunt Interrupt Enabled Bits per Data Byte Residue Code CTS Interrupt Enabled 5 Bits/Character 1 0 0 Tx Underr4n/EOM 6 Blls/Character 0 0 0 Interrupt Enabled 7 Bits/Character 0 1 1 Break/Abort Interrupt Enabled 8 Blls/Character 0 1 1 49M·000152 2-38 t\'EC pPD72001 Figure 5. Status Register Bit Functions (cont) SlalUs Reglsler 12 SlalUS Regisler 14 ~gilH} BI11 BiIO} '----BiI2 BH 3 Rx BRG Time ' - - - - - - - B i I 3 Tx BRG Time lJ~~~~~~~~~BiI4 Bit 4 Conslanl, Low Byte Bil5 Bil5 Conslanl, . Low Byle BH 6 Bil6 '-----------BiI7 Bil7 SlalUs Reglsler 13 Slalus Reglsler 15 I 071 061 051 041 031 021 01 1 00 I Ill: Bil9 BItS } BI110 BII 11 BII 12 Bil13 Rx BRG Time Conslanl, High Byte ' - -_ L.. '----BiI10 '------BI111 :::: _-_-_-_-_-_-_-_-_-_-_-_ : : : } g Tx BRG Time Conslanl, High Byte BI114 '-----------BI114 BI115 '-----,--------BI115 49M-0001S3 Control Register CRO Tx Underrun/EOM state. At this point, the AMPSC checks to see if a CRC SYNC/Flag or abort is to be sent, CRC Control [07-06] which depends on the value of SR1 'bit 06 and the These bits are valid when the COP or BOP mode is operating mode. Therefore, SR1 bit 06 must be reset selected. They are not used in the asynchronous mode. before transmission of the last byte starts. At the occurrence of Tx underrun, the CRG or the SYNC No Operation [00]. This command has no effect. character/flag is sent when the SR1 bit 06 is a zero or Initialize Rx CRC Calculator [01]. This command one, respectively.SR1 bit 06 is set when the CRC or initializes the receiver (Rx) CRC calculator. The com- SYNC/Flag byte is written to the Tx register by the mand should be issued before data reception starts. AMPSC. However, before this command is issued, the initial In the BOP mode, bit 06 of SR1 is automatically set to value of the Rx CRC calculator must be set by the value zero when the first data byte of a frame is written into of CR10 bit 07. theAMPSC. This command is not required in the BOP mode, since the CRC calculator is automatically initialized upon Command [05-03] receipt of the flag value according to the value of CR10 These bits control the state of the device. bit 07. No Operation [000]. This command has no effect. Initialize Tx CRC Calculator [10]. This command initializes the transmit (TX) CRC calculator. It should High Pointer [001]. This command is used in conjunc- be issued before data transmission is started. However, tion with CRO bits 02-00 (Register Pointer) to access before the command is issued, the initial value of the Tx status registers. 8 through 15. For example, to access CRC calculator must be set by the value of CR10 bit 07. SR11, bits 05-00 of CRO are set to 001011. In the BOP mode, if CR10 bit D7 is set to one, the Tx Reset E/S Bit Latches [010]. This Reset External/Status CRC calculator is automatically initialized to one, Bit Latch command is issued when an E/S bit (each bit when a flag value is loaded into the transmit shift of SR1) latch operation has occurred. It opens the E/S register within the AMPSC. latches and prepares for the latching of a new E/S bit status change. If E/S interrupt is enabled, an E/S Reset Tx Underrun/EOM Bit [11]. This command interrupt will occur and the latches will latch when an resets SR1 bit 06 from one to zero (transmit un- E/S bit's status changes. Not all state transitions will derrun/end-of-message bit). If data is not loaded into cause latching and an interrupt to occur. See the des- the transmit buffer before the transmit shift register cription of SR1 for details. New status will not be begins transmitting its last bit, the AMPSC enters the available in SR1 until this command is issued. 2-39 pPD72001 t-IEC Channel Reset [011j. This command resets an AMPSC Control Register CR 1 channel. It performs a function similar to the RESET pin. Executing the channel reset command halts Short Frame Detect [07] channel operation. After a channel reset,three system Valid only in BOP mode, this bit detects short HOLC clock periods (tCY) should elapse before any further frames (frames that are less than 32 bits long). commands or data are sent to the channel. Short Frame Detect Disabled [OJ. Short frame detec- Enable Next Rx Character Interrupt [100j. This com- tion is disabled. mand is valid only when the First Rx INT mode (CR1 bits 04-03 = 01) is selected. It is issued at the end of a Short Frame Detect Enabled [1j. Short frame detection message to request an additional Rx interrupt for the is enabled. If a short frame is received, SRO bit 03 first received byte of the next message. The additional (Short Frame Oetect) is set to 1, causing a Special Rx Rx interrupt occurs when the next data byte is received condition interrupt. after the command is issued. Overrun Error INT [06] This command has no effect when the First Rx INT This bit selects the timing of overrun error detection. mask is on (CR1 bit 05 = 1), even if the First Rx INT mode is selected. Normal Mode [OJ. In this mode, an overrrun error is indicated when the received data that caused the Reset Tx Interrupt/DMA Pending [101j. This command overtunerror is transferred to the last stage of the is used to Clear a pending Tx interrupt request or Tx receive buffer. A Special Rx Condition interrupt occurs OMA request while the Tx buffer is empty (SRO bit at this time. 02 =1). It is typically used to clear a Tx interrupt or Tx DMA request caused by the Tx buffer empty state Special Mode [1j. In this mode, the Rx Overrun Error that occurs after the last byte is written into the AMPSC. bit immediately reflects an overrun error within the AMPSC. A Special Rx Condition interrupt also occurs Error Reset [110j. This command is used to reset the at this time. The received data that caused the overrun pertinent bits (SRO bits 07-D3) if a Special Rx Condi- error may not be the byte at the last stage of the tion has occurred. If it occurs when the First Rx INT RxFIFO. mode is selected, any data that is subsequently received is not transferred to the last stage of the Receive Interrupt on First Character Mask [05] AMPSC internal Rx buffer, but will remain in the first and second stages until this command is issued. This bit is enabled only if the First Rx INT mode (CR1 bits D4-D3 = 01) is selected. It is used to mask Rx End of Interrupt [111j. This command is used so that interrupts caused by received data. Setting this bit to 1 theAMPSC can recognize the end of interrupt service causes all first receive interrupts to be masked. It does propessing. It should be issued when interrupt service not mask Special Receive interrupts. It is used in data for the AMPSC is completed. Command execution transfers when no interrupt service is desired or resets the internal interrupt service latch and re- required, such as DMA only data transfer. enables lower priority interrupt requests. This command is required when the start of interrupt Receive Interrupt Mode [04-03] service has been indicated by either conducting an INTAK cycle, or by reading SR2B. These bits set the Rx I NT mode. They specify the way received data is managed. Register Pointe.r [02-00] Disable Mode [OOj. This Receive Interrupt Disable These bits specify which AMPSC register number is to mode is used to accept received data Using status be accessed. The bits are reset to 000 when system polling, or to disable the receive interrupt request. reset is executed or when the AM PSC is accessed after First Rx Character Mode [01j. In this mode, which is a Registe~ Pointer value is specified. For registers typically used with DMA data transfer, an Rx interrupt numbered 8 and above, the High Pointer command occurs orily when the first byte is received. This occurs (05-03 =001) is used inconjunction with the Register when Rx is enabled after initialization or after the P~inter to acceSs them. Enable Next Received Character interrupt command is issued. 2-40 fttlEC pPD72001 All Receive-1 Mode [10]. This mode causes a receive Interrupt Status Affects Vector [06] interrupt to be generated for each byte received. In this This bit determines if the value of an interrupt vector is mode, a parity error causes a Special Rx Condition modified by the cause of interrupt. If the bit is set, the interrupt. vector is modified as specified by bits 05-03. If the bit All Receive-2 Mode [11]. This mode is the same as All is reset, the vector is not modified and the cause of Receive-1, except that parity error does not cause a interrupt must be determined by reading SRO and SR1. Special Rx Condition interrupt. Interrupt Vector Mode [05-03] First Transmit Interrupt/OMA Enable [02] These bits determine the interrupt vector operation. This bit determines whether'a Tx INT/OMA request is The bits also select which bits of an interrupt vector are generated immediately after the transmitter is enabled. to be changed when the Status Affects Vector is set by It is valid when INT/OMA is enabled (CR1 bit 01 = 1). CR2A bit 06. For details of how the vector is modified, refer to the description of register SR2B. Table 4 shows A transmit interrupt or OMA request is issued if bit 02 is the vector operation determined by bits 05-03. 1 when the transmitter is enabled, but not if the bit is O. Regardless of the state of bit 02, an interrupt or OMA Interrupt Priority Select [02] request is generated when the Tx buffer makes the full-to-empty transition. This bit selects the priority of interrupt requests within the AMPSC. The priority does not apply to OMA Transmit Interrupt/OMA Enable [01] transfer. This bit enables the transmit interrupt or OMA request. = If bit 02 0, the priority from high-to-Iow is RxA, TxA, Each time a transmit interrupt c.ondition exists and RxB, TxB, E/S A, E/S B. provided bit 01 is set, an interrupt or OMA request is generated. If bit 02 = 1, the priority from high-to-Iow is RxA, RxB, TxA, TxB, E/S A, ElS B. External/Status Interrupt Enable [~O] Interrupt/OMA Mode [01-00] If bitDO is set, a change in state of the external/status bits causes. an interrupt and the state of the bits is These bits select the data transfer mode for each channel. The E/S, Rx, and Special Rx. Condition latched. The latc;hes must be reset with the Reset External/Status Bit Latch command (CRO bits 05-03), interrupts can be enabled in both modes. The Tx interrupts are disabled on any channel in OMA mode. before subsequent interrupts can occur. The three modes are as follows: Control Register CR2A Bits 01-00 Mode Vectored Interrupt Enable [07] 00 Both channels interrupt This bit enables transmission of the interrupt vector. If 01 OMA on channel A, interrupt on the bit is set, the interrupt vector is placed on the data channelB bus during the INTAK cycle. Ifthe bit is reset, the vector 10 OMA on both channels is never placed on the bus; It can be read by the host processor. In this mode, the INT signal is released after Control RegisterCR2B the host processor reads SR2B or clears the interrupt Bits 07-00 of CR2B set the initial value of an interrlJpt condition. vector. 2-41 pPD72001 ttlEC 'ftIble4. Interl'l,lpt VectorOperatlon Throughout INTAK Sequence CR2A Data Boa StatuIllNTAK relponae Ot AMPSC) 05 04 03 Mode jijjj RCye11 07 06 05 D4 03 02 01 DO 0 0 0 A1 1st. 1 1 0 0 1 1 0 1 low 2nd. V7 V6 V5 M4 M3 M2 V1 VO low 3rd. 0 0 0 0 0 0 0 0 1st. 0 0 1 0 high 2nd. High Impedance high 3rd. High Impedance 0 0 1 A2 1st. High Impedance 0 1 0 113 low 2nd. V7 V6 V5 M4 M3 M2 V1 VO low 3rd. 0 0 0 0 0 0 0 0 1st. High Impedance high 2nd. High Impedance high 3rd. High Impedance 0 1 1 B1 1st. High Impedance 1 0 0 B2 low 2nd. V7 V6 V5 V4 V3 M2 M1 MO 1st. High Impedance high 2nd. High Impedance Not..: (1) • =Don't care. (2) When Status Affects VeC10r (bit 6 of CR2A) is set, the M data bits are modified to iridicate the interrupt source. (3) Modes A3 and 82 ignore the state of PRJ. They are slave modes for use with an interrupt controller such as the IlPD71059. Control Register CR3 Enter HuntPhase [D4] Receive Character Bit Length [D7-D6] Valid in COP or BOP mode, this bit forces the AMPSC to enter the Hunt Phase. In the Hunt Phase, the These bits determine the number of bits per character pP072001 searches the received data stream for either In the received data. a sync or flag before it begins loading data into the Rx Bits 07-06 Bits/Character FIFO. ' 00 5 01 7 Receive CRC Calculator Enable [D3] 10 6 Valid only in COP or BOP mode, bit 03 determines 11 8 whether or not a CRC calculation is to be performed on the received data. The CRC is calculated 8 bit times Auto Enable Mode [DS] afters byte is transferred into the receive FIFO. If bit 03 Bit 05 enables and disables the auto enable mode. In is reset before this time, the byte will not be included in this mode, the CTS and OCO pins control operation of the CRC calculation. The bit must be set sgain after the the transmitter and receiver, respectively. If the input next byte is received to resume the CRC calculation. pin is high, the Tx or Rx is disabled. The RTS pin outputs the current transmitter status. The pin remains Address Search Mode Enable [D2] low during transmission and returns high only after all Valid only in BOP mode, bit 02 determines whether or characters have been sent. The auto enable mode is not the address field value of a received frame is to be enabled by setting bit 05 to one and disabled by compared with the value set in CR6. If the bit is set to = resetting bit 05 to zero. With bit 05 0, CTS, OCO, and one, Address Search is enabled and the AMPSC RTS function as normal inputs and outputs. checks the first byte of the frame. If the byte matches CR6 or the global address (FFH), the frame is received. If the byte does not match, the AMPSC enters the Hunt mode again, and the byte and the rest of the frame are blocked and not received. If Multicast mode is enabled (bit 01), only the four most significant bits (07-04) of the address byte are compared. 2-42 t\fEC pPD72001 Sync Character Load Inhibit/Multicast Tx Stop Bits/Sync Mode [03-02] Enable [01] Bits 03-02 select the number of stop bits sent after Valid only in COP or BOP mode, bit 01 has a different each byte in Asynchronous mode, or they select the meaning in each mode. In COP mode, setting bit 01 to Synchronous mode. one enables the Sync Character Load Inhibit function. Bits 03-02 Mode This prevents any byte that matches the value in CR6 from being loaded into the receive FIFO and being 00 Sync mode included in the CRC calculation. 01 Async mode, 1 stop bit 10 Async mode, 1.5 stop bits In BOP mode, bit 01 enables the Multicast function. In 11 Async mode, 2 stop bits this mode, which is a modified form of the address search mode, only the most significant four bits ofthe Parity Select [01] received address are compared with the identical bits of CR6. Frame acceptance will function in the same Valid in Asynchronous and COP modes, bit 01 selects way as in the address search mode. = = the parity type: 0 odd and 1 even. It is used only when the Parity Enable bit 00 of CR4 is set to one. Receiver Enable [~O] Parity Enable [~O] This bit enables and disables the receiver. Setting bit 00 enables the receiver, resetti ng it disables the receiver. Bit 00 enables the parity bit calculation on transmitted data and parity checking on received data. Setting bit Control Register CR4 00 enables parity; resetting bit 00 disables parity. If the length of the received character is 7 bits or less, the Clock Rate [07-06] parity bit can be read in the received data byte. If parity Bits 07 and 06 select the clock rate divisor. They are is disabled, no parity bit is transmitted and none is ignored in the internal synchronous modes. In the expected on receipt. external synchronous mode, only the x1 and x16 selections are valid. Control Register CR5 In asynchronous mode, the following values apply: OTR Control [07] Bits 07-06 Oivisor This bit controls the OTR pin status: 0 = high and 1 = low. The OTR pin function is disabled if channel B is 00 x1 01 x16 operating in the OMA mode (CR2A bits 01-00 10) = 10 x32 li'ansmit Character Bit Length [06-05] 11 x64 These bits specify the bit count per character in The divisor value is the factor by which the supplied transmitted data. data clock is g reater than the data rate for the transmitter and receiver. The data clock source is selected by the Bits 06-05 Bits/Character clock multiplexer. It can be set to any of the BRG, 00 5 or fewer OPLL, or external clock sources. The divisor determines 01 7 the number of times that the received data is sampled 10 6 per bit time by the receiver. Also, it determines the 11 8 composition of the transmitter.output. If the bit count per character is 6 or 7, only the low-order Protocol Mode [05-04] bits of the byte are valid and the most significant bit(s) are ignored. If the count is 5 bits or lower when writing Bits 05-04 select the synchronous protocol, which are into the transmit data register, refer to the data format used when synchronous mode is selected with bits that is shown.in table 5. 03-02. Bits 05-04 Mode 00 Mono-Sync, character synchronous 01 Bisync, character synchronous 11 External Sync, character synchronous 10 HOLC, bit synchronous 2-43 pPD72001 t-{EC 7IJble 5. Parallel Data Format for One to Five Bits per 02 = 0 (CRC-CCITT): The generating polynomial Character expression is X 16 + X12 + X5 + 1. Bits 07 06 05 04 03 02 01 DO 02 = 1 (CRC-16): The generating polynomial ex- 1 1 0 0 0 DO pression is X16 + X12 + X2 + 1. 2 1 0 0 0 01 DO RTS Control [01] 3 0 0 0 02 01 DO Bit 01 controls the RTS pin. Setting bit 01 to the zero 4 0 0 0 03 02 01 DO state causes RTS to be high, setting it to the one state 5 0 0 0 04 03 02 01 DO causes it to go low. If Auto Enable mode is selected in Dn = Effective data bit Asynchronous mode, RTS operates differently. If the bit remains at zero from the start of transmission Send Break/Abort [04] through to the end, RTS will stay high. If it is set to one, it remains low. If it starts set to one and is then set to Bit 04 controls the break or abort transmission zero while transmitting, RTS will not go high until all according to the selected operation mode. In asynch- data is transferred out of the Tx shift register. ronous mode, bit 04 controls sending the break signal (TxO set to spacing (0) condition). Setting bit 04to one ll'ansmit CRC Calculator Enable [~O] begins sending the break signal; resetting it to zero returns the transmitter to normal operation. Valid only in the COP or BOP mode, bit 00 determines whether or not transmitted data is included in the CRC In COP mode with Tx on Loop selected (bits 4 and 1 in calculation. If bit 00 is set when the byte is transferred CR10), setting bit 04 causes the transmitter to be into the Tx shift register, the byte is included in the Tx synchronized with the receiver. The bit is reset auto- CRC calculation. Bit 00 should be set or reset before matically when synchronization is achieved. loading a data byte into the AMPSC. In BOP mode, setting bit 04 to one causes eight 1-bits (abort sequence) to be sent. After completion of the Control Register CR6 message, bit 04 is reset automatically and the trans- Valid only in the COP or BOP mode, this byte (bits mitter returns to the idle state. 07-00) specifies the SYNC character pattern or address value. ll'ansmit Enable [03] In Monosync or External Sync mode, 07-00 holds the Disable. Setting bit 03 to the zero state disables the transmit Sync character. In Bisync mode, the low-order transmitter function. If the transmitter is currently byte of the Sync pattern is set in 07-00. sending a character, the AMPSC waits until the character is completed before setting TxO to the If the sync character is 6 bits (CR10 bit 00 = 1), bits marking (1) state. If bit 03 is reset during transmission 03-00 should be set to one. of a CRC character, a SYNC character or flag is sent in In mono or external sync bits 01 and 00 are repeated in place of the CRC character. positions 07 and 06. If 03 is reset in the COP or BOP mode, the Tx In BOP mode, this byte is the secondary address. Underrun/EOM bit (SR1 bit 06) is set. IftheAMPSC is intheSOLCLoop mode (refer to CR10) Control Register CR7 or Echo Loop Test (refer to CR14), the TxO pin is Valid only in the COP or BOP mode, these bits specify connected to RxO, and is not set to marking. the Sync character or flag. Enable. Setting bit 03 to the one state enables the In Monosync mode, 07-00 holds the receive Sync transmitter to start transmission. If the Auto Enable character. In BISYNC mode, the high-order byte of the = mode is selected (CR3 bit 05 1), the signal applied to Sync character is set in 07-00. These bits are not used the CTS pin controls the transmitter operation. in External Sync mode. CRC Polynomial [02] In BOP mode, the flag pattern (01111110) is set in bits 07-00. This bit selects the polynomial used for CRC calcu- lation. It is valid only in COP or BOP mode. Only the CCITT polynomial is used in BOP mode. Bit 7 of CR10 sets the initial value of the CRC calculator. 2-44 NEe pPD72001 Control Register CRB (2) 04 = 1. If bit 01 (Loop Enable) is also set to one, the transmitter is disabled and the receiver enters Valid only in the BOP mode, CR8 bits 07-00 hold the the Hunt Phase. When the SYNC character is low byte (bits 7-0) of the transmit data length. Register detected, character synchronization is established, pair CR8 and CR9 must be set before the Tx Oata the transmitter is enabled, and data transmission Length Counter Enable bit (01 of CR13) and Tx Enable can begin. The state of character synchronization bit (03 of CR5) are set. The transmit data length can be determined from the state of the Tx Sync/ register (TxOLR) is used to automate the sending of GA Oetect bit (SR10 bit 01). HOLC frames. See the description of CR13 for detail information. In BOP mode, bit 04 set to one enables or bit 04 set to zero disables the Tx on Loop function. It is used for Control Register CR9 data transmission during the SOLC loop operation. Valid only in the BOP mode, CR9 bits 07-00 hold the (1) 04 = O. Once the AMPSC forms a loop and starts high byte (bits 15-8) of the transmit data length. transmission, bit 04 must be reset to zero. This Register CR9 is paired with CR8. Control Register CR10 Initial CRC State [07] allows the CRC and flag to be automatically trans- mitted if a Tx Underrun/EOM occurs and allows the AMPSC to be subsequently placed in Loop mode with a 1-bit delay. Bit 04 must be reset before the CRC transmission is completed. EJ Valid only in the COP or BOP mode, bit 07 specifies the (2) 04 = 1. When the Loop Enable bit (CR10 bit 01) is initial state of the CRC calculation circuit:Setting this set to one, SOLC Loop Operation mode is selected, bit to'zero causes the CRC to be initialized to zero when in which the RxO input is connected to the TxO the Initialize CRC command (CRO bits 7-6) is performed. output within the AMPSC to form a loop. The GA Setting this bit to one causes the CRC to be set to all (Go Ahead) pattern detection is initiated. If the GA ones. pattern (11111110 = FEH) is detected, a 1-bit delay is inserted between RxO and TxO and the GA Data Format [06- 05] pattern detection is continued. At this point, the These bits specify the serial data format and enable the transmitter remains disabled. The receiver can be corresponding encoder/decoder. enabled at this point. Subsequently, if the GA pattern is detected, the transmitter is enabled. At Bits 06-05 Format this point, the GA pattern is automatically trans- 00 NRZ formed into a flag so that any data in the Tx buffer 01 NRZI may be transmitted following the flag. Once trans- 10 FM1 mission is started, bit 04 must be reset before the 11 FMO end of the frame. With NRZ format, it is possible to decode Manchester Idle Condition [03] encoded data by setting the OPLL mode to FM (CR14 bits 07-05 = 110). Valid only in BOP mode, bit 03 determines the type of information to be transmitted following a closing flag Auto Tx on Sync/Tx on Loop [04] or completion of the Send Abort. If bit 03 is zero, flags will be sent; if it is a one, continuous marks (ones) will Bit 04 is valid only in the COP or BOP mode. In COP be sent. mode, it synchronizes the receiver with the transmitter. In BOP mode, it controls SOLC loop operation. The bit li"ansmit Condition on Underrun [02] is valid only when the Loop Enable state (CR10 bit 01 = 1) is selected. Valid only in the BOP mode, bit 02 determines trans- mitter action when a Tx Underrun condition occurs. If In COP mode, bit 04 provides the Auto Tx on Sync bit 02 is reset, Tx Underrun/EOM generates either the function to synchronize receiver and transmitter CRC followed by a flag or just a flag depending on the operation. state of the Tx Underrun bit (SR1 bit 06) and the CRC (1) 04 = O. The Auto Tx on Sync function (CR10 bit enable bit (CR5 bit 00). If the CRC is disabled ortheTx 01 = 1) is disabled. Once synchronization is underrun bit is a one, only flags are sent. Otherwise, established after this bit is set to 1, resetting the bit the CRC is sent followed by flags. If bit 02 is set, the to 0 does not affect synchronization. abort message is sent followed by flags. 2-45 pPD72001 ~EC Auto Tx/Loop Enable [01] All Sent Interrupt Enable [02] Valid only in the COP or BOP mode, bit 01 enables the Valid only in the Asynchronous or BOP mode, bit 02 two types of loop operations that are set with bit 04. enables interrupts generated by the All-Sent condition. This bit shou Id be set before the transmitter or receiver is enabled. Idle Detect Interrupt Enable [01] Valid only in the BOP mode, bit 01 enables interrupts SYNC Character Length [~O] caused by a change in the Idle Oetection condition. Valid only in the COP mode, bit 00 determines the number of bits per SYNC character. Setting bit 00 to BRG Interrupt Enable [~O] zero gives a character length of 8 bits inMono-sync Bit 00 enables interrupts caused by one of the baud and 16 bits in Bisync. With bit 00 = 1, the character rate generator/timers (BRG) counting down from one lengths are 6 and 12 bits, respectively. to zero. Also, each of the BRGs must be enabled in CR12 bits 03-02. Control Register CR11 Each bit of CR11 controls an E/S interrupt request Control Register CR12 g.enerated by the AMPSC. An interrupt is set if the E/S BRG Select for TRxC [07] interrupts are enabled (CR1 bit 00 = 1). Forthe causes of interrupts assigned to each, refer to the description When BRG is selected as the source of the clock at the of SR1. Setting each bit to one enables it as a source of TRxC pin (CR15 bits 01-00 = 10), and the TRxC pin is interrupts. . set to output (CR15 bit 02 = 1), bit 07 selects TxBRG (one state) or RxBRG (zero state). Break/Abort/Go Ahead Interrupt Enable [07] BRG Select for OPLL [06] In Asynchronous and COP modes, bit 07 enables interrupts at the beginning and end of each detected Bit 06 selects the source (TxBRG or RxBRG) for the break condition (a null character plus a framing error). OPLL. It is valid when the BRG is selected as the source for the OPLL circuit (CR14 bits 07-05 = 100). Setting In BOP mode, when not in SOLC loop, bit 07 enables bit 06 to one selects TxBRG and setting it to zero interrupts at the beginning and end of each received selects RxBRG. abort condition (seven or more consecutive 1-bits). In SOLC loop mode, bit 07 also enables interrupts for l)'ansmit BRG Interrupt Enable [03] = detecting the GA pattern (11111110 FEH). Bit 03 enables an E/S interrupt when the TxBRG l)'ansmitter Underrun/End of Message Interrupt counts down from 1 to O. It is valid only when the BRG Enable [06] IE bit is set (CR11 bit 00 = 1). Valid only in the COP or BOP mode, bit 06 enables interrupts caused by transmitter underrun and Tx End Receive BRGlnterrupt Enable [02] of Message detection. Bit 02 enables an E/S interrupt when the RxBRG counts down from 1 to O. It is valid only when the BRG Clear to Send Interrupt Enable [05] IE bit is set (CR11 bit 00 = 1). Bit 05 enables interrupts caused by a change of state l)'ansmit BRG Register Set [01] on the CTS pin. Bit 01 is used to write the time constant value into the SYNC/Hunt Interrupt Enable [04] TxBRG register. When 01 is set to one, the next two bytes written to the AMPSC are assumed to be the time Bit 04 enables interrupts caused by a change in the constant val.ue. The lower byte is written in the first SYNC/Hunt state. write cycle and the upper byte in the second write cycle. Bit 01 is automatically reset after the register is Data Carrier Detect Interrupt Enable [03] loaded. Bit 03 enables interrupts caused by a change of state The ti,me constant value is calculated by using the on the OCO pin. follovying formula, . Source clock frequency (Hz) Time constant = - 2 2 x (Oata clock rate (BPS)) 2-46 tt¥EC pPD72001 The data clock rate is the transmitted or received data this mode, the system clock (ClK) and the data clocks rate multiplied by the clock factor specified in CR4 bits are not circulated within the AMPSC. 07-06.For example, if the system clock is selected as The AMPSC enters the Standby mode automatically the BRG source (CR14 bit D2 =1) at S MHz and the after RESET. Writing OOH to CRO restores normal BRG is the transmitter source (CR15 bits D4-D3 = 10) operation. Table 6 lists the status of the pins in standby with a clock factor of x16 (CR4 bits D7~D6 = 01) and mode. data rate of 9600 bits per second, the calculation would be as follows. During Standby mode, the WR and RD pins must be held high and the CTS, DCD, and SYNC pins can not be S x 106 _ 2 = 24.04 = 001S (hex) toggled. Read cycles that are conducted will not result 2 x (9600 x 16) in data being driven onto the bus. The loading sequence in hexadecimal for the TxBRG would be; OC, 02, 1S, and 00. Table 6. Pin Status In Standby Mode Pin Symbol Input/Output Pin SlBtua If data is being written while the BRG is running, the value will not be loaded into the BRG until it counts WR Input Unchanged down to zero. RD Input Unchanged B/A Input Unchanged Receive BRG Register Set [DO) C/D Input Unchanged' Bit DO is used to write the count value into the RxBRG Iq- Do Input/Output High impedance register. It operates in the same manner as bit D1 for the INT Output Retains the current state TxBRG register. INTAK Input Unchanged Control Register CR 13 PRI Input Unchanged ll"ansmlt Data Length Counter Enable (01) PRO Output Depends on PRI DRQTxA Output Retains the current state Bit 01 enables the transmit data length counter (TxDlC) that is used to determine the end of a trans- DRQRxA Output Retains the current state mitted frame and is only valid in BOP mode. When bit DTRA/DRQTxB Output Retains the current state 01 is set to one, the TxDlC (SRS-SR9) is incremented DTRB/DRQRxB Output Retains the current state each time a Tx interrupt or DMA request is generated, TxDA.TxDB Output Retains the current state and the value is compared with the value in the transmit length register (TxlR) (CRS-CR9). If the two values are RxDA, RxDB Input Unchanged equal, Tx interrupts/DMA requests are masked. TRxCA, TRxCB Input/Output High impedance The subsequent Tx buffer empty interrupt is masked STRxCA. XI1A Input Unchanged and no interrupt or DMA request is made. This results STRxCB. XI1B Input Unchanged in a transmitter underrun. The AMPSC then sends the XI2A/SYNCA Input/Output High impedance CRC and a closing flag. After this the AMPSC issues an XI2B/SYNCB Input/Output High impedance external status interrupt with the All Sent bit setlf the transmitter underruns and the transmit length values RTSA,RTSB Output Retains the current state do not match, then the MPSC sends an abort and sets CTSA,CTSB Input Unchanged the Sending Abort bit (SRO bit D1). An E/S interrupt for DCDA.DCDB , Input Unchanged. the All Sent is generated. The TxlC value (SRS-SR9) can also be compared with the frame length to determine if correct transmission occurred. After the Control Register CR14 abort is sent, the TxDlC enable bit must be set to one DPLL Command [07-05) again in order to generate new Tx interrupts/DMA requests. These bits control the digital phase-locked loop (DPLL). After reset, the DPLL is disabled, the STRxC Standby Mode Set [DO) pin is selected as the source clock, and the NRZ1 mode is selected. The DPll commands corresponding to the Setting bit DO to one places the AMPSC in the Standby eight states of bits D7-D5 are described below. ' mode. This mode consumes very little power but saves all internal register values. Greater power reduction is No Operation [000]. This command causes no opera- possible by not toggling any of the AMPSC inputs. In tion. 2-47 pPD72001 Enter Search [001]. This command causes the OPLL 1i'ansmlt BRG Enable [00] to start the detection of edges in received data. Circuit Setting bit 00 to one starts the TxBRG, which takes two operation depends on the data format. clocks to begin operating. " Reset Missing Clock [010]. Valid when FM mode is selected, this command resets the Missing Clock bits Control Register CR15 (SR10 bits 07-06). Crystal Select [071 Disable [011]. This command stops OPLL operation If bit 07 is set to one, the on-chip crystal oscillator is and resets the Missing Clock bits. enabled and a crystal can be connected across pins XI1 Source BRG Select [100]. This command selects one and X12. If bit 07 is zero, the oscillator is disabled and BRG as the clock sOurce forthe OPLL. Selection of the pins become SYNC and STRxC. TxBRG or RxBRG is determined by CR12 bit 06 (BRG Receive Clock Select [06-P5] Select for OPLL). These bits select the source for the receive data clock. Source Xtal/STRxC Select [101]. This command is used when the crystal-controlled oscillator or a clock Bits 06-05 Receive Clock Source applied to the STRxC pin is to be the source clock for 00 Clock applied to STRxC pin the OPLL. Selection between the crystal OSC and the 01 Clock applied to TRxCpin (CR15 STRxC input is specified by CR15 bit 07 (Xtal Select). bits 02-00 are in'valid) . . FM Mode [110]. This command is used when received RxBRG output data is to .betreated as FM format. Setting the data OPLL output format to NRZ (CR10 bits 06-05 = 00) allows the IlP072001 to decode Manchester encoded data. Transmit Clock Select [04-03] NRZI Mode [111]. This command is used when re- These bits select the source for the transmit data clock. ceived serial data is to be treated as NRZI format. Bits 04-03 Transmit Clock Source Local Self Test [04] 00 Clock applied to STRxC pin 01 .Clock applied to TRxC pin (GR15 When bit 04 is set to one, the 'transmitter' output is bits 02-00 are invalid.) directly connected to the input of the receiver within 10 TxBRG output the AMPSC. Signals applied to the RxO pin. will be 11 OPLL output ignored. In this mode, Autoenable cannot be used to control the transmitter or receiver. TRxC Input/Output [02] 'Echo Loop Test [03] Bit 02 determines whether the TRxC pin will be an input oran output. It is an input if bit 02 =0 or if the pin When bit D3 is set to one, the RxO input pin is is specified as an input bybits 06-05 or 04-03. connected to theTxO outputp.in in the AMPSC, so that the received data is. echoed back to the remote sender TRxC Source.Select [01-00] forUnetesting. The AMPSC transmitter is disabled. When the TRxC pin is selected as an output, these bits BRG Source Select [02] determine the output source. Refer to the preceding descriptions for 06-05, 04-03, and 02 to determine Bit .02 selects the source clock for the BRGs. The when the TRxCpin is an output. selected source clock is shared by the TxBRG and the RxBRG. If 02 is set to one, the system clock is used as Bits 01-00 Output at Pin i'RXC the source clock. If 02 is set to zero, the source clock 00 On-chip crystal oscillator. can either be the crystal oscillato((CR15 bit 07 = 1) or . (if enabled) the STRxCinput (CR15 bit 07!= 0). 01 Transmit data clock 10 TxBRG or RxBRG as selected by ReceiveBRG Enable [01] CR12 bit 07 .( , . ' , ' 11 OPLL output Setting bit 01to one starts the RxBRG, which takes two clocks to begin operating. NEe pPD72001 Status Register SRO Short Frame Detect [D3] End of Frame [D7] Valid only in the BOP mode when Short Frame Detect Valid only in the BOP mode, bit 07 indicates if reception = Enable is selected (CR1 bit 07 1), bit 03 is set when a short frame is received and is reset by the Error Reset of a single frame is complete. When this bit is one, a command. A short frame has less than 32 bits between complete frame has been received and the CRC Error two flags. bit (SRO bit 06) and Residue Code (SR3 bits 02-00) are valid. The EOF condition causes a Special Rx Condition Detection of a short frame causes a Special Rx interrupt. The Error Reset command resets this bit. Condition interrupt. CRC/Framing Error [DS] Transmit Buffer Empty [D2] In the asynchronous mode, bit 06 indicates a framing A one in bit 02 indicates that the Tx buffer is empty and error. It is set to one if a zero is detected at the stop bit can be loaded with the next Tx byte. Bit 02 is zero when position. It generates a Special Rx Condition interrupt. the Tx buffer contains a byte that has not been Bit 06 is reset by an Error Reset command or reception transferred to the Tx shift register. Bit 02 is also zero in of a normal data byte. the COP or BOP mode during CRC transmission. In the COP or BOP mode, bit 06 set to one indicates a Sending Abort [D1] CRC error. Bit 06 set to zero indicates no CRC error. Valid only in the BOP mode, a one in bit 01 indicates In the COP mode, bit 06 is valid 20 bit times subsequent that the AMPSC is sending an abort sequence. to the last bit of the second CRC byte that is input at the RxO pin, or 16 bit times after the second CRC byte is Bit 01 is reset by the Error Reset command. Status transferred to the Rx buffer. changes in bit 01 do not cause an interrupt. In the BOP mode, bit 06 is valid when the End-of- Receive Data Available [DO] Frame bit (SRO bit 07) is set to one. A one in bit DO indicates the presence of valid received A CRC error does not generate a Special Rx Condition data in the Rx buffer of the AMPSC. interrupt. Status Register SR1 Receive Overrun Error [D5] This register consists of external status bits that A one in bit 05 indicates an Rx Overrun error. This error indicate the causes of E/S interrupts. If the E/S INT is occurs each time the AMPSC attempts to transfer an additional byte from the Rx shift registerto the Rx FIFO enabled (CR1 bit DO = 1) and an interrupt by an specific E/S bit is enabled, the changes in the pertinent and the FIFO is already full. E/S bit states are latched and cause an E/S interrupt. If An Rx Overrun error causes a Special Rx Condition the E/S interrupt is disabled, changes in the E/S bit interrupt. The timing of the Rx Overrun Error and the status will not be latched. resulting Special Rx Condition interrupt will differ depending on the setting of the Overrun Error INT bit Break/Abort/Go Ahead Detect [D7] (CR1 bit 06). For more details, refer to the description Bit 07 is valid only in the Asynchronous or BOP mode. of control register CR1. In the Asynchronous mode, a one in bit 07 indicates The Rx Overrun Error bit is reset by the Error Reset that a Break (character in which the start, stop, and command. data bits are all zeros) has occurred. Data received during the Break (all zeros) are not loaded into the Rx Parity Error [D4] FIFO. Valid only in the Asynchronous or COP mode when In the BOP mode, bit 07 indicates the reception of an parity is enabled (CR4 bit DO = 1). A one in bit 04 abort (seven or more consecutive ones). In SOLC Loop indicates that a parity error occurred in a received byte. mode, bit 07 indicates reception of the Go Ahead The Parity Error bit is reset by the Error Reset command. message (11111110 = FEH). In the All Receive INT-1 mode (CR1 bits 04-03 = 10), a parity error causes a Special Rx Condition interrupt. 2-49 pPD72001 Thansmit Underrun/End of Message [06] Idle Detect [01] Valid only in the COP or BOP mode, a one in bit 06 Bit 01 set to one indicates detection of the Idle state (15 indicates that all transmit data has been transferred or more consecutive 1's) in BOP mode. The one to zero to the Tx shift register. CRC transmission, when the state transition ofthis bit does not generate an interrupt. transmitter underruns, can be controlled by mani- pulating this bit. BRG Zero Count [~O] If CRC transmission is desired when the transmitter Bit DO set to one indicates that one of the BRG's has underruns, bit 06 must be resettozero by the ResetTx counted down to zero. Bits 04~03 of SR3 determine Underrun/EOM command bit (CRO bits 07-06 11). = which BRG counted out. The one to zero state transition Before this command is issued, the transmitter must be of this bit does not generate an interrupt. enabled and at least one byte must have been trans- ferred to the Tx buffer. Status Register SR2B In the BOP mode, bit 06 is automatically reset to zero This register indicates the value ofthe interrupt vector. when the first byte is transferred after transmission is It can only be read from the B channel. The value enabled. A status change from one to zero in this bit depends on the state of CR2A bit 06 (Status Affects does not cause an E/S interrupt. Vector bit). If bit 06 is zero, SR2B will always equal CR2B. If bit 06 is one, the value of SR2B is modified by Clear To Send [05] the cause of the highest priority interrupt source within Bit 05 indicates the inverted state of the CTS pin. Any the pP072001. change causes an interrupt. The bits of SR2B that are affected depend on the Output Vector Type setting. Bits V4-V2 are affected for Sync/Hunt [04] Type A vectors, and bits V2-VO for Type B vectors. All In the Asynchronous or external sync COP mode, bit other bits remain unchanged. Table 7 gives the value 04 indicates the inverted state of the SYNC pin. returned for the various types of interrupts. In the internal sync COP or BOP mode, bit 04 indicates 7able 7. Vector Values In SR2B the AMPSC synchronization state. A zero in bit 04 V4. V2 V3. VI V2. VO Channel Condition indicates that synchronization is established. A one indicates that the AMPSC is in the Hunt Phase or that 0 0 0 B Tx buffer empty 0 0 1 External/status the receiver is disabled. 0 1 0 Rx data available Any change in state generates an interrupt. 0 1 1 Special Rx condition 1 0 0 A Tx buffer empty Data Carrier Detect [03] 1 0 1 External/status 1 1 0 Rx data available Bit 03 indicates the inverted state of the OCO pin. Any 1 1 1 SpeCial Rx condition change generates an interrupt. . When interrupts are available in the non-vectored All Sent [02] mode (CR2A bit 07 = 0), SR2B is read in order to indicate to the pP072001 that interrupt service has Valid only in the Asynchronous or BOP mode. Bit 02 started. This clears the interrupt request (INT) and set to one indicates that all the transmit data within the prevents lower priority interrupts from being generated AMPSC has left the Tx shift register. The one to zero until the End of Interrupt command (CRO) is issued. state transition of this bit does not generate an interrupt. 2-50 t-fEC pPD72001 Status Register SR3 Table 8. Residue Codes TxBRG Zero Count [04] Previous Character 2nd Previous Character 02 01 DO MSB LSB MSB LSB Bit 04 is valid when TxBRG is enabled (CR14 bit DO = 8 Bits per Character 1). A one in bit DO indicates that the TxBRG counted down to zero. This bit in conjunction with the SR1 bit 0 0 0 C C C C C C C C C C C C C C 0 0 0 0 1 C C C C C C C C C C 0 0 0 0 0 0 ~O, causes an external/status interrupt and is latched 0 1 0 C C C C C C C C C C C C 0 0 0 0 on a transition from zero to one. The transition from 0 1 I" C C C C C C C C 0 0 0 0 0 0 0 0 one to zero does not cause an interrupt. 1 0 0 C C C C C C C C C C C C C 0 0 0 1 0 1 C C C C C C C C C 0 0 0 0 0 0 0 RxBRG Zero Count [03] 1 1 0 C C C C C C C C C C C 0 0 0 0 0 1 1 1 C C C C C C C 0 0 0 0 0 0 0 0 0 Bit 03 is valid when RxBRG is enabled (CR14 bit 01 = 7 Bits per Character 1). A one in bit 03 indicates that the RxBRG counted 0 0 0 X C C C C C C 0 X 0 0 0 0 0 0 0 down to zero. This bit functions in the same manner as bit 04. Residue Code [02-00] Valid only in the BOP mode, bits 02-00 indicate the 0 0 0 1 1 1 0 1 1 0 0 1 1 0 I" 0 1 0 X C C C C C C C X C C C C C C C X C C C C C C C X C C C C C C C X C C C C C C C X C C C C C C C X C C 0 0 0 0 X C C C C 0 0 X 0 0 0 0 0 0 X C C C C C 0 X C 0 0 0 0 0 X C C C 0 0 0 0 0 0 0 0 0 fI number of valid bits in the last data byte received in a 6 Bits per Character frame. The meaning of these bits depends on the 0 0 0" X X C C C C C C X X 0 0 0 0 0 0 number of bits per data byte. The previous character 0 0 1 X X C C C C C C X X C C 0 0 0 0 refers to the last character read before the end of 0 1 0 X X C C C C C C X X C C C C 0 0 frame, and so on. See Table 8. Figure 6 is an example of 1 0 0 X X C C C C C C X X C C C C C 0 a residue code of 000 and a character length of 8 bits. It 1 0 1 X X C C C C C C X X C 0 0 0 0 0 indicates that bits zero and one in the last byte are 1 1 0 X X C C C C C C X X C C C 0 0 0 valid. 5 Bits per Character 0 0 0 X X X C C C C C X X X C 0 0 0 0 Figure 6. Example of ValidSifs in fhe I-Field (Residue 0 0 1 X X X C C C C C X X X C C 0 0 0 Code = 000) 0 1 0 X X X C C C C C X X X C C C C 0 1 0 0" X X X C C C C C X X X C C C C C MSB LSB 1 1 0 X X X C C C C C X X X C C C 0 0 pr.Ji~i~~117 Byte 1161151141131121 11 110 II.Field C=CRC bit D = Valid data X= Invalid P~:~:y~: I C1 0lC1 1 IC121C131C1 4IC1;!liJ ~~i~~d * = No residue (boundary of the last received data matches the boundary between one byte and the CRC). prev~:t~1 cal C9IC10Ic"IC12IC13IC14IC15IcRc.Field F~~~! I Co I C1 I C21 C31 C41 C51 C61 C71 Third Second , Previous , , Byte ' Previous I Byte , Previous Byte I I Final Byte , )1 10··· .17 10· ••• 17 110 : 11 ICRC 1I CRC 1 CRC 2 I) Bytes received from the left 49M-000154 2-51 pPD72001 NEe Status Register SR4A Two Clocks Missing [06] Each bit of this register indicates whether or not a Bit 06 indicates that two consecutive transitions in the corresponding cause of interrupt exists within the received data were missed. AMPSC. A bit is set to one when its matching interrupt is being serviced or if a lower-priority interrupt is Sending on Loop [04] pending during the servicing of a higher-priority in- terrupt. Otherwise, it is zero,. Although this register can Bit 04 set to the one state indicates that the AMPSC is be read only on channel A, its function is shared by in the SOLC loop connection and is transmitting. It i,s both channels. valid only in the BOP mode when the SOLC Loop is Bit Chan Oescription selected (CR10 bits 04, 01 = 1,1). -- --- 07 A Special Rx condition; INT pending Tx Sync/On Loop [01] 06 B Special Rx condition; INT pending 05 A Rx INT pending Bit 01 is valid only in the COP or BOP mode. In the 04 A Tx INT pending COP mode, a one in bit 01 indicates that the transmitter 03 A E/S INT pending and receiver are synchronized (SYNC character 02 B Rx INT pending detection on the receiver has been completed) after 01 B Tx INT pending both the Auto Tx on Sync and the"bit 04 Enable bits 00 B E/S INT pending (CR10 bits 04,01) were reset, and transmission is enabled for the device. Status Register SR8 In the BOP mode, a one in bit 01 indicates that a GA Valid only in the BOP mode, bits 07-00 of SR8 are the pattern was detected and a 1-bit delay was inserted low order byte of the Tx Oata Length counter. Register between the RxO input and the TxO output. Bit 01 SR8 is normally used to determine ifframe transmission remains a one during the time that the SOLC loop is completed correctly. If the value of CR8/CR9 does not formed. When 01 is zero, the TxD and RxO lines are equal the value of SR8/SR9 when the transmitter connected without the delay in loop mode. Bit 01 is underruns, the AMPSC automatically transmits an also zero when the AMPSC is not in the loop mode. Abort. Registers SR8 and SR9 are cleared by a reset or when the TxOLC enable bit (CR13 bit 08) is set to one. Status Register SR 11 . This register directly indicates the value set in CR11 for Status Register SR9 interrupt enables. The host processor can use SR11 to Valid only in the BOP mode, bits 07-00 of SR9 are the read the interrupt enable states for the variousjnterrupt high order byte of the Tx Oata Length counter. Registers sources within the AMPSC. SR8 and SR9 are used in conjunction with each other. Status Register SR12 Status Register SR10 This register indicates the lower 8 bits (bits 7-0) of the One Clock Missing [07] value set in the Rx BRG. This bit indicates if a transition has been detected in Status Register SR13 the received data. It is valid when the FM data format is selected and the OPLL is in operation. With FM data This register indicates the upper8 bits (bits 15-8) of the format, a transition (riSing orfalling) must occur within value set in the Rx BRG. one bit time at a bit boundary or center. The OPLL uses this transition as a reference for clock generation. Status Register SR14 If no transitions occur, the OPLL clock generation may This register indicates the lower 8 bits (bits 7-0) of the not operate properly. The OPLL detects transitions value set in the Tx BRG. every 2 bits. Status Register SR15 A one in bit 07 indicates no transition was detected in the received data. This bit is latched, and is reset by the This register indicates the upper 8 bits (bits 15-8) of the Reset Missing Clock command (CR14 bits 07-05 = value set in the Tx BRG. 010) or the Enter Search command (CR14 bits 07-05 = 001). 2-52 GRAPHICS CONTROLLERS II 3-1 Graphics Controllers NEe Section 3 Graphics Controllers ,d'0722OA 3-3 High-Performance Graphics Display Controller ,d'072020 3-31 CMOS Graphics Display Controller ,d'072022 3-57 Intelligent Display Processor "P072120 M7 Advanced Graphics Display Controller "P072123 3-153 Advanced Graphics Display Controller II 3-2 t-IEC JlPD7220A High·Performance NEG Electronics Inc. Graphics Display Controller Description Features The pPD7220A high-performance graphics display o Microprocessor interface controller (HGDC) is an intelligent microprocessor - DMA transfers with 8257- or 8237-type peripheral designed to be the heart of a high-perfor- controllers mance raster scan computer graphics and character - FIFO command buffering display system. Positioned between the video display o Display memory interface memory and the microprocessor bus, the HGDC - Up to 256K words of 16-bits performs the tasks needed to generate the raster - Read-modify-write (RMW) display memory display and manage the display memory. Processor cycles as fast as 500 ns software overhead is minimized by the HGDC's sophis- - Dynamic RAM refresh cycles for nonaccessed ticated instruction set, graphics figure drawing, and memory DMA transfer capabilities. The display memory sup- o Light pen input ported by the HGDC can be configured in any number o Drawing hold input of formats and sizes up to 256K 16-bit words. The o External video synchronization mode display can be zoomed and panned, while partitioned o Graphic mode screen areas can be independently scrolled. With its - Four megabit, bit-mapped display memory light pen input and multiple controller capability, the o Character mode HGDC is ideal for advanced computer graphics - 8K character code and attributes display applications. memory For a more detailed description of the HGDC's o Mixed graphics and character mode - 64K if all characters operation, please refer to the 722017220A design - 1 megapixel if all graphics manuals. o Graphics capabilities - Figure drawing of lines, arc/circles, rectangles, System Considerations and graphics characters in 500 ns per pixel The HGDC is designed to work with a general purpose - Display 1024-by-1024 pixels with 4 planes of microprocessor to implement a high-performance color or grayscale computer graphics system. Through the division of - Two independently scrollable areas labor established by the HGDC's design, each of the o Character capabilities system components is used to the maximum extent - Auto cursor advanced through a six-level hierarchy of simultaneous tasks. At - Four independently scrollable areas the lowest level, the HGDC generates the basic video - Programmable cursor height raster timing, including sync and blanking signals. - Characters per row: up to 256 Partitioning areas on the screen and zooming are also - Character rows per screen: up to 100 accomplished at this level. At the next level, video o Video display format display memory is modified during the figure drawing - Zoom magnification factors of 1 to 16 operations and data moves. Third, display memory - Panning addresses are calculated pixel by pixel as drawing - Command-settable video raster parameters progresses. Outside the HGDC at the next level, o NMOS technology preliminary calculations are done to prepare drawing o Single +5 V power supply parameters. At the fifth level, the picture must be o DMA capability represented as a list of graphics figures drawable by _. Bytes or word transfers the HGDC. Finally, this representation must be - 4 clock periods per byte transferred manipulated, stored, and communicated. By handling o On-chip pull-up resistor for VSYNC/EXT, HSYNC the first three levels, the HGDC takes care of the high- and DACK, and a pull-down resistor for LPEN/DH speed and repetitive tasks required to implement a graphics system. NECEL-000063 3-3 pPD7220A ~EC Ordering Information Pin Identification Pan Package Max Frequency Pin Number Type 01 OperlUon No. Symbol Funellon pPD7220AD 4O-pin ceramic DIP 6MHz 1 2xWCLK Clock input pPD7220AD-1 4O-pin ceramic DIP 7 MHz 2 DBIN Display memory read input flag pPD7220AD-2 4O-pin ceramic DIP 8MHz 3 HSYNC Horizontal video sync output 4 V/EXT SYNC Vertical video sync output or external Pin Configuration VSYNC input 5 BLANK CRT blanking output 2xWCLK 6 ALE Address latch enable output DBIN 7 DRO DMA request output HSYNe V/EXTSYNC 8 DACK DMA acknowledge input BLANK 9 RD Read strobe input for microprocessor ALE interface DRQ DACK 10 WR Write stobe input for microprocessor interface iii'i WR 11 Ao Address select input for microprocessor AD, interface DB, AD, 12-19 DBo-DB7 Bidirectional data bus to host micro- DB, AD, processor DB, AD, DB, AD, 20 GND Ground DB, AD, Light pen detect input drawing hold 21 LPEN/DH DB, AD, input DB, AD, 22-34 ADo-AD12 Address data lines to ~isplay memory 35-37 AD13-AD15 Utilization varies with mode of operation 38 A16 Utilization varies with mode of operation Character Mode Pin Utilization 39 A17 Utilization varies with mode of Pin operation No. Symbol Function 40 Vee +5 V ±10% power supply 35-37 AD13-AD15 Line counter bits 0 to 2 outputs 38 AD16 Line counter bit 3 output Graphics Mode Pin Utilization 39 AD17 Cursor output and line counter bit 4 Pin No. Symbol Funelion Mixed Mode Pin Utilization Address and data bits 13 to 15 Pin Address bit 16 output No. Symbol Funellon Address bit 17 output 35-37 AD13-AD15 Address and data bits 13 to 15 38 A16 Attribute blink and clear line counter output 39 A17 Cursor and bit-map area flag output 3-4 t-{EC pPD7220A Pin Functions RD [Read Strobe] 2xWCLK [Clock Input] The host CPU clears the RD input to 0 when reading the internal status and FIFO registers. 2xWCLK is the clock input. WR [Write Strobe] DBIN [Data Bus Input Enable] The host CPU clears WR to 0 when writing to the The DBIN output indicates the time the AGDC will internal command and parameter registers. accept data read from display RAM during read- modify-write (RMW) cycles. DBO-DB7 [Data Bus] HSYNC [Horizontal Sync] DBo-DB7, the 8-bit, three-state bidirectional data bus transfers data to and from the host CPU via the system The HSYNC output indicates the time the CRT's beam bus. is to start its retrace back to the left side of the screen. LPEN/DH [LightPen/Drawing Hold] V/EXT SYNC [Vertical SYNC Output/External Sync Input] The LPEN/DH input can be programmed as either a light pen input or drawing hold input. The drawing hold The AGDC can be programmed to output a vertical input halts all read-modify-write operations. sync signal at the start of the return of the CRT's beam from the lower right of the screen to the upper left ADO-AD17 [Address and Data Lines] during vertical retrace. The AGDC may also be programmed to accept an external sync input when ADo-AD17 are address and data lines to display used in slave mode. memory. AD13-AD17 functions vary with the mode of operation of the ADGC. ThepPD722017220A Graphics BLANK [Blank] Display Controller User's Manual describes these functions and modes of operation. BLANK is output during inactive display times (hori- zontal and vertical retrace) of the CRT and during a Vee [Power Supply] read-modify-write memory cycle when in flash mode. Vee is the +5 V power supply input. ALE [Address Latch Enable] GND [Ground] The falling edge of ALE indicates the first clock cycle of a display memory cycle and the availability of the GND is ground potential. memory address on pins ADo-AD17. ALE and external logic can generate display memory control signals. Block Diagram HSVNC DREQ AO [Address Bit 0] V/EXTSYNC BLANK Ao is the address select input for the microprocessor DB-Oto7 8 interface. ALE il8ijij A1 [Address Bit 1] The A1 input selects registers when reading or writing to the AGDC. DACK [DMA Acknowledge] DACK is the DMA acknowledge input handshake line A-17 that directly interfaces to the pPD8257 or pPD8237 A-,. AD·15 DMA controller. Ao-14 Parameter Ao-13 RAM 16 x 8 DRQ [DMA Request] DRO is the DMA request output handshake line that +5Vo-- directly interfaces to the pPD8257 or pPD8237 DMA GNOo---- LPEN controller. 2xWCLK<:r- 3-5 pPD7220A ftiEC HGDC Components Parameter RAM The 16-byte RAM stores parameters that are used Microprocessor Bus Interface repetitively during the display and drawing processes. Control of the HGDC by the system microprocessor is In character mode, this RAM holds four sets of achieved through an 8-bit bidirectional interface. The partitioned display area parameters; in graphics mode, status register is readable at any time. Access to the the drawing pattern and graphics character take the FIFO buffer is coordinated through flags in the status place of two of the sets of parameters. register and operates independently of the various internal HGDC operations, due to the separate data Video Sync Generator bus connecting the interface and the FIFO buffer. Based on the clock input, the sync logic generates the raster timing signals for almost interlaced, non- Applications interlaced, or "repeat field" interlaced video format. NEC Electronics Inc. recently learned that applica- The generator is programmed during the idle period ion of the pPD7220 or pPD7220A Graphics Display following a reset. In video sync slave mode, it Controller in conjunction with other non-NEC coordinates timing between multiple HGDCs. Electronics Inc. equipment to achieve panning and zooming capabilities may infringe U.S. Patents Memory Timing Generator 4,197,590 and RE 31,200 held by CADTRAK CORP- The memory timing circuitry provides two memory ORATION of Sunnyvale, Ca. Neither the pPD7220 nor cycle types: a two-clock period refresh cycle and the the pPD7220A Graphics Display Controllers by them- read-modify-write (RMW) cycle, which takes four clock selves infringe CADTRAK's patents. CUSTOMERS OF periods. The memory control signals needed to drive NEC ELECTRONICS INC. ARE HEREBY GIVEN the display memory devices are easily generated from NOTICE OF THE EXISTENCE OF THE CADTRAK the HGDC's ALE and DBIN outputs. PATENTS. USER'S ARE RESPONSIBLE FOR IN- SURING THAT THEIR SYSTEM DESIGN, MANU- Zoom & Pan Controller FACTURE AND RESULTING PRODUCT DO NOT VIOLATE ANY APPLICABLE PATENTS. Based on the programmable zoom display factor and the display area entries in the parameter RAM, the Command Processor zoom and pan controller determines when to advance to the next memory address for display refresh and The contents of the FIFO are interpreted by the when to go on to the next display area. A horizontal command processor. The command bytes are decoded, zoom is produced by slowing down the display refresh and the succeeding parameters are distributed to their rate while maintaining the video sync rates. Vertical proper destinations within the HGDC. The command zoom is accomplished by repeatedly accessing each processor yields to the bus interface when both access line a number of times equal to the horizontal repeat. the FIFO simultaneously. Once the line count for a display area is exhausted, the controller accesses the starting address and line count DMA Control of the next display area from the parameter RAM. The The DMA control circuitry in the HGDC coordinates system microprocessor, by modifying a display area transfers overthe microprocessor interface when using starting address, can pan in any direction, in- an external DMA controller. The DMARequest and dependently of the other display areas. Acknowledge handshake lines directly interface with a pPD8257 or pPD8237 DMA controller, so that display Drawing Controller data can be moved between the microprocessor The drawing processor contains the logic necessary to memory and the display memory. calculate the addresses and positions of the pixels of the various graphics figures. Given a starting point and the appropriate drawing parameters, the drawing controller needs no further assistance to complete the figure drawing. 3-6 NEe pPD7220A Display Memory Controller HCDC Commands Summary The display memory contoller's tasks are numerous. Video Control Commands Its primary purpose is to multiplex the address and 1. RESET1 Resets the GDC to its idle state. data information in and out of the display memory. It Resychronizes video timing. Blanks also contains the 16-bit logic unit used to modify the the display. display memory contents during RMW cycles, the character mode line counter, and the refresh counter 2. RESET2 Resets the HGDC to its idle state. for dynamic RAMs. The memory controller apportions Does not resynchronize video the video field time between the various types of timing. Blanks the display. cycles. 3. RESET3 Resets the HGDC to its idle state. Does not resynchronize video Light Pen Deglitcher/Drawing Hold timing. Does not blank the display. 4. SYNC Specifies the video display format. Only if two rising edges on the light pen input occur at the same point during successive video fields are the 5. VSYNC Selects master or slave video pulses accepted as a valid light pen detection. A status synchronization mode. bit indicates to the system microprocessor that the 6. CCHAR Specifies the cursor and character light pen register contains a valid address. If this input row heights. is held high for a period greater than four 2xWCLK cycles, drawing execution is halted when bit 7 of P5 of Display Control Commands the SYNC command is set. 1. START Ends idle mode and unblanks the display. Programmer's View of HGDC 2. BLANK1 Controls the blanking and The HGDC occupies two addresses on the system unblanking of the display, along microprocessor bus through which the HGDC's status with video resynchronization. register and FIFO are accessed. Commands and 3. BLANK2 Controls the blanking and parameters are written into the HGDC's FIFO and are unblanking of the display. Does not differentiated based on address bit Ao. The status blank the display. register or the FIFO can be read as selected by the 4. ZOOM Specifies zoom factors for the address line. display and graphics characters Commands to the HGDC take the form of a command writing. byte followed by a series of parameter bytes as needed 5. CURS Sets the position of the cursor in for specifying the details of the command. The display memory. command processor decodes the commands, unpacks 6. PRAM Defines starting addresses and the parameters, loads them into the appropriate lengths of the display areas and registers within the HGDC, and initiates the required specifies the eight bytes for the operations. graphics character. The commands available in the HGDC can be organized 7. PITCH Specifies the width of the X into five categories as described in the following dimension of display memory. section. Drawing Control Commands HGDC Microprocessor Bus Interface Registers 1. WDAT Writes data words or bytes into AO READ WRITE display memory. Status Register Parameter Into FIFO 2. MASK Sets the mask register contents. 0 I I I I I I I I I I I I I I I I I I 3. FIGS Specifies the parameters for the drawing controller. FlfQRead Command Into FIFO 4. FIGD Draws the figure as specified 1 I I I I I I I I I I I I I I I I I I above. 5. GCHRD Draws the graphics character into display memory. 3-7 pPD7220A Data Read Commands SR-2: FIFO Empty 1. RDAT Reads dala words or byles from This bit and the FIFO-full flag coordinate system display memory. . microprocessor accesses with the HGDC FIFO. When 2. CURD Reads the cursor pOSition. it is 1, the Empty flag ensures that all the commands 3. LPFiD Reads the light pen address. and parameters previously sent to the HGDq have DMA Control Commands been interpreted. 1. DMAR Requests a DMA read transfer. 2. DMAW Requests a DMA write transfer. SR-1: FIFO Full A 1 at this flag indicates a full FIFO in the HGDC. A 0 Status Register Flags ensures that there is room for at least one byte: This SR-7: Light Pen Detect flag needs to be checked before each write into the HGDC. • . When this bit is set to 1, the light pen address (LAD) register contains a deglitched value that the system SR-O: Data Ready microprocessor may read. This flag is reset after the When this flag is a 1, it indicates that a byte is avaiiable 3-byte LAD is moved into the FIFO in response to the light pen read command.' .. to be read by the system microprocessor. This bitmust .tie test~d before each read. operation. It drops to a 0 while the data is transferred from the' FIFO into the SR-6: Horizontal Blank ActlveNertical microprocessor interface data register. Blanle Active A 1 value for this flag signifies that horizontal retrace FIFO Operation & Command Protocol blanking orvertical retrace blanking is currently under- The first-in, first-out buffer (FIFO) in the HGQC handles way aependent on the status of the VH bit in SYNC or the command dialogue with the system microproces- the RESETx parameter 6. sor. This flow of iriformationuses a half-duplex technique, in which the single 16-locatioh FIFO is used SR-5: Vertical Sync for both directions of data movement, one direction at Vertical retrace sync occurs while this flag is a 1. The a time. The FIFO's direction is controlled by the system vertical sync flag coordinates display format modifying microprocessor through the HGDC's command set. commands to the blanked interval surrounding vertical The host microprocessor coordinates theSe transfers sync. This eliminates display disturbances. by checking the appropriate status register bits. The command protocol used by the HGDC requires SR-4: DMA Execute differentiation of the first byte of a command sequence This bit is a 1 during DMA datatranfers. fromthesucceeding bytes. The first byte contains the operation code and the remaining bYtes carry para- SR-3: Drawing In' Progress meters. Writing into the HGDC causes the FIFO to store a flag value alongside the data byte 'to signify While the HGDC is drawing a graphicsJigure, this . whether the byte was written into the command or the status bit is a 1. parameter address. The c.ommandprocessor in the HGDC tests this bit as it interprets the entries. in the Status Register (SR) FIFO. 1 7 1 6 1 5 1 • I 1 3 2 11 1 0 1 The receipt of a command byte by the command processor marks the end of any previous operation. 1 t ~~~:~ I I The number of parameter byteS supplied with a com'mand is cut short by the receipt of the next Drawing in Progress command byte. Aread operation from the HGDC to the 1 DMAExecute Yeftlcal Sync ACtive microprocessor can be terminated at any time by the Horizontal Blank ActiveJ next command. ' Vertical Blank Active Light Pen Detect 3-8 fttfEC pPD7220A The FIFO changes direction under the control of the In character mode, all of the bits in the Pattern register system microprocessor. Commands written into the are used in parallel to form the respective bits of the HGDC always put the FI FO into write mode if it was not modify data word. Since the bits of the character code in it already. If it was in read mode, any read data in the word are used in parallel, unlike the one-bit-at-a-time FIFO at the time of the turnaround is lost. Commands graphics drawing process, this facility allows any or all which require an HGDC response, such as RDAT, of the bits in a memory word to be modified in one CURD and LPRD, putthe FIFO into read mode after the RMW memory cycle. The Mask register must be loaded command is interpreted by the HGDC's command with ones in the pOSitions where modification is to be processor. Any commands and parameters behind the permitted. read-evoking command are discarded when the FIFO The Mask register can be loaded in either of two ways. direction is reversed. In graphics mode, the CURS command contains a 4-bit dAD field to specify the dot address. The command Read-Modify-Write Cycle processor converts this parameter into the 1-of-16 Data transfers between the HGDC and the display format used in the Mask register for figure drawing. A memory are accomplished using a read-modify-write full 16-bits can be loaded into the Mask register using (RMW) memory cycle. The four-clock period timing of the MASK command. In addition to the character mode the RMW cycle is used to 1. output the address, 2. read use mentioned above, the 16-bit MASK load is con- data rom the memory, 3. modify the data, and 4. write venient in graphics mode when all of the pixels of a the modified data back into the initially selected word are to be set to the same value. memory address. This type of memory cycle is used for The Logic unit combines the data read from display all interactions with display memory including DMA memory, the Pattern register, and the Mask register to transfers, except for the two-clock period display and generate the data to be written back into display RAM refresh cycles. memory. Anyone of four operations can be selected: The operations performed during the modify portion of REPLACE, COMPLEMENT, CLEAR or SET. In each the RMW cycle merit additional explanation. The case, if the respective Mask bit is 0, that particu lar bit of circuitry in the HGDC uses three main elements: the the read data is returned to memory unmodified. If the Pattern register, the Mask register, and the 16-bit Logic Mask bit is 1, the modification is enabled. With the unit. The Pattern register holds the data pattern to be REPLACE operation, the Pattern register data simply moved into memory. It is loaded by the WDAT para- takes the place of the read data for modification meters or, during drawing, from the parameter RAM. enabled bits. For the other three operations, a 0 in the The Mask register contents determine which bits of the modify data allows the read data bit to be returned to read data will be modified. Based on the contents of memory. A 1 value causes the specified operation to be these registers, the Logic unit performs the selected performed in the bit positions with set Mask bits. operations of REPLACE, COMPLEMENT, SET, or CLEAR on the data read from display memory. Figure Drawing The Pattern register contents are ANDed with the Mask The HGDC draws graphics figures at the rate of one register contents to enable the actual modification of pixel per read-modify-write (RMW) display memory the memory read data, on a bit-by-bit basis. For cycle. These cycles take four clock periods to complete. graphics drawing, one bit at a time from the Pattern At a clock frequency of 8 MHz, this is equal to 500 ns. register is combined with the Mask. When ANDed with During the RMW cycle the HGDC simultaneously the bit set to a 1 in the Mask register, the proper single calculates the address and position of the next pixel to pixel is modified by the Logic unit. Forthe next pixel in be drawn. the figure, the next bit in the Pattern register is selected The graphics figure drawing process depends on the and the Mask register bit is moved to identify the pixel's display memory addressing structure. Groups of 16 location within the word. The Execution word address horizontally adjacent pixels form the 16-bit words pointer register, EAD, is also adjusted as required to which are handled by the HGDC. Display memory is address the word containing the next pixel. organized as a linearly addressed space of these words. Addressing of individual pixels is handled by the HGDC's internal RMW logic. 3-9 pPD7220A NEe During the drawing process, the HGDC finds the next Whole word drawing is useful for filling areas in pixel of the figure which is one of the eight nearest memory with a single value. By setting the Mask neighbors of the last pixel drawn. The HGDC assigns register to all 1s with the MASK command, both the each of these eight directions a number from 0 to 7, LSB and MSB of the dAD will always be 1, so that the starting with straight down and proceeding counter- EAD value will be incremented or decremented for clockwise. each cycle regardless of direction. One RMW cycle will be able to affect all 16 bits of the word for any drawing Figure drawing requires the proper manipulation of type. One bit in the Pattern register is used per RMW the address and the pixel bit position according to the cycle to write all the bits of the word to the same value. drawing direction to determine the next pixel of the The next Pattern bit is used for the word, etc. figure. To move to the word above or below the current one, it is necessary to subtract or add the number of Forthe various figures, the effect of the initial direction , words per line in display memory. This parameter is upon the resulting drawing is shown below: called the pitch. To move to the word to either side, the Execute word address cursor, EAD, must be increment- ed or decremented as the dot address painter bit reaches Oir Line Arc Character SlanlChar Rectangle DMA the LSB or the MSB of the Mask register. To move to a pixel within the same word, it is necessary to rotate the 000 ~# r~>,7 Ull1J1J [] N\i dot address pointer to the rightor left. The table below ~~ 0 ~ summarizes these operations for each direction. 001 ~ i // /' ~ A L> ~ .~ CJ z ,- " ", 010 Oir Operations to Address the Next Pixel 000 001 EAD- P- EAD EAD - P -,+ EAD 011 V C~" ~ (' 0 ~ dAD (MSB) = tEAD - 1 - EAD dAD - LR v~ /:J, fUU1l1 D 010 dAD (MSB) = tEAD - 1 -+ EAD dAD - LR 100 ~ ~ C ~ ~ 0 ~ 011 EAD - P - EAD 101 " , dAD (MSB) = tEAD- 1 - EAD dAD - LR ?; 100 EAD - P - EAD ~ f [] "A 110 101 EAD - P- EAD "J ~ ~, 0 dAD (LSB) == tEAD - 1 - EAD dAD- RR 111 ';,,',) 110 dAD (LSB) = tEAD - 1 -+ EAD dAD - RR 111 EAD- P- EAD dAD (LSB) = tEAD - 1 - EAO dAD - RR Note that during line drawing, .the angle of the nne may be anywhere within the shaded octant defined by the Note: DIR value. Arc drawing starts in the direction initially P = Pitch, LR = Left Rotate, RR = Right Rotate, EAD = Execute Word specified by the DIR value and veers into an arc as Address, and dAD = Dot Address stored in the Maskregister. drawing proceeds. An arc may be up to 45° in length. DMA transfers are done on word boundaries only, and Drawing Directions follow the arrows indicated in the table to find succes- sive word addresses. The slanted paths for DMA transfers indicate the HGDC changing both the X andY components of the word address when moving to the next word. It does not follow a 45° diagonal path by pixels. 3-10 ttiEC pPD7220A Drawing Parameters Symbol Definitions In preparation for graphics figure drawing, the HGDC's -1 = All ONES value. Drawing processor needs the figure type, direction and = No parameter bytes sent to HGDC for this drawing parameters, the starting pixel address, and the parameter. pattern from the microprocessor. Once these are in al = The larger at ax or ay. place within the HGDC, the Figure Draw command, aD = The smaller at ax or ay. FIGD, initiates the drawing operation. From that pOint r = Radius of curvature, in pixels. on, the system microprocessor is not involved in the t/J = Angle from major axis to end of the arc. drawing process. The HGDC Drawing controller co- t/J:5 45°. ordinates the RMW circuitry and address registers to 8 = Angle from major axis to start of the arc. draw the specified figure pixel by pixel. 8:5 45°. The algorithms used by the processor for figure t = Round up to the next higher integer. drawing are designed to optimize its drawing speed. To l = Round down to the next lower integer. A = Number of pixels in the initially specified this end, the specific details about the figure to be direction. drawn are reduced by the microprocessor to form B = Number of pixels in the direction at right conducive to high-speed address calculations within angles to the initially specified direction. the HGDC. In this way the repetitive, pixel-by-pixel W = Number of words to be accessed. calculations can be done quickly, thereby minimizing C = Number of bytes to be transferred in the the overall figure drawing time. The. table below sum- initially specified direction. (Two bytes per marizes the parameters. word if word transfer mode is selected.) o = Number of words to be accessed in the Drawing direction at right angles to the initially Type DC 0 02 01 OM specified direction. Initial 0 8 8 -1 -1 DC = Drawing count parameter which is one less Vallie (1) than the number of RMW cycles to be executed. Line ltill 2IAOI-IAII 2(jAO I-IAII) 21AOI OM = Dots masked from drawing durihg arc Arc (2) rsin r-l 2(r-l) -1 rsin 81 drawing. Rectangle 3 A-I B-1 -1 A~1 t. == Ne,eded only for word reads. Area fill B-1 A A Graphic B-1 A A Graphics Character Drawing character Graphics characters can be drawn into display memory (3) pixel by pixel. Th,e up to 8-by-8 character display is Read & W-l loaded into the HGDC's parameter RAM by the system write data microprocessor; Consequently, there are no limitations OMAW 0-1 C-l on the character set used. By varying the drawing OMAR 0-1 C-l ' (C-l)/2/t parameters and drawing direction, numerous drawing options are available. In area fill applications, a Note: character can be written into display memory as many All numbers are shown in base 10 fdr convenience. The HGOC times as desired without reloading the parameter RAM. accepts base 2 numbers (2's complement notation) where appropriate. Once the parameter RAM has been loaded with up to (1) Initial values for the various parameters remain as each drawing eight graphics character bytes by the appropriate process.ends. PRAM command, the GCHRD command can be used (2) Circles are drawn with 8 arcs, each of which span 45°, so that sin to draw the bytes into display memory starting at the = 1/";2 and sin 8 = O. cursor. The zoom magnification factor for writing, set (3) Graphic characters are a special case of bit-map area filling in by the ZOOM command, controls the size of the which B and A :0:; 8. If A = 8 there is no need to load 0 and 02. character written into the display memory in integer multiples of 1 through 16. The bit values in the PRAM are repeated horizontally and vertically the number of times specified by the zoom factor. 3-11 pPD7220A tt(EC The movement of these PRAM bytes to the display The other use for the PRAM contents is to supply the memory is controlled by the parameters of the FIGS pattern for figure drawing when in a bit-mapped command. . graphics 'area or mode. In these situations, PRAM bytes a through 16 are reserved for this patterning Based on the specified height and width of the area to information. For line, arc, and rectangle drawing (linear be drawn, the parameter RAM is scanned to fill the figures) locations a and 9 are loaded into the Pattern required area. register to allow the HGDC to draw dotted,dashed, etc. For an 8-by-8 graphics character, the first pixel drawn lines. For area filling and graphics bit-mapped char- uses the LSB of RA-15, the second pixel uses bit 1 of acter drawing, locations a through 15 are referencedfor RA-15, and soon, until the MSB of RA-J5 is reached. the pattern or character to be drawn.' The HGDC jumps to the corresponding bit in RA-14 to Details ofthe bit assignments are shown forthe various continue the drawing. The progression then advances modes of operation. toward the LSB of RA-14. This snaking sequence is continued for the other 6 PRAM bytes. This progression Character Mode matches the sequence of display memory addresses calculated by the drawing processor .as shown above. If the area is narrower than 8 pixels wide, the snaking will advance to the next PRAM byte before the MSB is reached. If the area is less than a lines high, fewer bytes in the parameter RAM will be scanned. If the area is larger than a by 8, the HGDC will repeat the contents of the parameter RAM in two dimensions, as required to Length of Display Partition 1 (line count) with high and fill the area with the a-by-a mosaic. (Fractions of the low significance fields a-by-a pattern will be used to fill areas which are not A Wide Display cycle width of two words per memory cycle multiples of a. by a.) '--_________ ~s.::~:_:~~h!d:!~I~ The dlsptay ~ress counter Is then Incremented by . Parameter RAM Contents: RAM Address 2 for each display scan cycle. Other memory cycte RA-O to RA-15 types are not influenced. Display Partition 2 The parameters stored in the parameter RAM, PRAM, RA-4 SAD2L I- and starting address length are available for the HGDC to refer to repeatedly during figure drawing and .raster-scanning.ln each 0 0 o I SAD2H mode of operation the values in the PRAM are inter- LEN2L I 0 0 0 0 preted by the HGDC in a predetermined fashion. The Wo·1 0 I LEN2H host microprocessor must load the appropriate para- .. meters into the proper PRAM locations. PRAM loading command allows the host to write into any location of Display Partition 3 the PRAM and transfer as many bytes as desired. I n this RA-8 SAD3L I- starting address and length . way any stored parameter byte or bytes may be 0 0 o I SAD3H changed without influencing the other bytes. 10 LEN3L I0 0 0 0 The PRAM stores two types of information. For 11 wool 0 I LEN3H specifying the details of the display area partitions, blocks of four bytes are used. The four parameters stored in each block include the starting address in Display PartHion 4 display memory of each display area, and its length. In RA-12 SAD", I- and starting address length addition, there are two mode bits for each area which 13 0 0 o I SA ..... specify whether the area is a bit-mapped graphics'area 10 LEN4L I0 0 0 0 or a coded-character area, and whether a 16-bit or a 32-bit wide display cycle: is to be used for that area; 15 wool 0 I LE~4H 3-12 NEe pPD7220A Graphics and Mixed Graphics and Character Modes Command Bytes Summary ~l RA.. cl PTN l 0' GCHR8 Pattern of 16 bits used for figure drawing to pattern dotted, dashed, etc. lines START PTN H 0' GCHR7 ZOOM GCHR6 CURS 11 GCHR5 PRAM SA 12 GCHR4 Graphics character bytes - to be moved into display memory with graphics PITCH 13 GCHR3 character drawing 14 GCHR2 ,/ WDAT 1 I I° I TYPE MOD 15 GCHR1 MASK RA-O I L..._~~_~~_~~_~-' SAD1 L L Display Partition Area 1 I~- starting address with low, ~~~dd~(~:~ ~~;r:~~)lflcance FIGS I FIGD I I o I I 0 2 I LEN1L 0 0 SAD1 H I I ~~ L Length of Display Partition OCHRD I° °I aWOl. 1M ____ LE_N_'_H_ _ _ _ I-_ :~~I~C:i~~!~~~~d(r.~~hcount) RDAT 1 I I° I I TYPE MOD In mixed mode, a 1 indicates an image or graphics area, and a 0 indicates a character area. In graphics mode this bit must be O. When 1, the DAD is incremented every other display cycle. CURD oI 0 RA-4 SAD2L Display Partition Area 2 I- length starting address and with image LPRD o I 0 SAD2M bit as in area 1 DMAR 1 ITYPE I 1 MOD LEN2L I° o I SAD2H I l' WD211M I LEN2H DMAW 1 TYPE MOD Command Bytes Summary Video Control Commands Reset RESET1 .......'-_O_··~......._~......._~~--' Blank the display, enter RESETX: L[_;;- Idle mode, and initialize within Ihe HGDC: RESET2 -FIFO - Command Processor -Internal Counters RESET3 BLANK1 This command can be executed at any time and does not modify any of the parameters already loaded into BLANK2 the HGDC. If followed by the parameter bytes, this command also SYNC I 0 sets the sync generator parameters as described below. Idle mode is exited with the START command. VSYNC I 0 RESET1: Resync video timing in slave mode. CCHAR I° RESET2: RESET3: Blank the display and so not resync. Un blank the display and do not resync. 3-13 pPD7220A In graphics mode, a word is a group of 16 pixels. In VH Blank Status Bit Dellnltlon character mode, a word is one character code and its attributes, if any. The number of active words per line o Status register bit 6 indicates horizontal blank must be an even number from 2 to 256. An all-zero Status register bit 6 indicates vertical blank parameter value selects a count equal to 2n where n = number of bits in the parameter field for vertical PH is the most significant bit (9) of the display pitch parameters. All horizontal widths are counted in display parameter. Use the PITCH command to set the lower words. All vertical invervals are counted in lines. eight bits. If the Drawing Hold (DH) is set to one, pin 21 (LPEN/DH) is used as the drawing hold control pin. SYNC Generator Period Constraints When the input to LPEN/DH is held high for over four 2 Horizontal.Back Porch Constraints x WCLK clocks, the drawing address output is temp- orarily held and the display address is output. 1. In general: HBP!6 3 Display Word Cycles (6 clock cycles). The HGDC allows an even or odd number of lines per 2. If the Image bit or WD mode changes within qne frame. Selection is via the VL flag, the seventh bit of the video field: sixth parameter byte following a RESET or SYNC HBP!6 5 Display Word Cycles (1Qclock cycles). command. When VL is 0, an odd number of display lines 3. If interlaced, mixed mode, or split screen is used: is generated. HBP !6 5 Display Word Cycles (10 clock cycles). Horizontal Front Porch Constraints PI Mode of OperatIon . .1ect bfts See below 1. In general: HFP!6 2 Display Word Cycles (4 clock cycles). P2 Active Display Worc:ts per line - 2 Must be evan 2. If the GDC is used in video sync Slave mode: number with bit 0 = 0 PI HFP E 4 Display Word Cycles. (8 clock cycles). 3. Ifthe Light Pen is used: HorIzontal Sync Width _ 1 ' - - - - - - - - - Vertical Sync WJdth, towbita HFP!6 6 Display Word Cycles (12 clock cycles). 4. If interlaced mode, DMA, or ZOOM is used: L....&...-.L-H.... FP..... ---''--'---vs "--Jr .... Vertical Sync WIdth, high bUs HFP!6 3 Display Word Cycles (6 clock cycles). Horizontal Sync Constraints , ' ' .....- - - - - - H o r i z o n l a ' Front Porch Width _1 1. If interlaced display mode is used: HS !6 5 Display Word Cycles (6 clock cycles). P5 DH PHl HBP I-- Horizontal Back Porch Width _ 1 2. If DRAM Refresh is enabled: P6 VH VL I VFP I- V,ertlcal Front Porch Width HS!6 2 Display Word Cycles (4 clock cycles). P7 ALL I- Video Active Display Unes per Field, low bite Modes of. Operation Bits c G DI.pIIY Mode P8 VBP A4t '--"--"-'-\';:--".'--'--.1..-................ I- Active Display Lines per Vkleo Fjeld, high bUs o o Mixed graphics and character \,._--- - Vertical Back Porch Width o Graphics mode o Character mode Invalid VL Number 01 line. In Interlaced mode o Odd, as in 7220 S Video Framing Even o o Non-interlaced o Invalid When VH =Oistatus operation is as in pPD7220; o Interlaced repeat field for character lIisplays Interlaced 3-14 t-IEC JlPD7220A Repeat Field Framing: 2 field sequence with 1/2 SYNC Format Specify line offset between This command also loads parameters into the sync otherwise identical fields. generator. The various parameter fields and bits are Interlaced Framing: 2 field sequence with 1/2 identical to those at the RESET command. The HDGC line offset. Each field is not reset nor does it enter idle mode. displays alternate lines. Non-Interlaced Framing: 1 field brings all the information to the screen. D Dynamic RAM Refresh Cycles Enable 'ID~ o No refresh-static RAM The display is enabled by ai, and blanked by a 0 Refresh-dynamic RAM Mode of Operation select bils See below Active display words per line 2 Dynamic RAM refresh is important when high display Must be ellen number with bit 0 o. zoom factors or DMA are used in such a way that not all of the rows in the RAMs are regularly accessed during display raster generation and for otherwise inactive Horizontal Sync Width _ 1 ' - - - - - - - - - - Vertical Sync Width, low bits . display memory. Drawing Time Window o Drawing during active display time and retrace blanking ' - - - - - - - - Horizontal Front Porch Width _ 1 Drawing only during retrace blanking P5 DH PH I HBP f - Horizontal Back Porch Width _ 1 Access to display memory can be limited to retrace P6 VH VL I VFP f - Vertical Front Porch Width blanking intervals only, so that no disruptions of the image are seen on the screen. P7 ALL f - Active Display Lines per Video Field, low bits Both commands allow a reset while preventing re- initialization of the internal sync generator by an P8 vep 1- Active Display Lines per Video external sync source (slave mode). L.....~~---.,....--'~~-L_A~L_H-.J!Field, high bits \ c . . - - - - - - V e r t l c a t Back Porch Width RESET21 0 0 I o I 0 0 1 I Slave Mode Operation o , I A few considerations should be observed when syn- RESET3! 0 0 0 1 1 I chronizing two or more HGDCs to generate overlayed video via the V/EXT SYNC pin. As mentioned above, the Horizontal Front Porch (HFP) must be four or more Vertical Sync Mode display cycles wide. This is equivalent to eight or more When using two or more HGDCs to contribute to one clock cycles. This gives the slave HGDCs time to image, one HGDC is defined as the master sync initialize their internal video sync generators to the generator, and the others operate as its slaves. The proper point in the video field to match the incoming VSYNC pins of all HGDCs are connected together. vertical sync pulse (VSYNC). This resetting of the generator occurs just after the end of the incoming VSYNC pulse, during the HFP interval. Enough time during HFP is required to allow the slave HGDC to VSYNC'L0-I~,~~---1.'I..,.-J~ complete the operation before the start of the HSYNC interval. o -Accept External Vertical Sync - Slave Mode 1 -Generate & Output Vertical Sync - Master Mode 3-15 pPD7220A t-IEC Once the HGDCs are initialized and set up as master Display Blanking Control and slaves, they must be given time to synchronize. It is a good idea to watch the VSYNC status bit of the BLANK2 does not cause the resyncing of an HGDC in master HGDC and wait until after one or more VSYNC slave mode. SLANK1 does cause the resyncing of an pulses have been generated before the display progess HGDC in slave mode. is started. The START command will begin the active display of data and will end the video synchronization process, so be sure there has been at least one VSYNC pulse generated to which the slaves can synchronize. o I DE I--ThediSPl8Yisenabied by a 1, and blanked by aD. Cursor and Character Characteristics BLANK2,1 0,0,.',0 In graphics mode, LR should be set to O. The blink rate parameter controls both the cursor and attribute blink rates. The cursor blink-on time = blink-off time = 2 x Zoom Factors Specify SR (video frames). The attribute blink rate is always one-half the cursor rate but with a 3/4-on-1/4-off duty Zoom magnification factors of 1 through 16 are avail- cycle. All three parameter bytes must be output for able using codes 0 through 15, respectively. interlaced displays, regardless of mode. For interlaced displays in graphics mode, the parameter SRL = 3. When SE = 0, the HGDC, in slave mode, detects the falling edge of EX. SYNC on the first frame. When SE = 1, the HGDC, in slave mode, detects the falling edge of EX. SYNC on every frame. P, I OISP GCHR I- Zoom factor for graphics L...~---'-''\~,- \ __:-_.L_-_-'_-_-_~-_--'_-_~r_ character wrltmg and area filling Display zoom factor ~~I_O~,_'~~~~__~~'~I Cursor Position Specify /~---------------IExternal SYNC Enable In character mode, the third parameter byte is not p, lotEG I LR I - - Lines per character row - 1 needed. The cursor is displayed for the word time in which the display scan address (DAD) equals the ~------------ Display Cursor if1 cursor address. In graphics mode, the cursor word P2 I B~~LSti CTOP I--~U:~~;;~PBnenumbe, address specifies the word containing the starting pixel of the drawing; the dot address value specifies the ~--------O _ Blinking Cursor 1 _ Steady Cursor pixel within that word. ~--------Blink Rate, lower bits P3 '---'--..LC,BO:-,T_ _ ~-,--,-B_R~u--->1-- Blink Rate, upper bits '\~'------ Cursor BoHom line number in -- the row CBOT < LR P' I EAD I - - Execute Word Address, Display Control Commands ~.~~~~~~---'-_ _'----'_ low byte Start Display and End Idle Mode P2 I~.~~__~~~---'-__"---'! I- EAD Execute Word Address, middle byte The START command generates the video signals as specified by the RESETX or SYNC command. P3 L-~d...,AD,..---'~.L1W_G~O---,-I__E~,,'D--,~ (Graphics Mode only) \~' ~ _ _ _ _ _ _ _ _____ •W"no"r"d A "ddress, top bits - Dot Address within the word 3-16 tttfEC JlPD7220A When the WG bit is set to one, any data following the Drawing Control Commands WDAT command is written as is. When the WG bit is set to zero, the 7220A performs as the 7220 does: The Write Data into Display Memory pattern written is determined by the least significant bit Upon receiving a set of parameters (two bytes for a of each parameter byte following the WDAT command. word transfer, one for a byte transfer), one RMW cycle This bit is expanded into 16 identical bits which form into video memory is done at the address pointed to by the pattern. the cursor EAD. The EAD pointer is advanced to the next word, according to the previously specified Parameter RAM Load direction. More parameters can then be accepted. From the starting address, SA, any number of bytes For byte writes, the unspecified byte is treated as all may be loaded into the parameter RAM at incrementing zeros during the RMW memory cycle. addresses, up to location 15. The sequence of para- meter bytes is determined by the next command byte In graphics bit-map situations, only the LSB of the entered into the FIFO. The parameter RAM stores 16 WDAT parameter bytes is used as the pattern in the bytes of information in predefined locations which RMW operations. Therefore it is possible to have only differ for graphics and character modes. See the an all ones or all zeros pattern. Ifthe WG bit of the third parameter RAM discussion for bit assignments. parameter of the CURS command is set to one, any byte following the WDAT command is written as is. In coded character applications all the bits of the WDAT parameters are used to establish the drawing pattern. PRAM: I 0 1 SA The WDAT command operates differently from the ' - - - - - Starting Address in other commands which initiate RMW cycle activity. It parameter RAM requires parameters to set up the Pattern register while the other commands use the stored values in the P, I I '--..L....~~~_~~~-.J l--- 1 to 16 bytes to be loaded ~~~t~~: ~~~~;~~~~~~ress parameter RAM. Like all of these commands, the WDAT command must be preceded by a FIGS com- I specified by SA Po mand and its parameters. Only the first three para- meters need be given following the FIGS opcode to set up the type of drawing, the DIR direction, and DC value. The DC parameter +1 will be the number of Pitch Specification RMW cycles done by the HGDC with the first set of This value is used during drawing by the drawing WDAT parameters. Additional sets of WDAT para- processor to find the word directly above or below the meters will see a DC value of 0 which will cause only current word, and during display to find the start of the one RMW cycle to be executed per set of parameters. next line. The Pitch parameter (width of display memory) is set by two different commands. In addition to the PITCH 1 I TYPE I I 0 MOO I command, the RESET (or SYNC) command also sets ~ RMW Memory cycle the pitch value. The "active-words-per-line" parameter, ...--.. Logical Operation: which specifies the width of the raster-scan display, o 0 _ _ REPLACE with Pattern o 1 _COMPLEMENT also sets the pitch of the display memory. Note that the 1 1 0 _ _ _ RESET to zero l _ _ SETtol AW value is two less than the display window width. The PITCH command must be used to set the proper memory width larger than the window width. --- o 1 1 o ' - - - - - - - - Data Transfer Type: 0 ~~~~~~word' O. 1 1,. Low ByteLowofthen High byte the Word High Byte of the Word Invalid P1 .IL~--,_W_O~R_OL~O_R_BY~TE~_,---,~ I~-- -- Word SmgleLow ByteData DataByte or value f!!£!:!:.! 0 , 1 ., I L-.- Word transfer only: Pl: I '--..L....~-L---'_.L--'--'---' l--- Number of word addresses ~nO~ii:g~~~1 ~~~~~~~n the WORO H etc. '--~~"""""~_~..L....~--,I - High Data Byte 3-17 pPD7220A t¥EC Mask Register Load Figure Drawing Parameters Specify This command sets the value of the 16-bit Mask register of the figure drawing processor. The Mask register controls which bits can be modified in the display memory during a read-modify-write cycle. Drawing Direction Base Figure Tvpe Select Bits: The Mask register is loaded both by the MASK com- L~=====Line(Vector) mand and the third parameter byte of the CURS Graphics Character '----------Arc/Circle command. The MASK command accepts two para- '-----------Rectangle ' - - - - - - - - - - - - S l a n t e d Graphics Character meter bytes to load a 16-bit value into the Mask register. All 16-bits can be individually one or zero, under program control. The CURS command, on the P'rl~~~D~CL~=:',r-I DC D..wlngPa'ame'e' Gr--~---,-"--D~CH-'--'----'~ other hand, puts a 1-of-16 pattern into the Mask register based on the value of the Dot Address value, P3 'I..-i....1-1 dAD. If normal single-pixel-at-a-time graphics figure , ' -_ _ _ _ _ _ _ Graphics Drawing flag for use in drawing is desired, there is no need to do a MASK Mixed Graphics and Character Mode command at all since the CURS command will set up the proper pattern to address the proper pixels as P4 cl;=~~~~L~~CI DD,aw;ng _a,ame'e, drawing progresses. For coded character DMA, and screen setting and clearing operations using the WDAT P5 1<-1---,-0---,-1 --,---,-_D~H--,---,---,j) command, the MASK command should be used after the CURS command if its third parameter byte has been output. The Mask register should be set to all ones for any "word-at-a-time" operation. :100 ~.-"- ~Io 1 o 1 0 1 :1. · PtOd i I t~~··"- Pl ML low significance byte DM P, L..I~_~~~MH_~~~--, High significance byte P11l o : o l: :LD~H:: The parameters take on dm"'en' ;nte,.,"allono 10' different figure types. Valid Figure Type Select Combinations Figure Draw Start Sl A GC Operation On execution of this instruction, the HGDC loads the 0 0 0 0 0 Character display mode drawing, parameters from the parameter RAM into the drawing individual dot drawing, OMA, WOAT, processor and starts the drawing process at the pixel and ROAT pointed to by the cursor, EAD, and the dot address, 0 0 0 0 Straight line drawing dAD. 0 0 0 0 Graphics character drawing and area filling with graphics character pattern 0 0 0 0 Arc and circle drawing ° °1 0 0 0 0 Rectangle drawing 0 0 0 Slanted graphics character drawing and slanted area filling Only these bit combinations assure correct drawing operation. 3-18 ttiEC pPD7220A Graphics Character Draw and Area Filling Start The following bytes are returned by the HGDC through the FIFO: Based on parameters loaded with the FIGS command, this command initiates the drawing of the graphics character or area filling pattern stored in parameter RAM. Drawing begins at the address in display memory P1 A7 Execute Addr... (EAD). pointed to by the EAD and dAD values. low byte ~I 0 1 1 0 1 0 0 0 The execute address, EAD, points to the display memory word containing the pixel to be addressed. The dot address, dAD, within the word is represented as a 1-of-16 code for graphics drawing operations. As this instruction begins to execute, the FIFO buffer direction is reversed so that the data read from display Light Pen Address Read memory can pass to the microprocessor. Any com- mands or parameters in the FIFO at this time will be lost. A command byte sent to the HGDC will im- mediately reverse the buffer direction back to write mode, and all RDAT information not yet read from the FI FO will be lost. MOD should be set to 00 if no The following bytes are returned by the HGDC through modification to video buffer is desired. the FIFO: ~ ~ll~_O~l~I_T_Y~PE-LI_o~I_M~OD~ I A7 LAD, AO I-U9ht Pen Address, low byte 1 o O-.-----'WOrd,lowthenhighbyle Da18r.an_Type: I A15 LA,"" A8 ~Li9ht Pen Addr.... middle byte 1 1 0 1. -.-----Low byte of the Word only High byte of the Word only I 0 0 0 0 0 , 0 I 1- LAD. Ughl Pen Address, high byte o 1. Invalid The light pen address, LAD, corresponds to the display Cursor Address Read word address, DAD, at which the light pen input signal is detected and deglitched . '" .9!!!2:.1, 1 1 a D. 0 0 0 I The light pen may be used in graphics, character, or mixed modes but only indicates the word address of light pen position. 3-19 pPD7220A DMA Control Commands DMA Read Request DMAWrlteF!eqlJest DMAII: I. , • I"TYPE"I· I 0 MOD .. I~o--"---,-,""---,-,-- Data Transfer Type: R~W ~mory Logical 0peraU0n: O~REPLACE wtth Pattem o -..,.;."'-----'-'-'--- WOrd, Low then High Byte 1 -COMPLEMENT 0""-.------Low Byte OItha WOrd 0 _ RESET to Zero • -oO_-----High Byte of the Word 1-SETtoOne • -.. oo_-----Invalld i------Data Tr.n..... Type: 0 _ 0 0 - _ _ _ _ Word, Low then High Byte o -.~----Low Byte of the Word 1 -.~~~'---High·By'teofthewotd ".0: 1 -.o------Invalld AC Characteristics TA =0 to +70°C; Vee = 5,0 V ±10%;GND.= 0 V 7220AO Um"ilS. 722OAD-l limits 7220AD-2 limits Paramater Symbol' Min Max Min Max Min Max Unit TIBtConditions Read Cycle IGDC ....-... CPUI Address setup to tAR 0 0 0 ns Rill Address hold from tRA 0 0 0 ns Riit RD pulse width tRH1 tR01 + 20 tRCY - 112 tCLK tR01 + 20 tRCY -1/2 tClK tR01 + 20 tRCY - 112 tCLK ns. Data delay from tR01 75 65 55· ns ,. :9L "",50 pF Riil Data floating from tOF 0 75 0 65 0 55 ns Riit RD pulse cycle tRCY 4tCLK 4 tCLK 4 tCLK ns WritB CyelBIGDC +--+ CPUI Address setup to tAW 0 0 "0 ns WRl Address hold from tWA 10 10 10 ns WRt WR pulse width tww 80 tWCY- tCLK 70 tWCy-tCLK 60 tWCY"':' tCLK ns Data setup to WR"t tow 65 55 45 ns Data hold from WR't two 0 10 10 "ns WR pulse cycle twCY 4tClK 4tClK "4 tClK ns 3-20 ttlEC pPD7220A AC Characteristics (cont) TA = 0 to +70°C; Vee = 5.0 V ±10%; GND = 0 V 7220AO limits 7220AO-l limits 7220AO-2 limits Parameter Symbol Min Max Min Max Min Max Unit Test Conditions OMA Read Cycle (GOC - - CPU) DACK setup to tKR 0 0 ns Riil DACK hold from RD! tRK 0 ns RD pulse width tRR2 tR02 + 20 tR02 + 20 tR02 + 20 ns Data delay from RDI tR02 1.5 tClK + 80 1.5 tClK + 70 1.5 tClK + 60 ns Cl = 50 pF DREa delay from tREO 100 85 75 ns Cl = 50 pF 2xWCLK! DREa setup to tOK 0 0 ns DACKI DACK high-level tOK tClK tClK tClK ns width DACK pulse cycle IE 4 tCldl) 4 tClK (1) 4tCldl) ns DREal delay from tKO(R) tClK + 100 tClK + 90 tClK + 80 ns Cl = 50 pF DACKI DACK low-level tlK 2 tClK 2 tClK 2 tClK width OMA Write Cycle (GOC - - CPU) DACK setup to tKW 0 ns WRI DACK hoid from WR! tWK 0 ns RMW Cycle (GOC - - Display Memory) Address/data tAD 20 105 20 90 15 80 ns Cl = 50 pF display from 2xWCLK! Address/data tOFF 20 105 20 90 15 80 ns Cl = 50 pF floating from 2xWCLK! Input data setup to tOiS 0 ns 2xWCLKI Input data hold from tOIH tOE tOE tOE ns 2xWCLKI DBIN delay from tOE 20 80 20 70 15 60 ns Cl = 50 pF 2xWCLKI ALE! delay from tRR 20 80 20 70 15 60 ns Cl = 50 pF 2xWCLK! ALEI delay from tRF 20 65 20 55 15 50 ns Cl = 50 pF 2xWCLKI ALE high width tRW 1/3 tClK 1/3 tClK 1/3 tClK ns Cl = 50 pF ALE low width tRl 1.5 tClK - 30 1.5 tClK - 30 1.5 tClK - 30 ns Address setup to tAA 30 30 30 ALEI Nole: (1) For high-byte and low-byte transfers: tE = 5 telK. 3-21 pPD7220A AC Characteristics (cont) TA = 0 to +70·C; Vee = 5.0 V ±10%; GND = 0 V 7220AO limits 7220AD·l Limits 7220AD·2 Limits Parameter· Symbol Min Max Min Max Min Max Unit Test Conditions Display Cycle (GDC - Display Memory) Video signal display tva 90 80 70 ns Cl = 50 pF from 2xWCLKI Input Cycle (GDC - Display Memory) Input signal setup to tps 10 10 10 ns 2xWCLKt Input signal width tpw tClK tClK tClK ns Clock (2xWCLK) Clock rise time tCR 15 15 15 ns Clock fall time tCF 15 15 15 ns Clock high pulse tCH 70 61 52 ns width Clock low pulse tCl 70 61 52 ns width Clock cycle tClK 165 10000 145 10000 125 10000 ns Capacitance DC Characteristics (cont) TA = 25·C; Vee = GND = 0 V TA = 0 to HO·C; Vee = 5 V ±10%; GND = 0 V Limits limits Test Test Parameter Symbol Min Typ Max Unit Conditions Parameter Symbol Min Typ Max Unit Condilions Input capacitance CIN 10 pF fc = 1 MHz Input low leak IlL -10 p.A vl=nv 10 capacitance CIO 20 pF VI (unmeasured) current(~xcePt pF =OV VSYNC, ACK) Output capacitance COUT 20 Clock input CI/l 20 pF Input low leak IlL -500 p.A VI=OV capacitance current (VSYNC, DACK) Absolute Maximum Ratings (Tentative) Input high leak IIH +10 p.A VI=VCC current (except Ambient temperature under bias oto +70·C LPEN/DH) Storage temperature -65 to +150·C Input high leak IIH +500 p.A VI=VCC Voltage on any pin with respect to ground -0.5 to +7V current (LPEN/DH) Output low leak IOL -10 p.A Vo=OV Power dissipation 1.5 W current Comment: Exposing the device to stresses above those listed in Output high leak IOH +10 p.A Vo = VCC Absolute Maximum Ratings could cause permanent damage. The device is not meant to be operated under conditions outside the current limits described in the operational sections of this specification. Clock input low VCl -D.5 0.6 V Exposure to absolute maximum rating conditions for extended voltage periods may affect device reliability. Clock input high VCH 3.5 VCC + 1.0 V voltage DC Characteristics TA = 0 to +70·C; Vee = 5 V ±10%; GND = 0 V Vcc supply current ICC 270 rnA Limits Note: Test Parameter Symbol Min Typ Max Unit 'Condilions (1) For 2xWCLK, VIL = -0.5 to +0.6 V. Input low voltage Vil -0.5 0.8 V (Note 1) (2) For 2xWCLK, VIH = +3.9 V to Vee +1.0 V. Input high voltage VIH 2.2 VCC +0.5 V (Notes 2, 3) (3) For WR, VIH = 2.5 V to Vee +0.5 V. Output low voltage VOL 0.45 V IOL =2.2 rnA Output high voltage VOH 2.4 V IOH = -400p.A 3-22 t-iEC pPD7220A AC Testing Conditions Timing Waveforms (cont) Input Waveform for AC Test (Except 2xCCLK) Microprocessor Interface DMA Write Timing 2.2 2.2 2.4 0.45 ==t\ ~-~---~ \ Tesl Polnls x:::=1 2xWCLK: 0.8 0.8 DREQ: Output Waveform for AC Test DACK: 2.0 2.0 ~'----..:..:..::..:..==-----~ ~r-- Tesl Poinls '\~ WR: 0.8 0.8 IWH (WR t 10 HSYNC t ) ~ ICLK I'H (DACK j 10 HSYNC t ) ;;.ICLK Clock Timing (2xCCLK) -\'3.5 0.6 3.5;;'-- 0.6 Microprocessor Interface DMA Read TimIng 11 2xWCLK: Timing Waveforms DREQ: Microprocessor Interface Write Timing - AO:~ ---~L~IIWA t valid 1--- 1m: WR: ww ~------~ j'~ DBO-7:---:-ln-v--:al:-:id:---iI-~=====ln=va=li=d===~1== DBO"7:·--;:;;;;;;;==:---(!~!DG~f-7.:~= .- High Impedance I· IWe> - - - -.... ·1 Microprocessor Interface Read Timing AO:~~_....;.;va;;;;li.;;.d__j....,.}( Invalid X,-___ -.J RD:---""'il tAR tA~ 11-:::--------.. DBO-7:.-f,;Hi~9h;;;;;;~C:X:~~-':i;";;i;:T.;;;;;;;:j;;;;;;;-t-- . Impedance High Impedance 1------- tRCY 3-23 pPD7220A fttfEC Timing Waveforms (cont) Display Memory Display Cycle Timing Display Memory RMW Timing +-___-"-__ A16, AI7:_+-'I-+--+_ _ _ _ _ _ ALE: _-----tRL-------;,.j Display and RMW Cycles (1x Zoom) 2xWCLK: ALE: ADO-15; A16.17: HSYNC, BLANK: V/EXTSYNC: 3-24 tttfEC tJPD7220A Timing Waveforms (cont) Display and RMW Cycles (2x Zoom) Q j _L I z a ~ 4 ;;; 0 ~ ~. ,; i ~ ~ c ;( 3-25 pPD7220A NEe Timing Waveforms (cont) Display and RMW Cycles (3x Zoom) I I --1---11------- I J I I I I I ~ -;;-:-+!» - I 8c •c 3-26 NEe pPD7220A Timing Waveforms (cont) Light Pen and External Sync Input Timing Clock Timing (2xWCLK) 2XWCLK:~E==ps LPEN,---- EX. SYNC: tpw . Video Sync Signals Timing I_ 1H '1 2 X W C L K : J \ . . r \ . . / \ . . . / \ ____ ../\../V\../\J\ __ ~ ___ J\..I\..- __ J\... HBLANK:J ----"\'--- HSYNC: _ _ _ _ _ _ _ _ _ _ _~/ \'--_ _ _ _ _ _ _ _ _ _ __ AOD-15::x_ _ _ _..J X'-_......C - -- -- )(_---'X'-__C= ==".J<'--__)( ===x:= ====t LCD-4:===X \ r-l~~ AOO.15:Jp(X __ _____~- _____ ~====::_-_ -_~ ~ ~ ~~~:_-_-_~~~ ~~_- ------_-_ - -:t:::(XX. __ JOCXJC _______________________ __ xxxx. __JOe _-1 LCD-4:-\r'-- - - - --A...-- ___ -./\....- _________________________ ---=x= +- ___ -v--- -- - - v - - -- -- -- - - - - - -- - - -- ---- -- -- ---v-- __ _ ~ I _ _ _ _ _ _--------------------------~ ~ . C - - - - - - - - - - - - - - - - - - - - - - ______ 1 , +----------------~-- ROW:::J<~-'X x::: ====::J( X,--------- VBLANK: 1 : '--- _- __ _ _--J/ -------- VSYNC:-,-'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _~/ '- i'--1·--------------1V(Frame)--------------------l·1 Inter/aced Video Timing HBLANK:JL __ ..JLJL __ -RJ"L.. __ ~ __ .JL __ JL __ .JLJL_~.JL.JL_ --L __ ..r-- I I I I I I I I I I VBLANK:l- __ ~-- I I I I I VSYNC: I (Interlace) I 1 I I L-- I I I' Odd Field I 'I' Even Field - - - ' - - - - I I I VSYNC: I (No Interlace,l-)- - - - - - - - - - ' 3-27 pPD7220A Timing Waveforms (coni) Video Horizontal Sync Generator Parameters I~'-------------------------lH----------------------~'1 I HBLANK: _ _ ----!I ~ ____________________________ I ~r-- I 1 1 HSYNC: _ _ _ ;...I_ _. . . .r1...____-'-___________________......:.__ 1 I 1 :t 1 I I 1 I I I I ~ ~-----+-.I. ---CIA ·1 Video Vertical Sync Generator Parameters 1~·----------------------lV----------------------~ VBLANK: L 1 I' I I 1 1 VSyNC:-f!______..:.'_______________________--:-_ _ -IIl...______ I 1 1 I I 1 1 1 I I r I 1 I r- 1 1 VFP l 1 VBP ~·II_·------L/F------~-I i tBP--j -.jVS Cursor-Image Bit Flag -l 1-- 1.... 2.CCLK JUUUl 3-28 t-{EC pPD7220A Video Field Timing DMA Request Intervals ~ DMA Roquoot 1.......1 H---t---;;_=:::.=YNC=u.=:--------k-+-... - ~ AdcIttlGnllI DMA Requestlnt. . . . ~ When In Flleh Mode _ _ _ _ u. -F_ _ ...... ~ - - :::..:::" ~: v.rtlcll Front Porch BlInked U ..... Drawing Intervals ~ DrawIng Interval IJ ~ AddftkJnll Drning Interval When _RAM_._,OthorwI.. ~1n_M_ Ill188 ~ _ ......1Drawing 1.......1 3-29 pPD7220A NEe Block Diagram of a Gra ..hics Terminal r-------- ---------, .PD7220 GDC DIIO-7 eo_ Host L ___________________________ ~ Multiplane Display Memory Diagram GDe AD Ot015 Character Vld. . Output 3-30 t\'EC NEC Electronics Inc. p;PD72020 CMOS Graphics Display Controller Description corresponding patents in various countries. Problems may arise from such patents even when a different The /4PD72020 is an enhanced graphics display control- graphics display controller or discrete circuitry is used, ler resulting from the implementation of CMOS technol- and thus resolution on the basis of this product alone is ogy on the /4PD7220A not possible. Therefore, the user is requested to under- In addition to the functions of the /4PD7220A, the take as his or her own responsibility an investigation of /4PD72020 incorporates address space expansion, video measures to cope with this situation before designing an RAM control, and write mask functions. It is suitable for application system. a wide range of applications from simple display termi- nals to high-resolution graphics display devices. Ordering Information Part No. Package This data sheet covers only functions additional to those "PD72020C-S 40-pin plastic DIP of the /4PD7220A. For further details of the /4PD72020, refer to the /4PD72020 User's Manual. "PD72020GC-S-3B6 52-pin plastic miniflat Features Pin Configurations o Enhanced functions compared with the /4PD7220A - Video memory space: 2M bytes maximum 4O-Pin Plllstic DIP (1 M 16-bit words) - Control of dual-port RAM (video RAM) 2xCCLK VDD - Write-masking of any desired bit l5BiN A17 (CSR·LC4) [CSR-IMAGE] HSYNC-REF A16 (LC3) [AT.BLlNK·CLC] - Enhanced external synchronization function VSYNClEX. SYNC AD1S (LC2) - CMOS technology BLANK AD14 (LC1) o /4PD7220A-compatible functions RAs AD13 (LCO) - High-speed graphics drawing: 500 ns/dot DRQlA1S (A13) [A16] AD12 (operating at 8 MHz) DACKlA19 (A14) [A17] ADll - Selection of drawing timing: flashless!flash mode RD AD10 - Drawing of straight lines, arcs, quadrilaterals, WR AD9 AO ADS graphic characters DBo AD7 - Any kind of line specifiable DBl AD6 - Four different dot-correction modes DB2 ADS - Enlarged drawing/enlarged display DB3 AD4 - Panning and scrolling DB4 AD3 - Automatic cursor shifting DBs AD2 - Attributes assignable character by character DB6 ADl - Interlaced/noninterlaced scanning DB7 ADo - DRAM refreshing GND LPENlWAIT/DT - Master/slave operation () Character mode - Video memory control independent of main memory [) Character/graphics combined mode - 16 x 9-bit on-Chip input/output FIFO 83SL-5704A - DMA control - Single +5-volt power supply Appl ications Some application functions implemented by use of this product in conjunction with other products may infringe on U.S. Patent No. 4,197,590 and Re. 31,200 etc. held by CADTRAK Corporation of the United States, and the 150081 3-31 APD7202Q 52-Pin PIII.tic Mlnitl., NC NC AD15 (LC2) AD3 A18 (LOS) iii:f:'B[iNK- CLC) AD2 Al,7 (CSR-LC4) [CSR-IMAGE) ADl Veo ADO lIDo LPENlWAIT/DT IC IC 2XCCLK GND i5iiiN GND HSVNC-REF DB7 VSVNClEX.SVil/C DBe BLANK 12 DBS NC 13 NC ~~~~:!!~!iI;;;~&I~\(l () Character mode . : [) Character/~raphlcs combined mode 83Sl:.5705B Pin Identification Symbol Function Symbol Func.tlon liD Address select In~t for microproceesor LPENlWAIT/DT See text and tabls. 2. Interface !!!AS Row address strobe .. ADo-AD12 Address-data lines to display memory ~ Read strobe Input for miCroprocesSor AD1afLCO. AD1.vLCI. See text and table 3. Interface > • AD1s/LC2 VSYNC/EX.SYNC Vertical video sync oytput or external A1afLC3/AtBLINKOCCC. S$e text and table 3. VSYNC input A17/CSR-LC4/CSR-IMAGE WR Write strobe input for microprocessor BLANK CRT blanking output Interface DACRiA1g/Al.vA17 See text and table 1. 2xCCLK Clock Input DBo-DSr Bidirectional data bus to host GND Ground microprocessor VDO +5-volt power supply I5BIR Display memory read input flag IC Internal connection DRO/AtslAla1A18 See text and table 1. NC. No connection HSYNC-REF Horizontal video sync output NEe I-tPD72020 PIN FUNCTIONS Pin LPEN/WAIT/OT Pins on the ",PD7220A and the ",PD72020 have similar The functions of this pin depend on the setting of the DTE functions. Differences are described below. bit by the WMASK command, which validates the DT signal generation function. See table 2. Pins ORO and DACK DT (Data Transfer). When the DT signal generation The functions of these pins depend on the setting of the function is selected by setting DTE of the WMASK PN bit by the WMASK command, which validates the command, the DT signal is output to indicate the display address supply timings for the ",PD41264-type video address extension functions See table 1. RAMs (VRAMs). A13• A14. A16-A19. When the address extension function After the DT signal generation function has been se- is selected by setting PN of the WMASK command, the lected, the LPEN and WAIT functions cannot be used. upper 2 bits (of the extended address) are output in the video memory in each display/draw mode. LPEN (Light Pen Strobe). When the light pen detects a light input, the H-Ievel signal is input. After the address extension function has been selected, After the LPEN function has been selected, the DT signal the DMA-related functions cannot be used. Use the CHR generation function cannot be used. and G bits of the SYNC command to set the display/ draw mode (as with the ",PD7220A). WAIT (Drawing Wait). When a signal that remains at the H-Ievel for a period of at least four clocks is input in the DRO (DMA Request). When the DMAR or DMAW com- drawing stop mode, the ",PD72020 will stop drawing mand is executed, the DMA request signal is output. temporarily if it is executing drawing and output a This signal is input to the DRQ pin of the DMA controller. display address. After the DMA-related functions have been selected, the After the WAIT function has been selected, the DT signal address extension functions cannot be used. generation function cannot be used. DACK (DMA Acknowledge). A signal indicating DMA Pins AD13-AD15. A16. and A17 transfer is input. This signal is output from the DACK pin of the DMA controller. The functions of some other pins depend on the operat- ing mode: character, graphics, or character/graphics combined. See table.3. Table 1. Pin Functions Available Through Address Extension Pin Symbol PN Bit (WMASK Command) Action Mode I/O Pin Function o Action similar to "P07220A Output ORO Address extension Graphics Output AlB Character Output A13 Combined Output A16 o Action similar to "P07220A Input OACK Address extension Graphics Output A19 Character Output A14 Combined Output A17 Table 2. Pin Functions Available Through DT Signal Generation Pin Symbol DTE Bit (WMASK Command) Action I/O Pin Function LPE N/WAIT/ OT o Action similar to "P07220A Input LPEN/WAIT OT signal generation Output OT 3-33 #,PD72020 NEe Table 3. Multifunction Pins AD,:rAD,50 A,s. and A,7 Pin Symbol Mode I/O Function AD 13-AD I5 Graphics; combined I/O Address-data lines 13-15 to display memory LCO-LC2 Character Output Line counter bits 0-2 A16 Graphics Output Address bit 16 LC3 Character Output Line counter bit 3 AT.BLlNK-CLC Combined Output Atiribute blink and clear line counter A17 Graphics Output Address bit 17 CSR-LC4 Character Output Cursor and line counter bit 4 CSR-IMAGE Combined Output Cursor and bit-map area flag ADDED BLOCK FUNCTIONS Refer to the IlPD72020 Block Diagram and the System Configuration Diagram. Video RAM Control Additional blocks generate the DT signal, which indi- cates the display-address supply timings for the video RAMs. Data within the RAMs can be transferred to the serial register. Pin Extension Control The video memory address is extended 2 bits (with the address space extended fourfold) in each of the charac- ter, character/graphics combined, and graphics modes. These bits are used for both DACK pin and DRQ pin in each mode: A14 and A13; A17 and A16; A19 and AlB' WMASK Register This 16-bit register is used to mask the data for multi- color synchronous drawing with one word inB/4/2/1-bit configuration. IMPROVED FUNCTIONS The IlPD72020 functions have been improved while maintaining. compatibility with the ·IlPD7220A in both hardware and software. Table 4 compares functions of the IlPD72020 and the IlPD7220A. The IlPD72020 is initialized by reset input so that it can function similarly to the IlPD7220A. 3-34 ~EC #,PD72020 "PD72020 Block Diagram GDC- Video Memory Control Drawing Address Con1rollor 8 DBIN fPsl ~ IMool (16) ADO -AD12 AD14ILC1 8 AD1SILC2 A16ILCat AT.BlINK. CLC. A17ICSR.LC4f CSR.IMAGE LPENlWArriffi' Synchronizing Signal Generator +5V 0 9 8 GND 0 9 2xCCLK BLANK VSYNClEX. SYNC HSYNC.REF 8 AO 0......- -__ AD 0 > - - - - . WR o---~ DRQlA1WA13/A16 0"'---000- .I.GIIlII i5iiCRJA19/Aj4 /A 17 0 - - -__ Q Additional to I'PD7220A () Bits DBO -DB7 0"'_--000- 83SL-S6B1B 3-35 #,PD72020 NEe System Configuration Diagram; pPD72020 With Video RAM Control Signal DT Data Bus Address Bus ~ jJ.PD72020 BLANK f - - - - - - I DB7 -DBO VSYNC f - - - - - - - J AO HSYNC Memory Planes ________ _ --, ~.L --, rl---------- --, K::;-;::=============~:>ID15-DO Video RAM (4 x I1PD41264) RASHf---t I--------~-I AAs '-_.J.---------4_1 CAS 2xCCLK I-_ _ _ _ _~~R~~OE G B R WE G B l- IL ________ _ t- J ____ J 63SL-56828 3-36 NEe I'PD72020 Table 4. Comparison of pPD72020 and pPD7220A Functions "P072020 "P07220A WMASK Command WMASK command is used to validate the new functions of the WMASK command is not used. "PD72020. OB71 OBsl OBSJ OB4J OB3J OB2J OBI lOBO CMD 0 11101111101110 PI WMKL P2 WMKH P3 PN I TM I DTE I CYI I CYO I ° I ° I ° WMK Sets the WMASK register value. PN Sets the address extension function. TM Changes the initializing timing of the horizontal synchro- nization counter in the slave mode for external synchroni- zation, and sets the initializing function of the field counter. DTE Sets the function of generating the DT signal. CY Set the OT signal output mode and the BLANK signal mask. LPEN Command Light pen address (LAO) is extended 2 bits by setting PN of the Ught pen address (LAO) extension function is not available. WMASK command. PN Same as IIP07220A ° EAO is extended 2 bits. OB71 OBsl OBsl OB41 OB31 OB21 OBI I O.BO OB71 OBsl OBsl OB41 OB31 OB21 OBI lOBO CMO 1 11101010101010 PMD 1 11101010101010 01 LAOL Dl LADL 02 LADM D2 LADH 03 X I X I X I X I LADH 03 X I X I X I X I X I X I LAOH CSRW Command Oraw execution address (EAD) is extended 2 bits by setting PN of Draw execution address (EAD) extension function is not available. the WMASK command. PN Same as IIP07220A ° ·1 EAD is extended 2 bits. Character Mode OB71 OBsl OBsl OB41 OB31 OB21 OBI lOBO OB71 OBsl OBsl OB41 OB31 OB21 OBI lOBO PMO PI ° I 1 10101110101 1 EADL pMD PI °I I°I°I 1 EADL 1 I°I°I 1 P2 °I EADH P2 °I°I°I EADH 3-37 ~PD72020 NEe Table 4. Comparison ofpPD72020 and pPD7220A Functions (cont) "P072020 "P07220A CSRW Command (coot) Character/Graphics Combined Mode (Character Display) OB71 OB61 OBsl OB41 OB31 OB21 OBl lOBO OB71 OB61 OBsl OB41 OB3 I OB21 OBl lOBO CMD Pl 011101011101011 EADL PMD Pl ° I 1 I 0 I ° I 1 EADL I ° ° I I 1 P2 EADM P2 EADH P3 ° ° ° ° I I I I 0 I ° I EADH Character/Graphics Combined Mode (Graphics Display/Drawing) OB71 OB61 OBsl OB4 I OB3 I OB21 OBl lOBO OB71 OB61 OBsl OB41 OB31 OB21 OBl lOBO CMD 011101011101011 CMO 011 I ° ° I I 1 I 0 I 0 I 1 Pl EADL P1 EADL P2 EADM P2 EADH P3 P4 I I dAD I WGIOIOIOlololoJo ° ° EADH P3 dAD IWGIOIOIO Graphics Mode OB71 OB61 OBsl OB4 I OB3 I OB21 OBl lOBO OB71 OB61 OBsl OB41 OB3 I OB21 OBl lOBO LiMD 01110101110Jo[1 CMD 011101011101011 Pl EADL Pl EADL P2 EADM P2 EADM P3 dAD I EADH P3 dAD I WG I ° I EADH P4 WG I 0 I 0 I 0 I 0 I ° ° I I 0 CSRR Command Draw execution address (EAD) is extended 2 bits by setting PN of Draw execution address (EAD) extension function is not available. the WMASK command. PN 0 Same as "PD7220A EAD is extended 2 bits. OB71 OB61 OBsl OB41 OB31 OB21 OBl lOBO OB71 OB61 OBsl DB41 DB31 OB21 OBl I DBO CMD Dl 11 1 1 1 1 0 EADL 1 0 101010 LiMD D1 111 I 1 I ° ° °I ° ° I EADL 1 1 D2 EADM D2 EADM D3 X I X I X I X I EADH D3 X I X I X I X I X I X I EADH D4 dADL D4 dADL DS dADH DS dADH 3-38 NEe "PD72020 Table 4. Comparison of pPD72020 and.pPD7220A Functions (cont) "PD72020 "PD7220A SCROll Command Display start address (SAD) is extended 2 bits by setting PN of the Display start address (SAD) extension function is not available. WMASK command. PN 0 Same as "PD7220A SAD is extended 2 bits. Character Mode Built·ln RAM Map MSBI 1 1 1 1 1 I LSB MSBI J I I 1 1 1 LSB RA Contents or RAM RA Contents or RAM 0 SAD1L 0 SAD1L 1 o I SAD1H 1 a 1 a 1 0 1 SAD1H 2 SL1L 1 0 1 0 1 01 0 2 SL1L 1 a 1 0 I0 10 3 * 1 0 I SL1H 3 * I 0 I SL1H 4 SAD2L 4 SAD2L 5 o 1 SAD2H 5 o 1 a 1 a 1 SAD2H 6 SL2L 10JOJot o 6 SL2L 1 0 1 a 1 a 1 0 7 * 1 0 1 SL2H 7 * 1 0 1 SL2H 8 SAD3L 8 SAD3L 9 o I SAD3H 9 o 1 0 1 o 1 SAD3H A ,SL3L 1 0 1 a 1 0 1 0 A SL3L 1 0 1 a 1 0 1 0 B * 1 0 I SL3H B * La 1 SL3H C SAD4L C SAD4L D o 1 SAD4H 0 o 1 0 1 o 1 SAD4H E SL4L 1 0 1 01 0 1 0 E SL4L 1 a 1 0 1 0 1 0 F * 1 0 1 SL4H F * 1 0 1 SL4H * DAD+2 * DAD +2 3-39 "PD72020 NEe Table 4. Comparison 01 pPD72020 and pPD7220A Functions (conI) ,.PD72020 ,.PD7220A SCROU Command (cont) Character/Graphics Combined Mode (Character Display) Built·ln RAM Map MSBI 1 1 1 1 1 1 LSB MSBI 1 1 1 1 1 1 LSB RA Contents of RAM RA Contents of RAM 0 SAD1L 0 SAD1L 1 SAD1M 1 SAD1H 2 SL1L 1 0 1 0 1 SAD1H 2 SL1L 1 0 1 0 1 0 1 0 3 * 1 0 1 SL1H 3 * 1 0 1 SL1H 4 SAD2L 4 SAD2L 5 SAD2M 5 SAD2H 6 SL2L 1 0 I 0 I SAD2H 6 SL2L I 0 I 0 I 0 I 0 7 * 1 0 1 SL2H 7 * 1 0 1 SL2H 8 SAD3L 8 SAD3L 9 SAD3M 9 SAD3H A SL3L 1 0 1 0 1 SAD3H A SL3L 1 0 1 0 I 01 0 B * 1 0 1 SL3H B * I 0 I SL3H C SAD4L • C SAD4L 0 SAD4M' 0 SAD4H E SL4L 1 0 1 0 I SAD4H E SL4L J 0 I 0 1 01 0 F * 1 0 1 SL4H F * 1 0 1 SL4H * DAD+2 * DAD+2 Character/Graphics Combined Mode (Graphics Display/Drawing) Built-In RAM Map MSBI 1 1 1 1 1 1 LSB MSBI 1 1 1 1 1 1 LSB RA Contents of RAM RA Contents of RAM 0 SAD1L 0 SAD1L 1 SAD1M 1 SAD1H 2 SL1L j 0 J 0 1 SAD1H 2 SL1L 1 0 1 0 1 01 0 3 • 1 1M 1 SL1H 3 * 1 1M 1 SL1H 4 SAD2L 4 SAD2L 5 SAD2M 5 SAD2H 6 SL2L 1 0 1 0 1 SAD2H 6 SL2L 1 0 1 0 1 01 0 7 * 1 1M 1 SL2H 7 * I 1M L SL2H * DAD +2 * DAD+2 t-rEC I'PD72020 Table 4. Comparison ofpPD72020 and pPD7220A Functions (conI) ,.PD72020 "PD7220A Scroll C"""".nd (t:OIIf) Graphics Mode Built-In RAM Map MSB! J j I I I I LSB MSBI I I I I I I LSB RA Contents or RAM RA Contents or RAM 0 SAD1L 0 SAD1L 1 SAD1M 1 SAD1M 2 SL1L I SAD1H 2 SL1L I 0 I 0 I SAD1H 3 * 1 1M ! SL1H 3 * I 1M I SL1H 4 SAD2L 4 SAD2L 5 SAD2M 5 SAD2M 6 SL2L I SAD2H I! SL2L I 0 I 0 I SAD2H i * 11M I SL2H 7 * I 1M I SL2H • DAD+2 * DAD+2 3-41 jlPD72020 NEe COMMANDS drawn data bit corresponding to the WMASK register bit set to 1 is affected by drawing. The ItPD72020 supports all commands ofthe ItPD7220A. Although command names are different, opcodes are the When the RESET command is input, the ItPD72020 is same. The ItPD72020 can activate the software created set to this mode. for use with the ItPD7220A. PN Bit. PN is used to set the address extension function The improved functions of the ItPD72020 can be used by for the video memory. setting the new WMASK command. Once the RESET (1) When PN = 0, operation is similar to the ItPD7220A. command is input, however, the WMASK command Thus, the address extension function cannot be becomes inactive and the ItPD72020 maintains the same used. functions as those of the ItPD7220A. When the RESET command is input, the ItPD72020 is This section describes the WMASK command as well as set to this mode. the SCROLL, LPEN, CSRW, and CSRR commands, (2) When PN = 1, the video memory address is extended which are affected by the setting of the WMASK com- 2 bits (with the address space expanded fourfold). mand. The DRQ/A18/A1s1A16 pin and the DACK/A1g/Al4fA17 WMASK Command pin output the upper 2 bits of the extended address. The DMA-related functions cannot be used. This new command (figure 1) controls four new func- tions. The address to be output depends on the display and drawing modes. See table 1. The address space is • WMASK register setting shown in table 5. • Address extension Table 5. Address Space With Extended Address • Selection of additional functions in the external slave Character Character/Graphics Graphics Mode Combined Mode Mode mode Address 15 bits 18 bits 20 bits • DT signal generation space (32Kwords) (256K words) (1M words) Figure 1. WMASK Command Format As the address space is expanded, the following com- I DB6 I DB5 I DB4 I DB3 I DB2 I DB1 I DBO DB7 mand bits are also extended. CMD 011 101 1 I 1 1 0 1 1 I 0 • LAD bit of LPEN command P1 WMKL • EAD bit of CSRW command P2 WMKH • EAD bit of CSRR command P3 PN I TM J DTE I CY1 J CYO I o J 0 I 0 • SAD bit of SCROLL command WMK Bit. The ItPD72020 is equipped with the conven· Refer to the description of each command for details. tional MASK register and a 16-bit WMASK register. The TM Bit. TM has been added to solve the following two WMK bit is used to set this WMASK register. problems with the ItPD7220A. The 16-bit WMASK register is used for write mask of the multicolor, simultaneously-drawn data with one word set • Because the vertical and horizontal counters are initialized at the start of VFP and HFP, respectively, in 8-, 4-, 2- and 1-bit formats. Each bit of the WMASK when the external synchronizing signal is input to the register corresponds to each bit of the drawn data. ItPD7220A, horizontal positioning cannot be readily (1) When a WMASK register bit is set to 0 by the WMK, done for synchronization with the ItPD7220A by input- the drawn data bit corresponding to the WMASK ting a synchronizing signal from the external device. register bit set to 0 is not affected by drawing. (2) When a WMASK register bit is set to 1 by the WMK, operation is similar to the ItPD7220A. Thus, the 3-42 ,..,EC "PD72020 • When the "PD7220A is operated in the interlace mode, When TM = 0, the function similar to the external input of the external synchronizing signal causes no synchronizing function of the "PD7220A is carried out. effect on the field counter. Thus. if the synchronizing When the RESET command is input, the "PD72020 is set signal is unconditionally input from the external de- to this mode. vice when the "PD7220A is in the second field, the When TM = 1, the follOWing two operations differ from second and. first fields are reversed in subsequent those of the "PD7220A. frames and the fields do not conform with the external (1) When the RESET command is executed or the device. EX.SYNC (external synchronizing signal) is input, When the "PD72020 operates in the slave mode for the horizontal counter is reset at the rising edge of external synchronization, the setting of the TM bit will the HS. See figure 2. cause the "PD72020 to operate differently from the (2) When the RESET command is executed in the inter- "PD7220A in the following operations. lace mode or the EX.SYNC signal is input, the field counter is unconditionally reset to the first field • The timing of initializing the horizontal. synchronous mode. counter is changed. Thus, the VSYNC signal in the second field should be • The initializing function of the field counter is vali- removed externally so that the synchronizing Signal dated. applied to the EX. SYNC pin serves as the VSYNC signal in the first field On the interlace mode). Flgul'll 2. Hodzontlll Counter Reset Timing Sli...---_ _--.l1 ,, ,, ,, ,: :, ,: I I I I I-HS-!-HBP'....;..·>-------ClR ' • I Fp.! ---i------------+:---;' I I : : ------. . t:~--;.:---: r- - - - - - - 1/$ ------~l;- ': ?, 1-- - - - - - - - ~ .------t.-- ......______________--' • Reset posIdon when TM • 1 o Reset pashlon when TM. 0 3-43 #PD72020 OlE, CY1; CYOBit$.To prevent the display screen from The following two modes,are avai,lable by,setting CY1 or becoming blur.red' during drawing operations, ,the CYO(table 6). . ' ,',' ,,' "PD7220A norrnally performed drawing in theflashless (1) GDC mode 0 operationJs similar to the "P07220A. drawing mode. Thus, the drawing period was limited and When the'RESET command, is input, the "PD72020 is it was difficult to improve the drawing efficiency. ?' • " • set to this mode. To solve this problem, video RAMs can be used for the (2) GDC mode 1 operation is' similar to G DC mode 0 "PD72020.Through the use of VRAMs, both drawing and except if the "PD72020 starts draWing operations display can be carried out simultaneously in the flashless during the display period, the BLANK signal is not drawing mode'withthe resultthat the drawing efficiency set to H even in the flash screen mode. can be improved. OrE, CY1,'anQ CYO are llsed to control the "PD41264-type VRAMs and the BLANK signal. OlE =1. The DT signal functions are enabled and the DT signal is output from the LPEN/WAIT/DT pin. The DT Table 6. DT Signa' Output Modes signal is used for display timing when the display memo DTE CY1 eyO' Function ory consists of dual-port video RAMs. the VRAMs allow drawing during both drawing and display-cycles. 0 0 0 GOC mode 0 0 0 GOC mode 1 (BLAN K si'gnal mask t) When DTE is set to 1, the "PD72020 internally tracks the display address and outputs itand the DT signalllnder ,0 " 1 0 Inhibited either of two conditions. 0 1 Inhibited (1) At the start of every horizontal scan line (figure 3). 0 0 OT signal output mode 0 (BLANK sig· nal mask t) (2) When the lower 8 bits of the display address (DAD) 0 Inhibited internllllcounter are O. 0 D'i' signal output mode 1 (BLANK sig- The starting display address should be set before setting nal mask t) DTE to 1. The "PD72020 will temporarily stop a drawing D'i' signal output mode 2 (BLANKslg- ,,operation before issuance of the Of signal, as in the case nal mask t) of the "PD7220A WAIT function. t If the I4P072020 has ,started drawing operations in the display mode, the BLANK Signal is not set to H. The Of signal output timing depends on the setting of the 1M and DAO+2 bits of the SCROLL command. CYO andCY1 determine which of the"following three DT OlE = O. Operation is similar to the "PD7220A. The D'f signal output modes is used. ' signal functions cannot be used. The LPENJWAIT/DT pin performs the LPEN ,or WAIT functions. 3-44 NEe "PD72020 Mode 0 With OTE = 1_ In mode 0, the DT signal is (2) When the lower 8 bits of the DAD counter change output as shown in figure 4. from FEH or FFH to OOH. (1) At the start of every horizontal scan line. Additionally, the DT signal active state in mode 1 has the following qualifications. (2) When the lower 8 bits of the DAD counter change from FEH or FFH to OOH. (1) DT may become active in succession. Additionally, the DT signal active state in mode 0 has the (2) When the lower 8 bits of the DAD counter change to following qualifications. OOH in succession, DT is active only during the first cycle. (1) DT may become active in succession; for example, when the DAD counter changes to OOH just after the (3) DT can become active during HFP, HS, H BP, VFP, VS, start of a horizontal scan line as in figure 4C. or VBP periods. (2) When the lower 8 bits of the DAD counter become (4) DT will not become active while the DMA refresh OOH in succession, DT becomes active during the operation is disabled (D-bit of SYNC command set to first cycle only. See figure 4D. 1). (3) DT will not become active during HFP, HS, HBP, VFp, (5) DT becomes active every four cycles. VS, or VBP periods. = Mode 1 With DTE = 1_ In mode 1, the DT signal is ouput as shown in figure 5A. (1) At the start of every horizontal scan line. Mode 2 With DTE 1_ In mode 2, the DT signal output is the same as described for mode 1 except DT is active every eight cycles instead of every four cycles. See figure 5B. II Figure 3. DT Signal Output for Eat;h Horizontal Line HS HBP Display Period - HSYNC 1\ BLANK \ Data Transfer Cycle OT L- CGOCOperations 1 E4 E2 E1 1 E21 E31 E4 0111 OT21 01-1 02-1 E1 1 E21 E3 E4 01- 02- OT1 OT2 01- 02- E1 E2 Symbols OT Display cycle (data transfer cycle). OT signal is active. 0- Dummy display cycle. 01 signal is Inactive. E Drawing cycle. If no data is drawn. display cycle is set. 83SL-S707B 3-45 ---------._--- #,PD72020 ~EC Figure 4. DT Signal Output, Mode 0 (Sheet 1 of 2) A. Bit 1M = 0 and Bit DAD+2 = 0 AD1s - ADO (H) xx xx F8 F8 F8 F9 FA FB FC FD FE FF 00 01 02 03 04 VSYNC " - HSYNC HS HBP BLANK \ DT L/ ~ II Cycle E D- DT D- E E E DT D- E E B. Bit 1M = 0 and Bit DAD+2 = 1 AD1s - ADo (H) xx xx FE FE FE 00 02 04 06 08 OA OC OE 10 12 14 16 VSYNC " HSYNC HS HBP r-- BLANK \ 1\ V Cycle E D- DT DT D- E E E E E Symbols DT Display cycle (data transfer cycle). DT signal is active. D- Dummy display cycle. DT signal is inactive. E Drawing cycle. If no data is drawn, display cycle is set. 83SL-S708B 3-46 NEe p.PD72020 Figure 4. DT Signal Output, Mode 0 (Sheet 2 of 2) c. BH 1M =1 and Bit DAD+2 =0 ADts- ADo (H) xx xx FF FF FF FF 00 00 01 01 02 02 03 03 04 04 05 VSYNC HSYNC ~ H HBP- r- BLANK \ \- I 1'--I! Cyde E D- OT D- DT D- E E E E E D_ BH 1M =1 and Bit DAD+2 =1 APis-AOO(H) xx XX Fa Fa Fa Fa FA FA FC FC FE FE 00 00 02 02 04 VSYNC HSYNC ~ H HBP- r----- . BLANK \ ILl! '--V Cyda E Dr D- E E E OT D- E E ",PD72020 ttlEC Figure 5. DT Signal Output. Mode 1 Bnd Mode 2 A. Mode1 AD1s - ADO (H) xx XX FS FS FS F6 F7 Fa F9 FA FB FC FO FE FF 00 01 VSYNC HSYNC HS , HBP :-- BLANK \ [3] [1] [3] [3] [2] [3] ~II L / ~V I\-!V \ Cycle E OT 0' OT 0' E OT 0' E OT 0' 0' OT OT B. Mode2 AD1s- ADO (H) xx XX FS FS FS F6 F7 Fa F9 FA FB FC FO FE FF 00 01 VSYNC HSYNC """""\ H HBP r--- BLANK \ [4] [IJ [2] - [4] ILV LV l\- I/ L II Cycle OT 0' 0' OT 0' E E E OT 0' 0' OT 0' Symbols OT Display cycle (data transfer cycle). OT signal is active 0' Dummy display cycle. Dr signal is inactive. E Drawing cycle. If no data is drawn, display cycle is set. [IJ OT becomes active at display cycle start. [2J Dr becomes active when counting of the DAD lower a bits has terminated (FEH or FFH changes to DOH). [3] OT becomes active every four cycles as controlled by counter that resets at diplay cycle start. [4] OT becomes active every eight cycles. 83SL-5710B 3-48 t-rEC "PD72020 LPEN Command Figure 7. CSRR Command Format When the address extension function is set by the I DB6 I DB5 I DB4 I DB31 DB2 J DBl I DBO DB7 WMASK command (with PN set to 1). the upper 2 bits of the light pen address (LAD) in the LPEN command are vMO 111 I 1 I 0 I 0 1 0 1 01 0 01 EAOL extended and a maximum of 20 bits can be used. 02 EAOM When PN = O. the light pen address (LAD) is the same as with the I£PD7220A. 03 xlxlxlxl EAOH 04 dAOL The LPEN command format with the extended LAD is 05 dAOH shown in figure 6. SCROLL Command Figure 6. LPEN Command Format DB7 I DB6 I DB5 I DB4 I DB3 I DB2 I DBl I DBO When the address extension function is set by the WMASK command (with PN set to 1). the upper 2 bits of PMO 1 I 1 I 0 I 0 I 0 I 0 I 0 I 0 the display start address (SAD) in the SCROLL com- 01 LAOL mand are extended. ' 02 LAOM When PN = O. the display start address (SAD) is the 03 X I x I x I x I LAOH same as with the I£PD7220A. The SCROLL command format is shown in figure 8. The CSRW Command built-in RAM map with the extended SAD is included in When the address extension function is set by the table 4. WMASK command (with PN set to 1). the upper 2 bits of the drawing execution address (EAD) in the LPEN com- Figure 8. SCROLL Command Format mand are extended. When PN = O. the drawing execution address (EAD) is the same as with the I£PD7220A., Address extension causes the WG bits to be positioned differ:ently in the character/graphics combined mode (character display/drawing) orthe graphics. mode. The CSRW command formats are included in table 4. CSRR Command When the address extension function is set by the WMASK command (with PN set to 1). the upper 2 bits of the drawing execution address (EAD) in the LPEN com- mand are extended and a maximum of 20 bits can be used. When PN = O. the drawing execution address (EAD) is the same as with the I£PD7220A. The CSRR command format with the extended EAD is shown in figure 7. 3-49 #,PD72020 ttlEC Absolute Maximum Ratings AC Characteristics TA = +25"C TA = -10 to +70"C; Voo = +5.0 V ±10% Supply voltage, Voo -0.5 to +7.0 V Item Symbol Min Max Unit Conditions Input voltage, VI -0.5toVoo + 0.3 V Clock 2xCCLK Output voltage, Va -0.5 to Voo + 0.3 V Clock cycle Icy 125 10,000 ns Operating temperature, TOPT -10 to +70"C High-level clock IcH 52 ns width Storage temperature, TSTG - 65 to + 150"C Exposure to Absolute Maximum Ratings for extended periods may Low-level clock IcL 52 ns affect device reliability; exceeding the ratings could cause perma- width nent damage. Clock ri se ti me IcR 15 ns Clock fall time IcF 15 ns DC Characteristics TA = -10 to +70"C; Voo = +5.0V ±10% Read Cycle Parameter Symbol Min Max Unit Conditions Address setup time tAR 0 ns to RD ~ Low-level input VIL -0.5 0.8 V Except 2xCCLK Address hold time tRA 0 ns voltage -0.5 0.6 V 2xCCLK from RD i High-level input VIH 2.2 Vcc + 0.5 V Except RD pulse width tRRI tROt ns voltage 2xCCLK, WR +20 3.5 Vec + 0.5 V 2xCCLK Data output delay tROt 55 ns CL= 50 pF 2.5 V WR time from RD ~ Vcc + 0.5 Low-level 0.45 V Data float delay tOF 0 55 ns VOL IOL = 2.2 mA output voltage time from RD i High-level RD pulse cycle tRCY 4.5 Icv ns DE = 0 VOH 0.7 Voo V IOH = -400 p.A output voltage 12 Icv ns DE = 1 Low-level input IUL -10 p.A VI = OV;. RD recovery tRV 2tcv ns Also valid in leakage current except time DMAcycle VSYNC, DACK ~iteCycle -500 p.A VI = OV; VSYNC, DACK Address setup time tAW 0 ns to WR ~ High-level input IUH 10 p.A VI = Voo; leakage current except Address hold time tWA 10 ns LPEN/WAIT/DT from WR i 500 p.A VI = Voo; WA pulse width tww 60 ns LPEN/WAIT/DT Data setup time to tow 45 ns Low-level ILOL -10 p.A Vo = OV WAi output leakage Data hold time two 10 ns current from WA i High-level ILOH 10 p.A Vo = Voo WA pulse cycle twcv 4.5 Icv ns output leakage current WR recovery time tRV 2tcv ns Also valid in DMAcycie Supply current Icc 70 mA DMA Read Cycle Capacitance DACK setup time tAKR 0 ns TA = + 25"C; Voo = GND = 0 V to RD ~ Item Symbol Min Max Unit Condition DACK hold time tRAK 0 ns from RD i Input CI 15 pF f = 1 MHz; RD pulse width ns Output Co 20 pF o V except for tRR2 tR02 +20 tested pin Input/output CliO 20 pF Data output tR02 2lcv ns CL=50pF Clock input delay time from +60 Cc 20 pF RD~ 3-50 t-IEC p.PD72020 AC Characteristics (cont) AC Characteristics (cont) TA = -10to +70°C; VDD = +5.0 V :tl0% TA = -10 to + 70°C; VDD = +5.0 V ±10% Item Symbol Min Max Unit Conditions Item Symbol Min Max Unit Conditions DMA Read Cyc/e(conf) /nputCyc/e DREQ output delay leRO 75 ns CL =50pF Input signal setup !Pc 10 ns time from time to 2xCCLK i 2xCCLK i ns Input signal puls,e tpp ley DREQ setup time 1f10AK 0 ns width to DACK~ Note: Performs two-dimensional rectangular area assignment DREQ ~ delay time 1.5 ns CL =50pF whereby the dc parameter is set to other than O. When byte- tAKRO from DACK~ by-byte transfer is specified, the value is 5.5 ley. lev + 80 DACKpulse 4.5 ley ns See Note. Voltage Thresholds for Timing Measurements tAKCV cycle High-level DACK width tAKH ley ns Inputs 2.4 0.45 =X 2 .2 0.8 2.2)C 0.8 Low-level DACK tAKL 2.5 lev ns II width DMA Ht"ife Cycle DACK setup time tAKW 0 ns Outputs =X 22 . 0.8 2.2)C 0.8 to WR~ DACK hold time twAK 0 ns fromWRi 3.5 3.5 2icCCLK Input Read/llodifyJVirite Cycle 83SL-572OA Address/data leA 15 80 ns CL=50pF delay time from 2xCCLKt Address/data float leAF 15 80 ns CL =5OpF delay time from 2xCCLKt Data setup time to Ioc 0 ns 2xCCLK~ Data hold time leDF leBI ns from 2xCCLK ~ DBIN delay time leBI 15 60 ns CL=50pF from 2xCCLK ~ HAS t delay time leRSH 15 60 ns CL=5OpF from2xCCLK RAS t delay time leRSL 15 50 ns Q=5OpF from 2xCCLK .j. High-level HAS If1SH 1/3 ns width ley Low-level RAS tRSL 1.5 ley ns width -30 Address setup time tARSL 30 ns to ARSL.j. Display Cycle Output signal leo 70 ns CL=50pF delay time from 2xCCLKj 3-51 ~PD72020 NEe Timing Waveforms Clock 2x.CCLK 83SL-S7!3B Read Cycle AO Invalid ~---------------tRCY----------------~ DB7 -DBo ---------------+< f------------tRCY------------------! 83SL-5716B Write Cycle AO Valid ".1 ~----------------twCY ----------------~ DB7 -DBa Invalid Invalid 1-1------tWCY - - - - - - - 1 · 1 83SL·5717B 3-52 NEe ILPD72020 Timing Waveforms (cont) Read/Write Recovery S3SL·5718B DMA Read Cycle 2xCCLK DREO tAKRO i*--tROAK- tAKL l-tAKH~ t '" I'-- tAKR RR2 • '" tRAK tRD2 ~ DB7 - DBO I Invalid Valid t. \ r: tAKCY 83SL-S7148 3-53 #,PD72020 NEe Timing Waveforms (cant) DMA Write Cycle 2xCCLK DREQ 83SL-571SB Read/MOdify/Write Cycle -_*';-.--E2--......o---E3----+_-- 2xCCLK Valid ADIS-ADo --+--(1 Output Data 5BIN ---+---+-~r-------, 83SL-5711B 3-54 NEe J,tPD72020 Timing Waveforms (cont) Display Cycle 2xCCLK A01s-AD O --t---(I ICRSH HSYNC-REF BLANK VSYNC LCO-LC3 CSR CSR-IMAGE AT .BLlNK-CLC i5'f 83SL-5719B Input Cycle 2xCCLK LPEN EX. SYNC _ _ _ _ _ _ _ _-' 83SL·5712B 3-55 "PD72020 ~EC 3-56 NEe NEG Electronics Inc. "PD72022 Intelligent Display Processor Description o CRT control signal programmable variables - Horizontal display time, retrace time (left and The ~PD72022 Intelligent Display Processor (lOP) per- right), sync pulse width forms CRT display control and image display data pro- - Vertical display time, retrace time, sync pulse cessing for text, static pictures, and sprites. width - Rasters/line Features - Blinking time o Three display modes: text, semigraphics, graphics o Variable display resolution o Four-way horizontal split-screen display - Horizontal: 640 dots max (22-MHz max dot rate) o Smooth-scroll control (vertical, horizontal) - Vertical: 512 dots max o Sprite image display - Display signal (4 bits/dot) serial output o 16-color display o Horizontal and vertical external synchronization o Attribute addition (7 max) o 22 screen-control/drawing commands o Interlaced display through external synchronization o CMOS o Up to 256K x 16-bit word video memory addressing o Single + 5-volt power supply o DRAM refresh o Optional dual-port RAM o Bus arbitration control Ordering Information Part Number /4PD72022GF-3B9 Package SO-pin plastic mlniflat II /4PD72022L 58-pin PLCC 50071 3-57 #,PD72022 t-IEC Pin Configurations 68-PinPLCC ~ ~ ~ ~ ~ v M N ~ ~ ~ ~ ~ ~ ~ ~ GNP o VwL .LPEN VWH iiEsET VADo VRD VAD 1 SRD VAD 2 INT VAD3 l5MARONAKiBuSRo VAD4 READY VADs AD VADa WR VAD 7 Cs VADa DMAAKNROIBUSAK VDD ASTB GND AD7 VADg ADa VAD10 ADs VAD 11 NC NC 83vQ·5910B tttfEC p.PD72022 BO-Pin PI•• tic .lInlfl.t X ~ ClI~ I~ ~ 8 xO U Xl; x6' -' Cl Cl Cl ~ I'" ClClCl"''''I-ClZUC:'': a.a..za.Q..m»>:::r:> (!)zcnc..> ClK RAS GND VWl GND VWH lPEN VADo RESET VAD1 VRD VAD2 SRD VAD3 INT VAD4 DMARONAKlBUSRO NC READY VADs NC NC RD VAD6 NC NC WR VAD 7 cs VADa i'iMiiAKiVROIBUSAK VDD ASTB GND NC VADg AD7 VAD10 AD6 VAD11 ADS NC VDD NC AD4 VAD 12 GND VAD13 S3vQ.S909B 3-59 pPD72022 ttt{EC Pin Identification Symbol I/O Signal Function Symbol I/O Signal Function Host System Inte,fsce VRD Out Video Memory Read. Strobe signal to read data from video memory. ADO-AD7 I/O Three-state, bidirectional address/data bus. See table 1. VWH, Out Video Memory Write, High and Low. Strobe VWL signals to write data into video memory. ASTB In Address Strobe. Read address information from AD()"AD7' CRT Inte,fsce In Bus Acknowledge. While this signal is active, BLANK Out Blanking display signal. IIPD72022 controls the system bus. DTCLK I/O Dot Clock. During Internal DTCLK mode, timing Out Bus Request. Request for system bus control. pulses derlvad by dividing CLK are output. CLK In System clock. During external DTCLK mode, the internal scanning subsystem derlvas a reference clock In Chip Select. Enables AD and WFI signals. from the DTCLK Input. In DMA Acknowledge. Enables DMA cycle. I/O Horizontal Sync. Signal output when Internal Out DMA Request. sync Is specified; signal input when external sync Is speciflfed. INT Out Interrupt request to host processor. LPEN In Ught Pen Strobe. The DTCLK mode is specified In Control signal for reading data or status flag from by the LPEN level when the RESET signal level IIPD72022. rises. READY Out Indicates IIPD72022 may be accessed for memory LPEN DTCLKMode read/Wrlte cycle or I/O read/write cycle. High Internal DTCLK output In Initializes p.PD72022. Low External DTCLK input Out Video Memory Acknowledge. Indicates host PXDo-PXD3 Out Pixel Data 0-3. Display signal (four bits/dot) in processor has direct control of video memory. sync with DTCLK In Video Memory Request. Host processor requests VSYN I/O Vertical Sync. Signal output when internal sync is direct control of video memory. specified; signal input when external sync Is specified. In Control Signal for writing data, commands, or parameters Into p.PD72022. Displsy DBts Contl'Ol IIfdeo lIfImory Inte,fsce DCo, DC1 Out Display Cycle. Specifies display processing cycle when p.PD72022 is accessing video memory. ~ Out Column Address St robe. DCl DCo Display Cycle MOD In Mode change Signal. See RAt. 0" 0- Other than Indicated below RAe-RAI Out Raster Address 0-1. RAe and RAI are also used for o 1 Static picture display cycle 1 0 Sprite display cycle DMo and DM1, respectively. See Display Data Control In this table. 1 1 Screen start cycle See Video Memory Interface, RA2 and RA3. RAz-~ Out Raster Address 2-3. RA:! and R~ are also used for DCo and DC1' respectively. See Display Data DMo, Out Display Mode. Specifies the static picture display Control In this table. DMI mode. Raster Address 4. RAt Is also used for MOD Input. DMI DMo Display Mode RAt Out m Out Row Address Strobe. 0" x Textmode 1 0 Semlgraphlcs mode SRCLK Out Serial Read Clock. Used with optional dual-port 1 1 Graphics mode RAM. See Video Memory Interface, RAe and RAI' gAO Out Serial Read. Actlva while data Is read from serial port with optional dua~port RAM. Othe, Pins GND Ground VAD()" I/O Video Memory Address 0-15 output; DRAM VAD15 refresh addresss output; data Input/output. Vee +5-volt power supply VAI6" Out Video Memory Address 16-17. Also used for RAe, NC No Connection VA17 RAI 3-60 t-fEC p.PD72022 "PD72022 Block Diagram Host Processor Control Display Control Unit Interface Unit Processor Unit Registers ~ VWl RAo-RA4 INT lOUT BUFI VADO- READY DMAfiQNAK! I STATUS I VAD15 BUSRQ ~NR~ ~lI-L--------~ SRClK BUSAK lPEN PXDo- RESET_ PXD3 VDD- HSYN GND- ClK -----------.~ DTClK BLANK '83SL-5930B Tsble 1. Functions of Addrellll/DBls Bus AD".AD, "C! 'Oii.Wd{ Wit FiD AD2 ADO Bus Function 1 x x x x x Floating (hIgh impedance) 0 0 0 o "PD72022 command Input 0 "PD72022 parameter input o 0 0 x x x Write operation via DMA transfer 0 0 0 o "PD72022 status output 0 "PD72022 parameter output o 0 0 x x x Read operation via DMA transfer x - Don't care 3-61 "PD72022 I4PD72022 In a Video Display System 101M IlP072022 lOP RD RD WFI WR ASTB ASTB 4 1 PXDo-PXD3 Color -4--- 16124-kHz G MonitOr ~:r HOS1CPU Latch ~ DTCLK Palette DtA B TV f1I'D70108 BLANK 8 ADo -AD? r-- I-- 12 r-- I-- VSYN AS -A19 ~ ~ ADO - AD-, HSYN RAS CAS INT I-- f1I'D71059 - ViID Control INTAK Interrupt I-- r-:- Controller - r---- INT Gate VWH Vw[ READY - - i-'- READY YAK I-- 20 RAo-RA4 :J VADO-VAD15 - Main Memory , r--_ I-- r--n - ,, VRQ CS - lb~:r r-- 5 p Character Ge:,:tar I La~ I~ ~-~ V- 0 ~ Bus Buller t IA I~ I Fif J5l Not.: ..- t 16 Although the IlPD72022 can execute an required video memory control operations, this sysiem example uses bus arbitration ~ Bus Buller It::= ~ 00-015 for enabling direct video memory access by the host processor. L t Video M• P • Memol)' 16 Latch Mux ~ AO -A'll -.I AS -A15 LJ U 3-62 NEe "PD72022 Absolute Maximum Ratings DC Characteristics TA = +25'C TA = -10 to +70'C; voo = +5 V :tl0% Power supply voltage, Voo -0.5 to +7.0 V Parameter Symbol Min Max Unit Conditions Input voltage, VI -0.5 to +7.0 V Input low Vil -0.5 0.8 V Note 1 voltage Output voltage, Vo -0.5 to +7.0 V -0.5 0.6 V Note 2 Operating temperature, TOPT -10 to +70'C Input high VIH 2.2 Voo + 0.5 V Note 1 voltage Storage temperature, TSTG -65 to +150'C 3.5 Voo + 1.0 V Note 2 Output low VOL 0.45 V 10l = 2.2 mA Capacitance voltage TA = +25'C; voo = GND = OV; f = 1 MHz Output high VOH 0.7Voo V 10H = -400p.A Parameter Symbol Min Max Unit Conditions voltage Input CI 10 pF Unmeasured pins Input low Ilil -10 p.A VI = OV capacitance returned to 0 V leakage current ~---------------------- Output Co 20 pF Input high IliH 10 p.A VI = Voo capacitance leakage current Input/output 20 pF Output low IlOl -10 p.A VI = OV capacitance leakage current Clock input 20 pF Output high IlOH 10 p.A VI = Voo capacitance leakage current Power supply 100 150 mA current Notes: (1) Except ClK, DTClK, and RESET (2) ClK, DTClK, and RESET AC Characteristics TA = -10to +70'C; voo = +5 V :tl0% Parameter Figure Symbol Min Max Unit Conditions Clock System clock cycle 2 Icy 45 50 ns System clock width, high 2 iKKH 18 ns System clock width, low 2 tKKl 18 ns Dot clock cycle 2 IcYDK 45 4 Icy ns Input; Cl = 30 pF 67.5 4 Icy ns Output; Cl = 30 pF Dot clock width, high 2 toKDKH 18 ns Input; Cl = 30 pF iKKH ns Output; Q = 30 pF Dot clock width, low 2 toKDKL 18 ns Reset RESET pulse width 3 ~SRSl 8 Icy + 6 IcYDK ns lPEN setup time to RESET t 3 tslPRS 16 Icy lPEN hold time from RESET t 3 ~RSLP 0 CPU Rud/Write Cycle ASTB pulse width 4,5 tsTSTH 45 ns Address setup time to ASTB ~ 4,5 tsAST 25 ns Address hold time from ASTB ~ 4,5 ~ST 10 ns 'C'S' setup time to Rl5 or WR ~ 4,5 tSCSRW 0 ns 3-63 #,PD72022 ~EC AC Characteristics (cont) Parameter Figure Symbol Min Max Unit Conditions CPU Rad/Wrlte Cyde {cont} ~ hold time from RI5 or WR t 4,5 !tiRWCS 0 ns Fm pulse width 4,15 IRRL 170 ns Data delay time from Fm ~ 4,15 toRO 120 ns Data hold time from RI5 t 4,15 !tiRO 0 ns Data float time from 1m t 4,15 fFRO 55 ns WR pulse width 5,16 "vwL 180 ns Data setup time to WR t 5,16 'sOW 100 ns Data hold time from WFr t 5,16 !tiwo 10 ns READY delay time from 1m or WR ~ 4,5, toRwRDV 55 ns 16 READY delay time from 'i7ml ~ 9 tovQRDV 60 ns 1m recovery time 4 IftJR 150 ns WFr recovery time 5 IfIIIW 150 ns Read access cycle 4 feVA IfIRL + 10 fey ns Write access cycle 5 fevw \vWL +10 fey ns wr.ur IludIWtltfl Cyt:Ie Random read/Wrlte cycle 6-8, tcVAAS 270 n8 Note 1; also refresh cycle 11-13 360 ns Note 2; also data transfer cycle mwldthhlgh 6-8, IfIASRASH 95 ns 11-13 mwldthlow 6-8, IRASRASL 130 ns Note 1; also refresh cycle 11-13 210 ns Note 2; also data transfer cycle ~wldthhlgh 6-7, IcAScASH 110 n8 11-13 ~wldthlow 6-7, fcASCASL 105 ns Note 1 11-13 185 ns Note 2; also data transfer cycle m ~ delay time from ~ t 6..a, toCASRASL 30 ns 11-13 ~ J. delay time from m J. 6-7, toRASCASL 40 ns 11-13 m t delay time from ~ J. 6-7, toCASRASH 60 ns Note 1 11-13 150 ns Note 2; also data transfer cycle Address setup time to m J. 6-8, tsw.RAS 35 n8 11-13 Address hold time from m J. 6-8, !tiRASVA 10 ns 11-13 Mode setup time to ~ J. 6-7, 'sMOCA8 10 ns 11-13 Mode hold time from ~ J. 6-7, IHCASMO 110 ns Note 1 1,;,3 185 ns Note 2 3-64 t\'EC "PD72022 AC Characteristics (cont) Parameter Figure Symbol Min MIX Unit Condltlonl VRAAf RIIBd/Write Cycle (cont) i7RD t delay time from CAS .j, 6, toCASVR 70 ns Note 1 12-13 150 ns Note 2 CAS t delay time from i7RD t 6, tDVRCAS 0 ns 11-13 i7RD pulse width 6, tVRVRL 70 ns Note 1 12-13 150 ns Note 2 CAS .j, delay time from VW t 6 tOVWHCAS 70 ns VW .j, delay time from m t 6 toRASHVW 35 ns VW .j, delay time from CAS t 6 toCASVWL 15 ns Input data setup time to i7RD t 6 tsDVR 40 ns Input data hold time from i7RD t 6 tmRO 0 30 ns i7RD t delay time from m .j, 6, tORASVRH 130 ns Note 1 12-13 210 ns Note 2 m .j, setup time from VRD t 6, tSVRRAS 15 ns 12-13 i7RD .j, hold time from m .j, 6, IHRASVR 25 ns 12-13 VRAAf lItite Cycle m.j, delay time from i7RD t 7 tovRRAS 15 ns i7RD .j, delay time from m .j, 7 toRASVRL . 130 ns m.j, delay time from ilW t 7 tovwRAS 35 ns VW t delay time from m .j, 7 toRASLVW -10 ns CAS .j, delay time from ilW .j, 7 tovwLCAS 10 ns VW t delay time from CAS .j, 7 toCASVWH 155 ns ilW pulse width 7 tvwvwL 165 ns Data setup time to CAS .j, 7 tsOCAS 10 ns Data hold time from CAS .j, 7 IHCASO 155 ns VRAAf IlefrINIh Cycle CAS .j, delay time from m t 8 toRASHCAS 20 ns VRAAf Request YAK setup time to CAS t 9 tsvACAS 20 ns Interleave mode liAR hold time from CAS .j, 9 IHCASVA 10 ns VRQ recovery time 9 lANa 10 Icy ns READY delay time from \iRl:l.j, 9 tovaRDY 60 ns \iRl:l hold time from READY t 9 IHRovva 0 ns VAD float delay time from CAS t 9,10 1f:CASVAD 30 ns VAD delay time from CAS t 9,10 toCASVAO 50 ns 3-65 #,PD72022 NEC AC Characteristics (cont) Parameter Figure Symbol Min Max Unit Condltlon8 ImAM Requflllf (cont) ~ J. delay time from ~ f 10 toBASa 0 ns Dual-port mode ~ hold time from m:JSRO f 10 IHBQHBA 10 ns BiJSAi( hold time from BDSm:! J. 10 IHBQLBA 0 2000 ns oat. Tr."""'r Cycle vm:i f delay time from SRCLK f 11 toSKVR 100 ns SRCLK hold time from wm f 11 IHvRsK 100 ns m Jo delay time from vm:i J. 11 tevRRASL 30 ns vm:i hold time from m J. 11 IHRASLVR 60 ns vm:i hold time from ~ J. 11 IHCASVR 10 ns m f delay time from VFiO J. 11 tevRRASH 100 ns ~ f delay time from vm:i f 11 tevRCAS 120 ns vm:i hold time from FiAS f 11 IHRASHVR 10 ns ImAM Serl.' Rud Cyc/fI sm:; width high 12,13 tsRSRH 200 ns SRI:) width low 12,13 tsRSRL 200 ns SRCLK J. delay time from SRI:) J. 12,13 toSRSK 15 ns SRCLK width high 12,13 tsKSKH 25 ns SRCLK width low 12,13 fsKSKL 25 ns Serial read cycle 12,13 tcVSK 90 ns Data 8etup time to SRCLK f 12 tsOSK 25 ns Graphlcil display cycle Data hold time from SRCLK f 12 IHSKD 10 ns Data setup time to wm f 13 tsDVR 40 ns Text display cycle Data hold time from vm:i f 13 lHvRo 0 30 ns Semlgraphlca display cycle 01.111, TIming Output display time from DTCLK f 14 toOKDSP 5 38 . ns Note 3; ~ = 50 pF Input setup time to DTCLK f 14 tslOK 25 ns Note 4 Input hold time from DTCLK t 14 lHoKl 5 ns Input pulse wldt!) 14 1i1. 6tcVOK ns DIIfA Cycle IlMAlm f delay time from m:.tO:R J. 15,16 toOAOQH 50 ns ~ J. delay time from !mAAR t 15,16 toOAOQL 0 ns llliiiAAR hold time to !mARK J. 15,16 IHOOOA 0 ns llliiiAAR setup time to AD J. 15 tsOAR 0 ns DliilAAR hold time to RD t .15 IHROA 20 ns m.1MR setup time to WR J. .16 tsOAW 0 ns ~ hold time to WR t .. 16 IHWOA 20 ns 3-66 NEe #,PD72022 AC Characteristics (cant) Paramater Figure Symbol Min Max Unit Conditions Interrupt INT rising time 17 tlNTR 30 ns INT falling time 17 tlNTF 30 ns Notes: (1) Cycles: Text display; Semigraphics display; Display start (2) Cycles: Graphics display; Sprite display; Command processing (3) HSYN, VSYN, BLANK, PXDO·PXD3 (4) HSYN, VSYN, LPEN Figure 1. Voltage Thresholds for Timing Figure 3. Reset rMlveform Measurements Output ~-=;...:.....----- 2.2V 0.8 V K=~.4V •. 0.4 V ~ 2.2 V 3.SV Clock LPEN K= InputJOutput ...:0"".8:.,.::V_____ 0.6 V 49NR-478A Figure 2. Clock rMlveform =~ --r"~y"'-l ~~-----tCYDK----J---.j~ 49NR...t79A 3-67 "PD12022 FIgute 4. CPU ReIId Cycle ASlB JISTSTH-=t . / . ISAST--J1:--IH-A-ST----------------~------------~ ADo-A07 _ HI-Z Hi-~(,-_ __ i+------1RVR-----+j ~---------ICYRI--------~ IDRWRDY 1+---+1 HI-Z Hi-Z READY- - - - 49NR-434B Figure 6. CPU . .lte Cycle AQ)-A07 Valid Address CS I+-----IRVW'------~ I+--------ICYW-------~ IDRWRDY 1+----+1 Hi-Z Hi-Z READY- - - - 49NR435B 3-68 ttiEC "PD72022 Figure 6. VRAII Read Cycle tCYRAS tRASRASL RAS } ~ I--- tRASRASH- '+- tDCASRASL - -tDRASCASL IDCASRASH IDRASHVW- ~ICASCASL} -.I J1C,ASCASH IDCASVWL ISVARAS IHCASMD- ~ .1. IHRASVA 1 VAl s [RAo]/DMl. VA17 [RA1] IDMj Valid Address Mode )( RA2/DCo. RA3IDCl >- II IDVWHCAS IDCASVR ---.. / \ , IDRASVRH IDVRCAS ISVRRAS ~ k-'HRASV~1 I--IVRVRL- I VRD \\\\~ 1/ ISDVR!==: ~D ~i-Z VA~-VAD15 RAMMOD Hi-Z - - ~ Valid Address ~ - -Hi-Z --{ Valid Data :" -=< 49NR-4368 3-69 #,PD72022 NEe Figure 7. VRAII Write Cycle ICYRAS IRASRASL RAS I--- tRASRASH - - - "- y IDCASRASH I-- tDCASRASL - _IDRASCASL I\,l+--lCASCASL CAS -.I tSVAR'IS _~C(SCASH . I---tHCASMD - IHRASVA 1St=: VA16 [RAollD~. VA17 [RA111DM1 RA2IDCO. RA3/OC1 ) Valid Address K>{ Mode ~ tDRASLVW~ I IDCASVWH *--- tDVWRAS - - - --tDVWLCAS-7 tvwvwr .J \ J! -tDVRRAS IDRASVRL -, VRD \J" C tHCASD Hi-Z VADo-VAD15 ~-- -< Valid Address K>{ Valid Data Hi-Z ---( RAMMOD - Hi-Z - -< Valid Address ~- - - .t:!!:Z - - - -'-< 49NR-437B NEe I'PD72022 Figure 8. VRAM Refresh Cycle ICYRAS lRASRASL ~ 1"- I--- lRASRASH- LIDCASRASL - I--IDRASHCAS~ ISVARAS IHRASVA ~ VA16 (RAoJIDMJ, VA17 [RA1J/DMl RA2/DCo. RAJ/DC, ) Valid Address ij Mode X / \ I VRD / \ VADQ-VAD1S RA4/MOD - - Hi-Z ~ Valid Address r----- Hi-Z ------ 49NR-438B Figure 9. VRAM Request; Interleave Mode VRQ VAK IFCASVAD r- VAD ~~:- ) - Hi-Z 49NR·439B 3-71 ~PD72022 NEe Figure 10. VRAM Request; DuIII-PoTt lIode IHBOLBA ~'--- _ _ _ _ ){)r'---+_----;rJ--t--.J. VAD - - - - -if-- Hi-Z IOCASVAD - - - - -//- - C::3- -- .--IFCASVAD Hi-Z 49NR-440B 3-72 ttlEC "PD72022 Figure 11. Data Transfer Cycle tCYAAS tRASAASL r\ II -tAASAASH- I\- tDCASRASH I-- tDCASAASL -+- -tORASCASL -tCASCASL-- CAS ~ f\ V tCASCASH tSVAAAS .1 ItHAASVA tHCASMO- --- tSt=: II )l ~ K VA16 [AAol 1DMl, VA17[AA11IDMj Valid Address Mode AA2IDCO. RA31OC1 VWH. VWL J tOVARASH tHAASHVA I - - 1--+ tHCASVA- ~. I-- tOVARASL..... I+----'-'- tHRASLVA- ~tDVACAS r--- \ II SAD J \ tDSKVA lHVASK SACLK ~ \ VA~-VAD15 RAMMOD - Hi-Z - < Valid Address >----- Hi-Z - - - - -- 49NR·441B 3-73 "PD72022 i+----------tCyRAS----------i 1+-----tRASRASl----~ tRASRASH tDCASRASl--tDRASCASL---;0-/4-===~ tSVARASI+----+J VA16 [RAoJIDt.t. VAt7[RA1J/DMj RA2/DCa. RA3 ID01 ---'"..p...---:-:-----f 1-11-------..-itSRSRL----------t tDSRSKI4-i--~ SRCLK VADo-VAOts H" Z 1.---------.1 {1.-__ --(~-- !!!;Z_ RA4IMOD - "- VaI_Id_Addr_8_SS_---' 49NR-442B 3-74 NEe #,PD72022 Figure 13. VRAM Serial Read Cycle; Text or Semigl'llphics Display ~-------------------tCYRAS-------------------~ t+--------tRASRASL---------~~ RAS tDCASRASH ~ tRASRASH - - - - ~ tDCASRASL- - tDRASCASL 1r-_ _ _-++______..,.I\--tCASCASLI~------ CAS ---.I ji _~CASCASH IsvARAst+-----I- j i----tHCASMD ~I : tHRASVA ~tSE"M_DC_A_S.....;_ _ _ _ _ _ _ _ _-'-t=_ _ _ _ __ VA16 [RAoJ/DtvtJ. VA17 [RA1J/DM1 ) Valid Address Mode V RA2IDCo. RA:l/DC1 ----'r...p.----..,'-:----f ~ ~tDCASVR---. VWH. VWL ~ tDRASVRH . IDVRCAS tSV~RASr- I+-tHRASV~1 ~IVRVRL--- VRD 1 \\\\~ 1/ tSRSRL l--tSRSRH--j SRD \ If L tDSRSK ----r-y~ J f ; - - - tCYSK I-tSKSK~ y~~ SRCLK , /\ '--_-oJ tSKSKH~ I - tSDVR ---0 1--0 IHVRD Hi-Z Hi-Z VACo-VAD1S - - 1--- Valid Data RA4/MOD - Hi-Z ~~ Valid Address I\.- j{ _Hi-Z_ ~ ~ Valid Data It I~'Z./ \, .~------------~ ~-----~ ~--------- 49NR-443B 3-75 "PD72022 fttIEC Figure 14. OI.18y TIming 1~DKF DTCLKtDJt.tDKDKH~ tDKDKly____. . .t\\,.K_______) HsVN. VSYN, BLANK. PXDo-PXDa t . OOKDSP . )1- - - - - - - - -...... '--_ _ _ _ _ _ _ _...J X V-- '--_ _ _ _ _ _ _ _....." - - DTCLK J \ £ '--- -HS-Y-N,-VS-YN,- lPEN _ _ _ _ _..... f-~ ~~~'3J= 49NR·4448 FIgure 15. DMA Rud Cycle Flgute 1t1. DMA write Cyt:le FlguTe 17. Interrupt IIItvefcH"m tlNTR1 ~ , tINTF INT J "L- 41NR0447A 3-76 ttrEC "PD72022 INTERNAL STRUCTURE Table 2. Us, of Commands (cont) The IlPD72022 IDP consists of three units: host proces- Name Function sor interface unit, control processor unit, and display WdBo .emory Control control unit. Refer to the IlPD72022 Block Diagram. DPLD Specifies video memory operation address or address offset. Host Processor Interface Unit DPRD Determines video memory operation address. The host processor interface unit transfers commands, MASK Sets bit mask for data storage In video memory. parameters, and such status information as the RDAT Reads contents of video memory and sends data to IlPD72022 internal processing state, to and from the host processor. host processor. Stores transfer data In video memory. WDAT Control functions include asynchronous bus interface BLKTOT Reads the video memory contents and transfers the control, DMA control, and interrupt control. data via DMA operation. BLKTIN Stores the data transferred via DMA operation Into Control Processor Unit the video memory. The control processor unit reads and executes com- EXIT Terminates video memory operation command mands and parameters from the host processor via the processing. host processor interface unit. Sprite Control Display data processing In video memory, display ad- SPRON Enables the sprite controller and Initiates sprite Image dress control, screen control, etc., in the display control display. unit are implemented. SPROF Disables the sprite controller and terminates sprite Image display. Display Control Unit SPRSW Toggles the sprite display on or off for each sprite operation. The display control unit generates and outputs video SPRRD Reads the sprite attribute table data. memory display addresses, display signals, and·· CRT control signals. It generates various timing signals re- SPRNR Writes data Into the sprite attribute table. quired in the IlPD72022. SPROV Determines the sprite controller operation status. COMMANDS The IlPD72022 has 22 commands for implementing ini- tialization, display control, and sprite control opera- tions. See table 2. Name .Function ,,,,,t.llzlltlon SYNC Selects display operation mode and IIpeclfles scan timing. Display Control DSPOF Generates screen control table base address and border color; enables display controller; starts display. DSPOP Disables display controller and terminates display. DSPDEF Defines display screen Iaycutand display format. CURDEF Defines cursor di splay format. ACTSCR Selects active screen area. CURS Moves cursor to specified cursor display position. LPNR Determines light pen position. 3-77 "PD72022 ~EC INITIALIZATION COMMANDS • EV (Enable Vertical Blank Interrupt) SYNC Command Parameter EV determines whether the occurrence of a Command Code 10H vertical blanking signal causes an interrupt signal to be generated on the INT pin. o I 0 I0 I 0 o I 0 I0 EV Interrupt Parameters o Vertical blank interrupt disabled 1 Vertical blank interrupt enabled RM EL I EV I VM I 0 I DPM I ILM • EL (Enable Light Pen Interrupt) 0 RF EC I ES I FW I RS Parameter EL specifies whether the occurrence of a 0 0 LBL light-pen signal causes an interrupt signal to be 0 0 LBR generated on the INT line. HAD EL Interrupt 0 0 RBR o Light pen interrupt disabled 0 0 RBL 1 Light pen interrupt enabled 0 0 HS • VM (VAAM Access Mode) 0 0 TBL Parameter VM specifies the video memory access 0 0 TBR mode for static picture display data generation. VAD (L) VM Video Memory 0 VAD (H) BBR o Random access mode 0 0 BBL 1 Serial access mode 0 0 VS • RM (Raster Mode) Parameter RM specifies CRT scanning mode and The SYNC command terminates display controller oper- display signal generation mode. ation and defines operation mode and horizontal/vertical RM CRT Scanning Mode scan timing with the following parameters. 00 Noninterlace (640 x 400, 24K CRT) • ILM, DPM (Interleave Mode, Dual Port Mode) 01 Interlace (640 x 400, 15K CRT) 10 Vertical magnify (640 x 200, 24K CRT) The format of the interblock interface between the 11 Normal (640 x 200, 15K CRT) host system, lOP, and video memory is specified. Dual-port mode can only be specified for the VAAM • RS (Resolution Select) serial access (VM = 1). Parameter RS specifies the divide ratio for generation DPM ILM Operation of the display signal dot time. This ratio can be o 0 Standalone mode combined with horizontal and vertical scan timing to o 1 Interleave mode vary display resolution. Table 3 is an example based 1 0 Dual-port mode on a 20-MHz source clock. 1 1 Disabled 3-78 NEe "PD72022 T.ble3. DlIIP'.Y /lestJIutlon Example (2O-IIHz Clot:k) RS Divide Ratio Corresponding Resolution HAD Setup Value VAD Setup Value Recommended CRT 000 Divide by 4 256 x 192 256 (63) 192 Horizontal scan frequency 15.75 kHz 001 Divide by3 320 x 200 320 (79) 200 010 Divide by 2 512x 192 512 (127) 192 011 Divide by 1.5 640 x 200 640 (159) 200 100 Divide by 1 640 x 400 640 (159) 400 24.83 kHz Others Disabled (dot clock Is net output) • RIf (Reverse Screen) • LBl (left Blanking) See figure 18. LB R (Left Border) Parameter RV specifies reverse display of the entire HAD (Horizontal Active Display) screen. When RV is cleared to 0, normal display is RBR (Right Border) enabled; when RV is set to 1, text foreground and RBl (Right Blanking) background colors in the text display are reversed. HS (Horizontal Sync) • ES (External Sync) Horizontal scan timing is specified in four-dot time Parameter ES specifies use of the HSYN and VSYN (TCK) units. Each timing is generated at the time of pins and external synchronization. When ES is set to (specified value + 1) x TCK. 1, horizontal and vertical synchronizing Signals are The horizontal scan parameters have the following output on the HSYN and VSYN pins. restrictions. When ES is cleared to 0, the pins are placed in a HS;;: 04H high-Impedance state, and display timing is synchro- lBl;;: 03H nized with an input reference signal. HAD = odd number (bit 0 = 1) • EC (External Clock) • TBl (Top Blanking) See figure 18 Parameter EC specifies DTClK pin operation and TBR (Top Border) determines display timing signals. When EC is set to 1, VAD (Vertical Active Display) a signal generated from the internal divider is output B B R (Bottom Border) on the DTClK pin as dot clock. B Bl (Bottom Blanking) VS (Vertical Sync) When EC Is cleared to 0, the DTClK pin Is placed in a hlgh-impedance state, and display timing is based on The number of rasters (vertical scan lines) is specified an Input clock reference signal. to control vertical scan timing. An integer multiple of 2 is set In the valid display time (VAD). The vertical EC an be set in external dot clock input mode (LPEN border time (TBR, BBR) can be omitted if the speci- signal is low at reset time). fied value is O. • RF (Refresh Control) The vertical scan parameters have the following re- Parameter RF controls video memory refresh opera- strictions. tions. When RF Is cleared to 0, no refresh operation is VS;;: 04H performed; when set to 1, refresh operations are TBl + TBR ;;: 10H (for non-sprite display) Initiated. TBl + TBR ;;: 20H (for sprite display) VAD;;: 04H BBR + BBl ;;: 02H 3-79 I'PD72022 Figure 18. Horlzonl,,' .nd "",,/a'Selln P.ramel.ra '.'. L I I I I ~,.V--- 16 color 83v0-5925B FiguTe 24. Data Row in Graphlcsllode , Display Screen Video Memory -, n rasters lOP n rasters ~I m dots Graphics memory I ~ Color specification f f -' 83vO-59269 3-92 t\'EC "PD72022 Figure 25. 0111. Row IJrH'ing Sprite/mage Display Display Screen Video Memory YP Sprite attribute dala r--'-- ~ lOP XP YSIZE JI YP '-- ..----- XSIZE II XP SPDM Attribute, - SPDA color specification Attribute S; Display position control ~ I Sprile pattem data II 3-93 "PD72022 fttIEC Figure 26. Example of Screen Split Displey Video Memory VSA1 ~ J:=~==~VW~1:===~~. -t RSA1 VH1 t c::r A"; - L.. _ _ _ Display Screen __~I~·__~~~0Th~~R_W_1_.2_._3::::::::::::~·1 1 t Virtual Screen 1 (RXP 1. RYP 1) ABC RH1 1-------VW3------- ~.-." laJl QQ ~, VSA3 (RXP 2. RYP 2) RSA3 6- L.. Virtual Screen 3 VSA2 RSA2 (RXP 3. RYP 3) Display "'"_, I -t--±. RH3 &-- Real Screen 3 ILnll ®, L.:: __ _ Virtual Screen 2 VH 2 I-------i-~ 83vQ·5928B Scan Mode Specification To use the interlace mode, a value appropriate for the 16-kHz monitor must be set in the raster parameter and The I'P072022 lOP enables specification of four scan the interlace synchronizing signal must be input from an modes by using SYNC command parameter RM before external source. video signal generation. See figure 27. Vertical Magnification Mode. The raster address is Noninterlace Mode.The raster address Is incremented incremented every two horizontal scans. The display for each horizontal scan. The display data address is data address is updated every specified number of ras· updated every specified number of rasters. ters. In graphics mode, the display data address is updated In graphics mode, the display data address is updated each horizontal scan. every two horizontal scans. Interlace Mode. Odd and even fields are displayed Normal Mode. The raster address is incremented each alternately. In the odd field, the raster address starts at 0; horizontal scan. The display data address is updated in the even field, it starts at 1. The raster address is every specified number of rasters. incremented by two for each horizontal scan. In graphics mode, the display data address is updated In graphics mode, the display address is updated so that each horizontal scan. display data in the opposite field is skipped. In interlace mode, the MRA value must be specified so that the numbeer of rasters is even. 3-94 NEe "PD72022 Figure 27. Scan Modes A. Noninterlace Mode C. Vertical Magnification Mode Dot Position ICG Image] Dot Position ICG Image] 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 076 5 4 3 2 1 0 640 x 400 data is displayed on a 24.8-kHz CRT. 640 x 200 data is displayed on a 24.8·kHz CRT. B. Interlace Mode D. Normal Mode Dot Position ICG Image] Dot Position ICG Image] 7 6 5 4 3 2 1 0 7 6 5 432 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 Odd 0 Even field ++++++++-+-'-+-+-+-'e-f-+ 1 field Raster +++-r-~r1-+-+-+~~++-r-r7 Address +-t-~-+-r+-~r+-r1-t-~-+7 640 x 400 data is displayed on a 15.8-kHz CRT. 640 x 200 data is displayed on a 15.8·kHz CRT. 49NR·4758 3-95 "PD72022 t-IEC 3-96 ttlEC NEe Electronics Inc. "PD72120 Advanced Graphics Display Controller Description Cl Video timing Signal generation - High-speed processing by two system clocks: The IlPD72120 Advanced Graphics Display Controller display (for video sync Signal generation) and (AGDC) displays characters and graphics on a raster graphics drawing clocks scan device from commands and parameters received - External synchronization capability from a host processor or CPU. Features of the AGDC Cl Large-capacity display memory include high-speed graphics drawing capabilities, video - Display memory bus Interface: 24-bit address and timing signal generation, large capacity display memory 16-bit data bus for addressing up to 16M words, control Qncludlng video RAMs), and a versatile CPU 16 bitS/Word interface. These features allow the AGDC to control - Video RAM (VRAM) control graphics drawing and display of bit-mapped systems. - Display memory bus arbitration Cl Host processor (CPU) interface Features - System bus Interface: 20-bit address bus, 8- or 16-bit data bus Cl High-speed graphics drawing functions - Data transfer with external DMA controller: from - Graphics drawing: dot, straight line, rectangle, system memory to display memory (PUT); from circle, are, sector, segment, ellipse, ellipse are, display memory to system memory (GET) ellipse sector, and ellipse segment - High-speed pipeline processing with preprocessor - Maximum drawing speed before drawing processor 500 ns/pixel (8 MHz, pixel mode) - CPU memory or I/O mapping of Internal registers 500 ns/dot (8 MHz, plane mode) and display memory for efficient system interface - Area filling (high-speed processing in word units): Cl 8-MHz system clock triangle, trapezoid, circle, ellipse, and rectangle Cl CMOS technology - Painting: filling of any arbitrary enclosed area (bit Cl Single +5-volt power supply boundary retrieval) Cl Packages: 84-pin PLCC, 94-pin plastic miniflat - Data transfers In display memory: multiplane transfers; data transformation (90°/180°/270° Ordering Information rotation and reversal); multiwlndow transfers; maximum transfer speed of 500 nS/Word Part No Package -Image processing: slant, arbitrary angle rotation, "PD72120L B4-pln PLCC 16/N enlargement, and N/16 shrinkage (N any "PD72120GJ-5BG 94-pln plastic mlniflat integer from 1 to16) - Position specification by X-V coordinates - logical operations between planes eooe8 3-97 "PD72120 NEe Pin Identification Symbol I/O Signal Function Symbol I/O Signal Function Clock Pi". OA16-OA23 Out Upper 8 bits of display memory address (the lower 16 bits of the 24-blt address are output on DADo- ClK In Clock supplied to circuits other than the sync DAD1sl· signal generator and display processor. The drawing processor and preprocessor speed OASTB Out Indicates that a display memory address Is depend on this clock frequency. present on the falling edge. SClK In Clock supplied to the sync signal generator and Out Defines the dala formal for accessing the display. the display processor. This clock frequency is RESET sets both pins low. determined by the CRT timing requirements: DUBE DlBE Data Access Format horizontal sync frequency. number of dots per AGDC -0- -0- Word line. etc. 16-bit CPU 0 0 Word el16-blt CPU 0 1 High (odd) byte System Bus Control Pins 8116-bit CPU 1 0 low (even) byte ADo-AD15 I/O I/O bus to the CPU consisting of multiplexed 8-blt CPU 1 1 High (odd) byte 16-bit address and a bidirectional data bus. Out Controls reading of the display memory by the In Upper four address bits of the 20-blt address. AGOC. Set high by RESET. ASTB In Latches the address on A16"A19 and ADo-AD15 on DWR Out Controls writing to the display memory by the the failing edge. AGOC. Set high by RESET. In Together with ADo. defines the data access format HlDRQ In Requests control of the display memory bus by as shown below. UBE should be tied high when an external device to transfer display data. connected to an 8-blt CPU. HlDAK Out Indicates that the AGDC memory bus (DADo- ADo UBE Data Access Format DAD15 and DA16-DA23 Is In high-impedance state o 0 Even-address word so that an external device can have access to the o 1 Even-address byte display memory bus. Set high by RESET. 1 0 Odd-address byte 1 1 Odd-address byte Iofdeo Timing Signal Related Pins In Performs a read of data from the AGDC by the VS/EXVS I/O When the AGDC operates as the master. VS Is the host CPU. vertical sync signal output. When the AGOC operates as a slave. the EXVS input initializes the In Performs a write of data to the AGDC from the internal vertical sync Signal on the rising edge. host CPU. HS/EXHS I/O When the AGDC operates as the master. HS Is the In Enables reading/writing of the AGDC Internal horizontal sync signal output When the AGDC registers by the host CPU. The register Is operates as a slave, EXHS Initializes the internal selected by the address input on ADo-AD7' horizontal sync signal on the rising edge. In Enables reading/writlng of display memory through the AGDC by the host CPU. The display Display Signal Related Pins memory address Is generated by the address BLANK Out Used to blank the display. Input on A16-A19 and ADo-A015 and by the bank register. l5i/DiS'P Out Set to OT In the OT mode (when using VRAMs) and specifies the data transfer. In the cycle steal READY Out Activated by the data access request (lIDiWFl) for mode (VRAMs not used). indicates the display the AGOC. During the access, the signal may be cycle. low. RESET will set the READY line high. GCSR Out Specifies the display of the graphics cursor INT Out Signals an Interrupt from the AGOC. GWAIT Out Graphics walt signal OMARQ Out Indicates a requestfordata transfer (PUT/GET) to an external OMA controller. OMARQ will be low Other Pins after RESET. +5-volt power supply Voo In Acknowledgment of OMA request to the AGOC by GNO Ground the OMA controller. IC Internally connected; leave unconnected RESET In Initializes operation of the AGOC. The Internal parameter register Is not cleared by RESET Ot Is Initialized by setting data). OisplBy.IIIIfOI'Y Control Pins DAOO-DA015 I/O I/O pins for display memory; 16-bit address multiplexed with dala. 3-98 NEe "PD72120 Pin Configurations I14-Pin PLeC AD12 IC ADS VDD AD13 GND ADs SCLK AD14 GCSR AD7 VSlEXVS AD1S HSlEXHS VDD BLANK GND DT/DISP Au; HLDRQ A17 0 HLDAK A18 DWR A19 DAD ASTB DASTB UBE WAIT ClK GND DADo DLBE DADl DUBE IC DA23 DAD2 DA22 IC IC 49NR-394B 3-99 ! g , ;! ::i 10 c ~ i = C'i ..... I\) o ~~~o CI~»»~<~>~>~>~~ zc .... 0 .... 0 .... 0 .... z ~OCOr-2:l1111::CD~ ................ '" N .... 0 " \"II \,1 m CD co CD ...., CJ) 0 CUI...., • en "'" UI N C ~ ~~~~~m~~~~w~=O~CD....,CJ)UI.""'N~ DADS DAD4 o AD4 DADs ADll DADs ADs DA07 ADl0 DADa AD2 DADs AD9 DAD10 ADl DADll ADa DAD12 ADo DAD1S VDD DAD14 GND DAD15 GND JC WR JC AD GND CSDM GND CSIR VDD GND DA16 IC DA17 RESET DA18 READY DA19 INT DA20 DMAAK DA2l DMARO tt~~~~~~~~~~8~~~~~m~mm~~ ODODOOwOOODOOOOOOOOOOODO ('1~~~~OO~~O~~~ 00 0101~ ~ ~ ° °IOIZIZ 0 °lm »crzz»~~rr ~I Z iJPD41264 Display Memory ~ ASTB - UBE DLBE . A16-A19 DASTB DUBE ~ Character ROM IlPD72120 Mux DAI6-DA23 I~ -y Bfr ADo-ADI5 UE~~' II II DADo-DADI5 ~ HLDRO HLDAK I- h cr. LK sJ LK I Control Data I Address Display Memory Buses I 49NR·3938 3-102 ttlEC "PD72120 ELECTRICAL SPECIFICATIONS Capacitance Absolute Maximum Ratings TA" +25°C;Voo - GND - OV ,TA" +25°C Parameter Symbol Min Max UnIt Condition Supply voltage, Voo -o.5to +7.0V Input 10 pF f-1MHz; C. Input voltage, VI -o.5to +7.0 V unmeaeurad Output Co 20 pF pins returned Output voltage, Vo -0.5 to + 7.0 V Input! toOV Cue 20 pF Operating temperature, TOPT -10 to +7O"C output Storage temperature, TSTG -65 to + 15O"C Clock Cc 20 pF Input Power diSSipation, Po 1.1 W DC Characteristics TA = -10 to +7O"C; voo .. +5.0 V :1:10% Parameter Symbol Min Max Unit Condition Low-Ievel Input voltage -0.5 0.8 V Except ClK or SClK &I -0.5 0.6 V ClK,SCLK High-level Input voltage VIH 22 Voo + 0.5 V Except CLK or SClK 3.5 Voo + 1.0 V CLK,SClK Low-level output voltage VOL 0.45 V IOL" 22 rnA High-level output voltage VOH 2.4 V 1011 .. -400 p.A Low-level Input leakage current ILiL -10 p.A VI" OV High-level Input leakage cur em ILiH 10 p.A VI - Voo Low-Ievel output leakage current ILOL -10 p.A Vo-OV High-level output leakage current ILOH 10 p.A VO" Voo Supply current 100 200 rnA 3-103 "PD72120 'ttiEC AC Characteristics TA = -10 to +70"C; voo .. +5.0 V :t10%; see figure 1 Parameter Figure Symbol Min Max UnIt· COndition ClocIc (CLK. SCLIC) Clock' period ClK 2 tcVK 125 600 ns SClK 2 tcVSK 125 600 ns tcVK :s tcYSK High-level clock width ClK 2 twKH 52 ns SClK 2 fwSKH 52 ns Low-level clock width ClK 2 twKt. 52 ns SClK 2 \vsKL 52 ns Clock rise time ClK 2 fKR 15 ns SClK 2 tsKR 15 ns .Clock fall time ClK 2 fKF 15 ns SClK 2 tsKF 15 ns """'t,lntenupt Reset pulse width 3 lAST 5 tcYSK ClK l' to I NT t clelay time 3 loKI 50 ns CL=50pF Rl5,J. to INT,J. delay time 3 toRI 3tcVK + 50 ns STATUS read HLDRQ•. 7IDJIf1C ClK t to RIDAR delay-time 4 toKHA 50 ns ~ = 50pF H lORa setup time to ClK t 4 tsKHQ 20 ns HlORQ hold time from ClK t 4 ~KHQ 20 ns' DM4 RsatI/WI'lte Cyr:III ClK l' to OMARa output delay time 5,6 toKMQ 50 ns CL=50pF OMARa setup time to liM7iAK J. 5,6 tsMAMQ 0 ns DWiAR setup time to Rti J. 5 tsRMA 0 ns mAAR hold time from Rl5 t 5 ~RMA 0 ns mAAR setup time to WR ,J. 6 tswMA 0 ns mAAR hold time from WR t 6 ~WMA 0 ns Display IIfImory _lINd Cyt:Ie ClK t to address or data output delay time 4,7,8 toKA 30 ns ~=50pF Input data setup time to ClK t 7 tsKo 20 ns Input data hold time from ClK t 7 ~KD 0 ns ClK t to OASTB t delay time 7,8 toKDSH 30 ns CL =50pF elK,J. to OASTB ,J. delay time 7,8 toKDSL 30 ns ClK l' to DIm delay time 7 toKDR 30 ns ClK t to DWR delay time 8 toKDW 30 ns $yIIIfIm Bull lINd Cyr:III ~ setup time to Rl5 ,J. 9 tsRC 0 ns ~ hold time from Rl5 l' 9 ~RC 0 ns Rl5 width, high 5,9 twRH 50 ns ASTB pulse width 5,6,9.10 twAS 30 ns 3-104 NEe "PD72120 AC Characteristics (cont) Parameter Figure Symbol Min Max Unit Condition ASTB setup time to AD .j. 5,9 tSRAS 0 ns Address setup time to ASTB .j. 5,6,9,10 tsASA 20 ns Address hold time from ASTB .j. 5,9 ltiASA 0 ns Data setup time to READY i 5,9 tsRYD 0 ns Data float delay time from AD i 5,9 IJ:RO 0 40 ns AD .j. to READY .j. delay time 5,9 toRRY 30 ns Q=50pF AD hold time from READY i 5,9 IHRYR 0 ns CLK i to READY i delay time 5,9 toKRY 40 ns CL=50pF AD i to ASTB i delay time 5,9 toMS 0 ns System Bus write Cycle ~ setup time to WFi .j. 10 tawc 0 ns ~ hold time from WR i 10 IHwc 0 ns II WFi width, low 6,10 twWL 50 ns WFi width, high 6,10 twwH 50 ns Data setup time to WFi t 6,10 tswo 50 ns Data hold time from WFi i 6,10 lHwo 0 ns WFi .j. to READY.j. delay time 6,10 toWRY 30 ns CL =50pF WFi hold time from READY i 6,10 IHRYW 50 ns CLK i to READY i delay time 6,10 toKRY 40 ns ~=50pF ASTB setup time to WFi ~ 6,10 tawAS 0 ns WFi i to ASTB i delay time 6,10 toWAS 0 ns Display Cycle SCLK i to DASTB i delay time 11,12,13 toSKDASH 30 ns Q=50pF SCLK .j. to DASTB .j. delay time 11,12,13 toSKDASL 30 ns SCLK i to Ii'fii5mP delay time 11,12,13 toSKDT 30 ns SCLK i to address delay time 11,12,13 toSKA 30 ns SCLK i to output signal delay time 11,12, toSKD 50 ns (HS, VS, BLANK, or GCSR) 13 SCLK i to WAIT delay time 11,12 toSKWT 70 ns WAIT pulse width 11 twWT 4tcYSK-70 ns EXVS setup time to SCLK i 11 tsSKEV 20 ns EXHS setup time to SCLK i 11 tsSKEH 20 ns EXVS hold time from SCLK i 11 IHSKEV 20 ns EXHS hold time from SCLK i 11 IHSKEH 20 ns 3-105 "PD72120 ttlEC Figute 1. tlbltage Thresholds for Timing Figure 3. Reset snd In'""upt IIfIreforms lI.sui'ements. Input [except for 2.4 V=X2.2V CLK or SCll<] 0.45 V 2.2 V ;.;:0:::,8.:,V_ _ _.::O'::;.8V~ x= RESET ~ -' ~tRSTj '- CLK [ClK.~E~ Output . [Cl=50pF] --v- 2.2 V 2.2 V V-- --1\;.;:O:::,8.:,V_ _ _.::O.:::.8V,;..A-- INT 49NR-353A AD - - - - - - -..[ tORI Figure 2. Cloi:Ic IIfIr.forms Figure 4. HLDRQ snd HLIJAK IIfIrelo,ms ClK . t HKHO ~ ... . HlDRO . Hl~K--------_tD~_~ ~rtDK_~~I _ _ _ _ _ __ DADO-DAD 15. DA16-DA23 Note: DuiiE. i5i:iiE do not go ID high impedance -l} ~"'~ ~__ DKA - 49NR--356B 3,..106 NEe ,...PD72120 Figure 5. DMA ReIJd Cycle eLK DMARQ READY ASTB ADO-AD1S -Jx'-__ F--_ _ _ 49NR-357B 3-107 "PD72120 t\fEC Figure 4. DJrA . .lte Cycle elK DMARQ READY ASTB ....Jx\-__ F--_ _ _ 49NR·3S8B 3-108 ttlEC I'PD72120 Figure 7. Display Memory Bus Read Cycle elK DASTB DA~-DAD15 -+---<1 DA1S-DA23 - - - - { I 49NR-369B 3-109 "PD72120 NEe Figure .. DI.",.y lIemoTy Bu. . .It. Cycle CLK DASTS DADo-DAD15 -+---<1 DA16-DA23 ---' DA1S ==r:> DA17 1)- DA16 A17 - A16 AD1S -1)- DAD1S DAD14 AD14 DAD13 AD13 DAD12 AD12 DADll ADll DAD10 ADl0 DADs ADs DADs ADs DAD 7 AD7 DADe AD6 DADs ADs DAD4 AD4 DAD3 AD3 DAD2 AD2 DADl ADl DADo ADo ~ 83Sl....... 3-128 ttiEC "PD72120 Figure 19. Regl.t.r For"'" 7 6 5 4 3 2 o DBIE PBIE CIE o o o ABORT RESET Bit Flag Name Abbreviation Meaning When Bit = 1 0 Software Reset RESET Initializes "PD72120. Processor Abort ABORT Stops any processing being performed and clears the processor BUSY status. 2 Not used Must be set to O. 3 Not used 4 Not used 5 Clipping Interrupt Enable CIE Enables the INT signal when picking (drawing In the clipped region). 6 Preprocessor Busy PBIE Enables the INT signal when the preprocessor status changes from BUSY to NOT Interrupt Enable BUSY. 7 Drawing Processor DBIE Enables the INT signal when the drawing processor status changes from BUSY to Busy Interrupt Enable NOT BUSY. Figure 20. Rectangular Clipping Region Y I Clipping Rectangle I YCLMAX YCLMIN I X XCLMIN XCLMAX (0,0) 83SL-5847A Figure 21. Display Control Regl.t.r MSB 15 14 13 12 11 10 9 8 7 8 5 4 3 2 1 0 LSB I DTM I OTT I DAD + IN I RE I SC IFCCLITCCLIMASKI MIS I SO LFI I SPST I SVS Bit Flag Name Abbreviation Function o Slave Sync SVS When the AGDC Is In the alave mode. SVS determines the Initialization of the Inter· nal horizontal and vertical counters. SVS Is Ignored In the mester mode. SVS o Initializes the vertical and horizontal countere at the rising edge of EXVS and EXHS. respectively. Initializes the vertical and horizontal counters at the rising edge of EXVS. Sync Parameter Setting SPST Enables the writing of the sync timing parameters (HS. HBP. HH. HD. HFP. VS. VBP. LJF and VFP) to address 7EH-7FH. The writing should take place after SPST Is set to O. then to 1. SPST -0- Disables writing of sync parameters 1 Enables writing of sync parameters 2 Display Unes per Frame In LFI Defines whether there Is an even or odd number of lines per frame In Interlaced Interlace Mode mode. LFlls Ignorsd in non-interlacad mode. LFI o Even total number of lines for the sum of even and odd fields (one frame). 1 Odd total number of lines for sum of even and odd fields. 3-129 "PD72120 NEe Figure 21. Display Control Register (cont) Bit Flag Name Abbreviation Function 3 Stop Display SO Defines the state of the BLAN K output signal. SO is set to 1 by a high level on the RESET pin. SO o BLANK signal active (hIgh) only for the non-display period defined by the video sync signals. BLANK signal active for display and non-display periods (on continuously), 4 MasterlSlave MIS Defines whether the AGDC Is a master or a slave In terms of video sync signal gen- eration. MIS o Sets the AGDC to slave mode (video sync signals Input through EXVS and EXHS). Sets the AGDC to master mode (generates video sync signals and outputs them through VS and HS). 5 Mask MASK Defines the VS signal output timing In the master mode. In the slave mode, defines the validity of the EXHS and EXVS sync timing Input. MS MASK o o Accepts EXHS and EXVS sync timing Input. o 1 Ignores EXHS and EXVS sync timing Input. 1 o Only the VS signal of the even field in Interlace mode Is output. 1 1 The VS signal Is output normally. 6 Timing Counter Clear TCCl Defines the timing for initializing the internal display cycle counter when the AGDC Is in slave mode. TCCl Is ignored when the AGDC Is In master mode. TCCl o Does not initialize the display cycle counter on the rising edge of EXVS. 1 Initializes the display cycle counter on the rising edge of EXVS (sets the counter to the 01 cycle). 7 Field Counter Clear FCCl Defines the timing for initializing the Internal field counter when using Interlaced display In the slave mode. When the AGDC is In master mode or non-interlaced dis- play, FCCl Is Ignored. FCCl o Does not initialize the field counter on the rising edge of EXVS. 1 Initializes the field counter on the rising edge of EXVS, setting the counter to the even field. 8 Steal Control SC Defines the relationship between the ClK and SClK signals when the AGDC is in the DT mode (using video RAMs). If the AGDC Is In cycle steal mode, SC Is Ignored. SC o ClK does not equal SClK ClK and SClK are the same 9 Refresh Enable RE Defines whether the AGDC is to generate DRAM refresh addresses. RE o The AGDC does not generate DRAM refresh addresses 1 The AGDC generates DRAM refresh address while HS Is active (high) 10 Interlace IN Defines whether Interlaced or non-interlaced display mode Is to be used. ill o Non-Interlaced display 1 interlaced display 3-130 NEe "PD72120 Figure 21. DispillY Control Register (cont) Bit Flag Name Abbreviation Function 11, Display Address DAD + Defines how the AGDC's 24-bit display address register Is to be incremented during 12, Proceedings each display cycle. The register Is not Incremented while BLANK Is active. It Is In- 13 cremented ast each display cycle (two SCLK periods) In the DT (VRAM) mode or each time a display cycle Is started In the CS (cycle steaO mode. DAD + Increment 000 DAD+1 DAD ... DAD + 1 ... DAD +2 ... DAD+3'" DAD+4 .. . 001 DAD +2 DAD ... DAD +2 ... DAD +4 ... DAD+6 ... DAD +8 .. . 010 DAD+4 DAD ... DAD+4 ... DAD+8'" DAD + 12 ... DAD + 16 .. . 011 DAD+8 DAD ... DAD +8 ... DAD + 16 ... DAD +24 ... DAD +32 .. . 100 DAD+16 DAD ... DAD + 16 ... DAD +32 ... DAD +48 ... DAD+64 .. . 101 DAD +32 DAD ... DAD +32 ... DAD +64 ... DAD +96 ... DAD+128 .. . 110 DAD+1/4 DAD ... DAD .... DAD ... DAD ... DAD+1 ... DAD+1 ..... . 111 DAD + 1/2 DAD ... DAD ... DAD + 1 ... DAD+1 ... DAD +2 ... DAD+2 .. 14 Data Transfer Timing DTT Defines the output timing for the DT (data transfer) signal when using VRAMs. DTT is Ignored in the cycle steal mode. DTT ODT is generated (active low) when any of the following conditions is true. (a) At the start of the screen display (at the first rising edge of the BLANK sig- nal in a frame) (b) At the start of each horizontal scan line (at the failing edge of BLANK) (c) When all 8 AC register-defined bits of the 24-blt display address are 0 (when the lower 8 bits are OOH). DT Is generated when any of the following conditions Is true. (a) At the start of the screen display (at the first rising edge of the BLANK sig- nal in a frame) (b) When all 8 AC register-defined bits of the 24-bit display address are O. 15 Data Transfer Mode DTM Defines the display cycle generation timing. Data transfer mode is normally used with video RAMs and cycle steal mode with other types of memories. DTM o Sets the cycle s~eal (SC) mode. The DT/DISP pin outputs the DISP signal (ac- tive lOW). Display and drawing cycles alternate In this mode. Sets the data transfer (OT) mode. The DT/DISP pin outputs the DT signal (ac- tivelow). Figure 22. Cursor Position Select CRS=O CRS = 1 1 Display CYCle-j r- 1 Display Cycle -j r- ~ ~ ,, ,, ~" ,, GCSRYS_ -------tt------- GCSRYE- -------, ,------- ,, ,, , , GCSRX GCtRX 83SL-SS4SA 3-131 "PD72120 ttlEC Figure 23. Horizontal and VertiCIII Timing Parameters ,.....- - - - - - 1 H ----_~I HSYNC ·~L.-_ _ _ _ _ _ _ _ _ _ _ _ _ _ ...JnL..___ ~ HFP 1-- HBLANK HS '- HBPi-HH-j HD -----ot.1 VSYNC I 2nd Field _ - - - ,_ _ _ _ _ _ _ _--'-_ _ _ _ _ _ _ _ _ _ __ I VSYNC 1st Field I --~I~·~~----------------------1V---------------------------.:1------- VSYNC ~ II I~----------------~ n __~ "L'" ---+-h± II j ll-------UF-----~~'VFP~ VS I L VBP l...- 83SL-S849B 3-132 t\fEC "PD72120 Table 3. U.' of DRAW Com"""" Commands Absolute Coordinates Relative Coordlnetes Data Read Commands Coordinate value read READ.J)P Color Information read READ_COL Graphics Drawing Dot DOTJ) Commands AJ>OT-M R.J)OT-M Straight line A..LlNE-MO ILLINE-MO A..LINE-M1 R....LINE-M1 A..LINE-M2 R....LlNE-M2 A..LlNEJ>O R....LlNEJ>O A..LINEJ>1 ILLINEJ>1 A..LINEJ>2 R....LlNEJ>2 A..LINEJ>3 Rectangle A..REC R....REC Circle CRL Arc CARC Circle sector CSEC Circle segment (bow) CSEG Blipse ELPS Bllpsearc EARC Bllpse sector ESEC Ellipse segment (bow) ESEG Fill Commands Arbitrary area fill PAINT Triangle fill A..TRI..FILL Trapezoid fill A..TRA..FILL Rectangle fill A..REC..FILLC A..REC..FILLA R....REC..FILL Circle fill CRL..FILL ellipse fill ELPS..FILL Copy Commands Physical address to physical address A..COPV..AA Coordinate to physical address A..COPV_CA Physical address to coordinate A..COPV..AC Coordinate to coordinate A..COPV_CC Copy function extensions goo_COPY SLCOPV FR....ES..COPV ES_COPV PUT/GET Commands System memory to display memory PUT..A PULC Display memory to system memory GET..A GELC GET function extensions goo_GET 3-133 #,PD72120 NEe Table 4. DRAW Command Descriptions Commands Name Description Data Read Commands READ.J)P The current drawing pointer coordinates (X#, Y#) are output Read Drawing Pointer to the X and Y registers to be read by the host CPU. 6FH 6EH 10 10 10 0 10 10101010101010101010 READ_COL The color information in each memory plane corresponding to Read Color the coordinates (X, Y) pointed to by the X and Y registers is placed in the OX register to be read by the host CPU. The least significant bit corresponds to the first plane, the most significant bit to the 16th plane. 6FH 6EH o o 101 0 1 0 1010101010 o o Graphics Drawing Commands DOT.J) A dot is drawn at the current drawing pointer coordinates (X#, Dot Direct Y#). The drawing pOinter (X#, Y#) remains unchanged. The bit pointer of the PNTCNT register shifts from the LSB by 1 bit toward the MSB . 6FH 6EH o o o o 1 o 1 0 1 0 1 0 1 IP o IpXENI BPPX o o A-DOT..M A dot Is drawn at the (X, Y) coordinates pointed to by the X Absolute Dot with Move and Y registers, respectively. The drawing pointer (X#, Y#) changes to (X, Y). The bit pointer of the PNTCNT register shifts from the LSB by 1 bit toward the MSB . 6FH 6EH o o o o I I0I0I0I I0 IP jPXENI BPPX 0 0 FLDOT..M A dot is drawn at the (X + OX, Y + DY) defined by the X, OX, Yo Relative Dot with Move and DY registers, respectively. The drawing pointer (X#, Y#) changes to (X+DX, Y +DY). The bit pointer of the PNTCNT regl ster shifts from the LSB by 1 bit toward the MSB . 6FH 6EH o o o 1 1 0 1 o 1 0 1 0 1 0 1 IP 1 0 IpXENI BPPX 10 10 Absolute Une with Move 0, 1, 2 A straight line is drawn from coordinates (X, Y) pointed to by the X and Y registers to (XE, YE) pointed to by the XE and YE registers. WEP determines whether the end point (XE, YE) Is drawn. The drawing pointer (X#, Y#) changes to (XE, VEl. The commands differ as follows. A-LINE...MO The X and Y registers change to the values In the XE and YE registers. The XE, YE, XS, and YS registers do not change value. 6FH 6EH o o o 1 0 o o 1ED 1 IP BPPX 1ESH 1WEP 1 (PL) 3-134 NEe I'PD72120 Table 4. DRAW CtllllllMnd Descriptio". (conf) CommandB NIIIII8 DeBerlptlon Graphics Drawing A-LINE-M1 The X, Y, XE, YE, XS, and YS registers do not change value. Commands (cont) 6FH 6EH o o I0 1· I1 o o BPPX (PI..) A-LINE-M2 The XS and YS registers change to the values In the X and Y registers. The X and Y registers change to the values In the XE and YE registers. The XE and YE registers do not change value. o o 1 I0 BPPX (PI..) Absolute Une Direct 0, 1, 2, 3 A straight line Is drawn from ths current drawing pointer (X#, Y#) to the coordinates (XE, YE) pointed to by the XE and YE registers, respectively. The values In the X and Y registers should be equal to the drawing pointer (X#, Y#) In order to execute these commands. The drawing of the end point (XE, YE) Is determined by WEP. The commands differ as follows. A...LINE..OO The drawing pointer (X#, Y#) and X and Y register values change to XE and YEo The values In the XE, YE, XS, and YS registers do not change. 6FH 6EH 0 0 1 0 0 0 0 0 I ED 1 IP ·1 ES IPXENI BPPX 1ESHIWEPI 1 1 1 (PL) A...LINE..01 The values In the X. Y, XE, YE, XS, and YS registers do not change. The drawing pointer (X#, Y#) changes to (XE, VEl. 6FH 6EH 0 0 1 1 0 1 0 1 1 0 1 o I ED 1 IP 1 ES IPXENI BPPX 1 ESH IWEP I (PL) A-LINE..02 The values In the XS and YS registers change to those In the X and Y registers. The X and Y register values change to those In the XE and YE registers. The XE and YE register values do not change. The drawing pointer (X#, Y#) changeB to (XE, YE). 6FH 6EH o 0 1 1 o 11 o 0 0 I ED I IP 1 ES IpXENI BPPX 1ESH 1WEP I 3-135 "PD72120 NEe Table 4. DRAW Command Descriptions (conI) Commands Name Description Graphics Drawing A..LlNE...D3 The values in the XS and YS registers are used for the end Commands (cont) point of the line. The drawing pointer changes to (XS.YS). The vaiues in the X and Y registers change to those in the XS and YS registers. The XE. YEo XS. and YS register vaiues do not change. 6FH 6EH o o o I o o I ED I IP BPPX I ESH I WEP I (Pl) Relative Line with A straight line is drawn from coordinates (X. Y) pointed to by Move 0.1.2 the X and Y registers to the point (X + OX. Y+DY) with OX and DY contained in their respective registers. Drawing of the end point is determined by the WEP bit. FLLlNE...MO The drawing pointer (X#. Y#) changes to (X+DX. Y +DY). The X and Y registers change to (X + Ox, Y +DY). The OX. DY, XS. and YS register values do not change. 6FH 6EH o 0 I0 o 0 0 I ED I IP ES IpXENI BPPX I ESH I WEP I (Pl) FLLI NE...M 1 The drawing pointer (X#. Y#) changes to (X+DX. Y+DY). The X. y, OX. DY, XS. and YS register values do not change. 6FH 6EH o 0 I0 I 0 I 0 I ED I IP I ES IpXENI BPPX IESH IWEP I (PL) FLLlNE...M2 The drawing pointer (X#. Y#) changes to (X + OX. Y+DY). The XS. and YS registers change to (X. Y). The X and Y registers change to (X+DX. Y+DY). The OX and DY register vaiues do not change. 6FH 6EH o o o o o I ED I IP BPPX I ESH I WEP I (PL) RUne Direct O. 1. 2 A straight line is drawn from the drawing pointer (X#. Y#) to the coordinates (X + OX. Y + Dy) pointed to by the OX and DY registers. The drawing of the end point is determined by the WEP bit. The drawing pointer changes to (X + OX. Y+DY). FLLlNE...DO The X and Y registers change to (X+DX. Y+DY). The OX. DY, XS. and YS register values do not change. 6FH 6EH o 0 o o I ED I IP ES IpXENI I BPPX I ESH WEP I (Pl) NEe "PD72120 Tsble 4. Drs.ing ComlJUlnd Descriptions (conI) Commands Name Description Graphics Drawing FLLlNE...Ol The X Y, OX, DY, XS, and YS register values do not change. Commands (cont) 6FH 6EH 0 0 0 I 0 0 0 0 I EO I IP ES IpXENI BPPX (PL) I ESHIWEPI FLLlNE...02 The XS and YS registers change to (X, V). The X and Y regis- ters change to (X +OX, Y + OV). The OX and OY register values do not change. 6FH 6EH 0 0 0 I 0 0 0 I EO I IP ES IpXENI BPPX I ESHIWEPI (PL) ~EC A rectangle with horizontal and vertical sides parallel to the X Absolute Rectangle and Yaxes Is drawn with the diagonal vertices at coordinates 0 0 0 6FH 0 (X, V) and (XS, YS) pointed to by the X, Y, XS, and YS regis- ters, respectively. The drawing pointer (X#, Y#) changes to (X, V). 0 0 0 IP ES IpXENI 6EH BPPX I ESH I 0 B I I I FLREC A rectangle with horizontal and vertical sides parallel to the X Relative Rectangle and Yaxes Is drawn with the diagonal vertices at coordinates (X, V) and (X+OX, Y +OV). The drawing pointer (X#, Y#) changes to (X, V). 6FH 6EH 0 0 0 I I 0 I 0 I 0 I IP I ES IpXENI BPPX I ESH I 0 CRL A circle is drawn counterclockwise with the center at (XC, YC) Circle pointed to by the XC and YC registers and with radius OX de- fined by the OX register. The drawing pointer (X#, Y#) changes to (XC, YC+OX). The circle Is started from (XC, YC+OX). OX must be> O. 6FH 6EH 0 0 I 0 0 I 0 I 0 I 0 liP I 0 IpXENI BPPX 0 0 CARC A circular arc Is drawn from coordinates (XS, YS) to (XE, YE) Circle Arc with the center of the circle at (XC, YC) and radius Ox. These are pointed to by the XS, YS, XE, YE, XC, YC, and OX regis- ters, respectively. The drawing pointer changes to (XE, VEl. OX must be > O. 6FH 6EH 0 0 I 0 I 0 I 0 I CF I IP 0 IpXENI BPPX 0 IWEPI CSEC A circular sector is drawn with the center at (XC, YC), OX the Circle Sector radius, (XS, YS) the starting pOint, and (XE, YE) the ending point. The drawing pointer changes to (XS, YS). OX must be > O. 6FH 6EH 0 0 I 0 0 0 I CF I IP 0 IpXENI BPPX 0 0 3-137 "PD72120 NEe Table 4. DRAW Command Descriptions (conI) Commands Name Oeserl ptlon Graphics Drawing CSEG A circle segment is drawn with the arc starting at (XS, YS), Commands (cont) Circle Segment ending at (XE, VEl, the circle center at (XC, YC), and with ra- dius OX. A line segment connects the arc starting and ending point to complete the segment. The drawing pointer (X#, Y#) changes to (XS, YS). The radius OX must be > O. 6FH 6EH o 0 o 1 1 1 0 I CF 1 IP 1 0 IpXENI BPPX 0 0 ELPS An ellipse with major and minor axes parallel to the coordinate Ellipse axes Is drawn counterclockwise with the center at (XC, YC), the Y-dlrection radius OY, and the ratio of the squares of the X-axis and Y-axis radii in OH and OV such that OX2/0'(2 = OH/DV. The drawing pointer (X#, Y#) changes to (XC, YC+Oy). The radius DY must be > O. 6FH 6EH o o 1 0 1 0 I 01 IP 1 0 IpXENI BPPX o o EARC An elliptical arc with major and minor axes parallel to the coor- Ellipse Arc dinate axes Is drawn from (XS, YS) to (XE, YE) with the ellipse center at (XC, YC), V-direction radius OY, and the ratio of the squares of the X- and V-direction radii OX2fDY2 = OH/DV. The drawing pointer (X#, Y#) changes to (XE, VEl. The radius DY must be > O. 6FH 6EH o o 1 0 o 1 0 1 0 I CF 1 IP o IpXENI BPPX ESEC An elliptical sector with major and minor axes parallel to the Ellipse Sector coordinate axes is drawn from (XS, YS) to (XE, YE) with the ellipse center at (XC, YC), Y-directlon radius OY, and the ratio of the squares of the X- and V-direction radii OX2/0'(2 = OH/DV. The drawing pointer (X#, Y#) changes to XS, YS). The radius OY must be > O. 6FH 6EH 0 0 10 1 0 1 0 I CF 1 IP 1 0 IpXENI BPPX o o ESEG An elliptical segment with major and minor axes parallel to the Ellipse Segment coordinate axes is drawn from (XS, YS) to (XE, YE) with the ellipse center at (XC, YC), V-direction radius OY, and the ratio of the squares of the X- and V-direction radii 0X2/0y2 = OH/OV. The drawing pointer (X#, Y#) changes to (XS, YS). 6FH 6EH 0 0 10 o I 1 CF IP 0 IpXENI BPPX 0 0 3-138 ttlEC #,PD72120 Table 4. DRAW Command Descriptions (cont) Commands Nsme Description Fill and Paint Commands PAINT A boundary-point search is carried out starting from coordi- nates (X, y) and the resulting enclosed area is filled with a solid or tiling pattern. When PMOD = 0, the boundary colors are set Into the DX register. The area to be painted must be enclosed within the clipping rectangle and the CLIP register must be set to 00. 6FH 6EH a a I a A..TRLFILL A triangular region with vertices at (X, y), (XS, YS), and (XC, Absolute Triangle Fill YC) is filled with the tiling pattern. Y, YS, and YC must not be equal to each other. 6FH 6EH 0 0 I a a TL a SS I I Ia WL WR a A..TRA..FILL Absolute Trapezoid Fill 6FH A trapezoidal area with its parallel sides (upper and lower) de- fined by line segments connecting (X, y) to (XS, y) and (yS, YE) to (XE, VEl, where YS is an X-axis value, is filled with the ti Ii ng pattern. 6EH II a Ia a o a TL a I SS I I WR I a WL a FLTRA..FILL A trapezoidal area with its upper parallel side defined by the Relative Trapezoid Fill line segment connecting (X, y) to (XS, y), a height of DV + 1 dots above the lower side line segment connecting X+DX and XS+XC, is filled with the tiing pattern. 6FH 6EH a Ia a a TL 0 SS I I I WL WR 0 a A..REC _ FI LL C A rectangle with vertical and horizontal sides parallel to the Absolute Rectangle Fill by coordinate axes is filled with the tiling pattern. The diagonal Coordi nates vertices of the rectangle are (X, Y) and (XS, YS). 6FH 6EH a 0 a I o a I TL I a I 1 I S8 I WL I WR IFAST I 0 A..RECYILLA A rectangle with vertical and horizontal sides parallel to the Absolute Rectangle coordinate axes is filled with the tiling pattern. The rectangle Fill by Address is defined by the number of dots in the horizontal direction DH + 1, the number of dots in the vertical direction DV + 1, the starting address (physical address) EAD1, and the bit position In the starting address dAD1. 6FH 6EH a 0 a I o o a a 3-139 "PD72120 t-{EC Table 4. DRAW Command Descriptions (conI) Commands Name Description Fi II and Paint RJlECJ'ILL A rectangle with vertical and horizontal sides parallel to the Commands (cont) Relative Rectangle Fill coordinate axes Is filled with the tiling pattern. The rectangle by Coordinates is defined by the starting point (X, y), the horizontal width OX, and the vertical height OY. The diagonal vertices are at (X, Y) and (X+OX, Y+DY). 6FH 6EH I 1 o o I0 o I 0 I 0 I TL I 0 I SS I WL I WR IFAST I 0 CRLJ'ILL A circle with its center at (XC, YC) and a radius of DX is filled Circle Fill with the tiling pattern. Points on the circumference are filled. The filling starts from the top of the circle and proceeds downward. 6FH 6EH o o I0 olololTL o I I1 SS o o ELPSJ'ILL An ellipse with its major and minor axes parallel to the coordi- Ellipse Fill nate axes, center at (XC, YC), V-direction radius OY, and ratio of the squares of the X- and V-direction radii DX2/Dy2 = DH/DV Is filled with the tiling pattern. The filling starts from the the top of the ellipse and proceeds downward. 6FH 6EH o 0 I 0 I 0 I TL I 0 I 1 I SS I 1 I 1 I 0 0 Copy Commands ~COPY...AA A rectangular area of memory starting from physical location Absolute Copy Address EAD2 and bit position dAD2, with horizontal size DH+l dots to Address and vertical size DV + 1 dots, is transferred to the rectangular area of memory starting from EADI and bit position dAD1. 6FH 6EH o ~COPY_CA A rectangular area of display memory starting from (XS, YS), Absolute Copy Coordinate with horizontal size DH + 1 dots and vertical size DV + 1 dots, to Address Is transferred to the rectangular area of memory starting from physical address EAD1 and bit position dAD1. 6FH 6EH o ~COPY..AC A rectangular area of display memory starting from physical Absolute Copy Address address EAD2 and bit position dAD2, with horizontal size to Coordinate DH + 1 dots and vertical size DV + 1 dots, Is transferred to the rectangular area of memory starting from (X, Y)' 6FH 6EH o o o I 0 3-140 ttlEC "PD72120 Table 4. DRAW Command Descriptions (conI) Commands Name Description Copy Commands (cont) A..COPV_CC A rectangular area of display memory starting from (XS. YS). Absolute Copy Coordinate with horizontal size OH + 1 dots and vertical size DV + 1 dots. to Coordinate is transferred to the rectangular area of memory starting at (X. Y). 6FH 6EH o o o I 0 Copy Function extensions The function of each COPY command can be extended by changing the lower 2 bits of the command code. This exten· sion is defined in the lower byte (6EH) of the command register. 9O"_COPV The transferred memory area Is rotated 90" counterclockwise. 90" Rotation Copy 6EH IESE IREV IROT I 1 I SO_SEL o o SLCOPY The data In a rectangular area of display memory Is slanted Slant Copy by OX in the X·dlrectlon to the change in the Y·direction 6EH FILES_COPY The rectangular data from the source area Is transferred to a Free Angle Rotation. parallelogram at the destination area In display memory. OY Enlarge/Shrink Copy and OX determine the angle for the horizontal side. XE and YE for the vertical side. MAGH and MAGV determine the horizon· tal and vertical enlargement or shrink factore. 6EH ES_COPV The rectangular data from the source area Is transferred to a enlarge/Shrink Copy rectangular area at the destination In display memory and en· larged or shrunk In the horizontal and/or vertical direction. MAGH and MAGV determine the horizontal and vertical scale factors. 6EH IESH IREV IROT IESV I SO_SEL 3-141 "PD72120 NEe Table 4. DRAW Command Descriptions (cont) Commanda Name Description PUT/GET Commands PUT..A Transfers. data from the PGPORT register to a rectangular area Put Data to Address o! display memory starting from word address EAD1 and bit Field position dAD1 with horizontal width DH + 1 dots and vertical height DV + 1 dots. 6FH 6EH 0 0 I0 PULC Transfers data from the PGPORT register to a rectangular area Put Data to of display memory starting from (X, y) with horizontal width Coordl nate Field DH + 1 dots and vertical height DV + 1 dots. 6FH 6EH I I0 I0 1 I GET..A Transfers data to the PGPORT register from a rectangular area Get Data from Address of display memory starting from word address EAD1 and bit FIeld position dAD1 with horizontal width DH + 1 dots and vertical height DV + 1 dots. 6FH 6EH 0 0 I0 o o GELC Transfers data to the PGPORT register from a rectangular area Get Data from of display memory starting from (X, y) with horizontal width Coordinate Field DH + 1 dots and vertical height DV + 1 dots. 6FH 6EH I1 I0 I0 I1 I o I 1 I 0 I 0 I 0 I 0 I 0 I SD_SEL I Get Function extensions Data in the rectangular area of display memory is rotated 9O"_COPV through 90' and transferred to the PGPORT registet 6EH 0 I I I I REV ROT SD_SEL 0 3-142 NEe "PD72120 Figure 24. Graphics Dr",,'og Commands Dot Circle Sector [CSEC] [X+OX, Y+OYI ~1 T [XS, YSI OY [XS, YSI [X, Yl [X, Y) ~CF=1 • 1+10--- ox - - - . 1 ~[XE'YEI [XC, YCII+-- OX -+I R_DOT Line [XE, VEl [X+OX, Y+OYI Circle Segment [CSEG] ""/L:Jf [XS, YSI [XS, YSI ~CF=1 ~[XE'YEI [XC, YCII+-- ox -+I Rectangle [XS, YSI D [X, Yl Circle [CRL] Ellipse Arc [EARC] T OY [XS,YSI .1 [XC, YC) [jF=1 [XE, VEl I[j;(I e, [XS, YSI OY [XC, YCI OX [XE, VEl CF=O OH:OV=OX2:0y2 Ellipse Sector [ESEC] [XS, YSI Ellipse [ELPS] OY r [[NF=1 ~[XE,YEI [XC, YCII+-- ox--I [XE, VEl """''::::;~CF=o 49NR-361B 3-144 t\'EC I'PD72120 F"lIIure 26. Copy COIIIIfIIIndS; Cop", Rotate, Slant Source Copy [COPY] 90' Rotation Copy [90'_COPY] "'.. ~~ 11,1.. r <£Y~ ,",-' tnI "'-'.,",~ II r 1 <£Y-' om-' j.JJ1 49NR·362B 3-145 "PD72120 t\'EC FIgunI 27. Copy CtlllllllllndiI; Enlatgll/ShTinlc, Rot.,. Source i DV 1 Enlarge/Shrink Copy [ES_COPY] Arbitrary Angle Rotation Copy [FFLES_COPY] RCV=D, ROT.O lI!'""'lK""--' ESH=D, ESV=l DX>O,DYcO XEcO, YE>O ESH.O, ESV.1 ~ESH= 1, ESV.O REV=D, ROT.1 ~ ESH.1, ESV.O DXcO,DY>O XEcO, XE>O ~ ESH.1, ESV-o ESH=O, ESV-1 ESH-O, ESV_1 DX>O,DY>O XEcO, YEcO REV=l, ROT_O [IJ' I4J ESH.O, ESV.O ESH.1, ESV=O REV.1, ROT.1 ESH.1, ESV=l DX 1000 -10015 <==> ASTB AEN MREO MACK- MHlMR Analyzer MRO- MWR- Image Bus REAOY- OMAC AO-/Iq AB-A15/0B-015. <==> AlB -A23/00-07 <==> < Pack 83SL·5683B Absolute Maximum Ratings DC Characteristics TA = +25"C TA = -40to +85°C; voo = +5 V ±10% Power supply voltage. VOO -0.5 to +7.0 V Parameter Symbol Min Typ Max Unit Conditions Input voltage. VI -0.5 to VOO + 0.3 V Input voltage. VllC -0.5 +0.8 V ClKpln low-level Output voltage, Vo -0.5 to VOO + 0.3 V Vll -0.5 +0.8 V Other pins Operating tamperature, TOPT -40 to +85°C Input voltage, VIHC +3.3 VOO V ClK, RESET high-level + 0.3 pins Storage tam perature, TSTG -40 to +125°C VIH +2.2 VOO V Other pins + 0.3 Output voltage, VOL +0.4 V IOl = 2.5mA low-level Output voltage, VO H 0.7Voo V IOH = -400 !'A high-level Input leakage III ±10 !'A VIN = Oto VOO current Output leakage ILO ±10 !'A VOUT = Oto current VOO Supply current 100 50 100 rnA While operating 4-6 NEe ILPD72185 AC Characteristics TA = -40 to +85'C; voo = 5 V ±10% Parameter Figure Symbol Min Max Unit Condition Clock ClKcycle 2 tcYK 125 1000 ns ClK low-level width 2 tKKL 50 ns ClK high-level width 2 tKKH 50 ns ClK rise time 2 iKR 10 ns 1.5 - 3.0V ClK fall time 2 tKF 3.0 - 1.5 V Image Memory Interface MREO i delay time from ClK i 3 tOMaH 100 ns MREO,l. delay time from ClK i 3 tOMaH 100 ns MACK i setup time to ClK t 3 tSMA 35 ns MACK ,I. hold time from ClK i 3 tHMA 20 ns AE N i delay time from ClK i 3 tOAEH 100 ns AEN ,I. delay time from ClK i 3 tOAEL 100 ns ASTB i delay time from ClK,I. 3 tOSTH 70 ns ASTB high-level width 3 tSTST tKKH - 15 ns ASTB ,I. delay time from ClK i Address/data/MRD/MWR delay time from elK ,I. Address/data./MRD/MWR float time from elK ,I. Address setup time to ASTB .j; 3 3 3 3 tOSTL loA tFA tSAST 25 tKKH -35 100 100 70 ns ns ns ns II Address hold time from ASTB ,I. 3 iHSTA tKKL -20 ns MRD ,I. delay time from Address float 3 toAR 0 ns MRD ,I. delay time from elK ,I. 3 tORL 70 ns MRD low-level width 3 ~RL2 2tcYK-50 ns WAIT = 0 MRDi delay time from elK i 3 IoRH 70 ns Input data setup time to MRD i 3 tSOR 70 ns Input data hold time from MRD i 3 iHRD 0 ns MWR,I. delay time from elK ,I. 3 tOWL 70 ns MWR low-level width 3 tWWL2 2tcYK -50 ns WAIT = 0 MWRi delay time from elK i 3 IoWH 70 ns READY setup time to ClK i 3 tSRY 35 ns READY hold time from elK i 3 tHRY 20 ns Host Interface DACKICS' recovery time 4,5 tROC 200 ns lORD low-level width 4, 7 tRRL 150 ns Address/CS' ,I. setup time to iORD ,I. 4 tsAR 35 ns Address/CS' ,I. hold time from lORD i 4 tHRA 0 ns Output data delay time from iORD ,I. 4 tORD 120 ns Output data float time from lORD i 4 !fRO 10 70 ns IOWR low-level width 5 twWL 100 ns CS' ,I. hold time from IOWR i 5 tWWCS 0 ns 4-7 "PD72185 NEe AC Characteristics (cont) TA= -40 to +85°C; voo = 5 V ±10% Parameter Figure Symbol Min Max Unit Condition AddresslUEffiicS,!. setup time to iOWA ,!. 5 tsm 0 ns AddressJi]'!ffi hold time from IOWA t 5 tHWA 0 ns Input data setup time to IOWA t 5 tsow 100 ns Input data hold time from IOWA t 5 tHWO 0 ns RESET low-level width 6 tRSTL 7lcvK ns Voo setup time to RESET t 6 tsvoo 1000 ns iOWRJiORD wait time from I'iE§"Ei t 6 tsvwR 2t(;VK ns iOWRJlORD recovery time 7 tR./WR 200 ns DREQ ,!. delay time from iORD ,!. 7 teROO 140 ns DREQ ,!. delay time from iOWA ,!. 7 tewoo 140 ns Figure 1. Voltage Thresholds for Timing Figure 2. Clock Timing Measurements Input I Output 2.4 V - - y . 2.2 V 2.2 V V-- CLK 0.4V -A..;;0,;.;;.8..;.V_ _ _ _ _ _ _..;.0.;;;.8,.;..vA- elK Input 83VL-548OA CLK --y.3.0V 3.0 V V-- -A~1~.5~V~_ _ _ _ _ _..;;1,;.;;5~V"___ 83VL-S479A 4-8 NEe I'PD72185 Figure 3. DMA Transfer Timing on Image Bus tDMOL .... _ tDMOH-i ~----+---r-~---+--~-------------+------~ MREO t sMAr ~~--+---r-~---+------------~-------r--~--+-~ . MACK I tDAEH_i r-+--r~~--r---------~-----+--+-~\ AEN _ _ tDSTL tDSTH- I-- ,.--., ASTB II .... -tHRY READY \ Q/ _ t SRY II Hi-Z Hi-Z Ao-A7 ------------------r~ Address }----------- f+-------tWWL2 MWR --------':!!.-!--------f-J \ Hi-Z Output Data ~----------- • MACK must remain high for at least one clock cycle after MREO becomes high. 83YL·s.t818 4-9 "PD72185 NEe Figure 4. Timing for Read from pPD72185 on Host Figure 6. Reset Timing Bus Voo ~ - ~t-o.I----tSVDD ---"'''00\' tSYWR 83YL·5484A Figure 7. Read/Write Cycle Timing Figure 5. Timing for Write to pPD72185 on Host Bus .J t RDC ~ ~~ DREQ \ I } Address K 1-+ tHWA 83YL·548SA tSAW tWWl_ 1-+ twwcs \ tSDW t HWD ~ 10DO- IOD15 Input Data K 83YL·5483A 4-10 NEe "PD72185 OVERVIEW Table 2. pPD72185 Processing Patterns The "PD72185 encodes and decodes binary image data Type Processing Data Flow, Bus-to·Bus in accordance with the standard system prescribed by A Encoding Image memory Image memory the CCITT (International Telegraph and Telephone Con- B Decoding Image memory Image memory sultative Committee). See table 1. C Encoding Image memory Host D Decoding Host Image memory Table 1. CCITT Standard Systems E Data transfer Image memory Host System CCITT Recommendation F Data transfer Host Image memory MW T.4 (G3 Facsimile) G Data transfer Image memory Image memory MR T.4 (G3 Facsimile) MMR T.6 (G4 Facsimile) The "PD72185 has two bus interfaces with which it connects to the system. One interface is with the host CPU and the other is with image memory. Data exchange with the host CPU is by ordinary I/O accesses; data exchange with image memory is by DMA transfers using the on-chip DMA controller. In this document, the bus on the host CPU side is called the host bus, and the the bus on the image memory side is called the image memory bus. In addition to encoding/decoding, the "PD72185 can perform data transfers between the image memory and the host CPU. Also, it can perform image enlargement II and reduction on expansion and compression and logi- cal operations (AND, OR, XOR,) while transferring data. Table 2 and figure 8 show the processing patterns. 4-11 #£PD72185 tttlEC Figure B. pPD72185 Processing Patterns Host Sus Image Host Sus Image Memory Sus Memory Sus A E I I ~ Image Data I I Data 111'072185 EJ I I Codes B F Eb I I Codes EJ 111'072185 I I Data C G I I I I Data I I Codes I'PD72185 Image Data I'PD72185 I I Data 0 I I Codes EP I IImage Data 83SL·SS84B 4-12 tt{EC ",PD72185 PROCESSING The I'PD72185 processes an image area specified by the host CPU as a unit. On completion of processing, the Modes I'PD72185 sends back to the host CPU in the form of a The two processing modes of the I'PD72185-block and response: memory manage ment information, process- line-are selected by commands from the host CPU. In ing information, counter information, etc. block mode, which is more commonly used, one com- As an example, consider a case in which image data mand controls processing of multiple lines. In line mode, encoded by one method is to be recoded by another one command is required for each line. Line mode allows method. When the recoded data extends over multiple encoding/decoding methods other those prescribed by image areas, the following two methods can be em- the CCITT. ployed. Line Processing (1) All encoded data in the multiple image areas is decoded. This image data is then reencoded all at A compressed line consists of a header and code as once. shown in figure 9. In the header, commands from the host CPU specify the number of filler bits (0 to 65,535), (2) Encoded data in multiple image areas is decoded in the presence/absence of the EOL code, and the number small blocks. This image data is then recoded a of bits in the tag pattern (0 to 8). block at a time, processing only a section of each image each time.. The code that follows the header consists of encoded binary image data. The encoding method can be speci- Depending on the systerrtdesign, pipe lining with method fied per line by commands from the host CPU. 2 may improve processing efficiency. This method can be implemented through the host CPU's management of At the time of encoding, a line is generated in this order: responses sent back by the I'PD72185. filler + EOL code + tag pattern + code. This filler is appended to the immediately preceding line. ENLARGEMENT/REDUCTION Decoding is performed one line at a time in this order: code + fi lIer + EOL code + tag pattern. If a page starts The I'PD72185 can reduce an image when encoding and with an EOL code, the I'PD72185 detects the EOL code enlarge image data when decoding. Reduction is per- and the following tag pattern and processes them before formed by a simple thinning-out operation, and enlarge- starting line-by-line decoding. ment by repeating the same data. Enlargement/reduction types are shown in table 3. Figure 9_ Line Composition (Line Mode) Table 3. Enlargement/Reduction Types Enlargement and (Reduction) Factors Type Horizontal Vertical 1 + - - - - Header part -----t-- A (1) 1 (1) B (1) 2 (112) C 2 (1/2) 2 (1/2) EXTERNAL INTERFACE D 2 (1/2) 4 (1/4) The I'PD72185 exchanges data with image memory by WHITE MASK DMA transfers via the on-chip DMA controller. When the I'PD72185 needs to access image memory, it requests The I'PD72185 can perform white mask processing on use of the image memory bus by activating MREQ. Data the right edge and left edge of image data. The amount is exchanged with a host CPU (including an external of white masking is specified separately for each edge in DMA controller) by normal I/O accesses. The host CPU word units (0 to 255 words) reads and writes data through the I'PD72185 I/O ad- dresses. The I'PD72185 automatically white masks data on en- coding image data. It is not able to perform decoding MULTITASKING and white mask processing at the same time. Hence, white mask processing is performed once decoding is Multitasking means using the I'PD72185 to process mul- completed tiple image areas in parallel by time division. 4-13 "PD72185 NEe BIT BOUNDARY Memory Organization Some image areas consist of lines not terminated in Under control of the host CPU, image memory can be either byte or word units but with an odd number of bits. either byte-organized (8-bit units) or word-organized The ",PD72185 handles image areas of this kind with bit (16-bit units). One ",PD72185 address corresponds to one boundary processing. byte or one word in memory. In both cases the ",PD72185 Lines with an odd number of bits are processed by does its internal processing and writes to image memory specifying void bits up to the byte or word boundary. See in 16-bit units. Thus, when image memory is byte- figure 10. organized, two accesses are required, one to an odd- numbered address and one to an even-numbered ad- Figure 10. Bit Boundary Processing (Word Units) dress. The 24-line address bus allows access to a large amount WOrd boundary Word boundary WOrd boundary of image memory. Table 4 shows image memory capac- ~ ~ ~ ity for byte and word organization. Table 4. Image Memory Capacity t +1._-- /.- Void bits .... (0 to 15) Part actually processed Organization Size *Capaclty Byte 16M bytes 64 A4 sheets Start address WOrd 32M bytes 128 A4 sheets 83YL·5649A *A4 sheet - 210 mm wide by 2$7 mm long Horizontal: 8 dots/mm Vertical: 4 dots/mm IMAGE MEMORY Data Storage Image Area Image memory can store code and other general data as Image memory means the whole area of memory acces- well as binary image data. Binary image data is con- sible by the ",PD72185. An image area, on the other hand, verted to white/black levels shown in table 5 and stored is a rectangular area within image memory (figure 11), as follows. the size and location of which is specified by commands from the host CPU. The unit of processing is an image (1) The first bits scanned are packed in sequence start- area. ing from the LSB of a byte/word. The ",PD72185 can append and also detect the code (2) The first data byte/word scanned is packed in se- indicating the end·of a page using commands from the quence in byte/word units starting from the lower host CPU. Page management, however, is performed by address side. the host CPU. Code transferred serially is stored as follows. Figure 11. Image Area Examples (1) The first bits transmitted are packed in sequence starting from the LSB of a byte/word. Origin (2) The first data byte/word transmitted is packed in Image Memory sequence starting from the lower address side. Table 5. Binary Image Data Levels Image Area r::l o Level Binary Notation Image Area White o Black 83YL-565OA ENCODING/DECODING SYSTEMS Table 6 lists the encoding/decoding systems the ",PD72185 can handle, including CCITT standard sys- tems. Figure 12 shows coded data formats for MH, MR, and MMR systems. 4-14 NEe J,tPD72185 Table 6. Encoding/Decoding Systems Picture Elements System Summary Image data that exceeds 2623 picture elements (pixels) MH One-dimensional encoding/decoding system, per scan line is processed using the run-length code G3 facsimile, CCITT standard. table expansion method stipulated in CCITT Recom- MR Two-dimensional encoding/decoding system, mendation T.6. G3 facsimile, CCITT standard. MMR Two-dimensional encoding/decoding system, G4 facsimile, CCITT standard. Other Systems other than CCITT standards that can be implemented by selecting line mode Figure 12. Code Data Formats in MH, MR, and MMR Systems MHSystem Data proceeds in time ~ Code for one scan line MRSystem Data proceeds in time--.. Code for one scan line MMRSystem Data proceeds in time ~ Code for one scan line Item MHSystem MR System MMR System Start of each scan line EOl EOl No EOl Filler Insertable Insertable None RTC Normally EOl x 6 (EOl + 1) x 6 EOLx2 K·parameter Undefined Present None Tag bits None Normally 1 bit None EOl for head of page None None None ~ 2624 run length code Make-up code x n + termination code ~ EOFB End of facsimile block EOl End of line RTC Return to control Dummy Variable-length string of zeros 83Yl-5651B 4-15 "PD72185 NEe K-Parameter (1) The number of normally-decoded lines (normally- In the MR system, the K-parameter determines the cod- processed line count). ing technique and the transmission error recovery pro- (2) The number of lines in error (error line count). cedures. The value of the K-parameter can be specified as a number from 1 to 255 or as infinity (00). (3) The maximum number of consecutive lines in which errors occurred (consecutive error line count). Whether the code for a particular line uses one- dimensional encoding or two-dimensional encoding is The start of error line counting and successive error line indicated by the value of the tag bit inserted after EOL. counting can be specified in either of two ways as shown See table 7. below. The selection and setting of the initial value of each line count is done by command. Table 7. Relation Between Encoding System and Tag Sit (1) Start count from occurrence of first error. Tag Bit Encoding System Val ue Method of Representation (2) Start count from normal decoding of one line. One-dimensional EOl + 1 (tag bit) HOST INTERFACE Two-dimensional o EOl + 0 (tag bit) Exchanges between the ~PD72185 and the host CPU (or Filler Bits an external DMA controller) are performed by 1/0 ac- cesses over the host interface. In general, writes from When encoding, the ~PD72185 can adjust the length of the host CPU to the ~PD72185 are in the form of com- the coded data by adding filler bits. The two methods of mands and reads from the ~PD72185 are in the form of adding filler bits are as follows. responses. (1) Specify minimum number of bits transmitted with The host bus width is 16 data bits but can be accessed the BLO command 8 bits at a ti.me by manipulation of the logic level on pins (2) Specify number of added filler bits with the LNO 10Ao and USE. See table 9. command. TableS. Host Sus Width When decoding, the ~PD72185 ignores the added filler bits. IOAo UBE Bus Width Pins 0 0 16 bits 1000-10015 Error Detection X 8 bits 1000-1007 When decoding, the ~PD72185 can detect errors in the 0 8 bits 100S-10015 code and carry out appropriate processing. Table 8 lists the types of error detection. To get the ~PD72185 to start processing, the following operations are necessary. Table B. Types of Error Detection (1) Write the command into the command registers. Applicable Encoding (2) Write 1 into the CRQ bit of the control register. Error Detection Systems When the CRQ bit is set, the ~PD72185 begins process- Illegal code MH, MR, MMR ing as directed by the command received. Once pro- Logically inconsistent code MR, MMR cessing has begun, the host CPU cannot write 1 to the Decoded line longer than specified line length MH, MR, MMR CRQ bit again for the next processing operation until it Decoded line shorter than specified line length confirms that processing has been completed or inter- Abnormal page end rupted. Line Number Count Basic Timing When decoding, the ~PD72185 performs three kinds of Figure 13 is a timing diagram applicable to reads from line counting. the ~PD72185 and writes by the host CPU. Figure 14 shows the timing for an external DMA controller in the word mode and byte mode. 4-16 NEe #£PD72185 REGISTERS Figure 14. Read/Write Timing With Externa' DMA Exchanges between the ",PD72185 and the host CPU, Controller including commands and responses, utilize the registers Word Mode and the data FIFO area illustrated in figure 15. The register I/O addresses are OH through DH; EH and FH are not allowed. Note that the 1/0 addresses are shared by corresponding registers in the read and write configura- DREO J \ tions of figure 15. DACK \ I Figure 13. Read/Write Timing· lORD \ ;- cs \ Read From IlPD72185 IOWR \ ;- / Read Data --------------( )-_n -----------< DACK )---- =x Write Data IOAO·IOA3 X USE \ / lORD \ / II Byte Mode Read Data ----------{ )------ Write to IlPD72185 DREO DACK / '- cs \ / iORi5 DACK IOWR IOAO-IOA3 =x X Read Data ----< )-__ n_-( )-- -- IOWR \ / Write Data n~ }-___ n~ )--- Write Data --------( )------- 83SL-567fiA IOAO / 83SL·5677A 4-17 "PD72185 NEe Figure IS. Register Organization Host CPU Write Host CPU Read I/O Address Control Register OH Stalus Register Command Type 1H 2H Response Type - " - - 3H r- - - 4H r- - - - 5H r- - Command - Command - r- Response - Response Register - Parameter - 6H r- Parameter - Register - - 7H f- - - - BH 9H r- - - - AH - - - - - - I} BH Input Data FIFO { Low·Order Data High·Order Data CH DH Low·Order Data High.. Order Data Output Data FIFO Control Register 7 6 5 4 3 2 1 I SFTRST IINTRST I eRQ Status Register 7 6 5 4 3 210 INTR I OUTRDY IINRDY I B3SL-5678B Control Register Status Register The control register is used in writes from the host CPU. The status register is used in reads from the host CPU. The functions of bits 0,1, and 2 are explained below. The functions of bits 0, 1, and 2 are explained below. Command Request (CRQ). When 1 is written to the Input Ready (INRDY). A 1 in the INRDY bit indicates the CRa bit after the host CPU has written a command, the input data FIFO is ready to receive data from the host I'PD72185 begins processing according to the com- CPU. mand. The CRa bit is automatically reset after comple- Interrupt Request (INTR). The INTR bit shows the same tion of processing. logic level as the INT pin. The I'PD72185 sets this bit to Interrupt Reset (INTRST). When the host CPU writes a notify the host CPU that processing has been completed 1 to the INTRST bit, the INT pin output and the INTR bit or interrupted. are reset. After being set, the INTRST bit will be reset automatically. Command· Register Software Reset (SFTRST). Software reset by setting The command register is used in writes from the host SFTRST to 1 is functionally identical to hardware reset at CPU. It has two parts: command type and command the RESET pin. parameter. 4-18 ttlEC J,tPD72185 Response Register setting the output of the INT pin to high and at the same time setting the INTR bit in the status register. See figure The response register is used in reads from the host CPU. 15. It has two parts: response type and response parameter. The host CPU, meanwhile, confirms completion or inter- Input/Output Data FIFO ruption of processing either by sampling the INT signal level or by software polling the INTR bit. The p.PD72185 exchanges image data, code, etc., with the host CPU via the data FIFOs. The input data FIFO and DMA Transfer Timing the output data FIFO are each two bytes wide. The basic bus cycle in a DMA transfer takes three system clock pulses: S 1, S2, and S3. In this bus cycle, the IMAGE MEMORY INTERFACE p.PD72185 reads or writes 1 byte or 1 word. See figure 16. The image memory interface is between the p.PD72185 If the access time to an image memory element is long, and the image memory, which stores image data and and a read/write is not possible within the basic bus code. Accesses to image memory from the p.PD72185 are cycle, then the p.PD72185 can insert wait states (SW) performed by DMA operations using the on-chip DMA between S2 and S3, extending the read/write pulse controller. Via the image memory interface, the width. p.PD72185 directly controls image memory. The two methods of inserting a wait state are: When the p.PD72185 completes command processing, it (1) Using the READY pin. reports completion or interruption to the host CPU by (2) Programming wait states with a command Figure 16. DMA Transfer Timing 1---- BusCycle'---__I _ - - - - - - - Bus C y c l e - - - - - - _ I 51 CLK MREa~ MACK / '- AEN / J "- \'--_ _ _ _----'f'\---- MRD _________ \'--_--'1 J MWR _________ \ I \ f'\---- READY \'--_ _.....11 ASTB ------~I r-\\'--_ _ _~Ir-\\~___________________ Ao· A7 --------------(I...._ _ _ _ _---'X~___________~)- - n A8-A15ID8~i:: -----a'--__ D_a_ta_ _ ---'~I..._ _ _ _ _ _ _Da_ta_ _ _ _ _ ___1)- --- A16-A23/Do·D7 - - - - - ( A d d r e s ' l - - - - - - G - - - - 8 - - - - - - - - - - < ' -_ _ _D_ata _ _........) - - - - - - (Read) 83SL.5680B 4-19 I-tPD72185 ~EC Bus Cycle Modes the MACK signal level is sampled at the rising edge of S3, there is a maximum delay of 1 bus cycle + 1/2 clock The I4PD72185 has three modes in which it operates on interval from the fall of MACK until the I4PD72185 actu- the image memory bus as a Bus Master. A command ally releases the bus. selects the bus cycle mode. In the total bus monopolization mode, DMA break does Total Bus Monopolization Mode. The I4PD72185 com- not operate. pletely monopolizes the bus. The MREQ and MACK signals are not used. Refresh Demand Mode. The I4PD72185 holds on to the busby The I4PD72185 is able to output refresh timing to image keeping the MREQ signal high. The length of time held memory, thus facilitating the connection of pseudo- depends on the data being processed. The I4PD72185 will SRAM. However, the I4PD72185 does not output the always surrender the bus on completing the processing refresh address itself. Consequently, when DRAM is used of a line. in image memory, a refresh address generation circuit must be connected externally or a CAS-before-RAS Eight Bus Cycle Monopolization Mode. The I4PD72185 cycle must be generated. monopolizes the bus for a maximum of eight bus cycles, The refresh function is enabled with a command and after which it releases the bus by dropping MREQ to low. performed with a read cycle to address 80000H. Pin It waits at leastthree clock intervals before raising MREQ A23/D7 used as the refresh timing output pin decreases high again. the bus width to 23 bits .. DMA Break COMMANDS When the I4PD72185 is monopolizing the image memory The I4PD72185 has five types of commands: assignment, bus (MREQ = 1), MACK is normally kept high. If MACK operation, statistical, CLB switch, and special. Table 11 falls to low while MREQ is high, the I4PD72185 immedi- describes the command types; table 12 describes the ately discontinues the DMA transfer. However, because commands Table 11. Command Types Type Function Command Assignment Specifies system configuration, storage locations of data pro- MOD, SCDB, SIMB, SPRS, SYS cessed or to be processed, and processing mode. Operation Gives directions to I'PD72185 for start of encoding/decoding, ABT, BLO, CNT, EOl, LNO, MSK, RTAG, RTC, TRO data transfer (composition), and similar processing. Statistical Requests information on processing executed by I'PD72185. RCLB. RPRS CLB switch Specifies use/non-use of compressed line buffer.' CLB-ON, CLB-OFF Special Reads firmware version of the I'PD72185. RVER • The compressed line buffer handles compressed storage of the code for one line accordingto the coding mode. 4-20 NEe ItPD72185 Table 12. List of Commands Table 12. List of Commands (cont) Name Function Name Function ABT When a CFE interrupt' is generated, the RPRS Requests statistical information from (Abort) "P072185 resumes processing with the ABT (Read process "P072185 on number of normally-processed command. However, this is done only for the status) lines, number of error lines, etc., resulting line being processed when the interrupt was from processing. generated. When this line is completed, the RTAG During decoding, reads tag pattern attached "P072185 interrupts processing again. (Read tag to start of a line. If the ABT command is issued when an in- pattern) In line mode, interpretation of the tag pattern terrupt has not been generated, the by the host CPU allows an individual non- "P072185 cancels the continuous processing CCITT standard encoding/decoding system mode. to be implemented. BLO For block mode, specifies minimum number RTC During encoding, adds RTC code to coded (Block of bits transferred, word length of a line, (Return to data; during decoding, detects added RTC operation) number of void bits at left/right side, word control) code. length of white mask at left/ right side, etc. FNER Reads firmware versions built into Normally, encoding/decoding by the (Read version "P072185 "P072185 is performed through this number) command. SCOB Specifies start address, size, and start bit CLB-ON/OFF User specifies use of compression line buffer (Set code position of image area (code buffer) that (Compression by CLB-ON or CLB-OFF command. Valid buffer) stores code. line buffer only in line mode. on/ofQ When the coded data is coming from the host CPU side, the start address should be CNT When the CNT command is issued, the set to O. (Continue) "P072185 processes the next consecutive image area equal in size to the area previ- SIMB Specifies start address of reference line in ously processed using the same processing (Set image image memory, and start address and size mode and encoding/decoding system. buffer) of image area (image buffer) that stores im- age data. By means of the CNT command, the "P072185 can resume processing even When a transfer is performed, specifies when a CFE interrupt has been generated. transfer source/destination address and size of transfer. EOL During encoding, adds EO L code to coded (End of line) data; during decoding, detects added EO L SPRS Specifies initialization values for normal pro- code. (Set process cessing line count, maximum error line status) count, etc., and abort if error line count ex- If the detected EO L code is judged to be ceeds maximum. part of the RTC code, the "P072185 starts RTC search. SYS Assigns specific system parameters such as (System) image memory organization, bus cycle FILL During encoding, adds lill bits to coded mode, word length of a line, etc. Also initial- (Fill data. izes internal "P072185 parameter table. LNO For line mode, specifies number of fill bits to TRO Performs data transfer/composition for im- (Line operation) be added, word length of a line, number of (Transfer age buffer specified by 1MB command. void bits at left/right side, tag bit, etc. operation) MOD Assigns processing mode, encoding/ decod- * CFE interrupt is generated if a CEMPT or CFULL response is (Mode) ing format (transfer mode in case of a returned. transfer), K-parameter, RTC, enlargement/ reduction, etc. MSK For line-to-receive mask processing, speci- RESPONSES (White mask) fies word length, word length of left/right The I£PD72185 has four types of responses: confirma- side white mask, number of void bits on left/ tion, error, statistical, and special. Table 13 describes right, etc. Also performs white mask pro- cessing on image buffer. the response types; table 14 describes the responses. RCLB When the RCLB command is received, the (Read compres- "P072185 reads the contents of the com- sion line buffer) pression line buffer. Provides user with pixel distribution data for a line. 4-21 p.PD72185 NEe Table 13. Response Types Table 14. List of Responses (cont) Type Function Response Name Function Confirmation Reports normal com- BCD OK, BDCOK,ECDOK, CFUll Indicates specified code buffer has become pletion of processing EDCOK, FlllOK, lCDOK, (CDB full) full during encoding. requested by a com- lDCOK, MODOK, mand MSKOK, POK, RCDOK, At this point, the "PD72185 enters the CFE interrupt state and subsequently accepts RDCOK, SCDBOK, SIM- BOK, SOK, SYSOK, TAG- only SYS, SCDB, CNT, ABT, RPRS, and RClB commands. If other commands are PAT, TRNOK, VEROK issued, a CFE ERR response is returned. Error Returned when an BlABT, CMDERR, error occurs during DBlCRQ lNABT ClBTBl Reports compression line buffer contents in processing requested (ClBTBl table) response to RClB command. by a command. CMDERR Indicates that there is no command corre- Statistical Returns statistical in- PRSTBl (Command error) sponding to input command code. formation in response DBlCRQ Indicates receipt of duplicate command re- to a (Double CRQ quests during processing, and notifies host command. error) CPU that processing being executed is in- validated. Special Other than above. CEMPT, CFUll, ClBTBl ECDOK Indicates EO l code has been added and (EOl code okay) output to code buffer by EO l command. Table 14. List of Responses Sends back to host CPU: start address and Name Function start bit position of code buffer following BCD OK Indicates normal termination of encoding by processed code buffer. (Block code okay) BlO command. EDCOK Indicates detection of EO l code in code (EOl decode buffer by EO l command. Sends back to host CPU: number of lines okay) processed; start address of image data Sends back to host CPU: address and posi- buffer following processed image data tion of bit following detected EO l code. buffer; start address and start bit position of code buffer following processed code buffer. FlllOK Indicates that the number of fill bits speci- (FILL okay) fied by a FI Ll command have been output. BDCOK Indicates normal termination of decoding by (Block decode BlO command. Sends back to host CPU: start address and okay) bit position of buffer code following fill bits. Sends back to host CPU: number of lines lCDOK Indicates normal termination of encoding by processed; start address of image data (Une code okay) lNO command. buffer following processed image data buffer; start address and start bit position of Sends back to host CPU: number of lines code buffer following processed code buffer. remaining in image buffer; start address of BLABT Indicates that during decoding by BlO com- image buffer following processed image (Block abort) mand, processing was aborted because er- buffer; start address and start bit position of ror line count exceeded maximum value set code buffer following processed code buffer. by SPRS command. lDCOK Indicates normal termination of decoding by (Line decode okay) lNO command. Sends back to host CPU: number of lines processed; start address of image buffer Sends back to host CPU: number of lines following processed image buffer; start ad- remaining in image buffer; start address of dress and start bit position of code buffer image buffer following processed image following processed code buffer. buffer; start address and start bit position of CEMPT Indicates specified code buffer has become, code buffer following processed code buffer. (CDB empty) empty during decoding. lNABT Indicates that during execution of decoding (Line abort) by lNO command, processing was aborted At this point, the "PD72185 enters the CFE because error line count exceeded maxi- interrupt state, and subsequently accepts mum value set by SPRS command. only SYS, SCDB, CNT, ABT, RPRS, and RClB commands. If other commands are Sends back to host CPU: number of lines issued, a CFE ERR response is returned. remaining in image buffer; start address of CFEERR In the CFE interrupt state, indicates a com- image buffer following processed image (CDB full/empty mand other than SYS, S CDB, C NT, ABT, buffer; start address and start bit position of error) RPRS, or RClB has been issued. code buffer following processed code buffer. 4-22 NEe "PD72185 Table 14. List of Responses (cont) SYSTEM CONFIGURATION Name Function Figure 17 is a diagram of low-end and high-end system MODOK Indicates normal termination of MOD com- configurations. (MOD okay) mand processing. MSKOK Indicates normal termination of processing (Mask okay) by MSK command. Sends back to host CPU: start address of next image buffer to be processed. POK When the "PD72185 is in continuous (Process okay) processing mode, and the object of execu- tion by an ABT command is BlO, LN~, RTAG, EOl, or RTC, then POK indicates con- tinuous processing mode has been discontinued. Sends back to host CPU: start address and start bit position of code buffer following processed code buffer. PRSTBl Reports contents of statistical information (Process status table before it is initialized by SPRS com- table) mand. Also reports current contents of table In re- sponse to RPRS command. RCDOK (RTC code okay) Indicates RTC code has been added and output to code buffer by RTC command. Sends back to host CPU: start address and start bit position of code buffer following processed code buffer. II RDCOK Indicates detection of RTC code in code (RTC decode okay) buffer by RTC command. Sends back to host CPU: address and posi- tion of bit following detected RTC code. SCDBOK Indicates normal termination of S CDB com- (SCDB okay) mand processing. SIMBOK Indicates normal termination of SIMB com- (SIMB okay) mand processing. SOK Indicates that when a CNT or ABT command (Set okay) has been issued and the command to be executed does not exist, the "PD72185 has terminated processing. SYSOK Indicates normal termination of SYS com- (SYS okay) mand processing. TAGPAT Indicates tag pattern specified by an RTAG (Tag pattern) command has been read. Sends back to host CPU: start address of code buffer following read tag pattern and start bit position of that code buffer. TRNOK Indicates normal termination of data (Transfer okay) transfer/composition processing by TRO command. Sends back to host CPU: next transfer source/destination address. VEROK Returns firmware version to the host CPU. (FWER okay) 4-23 I'PD72185 NEe Figure 17. System Configurations Low·End Type Host (V50 etc.) lSystemBus Hlgh·End Type <=> ~L.. ~~_~,...~_e_ __ ... ~ ~W.Maln. ~ ~ lHostBuS L lmage MemOty Bus 4-,24 ttlEC FLOPPY-DISK CONTROLLERS 5-1 Floppy-Disk Controllers tt{EC Section 5 Floppy-Disk Controllers ""0785A/,,,,0766B 5003 Single/Double Density Floppy-Disk Controller "P071 085/86 6-21 Floppy-Disk Interface "P072085/e&B 6·43 CMOS Roppy-Disk Controller ",,072087 5-67 Roppy-Disk Controller ",,072068 &-79 Roppy-Disk Controller ",,072089 500105 Roppy-Disk Controller 5-2 tt{EC pPD765A/pPD765B Single/Double Density NEe Electronics Inc. Floppy-Disk Controller Description Features The /iPD765A/B is an LSI floppy disk controller (FOG) Address mark detection circuitry is internal to the FDC chip which contains the circuitry and control functions which simplifies the phase-locked loop and read elec- for interfacing a processor to 4 floppy disk drives. It is tronics. The track stepping rate, head load time, and capable of either IBM 3740 single density format (FM), or head unload time are user-programmable. The IBM System 34 double density format (MFM) including /iPD765AI/iPD765B offers additional features such as double-sided recording. The /iPD765A/B provides con- multi-track and multi-side read and write commands trol signals which simplify the design of an external and single and double density capa,pilities. phase-locked loop and write precompensation circuitry. o FM, MFM Control The FDC simplifies and handles most of the burdens as- sociated with implementing a floppy disk interface. o Variable recording length: 128, 256, ... 8192 bytes I sector Hand-shaking signals are provided in the /iPD765A/B which make DMA operation easy to incorporate with the o IBM-compatible format (single- and double- aid of an external DMA controller chip, such as the sided, single- and double-density) /iPD8257. The FDC will operate in either the DMA or non- o MUlti-sector and multi-track transfer capability DMA mode. In the non-OM A mode the FDC generates o Drive up to 4 floppy or micro floppydisk drives interrupts to the processor every time a data byte is to be transferred. In the DMA mode, the processor need o Data scan capability-will scan a single sector or only load the command into the FDC and all data an entire cylinder comparing byte-for-byte host transfers occur under control of the FDC and DMA memory and disk data controllers. o Data transfers in DMA or non-DMA mode There are 16 commands which thetlPD765AltlPD765B o Parallel seek operations on up to four drives will execute. Most of these commands require multiple o Compatible with /iPD8080/85, /iPD8086/88, V-series 8-bit bytes to fully specify the operation which the and /iPD780 (Z80®) microprocessors processor wishes the FDC to perform. The following commands are available. o Single-phase clock: 8 MHz maximum Read Data Read Deleted Data o +5Vonly ~} l80 is a registered trademark of the Zilog Corporation. Read 10 Write Data Specify Write 10 (Format Write) Read Diagnostic Write Deleted Data Pin Configuration Scan Equal Seek Scan High or Equal Recalibrate RESET Scan Low or Equal Sense Interrupt Status RD WR Version Sense Drive Status. FlTR/STEP HOLD Ordering Information Device Number Package Type Max Freq. of Operation pPD765AC2 40-pin plastic DIP 8 MHz DB, pPD765B 40-pin plastic DIP 8 MHz DBs DB, DB, DRQ DACK TC INDEX INT ClK GND'-'--_ _......I WClK NECEL-000324 5-3 /APD765A//APD765B NEe Pin Identification RD (Read Strobe) No. Symbol Function The RD input allows the transfer of data from the FDC RESET Reset input to the data bus when low and either CS or DACK is RD Read control input asserted. WR Write control input 4 CS Chip select input WR (Write Strobe) 5 Aa Data or status select input The WR input allows the transfer of data to the FDC 6-13 DBa-DB7 Bidirectional data bus from the data bus when low. Disabled when CS is high. 14 DRO DMA request output Ao (Data/Status Select) 15 DACK DMA acknowledge input 16 TC Terminal count input The AO input selects the data register (AO =1) or status 17 INDEX Index input register (Ao = 0) contents to be accessed through the data bus. 18 INT Interrupt request output 19 ClK Clock input CS (Chip Select) 20 GND Ground The FDC is selected when CS is low, enabling RD and 21 WClK Write clock input WR. 22 WINDOW Read data window input 23 RDATA Read data input DBO-DB7 (Data Bus) 24 SYNC VCO sync output DBo-DB? are a bidirectional a-bit data bus. Disabled 25 WE Write enable output when CS is high. 26 MFM MFM output 27 SIDE Head select output ORa (DMA Request) 28,29 USa, US1 FDD unit select output The FDC asserts the DRO output high to request a DMA 30 WDATA Write data output transfer. 31,32 PSa, PS1 Preshift output 33 FlT ITRKO Fault! track zero input DACK (DMA Acknowledge) 34 WPRT 12SIDE Write protect! two side When the DACK input is low, a DMA cycle is active and input the controller is performing a DMA transfer. 35 READY Ready input 36 HDlD Head load output TC (Terminal Count) 37 FlTRI STEP Fault reset I step output When the TC input is high, it indicates the termination of 38 lCT I DIR low current direction a DMA transfer. It terminates data transfer during Read/ output Write/Scan commands in DMA or interrupt mode. 39 RW ISEEK Read I write I seek output 40 Vee DC power ( +5 V) INDEX (Index) The INDEX input goes high at the beginning of a disk Pin Functions track. RESET (Reset) INT (Interrupt) The RESET input places the FDC in the idle state. It re- The INT output is FDC's interrupt request. In Non-DMA sets the output lines to the FDD to 0 (low), except PSO, 1 mode, the signal is output for each byte. In DMA mode, and WDATA (undefined), INT and DRO also go low; it is output at the termination of a command operation. DBO-7 goes to an input state. It does not affect SRT, HUT, or HLT in the Specify command. If the RDY input is CLK(Clock) held high during reset, the FDC will generate an inter- ClK is the input for the FOC's single-phase, TTL-level rupt within 1.024 ms. To clear this interrupt, use the squarewave clock: a MHz or 4 MHz. (Requires a pull-up Sense Interrupt Status command. resistor.) 5-4 NEe I-lPD765A/I-lPD765B WCLK (Write Clock) Shift The WCLK input sets the data write rate to the FDD. It is PSO PS1 (MFMWDATA) 500 kHz for FM, 1 MHz for MFM drives, for 8 MHz opera- o o Normal tion of the FDC; 250kHz FM or 500 kHz MFM for 4 MHz o 1 Late FDC operation. 1 o Early This signal must be input for read and write cycles. 1 1 WCLK's rising edge must be synchronized with CLK's rising edge, except for the I-IPD765B. READY (Ready) The READY input indicates that the FDD is ready to re- WINDOW (Read Data Window) ceivedata. The WINDOW input is generated by the phase-locked loop (PLL). It is used to sample data from the FDD and in H OLD (Head Load) distinguishing between clock and data bits in the FDC. The HDLD output is the command which causes the read/write head in the FDD to contact the diskette. RDATA (Read Data) The RDATA input is the read data from the FDD, FLT ITRKO (Fault/Track 0) containing clock and data bits. To avoid a deadlock In the read/write mode, the FLT input detects FDD fault situation, input RDATA and WINDOW together. conditions. In the seek mode, TRKO indicates track 0 head position. WDATA (Write Data) WDATA is the serial clock and data output to the FDD. WPRT 12SIDE (Write Protect/Two Side) In the read/write mode, the WPRT input senses write WE (Write Enable) protected status (at the drive or media.) In the seek The WE output enables write data into the FDD. mode, 2SIDE senses two-sided media. SYNC (VCO Sync) FLTRISTEP (Fault Reset/Step) The SYNC output inhibits the VCO in the PLL when low, In the read /write mode, the FLTR output resets the fault enables it when high. flip-flop in the FDD. In the seek mode, STEP outputs step pulses to move the head to another cylinder. A fault MFM (MFM Mode) reset pulse is issued at the beginning or each Read or Write command prior to the HDLD signal. The MFM output shows the VCO's operation mode. It is high for MFM, low for FM. LCTIDIR (Low Current/Direction) SIDE(Head Select) In the read/write mode, the LCT output indicates that the R/W head is positioned at cylinder 42 or greater. In Head 1 is selected when the SIDE output is 1 (high), head the seek mode, the DIR output determines the direction ois selected when SIDE is 0 (low). the head will move in when it receives a step pulse. If DIR is 0, seeks are performed in the outward direction; USa, US1 (Unit Select 0, 1) DIR is 1, seeks are performed in the inward direction. The USo and US1 outputs select up to 4 floppy disk drive units using an external decoder. RW ISEEK (Read/Write/Seek) The RW/SEEK output specifies the read/write mode PSa, P~ (Preshift 0, 1) when low, and the seek mode when high. The PSo and PS1 outputs are the write precompensation request signals for MFM mode. They determine early, GND (Ground) late, and normal times forWDATA shifting. Ground. VCc<+5V) +5 V power supply. 5-5 IJPD765A/IJPD765B ttt{EC Block Diagram DC Characteristics TA= -10"Cto +70"C, Vee = +5V±1O% Pamneter Input vo~age S,mbol VIL Min -0.5 Umils ~p ... +0.8 unn V Test Condition. low Input voltage VIH 2.0 Vee+0.5 V high Output voltage VOL 0.45 V IOL =2.0mA low Output voltage VOH 2.4 Vee V IOH':: -200"" ORO high ~ INT Input vo~age Vll("') -0.5 0.65 V iiij low (CLK + Wil ... -, WCLK) - write Protect! _SIde Inputvo~ge 2.4 Vee+0.5 V Index VIH("') F.uH/'DackD high (CLK+WCLK) Ci Unit Select 0 Unit Select 1 Supply current Icc 150 mA pPD765AC2 MFMMode (Vee) 140 mA pPD765B CLK RWISeek Vee H.... Lood Input load IUH 10 VIN=Vee OHO H.... SO.... Low CUrrimtI DIrection current high Input load -10 "" VIN=OV ILIL Fault Reeet/Step current low Output leakage ILOH 10 "" VOUT=Vee Absolute Maximum Ratings current high Output leakage ILOL -10 "" VOUT= +0.45 V TA=25"C Power supply vo~age, Vee -0.5to +7V current low "" Input voltage, VI -0.5to +7V Capacitance Output voltage, VA -0.5to +7V TA=25"C, fc=lMHz, vcc=ov Operating temperature, TOPT -10·C to +70·C Umils '!'tIt Storage temperature, TSTG -65·C to +150·C ParametIr Spdlol lin ~p lu Unn Condition. Comment: Exposing the device to stresses above those listed Input clock CIN("') 20 pF (Note 1) In the Absolute Maximum Ratings could cause pemnanent capacitance damage. The device should not be operated under conditions Input CIN 10 pF (Note 1) outside the limits described in the operational sections of this capacitance specification. Exposure to absolute maximum rating condi- Output COUT 20 pF (Notal) tions for extended periods may affect device reliability. capacitance Note: (1) All pins except pin under test tied to AC ground. 5-6 t\'EC J,lPD765AI J,lPD765B DIFFERENCES BETWEEN pPD765A AND pPD765B ThepPD765B is a functionally enhanced version ofthe pPD765A. Differences are explained below. Overrun Bit [OR] In pPD765A, when executing a read- or write-type command (except READ ID and SCAN types), the result status OR bit is not set if there is an overrun on the final byte of a sector. An improvement in the pPD765B allows it to set the OR bit.in any situation. DRQ Reset When an overrun occurs, the pPD765A needs DACK input to reset DRO. If DACK is not available, an external DMA controller continues to operate even after the FDC enters the R-Phase (Result Phase), and stored result status may be transferred accidentally as ordinary data. On the other hand, the pPD765B resets DRO auto- matically just before the R-Phase entry and independent of the DACK input. See AC Characteristics for DRO reset timing. Clock Synchronization The pPD765B does not require synchronization between the ClK and WClK inputs. Version Command The Version command distinguishes the pPD765B from other devices. The STO response to the Version command is: Part No. STO Value pPD765A 80H pPD765B 90H 5-7 IAPD765AJlAPD765B NEe AC Characteristics TA = -10 to +70·C; Vee = +5 V ±10% Parameter Symbol Min Typ (11 Max Unit Conditions Parameter Symbol Min Typ (11 Max Unit Conditions Clock period ¢CY 120 125 500 ns 8-MHz ClK WClK cycle time tCY 16 ¢CY MFM =0 240 250 500 ns 4-MHz ClK 8 ¢CY MFM = 1 Clock active ¢o 40 ns WClK aclive lime 10 80 250 350 ns Nole 4 (high, low) (high) Clock rise ¢R 20 ns ClK t -WClK j ICWL 0 ¢o ns IIPD765AC2 time delay only Clock fall ¢F 20 ns WClK, RDATA and tR 20 ns lime WINDOW rise lime Ao, CS, DACK IAR 0 ns WClK, RDATA and IF 20 ns selup lime 10 RD j WINDOW fall lime Ao, CS, DACK _ tRA 0 ns Preshift del a?, lime tcp 20 100 ns hold time from RD t from WClK RD width tRR 200 ns WClK t - WE t tCWE 20 100 ns delay Data access time tRO 140 ns CL =100pF from RD j WDATA dela?, time tco 20 100 ns from WClK DB to float delay tOF 10 85 ns time from RD t RDAT A active tROD 40 ns time (high) Ao, CS, DACK tAW 0 ns setup time to WR j Window cycle time twCY 2 liS MFM=O Ao,CS, DACL tWA 0 ns liS MFM=1 hold time to WR t Window hold time tROW 15 ns WR width tww 200 ns from RDATA Data setup time to tow 100 ns Window selup time tWRo 15 ns WRt to RDATA Data hold time from two 0 ns USo 1 setup time tus 12 liS 8-MHz ClK WR t to SEEK t Notes 4, 5 INT delay time from tRI 2¢CY ns Non-DMA SEEK setup time tso 7 liS lIDt +¢o mode to DlR + 135 Direction setup time tOST 1.0 liS INT delay time from tWI 2¢CY ns 10 step t WRt +¢o USO,1 hold time tSTU 5.0 liS + 135 from step t DRa cycle time tMCY 13 liS ¢CY = 125 Step active time tSTP 6 7 8 liS Notes 4,5 ns (Note 4) (high) DACK j - DRa j tAM 140 ns delay Step cycle time tsc 33 Note 2 Note 2 liS Fault reset active tFR 8.0 10 liS ORa t - DACK j tMA 200 ns ¢CY = 125 delay time (high) ns (Note 4) DACK width Write data width twoo to ns tAA 2 ¢CY ns -50 +15 TC width USo, 1 hold time tsu 15 liS 8-MHz ClK tTC ¢CY after seek Notes 3, 4, Reset width tRST 14 ¢CY 5 DRa j -INT tMI 60 77 ¢CY IIPD765B SEEK hold time tos 30 liS 8-MHz ClK response time only from DIR Notes 4,5 INT- DACK tlA ¢CY DIR hold time tsTO 24 liS ineffective after step Index pulse width tlOx 4 ¢CY 5-8 NEe JAPD765AI JAPD765B AC Characteristics (cont) Parameter Symbol Min Typ (1) Max Unit Conditions RO j delay from ORO tMR 800 ns 8-MHz elK Note 4 WR j delay tMW 250 ns from ORO WR t or RiJ t tMRW 12 pS response time from ORO t Notes: (1) Typical values for TA = 25°C and nominal supply voltage. (2) Under software control. The range is from 1 msto 16 msat8-MHz clock period, and 2 ms to 32 ms at 4-MHz clock period. (3) When one device is executing a SEEK operation, SENSE DRIVE STATUS is executed on another device. (4) Double these values for a 4-MHz clock period. (5) The drive side rating has a variance of -50 ns from the minimum value. Timing Waveforms Processor Read Operation Processor Write Operation Data --~---~.~~- __ _ _ _ _ _ _lw_,=1 INT - - - - - - - - INT ~ 5-9 ",PD765A/",PD765B NEe Timing Waveforms (Cont) Seek Operation Data Input Waveform for AC Test (Except CLK, WCLK) USO•1 I 2.4 0.45 X~:: :::X 1..-_ _ __ RWISeek Direction " Slep Clock (WCLK, CLK) Input Waveform for AC Test -----:------" 3.0 -----------r.,...,-----"..,-,. 12.4 2.4-\ 0.3 _ _ _ _-.JfO.65 0.65\'-_ _ _ __ Oulpul Load Capacilance: 1 TTL +100pF Overrun Operation (J.lPD7658 Only) IMI--+i-----R.Phase'-----+i Clock ORO tNT Generation (Command Execuled) DMA Operation ORO FLT Reset olieK --I--:--"i Fault Reset 0 ~~ -=:.j tFR WRor AD FDD Read Operation FDD Write Operation Read Dala h ("1,---.,.,-- =--1 FIRDD §IWRD1 Read Dala Window _ _ _ _----'C 1 1RDw X r WrileClock -twCy----- Note: Either polarity data window is valid. Write Enable Terminal Count n Preshift 0 or 1 _../'-_ _....;,1'\:...1_ _./\_ _----'''---_ TC Write Data -----=:1 I~ 83-Q02828A Preshift 0 Preshift 1 Normal 0 ~---.- -~"-·-o -~---.------ Reset ~~ Invalid - - - - - - - - - · - - - - - - - 1 - - 0 Reset n -----=:1 I~ 5-10 fttIEC ",PD765AI ",PD765B Timing Waveforms (Cont) Table 2. Main Status Register Pin Write Clock No. Nlme Function DBO DOB FDD number 0 is in the seek mode. If any ClK (FDDO Busy) of the DnB bits is set FOe will not accept read or write command. OBI DIB FDD number 1is in the seek mode. If any of WClK / (FDD 1 Busy) the DnB bits is set FOG will not accept read ----' or write command. DB2 D2B FDD number 2 is in the seek mode. If any 83-002827A (FDD 2 Busy) of the DnB bits is set FOG will not accept read or wrrte command. DB3 D3B FDD number 3 is in the seek mode. If any Index (FDD3 Busy) of the DnB bits is set FOG will not accept read or write command. DB4 GB A Read or Write command is in process. (FOG Busy) FOG will not accept any other command. DB5 EXM This bit is set only during execution phase (Execution Mode) in non-DMA mode. When DB5 goes low. execution phase has ended and result Internal Registers phase has started. It operates only during The j.lPD765A/j.lPD765B contains two registers which non-DMA mode of operation. may be accessed by the main system processor: a sta- DBe DID Indicates direction of data transfer be- tus register and a data register. The 8-bit main status (Data Input / Output) tween FOG and data register. If 010=1. register contains the status information of the FDC, and then transfer is from data register to the processor. If DID = O. then transfer is from may be accessed at any time. The 8-bit data register the processor to data register. (which actually consists of four registers, STO-ST3, in a II DB? ROM Indicates data register is ready to send or stack with only one register presented to the data bus at (Request for Master) receive data to or from the processor. Both a time), stores data, commands, parameters, and FDD bits 010 and ROM should be used to per- status information. Data bytes are read out of, or written form the hand-shaking functions of into, the data register in order to program or obtain the "ready" and "direction" to the processor. results after a particular command (table 3). Only the status register may be read and used to facilitate the The 010 and ROM bits in the status register indicate transfer of data between the processor and j.lPD765A/ when data is ready and in which direction data will be j.lPD765B. transferred on the data bus. See figure 1. The relationship between the status/data registers and the signals RD, WR, and Ao is shown in table 1. Figure 1. 010 and ROM Data In/Out Out FCC and Into Procesaor Table 1. Status/Data Register Addressing Ao AD WA Function (010) Out Processor and Into FDC h-- Ready I I 0 0 1 Read mai n status register RaquastlorMaater I~ (ROM) I Not II I I III I 0 1 0 Illegal _IRasdyll IIIIII WR I u I I I I II a a a Illegal RD~I a a Illegal I : I : I I: I:: I a 1 Read from data register I A IaI A lal A C 10 Ie 101B! A I a Write into data register Not•• ; A- Data register ready to be written into by processor. B- Data register not ready to be written into by processor. C- Data register ready for next data byte to be read by processor. The bits in the main status register are defined in 0- Data register not ready to be read by processor. table 2. 5-11 f.tPD765AI f.tPD765B ttfEC Table 3. Status Register Identification Table 3. Status Register Identification (cont) Pin Pin No. Name Function No. Name Function Status Register 0 Status Register 1 (conI) 07,06 IC 07=0 and 06=0 02 NO During execution of Read Data, Read De- (Interrupt Code) Normal termination of command, (NT). (No Oata) leted Data, Write Data, Write Deleted Data Command was completed and properly ex- or Scan command, if the FOC cannot find ecuted. the sector specified in the IDR(2) Register, this flag is set. 07=Oand 06=1 Abnormal termination of command, (AT). During execution ofthe Read ID command, Execution of command was started but if the FDC cannot read the ID field without was not successfu lIy completed. an error, then this flag is set. 07=1 and 06=0 During execution of the Read Diagnostic Invalid command issue, (IC). Command command, if the starting sector cannot be which was issued was never started. found, then this flag is set. 07=1 and 06=1 01 NW During execution of Write Data, Write De- Abnormal termination because during (Not Writable) leted Data or Write 10 command, ilthe FOC command execution the ready signal from detects a write protect signal from the FOO changed state. FDD, then this flag is set. 05 SE When the FOC completes the Seek com- Do MA This bit is set if the FOC does not detect the (Seek End) mand, this flag is set to 1 (high). (Missing Address lOAM before 2 index pulses. It is also set if EC If afault signal is received from the FOO, or Mark) the FDC cannot find the DAM or DDAM af- 04 (Equipment Check) if the track 0 signal fails to occur after 77 terthe lOAM is found, MD bit of ST2 is also step pulses (Recalibrate Command) then set at this time. this flag is set. Status Register 2 03 NR When the FOO is in the not-ready state and Not used. This bit is always 0 (low). (Not Ready) a Read or Write command is issued, this During execution of the Read Data or Scan 06 CM flag is set. If a Read or Write command is (Control Mark) command, if the FDC encounters a sector issued to side 1 of a single-sided drive, which contains a deleted data address then this flag is set. mark, this flag is set. Also set if DAM is 02 HO This flag is used to indicate the state of the found during Read Deleted Data. (Head Address) head at interrupt. If the FDC detects a CRC error in the data 05 DO 01 USI This flag is used to indicate a drive unit (Data Error in field then this flag is set. (Unit Select 1) number at interrupt. Data Field) 00 USo This flag is used to indicate a drive unit 04 WC This bit is related to the NO bit, and when (Unit Select 0) number at interrupt. (Wrong Cylinder) the contents of C(3) on the medium is dif- Status Register 1 ferent from that stored in the IDR, this flag is set. 07 EN When the FOC tries to access a sector be- (End of Cylinder) yond the final sector of a cylinder, this flag 03 SH During execution of the Scan command, if is set. (Scan Equal Hit) the condition of "equal" is satisfied, this flag is set. 06 Not used. This bit is always 0 (low). 02 SN During execution of the Scan command, if 05 OE When the FOC detects a CRC(1) error in ei- (Scan Not Satisfied) the FDC cannot find a sector on the cylin- (Oata Error) therthe 10 field orthe data field, this flag is der which meets the condition, then this set. flag is set. 04 OR If the FOC is not serviced by the host sys- 01 BC This bit is related to the NO bit, and when (Overrun) tem during data transfers within a certain (Bad Cylinder) the contents of C on the medium is differ- time interval, this flag is set. ent from that stored in the IDR and the con- 03 Not used. This bit is always 0 (low). tents of Cis FFH, then this flag is set. Do MD When data is read from the medium, if the (Missing Address FDC cannot find a data address mark or Mark in Data Field) deleted data address mark, then this flag is set. 5-12 NEe IAPD765AllAPD765B Table 3. Status Register Identification (cont) Command Symbol Description Pin Name Function No. Name Function AO AO controls selection of main status register Status Register 3 (Address Line 0) (Ao=O) or data register (Ao=I). FT This bit is used to indicate the status of the C C stands for the current I selected cylinder 07 (Fault) fault signal from the FOO. (Cylinder Number) (track) numbers 0 through 76 of the medium. 06 WP This bit is used to indicate the status of the o ostands for the data pattern which is going to be (Write Protected) write protected signal from the FOO. (Data) written into a sector during WRITE 10 operation. 05 RY This bit is used to indicate the status of the °rOo 8-bit data bus, where 07 stands for a most (Ready) ready signal from the FOO. (Data Bus) significant bit, and Do stands for a least significant bil. 04 TO This bit is used to indicate the status of the (Track 0) track 0 signal from the FOD. OTL When N is defined as 00, OTL stands for the data (Data Length) length which users are going to read out or write D3 TS This bit is used to indicate the status of the into the sector. (Two-Side) two-side signal from the FOO. EOT EOT stands for the final sector number on a cylin- 02 HO This bit is used to indicate the status of the (End of Track) der. During read or write operations, FOC will stop (Head Address) side select signal to the FOO. data transfer after a sector number equal to EOT. 01 US1 This bit is used to indicate the status of the GPL GPL stands for the length of gap 3. During Read I (Unit Select 1) unit select 1 signal to the FOD. (Gap Length) Write commands this value determines the num- DO USo This bit is used to indicate the status of the ber of bytes that VCO sync will stay low after two (Unit Select 0) unit select 0 Signal to the FOO. CRC bytes. During Format command it deter- mines the size of gap 3. Note: (1) CRC = Cyclic Redundancy Check H H stands for the logical head number 0 or 1, as (2) IDR= Internal Data Register (Head Address) specified in ID field. (3) Cylinder (C) is described more fully in the Command Symbol HO HO stands for a the physical head number 0 or 1 Description. (Head) and controls the polarity of pin 27. (H = HD in all command words.) Command Sequence HLT HLT stands for the head load time in the FOO (2 to The flPD765A/flPD765B is capable of performing 15 dif- (Head Load Time) 254 ms in 2 ms increments). ferent commands_ Each command is initiated by a HUT HUT stands for the head unload time after a Read multibyte transfer from the processor, and the result af- (Head Unload Time) or Write operation has occurred (16 to 240 ms in 16 ms increments). ter execution of the command may also be a multibyte transfer back to the processor. Because of this multi- MF If MF is low, FM mode is selected, and if it is high, (FM or MFM Mode) MFM mode is selected. byte interchange of information between the flPD765AI flPD765B and the processor, it is convenient to consider MT IF MT is high, a multitrack operation is per- (Multitrack) formed. If MT = 1 after finishing read I write oper- each command as consisting of three phases: ation on side 0, FOC will automatically start Command The FDC receives all information re- searching for sector 1 on side 1. Phase: quired to perform a particular opera- N N stands for the number of data bytes written in a tion from the processor. (Number) sector. Execution The FDC performs the operation it NCN NCN stands for a new cylinder number which is (New Cylinder Number) going to be reached as a result of the seek opera- Phase: was instructed to do. tion; desired position of head. Result Phase: After completion of the operation, NO NO stands for operation in the non-OMA mode. status and other housekeeping infor- (Non-OMA Mode) mation are made available to the PCN PCN stands for the cylinder number at the processor. (Present Cylinder Number) completion of Sense Interrupt Status command, position of head at present time. Table 4 shows the required preset parameters and results for each command. Most commands require 9 R Rstands for the sector number which will be read (Record) or written. command bytes and return 7 bytes during the result phase. The "WOO to the left of each byte indicates a com- R/W R/W stands for either Read (R) or Write (W) (Read I Write) signal. mand phase byte to be written, and an "ROO indicates a result byte. The definitions of other abbriviations used SC SC indicates the number of sectors per cylinder. (Sector) in table are given in the Command Symbol Description table. SK SK stands for skip deleted data address mark. (Skip) 5-13 !-,PD765A/!-,PD765B NEe Command Symbol Description (cont) Command Symbol Description (cont) Name Function Name Function SRT SRT stands for the stepping rate for the FDD (1 to STP During a scan operation, if STP=1, the data in (Step Rate Time) 16 ms in 1ms increments). Stepping rate applies contiguous sectors is compared byte by byte witi1 to all drives (FH =1 ms, EH=2 ms, etc.). data sent from the processor (or DMA); and if STO-ST3 STO-ST3 stands for one of four registers which STP = 2, then alternate sectors are read and com- (Status 0-3) store the status information after a command has pared. been executed. This information is available dur- USa, US1 US stands for a selected drive number a or -3. ing the result phase after command execution. (Unit Select) These registers should not be confused with the main status register (selected by Aa=O). STO-ST3 may be read only after a command has been executed and contains information relevant to that particular command. Table 4. Instruction Set (Notes 1, 2) Instruction Code Phase DO Remarks Read Data Command w MT MF SK 0 0 1 1 a Command codes w X X X X X HD US1 USa (Note 3) w C Sector ID information priorto command execution. The 4 bytes w H are compared against header on floppy disk. w R w N w EDT w GPL w DTL Execution Data transfer between the FDD and main system Result R --------------~O-------------- Status information after command execution R ------------- ST1 - - - - - - - - - - - - R --------------~2-------------- R --------C-------- Sector ID information after command execution R -------H------------- R ------R------ R --------N-------- Read Deleted Data Command W MT MF SK 0 1 1 0 a Command codes W X X X X X HD US1 USa w C Sector ID information prior to command execution. The 4 bytes W H are compared against header on floppy disk. W R W N W EDT W GPL W DTL Execution Data transfer between the FDD and ma'in system Result R STO Status information after command execution R ST1 R ST2 R C Sector ID information after command execution R H R R R N Note: (1) Symbols used in this table are described at the end of this section. (2) Ao should equal 1for all operations. (3) X = Don't care, usually made to equal O. 5-14 t-IEC /-lPD765AI/-lPD765B Table 4. Instruction Set (Notes 1, 2) (cant) Instruction Code Phase RIW D7 De Ds D4 Da D2 Dl Do Remarks Wr~e Data Command W MT MF 0 0 0 1 0 1 Command codes W X X X X X HD US1 USa W C Sector ID information prior to command execution. The 4 bytes W H are compared against header on floppy disk. W R W N W EOT W GPL W DTL Execution Data transfer between the main system and FDD Result R STO Status information after command execution R STI R ST2 R C Sector ID information after command execution R H R R R N Write Deleted Data Command W MT MF 0 0 1 0 0 1 Command codes W X X X X X HD US1 USa W C Sector ID information priorto command execution. The 4 bytes W H are compared against header on floppy disk. W R W N Execution Result W W W R EDT GPL DTL STO Data transfer between the FDD and main system Status information after command execution II R ST1 R ST2 R C Sector ID information after command execution R H R R R N Read Diagnostic Command W 0 MF SK 0 0 0 1 0 Command codes W X X X X X HD US1 USa W C Sector ID information prior to command execution W H W R W N W EDT W GPL W DTL Execution Data transfer between the FDD and main system. FDC reads ali data fields from index hole to EDT. Result R STO Status information after command execution R STI R ST2 R C Sector ID information after command execution R H R R R N 5-15 iJPD765AIiJPD765B t\'EC Table 4. Instruction Set (Notes 1, 2) (cont) InItnIctIan CIIde ....... iiii D7 De DI D4 D, Dt ~ Do RIMIrb RIIIIID Command W 0 MF 0 0 1 0 1 0 Command codes W X X X X X HD US, USo Execution The first correct ID inlormation on the cylinder is stored in data register. Result R STO Status inlormation after command execution R STI R ST2 R C Sector 10 inlormaUon read during execution phase from fioppy R H disk. R R R N Wr\tIID [Format Write) Command W 0 MF 0 0 1 1 0 1 Command codes W X X X X X HD US, USo W N Bytes / sector W SC Sectors / track W GPL Gap 3 W 0 Filler byte Execution FOG Iormats an entire track. Result R STO Status inlormatlon after command execution R STI R ST2 R C In this case, the 10 inlormation has no meaning R H R R R N Scan Equll Command W MT MF SK 1 0 0 0 1 Command codes W X X X X X HD US, USo w C Sector 10 inlormation prior to command execution W H W R W N W EOT W GPL W STP Execution Data compared between the FDD and main system Result R STO Status inlormatlon after command execution R STI R ST2 R C Sector 10 Inlormation after command execution R H R R R N NCIt8~ (1) Symbols used In this table are described at the end of this section. (2) Ao should equal 1 for all operations. = (3) X Don't care, usually made to equal O. ~16 fttfEC IAPD765A/lAPD765B Table 4. Instruction Set (Notes 1, 2) (cont) Instruction Code Pha•• R/W D7 De D5 D4 D3 D2 D1 Do Remarks Scan Low or Equal Command W MT MF SK 1 1 0 0 1 Command codes W X X X X X HO US1 USa W C Sector ID information prior to command execution W H W R W N W EaT w GPL W STP Execution Data compared between the FOD and main system Result R STO Status information after command execution R ST1 R ST2 R C Sector ID information after command execution R H R R R N Scan High or Equal Command W MT MF SK I I I a I Command codes W X X X X X HD US1 USa W C Sector ID information prior to command execution W H W R W N W EaT w GPL W STP Execution Data compared between the FDD and main system Result R STa Status information after command execution R STI R ST2 R C Sector 10 information after command execution R H R R R N Recalibrate Command W a 0 0 0 0 I I I Command codes W X X X X X a US1 USa Execution Head retracted to track 0 Sense Interrupt Status Command W a 0 0 0 0 0 Command codes Result R STO Status information about the FOC at the end of seek operation R PCN Specify Command W 0 0 0 0 0 0 I I Command codes W -SRT--HUT- W HLT NO Sense Drive Status Command W 0 0 0 0 0 I 0 0 Command codes W X X X X X HD US1 USa Result R ST3 Status information about FDD 5-17 JlPD765AI JlPD765B t-IEC Table 4. Instruction Set (Notes 1, 2) (cont) Instruction Code Phase R/W D7 De D5 D4 Da D2 D1 Do Remarks Version Command W X X X 0 0 0 0 Command codes Result R STO 90H indicates 765B BOH indicates 765A / A-2 Seek Command W 0 0 0 0 1 1 1 1 Command code W X X X X X HD US1 USo W NCN Execution Head is positioned over proper cylinder on diskette Invalid Command W Invalid Codes Invalid Command codes (No op FDC goes into state) Result R STO STO-BOH Note: (1) Symbols used in this table are described at the end of this section. (2) Ao should equal 1 for all operations. (3) X = Don't care, usually made to equal O. System Configuration Figure 2 shows an example of a system using a tJPD765A/B. Figure 2. System Configuration 08 0 _ 1 A, MEMR 08 0 _ 7 iOR Rii MEMW Wi'i lOW Cs Cs HRO INT RESET Rea. HLDA Data Window RD Data IlPD8257 oMA IlPD765 Controller FoC Output Control 5-18 NEe J.lPD765AI J.lPD765B Data Format Figure 3 shows the data transfer format for the /JPD765A and /JPD765B in FM and MFM modes. Figure 4 shows veo Sync timing. Figure 3. Data Format I'PD765A/B [FM Mode] Index~ r------------RepeatNTimes-----------~ I'PD765A1B [MFM Mode] Index~ i-------------RepeatNTimes--------------i Figure 4. veo Sync Timing I'PD765A/B Index ~ '~ /\ ------------------~{~ ~ Format I GAP 48 lAM GAP 1 10 GAP 2 DATA I GAP 3 10 (( I) IGAP4b I WE J r------, \ 5-19 I-lPD765AII-lPD765B ttlEC 5-20 t-fEC pPD71 065/66 NEe Electronics Inc. Floppy-Disk Interface Description Pin Configurations The pPD71065 and pPD71066 are CMOS devices that interface a floppy-disk drive (FDD) with a floppy-disk 28-Pln Plastic SO controller (FDC). The controller can be pPD765A/B, pPD7265, pPD72065/B, pPD72066, pPD7260, or one of AOSR AVoo the FD179X series. RDIN AOSC MIN/STD FDCSW2 The floppy-disk interface can operate at various data RGATE LPF1 rates, including the 300-kb/s rate that results from MFM/FM LPF2 using high-density 5-inch drives with media formatted SYNCSW Voo at the standard 250-kb/s rate. Also, the pPD71065/66 SYNC FDCSW1 generates the write clock needed by the selected RDOUT VCOIN controller and provides synchronous switching when RCLK FDDSW changing data rates. FDCCLK cvc WCLK IC Features X1 GND o Compatible with all industry-standard controllers X2 X3 o Multiple data rates: 500/300/250/150/125 kb/s AGND X4 o Internal or external sync field detection logic o Head-loading timer for FD179X-series controllers 83-002766A o No analog adjustments required o CMOS, low power consumption 30-Pln Plastic ShrInk DIP o 5-volt power supply AOSR AVOD Ordering Information RDIN AOSC Part Number Package Internal Timer MIN/STD FDCSW2 RGATE LPF1 pPD71065G 28-pin plastic SO Not included MFM/FM LPF2 pPD71066CT 3D-pin plastic shrink DIP Implemented to Voo SYNCSW FD179X-series SYNC FDCSW1 controllers as head- loading timer. GND VCOIN RDOUT FDDSW RCLK CVC FDCCLK IC WCLK TCC X1 TOUT X2 X3 AGND X4 83·002765A NECEL-000587 5-21 J.lPD71 065/66 t\'EC Pin Identification FDCSWI FDCSW2 Floppy-Disk Controller Symbol Input/Output Function Open or H Open or H pPD765A/7265 ACOS Capacitor connection pin for analog L Open or H pPD7260 one-shot FD179X series AGNO Ground for analog circuits * FDCSW1 is the trigger input to the timer circuit when FDCSW2 is AOSR Resistor connection pin for analog one-shot low. AVoo Power supply for analog circuits FDDSW. The logic level applied to this pin selects the CVC Capacitor connection pin for VCO data transfer rate of the FDD. FOCCLK Output Clock to FDC FDCSW1 Input* FOC selection pin or timer trigger input FDDSW Data Transfer Rate FOCSW2 Input* FOC selection pin Open or H 500/2501125 kbls L 500/2501300/150 kbls FODSW Input* Data transfer rate selection pin GNO Ground MFM/FM Pin. The logic level applied tothis pin and the IC Internally connected; should be left open FDCSW2 pin selects the modulation type. Double-density LPF1, LPF2 Output Connection pins to externallowpass filter and single-density recording use MFM (modified FM) MFM/FM Input* Recording density selection pin and FM modulation, respectively. MIN Ism Input* 5- or 8-inch FDD selection pin RCLK Output Read data sampling clock FDCSW2 MFM/FM Modulation RDOUT Output Read data to FDC H H MFM RGATE Input* Read enableldisable H L FM RDIN Input* Read data from FOO L H FM SYNC Input* External PLL gain selection L L MFM SYNCSW Input* Determines whether gain selection is internal or external MIN/STD. Logic level L on this pin selects a 5-inch TCC External RC time constant connection to FDD. An open or H selects an 8-inch FDD. internal timer (pPD71066) TOUT Output Timer signal (pPD71066) RDIN. This is a composite read data and clock signal input from the FDD. VCOIN Input External lowpass filter output to internal VCO RDOUT. The read data output from this pin is syn- Voo +5-volt power supply chronized with the read clock (RCLK) derived from the WCLK Output Write clock to FDC RDIN composite signal. X1, X2 Connection pins for 16-MHz crystal (X1, X2) RGATE. In conjuction with FDCSW2, RGATE enables or external clock input (X1) or disables the read operation that is sent from the X3, X4 Connection pins for 19.2-MHz crystal (X3, FDC. X4) or external clock input (X3) *Input pin has an on-chip pull-up resistor FDCSW2 RGATE Read Operation H H Enable Pin Functions H L Disable The following paragraphs supplement the brief de- L H Disable scriptions of certain pins in the preceding table. Pin symbols are in alphabetical order. L L Enable FDCSW1 and FDCSW2. The pPD71065/66 is con- figured for the applicable FDC by applying logic levels Land H (or open) to these pins. 5-22 t-IEC pPD71065/66 SYNC and SYNCSW. The PLL gain is determined by Note: the intput signal at the SYNC pin and the logic levels at (1) Input signal at SYNC is the PLL gain selection signal between the the FDCSW1 and SYNCSW pins. ID and DATA fields. (2) Input signal at SYNC Is the SYNC field detection signal from the FDC. FDCSWI SYNCSW SYNC PLL Gain Open or H Open or H H (1) Low L (1) High L H (2) Low L (2) High Block Diagram AOSR AOSC RDIN LPFI LPF2 VCOIN CVC v Input Charge Vollage- Data Pump Controlled ~-----~ Generator R and Filler Oscillator 1-+--<...... Selector - - - 0 FDDSW RGaie 0 - - - - - 0 FDCSWI MIN/STDo-- MFM/FM 0 - - XI 0 - - - - 1 - - - - 0 FDCSW2 X20---~ Ident Output Data Clock hTOUT" X3 0 - - - - 1 Generator Field Generator Timer L...-_....I t----<> TCC" X40---~ "Not on IlPD71065 FDCCLK WCLK SYNC SYNCSW RCLK RDOUT 83-0027678 Functions ofthe block diagram components are explained Charge Pump and Filter Selector. According to the PLL below. (phase-locked loop) gain selection signal, enables or disables the LPF2 side charge pump to control the PLL Clock Generator. Using both 16-MHz and 19.2-MHz gain. oscillators, outputs clock signals corresponding to the mode used to the FDCCLK and WCLK pins. Output Data Generator. Generates the window signal (RCLK) and read data signal (RDOUT) depending on Input Data Generator. According to the input data, the mode and FDC to be used. generates the R and V signals to be input to the phase comparator. In addition to this, the input data generator Sync Byte Detector. Detects the sync field within 16 to determines whether the analog one-shot circuit or the 20 pulses regardless of FM or MFM mode. digital one-shot circuit is used. Ident Field Detector. Determines whether the sync field detected by the sync byte detector is ID or DATA field and sets the PLL gain. 5-23 pPD71065/66 NEe Basic External Circuit veo Frequency Figure 1 shows the basic external circuit including the For this procedure, the data transfer rate is undefined. lowpass filter and crystals. The data transfer rate is Strap RGATE to Hand RDIN to L. Adjust resistor R2 to selected by strapping pins FDDSW, MIN/STD, and set the VCO frequency at the RCLK pin to the same MFM/FM to L (low) or open (high). See table 1. numerical value as the data transfer rate; for example, 500 kHz and 500 kb/s. The VCO frequency and the phase delay between RDIN and RDOUT can be optimized by adjusting resistors R2 and R1, respectively. Figure 1. Basic External Circuit I'PD71066 GND AVOO Voo GND AVOO Voo Cl0 Cl0 C9 C9 C8 C8 Cl 12 17 = 13 16 C3 Cl 13 C2 XTALl 14 15 = 14 17 C3 15 16 Cl 22 pF Rl 3kO XTALl 16 MHz C2 22 pF R2 30 kO XTAL2 19.2 MHz C3 22 pF R3 22kO C4 22 pF R4 1 kO C5 10 pF R5 1.5 kO C6 1800 pF R6 5600 C7 33,000 pF R7 33 kO min C8 33 pF C9 10,000 pF Cl0 10,000 pF Cll 1000 pF C12 l/lF 83-0040098 NEe pPD71065/66 Data Read Phase Delay Figure 2. Read Data Timing Diagram For this procedure, set the data transfer rate to 500 kb/s, set the RDIN signal to a 2-(.1s cycle time, and strap RDIN RGATE to H. Adjust resistor R1 to set the value of tSTW (figure 2) to 950 ns. RDOUT ~_--,n,-- __ RCLK 83-004010A Table 1. Data Transfer Rate Selection Clock Output Frequencies from IlPD71 065171 066 Selection Pins (Note 1) Data Transfer Rate Floppy·Disk Controllers (kb/s) FDCCLK (MHz) RCLK (kHz) WCLK (kHz) FDDSW MIN/STU MFM/FM IlPD765A,IlPD7265, 250 4 250 500 Open Open Open IlPD72065, IlPD72066 125 4 125 250 Open Open L (Note 2) 500 8 500 1 MHz Open L Open 250 8 250 500 Open L L 300 4.8 300 600 L Open Open 150 4.8 150 300 L Open L 500 500 1 MHz L Open 250 250 500 L L L IlPD7260 (Note 3) 250 4 500 500 Open Open Open 125 250 250 Open Open L 500 8 1 MHz 1 MHz Open L Open 250 500 500 Open L L 300 4.8 600 600 L Open Open 150 4.8 300 300 Open L 500 8 1 MHz 1 MHz L L Open 250 500 500 L L FD179X Series (Note 4) 250 250 500 Open Open 125 1 125 250 Open Open Open 500 2 500 1 MHz Open L L 250 250 500 Open L Open 300 1.2 300 600 L Open L 150 1.2 150 300 L Open Open 500 500 1 MHz L L L 250 2 250 500 L Open Nole: (1) Selection pin states: L = low; Open = open or H (high) (4) FD179X Series: (2) IlPD765A17265172065/72066: FDCSW1 = Don't care and FDCSW2 = L. FDCSW1 and FDCSW2 = Open WCLK clock is not used. (3) IlPD7260: FDCSW1 = Land FDCSW2 = Open. FDCLK clock is not used 5-25 pPD71065/66 tt{EC Electrical Characteristics Absolute Maximum Ratings TA =+25·C Figures 3 through 8 are test circuits for verifying certain parameters in the dc and ac characteristics Power supply voltage, Voo -0.3 to +6 V tables. Input voltage, VI -0.3 to Voo + 0.3 V Output voltage, Va -0.3 to Voo + 0.3 V Operation temperature, TOPT -10 to +lO·C Storage temperature, TSTG -40 to +125·C DC Characteristics TA = -10to +70·C; Voo = +5 V ±10% limits Parameter Symbol Min Typ Max Unit Test Conditions Test Circuit Input voltage, low VIL -0.3 0.8 V Input voltage, high VIH 2.2 Voo + 0.3 V Output voltage, low VOL 0.45 V IOL =2 mA Output voltage, high VOH 0.7 Voo Voo V IOH = - 200 /lA Clock input level VKp-p 1 Voo V Figure 5 Input leakage current, low IUL -150 -50 /lA VI=OV Input leakage current, high IUH -10 +10 /lA VI = Voo Output leakage current, low ILOL -10 /lA Va = 0.45 V Output leakage current, high ILOH +10 /lA Va = Voo Power supply current 100 25 mA XTAL: 16 MHz, 19.2 MHz Figure 3 20 mA XTAL: 16 MHz Figure 4 5-26 NEe pPD71065/66 AC Characteristics TA = -10 to +70·C; Voo = +5 V ±10% Llmlls Param8ler Symbol Min Typ Max Unll Tell Condltlonl Tesl Circuli Rise time tR 0 20 ns Fall time tF 0 20 ns RDOUT setup time to RClK t tSRR 40 ns For pPD7260 Figure 6 ClK high/low level width tKK 20 ns VCO oscillation Irequency 10 8 MHz VF=VOO Figure 7 VCO Iree-run Irequency Ii 3.6 4 4.4 MHz FDDSW = H, VF = open 2.1 2.4 2.7 MHz FDDSW = l, VF = open VCO control voltage sensitivity Kv 2.5 3.5 4.6 MHziV I(Voo/2) -:- VF I :5 0.5 V Kv voltage coefficient aKviVoO -1 -19 -22 'IoiV Ii power supply voltage aliiVOO 0 5 'Io/V coefficient Ii temperalure coefficient ali/lA 0 -500 -1000 ppm/·C Phase detect sensitivity Kp 0.7 0.8 0.9 V/rad RClK jitter tj 0 30 50 ns 500-kb/s mode Figure 8 RDIN t to RDOUl t delay time tORR 900 950 1000 ns Capture range (Note 1) ICAP 537 427 kHz 500-kb/s mode 286 213 kHz 250-kb/s mode 143 107 kHz 125-kb/s mode 343 256 kHz 300-kb/s mode 172 128 kHz 150-kb/s mode FDCClK t to WClK t delay time tOFWR 30 ns CL = 15 pF Figure 1 (Note 2) FDCClK t to WClK I delay time tOFWF 30 ns CL = 15 pF (Note 2) Note: (1) The frequencies in the Max and Min columns are the lower and upper limits, respectively, 01 the capture range. For example, in the 500-kb/s mode, the capture range is from 427 kHz (or lower) to 537 kHz (or higher). (2) Clock outputs to FOC. FDCCLK WCLK 83SL.-6072B 5-27 pPD71065/66 ~EC Figure 3. Test Circuit 1 I'PD71 065 GNO AVOO Voo GND AVOO Voo Cl0 Cl0 C9 C9 C8 C8 Cl 12 17 = 13 16 C3 Cl 13 C2 XTALl 9 C3 14 15 14 17 XTAL2 C4 15 16 Cl 22 pF Rl 3 kn XTALl 16 MHz C2 22 pF R2 27 kn XTAL2 19.2 MHz C3 22 pF R3 10 kn C4 22 pF R4 1 kO C5 10 pF R5 7.5 kO C6 1800 pF R6 5800 C7 22,000 pF R7 33 kO min C8 33 pF C9 10,000 pF Cl0 10,000 pF Cl1 120 pF C12 1 ~F 83-0040116 5-28 NEe pPD71065/66 Figure 4. Test Circuit 2 I'PD71 065 GNO AVOO Voo GNO AVOO Voo Cl0 Cl0 C9 C9 C8 C8 Cl 12 17 Cl 13 13 C2 14 15 14 15 16 Cl 22 pF Rl 3 kll XTAL 16 MHz C2 22 pF R2 27 kll C5 10 pF R3 10 kll C6 1800 pF R4 1 kll C7 22,000 pF R5 7.5 kll C8 33 pF R6 56011 C9 10,000 pF R7 33 kO min Cl0 10,000 pF Cll 120 pF C12 11'F 63~OO40'28 5-29 pPD71085/88 t-IEC Figure 5. Tea' Circuit 3 "PD71065 "PD71066 AVOD VOO AVDD VDD GND GN~-D~ C~1~0------====Jl~ ~----------=:~C9~--------_===~ -------~Ci1!f_°------__=r 1 (5V) (5V) C9~----___==.J (SV) (SV) _______________ ~----=~ 14 15 C1 22 pF R1 3 kO C2 22 pF R2 27 kO CS 10 pF R3 10 kO C6 1600 pF R4 1 kO C7 22,OOOpF RS 7.5 kll ca 33 pF R6 560 II C9 10,000pF R7 33 kO min C10 10,000 pF C11 120 pF C12 11'F 83-0040138 5-30 t-{EC pPD71065/66 Figure 6. Test Circuit 4 I'PD71066 GND AVOO VOO C10 500 kHz JlJl o--+--_---Q RCLKLn I RDOUT+ ISRR C1 13 C3 14 17 15 16 = XTAL2 C4 C1 22 pF R1 3 kll XTAL1 16 MHz C2 22 pF R2 27 kll XTAL2 19.2 MHz C3 22 pF R3 10 kll C4 22 pF R4 1 kll C5 10 pF R5 7.5 kll C6 1800 pF R6 560 Il C7 22,000pF R7 33 kQ min C8 33 pF C9 10,000 pF C10 10,000 pF C11 120 pF C12 1 I'F 83-0040158 5-31 pPD71065/66 ttiEC Figure 7. Test Circuit 5 I'PD71066 GND AVOO VOO Cl0 C9 C8 Cl 13 C3 14 17 15 16 = XTAL2 C4 Ix = 81RCLK Cl 22 pF Rl 3 kO XTALl 16 MHz C2 22 pF R2 27 kO XTAL2 19.2 MHz C3 22 pF R3 10 kO C4 22 pF R4 1 kO C5 10 pF R5 7.5 kO C6 1800 pF R6 5600 C7 22,000 pF R7 33 kQ min C8 33 pF C9 10,000 pF Cl0 10,000 pF Cll 120 pF C12 1 I'F 83-0040148 5-32 NEe pPD71065J'66 FigureS. Test Circuit 6 I'PD71066 AVoo Voo GNO (5V) (5V) Cl0 C9 Minimum Dala Interval JUL RDIN 2 29 C8 3 SL RGATE 4 RGATEIu- RDI"'~ ,,~,m RDOUTLu-t H ISTW Cl 13 C3 14 17 15 16 1= 400 x (Min Dala Inlerval) Duly = 50% Cl 22 pF Rl 3 kll XTALl 16 MHz C2 22 pF R2 27 kIl XTAL2 19.2 MHz C3 22 pF R3 10 kll C4 22 pF R4 1 kll C5 10 pF R5 7.5 kll C6 1800 pF R6 56011 C7 22,000pF R7 33 kO min C8 33 pF C9 10,000 pF Cl0 10,000 pF Cll 120 pF C12 1 I'F 83-0040168 5-33 pPD71065/66 t\'EC System Configurations Table 2. System Configuration Examples Figures 9 through 23 are system configuration ex- FlOppy-Disk Floppy-Disk Dala Transler Rates amples of the pPD71065 and pPD71066 with various Interface Controllers Ikb/sJ Figure floppy-disk controllers and data transfer rates. See pPD71065 pPD765A. pPD7265. 500/2501.125 9 table 2. pPD72065. pPD72066 300/150 10 For additional details and the values of resistors and 500/250/125 11 capacitors, see figure 1. and 300/150 pPD7260 500/250/125 12 300/150 13 500/2501125 14 and 300/150 pPD71066 pPD765A. pPD7265. 500/250/125 15 pPD72065. pPD72066 300/150 16 500/250/125 17 and 300/150 pPD7260 500/250/125 18 3001150 19 500/250/125 20 and 300/150 FD179X 500/250/125 21 3001150 22 500/250/125 23 and 3001150 Figure 9. System Example 1: pPD71065 FDI and pPD765A FDC FDI ~PD71065 FDC ~PD765A/7265 ~PD72065172066 FDD Data transler rate Is t lor 250/125 kb/s 1 5001250/125 kb/s lor 500/250 kb/s /JPDn065 , FDC MIN/STD SYNC 1-----1 RGATE .. MFM 1-----+1 MFM/FM SYNCSW DRQ 1 - - - - - - 1 SYNC RDATA f + - - - - - - f RDOUT WINDOW f + - - - - - - f RCLK CVC 951+-----1 FDCCLK WCLK 1-----1 WCLK FDD X1 X2 X3 • • Open X4 •• Open or high 83-0039948 5-34 NEe pPD71065/66 Figure 10. System Example 2: pP071065 FOI and pP0765A FOC FDI FDC FDD ~PD71065 ~PD765A/7265 Data transfer rate is ~PD72065/72066 300/150 kb/s IlPD71065 FDC AOSC FDCSW2 * MIN/STD LPFl SYNC~---~~ RGATE LPF2 MFMI----~~ MFM/FM FDCSWl SYNCSW VCOIN DRO I-------l SYNC RDATA 1+------1 RDOUT FDDSW WINDOW 1+------1 RCLK CVC ¢ I + - - - - - I FDCCLK WCLK 1+------1 WCLK FDD * Xl X2 l:MH~ X3 * Open X4 * * Open or high 83·0039956 Figure 11. System Example 3: pP071065 FOI and pP0765A FOC FDI ~PD71065 FDC p:PD765A/7265 FDD Data transfer rates are both t for 300/150/ 250/125 kb/s ~PD72065/72066 500/2501125 kb/s & 3001150 kb/s ? for d, 500/250 kb/s FDC IlPD71065 t for 500/250/125 kb/s AOSC ? for 500/250/ th 300/150 kbfs MIN/STD SYNC I-----~ RGATE MFM 1------1 MFMfFM FDCSWl SYNCSW DRO~----~ SYNC RDATA 1+------1 RDOUT FDDSW WINDOW 1+------1 RCLK ¢ I - - - - - - j FDCCLK WCLK 1+------1 WCLK Mux Xl X2 1:MH~ X3 * Open X4 * * Open or high 83-0039968 5-35 pPD7106S/66 NEe Figure 12. System Example 4: pPD71065 FDI and pPD7260 FDC FDI ~PD71065 FDC ~PD7260 FDD Data transfer rate Is t lor 2501125 kbls 5001250/125 kb/s 1 lor 5001250 kbls FDC RGATE 1 - - - - - . - / MFMI-----.-/ FDCSWl SYNC 1------1 RDATA 1-------1 RDOUT FDDSW RCLK 1-------1 RCLK CVC • FDCCLK WCLK 1-------1 WCLK FDD Xl X2 X3 • • Open X4 •• Open or high 83-003997B Figure 13. System Example 5: pPD71065 FDI and pPD7260 FDC FDI FDC FDD ~PD71065 ~PD7260 Data transfer rate Is 300/150 kb/s FDC RGATE 1 - - - - - . - / MFM 1-----+1 FDCSWl SYNC 1-----+1 RDATA 1 - - - - -..... RDOUT FDDSW RCLK 1+-------1 RCLK • FDCCLK WCLK 1-------1 WCLK FDD • Xl X2 X3 • Open X4 •• Open or high l:Ml;l 5-36 NEe pPD71065/66 Figure 14. System Example 6: pPD71065 FDI and pPD7260 FDC FDI pPD71065 FDC pPD7260 FDD Data transfer rates are both t lor 300/1501 250/125 kb/. 500/2501125 kb/s & 3001150 kb/s ? lor J, 500/250 kb/. FDC pPD71065 AOSC t 'or 500/250/125 kb/s ? lor 500/2501 J, 300/150 kb/. RGATEr---------~ MFM 1-----+/ FDCSWlr------+------, SYNC r---------~ RDATA 1+------1 RCLK 1+----------1 WCLK 1+------1 Mux • Open •• Open or high X3 X4 = ~ L...._ _ _ _ _.....J 19.2 MHz 83-0039998 Figure 15. System Example 7: pPD71066 FDI and pPD765A FDC FDI pPD71 066 FDC pPD765A17265 pPD72065/72066 FDD Data transfer rate Is 500/250/125 kb/s t 'or 250/125 kb/s ? lor J, 500/250 kb/s FDC MIN/STD SYNC 1-----+/ RGATE MFM r---------.-t MFM/FM SYNCSW ORO 1 - - - - - - 1 SYNC RDATA 1+------1 RDOUT FDDSW WINDOW 1+----------1 RCLK CVC r/JI+----I FDCCLK WCLK 1+------1 WCLK FDD TCC • Xl X2 TOUT· X3 • -. -Open X4 •• Open or high 5-37 pPD7106S/66 t\'EC Figure 16. System Example 8: pPD71066 FDI and pPD765A FDC FDI FDC FDD ~PD71066 ~PD765A/7265 Data transler rate is ~PD72065172066 300/150 kb/s FDC SYNC 1----'-'-'---1 MFM ~----~ MFM/FM SYNCSW DRQ f - - - - - ' - - . j SYNC RDATA RDOUT WINDOW RCLK ¢ FDCCLK WCLK WCLK FDD TCC • • Xl X2 TOUT. X3 ~ • Open •• Open or high X4 L.._ _ _ _ _ _-' 19.2 MHz = t-i 83-0040018 Figure 17. System Example 9: pPD71066 FDI andpPD765A FDC FDI ~P071066 FDC ~PD765A/7265 FDD Data transler rates are both t lor 300/1501 2501125 kb/s ~PD72065172066 500/2501125 kb/s " 3001150 kb/s Ylor J, 500/250 kb/s FOC pPD71066 AOSC t 'or 500/250/125 kbls Y lor 500/2501 J, 3001150 kb/. '-----<>iMIN/STD SYNC f------.jRGATE MFM MFM/FM FDCSWl FDD SYNCSW DRQ ~----~SYNC RDATA RDOUT WINDOW RCLK ¢ FDCCLK WCLK WCLK Mux FDD TCC • Xl X2 TOUT. • Open •• Open or high X3 X4 L..._ _ _ _ _ _..1 19.2 MHz = ~ 83-0040028 5-38 t'tlEC pPD71065/66 Figure 18. System Example 10: pPD71066 FDI and pPD7260 FDC FOI FDC FDD 'l'lor ! 250/125 kb/s ~PD71066 ~PD7260 Data transfer rate Is 500/250/125 kb/s 1 lor 500/250 kb/s pPD71066 FDC AOSC RDIN MIN/STD RGATE \ - - - - - 1 MFM~----" MFM/FM FDCSWl SYNC~----" SYNC RDATA 1 - - - - - ; RDOUT FDDSW RCLK 1+------1 RCLK CVC WCLK 1 - - - - - ; WCLK FDD TCC • Xl X2 TOUT. X3 • • Open X4 •• Open or high 83-004U03B Figure 19. System Example 11: pPD71066 FDI and pPD7260 FDC FDI FDC FDD ~PD7106t ~PD7260 Data transfer rate Is 300/150 kb/s FDC RGATE 1----"-'-1 MFM~----" SYNC 1 - - - - - 1 RDATA I+------IRDOUT RCLK RCLK • FDCCLK WCLK 1+------1 WCLK FDD TCC • • X1 X2 TOUT· X3 ~ • Open •• Open or high = ~X4 L.._ _ _ _ _ _-' 19.2 MHz 83-0040048 5-39 pPD71065/66 NEe Figure 20. System Example 12: I1PD71066 FDI and I1PD7260 FDC FDI "PD71066 FDC ~PD7260 FDD Data transfer rates are both t 'or 300/1501 2501125 kb/s 500/2501125 kb/s & 3001150 kb/s 1 'or 500/250 kb/s FDC /lPD71066 t ,or 500/2501125 kb/s AOSC ? 'or 500/2501 rh 300/150 kb/s RGATE 1 - - - - -.. lP F2 1-'VVv--~" MFMI-----i FDCSW11----r----, VCOIN SYNC 1 - - - - -.. RDATA fo-------l FDDSW I + - - - - - - I - - - - t - - - - ' RClK 1+------1 WClK 1+------1 Mux TCC • TOUT. • Open = ~ X3 X4 •• Open or high '-------..1 19.2 MHz 83-0040058 Figure 21. System Example 13: I1PD71066 FDI and FD179X FDC FDI FDC FD179X series FDD Data transfer rate is t ,or 250/125 kbls 500/2501125 kb/s 1 'or 500/250 kb/s FDC AOSC FDCSW2 r--+----o General·Purpose Timer Trigger Input VFOE DDEN General-Purpose Timer FDCSWl Output RG/SSO RAWREAD RDOUT FDDSW RClK RClK CVC ClK FDCClK • WClK FDD TCC Xl X2 TOUT J=;6: X3 • • Open X4 •• Open or high 83-0040068 5-40 NEe pPD71065/66 Figure 22. System Example 14: pPD71 066 FDI and FD179X FDC FDI FDC FDD I'PD71066 FD179X series Data transfer rate is 300/150 kb/s I'PD71066 FDC AOSC r--+-----<> General-Purpose Timer Trigger Inpul VFOE 1-----....:.:.:-1 General-Purpose Timer DDEN I-----~ FDCSW1~----~----~ Oulpul RG/SSO 1---------1 RAWREAD 1+-------1RDOUT RClK RClK ClK FDCClK - WClK FDD - Xl X2 -Open Figure 23. System Example 15: pPD71066 FDI and FD179X FDC FDI FDC FDD '1> lor 300/1501 b 250/125 kb/s I'PD71066 FD179X series Dala Iransler rales are bolh 500/2501125 kb/s " 3001150 kbls 1 lor 500/250 kb/s 'f lor I'PD71066 b 500/250/125 kb/s FDC AOSC y lor 500/2501 rh 300/150 kb/s r--+--t---<> General-Purpose Timer Trigger Inpul VFOE 1--------1 General-Purpose Timer DDEN 1--------1 FDCSW11------~----~ Oulpul FDD RG/SSO 1---------1 RAWREAD t--------i RClK ....- - - - - - i ClK t--------i Mux FDD - Open 83-004008B pPD71 065/66 t-iEC 5-42 NEe NEe Electronics Inc. "PD72065/658 CMOS Floppy-Disk Controller Description o 100% 765A!B microcode compatibility o Sony (ECMA) compatible recording format The "PD72065/65B CMOS Floppy-Disk Controller (FDC) o IBM-compatible format (single- and double-density) is NEC's follow-on to the "PD765A!B. 6 7 8 12 14 16 /IS usa, USl hold time atter SEEK 11 18u 15 30 /IS SEEK hold time from DIR 11 108 30 60 /IS DIR hold time atter STEP 11 tsro 24 48 /IS STEP cycle time 11 tsc 33 68 /IS FlTR active time high 11 lFR 8 10 16 20 /IS INDEX level high 12 ~OK 4 4 <'--____- :- WDATA 49NR·426B Figure 10. FDD Read Operation RDATA ~'--_________ ~ _~_IRD_DDLJ _ '_ _ _ ~'_=:1 l='~=::j WINDOW . ~ ~ !+------IWCy ~ 49NR-427B Figure 11. Seek Operation USO, US1 RW/SEEK DIR STEP 49NR·428B 5-53 "PD72065/65B NEe Figure 12. FLTR and INDEX Ktlveforms COMPARISON, I'PD72065/65B VS I'PD765A1B Table 1 shows differences in the parameters and features of the FDCs. Table 1. pPD72065165B and pP0765AIB Parameter "PD72065/65B "PD765A/B Track format IBM IBM Tracks to be recali brated 255 77 49NR-429A Skipping time after Index 0.2 ms (4 MHz) 1.2 ms (4 MHz) pulse detection DRQ i to RD ,J, response time COMPARISON,I'PD72065 VS I'PD72065B 20 pF Unmeasured pins returned Input capacitance CIN 10 pF to OV. Output capacitance COUT 20 pF DC Characteristics TA = -10 to +70'C; Voo = +5 V ±10% Parameter Symbol Min Max Unit Conditions Low-level input VIL -0.5 0.8 V voltage High-level input VIH 2.2 Voo + 0.5 V voltage Low-level output VOL 0.45 V IOL = 2.0 voltage rnA High-level VOH 0.7 Voo Voo V IOH = output voltage -200f.IA Low-level input IUL -10 f.IA VIN = OV leakage current High-level input IUH +10 f.IA VIN = Voo leakage current Low-level output ILOL -10 f.IA VOUT = leakage current +0.45 V High-level ILOH +10 f.IA VOUT = output leakage Voo current Voo supply 100 60 rnA Note 1 current Standby current 1001 100 f.IA Oscillator tKS 10 ms stabilization time Notes: (1) When a 32-MHz crystal is connected to XA 1-XA2 or a 19.2-MHz crystal is connected to XB1-XB2. 5-62 tvEC "PD72067 AC Characteristics 1; Standard Floppy-Disk Control 1A = -10 to +70'C;Vo o = +5V:!:10%; MFM data transfer rate = 500 kb/s Parameter Figure Symbol Min Typ Max Unit Conditions Msin System Side AO, ~, l5ACR setup time to lID 2 tAR 0 ns AO, ~, l5ACR hold time from RD 2 tRA 0 ns lID pulse width 2 tRR 200 ns Data access ti me from RD ~ 2 tRO 140 ns Data float delay time from RD t 2 tOF 10 85 ns INT delay time from lID t 2 tRI 400 ns Note 1 AO, ~, DACK setup time to WR 3 tAW 0 ns AO, ~, DACK hold time from WR 3 tWA 0 ns WR pulse width 3 tww 200 ns Data setup time to WR 3 tow 100 ns Data hold time from WR 3 two 0 ns INT delay time from WR t 3 tWl 400 ns Note 1 DRa cycle time 4 tMCY 13 lis DRl = 0, DRO = 1 l5ACR ~ response time from DRa t 4 tMA 200 ns DRa delay time from l5ACR ~ 4 tAM 140 ns l5ACR pulse width 4 tM 8 ACR J. 4 \\M 140 ne ~ pulse width 4 ~ 8 NoteS "'CY m J. response tlma from ORa t 4 tMR 250 n8 OR1 =O.ORO-O WR J. relponse time from ORa t 4 tMW 500 ne WFI/RD response time from ORa t 4 tMRW 24 p.8 TC pulse width 4 t-rc 60 nl RESET pulse width 5 tRST 60 NoteS "'CY 5-65 "PD72067 ttlEC AC Characteristics 2; Minifloppy-Disk Control (cont) Parameter Figure Symbol Min Typ Max Unit Conditions Drive Side RDATA high-level width 6 tROO 40 ns WINDOW cycle time (Note 2) 6 tWCY 4 f.\S MFM = a 2 f.\S MFM = 1 WINDOW setup time to RDATA (Note 2) 6 tWRO 15 ns WINDOW hold time from RDATA (Note 2) 6 lRow 15 ns USC, USI setup time to SEEK 7 tus 24 lIS Note 3 SE EK setup time to DIR 7 tso 14 lIs DIR setup time to STEP 7 tOST 2 lIS USC, USI hold time from STEP 7 tSTU 10 lIS STEP high-level width 7 tSTP 12 14 16 lIs USC, USI hold time from SEEK (Note 4) 7 Isu 30 lIS DIR hold time from STEP 7 tSTD 48 lIS SEEK hold time from DIR 7 los 60 lIS STEP cycle time 7 tsc 65 lIs FLTR high-level width 8 tFR 16 20 lIS INDEX high-level width 8 tlOX 16 Note 5 CY Is a multiple of the period of a quartz crystal resonator connected to pins XB1-XB2 or an external clock connected to pin XB1. The multiple Is four (EXT = 0) or two (EXT = 1). (6) See figure 1 for timing measurement voltage thresholds. 5-68 ttlEC "PD72067 Figure 1. MIlt... Tllre6holt/$ for Timing 1I• •uremenf. input, Output ~ 2.2V 0.8 V ....::::::..:....---- ~2'4V 0.45 V Output load = 1 TIL + 100 pF 83St.-5961A Figure 2. Read Operlllion MO.."", 4~"i ',. tRR ., ~AAr RO tOF -tRO-- ~ High-Z 00-07 - - - - - - - - --i ~------. ,. L tRI INT 83SL·S9628 Figure 3. write Opet'llflon ~ K AO,Cs,DACK Wi5 ~ , tww ~ tow ~ )I -tW'-L 00 -07 - - -1--1· - INT 83SL·58S38 5-69 "PD72067 ttiEC Figure 4. DMA Operation ~------------------tMCY------------------~ DRQ tAM ----tMA------~~~1 1 - - - - tAA -------I 1------------- tMRW -----------1 ~----------tMR--------__I ~-'--------- tMW ----------I TC ~ -~tTC~- 83SL·59S4B FIgure 5. RESET IIItveform ,~ -11--. --tRST --it- 83SL-S965A Figure 6. Device ReIId Operation S3Sl-5966B 5-70 tttlEC "PD72067 Figure 7. Seek Opel'lltlon USa-US1 RW/SEEK IDS DIR STEP I------ISC------+i 83SL-5967B Figure B. FUR tIIId INDEX ...veforms (2) The status register (table 2) indicates the state of the p.PD72067. The main system can read the status register contents at any time. FLTR_{,,}_ (3) The auxiliary command register temporarily stores auxiliary commands given the p.PD72067. INDEX ~} Tsble 1. Register Selection ----. I-- IIDX '----- "CI 0 AO 0 RD 0 WR Operation 1 Read status register 83SL·5968A 0 0 0 Write auxiliary command register 0 0 1 Read data register 0 1 0 Write data register Registers x x x Not defined The p.PD72067 contains three a·blt registers for Interfac- x - Don'tcare ing the main system-data, status, and auxiliary com- Notes: mand. Control signals CS, AO, RD, and WR select a (1) When the DAOK Input Is active low, data register selection Is particular register operation as shown in table 1. Independent of OS and AO. (1) The data register temporarily stores information (2) When both CS and AD are set to 0, a write of code other than (command, parameter, data, or result status) trans- auxiliary command code (WR .. 0) Is Inhibited. ferred between the p.PD72067 and the main system. 5-71 p.PD72067 ttlEC Table 2. Status Register Contents Bit Name Symbol Description 07 Request for master ROM Indicates "P072067 is ready to transfer data to and from the main system. Operation depends on the 010 bit 06. When DIO = 0, the main system sends data to IlPD72067. When the main system writes data into "PD72067, ROM is set to 0; when IlPD72067 reads the data, ROM is set to 1. • C-phase, wait for command • Non-OMA write E-phase • SE EK type E-phase When DIO = 1, IlPD72067 sends data to the main system. When "PD72067 places data in the data register, ROM is set to 1; when the main system reads the data, ROM Is set to O. • R-phase • Non-DMA read E-phase (except for READ ID) 06 Data input/output DIO Indicates the data transfer direction between the main system and IlPD72067. DIO Direction 0- Main system to IlPD72067 1 IlPD72067 to main system 05 Non-OMA mode NOM Indicates data is being transferred in non-DMA mode (E-phase). In C- or R-phase, bit D5 is cleared. 04 "PD72067 busy CB Indicates IlPD72067 is in C-phase, R-phase, or read/Wrlte command E-phase. (In SE EK type E- phase, the CB bit D4 is not set to I.) When bit D4 is set to 1, the next command is not acknowledged. 03 FD3 busy D3B Indicates that device 3 performs seek operation or that a seek operation termination interrupt is pending (E-phase).When bit 03 is set to 1, a read/Write type command must not be written. 02 FD2 busy D2B Same as bit D3 for device 2. 01 . FDI busy 01B Same as bit D3 for device 1. DO FDO busy DOB Same as bit D3 for device O. Digital Phase-Locked Loop (DPLL) Figure 9. WINDOW Signal Htlveform From the external 32-MHz system clock, the DPLL c D c D c D c generates a WINDOW signal and synchronizes it with the phase and frequency of read data from a disk drive. Read Data The frequency correction range and peak shift margin of the D PLL are affected by the data transfer rate (pin DR1). DR1 Range Margin o ±25% 81.5 WINDOW (either waveform) 1 ±25% 88.6 As shown in figure 9, read data is separated into data bits and clock bits by sampling with the WINDOW signal. The bits are centered in the window. If WINDOW is low for 83SL-G034A data bits, it is high for clock bits, and vice versa. 5-72 t-{EC p;PD72067 Data Shift Register System Clocks In the read mode, the data shift register converts serial The system clock frequencies depend on the type of VFO data into parallel form and outputs it to the 8-bit internal and the type of floppy-disk. See table 4. bus. In the write mode, the process is reversed and serial data is output to the CRC generator/checker and output Table 4. System Clocks mixer. VFO Floppy·Dlsk ClockXA ClockXB Internal Standard or mini 32 MHz Clock Shift Register High-density 32 MHz 19.2 MHz In the read mode, the clock shift register converts serial External Standard or mini 16 MHz clock bits into parallel form and outputs them to the 8-bit High-density 16 MHz 19.2 MHz internal bus. In the write mode, the clock shift register converts parallel clock bits from the internal bus into a If a 32- or 16-MHz system clock is required, connect a serial stream and sends it to the output mixer. quartz crystal resonator to pins XA 1 and XA2, or connect an external clock signal to pin XA1 and leave XA2 open. Cyclic Redundancy Check (CRC) If a 19.2-MHz system clock is required, connect a quartz The CRC generator/checker operates with the polyno- crystal resonator to pins XB1 and XB2, or connect an mial x 16 + x 12 + x5 + 1. In the read mode, the CRC of external clock signal to pin XB1 and leave XB2 open. read data is calculated and compared with the CRC byte added following sector 10 information and data. A mis- Internal Clocks match produces an error indication. From the system clock, the /LPD72067 generates the five In the write mode, CRC is calculated and two CRC bytes internal clocks listed below. are added following 10 information and data. (1) Internal system clock: controls internal operations Precompensation and determines the data transfer rate. Because of the magnetic chracteristics of the media, (2) Write clock: frequency is twice the data transfer rate. read data is shifted from data write timing. Because the (3) DPLL clock: based on the 32-MHz system clock; shift can be predicted according to the data pattern, it source of the WINDOW signal. can be compensated by preshifting write data in the opposite direction. (4) Precompensation clock (5) 71065/66 clock: required if /LP071065 or /LPD71066 is Preshifting is used only for MFM mode, which has a data the external VFO. window half the width of the window in FM mode. The precompensation value (shift) is determined in the exter- Clock Selection nal mode by the input signals to pins PCSO and PCS 1, or in the internal mode by bits PSO and PS 1 of the CON- The system clock-32 or 16 MHz at the XA input or 19.2 TROL INTERNAL MODE command. See table 3. MHz at the XB input-is selected by the state of the DR1 pin in external mode or the OR1 bit of the CONTROL Table 3. Precompensstion lllalues INTERNAL MOOE command in the internal mode. DR1 PCS1 pcso Shift For the selected system clock, the generated internal 0 0 0 0.0 clock frequencies (table 5) are specified according to mode as follows. 0 0 125.0 0 0 187.0 (1) External mode: state of ORO pin and command MFM bit. 0 250.0 0 0 0.0 (2) Internal mode: state of ORO bit of CONTROL INTER- 208.3 NAL MODE command and MFMcommand bit. 0 0 312.5 When /LPD71065 or /LPD71066 is used as external VFO, the clock selected by the DR1 pin is output from the 416.7 CLKOUT pin as the 71065/66 operation clock. 5-73 "PD72067 NEe Table 5. Contl'Ol Signals and Interlllli CloCks Internal Clocka Data Transfer System write DPLL System Clock DR1 ORO MFM Bit Rate (kb/s) (MHz) (kHz) (MHz) Precomp 71065/66 32 MHz (Note 1) or 16 MHz (Note 2) 0 0 0 125 4 250 8 16 MHz 16 MHz 0 0 250 4 500 16 0 0 250 8 500 16 0 1 1 500 8 1 MHz 32 19,2 MHz 0 0 75 2,4 150 4,8 9,6 MHz 19,2 MHz 0 1 150 2,4 300 9,6 0 150 4,8 300 9,6 300 4,8 500 19,2 Notes: (1) Internal VFO; Internal mode with EXT - O. or externsl mode, (2) External VFO; Internal mode with EXT .. 1, Figure 10. Tnu:Ic Forlllllt. n Gap4a SYNC dex lAM Gapl SYNC IDAM IBM Format C H R N CRC Gap2 SYNC DAM (DDAM) Data CRC Gap3 Gap4b 11 'FF' X40 '00' x6 'Fe" xl 'FF' x26 '00' x6 'FE' xl xl xl xl xl x2 'FF' xll '00' x6 'FB' ('FS') xl . x2 . FM '4E' xSO '00' x12 'C2' ,'FC' x3 x.l '4E' x50 '00' x12 'Al','FE' x3 xl xl xl xl xl x2 '4E' x22 '00' x12 'Al' x3 ,'FB' ('FS') xl . x2 . MFM I.. Repeat N times ~I ECMAIISO Format 11 ~ FM 'FF' x16 The sector format Is the same as the IBM format. # - MFM 'FF' x32 # One sector can be added depending on sector configuration ~I Missing clock part of address mark C Cylinder number (0 thru 76) lAM Index Address Mark FM MFM AM H Head address (0 or 1) IDAM ID Address Mark Data Clock Data Clock R Record section number DAM Data Address Mark lAM FC D7 C2 14 N Number of sectors DDAM Deleted Address Mark IDAM FF C7 Al OA CRC CyClic Redundancy Check" User programmable DAM FB C7 Al OA DDAM FS C7 Al OA 83SL-60S9B 5-74 ttlEC "PD72067 Format Table 6. Us, of Commands Command Name Function The track format (IBM or ECMA/ISO) is specified by the FMT bit of the SELECT FORMAT command in internal lINd CommtInds mode or by the input signal to the FMT pin in external READ DATA Specifies a sector and transfers Its data mode. See figure 10. -R-EAD--DE-L-E-T-ED-D,6;-;r:-'A- to the host. Commands READ ID Reads a sector ID. READ DIAGNOSTIC Checks the track formal Table 6 describes the 15 commands and 8 auxiliary commands of the "PD72067. SCAN EQUAL Compares esch sector data with host -S-C-A-N-L-OW-O-R-E-Q-UA-L- data and detects a sector that satisfies the set condition. System Bus Interface SCAN HIGH OR EQUAL Figure 11 is a reference circuit diagram of the interface Write Commends between the "PD72067 and a system bus for data trans- WRITE DATA Specifies a sector and transfers Its data fer in the DMA mode. The DMA controller is "PD71071. To -WR-IT-E-D-E-LE-T-E-D-[),6;-lI"A- to the host. prevent I/O port misselection during the DMA cycle, the Address Enable (AEN) output of "PD71071 inhibits other WRITEID Writes the format of a track. I/O ports. Floppy-Disk Drive Interface RECALIBRATE Moves the resd/Wrlte head to the outer- most track (track 0). Figure 12 is a reference circuit diagram of the interface SEEK Moves the resd/Wrlte head to the between a floppy-disk drive and the "PD72067 when the specified cylinder. VFO is internal. Figure 13 is a reference circuit diagram of the interface SENSE INTERRUPT Reads the Interrupt factor (seek end! between a floppy-disk drive and the "PD72067 when the STATUS state change) In the /lPD72067. external VFO is "PD71065 or "PD71066. Special signal SENSE DEVICE STATUS Reads the FDD status. functions for this application are described below. InitlllllZfl Commend MFM Recording system change signal SPECIFY Defines a "PD72067 operation mode. SYNC Read enable/inhibit Au1tiliety Commends CLKOUT System clock to operate "PD71065/66 SET STANDBY Drives the "PD72067 In the standby DRQ Lock internal VFO (DPLL) status. USO, US1 Drive select decoded by 74139 RESET STANDBY Releases the /lPD72067 from the standby RW/SEEK Select signal for demultiplexer (NAND status. gates) and multiplexer(LS157) SOFTWARE RESET Initializes the /lPD72067. ENABLE EXTERNAL Sets the /lPD72067In External Mode. MODE CONTROL INTERNAL Sets the /lPD72067 In Internal Mode and MODE sets both data transmission rate and precompenestlon value. ENABLE MOTORS Controls On/Off of the spindle motot SELECT FORMAT Selects either IBM or ECMA/ISO formal START CLOCK Starts the clock generator operation. 5-75 "PD72067 NEe FIfIute 11. PPD72JJ61 to System "'nter'" I-lPD72067 INT~--~~------------------------------------------------~INT ",,071082 32MHz~ XAI 8-Bit Latch .A- [16MHzJ~ L.-- XA2 ABS-ABI5 <~====1 DOo- D07 v----- 010- 1/--------, 017 ~XBl OESTe 19.2 MHz ~ L.-- XB2 OBo-DB7 L..-______--, t t ,--;-----;----------------------------------------vl 00-07 r-----::::;:=l L;::I ABo-AB7 ' - - • I-- :!=I~~~----ICs __ ---JL I,--_Deco de_, ABO L..---------------~------------------~IAO ,---------------~RD , - - - - - - - - - / WR r----------,--~I RESET , - - - - - - 1 ORO c:::;::::;;;;:~1 OACK ~LT_C_ _ _ _ _~ J.lPD71 071 DMA Controlier L..-____-j ENOtTc '---------I OMAAK2 L-______~..I OMARQ2 RESET - - - - - I--~--t_----------------~~~~~------------.IRESET 10W----- I--~--t_----------------~~~~--------------·IIOWR lOR - - - - - I--~--~----------------~~~----------------.IIORO L..-------------------.ICS L..----------------------------------------iASTB L..---.,.------------------------------------------v'1 AS-AI5 IDO-0 7 I L:===~====================~>I AO-A7 AB1S-AB23i OBs-OBI5 ~ LOW CURRENT FAULT RESET R--?s157 L- S 1A IT TWO SIDED WP RT/2S IDE 1Y 1B IT WRITE PROTECT FLT/TRKO 2Y 2A IT G 2B IT FAULT INDEX IT INDEX READY IT READY 74139 usa A YO DRIVE SELECT 0 US1 B Y1 DRIVE SELECT 1 r G Y2 Y3 DRIVE SELECT 2 DRIVE SELECT 3 RDATA A READ DATA """J WDATA WRITE DATA EXT M 83Sl--6032B 5-77 "PD72067 ttlEC Figure 13. pPD72067 to FDD tnt.,'ee 2 JLPD72067 FDD Interface HDLD HEAD LOAD SIDE SIDE SELECT WE WRITE ENABLE LCTtDlR ~ DIRECTION SELECT FLTRISTEP I RWISEEK 1 - I STEP lr> -- LOW CURRENT ~157 FAULT RESET L- S 1A 0- TWO SIDED WPRTI2SIDE 1Y 1B 0- WRITE PROTECT ,FLTITRKO 2Y 2A 0- INDEX r G 2B 0- 0- FAULT INDEX READY 0- READY 74139 usa A YO DRIVE SELECT 0 US1 B Y1 DRIVE SELECT 1 r G Y2 Y3 DRIVE SElECT 2 DRIVE SElECT 3 RDATA )1PD71 065/)1PD71 066 RDOUT WINDOW RCLK MFM MFMlFM RDIN .rr READ DATA SYNC RGATE SYNC X2 X4 + DRO CLKOUT J WDATA WRITE DATA ... r- EXT 83SL-6033B 5·78 ftt{EC p,PD72068 NEG Electronics Inc. Floppy-Disk Controller PRELIMINARY Description Features The I-IPD72068 FDC is one of NEC's integrated solutions o Software compatible with I-IPD765A/765B, I-IPD7265, for today's floppy-disk controller designs. An outgrowth I-IPD72065/65B, I-IPD72066, and I-IPD72067 of the I-IPD765A-long established as the industry stan- o Compatible with V-Series data/control bus and other dard for floppy-disk contol-the I-IPD72068 maintains standard 8/16-bit CPUs complete microcode compatibility and contains the lat- o IBM and ECMA/ISO formats est enhancements required for multitasking applica- o Data transfer rate: 600, 500, 300, 250, 150 kb/s tions. Additionally, the I-IPD72068 integrates the stan- o High-performance, on-chip digital PLL dard host-interface registers used in IBM PC, PC/XT, o Two system clock generators PC/AT, and PS/2® designs. o Programmable stepping speed The I-IPD72068 incorporates a high-performance digital o Write-compensate circuit (programmable preshift) PLL that is impervious to harmonic lock-on, a character- o FDD interface istic of analog counterparts. Being digital, the PLL re- - High-current drivers (24-mA sink) quires no adjustments and supports all standard data - Schmitt receivers rates as well as 600 kb/s. o Direct control of four FDDs - Spindle motor control The I-IPD72068 has on-chip clock generation, selectable - Unit select control write precompensation, and all the circuitry necessary for interfacing directly to four floppy-disk drives. o Three selectable modes support: - PC, PC/XT, PC/AT, PS/2 registers IBM PC, PC/XT, PC/AT, and PS/2 are registered trademarks of Inter- - Internal operating mode selection national Business Machines Corp. - External operating mode selection Ordering Information Part Number Package "PD72068GF-3B9 80-pin plastic miniflat 84-pin PLCC (plastic leaded chip carrier) 50076 5-79 "P0720e8 f'tIEC Pin Configurations Btl-PIn "".'ic Minllllll "2 SIDE GND2 NC "EM3 "FLT DSO "SIDE GND2 GND2 "DSI "FLTR "DS2 "HOLD GND2 GND2 "DS3 NC "DEN 1 "LCT GND2 VDD "DENO VDD GNDI "ENPCS XB2 ACTL XBl ENi'iW GNDI RSEL XA2 MSEL XAI RESET GNDI iii5 PCSI WR PCSO CS "INDEX AO NC NC NC GNDI DRI O~N"'~ "''''- 9w 0 ~ 0Z w z'" Z w ~ ~ is '" ~ Q. < C'" i C'"z w <..l ~ ~ Z ~ Z c: ;: C ~ Q. < ~ (!I • • (!I • • (!I • C ~ (!I • ... . • • •c: c: •'"'" W * Active level I. variable. Connect GN01 and GN02 to ground with the shortest possible wiring. 83....0-59199 5-81 #,PD72068 ~EC Pin Identification Symbol I/O Signal Function Symbol I/O Signal Function AO In Address O. Selects I'PD72068 registers. HD LD (*) Out Head Load. Causes the drive head to contact the AO Registers diskette. a Status, auxiliary command, digital out INDEX (*) In lridicates drive head is positioned at physical start 1 Data, control point of track on the medium. ACTL In Active Level. Sets active level of drive interface INT Out Interrupt Request. Requests main system to process. signal. transferred data and execution results. ACTL Active Level -0- High LCT (*) Out Low Current. Indicates drive head has selected a 1 Low cylinder after the 43rd. In Chip Select. Validates RD and WR signals when MSEL In Mode Select. Validates IBM-PC register and on-chip MSEL = O. In Register mode (MSEL = 1), (;S'may peripheral circuits. be used as address line 1 in a typical PC system. PC SO, In Precompensation. Selects the preshift amount in 1/0 Data Bus. Bidirectional, three-state data bus. PCS, external or register mode. DENa, Out Density. Specifies preset data transfer rate; can be For internal mode, pull these pins low with high-value DENI (*) used for FDD data transfer rate control. See table 1. resistors. DIR (*) Out Direction. Specifies the seek direction. RD In Read. This control signal causes the main system to DIR Seek Direction read data from the I'PD72068 to the data bus. 0- Centrifugal 1 Cent ripetal RDATA (*) In Read data (consists of clock and data bits) from FDD. In DMA Acknowledge. Enables DMA cycle. READY (*) In Indicates FDD is ready. DMARQ Out DMA Request. Requests data transfer in DMA mode. RESET In Sets I'PD72068 to idle state. FDD interface outputs except for WDATA (undefined) are: DRO, DRI In Data Rate. Sets data transfer rate in external mode. ACTL Output For internal mode, pull these pins low with high-value a All low resistors. All high DSO-DS3 Out Drive Select. Selects up to four FDDs. (*) For the main system, INT and DMARQ are set to low and Do-D7 are set for input. EMO-EM3 Out Enable Motor. Controls spindle motor on/off; also can (*) be used as a general-purpose output port. When MSEL = 0, I'PD72068 enters external mode ENPCS In Enable Precompensation. directly after a reset. (*) ACTL ENPCS Preshift Value -0- -a-- a ns RSEL In Register Select. When MSEL = " used with (;S' and AO to select registers for IBM-PC (digital out register a I Assigned by mode and control register). Invalid when MSEL = a 1 o Assigned by mode 1 1 a ns SIDE (*) OutSide Select. Selects double-sided drive head. ACTL SIDE Drive Head If the preshiftamount is to be varied according to the number of cylinders, the appropriate control signal is a (Active high) a 0- , Head a Head' input on ENPCS. When applying preshifting to 1 (Active low) a Head' cylinders 43 and above, variable control can be 1 1 Head a performed automatically by connecting the E NPCS STEP (*) Out Generates seek pulses. and LCT pins. TC In Terminal Count. Terminates data transfer. ENRW In Enable Read Write. Validate RD and WR signals when MSEL = 1. When MSEL = 0, this signal is TRKO (*) In Indicates drive head is positioned at cylinder O. meaningless. WDATA (*) Out Write data (clock and data bits) to FDD. FLT (*) In Fault. Indicates FDD is faulty. WE (*) Out Requests FDD to write data. FLTR (*) Out Fault Reset. Releases FDD from fault state. WPRT (*) In Indicates medium is write-protected. FMT In Format. Selects format in external mode. In Write. Control signal that allows the main system to FMT Format write data bus data into "PD72068. O~ 1 ECMA For internal mode, pull this pin low with a high-value resistor. 5-82 NEe #,PD72068 Pin Identification (cont) Table t. Data Transfer Rate Settings Symbol I/O Signal Function Input Pins MFM Oats Output Pins Transfer XA1, XA2 In Crystal A. For internal oscillator frequency control, a Mcde OR1 ORO 01 00 Rate (kb/s) OEN1 DENO crystal resonator is connected to XA 1 and XA2. For external clock input at XA 1, XA2 is open. Internal! 0 0 250 o external 0 500 (Note 1) Frequency = 32 MHz 0 150 (300) o To support only 500/250 kb/s data rates, crystal B is 300 (600) a o not necessary; connect XA2 to XB1. Register 0 x 0 0 500 XB1, XB2 In Crystal B. For internal oscillator frequency control, a (Note 2) crystal resonator is connected to XB1 and XB2. For 0 x 0 250 o external clock input at XB1, XB2 is open. 0 x 0 250 o Frequency Data Rate 0 x 150 (300) o 38.4 MHz 600 kb/s x 0 0 500 19.2 MHz Ali other rates x 0 300 (600) o a To support only 500/250 kb/s data rates, crystal B is x 0 250 o not necessary; connect XA2 to XB1. x 150 (300) o 2SIDE (*) In Indicates a medium with two usable sides has been loaded Into the FOO. Notes: NC No Connection. (1) In internal mode, DR1 and DRO are bits of the CONTROL INTERNAL MODE command. In external mode, DR1 and DRO are GND1 Digital system ground. input pins. GN02 Buffer system ground. (2) In register mode, DRO input pin status is "Don't Care" (x). Voo In + 5-volt power supply (3) Data transfer rates in parentheses are with a 38.4-MHz crystal resonator connected to pins XB1 and XB2 or a 3S.4-MHz clock (*) Active high when ACTL = 0; active low when ACTL = 1. connected to pin XB1. (4) Data transfer rates are for MFM mode. In FM mode, these rates Pin Reset Status are halved. Pin Reset Statue (5) DEN1 and DNa values are when ACTL = 1 (active lOW). When Input ACTL = 0 (active high), values are inverted. DMARQ,INT Low WDATA Undefined Operation Modes DIR, OSO-DS3, Low when ACTL =0; high when ACTL= 1. Since I4P072068 has been developed from liP 072067, EMO-EM3, FLTR, the external and internal modes available for IIP072067 HDLD, LCT, are also available for I4P072068 (exept the external VFO SIDE, STEP, WE mode). In addition, the register mode is available for DENO, DEN1 Output depends on the preset data transfer I4P072068. The register mode is used to operate the rates. Value set when ACTL = 0 Is inverted when ACTL = 1, and vice versa. IBM·PC registers and special-purpose circuits of I4P072068. Procedures for setting the data transfer rate, Other pins precompensation amount, etc., vary depending on the modes. The differences in the procedures are shown in table 2. 5-83 "PD72068 NEe TIIb/e2. Opetatlon IIotIIM MSa Data Trana..r PrecompenNtIon Format Motor On/Off Mode Pin .COmmencl Rata Setting Drive Select Amount SettIng Change Control Register None DO and 01 bits and Digital out POSO, PCS1, and FMTpln Digital out register mode DRl pin of control register DRl pins register Internal 0 Note 1 CONTROL INTERNAL USl and USO CONTROL SELECT ENABLE MOTORS mode MODE bits In the INTERNAL MODE FORMAT command command command command command External 0 Note 2 DRl and ORO pins POS1, Peso, and FMT pin mode DRl plna Notal: (1) CONTROL INTEFINAL MODE command (2) ENABLE EXTERNAL MODE command 5-84 ttlEC I£PD72068 p.PD72068 Block Diagram Block upgraded or added to original!,PD765!72065 Internal signal X!31 XB2 RESET J Reset Control I Command t ~ Registers and Timers r'"' ,I/i rV W READY 1- 2SIDE ,,- INDEX FLT ii L.J.... L'" <"""'''' })I r---L.., Drive F -y" I Status g; Interface Control -" o--ACTL DSO HDLD LCT U- ....... --y Ii FLTR SIDE STEP DO-D7 Data Bus Buffer t MUltiplexer Data P W DIR DENO ~ - From Out AO .(7 CS EMO I'""", L- '-" I' 4 tAR 0 ns For ~ when MSEL =1 AO, ~, DMAAK. J:lilRiiil hold time fromm> 4 tRA 0 ns RD pulse width 4 tRR 200 ns Data access time from I'iD J. 4 tRO 140 ns Data float delay time from I'iD r 4 tOF 10 85 ns I NT delay time from R\) r 4 tRI 400 ns Note 1 AO, ~, DMAAK. EJiiRiiii, RSEL setup time to WR 5 tAW 0 ns For ~ and RSEL when MSEL =1 AO, ~, JmAAK, EJiiRiiii, RSEL hold time from 5 tWA 0 ns WR WR pulse width 5 tww 200 ns Data setup time to WR 5 tow 100 ns Data hold time from WR 5 two 0 ns INT delay time from WR r 5 tWI 400 ns Note 1 DMARa cycle time 6 tMCV 21.7 "S tCYB = 52.08 ns DMAAK J. response time from DMARa r 6 tMA 333.3 ns DMARa delay time from DliiIAAR J. 6 tAM 140 ns Dfi.1AAR pulse width 6 tM 8.3 tCYB I'iD J. response time from DMARa t 6 tMR 208.3 ns tCYB = 52.08 ns WR J. response time from DMARa r 6 tMW 416.7 ns WRJRD response time from DMARa r 6 tMRW 20 /IS TC pulse width 6 tTC 60 ns RESET pulse width for 7 tRST 60 tCVA During normal operation crystal resonator connection 10 ms On power-on 10 ms After standby release RESET pulse width for 7 tRST 60 tCVA During normal operation external clock Input 2 ms On power-on 60 tCVA After standby release Clock hold time on standby 8 twc 128 tCYB When external clock Is Input to XBl pin Clock setup time after standby release 8 tcw 64 tCYB START CLOCK command write setup time to 8 tws 64 tCYB RESET STANDBY command write INT response time from DMARa J. 9 tMI 240 308 tCYB DliiIAAR signal Invalid from INT r 9 tlA 4 tCYB 5-93 liP 072068 t-IEC AC Characteristics 3; 300 kb/s (cont) Parameter Figure Symbol Min Typ Max Unit Conditions Dr;". Side RDATA high-level width 10 tROD 40 ns WDATA high-level width 10 twoo 416.7 ns _D_SO_-_D_S_3_s_e_tu,"-p_t_im_e_t_o_D_IR--c(N_o_t_e_4:..)_ _ _ _ _ 11 -=-==--________...;p,S'--_ tCYB = 52.08 ns; Note 2 _ _ _toso 20 DIR setup time to STEP 11 tOST 1.7 p,S DSO-DS3 hold time from STEP (Note 4) 11 tSTU 8.3 p,S STEP high-level width 11 tSTP 10 11.7 13.3 p,S DSO-DS3 hold time from DIR (Notes 3. 4) 11 toos 25 p,S 11 tSTD 40 STEP cycle time 11 tsc 55 /'s FLTR high-level width 12 tFR 13.3 16.7 /'S INDEX high-level width 12 tloX 16 tCYB Notes: (1) For data transfer In non·DMA mode. (2) The minimum value for drlve-slde parameters Is 50 ns less than the value expressed In /'S. For example. 20 /'S is actually 19.950"s. (3) While the unit under test Is performing a seek operation. the SENSE DEVICE STATUS command Is being executed for the other devices. (4) Except In register mode. (5) See figure 3 for timing measurement voltage thresholds. 5-94 NEe "PD72068 AC Characteristics 4; 150 kb/s TA = -10 to + 70"C; voo = +5 V ±10%; MFM data transfer rate = 150 kb/s; tCYA = 31.25 ns (32 MHz at XA 1 pin); tCYS = 52.08 ns (19.2 MHz at XB1 pin) Parameter Figure Symbol Min Typ Max Unit Conditions Main System Side AO, CS, DMAAK, E NRW setup time to RD 4 tAR 0 ns For ENRW when MSEL = 1 AO, CS, DMAAK, ENRW hold time from RD 4 tRA 0 ns RD pulse width 4 tRR 200 ns Data access time from RD.I 4 tRO 140 ns Data float delay time from AD i 4 tOF 10 85 ns INT delay time from RD i 4 tRI 400 ns Note 1 AO, CS, DMAAK, 'ENl'i'VV, RSEL setup time to ViR 5 tAW 0 ns For ENRW and RSEL when MSEL = 1 AO, CS, DMAAK, 'ENl'i'VV, RSEL hold time from 5 tWA 0 ns WR WR pulse width 5 tww 200 ns Data setup time to WR 5 tow 100 ns Data hold time from WR 5 two 0 ns INT delay time from WR i 5 tWI 400 ns Note 1 OMARa cycle time 6 tMCY 43.4 ,.s tCYS = 52.08 ns DMAAK .I response time from OMARa i 6 tMA 666.6 ns OMARa delay time from DMAAK .I 6 tAM 140 ns DMAAK pulse width 6 1M 16.3 tcys RD .I response time from OMARa i 6 tMR 416.7 ns tCYS = 52.08 ns ViR .I response time from OMARa i 6 tMW 833.4 ns WR/RD response time from OMARa i 6 tMRW 40 ,.s TC pulse width 6 tTC 60 ns RESET pulse width for 7 tRST 60 tCYA During normal operation crystal resonator connection 10 ms On power-on 10 ms After standby release RESET pulse width for 7 tRST 60 tCYA During normal operation external clock input 2 ms On power-on 60 tCYA After standby release Clock hold time on standby 8 twc 256 tCYS When external clock Is Input to XBl pin Clock setup time after standby release 8 tcw 128 tCYS START CLOCK command write setup time to 8 tws 128 tCYS RESET STANDBY command write INT response time from OMARa .I 9 tMI 480 616 tcys DMAAK signal invalid from INT i 9 tlA 8 tCYS 5-95 #,PD72068 NEe AC Characteristics 4; 150 kb/s (cent) Parameter Figure Symbol Min Typ Max Unit Conditions Drive Side RDATA high-level width 10 tRDD 40 ns WDATA high-level width 10 tWDD 833.4 ns DSO-DS3 setup time to DIR (Note 4) 11 tDSD 40 "s tCYB = 62.08 ns; Note 2 --------~------~--------------------~~------------------- DIR setup time to STEP 11 tDST 3.4 "s DSO-DS3 hold time from STEP (Note 4) 11 tSTU 16.6 "s STEP high-level width 11 tSTP 20 23.4 26.6 1'8 DSO-DS3 hold time from DIR (Notes 3, 4) 11 tDDS 50 DIR hold time from STEP 11 tSTD 80 STEP cycle time 11 tsc 110 FLTR high-level width 12 tFR 26.6 33.4 1'8 INDEX high-level width 12 tlDx 32 tCYB Notes: (1) For data transfer in non-DMA mode. (2) The minimum value for drive-slde parameters is 50 ns less than the value expressed in "s. For example, 40 "s is actually 39. 950 l's. (3) While the unit under test is performing a seek operation, the SENSE DEVICE STATUS command is being executed for the other devices. (4) Except In register mode. (5) See figure 3 for timing measurement voltage thresholds. 5-96 NEe /-,PD72068 AC Characteristics 5; 600 kb/s ~ = -10 to +70"C; Voo = +5 V :t10%; MFM data transfer rate = 600 kb/s; tCYA = 31.25 ns (32 MHz at XA 1 pin); tCYB = 26.04 ns (38.4 MHz at XB1 pin) Parameter Figure Symbol Min Typ Max Unit Conditions lIain System Side AO, 'CS, DMAAK, ENFMI setup time to AD 4 tAR 0 ns For ENFMI when MSEL = 1 AO, 'CS, DMAAK, E NFMI hold time from RD 4 tRA 0 ns RD pulse width 4 tRR 200 ns Data access time from RD ~ 4 tRO 140 ns Data float delay time from RD t 4 tOF 10 85 ns INT delay time from RD t 4 tRI 400 ns Note 1 AO, 'CS, DMAAK, ENRN, RSEL setup time to WR 5 tAW 0 ns For ENFMI and RSEL when MSEL = 1 AO, 'CS, DMAAK, ENRN, RSEL hold time from 5 tWA 0 ns WR WR pulse width 5 tww 200 ns Data setup time to WR 5 tow 100 ns Data hold time from WR 5 two 0 ns INT delay time from WR t 5 tWI 400 ns Note 1 OMARa cycle time 6 tMCY 10.8 p's tCYB = 26.04 ns DMAAK ~ response time from OMARa t 6 tMA 166.7 ns OMARa delay time from DMAAK ~ 6 tAM 140 ns DMMK pulse width 6 tAA 8.6 tCYB RD ~ response time fro~ OMARa t 6 tMR 104.2 ns tCYB = 26.04 ns WR ~ response time from OMARa t 6 tMW 208.3 ns WR/RD response time from OMARa t 6 tMRW 12 p.s TC pulse width 6 tTC 60 ns RESET pulse width for 7 tRST 60 tCYA During normal operation crystal resonator connection 10 ms On power-on 10 ms After standby release RESET pulse width for 7 tRST 60 tCYA During normal operation external clock Input 2 ms On power-on 60 tCYA After standby release Clock hold time on standby 8 twc 128 tCYB When external clock is input to XB1 pin Clock setup time after standby release 8 tcw 64 tCYB START CLOCK command write setup time to 8 tws 64 tCYB RESET STANDBY command write INT response time from DMARQ ~ 9 tMI 240 308 tCYB DMAAK signal invalid from INT t 9 tlA 4 tCYB 5-97 "PD72068 NEe AC Characteristics 5; 600 kb/s (cont) Parameter Figure Symbol Min Typ Max Unit Conditions Drive Side RDATA high-level width 10 tROD 40 ns WDATA high-level width 10 twoo 208.3 ns DSO-DS3 setup time to DIR (Note 4) 11 toso 10 /IS tCYB = 26.04 ns; Note 2 ~----~------~--~------------~~------------~- DIR setup time to STEP 11 tOST 0.8 /IS DSO-DS3 hold time from STEP (Note 4) 11 tSTU 4.2 /IS STEP high-level width 11 tSTP 5.0 5.8 6.7 lIs DSO-OS3 hold time from DIR (Notes 3, 4) 11 toos 12.5 lIS 11 tSTD 20 STEP cycle time 11 tsc 27.5 FLTR high-level width 12 tFR 6.7 8.3 INDEX high-level width 12 tlOX 16 tCYB Notes: (1) For data transfer In non-DMA mode. (2) The minimum value for drive-side parameters is 50 ns less than the value expressed In "s. For example, 10 lIS is actually 9.950/IS. (3) While the unit under test Is performing a seek operation, the SENSE DEVICE STATUS command Is being executed for the other devices. (4) Except In register mode. (5) See figure 3 for timing measurement voltage thresholds. 5-98 NEe I'PD72068 AC Characteristics 6; 300 kb/s TA = -10 to +70'C; voo = +5 V :t10%; MFM data transfer rate = 300 kb/s; tCYA = 31.25 ns (32 MHz at XA1 pin); tCYB = 26.04 ns (38.4 MHz at XBl pin) Parameter Figure Symbol Min Typ Max Unit Conditions Main System Sids AO, eg, DMAAK, ENRN setup time to Rl5 4 tAR 0 ns For ENRN when MSEL = 1 AO, eg, DMAAK, ENRN hold time from Rl5 4 tRA 0 ns RD pulse width 4 tRR 200 ns Data access time from RD J, 4 tRO 140 ns Data float delay time from RD t 4 tOF 10 85 ns INT delay time from RD t 4 tRI 400 ns Note 1 AO, eg, DMAAK, ENRw, RSEL setup time to WR 5 tAW 0 ns For ~ and RSEL when MSEL = 1 AO, CS, DMAAK, ENRw, RSEL hold time from 5 tWA 0 ns WR WR pulse width 5 tww 200 ns Data setup time to WR 5 tow 100 ns Data hold time from WR 5 two 0 ns INT delay time from WR t 5 tWI 400 ns Note 1 DMARa cycle time 6 tMCY 21.7 "s tCYB = 26.04 ns DMAAK J, response time from DMARa t 6 tMA 333.3 ns OMARQ delay time from OMAAK J, 6 tAM 140 ns OMAAK pulse width 6 tAA 16.6 tCYB RO J, response time from DMARa t 6 tMR 208.3 ns tCYB = 26.04 ns WR J, response time from DMARa t 6 tMW 416.7 ns WR/Ro response time from DMARa t 6 tMRW 24 "s TC pulse width 6 tTC 60 ns RESET pulse width for 7 tRST 60 tCYA During normal operation crystal resonator connection 10 ms On power-on 10 ms After standby release RESET pulse width for 7 tRST 60 tCYA During normal operation external clock Input 2 ms On power-on 60 tCYA After standby release Clock hold time on standby 8 twc 256 tCYB When external clock Is Input to XB1 pin Clock setup time after standby release 8 tcw 128 tCYB START CLOCK command write setup time to 8 tws 128 tCYB RESET STANDBY command write INT response time from DMARa J, 9 tMI 480 616 tCYB DMAAK signal invalid from INT t 9 tlA 8 tCYB 5-99 "PD72068 ttlEC AC Characteristics 6; 300 kb/s (cont) Parameter Figure Symbol Min Typ Max Unit ConditIOns Dri"eSide RDATA high-level width 10 tAoo 40 ns WDATA high-level width 10 twoo 416,7 ns _D_S_0_-D_S_3_s_e_tu...:p_t_im_e_to_D_I_R...;{...;N_ot_e_4:..)_ _ _ _ _ _ -===-________-.:..f.IS_ tcva = 26,04 ns; Note 2 11 _ _ toso 20 DIR setup time to STEP 11 tOST 1,7 f.IS DSO-DS3 hold time from STEP (Note 4) 11 tSTU 8,3 f.IS STEP high-level width 11 tSTP 10 11,7 13,3 f.IS DSO-DS3 hold time from DIR (Notes 3, 4) 11 toos 25 f.IS DIR hold time from STEP 11 tSTD 40 STEP cycle time 11 tsc 55 FLTR high-level width 12 tFA 13,3 16,7 f.IS INDEX high-level width 12 tlOX 32 tcva Notes: (1) For data transfer In non-DMA mode, (2) The minimum value for drive-side parameters Is 50 ns less than the value expressed in f.IS, For example, 20 f.IS is actually 19,950 /ls, (3) While the unit under test is performing a seek operation, the SENSE DEVICE STATUS command is being executed for the other devices, (4) Except In register mode, (5) See figure 3 for timing measurement voltage thresholds, Figure 4. Read Operation AO'CS'=i .' r OMAAK,ENAW t-AR------------tRA- '------- .' 'I" tRR \ tDF I--- t R D - I+- High-Z ---------"'1 DO-D7 INT - - - - 11--'- - ~------- tRI --L 83Sl-5759B 5-100 ttlEC I'PD72068 Figure 5. write Opel'llt;on AO,05, RSEL, OMAAK,ENRW => ~ K , tww tWA ,....-. tow ~ 00-07 ) 1---- tW'---L-t - - - - INT Figure. II DIIA Operation ~--------tMCY--------~ OMARQ ~---tMA---~-'1 ~-- tAA----i ~-----tMRW------ ~---- tMR----...., ~----tMW-----~ TC_~ -~tTC~- 83SL-S761B Figure 7. RESET Mllvetorm 5:101 "PD72068 tttlEC Figure B. Standby Operlltlon (WIth Exterlllli Cloele InpufJ External Clock )o(XXX'~-"AXXXX)O "I=cw twc tws Noles: (1) SET STANDBY command write. (2) START CLOCK command write. (3) RESET STANDBY command write. (4) When in standby mode the extemal clock should be fixed low. The standby current specifications cannot be met unless this is done. 83S\..-5755B FIgura. Operation in Cllse of Overrun IMI R-Phase DMARQ ~ INT / DMAAK Signal _ I---tlA Invalid TIme INT generation on completion of command 838L-5764B FIgure 1D. RDlDlllnd WLMa IIIrveforms RDATA. %l\ -~ ~-:D WDATA %l\ - ~ ~-::- 83SL-5788A 5-102 NEe I-tPD72068 Figure 11. Seek Operanion DSO-DS3 -X =:ox ----- ~-t-DS-D-------------------t-DD--S~~---------- ~----~------------ DIR tSTD I tSTU ---l STEP ~-----------tsc--------~~ 83SL-5766B Figure 12. FLTR and INDEX Waveforms FLTR -t,,}'----- INDEX A} - . f-- tlDX '---- 83SL·5767A 5-103 "PD72068 NEe 5-104 NEe NEe Electronics Inc. I'PD72069 Floppy-Disk Controller Description Pin Identification Symbol I/O Signal Function The I£PD72069 Floppy-Disk Controller (FDC) is one of NEC's integrated solutions for todayS floppy-disk con- AO In Address O. Selects a register in "PD72069. troller designs. An outgrowth of the I£PD765A-long ACTL In Active Level. Sets active level of drive Interface established as the industry standard for floppy-disk signal. contol-the I£PD72069 maintains complete microcode ACTL Active Level compatibility and contains the latest enhancements re- 0-- High quired for multitasking applications. Additionally, the 1 Low I£PD72069 integrates the standard host-interface regis- CGP1, Out Charge Pump. Phase difference of sub PLL ters used in IBM PC, PC/XT, PC/AT, and PS/2~ designs. CGP2 devices. In Chip Select. Validates RD and WR signals. The I£PD72069 incorporates a high-performance analog PLL that requires no adjustments and supports all stan- I/O Data Bus. Bidirectional, three-state data bus. dard data rates as well as 600 kb/s and 1 Mb/s for the DE NO, Out Density. Specifies the density of a drive that can latest advances in tape and disk technology. DENt (*) support more than one density. The output is a value corresponding to the selected data The I£PD72069 has on-chip clock generation, selectable transmision rate. write precompensation, and all the circuitry necessary DENO: When DRt = 0 and DRO = " the DENO for interfacing directly to four· floppy-disk drives. output Is 1. Otherwi se It Is O. DEN1: When DRt = 1 and DRO = " the DENI Features output Is o. Otherwi se it is 1. The values specified above are applicable when Cl 100% I£PD765A/765B software and hardware ACTL = 1. The values are reversed when ACTL = compatible O. Cl IBM and ECMA (Sony) formats DIR (*) Out Direction. Specifies the seek direction. Cl Analog PLL (no adjustment required) ACTL DIR Direction Cl Data transfer rate: 1 Mb/s; 600, 500, 300, 250, 150 -0- 0- Outward kb/s o 1 Inward Cl Two system clock generators 1 0 Inward Cl Write precompensation (programmable shift values) 1 1 Outward Cl Programmable stepping speed In DMA Acknowledge. Enables DMA cycle. Cl Direct control of four FDDs DMARQ Out DMA Request. Requests data transfer in DMA - Spindle motor control mode. - Unit select control DRO-DR2 In Data Rate. Sets data transfer rate In external - High-current driver outputs (open drain) mode. Cl Three selectable modes support: DSO-DS3 Out Drive Select. Selects up to four FDDs. - PC, PC/XT, PC/AT registers (*) - Internal operating mode selection EMO-EM4 Out Enable Motor. Controls FDD spindle motor on/off; - External operating· mode selection (*) also can be used aa a general-purpose output porl Ordering Information ENIDX (*) In Enable Index. Validates I NDEX and RDATA signals Part Number Package from FDD. tOO-pin plaatlc mlniflat ENPCS In Enable Precompensatlon. This pin is usually (*) connected to the LCT pin "PD72069L 84-pln PLCC (plaatlc leaded chip carrier) In Enable Read Write. Validate i15 and WR signals IBM PC, PCIXT, PC/AT, and PS/2 are regletered trademarks of Inter- when MSEL = t. When MSEL = 0, this signal is national Business Machines Corp. meaningless. FLT (*) In Fault. Indicates FDD is faulty. FLTR (*) Out Fault Reset. Releases FDD from fault state. 50077 5-105 "PD72069 ttlEC Pin Identification (cont) Pin Identification (cont) Symbol I/O SI gnal Function Symbol I/O 'Slgnal Function FMT In Format. Selects format in external mode. XAl, XA2 In Crystal A. For internal oscillator frequency FMT Format control, a crystal resonator is connected to XA 1 O~ and XA2. For external clock input at XA 1, XA2 is 1 ECMMSO open. Frequency = 16 MHz HOLD (*) Out Head Load. Sets drive head in the load state. INDEX (*) In Indicates drive head is positioned at physical start point of track on the medium. INT Out Interrupt Request. Requests main system to Symbol I/O Signal Function process transferred data and execution results. XB1, XB2 In Crystal B. For internal oscillator frequency control, a LCT (*) Out Low Current. Indicates drive head has selected a crystal resonator is connected to XBl and XB2. For cylinder on or after the 43rd. external clock Input at XB1, XB2 is open. LPF1, Out Lowpass Filter. Phase difference of main PLL Frequency = 19.2 MHz LPF2 devices. 2SIDE (*) In Indicates a medium with two usable sides has been MSEL In Mode Select Validates IBM-PC register and on- loaded into the FDD. chip peripheral circuit. IC Internal Connection. Connect to GNDI PCSO, In Precompensation. Sets precompensation value PCSI in external or register mode. NC No Connection. RD In Read. This control signal causes the main system GNDI Ground for digital devices. to read data from the IIPD72069 to the data bus. GND2 Ground for analog devices. RDATA (*) In Read data (consi sts of clock and data bits) from GND3 Ground for buffers. FDD. VOOI In +5-volt power supply for digital devices. READY (*) In Indicates FDD is ready. VOO2 In + 5-volt power supply for analog devices. RESET In Sets IIPD72069 to idle state. FDD interface outputs except for WDATA (undefined) are; (*) Active high when ACTL '" 0; active low when ACTL '" 1. ACTL Output o All low Output Pin Reset Status 1 All high Pin Reset Status For the main system, INT and DMARQ are set to low and 00-07 are set for input. Input RSEL In Register Select. When MSEL = 1, used with 'OS DMARQ,INT Low and AO to select register for IBM-PC (digital out Undefined CGP1, CGP2, register or control register). Invalid when MSEL = LPF1, LPF2, o WDATA SIDE (*) Out Side Select. Selects double-sided drive head. DIR, DSO-DS3, Low when ACTL = 0; high when ACTL = 1. ACTL SIDE Drive Head EMO-EM3, FLTR, -0- -0- Head 0 HOLD, LCT, o 1 Head 1 SIDE, STEP, WE 1 o Head 1 Output depends on the preset data transfer 1 1 Head 0 DENO,DENI rates. Value set when ACTL '" 0 is inverted STEP (*) Out Generates seek pulses. when ACTL = 1, and vice versa. TC In Terminal Count. Terminates data transfer. TRKO (*) In Indicates drive head is positioned at cylinder O. WDATA (*) Out Write data (clock and data bits) to FDD. WE (*) Out Requests FDD to write data. WPRT (*) In Indicates medium is write-protected. WR In Write. Control signal that allows the main system to write data bus data Into IIPD72069. 5-106 NEe I'PD72069 Pin Configurations ~inPLCC '" >< (.) w 15 ;:: ;:: -' Cl a. f- . • • • • '"• • • • • • • • a~ 8z ~ LL~ Cl0; ..:a:w Qw Cl'"z a:C3 Ii:;;::0.. "f-a: ~~..: ClZ'" t;w 15a: 5 zw zw g z::t: ..: ••• ~ ~ a: '" ~ 0 ~ a. GND1 GND3 CGP1 "EMO NC "EM1 CGP2 GND3 NC "EM2 GND2 "EM3 NC GND3 LPF2 "DSO NC "DS1 LPF1 GND3 NC *DS2 VDD2 *INDEX VDD1 *DS3 RESET *DEN1 ENRW GND3 RSEL DENO cs XB2 AO XB1 RD GND1 WR XA2 MSEL XA1 O~"'''''''",2 .. ClK .......... 5-127 "PD72069 NEe 5-128 NEe HARD-DISK CONTROLLERS 6-1 Hard·Dlsk Controllers NEe Section 6 Hard·Dlsk Controllers ,.pD7281 AlB 6-3 Hard-Disk Controllers ,.pD7282 8-39 Enhanced Small-Disk Interface Controller "PD72081 8-87 CMOS Hard-Disk Controller ,.PD72111 8-89 Small Computer System Interface Controller 6-2 tt.'EC pPD7261A/B NEe Electronics Inc. Hard-Disk Controllers Description Pin Configuration The jJPD7261A and jJPD7261B hard-disk controllers are SYNC intelligent microprocessor peripherals designed to con- RIWDATA (RGATE) trol a number of different types of disk drives. They are RIWCLK (WGATE) RESET capable of supporting either hard-sector or soft-sector INT disks and provide all control signals that interface the DREQ (PCL) controller with either SM D disk interfaces or ST506-type USTG (PCE) drives. The sophisticated instruction set minimizes the SSTG (OSO) (SKC) software overhead for the host microprocessor. By us- (TRKO) ing the DMA controller, the microprocessor needs only (READY) to load a few command bytes into the jJPD7261A/7261B (WFLT) (DSO) and all the data transfers associated with read, write, or (DS1) format operations are done by the jJPD7261A/7261B and (HSO) the DMA controller. Extensive error reporting, verify BT5 (HS1) commands, ECC, and CRC data error checking assure BT6 (HS2) (RWC) reliable controller operation. The jJPD7261A/7261B pro- (STEP) vides internal address mark detection, ID verification, (DIR) and CRC or ECC checking and verification. An eight- Note: Signals shown in parentheses are used in the ST506 mode. byte FIFO is used for loading command parameters and 49-000954A obtaining command results. This makes the structuring of software drivers a simple task. The FIFO is also used for buffering data during DMA read/write operations. Ordering Information MaxFreq. Device Number Package Type of Operation Features "PD7261AD 40-pin ceramic DIP 12MHz D Flexible interface to various types of hard disk 40-pin ceramic DIP 18MHz drives D Programmable track format 40-pin ceramic DIP 23MHz o Controls up to 8 drives in SMD mode; up to 4 drives in ST506-type mode Pin Identification D Parallel seek operation capability No. Symbol Function D Multi-sector and multi-track transfer capability Host Interface D Data scan and data verify capability 4 RESET Reset input D High-level commands, including: Read Data, Read 10, Write Data, Format, Scan Data, 5 INT Interrupt request output Verify Data, Verify ID, Check, Seek (normal or buf- 6 DREQ DMA request output fered); Recalibrate (normal or buffered), Read 7 TC Terminal count input Diagnostic (SMD only); SpeCify, Sense Interrupt 8 CS Chip select input Status, Sense Unit Status, and Detect Error 9 RD Read strobe input D NRZ or MFM data format 10 WR Write strobe input o Maximum R/W ClK frequency: -12 MHz (7261A) 11 Ao Register select input -18 MHz (7261B-18) 12-19 Do-D7 Data 1/0 bus - 23 MHz (7261 B-23) 20 GND Ground D Error detection and correction capability 37 CLOCK External clock input D Simple I/O structure: compatible with most 40 +5 V power supply Vee microprocessors SMD Interface D All inputs and outputs except clock pins are TTl- SYNC Pll synchronization compatible (clock pins require pullup) output D Data transfers under DMA control D NMOS 2 R/W DATA Read I write data I I 0 D Single +5-volt power supply 3 R/W ClK Read I write clock input D 40-pin ceramic DIP NECEL-00347 6-3 pPD7261A/B tt¥EC Pin Identification (cont) TC (Terminal Count) No. Symbol Function .The TC input goes low to signal the final DMA transfer. 8MD Interface (coni) 21-28,38, 39 BT9-BTO Bit 9-0 outputs I Status CS (Chip Select) inputs When the CS input is low, it enables reading from or writ- 29-31 TGHG3 Tag 1-3 output ing to the register selected by Ao. 32 BDiR Bit direction output 33 SSTG SR select tag output RD (Read Strobe) 34 USTG Unit select tag output When the RD strobe is low, data is read from the se- 35 SCT Sector input lected register. 36 INDEX Sector zero input WR (Write Strobe) 81506-1ype Interface When the WR input is low, data is written to the selected SYNC Pll lock I Read clock register. enable output R/WDATA Read I write data I 10 Ao (Register Select) 3 R/WClK Read I wrtte clock input The Ao input is connected to a non-multiplexed address 21 DlR Direction in output bus line. When Ao is high, it selects the command or sta- 22 STEP Step pulse output tus register. When it is low, it selects the data buffer. 23 RWC Reduced write current output 00-07 (Data Bus) 24-26 HS2-HSO Head select outputs 2-0 Do-D7 are connected to the system data bus. 27,28 DS1, DSO Drive select outputs 1, 0 CLOCK (Clock) 29 WFlT Write fault input 30 READY Ready input The CLOCK input is the timing clock for the on-chip processor. 31 TRKO Track zero input 32 SKC Seek complete input Pin Functlons-SMD Interface 33 DSD Drive selected input 34 PCE Precomp early output SYNC (Pll Synchronization) 35 PCl Precomp late output This output goes high after the read gate signal (BT1 36 INDEX Index input when fG3 = 0) is high and a given number of bytes 38 WGATE Write gate output (GPL2-2) has elapsed. 39 RGATE Read gate output R/W DATA (Read/Write Data) The R/W DATA pin outputs the write data to the drive, Pin Functions-Host Interface and inputs the read data from the drive. RESET (Reset) R/W ClK (Read/Write Clock) When the RESET input is pulled high, it forces the de- R/W ClK is the input for the read and write clocks. vice into an idle state. The device remains idle until a command is issued to the system. BT9-BTO (Bit 9-0) BT9-BTO output the bit signals, bit 9-0. The bit 9-0 out- INT (Interrupt Request) puts send cylinder and unit addresses to the drives. The ",PD7261A/7261B pulls the INT output high to re- BT9-BT2 also act as inputs for status signals from the quest an interrupt. drives as shown in table 1. DREQ (DMA Request) The ",PD7261A/7261B pulls the DREQ output high to re- quest a DMA transfer between the disk controller and the memory. 6-4 ttiEC tL PD7261A/B Table 1. Bit and Control Information R/W DATA (Read/Write Data) No. Bit Control The R/W DATA pin outputs the write data to the drive, 21 BT9 Unit Selected and inputs the read data from the drive. 22 BT8 Seek End 23 BT7 Write Protected R/W ClK (Read/Write Clock) 24 BT6 R/W ClK is the input for the read and write clocks. 25 BT5 Unit Ready DIR (Direction In) 26 BT4 On Cylinder The DIR output determines the direction the read/write 27 BT3 Seek Error head will move in when it receives a step pulse. DIR high 28 BT2 Fault will cause the head to move inward, DIR low will move the head outward. BT7-BT2 also read the device status 2 (SR7-SR2) and STEP (Step Pulse) device type (OT7-0T2). The index and SCT pins read STEP outputs the head step pulses. SRO, SR1 and OTO, DTt BDiR (Bit Direction) RWC (Reduced Write Current) The RWC output signals that the read/write head of the The BOIR output determines whether pins 28-21 will disk drive has selected a cylinder address larger than output BT2-BT9 or input drive status signals. that specified in the SPECIFY command. This signal is TG3-TG1 (Tag 3-1) used to reduce the write current. The TG outputs define the use of the BT pins. When TG1 HS2-HSO (Head Select 2-0) is low, BT9-BTO output the cylinder address. When TG2 The HS2-HSO outputs select the head. Up to 8 read! is low, BT7-BTO select a head address. When TG3 is write heads can be selected per drive. low, BT9-BTO output control signals for the disk drive. SSTG (SR Select Tag) DS1, DSO (Drive Select 1,0) The DS1 and DSO outputs select one of up to 4 drives. When the SSTG output is low, BT7-BT2, INDEX and SCT will be inputting SR7-SRO or DT7-DTO. WFlT (Write Fault) USTG (Unit Select Tag) The WFlT input detects write faults. When the USTG output is low, BT4-BT2 will be output- READY (Ready) ting a unit address. The READY input detects the drive's ready state. INDEX (Index) TRKO (Track 0) The INDEX input goes high when the drive detects an index mark. INDEX also acts as the SRO and DTO input The TRKO input signals that the head is at track O. pin. SKC (Seek Complete) SCT (Sector) The SKC input signals that a seek is complete. The SCT input goes high when the drive detects a sector mark. SCT also acts as the SR1 and DT1 input pin. DSD (Drive Selected) The DSD input signals that the drive is selected. Pin Functions-ST506·Type Interface PCE (Precomp Early) SYNC (Read Clock Enable) When the PCE output is high, early write precompensa- SYNC indicates that a sync pattern has been detected tion is required. and that synchronization has been achieved. PCl (Precomp late) When the PCl output is high, late write precompensa- tion is required. 6-5 pPD7261A/B t-{EC INDEX (Index) DC Characteristics *I'PD7261B specifications are preliminary The INDEX input goes high when the drive detects the TA = 0 to + 70"0, Vcc = +5.0V ±10% unless otherwise specified index mark. Limits Test Parameter S,mbol Min Trp Mall Un" Condltlons WGATE (Write Gate) Input voltage VIL1 - 0.5 +0.8 V All exceptClK, WGATE output goes high when the JlPD7261A/7261B is low R/WClK writing data. Input voltage VIL2 -0.5 +0.6 V ClK, R/WClK low RGATE (Read Gate) Input voltage VIH1 +2.0 Vee+0.5 V All except ClK, high R/WClK The AGATE output goes high when the JlPD7261AI 7261B is reading from the disk. Input voltage VIH2 +3.3 Vee+0.5 V ClK, R/WClK high Output voltage VOL +0.45 VIOL = +2.0 mA Block Diagram low Qutput voltage VOHl +2.4 V IOH=-100iiA, R/WCLK high all except pins BT1(RGATE) R/WDATA ClK 21-34 BTO(WQATE) RESET SYNC Output voltage VOH2 +2.4 V IOH= -50iiA, (PCL)SCT high pins 21-34 INDEX Input leakage IUl ±10 iiA VIN=Vee to current 0.45 V, all except pins DO-D7----~~ 21-34 Input leakage IU2 -500 iiA VIN = Vee to TC current (7261A) 0.45 V; AO --~~--':"'--7-00-'--iiA- pins 21-34 Internal iiii RAM WR (72618) cs ±10 INT Output leakage ILO iiA VOUT= Vee to DREQ current 0.45V ROM Supply current Icc 250 320 mA (Control Firmware) Capacitance TA=25·C, Vcc=OV Absolute Maximum Ratings Umlts Test Operating temperature, ToPT O·Cto +70·C Parameter S,mbol Min TrP Mall Unit Conditions Storage temperature, TSTG -65·Cto +150·C Input CIN 15 pF (Note 1) capacitance VOltage on any pin with respect to ground, Vee -0.5to +7.0V* Output COUT 15 pF (Note 1) Input voltage, VI -0.5to +7.0V* capacitance Output voltage, Va -0.5to +7.0V* Input/Output CliO 20 pF (Note 1) Comment: Exposing the device to stresses above those listed in capacitance the Absolute Maximum Ratings could cause permanent dam- Note: age. The device should not be operated under conditions outside (1) f=l MHz,AII unmeasured pins tied to GND. the limits described in the operational sections of this specification. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 6-6 -- - ---------~- - t-{EC ",PD7261AIB AC Characteristics TA=Oto +70°C;Vcc= +5V ±to%;CL=tOOpF(50pFfor726tB-23) Limits 7261A 72611·18 726111-23 Tell Parametsr Symbol Min Max Min MIx Min Max Unit Condition. Processor Interlace Clock cycle tCY 83 55 43 ns Clock time. low tCl 30 20 15 ns Clock time. high tCH 30 20 17 ns Clock rise time tCR 10 10 10 ns Clock fall time tCF 10 10 10 ns AO. CS setup to RD tAR 0 0 0 ns Ao. CS hold from RD tRA 0 0 0 ns RD pulse width tRR 200 100 100 ns Data delay from RD tRD 150 85 85 ns Output float delay tRDF 0 100 0 75 0 75 ns Data delay from Ao. CS tAD 150 85 85 ns Ao. CS setup to WR tAW 0 0 0 ns Ao. CS hold from WR IWA 0 0 0 ns WR pulse widlh tww 200 100 100 ns Dala setup 10 WR low 100 55 55 ns Data hold from WR tWD 5 5 5 ns Recovery lime from RD. WR tRV 200 70 70 os Reset pulse widlh IRES 100 100 100 ICY TC pulse width tTC 100 100 80 ns m INT delay from WR t IWI 200 200 200 ns DREn delay from WR t tWRO 250 125 125 ns DREQ delay from RD t IRROt 250 160 160 ns During disk read operation DREQ delay from RD ~ tRR02 150 130 100 ns After disk read operation 8T506·Type Interlace R/W CLK cycle period tRWCY 83 83 83 ns R/W CLK lime. low IRWCl 30 30 30 ns R/W CLK time. high IRWCH 30 30 30 ns R/W CLK rise time IRWCR 10 10 10 ns R/W CLK fall lime IRWCF 10 10 10 ns R/W DATA selup to R/W CLK IRDRC 40 35 35 ns R/W DATA hold from R/W tRCRD 5 5 ns CLK R/W DATA delay from R/W IWCWD 35 90 10 60 10 60 ns CLK RGATE delay from R/W CLK IRCRG 300 300 300 ns WGATE delay from R/W CLK tWCWG 150 150 150 ns PCE I PCL delay from R/W IRWCPC 35 110 10 80 10 80 ns CLK SYNC delay from R/W CLK IRWCSY 150 150 150 ns 6-7 ",PD7261AIB twEe AC Characteristics (cont) Limits 7281. 72818·18 72818·23 Test PIIl'llmeter Symbol Min Mal Min Mil Min Mal Unit Condldons ST506-~pa Interface (cont) OSO, OSlselup 10 STEP IDSST 250 250 250 ICY Normal seek mode 01 Rselup 10 STEP IOIST 200 200 200 ICY STEP pulse widlh ISTEP 69 85 69 85 69 85 ICY OSO, OSI hold from STEP ISTDS 750 750 750 ICY Normal seek mode; polling mode OIR hold from STEP ISTOI 750 750 750 ICY OSO, OSI hold from SKC ISKDS 100 100 100 ICY Normal seek mode; non polling DlR hold from SKC ISKDI 100 100 100 ICY OSO, OSI selup 10 STEP IDSSTB 250 250 250 ICY Buffered seek mode DIR setup 10 STEP IOISTB 200 200 200 ICY STEP pulse widlh ISTEPB 69 85 69 85 69 85 ICY STEP cycle period ISTCY 500 660 500 660 500 660 ICY OSO, OSI hold from STEP ISTDSB 200 200 200 ICY Buffered seek mode; polling mode OIR hold from STEP ISTDIB 200 200 200 ICY OSO, OSI hold from SKC ISKDSB 100 100 100 ICY Buffered seek mode; nonpoUing OIR hold from SKC ISKDIB 100 100 100 ICY Index pulse widlh IIDXF 8 8 8 IRWCY SMD Interfaca R/W ClK cycle period IRWCY 83 55 43 ns R/W ClK lime, low IRWCL 30 20 15 ns R/W ClK time, high IRWCH 30 20 17 ns R/W ClK rise time IRWCR 10 10 10 ns R/W ClK faU lime IRWCF 10 10 10 ns R/W DATA setup 10 R/W ClK IRDRC 40 35 35 ns R/W DATA hold from R/W IRCRD 5 5 ns ClK R/W DATA delay from R/W IWCWD 35 90 10 60 10 50 ns ClK BTl delay from R/W ClK IRCRG 300 300 300 ns BTO delay from R/W ClK IWCWG 150 150 150 ns SYNC delay from R/W ClK IRWCSY 150 150 150 ns BOIR setup 10 USTG IBDUT 60 60 60 ICY Unit selecl operation BOIR hold from USTG IUTBD 15 15 15 ICY Unit AOR selup 10 USTG IUAUT 38 52 38 52 38 52 ICY Unit AOR hold from USTG IUTUA 15 15 15 ICY BDiR setup 10 TGI IBDn 27 48 27 48 27 48 ICY Cylinder selecl operation BOIR hold from TGI InBD 60 60 60 ICY 6-8 ---.--- .. "--~ fttfEC IlPD7261AIB AC Characteristics (cont) Umlts 72811 72811·18 72811·23 Tast Panmeter Symbol Min Max Min Max Min Max Unl1 Condl1lons SMD Interface (cont) CYL. ADR selup 10 TGI ICAT1 27 48 27 48 27 48 ICY Cylinder seleci operalion CYL. ADR hold from TGI InCA 24 24 24 ICY TGI pulse widlh IT61 24 36 24 36 24 36 ICY BDiR selup 10 TG2 IBDT2 15 15 15 ICY Head select operalion BDIR hold from TG2 IT2BD 70 70 70 ICY HEAD ADR selup TG2 IHAT2 15 70 15 70 15 70 ICY HEAD ADR hold from TG2 IT2HA 24 24 24 ICY TG2, pulse width IT62 24 36 24 36 24 36 ICY BDIR selup 10 TG3 IBDT3 24 24 24 Icy RT2, FAULT CLR, SERVO, DATA STB conlrol timing BDIR hold from TG3 IT3BD 24 36 24 36 24 36 ICY TG3, pulse width IT63 56 100 56 100 56 100 ICY BT2, 3, 4, 6, 7, 8 seluplo 1m3 56 56 56 ICY TG3 BT4, 6 hold from TG3 IT3BT1 24 24 24 ICY BT2, 3, 7, 8 hold from TG3 IT3BT2 75 75 75 tCY BDI Rdelay from SSTG ISTBD 24 24 24 ICY Sense unil slalus liming BDI Rhigh lime IBOIR 54 66 54 66 54 66 ICY BT9 selup 10 BDiR ~ BT9 hold from BDiR SSTG pulse widlh Index pulse width SCT pulse widlh IBTBD IBDBT ISST6 IIDXH ISCT 38 24 8 8 52 33 370 .38 24 8 8 52 33 370 38 24 8 8 52 33 370 ICY ICY ICY m 6-9 pPD7 261A/ B NEe Timing Waveforms - Host System Interface AC Test Points (Except RIW eLK, eLK) DMA Read Timing 2.4 V 0.4SV ---v --A.:: 2.0/2.2 V Test Points 2.0/2.2V· V A-- 0 .::;:.8..!V_ _ _ _ _ _.....::0::::.8...:..V During Disk Read Operation '7216A/B 83-003478A AD \'-_ _ _----'{ CLK Waveform OREO--_tRRO'L After Disk Read Operation OREO Read Timing AO, iSS 83-003483A Reset Waveform 00-07 ---+------(1 83-003480A Write Timing Timing Waveforms-SMD Interface RIWeLK Waveform AO,CS,_ __ --..J ttAW DO-07 _ _tWI=7I INT L- Data Read/Write Timing 83-003481 A RIW elK DMA Write Timing RIW Data (Input) WR _ _\'----_ -----'_{_twROL RIW Data OREO (Output) 83-003482A 6-10 NEe pPD7261A/B Timing Waveforms-SMD Interface (cont) Read/Write Timing Bit Bus Timing, Fault C/ear/Return·to·Zero A/W CLK BDIR ---t tBoTa BTt (Read Gata) TG3 BTO (Write Gate) BT4,6~ rtBTT3~.+I.~-~ t T3BT1 1= 83-003491A SYNC Bit Bus Timing, Servo Offset/Data Strobe ---t tT3BoJ------ 83-OO3487A Unit Select Timing BDIR IBora :=t=;:~:.~5 _______ ~-tB-TT-3:•.:'.::::::::---1T-3-BT-2:::::--::~j , - BT2, 3, 7, 8 ---X_____ V_81_id_ _ _ _ _ X- 83-003492A Bit Bus 9 Timing 83-003488A BDIR Seek Timing --'i-~tT1BD =so- BDIR=t tBDT1 BT9 tCAT1 i+-------tsSTG'--------t 83-003493A BTO·9 83-003489A Index Waveform Head Select Timing INO~-C BDIR A \ ; tlDXH roo ~:_~J=_IT_UI[_'~:.~~ Sector Waveform BTO-7 ~ Head ·Address vall~ ~ 83-003490A 6-11 pPD7261A/B NEe Timing Waveforms-ST50e.Typelnterface Data Read/Write Operation Normal Seek Operation Polling Mode RIW ClK RIW Data (Input) RIW Data (Output) Read/Write Operation Non-Polling Mode RIWClK RGATE WGATE PCl, PCE 83-003497A SYNC Buffered Seek Operation 83-003496A Polling Mode R/W eLK Waveform Non-Polling Mode Index Waveform DSD,I IND~-C DIR tlDXF SKC 83-003498A 6-12 ttiEC pPD7261A/B Timing Waveforms-ST508·Typelnterface Hlgh.Level Commands (cont) Specify Read/Write Sequence (Disk Command Issue) Allows user to select SMD or ST506-type mode data block length, ending track number, end sector number, hr...... Disk INT STR Aeeull Parameter Another gap length, track at which write current is reduced, ECC writes Command Req. Read Slatua wrltu Disk ....b Iaoue I I -. r.:-h Command or CRC function, choice of polynomial, and polling 11111 I f! rrrtTrr I SJ--!.!.II!..!.II:....I _":....UO_ mode enable. :+~:J.-------.-111= INT - - - - - ] [If ' C - ---- I~ ' ~-fl------L- Sense Interrupt Status When a change of disk status occurs, the HOC will inter- rupt the host CPU. This command will reveal the cause SRQ - - - - - - f I , I - '_ _ _ _I_cLC_ECOrii_m-li"tI-_'OO_UO_)_ __ of interrupt, such as seek end, disk ready change, seek error, or equipment check. The disk unit address is also supplied. Sense Interrupt Status Request When Controller Not Busy Sense Unit Status CB INT Roq. I - I STR SENSEINT 'STATUS Command 10... I rr--, fl INT Roq. I - STR -. I I _uR Statuo The host CPU specifies the drive numbers and the HOC will return information such as write fault, ready, track 000, seek complete and drive selected, or for SMD units fault, seek error, on cylinder, unit ready, AM found"write protected, seek end, and unit selected. Detect Error Used after a read operation where ECC has been em- ployed. The detect error command supplies the infor- mation needed to allow the host CPU to execute an error Sense Interrupt Status Request When Controller Busy correction routine. (Only allowed when an actual cor- INT STR HSRQ INT STR RoouR CLCE SENSE INT INT rectable error is detected by the HOC.) Roq. _ I I I COmmand Illuo I I -. Roq. _ StatuI COmmond STJmlS 100us r.;';-;, I COmmand I.ouo I Roq. Recalibrate """""""''----'---'---1'11 1111 I JI----'- CB J~ r~ Returns the disk drive heads to the home position or CEH+CEL I r track 000 position. Has four modes of operation: SMD, -~==~I~I _____-=~~J~ normal, buffered, or nonpolling. INT SRa j~ ~r-1- 1-____I t~ r-- SAQ Mook (SRQM) 10 Set 6-13 pPD7261A/B NEe Seek Write Data Moves the disk drive heads to the specified cylinder. As Data from the system memory, transferred by DMA;is in recalibrate, seek has four modes of operation. written onto the specified disk unit. As in the read com· mand, data may be'written ontcisuccessive sectors and Format tracks. This command is used to initialize the medium with the Auxiliary Command desired format which includes various gap lengths, data patterns, and CRC codes. Th is command is used in Allows four additional functions to be executed: soft- conjunction with the specify command. ware reset, clear data buffer, mask interrupt request bit (masks interrupts caused by change of status of drives), VerifylD and reset inte(rupt caused by command termination (used when no further disk commands will be issued, Used to verify the ID bytes with data from memory. Per· which would normally reset the interrupt). forms the operation over a specified number of sectors. Command Operation ReadlD There are three phases for most of the instructipns that Used to verify the position of the read/write heads. the pPD7261A/72618 can execute: command phase, ex- ecution phase, and result ph~e. During the command Read Diagnostic phase the host CPU loads preset parameters into the Used in SMDmode only, the command allows the pro· pPD7261A/72618 FIFO via the data bus and by succes- grammerto read a sector of data even if the ID portion of sive write pulses to the part with Ao and CS true low. the sector is defective. Only one sector at a time can be Once the required parameter bytes are loaded the ap- read. propriate command is initiated by issuing a write pulse with Ao high and CS low and the command code on the Read Data data bus. Reads and transfers to the system memory the number The pPD7261A/72618 is now in the execution phase. Th,i~ can be verified by examining the status register bit of sectors specified. The HDC can read multiple sectors and multiple tracks with one instruction. 7 (the controller busy bit).The execution phase is ended when a normal termination or ari abnormal termination occurs. An' abnormal termination can occur due to a Scan read or write error, or a change of status in the ad- Compares a specified block of memory with specified dressed diSk drive. A normal termination occurs when sectors on the disk. The 7261A/72618 continues until a the command given is correctly completed. (This is indi- sector with matching data is found, until the sector cated by bits in the status register.) The result phase is, count reaches zero, or the end of the cylinder is then entered. The host CPU may read various result pa· reached. rameters from the FIFO. These result parameters may be iJseful in determining the cause of an interrupt, orthe Verify Data location of a sector causing a read error, for examp,le. Makes a sector-by·sector comparison of data in the sys- The chart shown in table 2 illustrates the preset tem memory by DMA transfer. As in read operation, mul· parameters and result parameters that are associated tiplesectors and tracks may be verified with this with each command. The abbreviations are defined at commmand. the end of table 2. 6-14 NEe pPD7261A/B Table 2. Preset Parameters and Result Status Byte Preset Parameters' Result Status Disk Command Command Code 1st 2nd 3rd 4th 5th 6th 7th 8th Detect error 0100X EADH EADL EPTI EPT2 EPT3 Recalibrate 0101[8] 1ST' Seek 0110[8] PCNH PCNL 1ST' Format 0111(S) PHN (PSN) SCNT DPAT GPLI [GPL3] EST SCNT Verify ID 1000(S) PHN (PSN) SCNT EST SCNT Read ID 1001(S) PHN (PSN) SCNT EST SCNT (Read diagnostic) 1010X PHN PSN EST Read data 1011X PHN (FLAG) LCNH LCNL LHN LSN SCNT EST PHN (FLAG) LCNH LCNL LHN LSN SCNT Check 1100X PHN (FLAG) LCNH LCNL LHN LSN SCNT EST PHN (FLAG) LCNH LCNL LHN LSN SCNT Scan I100X PHN (FLAG) LCNH LCNL LHN LSN SCNT EST PHN (FLAG) LCNH LCNL LHN LSN SCNT Verify data 1110X PHN (FLAG) LCNH LCNL LHN LSN SCNT EST PHN (FLAG) LCNH LCNL LHN LSN SCNT Write data l111X PHN (FLAG) LCNH LCNL LHN LSN SCNT Sense interrupt status Specify 0001X 0010X EST 1ST MODE PHN DTLH (FLAG) DTLL LCNH ETN LCNL ESN LHN GPL2 LSN (MGPL1) SCNT [RWCL] EI [RWCH] Sense unit status 0011X UST Note: (): These are omitted for soft-sector disks_ Mnemonic Definitions (cant) I]: These are omitted for hard-sector disks. *: 1ST available as a result byte only when in nonpolling mode. PCNL Physical cylinder number, low byte B: Indicates buffered mode when set. Physical head number PHN s: Indicates Skewed mode (SMD only) when set. X: Indicates don't care. PSN Physical sector number SCNT Sector count Mnemonic Definitions DPAT Data pattern EADH Error address, high byte GPL1 Gap length one EADL Error address, low byte GPL3 Gap length three EPT1 Error pattern, byte one EST Error status byte EPT2 Error pattern, byte two FLAG Flag byte EPT3 Error pattern, byte three LCNH Logical cylinder number, high byte PCNH Physical cylinder number, high byte 6-15 pPD7261A/B t-IEC Mnemonic Definitions (cant) Table 3. Status Register Bits (cant) LCNL Logical cylinder number,low byte Pin LHN Logical head number No. NI. Function LSN Logical sector number D4 SRO When a seek end, an equipment (Sense interrupt check condition, or a ready signal 1ST Interrupt status byte status request) state change Is detected, this btl is set requesting a sense Interrupt status MODE Mode command be issued to take the de- DTLH Data length, high byte tailed information. This btl is cleared by an Issue of that command or by a DTLL Data length, low byte reset signal. ETN Ending track number D3 RRO Set when controller has lost control of (Reset request) the format controller (missing address ESN Ending sector number mark, for example). An auxlilary RST GPL2 Gap length two command Dr RESET Signal will clear thlsbH. RWCL Write current cylinder, low byte D2 IER Set when a CRC error is detected in RWCH Write current cylinder, high byte (ID error) the ID field. An auxiliary RST Dr an- other disk command will reset this bit. UST Unit status byte Dl NCI Set If the controller cannot find a Sec- MGPL1 Modified gap length 1 (Not coincident) tor on the cylinder which meets the comparison condHion during the exe- Status Register cution of a scan command. This bit is also set ndata from the disk does not This register is a read only register and may be read by coincide with the data from the sys- asserting RD and CS with Ao high. The status register tem during a verify IDor a verify data may be read at any time. It is used to determine control· command. This bit is cleared by adisk command or a reset signal. ler status and partial result status. See table 3. DO DRO During execution ofwrHe ID, verify ID, (Data request) scan, verify data, Dr a write data com- Table 3. Status Register Bits mand, this bit Is set to request that Pin data be written into the data buffer. No. Name Function During execution of read ID, read di- agnostic, Dr read data command, this D7 CB Set by adisk command issue. Cleared bH is set to request that data be read (Controller busy) when the command is completed. from the data buffer. (This bit is also set by an external reo set signal or an RST command, but will be cleared at the completion of the reset function.) When this bit is set, a new disk command will not be ac· cepted. D6, D5 CEH, CEl CEH = 0 and CEl= 0 (Command end) A disk command is in process, or no disk command is issued after the last reset signal or the last ClCE auxiliary command. Both the CEH and CEl bits are cleared by a disk command, a ClCE auxiliary command, or a reset signal. CEH=OandCEl=1 Abnormal termination of a disk com· mand. Execution of a disk command was started, but was not successfully completed. CEH=1 and CEl=O Normal termination of a disk com· mand. The execution of a disk command was completed and prop- erly executed. CEH =1 and CEl = 1 Invalid command issue. 6-16 NEe J,lPD7261A/B Error Status Byte Interrupt Status Byte This byte is available to the host at the termination of a This byte is made available to the host CPU by exe- read, write, or data verification command and provides cuting the Sense Interrupt Status command. This com- additional error information to the host CPU. If the sta- mand should be issued only when the IlPD7261A/7261B tus register indicates a normal command termination, it requests it, as indicated by bit D4 of the status register. can be assumed that the command was executed with- This byte reveals changes in disk drive status that have out error and it is not necessary to read this byte. When occurred. See table 5. it is necessary to determine the cause of an error this byte may be read by issuing an RD pulse with CS and AO Table 5. Interrupt Status Bits low. The remaining result bytes associated with a partic- Pin ular command may be read by issuing additional RD No. Name Function pulses. Data transfer from or to the FIFO is asynchron- 07 SEN A seek end or seek complete signal ous and may occur at rates up to 2.5 Mbytes per second. (Seek end) has been returned after a seek or a re- See table 4. calibrate command was issued. 06 RC The state of the ready signal from the Table 4. Error Status Bits (Ready change) drives has changed. The state itself is Pin indicated by the NR bit. No. Name Function 05 SER Seek error has been detected on seek (Seek error) end. 07 ENC Set when the controller tries to access (End of cylinder) a sector beyond the final sector of a 04 mc Identical to bit 4 of the error status cylinder. (Equipment check) byte. Cleared by a disk command or an aux- 03 NR Identical to bit 3 of the error status iliary RSTcommand. (Not ready) byte. 06 OVR When set, indicates that the FIFO be- 02-00 UA2-UAO The unit address of the drive which (Overrun) came full during a read operation, or (Unit address) caused an interrupt request on any of empty during a write operation. the above conditions. 05 OER A CRC or an ECC error was detected in (Data error) the data field. Drive Interface 04 EQC A fault signal from the drive has been (Equipment check) detected or a track 0 signal has not The IlPD7261A/7261B has been designed to implement been returned within a certain time in- two of the more popular types of interfaces: the SMD terval after the recalibrate command (Storage Module Drive) and the floppy-like Winchester was issued. drive which has come to be known as the ST506 inter- 03 NR The drive is not in ready state. face. The desired interface mode is selected by the (Not ready) Specify command. 02 NO The sector specified by 10 parameters (No data) was not found on the track. ST506·Type Interface 01 NWR Set if write protect signal is detected In the ST506 mode the IlPD7261A/7261B performs MFM (Not writable) when the controller tries to write on the disk. It is cleared by a disk com- encoding and decoding at data rates to 6 MHz and pro- mand or by an auxiliary RST com- vides all necessary drive interface signals. Included in- mand. ternally is circuitry for address mark detection, sync Do MAM This bit is set if during execution of area recognition, serial-to-parallel-to-serial conversion, (Missing address mark) read data, check, scan, or verify data an 8-byte FIFO for data buffering, and circuitry for logi- commands, no address mark was cal addressing of the drives. External circuitry required found in the data field or if during exe- consists of control signal buffering, a delay network for cution of a read 10 or verify 10 com- mand, no address mark was detected precompensation, a phase-lock loop, a write clock os- in the 10 field. cillator and a differential transceiver for drive data. The floppy-like interface can be implemented with as few as 7 IC's using NEC's hard-disk interface chip, the IlPD9306A, or with 12 to 14 SSIICs. See figure 1. 6-17 JlPD7261A/B NEe Figure 1. /JPD7261A17261B 5T506-Type Interlace Figure 2_ /JPD7261A172618 5MD Interlace SYNC~ r 8 - r - i - W RITE CLOCK r-SERVQCLOCK R/WCLK 3 MPX i-R EADCLOCK ~- + READ DATA ' ' ' - - - READ DATA I""c-~~ + WRITE DATA V6'--~~ - WRITE DATA R!WOATA BTO !---9 38 r-W RITE DATA r-R EADDATA r- BITO BT1 39 I--BITl 36 TX INDEX and r- 'N OEX RX SCT 35 eso 33 ~DRIVESELECTED I--S ECTOR READY f-"3~O~~~~~~-~-READY T01 29 I--TAGl TG2 30 INDEX f-"3=-S~~~~~~--~-INDEX r- TAG2 TG3 31 WFLT 29 ~FAULT r- TAG3 TRKO 31 TRACK 000 SSrG 33 r- S RSELECTTAG USTG 34 SKC r3~2~~~~~74CCL-:CS1-<4 i>---$--SEEK COMPLETE _ r - u NIT SELECT TAG Rwe 23~REDUCEDWRITE BT2 28 BIT2 CURRENT BT3 27 i-- r-B IT3 OIR 21 DIRECTION IN 38 BT4 26 i-- r- B114 WGATE WRITE GATE 8T5 25 HSO 26 HEAD SELECT 0 8~Bjt i-- TX I--B ITS 816 24 Latch 25 i-- r-B IT6 HSl HEAD SELECT 1 24 BT7 23 HS2 HEAD SELECT 2 i-- r- B1T7 7406 BT8 22 STEP 22 STEP i-- r-B ITS 28 DRIVESEL 1 BT9 21 ~i--_I--B IT9 OSO OSl 27 ~DRIVESEL3 DRIVESEl2 BOIR 32 Bl OE t- FAULTI(SR2)I(OT2) EEKERRORI lhLS138 7407 DRiVESE[4 ~(8R3)I(OT3) - 'ONCYLINOERI (SR4)I(DT4) -u NIT READY/ RX (SR5)I(OT5) - (5R6)I(OT6) SMD Interface - 'WRITE PROTECTEDI (SR7)I(DT7) In the SMD mode the /JPD7261A/7261B will support data - S EEKEND rates to 10 MHz/15MHz in the NRZ format. All control UNIT SELECTED cr: 1.1 k±10%"--- functions necessary for an SMD interface are imple- NIT SEL 0 mented on-chip with de-multiplexing of 8 data lines per- formed externally by a single 8-bit latch. A small amount TX ~ NIT SEL 1 NIT SEl2 of logic is required to multiplex the data and clock lines, and differential drivers and receivers are required to im· plement the actual interface. Depending on individual logic design and the number of drives used, the SMD in- D To decode the commands from the host microcom- terface may be implemented with as few as 12 les. See puter that are received through the 8-bit data bus figure 2. D To execute seek and recalibrate commands D To interface to the drives and read the drive status Not8: lines ClK (pin 37) frequency must be a minimum of 1.1 x NRZ data rate, D To load the format controller with the appropriate microcode, enabling it to execute the various readl Internal Architecture write data commands. The /JPD7261A/7261B can be divided into three major in- The command processor microprocessor is idle until it ternal logic blocks: command processor; format con- receives the command from the host microcomputer. It troller; microprocessor interface. then reads the parameter bytes from the FIFO, and loads them into its RAM. The command byte is decoded Command Processor and, depending on its opcode, the appropriate subrou- tine from the 2.6K internal ROM is selected and exe- The command processor is an 8-bit microprocessor cuted. Some of these commands are executed by the with its own instruction set, program ROM, scratch pad command processor without involvement of the format RAM, ALU, and 110 interface. Its major functions are: 6-18 NEe tlPD7261A/B controller. When data transfers to and from the disk are Figure 3. Disk Command Byte made, the command processor loads the appropriate microcode into the format controller, then relinquishes control. When the data transfer is complete, the com- CC4 CC3 I CC2 I CCl CCO UA2 UAl UAO mand processor again takes control. One other impor- tant function that the command processor performs is Command Code I Unit Address (UA) managing the interface to the disk drives. The com- mand processor contains an I/O port structure similar to many single-chip microcomputers in that the ports Format Controller may be configured as input or output pins. Depending The format controller is built with logic that enables it to on the mode of operation selected by the Specify com- execute instructions at very high speed: one instruction mand; the command processor will use the bidirec- per single clock cycle. The major functions it performs tional I/O lines for different functions~ are: Command Register D Serial-to-parallel and parallel-to-serial data conversion Thisregisfer is a write only register. It is selected when D CRC and ECC generation and checking theAo input is high and the CS input is low. There are D M FM data decoding and encoding two kinds of commands: disk commands and auxiliary D Write precompensation commands. Each command format is shown in figure 3. D Address mark detection and generation An auxiliary command is accepted at anytime and is D ID field search in soft-sector format immediately executed, while a disk command is ig- D DMA data transfer control during read/write nored if the on-Chip processor is busy processing, an- operations. otherdisk command. A valid di~k command causes the The major blocks in the format controller are the se- processor to begin execution using the parameters pre- quencer and the serial/parallel data handler. The se- viously loaded into the data buffer. Disk commands and quencer consists of a writable control store (32 words the parameters needed are described in the Micro- by 16 bits), a program counter, branch logic, and the pa- processor Interface section. rameter register. The serial/parallel logic consists of a parallel-to-serial converter for disk write operations, a 'Command Codes serial-to-parallel converter for disk read operations, pre- CC4-CCO compensation logic for writing MFM data, comparator 0 0 0 X (Auxiliary Command) logic that locates sync fields, address marks, and ID 0 0 0 X Sense inC status (Note 1) fields. There is also comparator logic that is used during 0 0 0 X Specify (Note 1) Verify Data commands. See figure 4.. 0 0 1 1 X Sense unit status 0 0 0 Y< Detect error (Note 1) Figure 4. Block Diagram of the Format Controller 0 0 [BI Recalibrate write Data 0 Seek Precomp., Early [Bl Precomp. Late 0 1 1 [SI Format RlWCIOCk-----f----+---j ReadData . 0 0 0 [SI Verify ID 0 0 [SI Read ID Data 0 0 X Read diagnostic Buffer 0 X Read data 1 0 X Check 1 0 1 X Scan 0 X ' Verify data RAM X Write data Note: (1) The UA field is 000, '[B] Indicates buffered mode when'set. [S] Indicates skewed mode when set. 6-19 ,pPD7261AJ'B fttIEC Micropr'C)Cessor Interface HOC- memory: Format, Verify 10, Scan, Read/Write Control. The Internal registers are selected Verify Data, Write Data as shown In truth table 6. HDC- memory: Read 10, Read Diagnostic, Read Data Tab/e6. Register Selection Tab/e Data being read from a disk or external memory Is tem- l!i Ao AD WR Selection porarily stored In the data buffer (8 bytes maximum), 0 0 0 1 Data buffer register (Note 1) and Is transferred to external memory or a disk, respec- 0 0 1 0 Data buffer register (Note 1) tively. 0 0 1 Status register Data transfers are terminated externally by a reset sig- 0 0 Command register nal or by a read or a write data operation coinciding with 0 X 1 1 Don't care an active terminal count (Te) signal. They are also termi- nated Internally when an abnormal condition Is de- X X X Don't care tected or all the data specified by the sector count 0 X 0 0 Inhibited parameter (SCNT) has been transferred. Note: (1) Preset parameters and result status information are written and Data transfers are accomplished by RD or WR signals to read from the result status register in the HOC through this data the ",PD7261A/7261B when DREQ Is active. During read buffer register. operatlons,DREQgoes active when the FIFO contains three or more bytes. If the FI FO contains three bytes and Intenupt The Interrupt request line. is activated or Inac· an RD pulse Is issued, DREQ goes low within tRRQ1. tivated according to the following equation: DREQ will stay active on the final sector until the final INT =CEH + CEl + SRQ • SRQM byte Is extracted. In this case, DREQ goes low within tRRQ2. During write operations DREQ is asserted as This means that If either of the command end bits Is set soon as a Write Data command is accepted. DREQ re- or If the sense Interrup~ status request bit Is set (and the mains high until the FIFO contains six bytes, at which .SRQM mask Is not set), then an Interrupt will be gener· time It goes low within twAI. DREQ corresponds to FI FO ated. The command end bits, CEH and CEl, are set by almost-full and FIFO almost-empty as implemented In command termination. . , the ",PD7261A/7261B. This has been done so that a fast The SRQ bit Is set when an equipment check condition DMA controller may actually overrun the FIFO by one or or a state change ofthe ready signal from the disk drives two bytes without harm. " Is detected. It Is also set when a seek operation Is com- pleted. Under these condl~lons the INT line Is activated Commands unless the SRQM mask Is set. Recalibrate Both of the CEH and CEl bits are cleared by a disk com- mand, but both bits may be cleared before the next disk command by Issuing a ClCE auxiliary command. I ~B t--I.~. -------I the Interrupt caused by the SRQ bit Indicates that a sense Interrupt status command should be Issued by The read/write heads of the specified drive ate retracted the host microprocessor so that It can determine the ex- to the cylinderO position. 1ST is avallable.as a result byte act cause of the Interrupt. However, the ",PD7261A/ only If polling mode is disabled. See Specify. 7261B may be processing a disk command when the Interrupt occurs. Since It Is not possible to Issue a disk Hard-Sector. An RTZ (Return to Zero) signal is asserted command while the ",PD7261A/7261B Is busy, an HSRQ on the blt-6 line with the TAG-3 bit being set. Then the auxiliary command can be Issued to set the SRQM CEH bit of the status register Is set Indicating a normal (sense Interrupt request mask}and mask the Interrupt. termination of the command. The SRQM Is reset upon completion of the disk com- After this command is given, the HOC checks the seek mand In progress. end, unit ready, and fault lines onhe drive continually until an active signal Is detected on these lines. Then DMA Control. When true, the DREQ pin and the DRQ the SRQ bit of the status register is set indicating that a . (data request) blf of the status register Indicate a re- sense Interrupt status command should be performed. quest for data transfer between the disk controller and Each bit of the 1ST (interrupt status) byte is set accord- external memory. These are activated during execution Ing to the result, In anticipation of the sense interrupt of the following disk comrnands: status command. 6-20 NEe JlPD7261A/B Soft·Sector. There are four different ways to implement set. The SRO bit of the status register is not set. The 1ST the Recalibrate command when the ST506 interface byte (interrupt status) is available as a result byte when mode has been specified. Both polling and nonpolling either CEH or CEl is set. modes of operation are provided, with both normal or buffered Recalibrate commands available in either Seek I ~10B I mode. PCNL Normal Mode with Polling. The CEH bit of EST is set to 1 PCNH immediately after the Recalibrate command is issued (a 1ST· Recalibrate command may now be issued to another peNH = Physical Cylinder Number, High Byte drive). The HOC now begins generating step pulses at PCNL = Physical Cylinder Number, Low Byte the specified rate. The PCN for the drive is cleared and the TRKO signal is checked while stepping pulses are The read/write heads of the specified drive are moved to sent to one or more drives. When TRKO is asserted, the the cylinder specified by PCNH and PCNL.IST is availa- SEN (seek end) bit of the 1ST (interrupt status) byte is set ble as a result byte only if polling mode is disabled. See and the SRO bit of the status register is set. This causes Specify. an interrupt and requests that a sense interrupt status Hard·Sector. The contents of PCNH and PCNl are as- command be issued. If 1023 pulses have been sent and serted on the BITO through BIT9 output lines of the SMO TRKO is not asserted, then the SRO bit is again set, but interface with the TAG1 control line being set. (The most with the SER (seek error) and EOC (equipment check) significant six bits of PCNH are not used.) The CEH bit bits of the 1ST byte set. The ready signal of each drive is of the status register is then set, and the command is checked before each step pulse is sent, and the Recali- terminated normally. brate command is terminated if the drive enters a not- The HOC then checks. the seek end, unit ready and fault ready state, whereby the N R bit of the 1ST byte is set to 1. lines of the drive continually until an active signal is de- Normal Mode with Polling Disabled. Operation is simi- tected on these lines. The SRO bit of the status register lar to that in "Normal Mode with Polling", but the CEH is then set requesting that a Sense Interrupt Status and CEl bits of the status register are not set until command be performed. Each bit of the 1ST (interrupt either the SEN (seek end) or the SER (seek error) condi- status) byte is set appropriately in anticipation of the tion occurs. The SRO bit is not set when polling is dis- Sense Interrupt Status command. abled, and the 1ST byte is now available as a result byte Soft·Sector (Normal Stepping, Polling Enabled). In this when the Recalibrate command is terminated (see "Pre- mode, the CEH bit of the status register is set to 1 as set Parameters and Result Status Bytes"). It is not possi- soon as the Seek command is issued. This allows a ble to overlap Recalibrate operations in this mode. Seek or Recalibrate command to be issued to another Buffered Mode with Polling. This mode operates in a drive. The HOC now sends stepping pulses at the speci- manner similar to that described as "Normal Mode with fied rate and monitors the ready signal. Should the drive Polling", but with the following differences: enter a not-ready state, the SER bit of the 1ST byte is set (1) 1023 step pulses are sent at a high rate of speed (ap- and the SRO bit of the status register is set, causing an proximately 50 IJs between pulses) interrupt and requesting a Sense Interrupt Status com- mand. When the drive asserts the seek complete (SKC) (2) After the required number of pulses are sent, the signal, the SEN bit of the 1ST byte is set and the SRO bit CEH bit is set, and then additional Recalibrate or Seek of the status register is set, again requesting service. commands will be accepted for other drives Soft·Sector (Normal Stepping, Polling Disabled). Step- (3) The SRO bit is set when the drive asserts SKC, ping pulses to the drive begin as soon as the Seek com- which causes the SEN bit of the 1ST byte to be set mand is accepted. The ready signal is checked prior to (4) If SEN is not set within the time it takes to send 1023 each step pulse. If the drive enters a not-ready state the "normal" pulses (i.e., when in normal stepping mode), seek command is terminated abnormally (CEl 1), and = then SER and EOC of the 1ST byte are set. SER of the 1ST byte is set. If the seek operation is suc- Buffered Mode with Polling Disabled. 1023 stepping cessful, the seek command will be terminated normally pulses are immediately sent after the Recalibrate com- (CEH = 1) when the drive asserts SKC (seek complete). mand is issued. CEH and/or CEl is set when SEN or The SEN (seek end) bit of the 1ST byte is set and the 1ST SER occurs. SEN is set when TRKO from the addressed (interrupt status) byte is available as a result byte. The drive is asserted. SER is set if TRKO is not asserted Sense Interrupt Status command is not allowed (SRO is within the time required to send 1023 "normal" pulses. not set), nor can seek operations be overlapped in this The Recalibrate command will be terminated abnor- mode. mally if a not-ready condition occurs prior to SEN being 6-21 pPD7261A/B t-.'EC Soft·Sector (Buffered Stepping, Polling Enabled). As bytes are required by the HDC for each sector: (FLAG), soon as the Seek command is accepted by the HDC, LCNH, LCNL, LHN, and LSN. FLAG is omitted on soft- high-speed stepping pulses are generated. As soon as sector drives. These bytes are transferred by DMA. the required number of pulses are sent, CEH is set to 1, The format operation produces the various gaps with indicating a normal termination. Another Seek com- length as specified by GPL1, GPL2 (See Specify), and mand in the same mode may now be issued. The drive is GPL3 (For soft-sector only.) now controlling its own head positioner and asserts Note: SKC when the target cyclinder is reached.) If the drive GPL3 may not exceed decimal value of 44. has not asserted SKC (seek complete) within the time it takes to send the required number of pulses in normal (2) The above operation is repeated until SCNT is equal stepping mode, or if the drive enters a not-ready state, to zero. The execution of the command is terminated then the SER bit of the 1ST byte and the SRQ bit of the normally, when the content of SCNT is equal to zero and status register are set. Otherwise, the SEN bit of the 1ST the second index pulse has occurred. byte is set, along with SRQ of the status register. (3) When using a hard-sector drive, it is possible to write Soft·Sector (Buffered Stepping, Polling Disabled). In the ID field displaced from the normal position by 64 this mode, the appropriate number of high-speed step- bytes by setting the skew bit of the command byte ping pulses are sent as soon as the Seek command is «S) = 1). This is useful when defective media prevent issued. If the drive enters a not-ready state, or if SKC writing in the normal area of the sector. (seek complete) is not asserted within the time it takes (4) Items 4, 5, and 8 of the Read Data and item 4 of the to send the required number of pulses in normal step- Write Data command are identical for this command. ping mode, then the Seek command is terminated nor- Refer to these items (which appear later in this section) mally (generating an interrupt). The 1ST byte is available for remaining format operation details. as a result byte and the appropriate bit is set; i.e., SER and EQC or NR (not ready). If the seek operation is suc- Verify ID cessful, the Seek command is terminated normally (CEH = 1) and the SEN bit of the 1ST byte is set. The 1ST byte is available as a result byte. The Sense Interrupt Status command is not allowed (SRQ is not set), nor can I I 1000$ PHN (PSN) I-EST--:"'SC-N';"'T SCNT -------------l seek operations be overlapped in this mode. PHN = Physical Head Number PSN = Physical Sector Number SeNT = Sector Count EST = Error Status Format ID bytes of specified sectors are read and compared PHN (PSN) seNT DPAT GPl1 (GPL3) with the data that are accessed from local memory via EST seNT DMA control. The first sector that is verified is specified by PHN and PSN when a hard-sector disk is used. For PHN = Physical Head Number PSN = Physical Sector Number soit-sector disks, only PHN is given and the Verify ID SCNT = $ector Count DPAT = Data Pattern command begins comparisons with the first physical GPL1 = Gap Length 1 GPL3 = Gap Length 3 sector on the track. EST = Error Status Byte comparisons continue as long as successful or This command is used to write the desired ID and data until the sector count is zero or a CRC error is found. format on the disk. When using a hard-sector drive, it is possible to have the (1) When using hard-sector drives, this command will HDC verify a skewed ID field by setting the skew bit of begin format-writing at the sector specified by PHN and the command byte. Refer to the Format section, given PSN, which are loaded during command phase. earlier, for details. When soft-sector drives are specified, this command ReadlD will begin format-writing at the sector immediately fol- lowing the index pulse on the track specified by PHN. In either case, data transmitted from the local memory I 1~S I~_::_N__::_:_T_SC_N_T_ _ _ _ _ _ _ _ _ _~ by DMA operation is written into the ID field, and the data field is filled with the data constant specified by PHN = Physical Head Number PSN = Physical Sector Number DPAT until DTL (data length) is zero. DTL is established SCNT = Sector Count EST = Error Status during the specify command with DTLH and DTTL. The sector count, SCNT, is decremented by one at the end of the Format operation on each sector. The following 6-22 t-IEC pPD7261A/B ID bytes of specified sectors are read and transferred to (3) The HDC abnormally terminates the execution of this local memory by DMA. command if SCNT is not equal to zero when the HDC Hard-sector disks: Beginning with the sector specified = reads out the data from the last sector (LSN ESN and by PHN and PSN, the ID bytes of each sector (FLAG, = LHN ETN). The ENC (end of cylinder) bit of EST (error status) is set to one in this situation. LCNH, LCNL, LHN, LSN) are read until an error is found or the SCNT has reached zero. (4) The HDC will terminate this command if a fault signal is detected while reading data. The HDC will set the It is also possible to perform the above operation with EQC (equipment check) of the EST (error status) byte skewed ID fields by setti ng the skew bit of the command when this occurs. byte. This will allow reading ID fields that have been (5) The HDC will terminate this command abnormally if shifted by 64 bytes by the Skewed Format command. the ready signal from the drive is not active or becomes Soft·sector disks: This command will begin checking ID not active while a Read Data command is being per- fields immediately following the index pulse and will formed. The NR (not ready) bit of the EST (error status) continue until one valid ID field is read, or until the sec- register will be set to one in this case. ond index pulse is detected or SCNT = 0, whichever (6) The HDC will end this command abnormally if it can- occurs first. Four bytes per soft sector are read: LCNH, not find an AM (address mark) (soft-sector mode) or a LCNL, LHN, and LSN. SYNC byte (hard-sector mode) of the ID field before four index pulses occur. Under these conditions, the RRQ Read Diagnostic (reset request) bit of the STR (status register) will be s~t. In order to perform further disk commands the HDC will 11moxll-:..::::..:N_P:..;S;.:.N_ _ _ _ _ _ _ _ _ _ _ _- ; have to be reset because the format controller is hung up looking for an AM or SYNC byte. PHN = Physical Head Number (7) ECC mode: If the H DC detects an EC? error dur~ng a PSN = Physical_Number EST = Error Status read operation, it will execute the following operations: This command is implemented only for hard-sector First, the HDC decides whether or not the error is cor- disks. The desired physical sector is specified, and the rectable by checking the syndrome of the error pattern. data field will be read even if the ID bytes of that sector If the error is correctable, the HDC terminates the com- contain a CRCerror. Only one sector at a time may be mand in the normal mode after setting the DER (data read by this command. error) bit of EST register to one. The host system can In- put the error address and the error pattern information by issuing the Detect Error command. If it is not a c~r­ Read Data rectable error, the HDC will terminate the command In the abnormal mode after setting the DER bit of the EST PHN (FLAG). LCNH LCNL LHN LSN SCNT register to one. EST PHN (FLAG) LCNH LCNL LHN LSN SCNT CRC mode: If the HDC detects a CRC error on a sector LHN = Loglcol Hood Number LSN - IJ>8Ie8ISoctor Number during the read operation, the HDC will terminate the SCNT - sector Number EST - Error StatuI command in the abnormal mode after setting the DER bit of the EST register to one. This command is used to read and transfer data via DMA from the disk to the local memory. (8) If the HDC detects an overrun condition during a Read Data operation, the OVR (overrun) bit of the EST (1) The HDC reads data from the specified sector which register is set. (An overrun condition occurs when the in- is determined by the following preset parameters: FLAG ternal data FIFO is full, another data byte has been re- (for hard-sector only), LCNH, LCNL, LHN, and LSN. The ceived from the disk drive, and a DMA service does not drive is selected by UA (unit address) in the command occur.) The command is then terminated in the abnor- byte. The HDC then transfers the read data to the local mal mode. memory via DMA operation. (9) If the HDC cannot find the desired sector within.the (2) After reading each sector, the HDC updates the occurrence of three index pulses, the ND (no data) bit of SCNT and LSN to point to the next sector, and repeats the EST register is set to one and the command is termi- the above described operation until SCNT is equal to nated in the abnormal mode. zero. During the above read operations, if LSN is equal to ESN the HDC updates LSN, and continues the read (10) If TC (terminal count) occurs during a Read Data operati~ns after relocating the head (track) specified by command the DMA transfers to the local memory will LHN. stop. However, the HDC does continue the read opera- = tion until the end of the sector, if SCNT 1. 6-23 pPD7261A/B tt.'EC If SCNT is 2 or more, OMA transfers restart when SCNT Scan is updated to tile next sector, and will continue until SCNT is zero. PHN (FLAG) LCNH LCNL LHN LSN seNT (11) If the Read Data command has been successfully E&T PHN (FLAG) LCNH LCNL LHN LSN seNT completed, the result status will be set indicating such, PHN =1'hyIIca1 Head Number and the result status bytes will be updated according to r~ ~ ~"rc!;.~':::;:~ ~~~~ the number of sectors that have been read. The logical LCNL = LojjIcaI cylinder Number, Low Byl8 LHN =!DG!ca1 H.ad Number disk parameters-LSN, LHN, and LCN-are incre- LSN • Logical_Number SCNT • Sector Number mented as follows: E&T • Error SIal.. LSN is incremented at the end of each sector until the (1) In executing the Scan command, the HOC reads the value of ESN is reached. LSN is then set to 0 and LH N is data from the sector specified by the preset parameters incremented. If LHN reaches the value of ETN, then of the command phase. The HOC then compares this LHN is cleared and LCN is incremented. data with the data transmitted from the local memory. In other words, if a Read or Write operation is termi- (The purpose of this command is to locate a sector that nated normally, the various parameters will point to the contains the same data as the local memory.) n~xt logical sector. This command will terminate successfully if the data If the command is terminated in the abnormal mode, the from the disk and the data from the local memory are result status bytes will indicate on which sector, cylin- the same. If they are not, the HOC updates SCNT and der, and head the error occurred. LSN, and executes the abovementioned operation (12) If the HOC cannot detect the address mark (soft- again. sector) or SYNC bytes (hard-sector) immediately follow- If the HOC cannot locate a sector that satisfies the scan ing the VFO sync in the data field, the HOC will set the conditions, the NCI bit of the STR will be set. The HOC MAM (missing address mark) bit of the EST register to tries to compare data until the end of the cylinder has one, and will terminate the command in the abnormal been reached, or until SCNT is zero. mode. (2) If the value of the LSN (logical sector number) is equal to that of ESN (ending sector number) after updat- Check ing LSN, the HOC updates the contents of LHN (increas' PHN (FLAG) LCNH LCNL LHN LSN seNT = ing by 1) and that of LSN (LSN 0), and repeats the operation described in item 1 after selecting the next E&T PHN .(FLAG) LCNH LCNL LHN LSN seNT head. (3) After comparing the data transferred from the host CPU with the data in the speCified sectors, the result bytes (FLAG, which is only for hard-sector disks, LCNH, LCNL, LHN, and LSN) will be set equal to the sector lo- cation that satisfies the Scan command. This command is used to confirm that the data previ- (4) The descriptions in 4, 5, 6, 8, and 9 of Read Data com- ously written to the medium by the Write Data com- mand, and items 3 and 4 of Verify Data command are mand contains the correct CRC or ECC. identical for this command. Refer to these descriptions (1) The HOC reads the data in the sector specifie,d by for additional details. FLAG (hard-sector only), LCNH, LCNL, LHN, and LSN. The Check command differs from the Read Data com- Verify Data mand in that no OMAtransfers occur. PHN (FLAG) LCNH LCNL LHN LSN seNT With the exception of the ECC mode, the Check com- mand is the same as the Read Data command. Please E&T PHN (FLAG) LONH LCNL LHN LSN seNT refer to items 2, 3, 4, 5, 6, 7, 8, 11, and 12 of Read Data PHN • PhyaIcaI Hoed Number command for details. r~ ~ ~~~.:.~~=g;:Z LCNL .. ~lcal cylinder Number, LoW Byla (2) If in the ECC mode, the HOC detects only ECC errors LHN "!DII!ca1 ""ad Number' LSN .. Logical_Number and does not execute any error correction operation SCNT 1:1 SeCtor Number EST = Error StatUI even if the ECC errors are correctable. No data transfers h~ve been ma,de,and there is no data to correct. This command is used to verify data on the disk. 6-24 tt{EC J,lPD7261A/B (1) The HOC reads the data from the specified sector, Write Data and compares the data transmitted from the local mem- ory via OMA with the data from the disk. PHN (FLAG) LCNH LCNL LHN LSN SCNT The sector is specified by FLAG (hard-sector only), EST PHN (FLAG) LCNH LCNL LHN LSN SCNT LCNH, LCNL, LHN, and LSN, and the drive is selected PHN = Physical Head Number by UA. If the data transmitted from the local memory is the same as that read from the sector, the HOC updates r~ ~ ~.:rC!YI~n"dr:;~m~~ ~~~ LCNL = logical Cyllndor Number,low Byto g;:z LHN "'" ~Ical Hud Number the contents of LSN and SCNT, and continues the LSN = L.oglcal Sector Number SCNT :I: S8ctor Number abovementioned operation. After updating SCNT, if the EST = Error Status value of SCNT is equal to zero, the HOC ends the execu- (1) This command is used to write data into th~ data field tion of the command in the normal mode. If the value of of the sectors specifed by FLAG (hard disks only), LSN is equal to that of ESN after updating LSN, the HOC LCNH, LCNL, LHN, and LSN, and to write CRC bytes or updates the contents of LHN and LSN, and the HOC ECC bytes according to each internally specified mode continues the verify data operation after selecting the (CRC or ECG). The data is written to the disk via OMA head (track) specified by LHN. transfer from the local memory. If the data transmitted from the local memory is not the (2) After writing data on a sector, the HOC updates the same as that read from the sector, the HOC ends the ex- contents of SCNT and LSN, and repeats the above de- ecution of the command in the abnormal mode after scribed Write Oata operation until SCNT is equal to setting the NCI (not coincident) bit of STR to one. zero. (2) If after verifying the data on the last sector, the con- tent~ of SCNT are not equal to zero, the HOC terminates Ouring the above Write Oata operations, if LSN is equal to ESN, the HOC updates LHN and LSN, and continues execution of the command abnormally after setting the the Write Oata operations after selecting the new head ENC (end of cylinder) bit of the EST register to one. (track) specified by LHN. (3) After verifying the data read from a sector, the HOC As described above, the HOC has the capability of checks the CRC bytes (CRC mode) or the ECC bytes mUlti-sector and multi-track write operations. (ECCmode). (3) The HOC abnormally terminates the execution of this If the HOC detects a CRC or an ECC error on a sector, command if the SCNT is not equal to zero when the the HOC terminates execution of the command abnor- mally after setting the OER bit of the EST register to a HOC writes the data to the last sector (LSN ESN and = one. = LHN ETN). The ENC (end of cylinder) bit of EST (error status) register is set to one in this situation. (4) After detecting an active TC signal (TC = 0), the HOC (4) If the write protected signal is active (high) at the be- executes the above operation by comparing the read ginning of the execution of this command, the HOC data from the disk drive with the data 00 instead of the ends the execution of this command in the abnormal data from the main system until the end of the sector. mode after setting the NWR (not writable) bit of the EST In the case of SCNT greater than one, when SCNT is up- register to one. dated, OMA transfers restart and disk data is compared against host data until SCNT is zero. (5) After detecting an active TC signal (TC 0), the HOC = writes the data 00 to the sector, instead of the data from (5) After verification of the data on all the sectors, FLAG the host system. (hard-sector only), LCNH, LCNL, LHN, and LSN are set In the case of SCNT of two or more, when SCNT is up- to the values of FLAG, LCNH, LCNL, LHN, and LSN of dated, the OMA transfers will restart and writing of host the last verified sector. data will continue until SCNT O. = (6) The descriptions in items 4, 5, 6, 8, 9, and 12 of the (6) In theST506-type mode, the HOC will set t~e reduced Read Oata command are valid in this command. Please write current output bit to a one when the cylinder num- refer to these items for additional detail. ber becomes greater than that specified by RWCH and RWCL. These parameters are loaded during execution of the Specify command. The descriptions in items 4, 5, 6, 8, 9, and 11 of the Read Oata command are applicable here also. Refer to these items for further detail. 6-25 pPD7261A/ B ~EC Sense Interrupt Status Table 7. Mode Byte Bits Bit Name SpecHied Mode 1 EGG is appended in data field: (x21+1) (xl1+x2+1) EGG o GRG is appended in data field Isr = Interrupt Stotus 1 Generator polynomial: (xI6 +1) GRGS (1) The HDC transfers the new disk.status to the host ·1 Soft·sector disk (floppY'like interface), MFM data CPU at the end of a Seek or Recalibrate operation or the SSEG o Hard-sector disk (SMD interface), NRZ data new disk status resulting from a change of state of the SSEC=O SSEC=1 ready signal, which may occur at any time. DSL Data strobe late STP3 (Note 1) (2) If the Seek or Recalibrate command in progress is Data strobe early (Note 1) DSE STP2 completed when this command is issued or if there has SDM Servo offset minus STP1 (Note 1) been no change of state of the ready signal from the drive, this command will be terminated abnormally. SDP Servo offset plus STPO (Note 1) Note: Specify (I) Slepping rale for ST506 mode = (16-STP) X 2110 X ICY = Assuming a 10MHz processor clock: FH 2.11 ms ... OH = 33.76 ms MODE DTLH DTLL ErN ESN GPL2 I~~~Y IRWCL) Sense Unit Status MODE = Modlllyto; SoIects Operation Modo Soft·Sector Mode DTLH = DolO Lli1gth, High Byte DTLL = DolO Lonjjth.Low Byte ErN = EndIng 1IiIck Number ESN = Ending Sector Number Lonm OPL2 = Oop LOngth 2 MGPL1 - Gap (uoed In SMD modo only); Control. Raad Ootl TIming I ~lX Iusr ::g~ ~ =~:d WrI:: ~:::~l!~:=:=::ft!!h:1." SMDMode The Specify command is used to set the operational mode of the HDC by. presetting various parameters. Parameters.such as MODE (figure 5, table 7), DTLH (fig- I OO11X I:sr :: os The Sense Unit Status (SUS) command is used to trans· ~: DT ure 6), DTLL, ETN, ESN, GPL2, MGPL1/RWCH, and RWCL may be programmed into .the HDC. This allows fer the Unit Status (UST) to the host. In the case of SM D for a high degree of versatility. Data record length is mode the SUS command may also be used to transfer programmable from 128 to 4095 bytes in soft-sector the Detail Status (DS) and Device Type (DT) by using the mode and 256 to 4095 bytes in hard-sector mode; appropriate preset parameter value as shown above. No preset parameters are used in the soft-sector mode, al· Figure 5. Mode Byte though one is required in the SMD mode. Values other than 1, 2, or 5 do not produce valid results. After result bytes are placed in FIFO, HDC generates a FAULT CLEAR when in SMD mode. The DS and DT bytes are defined by the type of drives used. The UST is shown in table 8. Figure 6. DTLH Byte Table 8. Unit Status Byte I I I I I I I I CRC' PAD POL DTLll DTLl0 Dna DTLB Bit No. SMD Interface Type STS(!6 CRC' = Inllial value o' Potynomlol Countor, Ellhor All Zoroa or All Onn PAD = SoloclaID/DolOpadolOllHIIO D7 Unit selected 0 = Solocla ID/DoIO pad oI4EH 111 POL = Polling Modo 110 = Nonpoliing Modo II 1 D6 Seek end 0 D5 Write protected a D4 a Drive selected D3 Unit ready Seek complete D2 On cylinder Track 000 DI Seek error Ready DO Fault Write fault 6-26 ftiEC J.lPD7261A/B Detect Error Figure 8. Auxiliary Command I ~oox ~1-~-D-H---~-D-L---EP-T-1--E-P-T2---E-~-3--------------~ Clear Data EACH = Error Address, High Byte Halt Sense Interrupt Status Request Buffer EAOL = Error Address, lDw Byte EPT1 = Error Pattern, Byte 1 EPT2 = Error Pattern, Byte 2 EPT3 == Error Pattern, Byte 3 Table 9. Auxiliary Command Bits This command is used to transfer the error pattern and Bit Name Operation the error address to the host CPU, when correctable er- CLCE Clears the CE bits of the status register. inactivating the rors have occurred during the execution of a Read Data interrupt request output caused by Command End condi- command with the ECC mode enabled. tion. This is used when no disk commands are going to be issued and it is desired to clear the interrupt. The error address (EADH and EADL) is calculated from the last data byte of the sector that contained a correct- HSRO Deactivates the interrupt request output caused by Sense Interrupt Status Request condition until a Command End able error which was indicated by the status bit of the occurs. However. this command has no effect on the SRO previous Read Data command with the ECC mode en- bit of the status register. abled_ The error pattern is used for correcting the error Clears the data buffer. CLB data at the location where the error occurred. After re- RST This has the same effect as a reset signal on the Reset in- ceiving the error address and the error pattern, the host put. This function is used whenever the RRO bit in the sta- CPU can correct the error data by performing an tus register is set (indicating the format controller is hung exclusive-OR of the error pattern and the error data. See up), or when a software reset is needed. figure 7. The result bytes are available to the host CPU within System Example 100l-'s. Figure 9 shows an example of a local bus system. Figure 7. Error Correction Figure 9. Local Bus System TheSecfor Included --OTL------j.1 Correctable Local Memory Error RDWRDB AS 1--1. ~-EADH,EADL_. n-1 n-2 The Error Pattern I EPT1 I EPT2 EPT3 The Corrected I Data Bytes L._ _ _ _.L.....__...J...__~ Note: EDn equals error byte. AEN Cs HAQ OMAC HLDA (8237) Auxiliary Command IOOOOAAAA 1 - - 1 --------j There are no preset parameters or result bytes associ- ated with this command. The definitions of the 4 LSBs (AAAA) are given in figure 8 and table 9. The auxiliary command is accepted at any time and is immediately executed. The auxiliary command may be used to re- cover from certain types of error conditions, or to mask and clear interrupts. 6-27 pPD7261A/B NEe Track Format System Example Timing Diagrams Figure 10 shows track format for hard- and soft-sectored Figures 11 through 22 show the interface timing (soft- disks. sector and hard-sector) required to interface the hard disk drive. Figure 10. Track Format Indexl Hard Sector Soft Sector Seeto< Index HEAD GAP1 SCATTER DOH (GPL1) - These GPL2 bytes of zeros are required by - 4EH{GPL1) PLOSVNC the drive to allow the drive's read data PLO to - becomepha ..... and freque ney-synchronlzed f - - PLOSYNC OOH(GPL2) - with the data bits recorded on the media. DOH (GPL2) ~ AM FLAG 19H(1) (') - - AM AtH (1) LeNH (') LCN (2) LeNL (') 10 field LHN (') LHN (') LSN CRC (') (2) _ - - These bytes are written by the controller and LSN CRC (') (2) are required by t he drive to ensure proper IDPAD DOH (2) - recording and re coveryofthe last bits of the - 10 PAD 4EH/ooH(3) ~data field check codes. PLOSYNC PLOSVNC DOH (GPL2) --D,hiS byte indicatea to the c ontroller the I d } ---- OOH (GPU) AM 19H(1) beginning of the 10 field or the data field and AMA1H (1) it establishes bytesynchronjzation. AMFOH (1) DATA DATA (DTL) (DTL) ECC/CRC (4/2) - - These bytes are written by the controller and EcC/cRe (4/2) DATA PAD are required by the drive to enaure proper DATA PAD DOH (2) f-- recording and recovery of the laat bits of the I - - 4EHlooH(3) END OF I o field check codes. INTER Inde" Sector RECORD DOH - - RECORD GAP 4EH (GPL3) GAP4 Index 4EH 6-28 t\'EC pPD7261A/B Figure 11. "Unit Selection" and "State Sense" Timing (Hard Sector) _1 .~" TOg 2 "1" Tog 3 .~" Bus D"""Ion:::"I:::-"--------.~"'_------'1 Sf' Sal. Tag "1" \: us Tag :::.~:;;,,-----"""""\,~ \I I \ BT2-11T9 :A~om~I~~~---~--~/~I~~~~------------ I UnltAddr ' BT1 I " "G" BTO ''0" I I,, I - 1- UnHSalOCIad _End , \ ___________\~)lr--~:~e~----------------------- .~" I I .' I, I, I \ , ~~~--~r'~~~==~\~~~~~~~--------­ ===__ Undallnad -'~ Unit Add, (BT2-BT4~ Undollnad (Others) == BftlH! I 'la (Unft Roady) Linea Device Statue 1 , \ unltSeloCt undallned ~~U~n-.dall~.~nad~-------------­ - 2"-2" ===----' UnftAdd~':===--------------- ;---\ 1--1 H State 8fter Reset UnH Selection "Unit Selected" and "Unit Ready" 81gnall are checked through BTl and BT5 pins. pPD7261A/B ftiEC Figure 12. Return to Zero Timing (Hard Sector) ---------------------;Il~------------------ ----------~,~r-----4\~I------------------- BUI Direction ~ Sr Sol. ~ " \l ---------- I I ~: I , I r~I '--------~ r BT2-BT9 ~~ BTa. 1 (Seek End) ~~ "IUnItAddr : I \ \\1--;'-\_ _ _ _ _ _ _ _ __ BT1 "0", I , I BTO 1'0"\ l \ )\-\--\\---------- \ I I I \ I I I \ I I I Index \ \ I \ Sector \ \ \ \ Unll Solected ---.../ 'v \ '"'\ .. '-11----' 'v------------\.. . '- Sosk End l.. II} b'----~ll----" BftCH! ",U_=:::I_=_ _ .JX Bft 6-1 ~oftned:>-lt=t;:::.~~~~~~~~~~~~~~~~~~~~~= 9mWsSOnH-----~~~~a-=Shd~~-1~----1111-------------- Lin.. 1\1--------------- UnftSelOCl 1'-22 .c;:::::x Und~_ :~~u~~~~~n~~~----­ UnltAddr UnltAddr 1--1 Unft 1--1 "Rotum to Zero" ! Sosk End signal I••heck~ SeIecIIon leleeued. at this point. 83-003500B 6-30 fttlEC pPD7261A/B Figure 13. "Seek" Timing (Hard Sector) \\ 'LI I 1\ "1" I I I "1" I I Bus Direction I .f\ Sr Sel. lIog .' II '---------- "1" I I USlIog ~"I I I r~ / I r BT~T9 ~~BT8=SeekEnd(lnpUI) Unit Addr I Cylinder Addr 2-91 I Unll Addr ,. I ~cyllnde'~~'11 I BT1 I \ ~ \ I BTO I I I c--=\C~lInde' Af~\-'.j.IO_ _ _ _ _ _ _ _ _--I._ _ I \ I " I \ I I I I I \ I Index \ \\ I "\ I \ S8ct0, \ \ \ \ \ \ \ \ \ Unit Selected --1 \ ~~~ Seek End -----------~\~X\ l~ BItIHl -< Undellned ~~:_.....:u,;,;ndeft=,;,;ned:..:;,._ _ _ _ _ _ __ Cyllnde, Add, \11_------------- ~~~R-------.Dw~I~~S~"'~U.~1~~---illl_------------- Unit Selact 2"-22 ~Undeftned Unit Add, ===~------_l. :~~U,;,;nd=~~ned~----- Unit Add, H Unit Selection H "Seek" f BT8 (Seek End) signal Is checked at this I. Issued. pelnt. 83-0035018 6-31 pPD7261A/B t-{EC Figure 14. "Head Select" Timing (Hard Sector) Tag 1 "I" Tag 2 "1" Tag 3 "I" Bus Di,ection~_--_ _ _ _ _ _ _ _ ""'\\I.._______ 5,5.'. Tag us Tag ~I BT2·BT9 ~UnitAddr I Input XH••d Add, 2.7X Input BTl I I Heed Add, 1 \ ''0'' / Heed Addr 0 \ BTO "0" \ Index \ \ Secto, , Unit Selected Y Seek End BHIHI Undefined XH ••d Add, 1J.7X Undefined =:Lln.. _____-=Dev='ce=SIaI=u:.:.:..l:....._~_ _~_ _ _ _ _ _ _ _ _ __ UnH SIIeCi 2"-2' H Unit selection I· "Head Select"·1 I. Issued. 83-0035028 6-32 ttiEC pPD7261A/B Figure 15. "Unit Status Sense' Timing (Hard Sector) "1·· ··1" "1" Bus Dlrection---"" Sr Sel. Tag \ 1\ rt "0" means that HOC Is selecting One Unit. iiSTa9 BTa-BT9 usn ~ USf2 ~ Devtce~pe BTl ''0'' BTO ''0'' ~ - Index I Index pulse /. SRO ~ I /. OT1 Sector pulse I 1---1 11 /. SR1 ~ /. OT2 ~ ..::n=.-:;:tha=t::.~U==n;:-RI==.-=- Unit 5elected :::"l;;;"-::m= ••: : ; - l e c t = . " : ; d . - - - - - - - - - - - - - - - - - - i Seek End "1" BlteHl _ _ _ _.I_ll_._ _ _ _-JX~ __B_H_9-_0_~>CJ<~_~BH~9~-~1~_ _t Stat~~::nse _ _-=U",nl::.I.::;SI=ol:::"::.s..:.l.:;:(U;.;:ST1)=_ _- JX t Unit Status 2 x:::::x Device Type ~ OS Unlt5elect Undefined 2'-22 OnCylindar .".~"',,----------------------_ Unit Statu. 1 t Unit Status 2 Is The Device lYpe is read Is read through read through BTO-BT9, through BTa-ST9, BTO·BT9 pin •• Index, sector pins. Index, Sector pins. 83-0035038 6-33 IIPD7261A/B Figure 16. "Data Read" Timing (Hard Sector) ::~}-------------------------------------------;ll~------------------- Sr Sel. Tag "1" Bus DI:~: } __".;:.O'_'-------------------------------------------\\ll-------------------- Unll SeIac1ed } l\l-------------------- Seek End "1" Sync _ _ _ _ _-J1 RD/RefClk -1Ulfl:--- - (ReadClk) -----Jl BTO (Writo GolO) ~,='O'~,----------------------------------------~\'~·-------------------- BTl (Road Gato) _____~/r-----~'--i~-----~\'~,--------~\~___ Index/Sector ~~---------------~H~----------~r--- ECC(CRC Format Data (DTL) (4/2) End 01 Record 83-0035048 Figure 17. "Data Write" Timing (Hard Sector) :;~}-. -I"------------------------------------------~I\~------------------- Sr Sel. Tag Tag 3 } Bus Direction ~~----------------,l\~------- "0" US Tag Unit Seloctod } Seal< End --------------------------------------~ll~--------------- "I" Sync "0" I \~---------~l\r_-------- RD/Rof Clk I.JUlJlJ ---- (Servo Clock) ___________-JI \'i BTO (Wrlto Oato) \ ____--'I BTl (Road 0010) \~------------------~n Index/Sector ~~-------------------------------------'l\l ~ ECC/CRC Format (:1 ~ lil~1 (4/2) (2) 83-0035058 6-34 NEe JlPD7261A/B Figure 18. "Drive Select" and "Unit Status Sense" Timing (Soft Sector) Drive Select 051,050-0, ° ~,-...:I,,-,I'-_ _ _-t:\-~___...Jx"O::.,..;.I_ _ _ _ _ _ __ I~------------------___tl\_l--------------------- Drive Select 1 _ _ _---J ~~------------tlrl----~\~-------- Drive Select 3 -----------!)~--"""'\----I n I "'Or"'lve=se"'"le:-:ct~4 J) \ ,,11---------- \ ' ,o------;lll-----' \ , \ \ \ Drive seleeted - - - - - - - - '; \" Vrl- - - - - - - - Seek Complete _ _ _ _ _ _ x::::::=:x:=::Y____---l!~\_---...JX'-----..L.--- Track 000 _ _ _ _ _x::::::=:x:=::Y !~ X"-______"'--___ Ready _ _ _ _x::::::=:x:=::Y :: X'-_ _---+-_ _ Write Fault ______~~ ~~ X~___~----- --D-r-iv-el-l-s--~1-0-r-lve-2-i-s~I-D-rl-ve-3-I-S*1----D-rive-4-1.~1~1-----~-D-rl-ve-2-1.--IL----- selected. selected. selected. selected. selected. Unit Status is read through pins 29-33 at this point. 63-0035068 Figure 19. "Normal Seek" Timing (Soft Sector) Drive Select ===x Stable >C~ Stable eb Stable x== Orlve select X ~ Drive Selected -.-J nh QP ~b 0~ / c::= EI Direction In ===x Stable d!=X Stable dt=x Stable x=::= Step l\ 1\ V V V I· ·1 I- Direction In signal and a step pulse are The rate at which step pulses are issued Is issued after Ready signal Is checked. controlled by STPn (Step Rate) In Specify Command. 83..0035078 6-35 pPD7'281AJ'B WEe Figure 20. "Buffered Seek" Timing (Soft Sector) Drive Select =:::X~ ______.....;;Sta=b;;.;I.,,-_ _ _ _ _ _ _>Gp<_---,S::ta=b:::le,--_x:::= DriveSelectX ~ Stable at="' r-- DrlveSeIectad =...J ~~ c-= m~~I~ln _ _ _-JX~ _____________~xj~~__________ Slap ----4IU1f - - - - - - - ~\~----------- (,-\ r- tSTCY ----~~ ~~r7 _COmplete '-.--------~'l~ ~O c= ~b~UH~~_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _~L1y~t=\--~-------Lr===--- !- .! !• .! Direction In Signal and continuous step Seek Complete, Ready and WrHe Fault pulses are Issued. signals are polled periodically until the seek operation Is completed. 83-0035089 Figure 21. "Data Read" Timing (Soft Sector) Format Data (DTL) (4/2) ~d~~~I------~--~'-Jr------------~II~I------~,-­ Sync I~ '----I II '-- ~~~I---------------------------------;\\~----------- ~I n~--------- DrIve Select --v-----41-1- - - - - - - - - :SC'" taC ' " b l : - . - - - - - - - - - - - i l l l - - - - - - - - 1 ~r·------------~~----------------~nr'----------- Reed ~ Iino ta .~lvatad altar ~dy Sync line is set when bit synchronization oIgnolle checked. is established. 83-0035098 6-36 t-{EC pPD7261A/B Figure 22. "Data Write" Timing (So't Sector) Format Data (Gap2) (1) (1) (DTL) (412) (3) Re8dGate~t \~----------------~II Sync ----ll~ \~----------------~}------------- II II WrHe Gate ------410-1----------'1 '- II RNdy~:r---------------------~ II ~PRECOMP----ill~---------------~X~~~~lid~----------~:~ )C DriWS~~~:~------------~SU==b~=-------------~11 II ~ Read Gate line Is Write Gate line Is activated during the '1 activated after Ready period b e _ 3 byl.s after ID fl~d~ CRC and Write Fault signals by1es and 3 by1ea aftar data field's ECCI are checked. CRCby1es. 83-0035108 6-37 pPD7261A/B NEe 6-38 NEe NEe Electronics Inc. Enhanced Smail-Disk #,PD7262 Interface Controller Description o Data read function from sectors with errors o Skew function The /LPD7262 enhanced small-disk interface controller o CRC/ECC selection (ESDIC) is a hard-disk drive (HDD) controller capable of o NMOS technology supporting up to seven HDDs. It is a single-chip solution o Single +5 V power supply to ESDI controller design and conforms to ANSI Speci- o 40-pin ceramic DIP fication X3T9.3/1987, revision F. Note: A control sequ ence that changes the state of the Ordering Information write gate (WGATE) signal to function as the Part Number Max Frequency Package write start signal for the 10 field's phase-locked oscillator (PLO) area for hard-sector formatting ~PD7262D18 18 MHz 4O-pln ceramic DIP is covered in the ANSI specification, but it is not ~PD7262D12 12 MHz supported by the I'PD7262. The /LPD7262 can be controlled by a general bus like the one provided by the V-Series family. It has 27 powerful commands and its control interface significantly re- Pin Configuration duces host processor overhead for HODs for both soft- ware and hardware. This simplifies interfacing. 4O-Pin Ceramic Dip The /LP07262 uses the group drive concept to control up to seven HDDs divided into a maximum of three groups. WDATA VCC Each group may be designated arbitrarily according to RDATA RGATE common control parameters such as data length per RClK WGATE sector, number of sectors per track, and error correction/ RESET ClK detection. INT INDEX DMARQ SECP/AMF Features m TC AME WClK IC o Serial mode ESDI-compatible RD DSD o Capable of controlling up to seven disk drives WR READY o Supports up to 80 heads (5 groups of 16) for each AO ATT disk drive Do CMDC o Hard- and soft-sector interfacing D, HSOIXACK o Programmable track format 02 HS,lRxD - Variable byte synchronization patterns: ABSP and DBSP D3 HS2fTxD - Variable data length: 128 to 65,536 bytes/sector D4 HS3IXREQ - Variable gap length D5 DS, Intersector gap D6 DS2 PLO sync field D7 DS3 Format speed tolerance gap GND RW/COM o Selectable sector start signal: 49M·OOOO71 sector pulse/address mark found o Maximum clock frequency -18 MHz (7262-18) -12 MHz (7262-12) o 22 disk commands available o Parallel seek operation capability o Multisector, multitrack, and multicylinder functions o Implied seek function o Data scan/verify function 50031 6-39 p.PD7262 NEe Pin Identification Pin Identification (cont) Symbol I/O Function Symbol I/O Function NOlit System Interface RxD In Receive data; receives configuration/status from the disk drive; see RN/COM above Ao In Address 0 (register select); selects a register or the data FIFO. SECP In Sector pulse; indicates the beginning of a sec- tor in a hard-sector type of disk drive. 00-0 7 I/O Three-state bidirectional data bus. TxD Out Transmit data; transmits a serial command to DMARQ Out DMA request the disk drive; see R/W/COM above. INT Out Interrupt request; indicates completion of com- WClK Out Write clock synchronized with WDATA. mand execution by the "PD7262 or completion of a seek operation by a disk drive. WDATA Out Writes data (NRZ) to the disk drive. AD In Controls reading data or status from the WGATE Out Write gate; signals the disk drive to write data. "PD7262: active low. XACK In Transfer acknowledge; acknowledgment by the 'i'C In Terminal count; indicates completion of data disk drive to a request for command or config- transfer; active low. uration/status transfer; see RN/COM above. WR In Controls writing data or commands to the XREQ Out Transfer request; requests a command or con- "PD7262; active low. figuration/status transfer by the disk drive; see RN/COM above. Disk Drive Interface Cin:uit Control AME Out Address mark enable; causes the disk drive to write or to search for an add rass mark. ClK In Single-phase system clock; the frequency must be between 0.7 and 1.8 times the RClK fre- AMF In Address mark found; indicates the beginning of quency and the clock signal must be input con- a sector in a soft-sector type of disk drive. tinuously. ATT In Attention; requests receipt of the standard RESET In Clears the internal circuits of the "PD7262. status byte issued by the disk drive. TM In Test mode; this pin should be grounded for CMDC In Command complete; indicates that the disk normal operation; the ground is removed for drive has completed the execution of a serial test mode operation. command and is able to receive the next command. GND In Ground. DS3"DS I Out Drive select 3, 2, 1; binary encoded outputs Vee In +5-volt power supply. that select a disk drive. DSD In Drive selected; indicates that the disk drive specified with DS3'DSI is selected. HS3"HSO Out Head select 3,2, 1,0; binary encoded outputs that select a read/write head; see RN/COM below. INDEX In Indicates detection of the index mark in the drive. RClK In Read clock that samples RDATA during read operations; also the reference clock thai deter- mines the WClK frequency during write operations. RDATA In Read data (NRZ) from the disk drive. READY In Indicates the disk drive's ready state. RGATE Out Read gate; signals the disk drive to read data. RN/COM Out Read-write/communicate; determines the func- tion of pins 25-28. RN/COM Pin 1 0 25 HS3 XREQ 26 HS2 TxD 27 HSI RxD 26 HSo XACK 6-40 ttt{EC "PD7262 Standard Signal Names Table 2. Data Cable Connections With pPD7262 Pin Symbol ESDI Signal Name Tables 1 and 2 show the conversion between the IlPD7262 pin symbols and the ESDI standard signal WDATA ± NRZ write data names. RDATA ± NRZ read data RCLK ± Read/reference clock Table 1. Control Cable Connections With pPD7262 WCLK ± Write clock Symbol ESDI Signal Name CMDC Command complete DS1-DSa Drive select 1-3 DSD Drive selected HSO'HSa Head select 2(0)-2(3) AME Address mark enable XREQ Transfer request SECP Sector pulse XACK Transfer acknowledge AMF Address mark found TxD Command data INDEX Index RxD Configuration/status data READY Ready WGATE Write gate RGATE Read gate "PD7262 Block Diagram RCLK WCLK RDATA Format WDATA Control RGATE CLK_ Unit WGATE RESET_ INDEX m AME SECP/AMF RW/COM DSD READY MUX ATT CMDC Disk Drive ~ Interface HSO HSl Status /L---I~ Control Unit Register HS2 "---1111 HS 3 ~--------~ ; DSl DS2 DS3 XREQ Serial TxD Communications Unit RxD XACK AO----~----~----, RD WR Host System Interface INT Control Unit DMARQ TC 49M..(l00070 6-41 #,PD7262 t-IEC Absolute Maximum Ratings DC Characteristics TA = +25'C TA = -10to +70'C; Vee = +5.0V ±10% Operating temperature, To- RE,AD GATE HSOIXACK I+-~--.-.:.-r-~-_p.-~.:....-+ HEAD 'SELECT ~ Data ...-----tiiANSFER ACK Selector t>--~--. HEAD SELECT 2' HS,IRxD r-----.....-;...;r-;...;-P...- - - - CONFIGlSTATOi "'D"'AT·A" T , ,,-, FiYi7eml • HS211'XD I--__-_r-..z...-,..----+ HEAD SELECT 22 ~---- C6MMAND DATA 1 HS3IXREQ r--'----~ . Demultiplexer ___ HEAD SELECT ~ .....J~----TRANSFER REQ .• r---ip------+ ADDReSS MARK ENABLE ··· .. ' AME '. , ~+WRITE CLOCK W!:LK t-----efDemultIPlexerl .: ~.WRITE CLOCK ~+WRITE DATA ~ WDATA I: L..-r-r.,."""" : DIFFERENTIAL DRIVER b:J::=,-WRITE DATA , JLPD7262 . DS, t----,---+-+-+-' ~-- DRIVE SELECT , -t.- ...... DS2 .... ..... DRIVE SELECT 2 '--··~i~ DS3 t - - - ": ' - - - - + + + - -..... .....- DRIVE SELECT 3 .... , ~.+.READ.DA.TA , RDATA I ; ~-REAP PATA ~---~~+READ~EFERENCE'CLOCK RCLK I+-~----i Multiplexer I : .• ~_-READ~EFERENCECL()CK " ·· • DIFFERENTIAL RECEIVER DRIvE SELECTED DSD ·· p.o.:..:----COMMAND COMPLETE SECP/AMF CMDC , .. · '_I-_~_.,_____ ftCTO'RiADDRESS MARK FOUND ATT ...... ATTENTIoN' ',A ~ INDEX i+------aC iNDEX READY ~~ READV ~ ''IM-000073 NEe I'PD7262 SECTOR FORMATS Figure 28 shows the hard-sector and soft-sector formats for a hard-disk drive, Figure 28. Hard-Sector and Soft-Sector Formats INDEXI SEep ~ ... I Hard-Seclor Formal I - - - - - - - - - - Address A r e a - - - - - - - O o j t l 4 _ - - - - - - - - Dala Area Js~ ---------0011..... L.. ISG PLO ABSP ADDRESS FIELD ADDRESS ADDRESS WlUTE PLO DBSP DATA DATA DATA ~ISG ~ SYNC CHECK BYTES PAD SPUCES SYNC FJELD CHECK PAD BYTES GAP2 "00" "00" 'ABSI' 'LCNIr 'LCNL'j'LHN j'lSt;' j VLAG' 'CRC" '00- "00" 'DBSI' 'CRCI '00" "00' XGPIL XPLOL 11 11 11 11 11 11 12 x2 11 XPLOL 11 XDTLH, L ECC" 12 XGP2L 12/4 ISG ~ ADDRESS ADDRESS Soft-Sector Format ~ MARK MARK PAD Same as hard-sector format, "00' XGPIL 13 11 ISG Inler SSClor Gap ABSP Address Byle Sync Pattern DBSP Data Byte Sync Pattern FSTG Format SpHd Tolerance Gap 49M·OOOt02 6-65 "PD7262 t-IEC 6-66 NEe NEG Electronics Inc. CMOS Hard-Disk Controller p.PD72061 Description o Parallel seek operation o Multisector and multitrack transfer The p.PD72061 is a hard-disk controller featuring low D Data scan and data verify power consumption and high-speed data transfers. D High-level commands, including: Based on the p.PD7261 AlB, it provides cont rol signals for - Read Data, Write Data, Scan Data, Verify Data interfacing SMD/SMD-E and ST506/412 type drives. The - Read ID, Verify ID sophisticated instruction set minimizes the software - Check, Seek (normal or buffered), Specify overhead for the host microprocessor and gives the user - Read Diagnostic (SMD only), Detect Error flexibility in selecting operating parameters. -Format The DMA interface signals of the p.PD72061 facilitate o NRZ or MFM format multisector and multitrack data transfers. Extensive er- o Read/write clock frequency: 24 MHz max ror reporting, verify commands, and CRC/ECC data D Error detection and correction error checking assure reliable controller operation. D CMOS o p.PD7261 AlB compatible An 8-byte FIFO is used for loading command parameters o Single +5-volt power supply and obtaining command results. This makes structuring o 4O-pin plastic DIP, 52-pin plastic miniflat, 52-pin of drivers a simple task. The FIFO also buffers data PLCC during DMA read/write operations. Features Ordering Information Part Number Package D Flexible interface supports SMD/SMD-E and "PD72061C 40-pin plastic DIP ST506/412 type drives D Programmable track format "PD72061 GC-SB6 52-pin plastic minlflat D Controls up to eight drives in SMD-type mode, four "PD72061L 52-pin PLCC drives in ST506-type mode 50072 6-67 "PD72061 t-{EC "PD72061 Block Diagram RlWCLK - - - 1 1 - - - - , BTl (RGATE) __--~ ClK RIW DATA __---t.. Processing Format Unit BTO(WGATE) ----~ Controller RESET SYNC __--~ (POL) SOT - - - I INDEX -:--~I- ___ ~ DaIaBuIfer axa Bit FIFO Disk Interface Multifunction Control OIsk Interface Lines 00 - 07 '\r----,;II Internal RAM TC AO iffi ----t-l ReadlWrite WR INTIDMA CS ----t'" Control INT __- - - I ROM OREQ __- - - I L---~(Control Firmware 6-68 NEe NEG Electronics Inc. #£PD72111 Small Computer System Interface Controller Description Pin Configurations The I4PD72111 is a small computer system interface 64-Pin Pillstic Shrink DIP (750 mil) controller (SCSIC) conforming to ANSI X3T9.2/82-2 Rev.17B. The I£PD72111 SCSI controller offers a true 16-bit CPU data bus but also can be interfaced to an GN01 RST 8-bit CPU data bus. GNOO SEl elK BSY The I£PD72111 contains functions for controlling the RESET GN01 sequence between bus phases so that host processor cs 1/0 overhead can be reduced. In addition, single-ended type 0liE C/O bus drivers/receivers are internally provided on the SCSI EOP MSG bus side so that system size can be reduced. INT REO 10WR ACK The I£PD72111 was developed utilizing NECs 1.2-l£m i5RD GN01 CMOS process technology for low power consumption. It OMARa ATN operates from a single 5-volt supply and is available in iSMAAR GN01 plastic DIP, PLCC, and miniflat packages. 'i6B SB7 GNDO SB6 VOO GN01 Features A2 SBs o Conforms to ANSI X3T9.2 Rev.17B A1 SB4 Ao GN01 - Arbitration function OPH SB3 - Disconnection/reconnection function GNDO SB2 - Parity generation and check function OPL GN01 o Two different data transfer modes 015 SB1 - Synchronous: 4.0 Mbytes/second max; offset 014 SBO value selectable from 1 to 8 013 SBP - Asynchronous: 4.0 Mbytes/second max target o 16 commands reduce host CPU load; automatic execution of standard operation as SCSI controller can be performed by a single command D12 011 010 09 08 GN01 00 01 02 03 B o Operates as initiator or target 07 04 o Internal single-ended type SCSI bus drivers (48-mA) 06 05 and Schmitt-type receivers VOO GNDO o CPU data bus width selectable (16 bits or 8 bits) o Programmed transfer or DMA transfer selectable 83vQ.5913A o Internal 24-bit transfer counter o FIFO-type data buffers on SCSI bus side and CPU bus side Ordering Information Part No. Package "PD72111CW 54-pin plastic shrink DIP (750 mlQ 58-pin PLCC "PD72111 GJ-5BJ 74-pin plastic miniflat 50079 6-69 "PD72111 ttiEC BB-PlnPLCC 0.. W I~ '" 8 Ci I- -' ~ ~I@I~I~ ~ ~ ~ ~I~I~ ~ ~1218 ~I~ I> Ci 1C!l 0 NC ACK iOWA GNDl lORD ATN i5MiiRQ GNDl DMAAK SB 7 lSB SBs GNDO GNDl VDD SBs A2 SB 4 Al GNDl AO SB3 DPH SB2 GNDO GNDl DPl SB 1 D1S SBo D14 SBP D13 NC (,) N .... OcnCOr-.<00gIl)V('l')N ..... O .... z~~~ccccizcccccc~ C!l C!l 83vQ.59fSB 7~Pln PiIIstic MlnNlllt I-zl~I~I~I~ ~ ~ a: _ w ::> 0 a: 0 21~1~1~ 2 gl~l@a: C!l 0Z C!l ~ To Other SCSI Devices limO ~ MWR r--f"-< - SCSI MemolY Data Bus L... RD WR -I--< SCSI im Control Bus AO -A23 A I I I Do - D15 . I j H+ l. Address Bus Data Bus (16/8 bits + parity bits) ....W83S. 6-73 "PD72111 NEe Internal Blocks Name Description Name Description SCSI bus Open-drain driver for a single-end SCSI bus Host parity Generates parity that will be attached to data driver/receiver and a Schmitt-type receiver. generator/ output to CPU data bus; or checks parity checker attached to data read out from CPU data bus. Arbitration! Controls execution sequence of arbitration, selection selection, and reselectlon phases; consists of a DMA request Generates DMA service request signal (DM7iRO) control timing generator and a sequencer. control according to FIFO status; also controls termina- tion of command operation by l:O"P signal. Bus phase Outputs a signal that specifies bus phase type; control also monitors bus phase to detect a transition. SCSI transfer Controls data transfer operation on the SCSI Absolute Maximum Ratings TA = +25°C control bus In each data transfer phase: data-In, data- out, status, message-In, and message-out. Supply voltage, Vee -0.5 to +7.0 V Controls SCSI protocol according to REO and Input voltage, VI -0.5 to Vee + 0.5 V ~slgnals. Output voltage, Vo -0.5 to Vee + 0.5 V Controls data transfer sxecutlon/termlnatlon according to SCSI FIFO status. Operating temperature, TOPT -10 to +700C Contains a 24-blt transfer counter that manages Storage temperature, TSTG -65 to + 1500C the amount of transfer data on the SCSI bus. SCSI FIFO data Eight-bit, elght-stage asynchronous FIFO that DC Characteristics buffer adjusts difference between data transfer timing TA = -10to +700C; vee = +5.0 V ±10% of internal and external SCSI buses; also used for queuing received data for synchronous data Parameter Symbol Min Max Unit Conditions transfer. low-level Vlll 0 0.8 V Other than ClK Decodes received command and message; Input Command/ 0 0.6 V ClK voltage Vll2 message generates decoded signal that specifies the next decoder sequence. Hlgh~evel VIH1 2.2 V CPU bus Input SCSI parity Generates parity that will be attached to data VIH2 2.0 V SCSI bus voltage generator/ output to SCSI data bus; or checks parity checker attached to data read out from SCS I data bus. VIH3 3.9 V ClK Input VHI 0.2 V SCSI bus Main control Sequencer that controls microprogram, hysteresis operation of each block, and control sequence. Internal transfer Controls data transfer between SCSI FIFO and low-level VOLl 0.4 V IOL 1= 2.5 rnA; CPU bus output control FIFO or between registers In the Indirect access 0.4 V IOL2 = 48.0 rnA; SCSI bus voltage VOL2 register block. Controls 8-bltlI6-blt conversion when host CPU High-level VOH 2.4 V IOH = -400 p.A; CPU bus is set to 16-blt bus mode. output voltage Direct access Comprises registers that can be directly registers accessed from host CPU, such as command Low-level ILIL1 -10 p.A VI = OV; CPU bus register, status register, etc. Input Indirect access Comprises registers that cannot be directly leakage ILIL2 -1.0 rnA VI = 0 V; SCSI bus current registers accessed from host CPU, but that can be accessed through the window In the direct High-level ILIHl 10 p.A Vl = Vee; CPU bus access register. Input This 16-blt, elght-stage asynchronous FIFO leakage ILlH2 0.1 rnA VI = Vee; SCSI bus FIFO data current buffer Increases usage rate of host bus. In 8-blt mode, only the lower 8 bits are used; In 16-bit mode, low-level ILOL -10 p.A VI = OV; CPU bus accessing In 8-bit units Is not possible. output leakage Interrupt control Sets/resets Interrupt request signal. current Read/Write Controls read/Wrlte operation of variOUS Internal control registers; also controls 8-blt accessing In 16-blt mode. Bus-size Converts bus size according to bus mode. converter 6-74 NEe #AoPD72111 DC Characteristics (cont) AC Characteristics; CPU Bus Interface TA = -10 to +70'C; Voo = +5.0V ±10%; see figure 1 for timing Parameter Symbol Min Max Unit Conditions measurement voltage thresholds High-level ILOH1 10 p.A Vo = Voo; CPU bus Parameter Symbol Min Max Unit Conditions output leakage 0.25 rnA Vo = Voo; SCSI bus Clock (figure 2) ILOH2 current ClK input cycle time tcvK 60 ns Supply 100 100 rnA At 16 MHz current ClK input high-level width IKKH 25 ns ClK input low-level width IKKL 25 ns Capacitance ClK input rise time IKR 10 ns TA = +25'C; Voo = 0 V; f = 1 Mhz ClK input fall time IKF 10 ns Item Symbol Min Max Unit Conditions Input pF Reset (fIgure 3) CI 20 CPU bus; unmeasured capacitance pins at 0 V. RESETIow-level width lRSRSL 16 tcVK Output Co 20 pF CPU Bus RflBd (figure 4) capacitance ~ set time to lORD .j. tSCSR 20 ns Input/output CI01 20 pF capacitance ~holdtime ~Res 0 ns C102 100 pF SCSI bus; unmessured from lORD t pins at 0 V. Address set time tsAR 20 ns to IORD.j. Figure 1. VoItIllJB Thresholds for Timing Measurements Address hold time ~RA 0 ns from lORD t DMAAK set time to lORD ~ tsoAR 20 ns CPU bus ~ 2.2 V interface pins 0.8V )C DMAAK hold time from lORD t lORD low-level width ~ROA 0 80 ns ns lRRL lORD t to data output toRO 50 ns delay time SCSI bus ~ 2.0 V interface pins )C lORD t to data float time 0 50 ns EI O.BV IFRO 83SL·6047A lORD t to I5IiMRt'i t toROQ 80 ns delay time CPU Bus write (figure 5) Figure 2. Clock Timing ~ set time to IOWR .j. tsesw 20 ns ~ hold time from IOWR t tHweS 0 ns Address set time to IOWR .j. tsAW 20 ns Address hold time ~WA 0 ns from IOWRt elK DMAAK set time to IOWR .j. tsOAW 20 ns DMAAK hold time from ~WDA 0 ns tKR IOWRt 83SL--6048A IOWR low-level width twWL 80 ns Data set time to IOWR t tsow 20 ns Data hold time from IOWR t ~WD 0 ns Figure 3 RESET IHtvetorm IOWR t to .DMARC:.l t toWOQ 80 ns delay time ~=l. tRSRSl .r 83SL-6049A Other CPU Bus (figure 6) IOWR t to lORD .j. or IOWR t recovery time 'R-Iw 80 ns 6-75 "PD72111 t-{EC AC Characteristics; CPU Bus Interface (cont) Parameter Symbol Min Max Unit Coridltlona Paramater Symbol Min Max Unit Condlt~a lCRD i to 1OFiI) ~ or lOWFt ~ tAIR 80 ns m i to AfIil output tDSLAT 2 tcVK recovery time delay time lCRD i to EOJS ~ delay time tOREP 40 ns SSY' i to SSY' .j. output toBVB1'3 10 tcVK delay time TOWR i to Ems .j. delay time toWEP 40 ns JOFm i to INT .j. delay time 40 ns ID hold time from SSY' .j. ItiBl'l02 0 ns tORI TOWR i to INT .j. delay time toWi 40 ns m hold time from §SY .j. ItiBVSL2 0 ns INT low-level width 2 SEE i to SSY'i output toSLBY 2 tcVK "IL tcYK delay time "...lfIt:fltlll . . ,.",., (IIgure 11) AC Characteristics; SCSI Bus Interface m i to ID output delay time 1osL102 20 tcVK TA - -10 to +~C; VOO = +5.0 V ±10%; see figure 1 for timing measurement Voltage thl'fisholds SEE .j. to target output delay toscra 0 ns time Paramater Symbol Min Max Unit Conditions ID output to TJo output delay 101010 0 ns AlbIt,.,1on (tigure 7) time Bus free detection to toBFBY 14 tcVK flO Input to SSY' i output delay tolOBY 2 tcVK SSY' response time time SSY' .j. to ID output toBYIO 0 ns §SY i to §SY .j. Input valid delay toBYBY4 8 tcVK delay tiMe time SSY' .j.toSEE.j. toBYSL 36 tcVK §SY .j. to m i output delay toBVSL2 2 tcVK delay time time s.let:Iltin _Inltliltor fBIwre B} IltIcIIpIIon _Inltliltor In ~ nrodIt; dtltHn. SEE i to ID output toSLI01 20 tcVK .'.w..""" ",...""..,n """".. (IIgure 12) delay time m i to phase Input valid delay toSLPH1 0 ns time SEC.j.to~Am IoSlAK 20 tcVK output delay time TIO .j. to data float delay time fRo01 0 ns ~ ATR output to toAKBY 2 tcVK Phase. set time to REO .j. tsPtiRQ1 400 ns SSY' i delay time Data set time to Rm .j. tsORQ1 5 ns SSY' i toSSY' .j. toBYBY1 8 tcVK REO .j. to ACR .j. output delay ns Input valid delay time toR0AK1 0 time SSY' .j.toSECi IoBYSL1 2 tcVK Osta hold time from ACR .j. output delay time Itwco1 0 ns Rm hold time from ACR .j. Itw --- tDROAK5 J tHAKR02 ~ ACK \ 49TB-457B Figure 15. SCSI Bus; Reception liS Tllrget In Async Mode ...--. tFIOD2 _tSDAK2_ 1/0 J . . - - - tSPHR04_1 1"- 1 _ tHAKPH4 CtD, MSG ) C tDROAK6 \ -- --- tHROAK2 REO J tDAKR03 -- _ t D A K R04 ACK \ 4918·4588 6-83 "PD72111 ttiEC Figut8 1t1. SCSI Bus; Reception .s Inltl.tor in Sync Mode SEL-L IIOSLPH5 :IISDR03 Hi-Z i l( ----~I~::::~~JI:~R-O-03----------~ X'---_ vo c/o, MSG ________~~----------------~----------------------~~ i+-----'-ISPHR05----+i REO ACK 49TIH59B Figut8 17. SCSI Bus; Transfer.s T.rget In Sync Mode SEL-L 10SLPHS _ISOR04, Hi-Z 1_---+1 101003 vo c/o, MSG ________~ ~______________~--------~------------._~ _ISPHROS_ 49TB-46OB 6-84 ftt{EC #,PD72111 Figure 18. SCSI Bus; Transfer as Initiator in Sync Mode SEL ____~I_·___·)(H-A-KD-3----- - j~tD-IO-D-4-------"""~ ,I tSDAK3 110 CID, MSG _ _ _ _ _ ~ ~ ________________________________ ~----~~ REO ACK 49TB-461 B Figure 19. SCSI Bus; Reception as Target in Sync Mode ____~I_'___·)(H-A-KD-4----- -<. . .----~ Hi-Z ,I tSDAK4 110 CID, MSG ________ ~ ~ ___________________ ~--~~ REO ACK 49TB-4628 6-85 "PD72111 ttlEC Figure 20. SCSI Bus; Arbltl'lltion, Bus Free / 1~-~tFSlIO Hi-Z Hi-Z SBO-SB? - - 10 1>-------- Figure 21. SCSI Bus; Selection/ReSelection, Bus Free SEL / Hi-Z Note: ATN or ACK output by Initiator, or iio, Cio, MSG, or REO output by target. DIRECT ACCESS REGISTERS Table 1. Direct Access Registers (coni) Addre.. ArAo R/W Symbol Register Neme Table 1 lists the 10 internal registers that can be directly accessed from the host CPU. The register address Is 111 R 1ST Interrupt status specified by pins A2-Ao. W CMD Command 7lIbie 1. Direct Access Reglst.,.. Data FIFO Register Acldre.. tvAo R/W Symbol Register Neme 000 R/W DFL Data FIFO The 16-bit data FIFO register (figure 22) is used to write or read data (including command, status, and message 001 R/W DFH data) accessed through the SCSI bus. 010 R CST Controller status ADR Address In the S-bit mode, only the lower S-bit DFL register at 011 R/W address OH is used. The contents of the upper S-bit DFH 100 R/W WlN1 Window register at address 1H are fixed to DOH. 101 R/W WlN2 In the 16-bit mode, the register is accessed to/from 110 R TP Terminated phase address OH with signals Ao = 0 and USE = O. When data W DID Destination 10 is sent to the SCSI data bus, the DFL contents are output 6-86 t-IEC "PD72111 first, followed by the DFH contents. When data is sent, Figure 23. CST Regi.,e, the first byte fills DFL and the second byte fills DFH. 7 OFH 0 The data FIFO register empties when a RESET signal is 2H I I CBSY IINTRCI CST1 I CSTO I ATNe FFUL I FEMP I ORC I input, the CHIP RESET command is executed, or the CLEAR FIFO command is executed. CBSY ,.PDnll1 Command Execution Status Figure 22. DFL and DFH Regi.'e,. o Idle (waiting for a command or executing a type A command 16·Blt Mode Busy (executing type B or C command) OFH INTRQ CPU Interrupt Request OH 015 014 I 013 I 012 I 011 010 09 08 o Not generated OFL 1 Generated 07 D6 05 04 03 02 01 DO CST1, CSTO ,.PDnlll Operating Condition I o 0 Disconnected state 8·Blt Mode o 1 Initiator state OFL 1 0 Target state ATNC ATN Pin Status o Inactive(high level) 1 Active Oow leveQ Controller Status Register FFUL, FEMP FIFO State o 0 Neither full nor empty The 8·bit CST register (figure 23) indicates the operating o 1 Empty condition of the ~PD72111. This is a read· only register; 1 () Full data written to CST becomes invalid. ORQ DFLJDFH Register The value of the CST register becomes 82H when a o Accessing OFLJDFH is disabled RESET signal is input or the CHIP RESET command is 1 Writing to or reading from OFLJDFH Is requested executed. Figure 24. ADR Regi.te, Address Register 7 Read/Write 0 When accessing an indirect access register, the address should beset to the 8-bit ADR register and the window 3H IAINC I 0 I ADR51 AOR41 AOR31 AOR21 AORl I AORO I register (WIN1, WIN2) accessed. Bit 7 of ADR (figure 24) AINC Mode for Accessing an IndlreC1tAccess Register specifies the mode and bits 5-0 specify the address ofthe Indirect access register. o Normal mode (address in not automatically updated 1 Auto-increment mode (address is automatically updated) In the auto-Increment mode, each access automatically ADR5-ADRO Indirect Access Reglstar Address increments the contents of the lower 6 bits of ADR (+ 1 000000 OOH for the 8-bit bus mode, +2 for the 16-bit bus mode). 111111 3FH The ADR register is reset to OOH by a RESET signal or by execution of the CHIP RESET command. Window Register The window register (figure 25) comprises two 8-bit registers used as a window for accessing the indirect access registers. With the ~PD72111 in the 8-bit mode, WIN1 and WIN2 are accessed to/from addresses 4H and 5H, respectively. 6-87 "PD72111 ttlEC In the 16-bit mode; WlN1 and WIN2 function as one 16-bit Figure 26. TP Regis'.r register accessed to!from address 4H. WIN1 and WIN2 hold the least- and most-significant bytes of the word, 7 Read Only o respectively. According to the settings of signals Ao and 6H 1 TP7 1 TP6 1 TP5 1 TP4 1 TP3 1 TP2 UBE, either or both registers can be accessed. TP7-TPO Command execution Phase &JOSE Address Register Accessed o o ~ WIN1, WIN2 0000 0001 SCSI RESET SCSI reset o 1 4H WlN1 0001 0001 SELECT Arbitration 1 o 5H WIN2 0001 0010 Target selection 00100001 TRANSFER Information transfer Figure25. WlN1 and WlN2 Regls,.rs 0011 0001 AUTO Arbitration la-Bit Mode INITIATOR 0011 0010 Target selection WlN2 0011 0011 Identify messsge transmit 4H 015 014 013 1 012 1 011 010 OS 08 0011 0100 Command transmit WlNl 0011 0101 Data transmit/receive 07 06 05 1 04 1 03 1 02 01 DO 0011 0110 Status receive 8·Blt Mode 0011 0111 Command complete message receive WlNl 01000001 RESELECT Arbitration 4H 07 06 05 04 1 03 02 01 DO 1 01000010 Initiator reselection WlN2 0101 0001 RECEIVE Information receive 5H 07 D6 05 04 03 02 01 DO 1 1 01100001 SEND Information tJansmlt 0111 0001 AUTO Selected waiting TARGET 0111 0010 Identify messsge receive Terminated Phase Register 0111 0011 Command receive The 8-bit TP register (figure 26) indicates the phase 1000 0001 RE-RECEIVE Arbitration executed when a command execution is terminated. 1000 0010 Initiator reselectlon The TP register is reset to OOH by a RESET Signal or by Identify messsge trensmlt 1000 0011 execution of the CHIP RESET command. 1000 0100 Data receive Destination ID Register 1001 0001 RE-SENO Arbitration Bits 2'() of the DID register (figure 27) set the 10 of the 1001 0010 Initiator reselectlon target to be selected or the initiator to be reselected. Bit 1001 0011 Identify message transmit 7 of DID can be set to mask the interrupt request signal 1001 0100 Data transmit (INT). The INTRQ bit of the CST register (figure 23) Indicates whether the INT signal was generated or not. Figure 27. DID Regis'.r Zeros must be written to bits 6-3 of the DID register. ~~--------~--------------------- 7 Write Only 0 6H IINTM 1 0 1 0 1 0 1 0 1 0102 1 0101 I. DIDO 1 INTM Interrupt Request Signal Mask Function o Does not mask Interrupt request ONT signal Is output when Interrupt is generated Masks Interrupt request ONT signal is not output even If Interrupt request is generated 0102·0100 Setting 10 of SCSI Device 1b Be Selected 000 o 111 7 6-88 NEe "PD72111 Interrupt Status Register Table 20 Indltet:t Access Registers (cont) Addre.. R/W Symbol Register Name The read-only 1ST register (figure 28) indicates the cause of the interrupt request. If the current contents of 1ST are 24H R/W MOD Mode not read out, they are retained and 1ST is not updated for 25H R/W PID Physical 10 new interrupt generation. 26H thru 3FH Reserved Similarly, if the previous contents were not read out, 1ST R = Read only; W = Write only; R/W - Read/Wrlte would not have been dated for the current interrupt; however, the current interrupt data would be retained elsewhere internally. Bit 7 of the 1ST register indicates the group of the interrupt request generation source. The contents of bits 6-0 depend on the value of bit 7. The 1ST register is reset to OOH by a RESET signal or by execution of the CHIP RESET command. Command Register The 8-bit CMD register (figure 29) is used by the CPU to write commands to the #,PD72111. Commands are de- scribed later in table 3. INDIRECT ACCESS REGISTERS The 27 registers listed in table 2 can be directly accessed by the CPU through a window in a direct access register. The register address is specified by the lower 6 bits of the ADR register (figure 24). Table 20 Indltet:t Access Registers Addre.. OOH 01H 02H R/W R R R Symbol TST SBST SID Register Nlllle Target status SCSI bus status Source 10 m 03H R/W MSG Message 04H thru R/W CDeoo Command descriptor block OFH thru CDB11 10H R/W TMOD Transfer mode 11H R CTCl Current counter Oower 8 bits) W BTCl Base counter Oower 8 bits) 12H R CTCM Current counter (middle 8 bits) w BTCM Base counter (middle 8 bits) 13H R CTCH Current counter (upper 8 bits) w BTCH Base counter (upper 8 bits) 14H thru 1FH Reserved 20H R/W BFTOUT Bus free timeout 21H R/W SRTOUT Selectlon/reselectlon timeout 22H R/W RATOUT ~ handshake timeout 23H R/W CDBl Command descriptor block length 6-89 #,PD72111 NEe Figure 28. 1ST Register Figure 29. CMD Register 7 Write Only o 7 Write Only 0 7H I SRI IIST6 IIST5 IIST4 IIST3 IST2 ISTI IISTO I 7H I CMD71 CMD61 CMD51 CMD41 CMD31 CMD21 CMDI I CMDO I SRI Interrupt Request Type o Interrupt request caused by command termination Target Status Register (normal termination or abort) Interrupt request caused by service request issued to CPU The TST register (figure 30) stores the status byte of the target received in the status phase during execution of SRI IST6·ISTO Interrupt Request Generation Source the AUTO INITIATOR command. o 000 AT 000 Command normallermination o 000 AT 001 Command break Figure 30. TST Register o 001 AT 000 Invalid command 7 Read Only 0 o 010 AT 000 FIFO overrun/underrun OOH L..I_ _ _ _ _ _ _T_ST_ _ _ _ _ _---'I o 010 AT 001 Synchronous offset error o 010 AT 010 SCSI bus parity error o 010 AT 011 CPU bus parity error SCSI Bus Status Register o 010 AT 100 Bus free ti me-out error The SBST register (figure 31) indicates the status of each o 010 AT 101 Selection/reselection timeout error signal on the SCSI control bus. o 010 AT 110 REQJ:i\CR timeout error Figure 31. SBST Register o 011 0 000 Data-out phase error o 011 0 001 Data-in phase error 7 Read Only o o 011 0 010 Command phase error 01H I BSY I SEL I REO lACK I ATN I MSG I C/D I/O I o 011 0 011 Status phase error Status of Each Pin o 011 0 110 Message-out phase error o Inactive (high level) o 011 0 111 Message-in phase error 1 Active(low leveQ o 100 AT 000 Unsupported SCSI command group 000 0 000 Reset Source 10 Register 000 0 001 SCSI reset condition occurred The read-only SID register (figure 32) stores the ID of the 001 0 000 Disconnected last SCSI device that selected the ~PD72111. Bits 6-3 are 001 a 001 Reselected always read out as zeros. 001 AT 010 Selected Figure 32. SID Register 010 a 000 Data-out phase started 010 0 001 Data-in phase started 7 Read Only o 010 a a1a Command phase started o o o I 0 I SID2 I SIDI I SIDO I 010 0 a11 Status phase started SIR "P072111 Select/Reselect Operation 010 a 110 Message-out phase started o Has neither been selected nor reselected (contents of 010 0 111 Message-in phase started SID2-8IDO are invalid) 100 AT 000 Message received Has been selected or reselected (contents of SID2-8IDO are valid) AT bit is valid in ta rget mode only. It shows whether attention condition has occurred (AT = 1) or not (AT = 0). S102· 10 No. of Last SCDI Device That Selected "PD72111 SIOO 000 o 111 7 6-90 NEe I'PD72111 Message Register Figure 35. TMOD Register The MSG register (figure 33) sets transmit messages or 7 ReadiWrite 0 stores receive messages when the ILPD72111 is transmit- I 10H ! SYNC TP021 TP01 ! TPOO! 0 ITOF21 TOF1 ! TOFO! ting or receiving. SYNC Data Transfer Mode Figure 33. MSG Register 0 Asynchronous mode 1 Synchronous mode 7 ReadiWrite 0 TPD2- 03H !'--_ _ _ _ _ _M_S_G_ _ _ _ _ _....J! TPDO Cycles for Sync Mode Transfer Rate (at 16 MHz) 000 16 clock cycles 1.00 Mbytes/s 001 Command Descriptor Block 010 4 clock cycles 4.00 Mbytes/s The 12 COB registers (figure 34) set/store the command 011 6 clock cycles 2.67 Mbytes/s descriptor blocks of SCSI commands. 100 8 clock cycles 2.00 Mbytes/s Figure 34. CDS Registers 101 10 clock cycles 1.60 Mbytes/s 110 12 clock cycles 1.33 Mbytes/s 7 ReadiWrite o 111 14 clock cycles 1.14 Mbytes/s 04H COBOO TOF2- 05H COB01 TOFO lfEtl, AUK Pulse Offset Value for Sync Mode 06H COB02 000 1 07H COB03 111 8 OSH COB03 OSH COB04 Figure 36. err: Register OAH COB06 7 Read Only o 11H OBH COB07 OCH OOH COBOS COBOS 12H 13H = I OEH COB10 OFH COB11 Base Counter The 24-bit BTC register (figure 37) sets the number of data transfer bytes to be loaded into the CTC current Transfer Mode Register counter. This is a write-only register; the contents cannot The TMOD register (figure 35) sets the mode for data be read out. The count values written to BTC are con- transfer. Zero must be written to bit 3. trolled by count select bits C1 and CO of the command code. (table 5). Current Counter Bus Free Timeout Register The 24-bit CTC register (figure 36) counts the number of data bytes transferred in the information transfer phase. The BFTOUT register (figure 38) sets the bus free time- This is a read-only register; data cannot be written to it. out. If DOH is written to this register, the timeout detection function will not operate. During execution of an information transfer command. the CTC counter is loaded with the values in the BTC base counter. The values loaded from BTC to CTC are controlled by count select bits C1 and CO of the com- mand code (table 5). 6-91 #,PD72111 NEe Figure 37. BTe Registel' REQ/ACK Handshake Timeout Register 7 Write Only 0 The RATOUT register (figure 40) sets the timeout for .---------B-TC-L.-..::..---------, handshake operation of REQ and ACK signals during llH information transfer. If OOH is written to this register, the 12H BTCM timeout detection function will not operate. 13H BTCH Figure 40. RATOUT Regilltel' BTCH BTCM BTCL Number ()f !)ata Trenafer Bytea 7 Read/Wrlte o OOH OOH OOH o 22H RATOUT OOH OOH FFH 255 RATOUT ~ Timeout (at 16 MHz) OOH 01H OOH 256 OOH No timeout detection is performed 01H 128/.18 OOH FFH FFH 65,635 01H OOH OOH 65,636 FFH 32,640"s FFH FFH FFH 16,m,215 Command Descriptor Block Length Register Figure 38. BFTOUT Reglstel' The COBl register (figure 41) sets parameters for the 7 Read/Wrlta o group 6 and group 7 SCS I commands (vendor unique) of 20H I BFTOUT the SCSI specifications by using the AUTOINITIATOR command and the AUTO TARGET command. BFTOUT Bua Free Timeout (at 16 MHz) Figure 41. COBL Regilltel' OOH No timeout detection Is performed 7 Read/Wrlte 0 01H 8.192 ms ~lc~lc~I~I~I~~I~~I~~I~~1 FFH 2088.928 me CL73oCL70 Group 7 SCSI Command; CDB Length 0001 1 byte Selectlon/Reselectlon Timeout Register The SRTOUT register (figure 39) sets the timeout for the 1100 12 bytes selection or reselection operation. If OOH is written to this 1101 boes not support group 7 SCSI commands register, the timeout detection function will not operate. (generates unsupported group command erro~ 1111 Figure 39. SRTOUT Reglstel' 0000 7 Read/Write 0 CL63-CL60 Group 6 SCSI Command; CDS Length 21H I SRTOUT I 0001 1 byte SRTOUT Selilctlon/R.aelactlon Timeout (at 16 MHz) 1100 12 bytes OOH No timeout detection Is performed 1101 Does not support group 6 SCSI commands (generates unsupported group command erro~ 01H 8.192 ns 1111 FFH 2088.928 me 0000 6-92 NEe I'PD72111 Mode Register Figure 43_ PIO Register The MOD register (figure 42) sets the p.PD72111 opera- 7 ReadJWrite 0 tion mode. 25H I FEN I 0 I 0 I o I 0 I PID2 I PID1 I PIOO I Figure 42_ MOO Register FE N Controller Operation 7 ReadJWrite 0 o Does not operate as Initiator 24H I DMA I HP8 I DHP I D8P I NAM 181M IRAEN ISAEN I 1 Operates as initiator PID2- "PD72111'. Own ID Number DMA Data Transfer Mode (In data-In/data-out phase) PIDO o Program I/O mode 000 0 1 DMAmode HPS DHP CPU Bus Parity 111 7 o o Odd parity o Even pa rity COMMANDS x Disable parity Descriptions DSP SCSI Bus Parity o Enable (even parity only) The CPU controls the p.PD72111 with the 16 commands described in table 3. Commands are listed in groups Disable parity according to mode-initiator/target, initiator, and target. NAM SIM Bus Arbitration execution o x Arbitration mode Command Code o Non-arbitration mode (non..slngle-initiator mode) Table 4 gives the command code, status, and type for Non-arbitration mode (single-initiator mode) each command. RAE N Responss (when reselected as Initiator by target) Command Bits. Symbols for command bits in table 4 o Does not respond are explained below. Responds Symbol Function SAEN Hesponss (when re.elected a. terget by Initiator) C1, CO Count select bits o Does not respond AT ATN signal status selection bit. (1 means the initiator is requesting the message-out Responds phase.) MG, CD Transfer information specification bits Physical ID Register The function of count select bits C1 and CO is to specify The PID register (figure 43) sets the p.PD72111 's own the value loaded to the current transfer counter: This can physicallD on the SCSI system. Zeros must be written reduce the overhead of modifying the transfer counter: to bits 6-3. See table 5. Status. Table 4 specifies the status in effect when the command is issued. Symbols are explained below. Symbol Status D Disconnect I Initiator T Target Type. Table 4 classifies commands as type A, B, or C according to the execution status defined under "p.PD72111 Processing" below. 6-93 #,PD72111 NEe Table 3. Command Functions Mode Command Name Mnemonic Function Initiator or Target CHIP RESET CRST Resets "PD72111 using software. BREAK BRK Discontinues command execution. DISCONNECT DIS Releases SCSI bus. CLEAR FIFO CLRF Clears FIFO SCSI RESET SRST Resets SCSI bus. Initiator SET ATN SETAT Sets ATN signal. RESET ACK RSTAK Resets ACK signal. SELECT SEL Selects a target. TRANSFER TFR Sends/receives data On initiator mode). AUTO INITIATOR AIN Automatically executes initiator standard operation. Target RESELECT RSEL Reselects initiator RECEIVE REC Receives data On target mode). SEND SND Sends data On target mode). AUTO TARGET ATG Automatically executes target standard operation. RE-RECEIVE RREC Reselects - Continuous execution of data-receive operation Qn target mode) RE-SEND RSND Reselects - Continuous execution of data-send operation On target mode) Table 4. Command Codes Table 5. Loading the Current Transfer Counter Command Name Command Code Status Type C1 CO Load Operation Counting Range CHIP RESET 0 0 0 0 0 0 0 0 D,I, T A 1 0 CTCH/M - OOOOH oto 256 bytes In I-byte CTCL - BTCL units BREAK 0 0 o0 0 '0 0 D,I, T A CTCH/M/L - 00000IH Single-byte only DISCONNECT 0 0 o 0 0 0 0 D,I, T A CLEAR FIFO 0 0 o 0 0 0 D,I, T A SCSI RESET o 0 0 0 0 0 0 D,I, T B p.PD72111 PROCESSING SET ATN o 0 o0 0 0 A Processing by the p.PD72111 is in either of two catego- RESETACK o 0 o0 0 1 o 0 A ries: SELECT 0 0 0 AT 0 o 0 D B • Command processing initiated by a command from TRANSFER Cl CO 0 0 0 1 0 B the CPU AUTO INITIATOR Cl CO 0 AT o 0 D C • Response processing executed by the SCSI bus sta- RES ELECT o 0 o o 0 0 0 D B tus transition RECEIVE Cl CO o MG CD 0 T B SEND Cl CO o MG CO T B Command Processing AUTO TARGET o 0 o 0 0 0 o C Command processing operations differ depending on RE-RECEIVE Cl CO o 0 0 D C the command executed. RE-5ENO Cl CO o 0 D C Type A Command. Except for CHIP RESET, the com- mand is immediately executed. Then, a new command is Table 5. Loading the Current Transfer Counter awaited. C1 co Load Operation Counting Range CH IP RESET Command. The /-IPD72111 is immedi- 0 0 CTCH/M/L - BTCH/M/L oto 16,776,960 bytes In ately reset, after which an interrupt request is generated. I-byte units 0 CTCH/M oto 16.776.960 bytes in Type Band C Commands. The issued command is - BTCH/M CTCL -OOH 256-byte units synchronized with the system clock and executed. After the command is executed, an interrupt is generated. 6-94 ttlEC p.PD72111 Response Processing Figure 45. Interrupt Prot:eaing Row When selected or reselected by another device, response processing for the device is executed. If the bus status changes during information transfer, the bus phase after the transition is detected and reported. The ~PD72111 generates an interrupt upon completing the response processing. HOST CPU PROCESSING No Execute processing according ID >~-+ request Indicated by 1ST register. Processing by the host CPU for the ~PD72111 is in either of two categories. • Command Issuance processing by request from the >-N_O_ _ Execule processing according CPU side. See figure 44. ID generated error. • Interrupt processing generated when the operation specified by the command is completed, or the SCSI bus status changes. See figure 45. Figure 44. COIIItnIInd ._nt:e Prot:ealng Row Mask interrupt request and write dala to be set to register in advance. 49T&491A 6-95 #£PD72111 NEe 6-96 t-IEC LCD CONTROLLERS 7-1 LCD Controllers NEC Section 7 LCD Controllers "PD7225 7-3 CMOS, Intelligent Alphanumeric LCD Controller/Driver "PD7227 7-13 CMOS, Intelligent Dot-Matrix LCD Controller/Driver "PD7228/28A 7-21 CMOS, Intelligent Dot-Matrix LCD Controller/Driver 7-2 f'tiEC pPD7225 CMOS, Intelligent, Alphanumeric NEe Electronics Inc. LCD Controller/Driver Description Pin Configuration The /-IPD7225 is an intelligent peripheral device de- signed to interface most microprocessors with a wide variety of alphanumeric LCDs. It can directly drive any static or multiplexed LCD containing up to 4 backplanes and up to 32 segments and is easily cascaded for larger 520 57 LCD applications. The /-IPD7225 communicates with a 521 % 5:12 55 host microprocessor through an 8-bit serial interface. It 523 50 includes a 7-segment numeric and a 14-segment alpha- 5:1. S:J numeric segment decoder to reduce system software 525 5:1 requirements. The /-IPD7225 is manufactured with a low 5 .. 51 power consumption CMOS process allowing use of a 527 So single power supply between 2.7Vand 5.5V.lt is availa- 528 COM3 ble in a space-saving 52-pin plastic flat package. 5 .. COM2 5.., COM, Features 531 COMo CLI NC D Single chip LCD controller with direct LCD drive D Low cost serial interface to most microprocessors D Compatible with - 7-segment numeric LCD configurations up to 16 digits 8J.O02798A - 14-segment alphanumeric LCD configurations up to 8 characters D Selectable LCD drive configuration: Pin Identification - Static, biplexed, triplexed, or quadruplexed No. Symbol Function D 32-segment drivers CL2 System clock output D Cascadable for larger LCD applications SYNC Synchronization port D Selectable LCD bias voltage configuration: 3-5 VLCD1- LCD bias voltage supply inputs - Static, 1/2 or 1/3 VLCD3 D Hardware logic blocks reduce system software requirements 6 Vss Ground - 8-bit serial interface 7,33 VDD Power - Two 32 x 4-bit static RAMs for display data and 8 SCK Serial ciock input blinking data storage SI Serial input 9 - Programmable segment decoding capability: 10 CS Chip select - 16-character, 7-segment numeric decoder - 64-character, 14-segment USASCII 11 BUSY Busy output alphanumeric decoder 12 C/O Command or data select input - Programmable segment blinking capability 13 RESET Reset input - Automatic synchronization of segment drivers 14 NC No connection with sequentially multiplexed backplane drivers 15-18 COMo-COM3 LCD backplane driver outputs D Single power supply, variable from 2.7V to 5.5V 19-32, 34-51 SO-S31 LCD segment driver outputs D Low power consumption CMOS technology 52 CLI System clock input D Extended - 40°C to +85°C temperature range available Ordering Information Max Frequency Part Number Package Type of Operation IIPD7225G-OO 52-pin plastic miniflat 1 MHz NECEL-000488 ",PD7225 NEe Pin Functions CS COMo-COMa Chip select input. Enabies the ~PD7225 for data input from the microprocessor. When CS is deselected, the LCD backplane driver outputs. display can be updated. So-Sa1 SYNC LCD segment driver outputs. Synchronization port. For multichip operation, tie all SYNC lines together. VLCD1-VLC03 LCD bias voltage supply inputs to the LCD voltage con- CL1 troller. Apply appropriate voltages from a voltage ladder System clock input. Connect CL1 either to CL2 with a connected across Voo. 180 kQ resistor, or to an external clock source. SI CL2 Serial input from the microprocessor. System clock output. Connect CL2 to CL1 with a 180 kQ resistor, or leave open. SCK Serial clock input. Synchronizes 8-bit serial data trans- RESET fer from the microprocessor to the ~PD7225. Reset input. Ric circuit or pulse initializes the ~PD7225 after power-up. BUSY Handshake output indicates the ~PD7225 is ready to re- VDO ceive the next data byte. Power supply positive. Apply single voltage ranging from 2.7 to 5.5 V for proper operation. c/o Command/dataselect input. Distinguishes serially in- Vss put data byte as a command or as display data. Ground. 7-4 fttfEC J.tPD7225 Block Diagram COMo-COM3 LCD Driver 32 Display Latch 32 32 VDD VLCDI VLCD2 LCD Voltage Controller Segment 32.4Bll 32.4Blt VLCD3 Decoder Display RAM Blinking RAM VSS CC~L21 ~L. ~ a_OC _____ __k ____ Oscillator ~ RESET _ Buffer Interface 8 Command Controller Decoder Sarlallnterface cs C/O iiiliY SI SCK 83<103379B 7-5 J-tPD7225 t'tIEC Absolute Maximum Ratings DC Characteristics (cont) TA=25°e TA'= - ooe to + 70°C, VDD = +2.7V to 5.5 V Power supply voltage, Voo -0.3Vto +7V Limits Test Input voltage, VI -0.3VtoVoO +0.3V Parameter Symbol Min Typ Max Unit Conditions Output voltage, Vo -0.3VtoVoo +0.3V Input voltage Vill 0.3 Voo V Except SCK low SCK Operating temperature, TOPT -10°C to + 70°C VIl2 0.2 Voo V Storage temperature, TSTG - 65°C to +150°C Input voltage VIHI 0. 7Voo Voo V Except SCK high VIH2 0.8 Voo Voo V SCK Comment: Exposing the device to stresses above those listed in Abso- lute Maximum Ratings could cause permanent damage. The device is Output voltage VOL1 0.5 V BUSY, IOl = 100 flA not meant to be operated under conditions outside the limits de· low VOl2 0.5 V IOl =400 "A, scribed in the operational sections of the specification. Exposure to SYNC absolute maximum rating conditions for extended periods may affect device reliability. Output voltage VOH Voo V BUSY, SYNC, high -0.75 IOH=-7flA DC Characteristics Input leakage ILil -2 flA Vil =0 V TA = -10°C to + 70°C, VDD = +5 V ±10% current low Limits Input leakage ILiH flA VIH=VOO Test Parameter Symbol Min Typ Max Unit Conditions current high Input voltage 0 0.3 Voo V Output leakage ILOl -2 flA VOL = 0 V Vil low current 2 ILOH flA VOH=VOO Input voltage VIH 0. 7Voo Voo V Output short los -200 flA SYNC, Vos=0.5V high circuit current Output voltage VOL1 0.5 V BUSY, IOl =1OOflA Backplane RCOM 6 kQ COMo-COM3, low 1.0 V driver output VOO>VlCD VOl2 10l = 9OO I-'A, SY'NC impedance (Note 1) Output voltage V BUSY, SYNC. Segment RSEG 12 kQ SO-S31, VOH Voo high -0.5 IOH= -10flA driver output VOO>VlCO impedance (Note 1) Input leakage ILil -2 I-'A Vil =OV current low Supply current 100 30 100 I-'A CL1 external clock, Voo=3.0V ±10%, Input leakage ILiH I-'A VIH=VOO f~=140kHz current high Note: Output leakage ILOl -2 I-'A VOL =OV (1) Applies to static-, 1/2-, and 1/3-LCD bias voltage schemes. current ILOH I-'A VOH=VOO Output short los -300 I-'A SYNC, Vos=1.0V Capacitance circuit current TA = 25°C, f+ = 1MHz Backplane kQ COMO-COM3, Limits RCOM Test driver output VOO>VlCO Parameter Symbol Min Typ Max Unit Condilions(1) impedance (Note 1) Input CI 10 pF Segment RSEG 14 kQ SO-S31, capacitance driver output VOO>VlCO (Note 1) Output C01 20 pF Except BUSY impedance capacitance 15 pF BUSY Supply current 100 250 CL1 external clock, CO2 100 I-'A f+=200kHz 1/0 GIO 15 pF SYNC capacitance Note: (1) Applies to static-, 112·, and 1/3-LCD bias voltage schemes. Clock G+ 30 pF CL1 input capacitance Note: (1) All unmeasured pins returned to 0 V. 7-6 NEe IAPD7225 AC Characteristics TA = -10De to + 70 De, VDD = +5 V ±10% Limits Limits Test Test Parameter Symbol Min TyP Max Unit Conditions Parameter Symbol Min TyP Max Unit Conditions Clock frequency f, 50 200 kHz Clock frequency f~ 50 140 kHz lose 85 130 175 kHz R=180 kQ+5% lose 50 100 140 kHz R=180 kQ+5%, Voo=3.0V ±10% Clock pulse t,WL 16 I'S CL 1, external clock width low Clock pulse t,WL 16 fls CL1, external clock width low Clock pulse t,WH 16 fls CL1, external clock width high Clock pulse t,WH 3 16 I'S CL1, external clock width high SCK cycle tCYK 900 ns SCK cycle tCYK 4 fls SCK pulse width tKWL 400 ns low SCK pulse width tKWL 1.8 fls low SCK pulse width tKWH 400 ns high SCK pulse width tKWH 1.8 flS high BUSY t to SCK + tBHK ns hold time BUSY t to SCK + tBHK 0 ns hold time SI setup time to t'SK 100 ns SCK t SI setup time to t'SK flS SCK t SI hold time tlHK 200 ns after SCK t SI hold time t'HK flS after SCK t 8th SCK t to tKOB I'S CL =50 pF BUSY + delay 8th SCK t to tKOB fls CL=50pF time BUSY + delay time CS +to BUSY + tCOB 1.5 fls CL=50pF delay time CS +to BUSY + tCOB fls CL =50pF delay time C/Ds~time tOSK I'S to 8th SCK t C/Ds~time tOSK 18 fls to 8th SCK t C/ Dhold time tOHK I's after 8th SCK t C/ Dhold time tOHK I'S after 8th SCK t CS hold time tCHK flS after 8th SCK t CS hold time tCHK flS after 8th SCK t CS pulse width tCWL 8/f, flS low CS pulse width tCWL 8/f, flS low CS pulse width tCWH 8/f, flS high CS pulse width tCWH 8/1+ fls high SYNC load CL 50 pF f,=200kHz capacitance AC Timing Characteristics All Inputs \--_________ # -------------:----------- ~'H VIL All Outputs \:==========f-----------:.---~~~L 83·0027998 7-7 ~EC 83-0028008 ,- - --, ---- -'- Sl--------------------~.r I I" I IDSK--------.l!.---IDHK~ C/D------~(~_______ - - - - )~-- 83·0028018 7-8 t¥EC JAPD7225 Instruction Set (Note 1) Operation Code Hel Command Description Code D7 De Ds D4 Da D2 D1 Do Mode Set Initialize the "PD7225, including selection of: 40-5F 0 1 0 d4 d3 d2 d1 do 1) LCD drive configuration 2) LCD bias voltage configuration 3) LCD frame frequency Unsynchronous Data Transfer Synchronize display RAM data transfer to display latch with CS 30 0 0 0 0 Synchronous Data Transfer Synchronize display RAM data transfer to display latch with LCD 31 0 0 0 drive cycle Interrupt Data Transfer Interrupt display RAM data transfer to display latch 38 0 0 0 Load Data Pointer Load data pointer with 5 bits of immediate data EO-FF d4 d3 d2 d1 do Clear Display RAM Clear the display RAM and reset the data painter 20 0 0 0 0 0 Write Display RAM Write 4 bits of immediate data to the display RAM location DO-DF 1 1 d3 d2 d1 do addressed by the data pointer; increment data painter AND Display RAM Perform a logical AND between the display RAM data addressed by 90-9F 0 0 d3 d2 d1 do the data pointer and 4 bits of immediate data; write result to same display RAM location. Increment data pointer OR Display RAM Perform a logical OR between the display RAM data addressed by BO-BF 0 d3 d2 d1 do the data pointer and 4 bits of immediate data; write result to same display RAM location; increment data pointer Enable Segment Decoder Start use of the segment decoder 15 0 0 Disable Segment Decoder Stop use of the segment decoder 14 0 0 0 0 0 Enable Display Turn on the LCD 11 0 0 Disable Display Turn off the LCD 10 0 0 0 0 0 Clear Blinking RAM Clear the blinking RAM and reset the data painter 00 0 0 0 0 0 0 0 Write Blinking RAM Write 4 bits of immediate data to the blinking RAM location CO-CF 0 d3 d2 d1 do addressed by the data pointer; increment data pointer AND Blinking RAM Perform a logical AND between blinking RAM data addressed by SO-8F 0 0 d3 d2 dl do the data pointer and 4 bits of immediate data; write result to same blinking location; increment data pointer OR Blinking RAM Perform a logical OR between blinking RAM data addressed by the AO-AF 0 d3 d2 dl do data pointer and 4 bits of immediate data; write result to same blinking location; increment data pointer Enable Blinking Start segment blinking at the frequency specified by 1bit of 1A-1B 0 0 do immediate data Disable Blinking Stop segment blinking 18 0 0 Note: (1) Details of operation and application examples can be found in the ~PD7225lntelligent Alphanumeric LCD Controller I Driver Technical Manual. 7-9 JAPD7225 NEe Operating Characteristics TA:25°C External Resistance vs Oscillation Frequency Supply Voltage vs Oscillation Frequency ~ f---'-"'-+-"'~' 140 R=1~ ""'_ _ _ _-+-_____ 1Cl2R Cll" 1 g200 ~ ..!' ...... ~ J /~ 100~----}_------~~+-~~----------}_--_1 i / 50 Lt~------t---~--po..,···:--l···· 100 200 500 I so ~ ~ R - External Resistance R (kQ) Supply Voltage Voo (V) Supply Voltage vs Supply Current 100 ~c E I 50~--}_-----+-~~~--+-------1 ~ I 201---+-----+-----1-------11 ~~~----~------~------~~ Supply Voltage VOO (V) 7-10 ~EC J-lPD7225 7 ·Segment Numeric Data Decoder Character Set Decoded Display RAM Data Triplexed Quadruplexed Display Display RAM Address Display RAM Address Byte (HEXI Character n+2 n+l n+1 n 00 a D 01 a 0 0 02 Sa 3 03 B A 04 a 6 05 8 B 06 a 5 07 Ii 08 8 3 09 a B OA Sa 3 0 0 OB a 0 OC B 0 D OD B 0 0 A OE a 6 OF II 0 0 7-11 ~ 14·Segment Alphanumeric Data Decoder Character Set 1:: "....0 N Display Display RAM Display Display RAM Display Display RAM Display Display RAM Byte Address Byte Address Byte Address Byte Address (HEX) Char. n+3 n+2 n+1 n (HEX) Char. n+3 n+2 n +1 n (HEX) Char. n+3 n+2 n+1 n (HEX) Char. 0+3 n+2 n+1 n ~ AO I " 0 0 0 0 BO I, 7 CO it A C 0 DO I J J 2 3 6 4 ~ 01 A1 Invalid B1 ~ W" 0 C1 I" 01 I, 0 8 A2 Invalid B2 It 3 C C2 I" 8 8 02 r1 3 6 C A3 Invalid B3 'I, 8 4 C3 110 0 0 03 II 0, 5 8 M Invalid B4 10 6 4 C4 Il D4 I " 8 0 A5 Invalid B5 I" 5 A C5 10 4 D5 110 6 0 A6 Invalid 86 10 5 C6 I J" 6 4 D6 10 4 0 A7 10 0 0 B7 10 0 0 C7 I, 0 4 D7 10 4 6 8 A8 10 0 0 A B8 10 C8 10 6 4 08 10 0 A A9 I" 0 B9 10 A 4 C9 I" 09 10 0 AA 10 0 BA Invalid CA 10 C 0 OA 10 8 AB 10 A BB Invalid CB 10 A DB Invalid AC Invalid BC I," 4 0 CC I ·'iIJ. 0 0 DC lm ~o 0 8 I 11 ~ AD ~~ 0 BD 0 CD DO Invalid l" AE Invalid BE [N~ ~L CE I. 6 8 DE Invalid AF IL 0 0 BF Invalid CF 1m II DF Invalid ~ NEe NEe Electronics Inc. pPD7227 CMOS, Intelligent, Dot-Matrix LCD Controller/Driver Description Pin Configuration The /APD7227 intelligent dot-matrix LCD controllerl driver is a peripheral device designed to interface most microprocessors with a wide variety of dot matrix LCDs. It can directly drive any multiplexed LCD organized as 8 rows by 40 columns, and is easily cas- C, caded up to 16 rows and 280 columns. The /APD7227 C2 C, is equipped with several hardware logic blocks, such Co as an 8-bit serial interface, ASCII character generator, R7/R15 40 x 16 static RAM with full read/write capability, and RoIR14 an LCD timing controller; all of which reduce micro- Rs/R13 processor system software requirements. The R.,JR'2 RalR11 /APD7227 is manufactured with a single 5 V CMOS pro- cess, and is available in a space-saving 64-pin plastic C2' flat package. C28 C2. Features o Single-chip LCD controller with direct LCD drive o Compatible with most microprocessors o Eight row drives - Designed for dot-matrix LCD configurations up to 280 dots - Designed for 5 x 7 dot-matrix character LCD con- figuration up to 8 characters - Cascadable to 16 row drives o 40 column drives Pin Identification - Cascadable to 280 column drives o Hardware logic blocks reduce system software No. Symbol Function requirements NC No connection - 8-bit serial interface for communication 2-24, CO,C39 LCD column driver outputs - ASCII 5 x 7 dot-matrix character generator with 47'57, 64-character vocabulary 59-64 - 40 x 16-bit static RAM for data storage, retrieval, 25 Vss Ground and complete back-up memory capability. 26, 58 Power VDD - Voltage controller generates LCD bias voltages 27 CLOCK System clock input - Timing controller synchronizes column drives with sequentially-multiplexed row drives 28 RESET Reset input o Single + 5 V power supply 29 SI Serial input o CMOS technology 30 C/D Command or data select input 31 SO/BUSY Serial output or busy output Ordering Information 32 SCK Serial clock input Max Frequency 33 CS Chip select input Part Number Package Type of Operation 34 SYNC Synchronization port IlPD7227G-12 64-pin plastic miniflat 1000 kHz 35-38 VLCD1- VLCD4 LCD bias voltage supply inputs 39-46 Ro/Rs-R7/ R15 LCD row driver outputs NECEL-000495 7-13 J.lPD7227 fttfEC Pin Functions c/o Command/data select input. Distinguishes serially in' CO-C39 put data byte as a command or as display data. LCD column driver outputs. CS RO/8-R7/15 Chip select input. Enables the ).IPD7227 for com- LCD row driver outputs. munication with the microprocessor. VLCD1- V LCD4 SYNC LCD bias voltage supply inputs to the LCD voltage Synchronization port. For multichip operation, tie all controller. Apply appropriate voltages from a voltage SYNC lines together and configure with the MODE ladder connected across VDD. SET command. SI CLOCK Serial input from the microprocessor. System clock input. Connect to external clock source. SO/BUSY RESET Serial output from the ).IPD7227 to the microprocessor Reset input. RC circuit or pulse initializes the ).IPD7227 when in read mode and C/O is low. When BUSY (ac- after power-up. tive low), handshake output indicates the ).IPD7227 is ready to receive/send the next data byte. VDD Power supply positive. Apply single voltage 5 V± 10% SCK for proper operation. Serial clock input. Synchronizes B-bit serial data transfer between the microprocessor and ).IPD7227. Vss Ground. Block Diagram cs c/o SO/BUSY SCK SI 83-(1()37958 7-14 ttiEC /APD7227 Absolute Maximum Ratings DC Characteristics TA = 25°C TA = -10°C to +70 C, VDD = +5,OV ± 10% 0 Power supply, voo -0,3 V to +7,0 V limits Test All inputs and outputs with respect to Vec -0,3 V to Voo +0,3 V Parameter Symbol Min lYP Max Unit Conditions Storage temperature, TSTG -65°C to +150°C Input voltage, high VIH 0,7 Voo Voo V Operating temperature, TOPT -10°C to + 70°C Input voltage, low Vil 0 0,3 Voo V Comment: Exposing the device to stresses above those listed in Input leakage IUH +10 I'AVIH = Voo Absolute Maximum Ratings could cause permanent damage, The current, high device is not meant to be operated under conditions outside the Input leakage -10 "AVIH = OV IUl limits described in the operational sections of this specification, current, low Exposure to absolute maximum rating conditions for extended periods may affect device reliability_ Output voltage, high VOH1 Voo-O,5 V SO/BUSY, IOH = -400 "A Capacitance VOH2 Voo-O,5 V SYNC, IOH = -100 "A TA = 25°C, VDD = OV Output voltage, low VOL1 0.45 V SO/BUSY, Limits Test IOl = +1.7 rnA Parameter Symbol Min Max Unit Condmons Input capacitance CI 10 pF f, = 1 MHz 0.45 V SYNC, IOl = + 100 "A Output capacitance Co 25 pF Unmeasured pins Output leakage ILOH +10 "AVOH = Voo Input/output 15 pF returned to current, high Cia capacitance SYNC ground, Output leakage IlOl -10 "AVOl = OV current, low LCD operating voltage VlCO 3,0 Voo V 8-row multiplexed LCD drive configuration Voo V 16-row multiplexed LCD drive configuration Row drive RROW 4 8 kO output impedance Column drive RCOlUMN 10 15 kO output impedance Supply current 100 200 400 "A fO = 400 KHz 7-15 ",PD7227 t-IEC AC Characteristics TA = -lODe to + 70 De, Voo =' +5.0V :t 10% Limits Ta.. Parameter Clock frequency Clock pulse I, Symbol Min'" 100 Max ' 1000 UnR KHz COnditions t+WH 400' ns width high Clock pulse t+Wl 400 ns width low SCK cycle tCYK 0.9 "s SCK pulse tKWH 400 ns width high SCK pUlse tKWl 400 ns width low SCK hold time tKHB 0 ns after BUSYt SI setup time tlSK 100 ns to SCKt SI hold time tlHK 250 ns after SCKt SO d~time tODK 320 ns CLOAD ;" after K~ 50 pF SO delay time tODD 2 "s after c/TI~ SCK hold time tKHD f'S after C/D~ BUSY delay tBDK 3 f'S ClOAD = time after 8th 50pF SCKt BUSY delay _ tBDD 2 f'S time after ClOt BUSY delah tBDC 2 "s time after C ~ cill se.!!!e..time tDSK "s to 8th SCKt C/O hold lime tDHK "s after 8th SCi------- 50--------- 83.Q029088 7-29 #,PD7228/28A t\'EC PBral/ellnterfBce c/o BUSY---~ STB - - - - - - - - - , 00-1l3 00-03 83OO2911B Command Summary Mnemonic Operation Instruction Code Hex Code SFF Set frame frequency 0 0 0 0 F2 Fl Fo 10H-14H SMM Set multiplexing mode a a a M2 MI Mo 1SH-1FH OISP OFF Display off 0 0 0 0 0 0 a aSH OISP ON Display on a a 0 0 0 0 asH LOPI Load data pointer with Immediate 06 05 04 03 O2 01 Do SOH-B1H, CaH-F1H SRM Set read mode 0 1 1 0 0 0 II 10 SOH-63H SWM Set write mode a a 0 11 10 64H-67H SORM Set OR mode a a 0 11 10 6SH-6BH SANOM Set AND mode a 0 11 10 6CH-6FH SCML Set character mode with left entry a 0 a a 1 71H SCMR Set character mode with right entry a a 0 0 72H BRESET Bit reset a a B2 Bl Bo Jl Jo 2OH-3FH BSET Bit set a a B2 Bl Bo J1 Jo 4aH-5FH CLCURS Clear cursor 0 1 1 1 a a 7CH WRCURS Write cursor a a 70H STOP Set stop mode 0 0 0 a 0 0 0 a1H ~-Bo Specifies a data memory bit Os-Do Immediate data F~Fo Specifies frame frequency as a submultiple of clock frequency 11-10 Specifies modification of data pointer contents after byte data is processed Jl-JO Specifies modification of data pointer contents after bit is set or reset M2-MO Specifies data memory bank, number of rows, functions of row/column drivers, and SYNC pin mode 7-30 t-lEC MEMORIES FOR GRAPHICS APPLICATIONS 8-1 Memories for Graphics Applications NEe Section 8 Memories for Graphics Applications "PD41264/42273/42274 8-3 Dual·Port Graphics Buffers ~D421 01/421 02/42505 8-1 CMOS Une Buffers ~D42270 8.. NTSC Field Buffer "PD43501 8-11 1,024-Channel Time-Division Switch 8-2 NEe NEe Electronics Inc. "PD41264/42273/42274 Dual-Port Graphics Buffers Description - Direct connection of I/O and address lines allowed by OE to simplify system design NEC's dual-port graphics buffers are equipped with a - Read, early write, late write, read-write/read- 4-bit random access port and a 4-bit serial read port. On modify-write, RAS-only refresh, and fast-page each device, the random access port is used by the host capabilities CPU to read or write data addressed in any desired order. The serial read port is connected to an internal data - Automatic internal refreshing by means of the register through a serial read output circuit. CAS before RAS on-chip address counter - Hidden refreshing by means of CAS-controlled The random access port also has a write-per-bit capa- output bility that allows each of the four data bits to be individ- - Write-per-bit capability regarding four 1/0 bits ually selected or masked for a write cycle. Furthermore, - Write bit selection multiplexed on 100 -103 a flash write option with write-per-bit control on the Cl RAS-activated data transfer "PD42274 is provided by the FWE pin and enables data - Same cycle time as for random access in the color register to be written to a selected row in the - Row data transferred to data register as specified random access port. by row address inputs The devices feature fully asynchronous dual access, - Starting location of following serial read except when transferring stored graphics data from a operation specified by column address inputs selected row of the storage array to the data register. - Transfer of data on one row to the data register, During a data transfer, the random access port requires and the starting location of the serial read circuit, a special timing cycle using a transfer clock; the serial activated by a low-to-high transition of DT read port, however, continues to operate normally. Fol- - Data transfer during real-time or standby lowing the clock transition of a data transfer, the serial operation of serial port read output data changes from an old line to a new line Cl Fast serial read operation by means of serial control and the starting location on the new line is addressable in pins the data transfer cycle. - Serial data output on SOO-S03 - Direct connection of multiple serial outputs for Refreshing is f1.pcomplished- by means of RAS-only re- extension of data length fresh cycles or by normal read or write cycles. Automatic internal refreshing, by means of either hidden refreshing Ordering Information or the CAS before RAS timing and on-Chip internal refresh circuitry, is also available. The transfer of a row of Row Access Serial Acc... Part Number Time (max) Time (max) Package data from the storage array to the data register also refreshes that row automatically. "PD41264C-12 120 ns 40ns 24-pln plastic DIP 0.15 150 ns eons All inputs and outputs, including clocks, are TTL- com- patible. All address and data-in Signals are latched on- "PD41264V-12 120 ns 40ns 24-pln plastic ZIP chip to simplify system design. Data-out is unlatched to V-15 150 ns eons allow greater system flexibility. "PD42273LE-l0 l00na 30ns 28-pln plasticSOJ Features LE-12 120 n. 40ns "PD42273V-l0 100 ns 30ns 28-pln Cl Two data ports: random access and serial read plastic ZIP V-12 120 ns 40ns Cl Dual-port accessibility except during data transfer Cl Addressable start of serial read operation "PD42274LE-10 100 na 30 ns 28-pln plastic SOJ Cl Real-time data transfer LE-12 120 ns 40 ns Cl Random access port "PD42274V-10 100 na 30 ns 28-pln - Two main clocks: RAS and CAS plastic ZIP V-12 120 na 40 ns - Multiplexed address inputs Contact your NEC sales representative for copies of the complete data sheets. 8-3 "PD41264/42273/42274 NEe Comparison of Dual-Port Graphics Buffers Features I'PD41264 I'PD42273 I'PD42274 Density 256K 1 Meg 1 Meg Organization 64Kx4 256Kx4 256Kx4 Serial data register 256 x 4 512x4 512x4 Refresh period 4ms 8ms 8ms Refresh addresses 256 512 512 Flash write No No Yes Process NMOS CMOS CMOS Pins 24 28 28 Block Diagram §=] COunter 0 I Column Decoder I N-1 NI4' Common .......- W()fIOo .......- WI"OI va ----- -· Buffer W21102 Sense Amps ,....- I-- ....-- 1= Colo 4t ----- W3i103 • ~ OJ i J j 0 I I I I Storage Cell Array 1 II: Color ReglS1er • I t::== -'-- ~~ J Transfer Gates I r- SOo I Data I ~ Serial r- SOl • I- Register Output Buffer r- S02 Ad;' I--- S03 SO Counter 0 I Selector IN-I N SOE 1 RAS CAS ffiJii'E Timing Generator wBiWE (~PD42274 only) FWE -~~_ _ _.J 83IH·5tl35B 8-4 t-IEC NEG Electronics Inc. #,PD42101/42102/42505 CMOS Line Buffers Description Ordering Information Read Cycle Write Cycle NEC's dual-port line buffers are fabricated with a silicon- Time (min) Package Device Time (max) gate CMOS process and can execute asynchronous read "PD42101C-3 34 ns 34 ns 24-pin and write cycles at high speed. They also can be used as plastic DIP a time axis converter or a digital delay line of up to the C-2 34 ns 69 ns length of the line buffer (at maximum frequency, the C-1 69 ns 69 ns minimum delay line length is 10 bits). "PD42101 G-3 34 ns 34 ns 24-pin plastic mlniflat G·2 34 ns 69 ns Applications include NTSC and PAL digital television systems, image processing in facsimile machines, plain G·' 69 ns 69 ns paper copiers, video systems, and other optical scan- "PD42102C-3 28 ns 28 ns 24-pin ners; time base correction in video playback systems; plastic DIP C-2 28 ns 56 ns and data communication buffering in multiprocessor C-1 56 ns 56 ns systems and local area netwOlKs. "PD42102G-3 28 ns 28 ns 24-pln plastic mlniflat Features G-2 28 ns 28 ns G-1 56 ns 56 ns o Dual-port operation "PD42505C-50 50 ns 50 ns 24-pin o Image processing and data communications plastic DIP systems applications C-75 75 ns 75 ns o Asynchronous and simultaneous read/write C-50H 50 ns 50 ns operation C-75H 75 ns 75 ns "PD42P05\'-50 50 ns 50 ns 28-pin plastic ZIP V-75 75 ns 75 ns V-50H 50 ns 50 ns V-75H 75 ns 75 ns Contact your NEe sales representative for copies of the complete data sheets. 80021 8-5 "PD42101/42102/42505 t-IEC Block Diagram -- FiE - Read RCK Control RsTR Read I-- Row Selector. rl 8 7-:r-- Data Input Column Write Buffers Selector. Dual-Port Storage Cell Array Read Column Selectors Data Output Buffers r+- DOUTO - DOUT7 L. Write Row Selector. ~ WE WCK RSiW -- Write Control 83SL-&1S4B Comparison of Dual·Port Une Buffers rising edge of WCK. New data written to a particular F.atu"" 1'1"042101 "PD42102 "PD42505 address is available for reading after 1/2 write cycle + Organlzatlon 910x8 1135x8 5048x8 500 ns (maximum). Speeds (ns) 34 or 69 28 or5B 50 or 75 The access time of the read cycle is measured from the 4fsc digital television system NTSC PAL rising edge of RCI<, either by tACR for an access during the first cycle directly after a reset begins, or by tAcfor an Maxlmum digital delay (clocks) 910 1135 5048 access under other conditions. Stored data is read non- destructively; data can be repeatedly read within a OPERATION prescribed time of 5 ms maximum (20 ms maximum for Reset Cycle H versions). NEC's line buffers require the initialization of internal Time Axis Conversion circuits using the RSTWJRSTR reset signals before start- ing operation as a time axis converter or a digital delay In order to use these line buffers as time axis converters line. write and read cycles must be controlled independentl~ First, write/read ports are initialized separately using the A reset cycle can be executed at anytime and does not reset signals. Then, write cycles are executed in synchro- depend on the state of RE or WE. However, RSTW and nization with WCK and write data is stored sequentially RSTR must satisfy required setup and hold times as from address 0 of the device. Afterward, when a read measured from the rising edges of WCK and RCK. cycle is executed in synchronization with RCK, stored WrltelRead Cycle data can be read sequentially from address o. Since write and read. cycles can be executed Indepen- Write and read cycles are synchronized to their respec- dently, data loaded at one arbitrary drive frequency can tive WCK/RCK inputs a~ executed individually when be read at another arbitrary drive frequency. In this WCK or RCK is high and WE or RE is low. Write data must sense, the line buffer functions as a time axis converter. satisfy the setup and hold times as specified from the 8-6 1tt{EC "PD42101/42102/42505 Digital Delay Line continuously and the delay line length is small. Note that the minimum delay line length is 10 bits (for maximum NEe's line buffers can also easily be used as digital delay frequency operation) and the maximum is the length of lines. After initializing the internal circuits using simulta- the line buffer. neous RSTW/RSTR signals, write/read cycles are exe- cuted simultaneously by supplying the same pulse to the A data delay of less than the line length can also be write clock (WeI<) and read clock (ReI<). The write data obtained by applying the RSTW and RSTR signals at is always read after the full line delay if neither write nor different times. For example, data is loaded for u m" read operation has been inhibited. This is the essential cycles after RSTW and then this data is read after delay line function. supplying RSTR. In the case, since write data can be read from the beginning after a delay of u m" cycles, the device If either WE or RE is set at a nonselected (high) level for can be used as an Um-bit" digital delay line. several cycles while the other is maintained at a selected (low) level, the delay line length can differ from the line The RSTW/RSTR reset signals can also be simulta- length. neously loaded at every 1H (horizontal line) period. In this case, write data loaded in the previous line cycle is For example, if only WE is set to a high level (write read out from the beginning as read data after the reset. disable ) for a small number of cycles, read cycles are Therefore, a delay line length can be obtained according executed continuously and the delay line length is large. to the length of the reset Signals supplied. Alternatively, if only RE is set to a high level (read disable) for a small number of cycles, write cycles are executed 8-7 p.PD42101/42102/42505 t-IEC 8-8 !\fEe pPD42270 NEe Electronics Inc. NTSC Field Buffer Preliminary Information Description Features The tJPD42270 is a field buffer designed for NTSC TV D Three functional blocks applications and for other applications where serial - Four 263-line x 910-bit storage planes data is needed. Equipped with four planes of 263-line - 910-bit write register for each plane by 910-bit storage, the tJPD42270 can execute serial - 910-bit read register for each plane write and read cycles on any of the 263 lines. Within a D Two data ports: serial write and serial read line, four planes of 910 bits each may be written or read D Asynchronous operation at the NTSC sampling rate of 4fsc. - Dual-port accessibility - Carry-out capability to indicate position of scan Each of the four planes in the tJPD42270 is equipped line with two ports, one each for the write and read data - Line jump, line hold, line reset, and pOinter clear registers. Each of the registers is split into two 455-bit functions segments, but functions as if it were organized as one D Synchronous operation scan line of 910 bits. Independent control of write and - Variable field length: 260 to 263 lines read operation makes it possible for the device to - Variable last line length: 896 to 910 bits operate synchronously or asynchronously at a clock D Automatic refreshing frequency of 14.3 MHz or higher. D CMOS technology The synchronous option simplifies interframe lumi- D Fully TTL-compatible inputs, outputs, and clocks nance (Y) and chrominance (C) separation and inter- D Three-state outputs field noise reduction and makes it easy to obtain a D Single +5-volt ±10% power supply one-field delay line for digital TV and VCR applica- D On-chip substrate bias generator tions requiring NTSC 4fsc sampling. To obtain a very D Standard 400-mil, 28-pin plastic DIP packaging long delay, field length can be configured from 260 to 263 lines and line length of the last line from 896 to 910 bits. The asynchronous option is useful in applications such as frame synchronization and time base correc- tion, where line jump, line hold, line reset and pointer clear functions are required to support special effects in TV field processing. Regular refreshing of the device's dynamic storage cells is performed automatically by an internal arbitra- tion circuit. All inputs and outputs, including clocks, are TTL-compatible. The tJPD42270 is packaged in a 400-mil, 28-pin plastic DIP and is guaranteed for operation at -20 to +70°C. Ordering Information Access Time Cycle Time Part Number (maxi (mini Package I'PD42270C-60 40 ns 60 ns 28-pin plastic DIP Contact your NEC sales representative for a copy of the complete data sheet. NECEL-001080 8-9 IIPD42270 t-{EC Block Diagram - I oINO- 0 IN3 I - Refresh Timer r- I Write Bit Pointer I Write Bit Pointer D LSO-LSt - r--- Write Scan 1 J Write Data Register l.! IWrite Data Register ~ I ! * I::J- Data Input Buffer ~ BSO/WCO - Line BSt/RCO - Pointer II BS2/WLH - -I-- BS3/RLH - MODE - Read 910 Bits Per Line . r- Seen ~ WCK- Line Pointer w- Timing Scan Storage Cen Array WCLR- Generator Line 263 Lines WLRST - SeleCtor Per Plane WLJ- RCK- OE- RCDi- H-~ Counter I-- RLRST - '--- RLJ- l.~ J il Read Data Register I Read Data. Register ~ I-f Data Output Buffer I I I Read Bit Pointer I Read Bit Pointer I U DOUTO-DOUT3 83-0052008 8-10 ~EC pPD43501 1,024-Channel NEG Electronics Inc. Time-Division Switch Preliminary Information Description Features The,uPD43501 is a time-switch device designed for use o Separate switch storage and control storage to in a high-performance digital communications net- allow construction with one VLSI device of a non- work. Features include a time-switch function by blocking switching network having a maximum which up to 1,024 channels can be exchanged using capacity of 1,024 channels a 16-bit data width, and a tone output function by which o Selectable operation an 8-bit tone signal can be output to an arbitrary - 1,024 by 1,024 serial input and output channel. - 1,024 by 1,024 parallel input and output Two planes of 1-kword by 8-bit storage area and one • 16.384 MHz operating frequency plane of 1-kword by 10-bit control storage area for the • 8.192 Mbps data transfer rate time-switch function enable the ,uPD43501 to realize - 512 by 512 parallel input and output switching modes in which arbitrary 1,024 or 512 input • 8.192 MHz operating frequency channels can be connected to arbitrary 1,024 or 512 • 4.096 Mbps data transfer rate output channels. The configuration of the tone signal o Switching flexibility output section, one plane of 64-word by 8-bit tone - 8- or 16-bit data width storage area and one plane of 1-kword by 8-bit tone - n by 64 kbps connection control storage area, allows the device to output up to o Tone signal output function 64 different tone signals to an arbitrary output channel o 8 by 8 space switch for an 8.192 Mbps, 128-channel as 8-bit voice/tone data. multiplexed line o CPU interfaces for the control storage and tone Ordering Information control storage Part Number Data Transfer Rate [max) Package o Low power consumption: 1000 mW (typ) pPD43501R 8.192 Mbps 132-pin ceramic pin grid o TTL-compatible inputs and outputs array (PGA) o 132-pin ceramic pin grid array packaging NECEL-1540V2 8-11 pPD43501. fttfEC Switching Functions Mode 0 In this mode, the pPD43501 inputs eight 128-channel serial converters in the transmission section, where it multiplexed lines from ports 5100 through SID? (or is converted to serial data and then output to the from ClOD through CIO?) and outputs eight 128-channel appropriate output ports. multiplexed iines to ports 5000 through SOD? (or COoo With this switching function, the data in an arbitrary through COO?). Referto figure 1 for a functional pin time slot on the input side can be output as data in an diagram. arbitrary time slot on the output side. Furthermore, in Serial input data from the input ports first is converted addition to the time division switch function, a space to parallel data by the serial-to-parallel converters in switch function enables switching time slots on any of the receive section, and then multiplexed and sent to the eight input ports to be output on any of the eight the input section of the switch storage area. Since the output ports. This means that a nonblocking 8 x 8 write address counter is synchronized with input data, space switch for 128-channel multiplexed lines can be the write address of the switch storage area corre- realized. sponds to the time slot number of the input signal. Writing multiplexed data to the switch address speci- Mode 1 fied by the write address counter causes input data in Mode 1 makes it possible for the pPD43501 to input the time slot corresponding to the switch address 512-channel multiplexed lines (4.096 Mbps by 8 bits), 8 always to be stored at that address (figure 2). bits in parallel, and output 512-channel multiplexed Conversely, a .control storage address corresponds to lines, 8 bits jn parallel. The input signals received on an output-side time slot number, and the data in control the input ports are sent to the switch storage area in storage indicates the switch storage address, i.e., the parallel, after which the same switching functions input-side time slot number is stored at the control described in Mode 0 are then performed. storage address corresponding to the output-side time slot to which the input-side is transferred. Mode 2 The address signal is sent from the read address In Mode 2, the pPD43501 inputs 1,024-channel multi- counter to control storage in synchronization with plexed lines (8.192 Mbps by 8 bits), 8 bits in parallel, each output-side time slot. Data read out by this and outputs 1,024-channel multiplexed lines, 8 bits in operation is then sent to the switch storage area as the parallel. The input signals received on the input ports address signal, and the data in the specified address are sent to the switch storage area in parallel, after (input-side time slot) is then read out on the output side which the same switching functions described in and switched. Switched data is sent to the parallel-to- Mode 0 are performed. 8-12 t-IEC J,lPD43501 Block Diagram ~ - SIP orPIN DIN WE Switch Storage 2 DOUT PIS or POUT -- COoo- C007 ADo AD1 1 - WE -- ~ DIN DOUT SOoo- SIP PIS Switch S007 or or Storage 1 PIN POUT ADO ADl DOUT I DIN I WE I --- Tone Storage I WAoo-WA09 ADO ADl Write WCOO-WC09 Address CTlD Counter RST -- TSEl FH ClK -- --- ClK1 Timing DOUT1 DOUTl ClK2 Generator Tone- Control MODO Control Storage Storage MOD1 TSPo TSP1 -- .- DOUT2 ADl DIN t-r-t- ADo DIN AD1 DOUT2 t- ADO SEl: Selector SIP: Serial-to-Parallel Converter PIS: Parallel-to-Serial 1 ~ J I I I Converter RAOO-RA09 Read Address Counler II CPU Interface I ~ ~ f f f f f 1 1 f f t RCRY TRCR RCTl RCoo- VC5TC TONE ADST DTST SCNl SCN2 DBB- DBo- RC09 DB9 DB7 83-0052188 8-13 pPD43501 Time Slot Versus Frame Configuration ModaO Sloo! (ILO) SIOO(OLO) Sloo' (IL7) Sarlal Data TDSWLSI Sarlal Data i Sioo (OL7) 1024 x 1024 FH CLK Frame Configuration .. 1251'" • FH .Jl iJ (( rL Siro I TSO (ILO CHO) TS8 (ILO CHI) r ,} TSl016 (ILO CH127) I I I TS7(1L7CHO) TS15 (IL7 CHI) -ft TSl023 (IL7 CH127) Sl07 i, ~ ~oo I TSO (OLO CHO) TS8 (OLO CHI) I r"I TS1016 (OLO CHI27) I I ( I S007 TS7 (OL7 CHO) TS15 (OL7 CHI) /I TS1023 (OL7 CHI27) " Tlma Slot Configuration 122n_ • • FHJ fJ- CLK •I't=r: Sl oo 87 86 85 84 83 82 81 80 87 86 I I \.. TS ./ I I ,I't=r: I SI 07 87 86 85 84 83 82 81 80 87 86 ~ SOoo I I \... 87 86 85 84 TS 83 82 81 80 ./ 87 I I 86 I I 't=r: I I , I so:U I 87 86 85 84 83 82 81 80 87 86 ) 't=r: I Notss: = [I) IL Input IIna = [2) OL output IIna [3) TS = tima slot = [4) CH channal 83IH-52158 8-14 NEe PACKAGE DRAWINGS 9-1 Package Drawings Section 9 Package Drawings Package/Device Cross-Reference 9-3 28-Pin Plastic SOP (375 mil) 9-6 3O-Pin Plastic Shrink DIP (400 mil) 9-6 4O-Pin Plastic DIP (600 mil) 9-8 4O-Pin Ceramic DIP With Side-Brazed Leads 9-7 (600 mil) 4O-Pin Cerdip (600 mil) 9-8 44-Pin PLCC 9-9 48-Pin Plastic DIP (600 mil) 8·10 52-Pin Plastic Miniflat (3.5-mm leads) 8·11 52-Pin Plastic Miniflat (1.8-mm leads) 8·12 52-Pin PLCC 8·13 64-Pin Plastic Miniflat 8·14 64-Pin Plastic Shrink DIP (750 mil) 9-15 68-Pin PLCC 9-18 74-Pin Plastic Miniflat 9-17 8O-Pin Plastic Miniflat (2.35-mm leads) 9-18 8O-Pin Plastic Miniflat (1.8-mm leads) 9-18 84-Pin PLCC 9-20 94-Pin Plastic Miniflat 9-21 100-Pln Plastic Miniflat 9-22 132-Pln Ceramic PGA 9-23 9-2 ttlEC Package Drawings Package/Device Cross-Reference Package Device, ,.PD Package Device, ,.PD 28-Pln Plastic SO P (375 mlO 71065G 52-Pin PLCC 72001L 72001L-ll SO-Pin Plastic Shrink DIP (400 mil) 71066CT 72061L 40-Pin Plastic OIP (600 miO 765AC2 72067L 765B 64-Pin Plastic Mini!lat 7227G-12 7201AC 72001C 64-Pln Plastic Shrink DIP (750 mil) 72111CW 720010.11 72185CW 720200.8 68-Pin PLCC 72022L 72061C 72111L 72065C 72185L 72065BC 74-Pin Plastic Mini!lat 72111GJ-5BJ 40-Pln Ceramic DIP With Side-Brazed Leads 7201 AD 80-Pin Plastic Mini!lat (2.35-mm leads) 7228G-12 (600 mil) 7220AD 7228AG-12 7220AD-l 7220AD-2 80-Pin Plastic Mini!lat (1.8-mm leads) 72022GF-3B9 7261AD 72068GF-3B9 7261 BO-18 54-Pin PLCC 72068L 7261 BO-23 72069L 40-Pin Cerdip (600 miQ 7262012 72120L 7262018 72123L 44-Pin PLCC 72065L 94-Pln Plastic Mini!lat 72120J-5BG 72065BL 72123GJ-5BG 48-Pin Plastic DIP (600 miQ 72067C 100-Pin Plastic Mini!lat 72069GF-3BA 52-Pin Plastic Mini!lat (3.5-mm leads) 7225G-OO 132-Pin Ceramic PGA 72123R 72065G 52-Pin Plastic Mini!lat (1.8-mm leads) 72001 Go.3B6 72001GC-3B6-11 7202OGo.8-3B6 72061 Go.3B6 72065GC 72065BGo.3B6 72067Go.3B6 9-3 Package Drawings ttiEC 9-4 t-IEC Package Drawings 28-Pin Plastic SOP (375 mil) Item Mlilimelers Inches 28 17 A 18.07 max .711 max B 10.3±O.3 .406 ±.012 c 7.2 .283 o 2.9 max .114max E 2.50 .098 F 1.6 .063 G 1.27 [TP] .050 [TP] H 0.8±O.2 .031 ±.008 0.78 max .031 max 0.40 ~:~~ .016 ~:~~~ K 0.15 ~:~~ .006 ~:~~~ 0.12 .005 M 0.1 ±O.1 .004±.004 P28GM·5()..375R 831H·5751 B (6189) 30-Pin Plastic Shrink DIP (400 mil) Item Millimeters Inches A 28.46 max 1.120 max B 10.16 [TP] .400 [TP] C 8.6 .339 0 5.08 max .200 max E 4.31 max ·.170 max F 3.2±O.30 .126±.012 G 1.78 max .070 max H 1.778 [TP] .070 [TP] 0.85 min .033 min i~D J 0.51 min .020 min K a.50 ±O.10 0.20 ±.004 / J u~, 0.25 ~:6~ .010 ~:gg~ ~I I I M 0.17 .007 Gi-- ! I I 'I I I 0Il--i I-- TI --II-. L 0-15" S3OC·70-400B 83vQ.61398 (6/89) 9-5 Package Drawings ttlEC 4D-Pln PI••tlc DIP (600 mil) Hem Millimeter. Inch.. A 53.34 max 2.100 max B 15.24 [TPJ .600[TPj C 13.2 .520 0 5.72 max .225 max 40 21 4.31 max .170 max ~; E F 3.6:1:0.3 .142±.012 G 2.54 max .100 max H 2.54I!Pj .100 I!P) I 1.2 min .047 min J 0.51 min .020 min K L 0.50:1:0.10 0.25 ~:~~ .020:1:.004 .010 ~:gg: : : : : : : : : : A: : : : : : : : : ; I M 0.25 .010 9-6 t-lEC Package Drawings 4O-Pin Ceramic DIP With Side-Brtu.ed Leads (600 mil) Item Millimeters Inches A 53.34 max 2.100 max B 2.54 max .100 max C 2.54 (TP) .100 (TP) 0 0.46 ±0.05 .018 ± .002 F 0.92 min .036 min G 3.5 ±0.3 .138 ±.012 H 1.0 min .039 min I~ 2.64 .104 L J 4.57 max .180 max K' 15.24 (TP) .600 (TP) L 14.93 .588 M 0.25 ±0.05 .010 ~:gg~ N 0.25 .010 * Item K to center of leads when formed parallel. 40 21 I. 20 .1 A P40D-100-s00A 49NR·526B (5/89) 9-7 Package Drawings t\'EC lID-PIn Cerdlp {6tJD mil} Item Millimeters Inches A 53.34 max 2.100 max B 2.54 max .100 max C 2.54 (TP) .100 (TP) 0 O.SO ±0.10 .020 + .004 -.005 F G 1.2 min 3.5 ±0.3 .047 min .138 ±.012 w H 0.51 min .020 min L "I I 3.80 .150 I'i' t j\~ 5.08 maX .200 max K" 15.24 (TP) .600 (TP) L 13.21 .520 M 0.25 ±0.05 .010 ~:gg~ N 0.25 .010 " Item K to center of leeds when formed parallel. -li- M 0-15° 49NR-53OB (8180) 9-8 NEe Package Drawings 44-PinPLCC Itam A B Millimeters 17.5 ±O.2 16.58 Inche. .689 ±.008 .653 rF: ~ C 16.58 .653 D 17.5 ±O.2 .689 ±.008 E 1.94 ±O.15 .076 ±.OO6 44 F G 0.6 4.4 ±O.2 .024 .173 ±.008 + C D H 2.8 ±O.2 .110 ±.008 111 I 0.9 min .035 min J 3.4 .134 K 1.27 (!Pl .050 (TP) M 0.40 ±O.10 .016 ±.004 N 0.12 .005 P 15.50 ±O.20 .610 ±.008 Q 0.15 .006 T 0.8 radius .031 radius F U 0.20 j:rig .008 ::gg: G P44L-SOAt .... 83Y........ 9-9 Package Drawings NEe 48-Pln "'.,11: DIP (6110 mil) Item Millimeters Inch.s A 63.50 max 2.500 max B 15.24 [TP] .600 [TP] C 13.8 .543 D 5.72 max .225 max 46 25 E 4.31 max .170 max F 3.6:1:0.3 .142:1:.012 G 2.54 max .100 max H 2.54[TP] .100 [!P] I 1.1 min .043 min J 0.51 min .020 min K 0.50:1:0.10 .020:1:.004 L 0.25 :g:~~ .010 ::gg: A 24 I M 0.25 .010 []] c If --t~ f 0-lSO P48C-100-&00A 83vQ.6t388 (81891 9-10 NEe Package Drawings 52-Pin PIe.tlc Mlnltl., (3.5-mm leads) A Item MIllimeters Inches A 21.0 ±0.4 .827 ±.016 B 14.0 ±0.2 .551 ~:gg~ c 14.0 ±0.2 .551 ~:g: 0 21.0 ±0.4 .827 ±.016 F 1.0 .039 G 1.0 .039 H 0.40 ±0.10 .016 ~:g~ C 0 0.20 .008 1.0 (TP) .039 (TP) K 3.5 ±0.2 .138 ~:gg~ l 2.2 ±0.2 .087 ~:g: t M N P Q 0.15 ~g:6g 0.15 2.6 ~g:~ 0.1 ±0.1 .006 ~:gg~ .006 .102 ~:gg~ .004 ±.004 F J @l I @10 K ~mooioon]niJ+ Q ~ l~ P52G-100.00 ,..... 49NA·5368 ) 9-11 Package· Drawings .-PIn ",..,It: """"., (t.B-mm""j hem MIllimeters Inches A A 17.6 ±0.4 .693 ±.016 B 14.0 ±0.2 .551 ~:gg: C 14.0 ±0.2 551 +.009 . -.008 0 17.6 ±0.4 .693 ±.016 F 1.0 .039 G 1.0 .039 C 0 H 0.40 ±0.10 .016 ~::: 0.20 .008 1.0 (TP) .039 (TP) K 1.8 ±0.2 .071 ~:g: L 0.8 ±0.2 .031 ~:gg: M 0.15 ~g:cig .006 ~:g~ N 0.15 .006 P 2.7 .106 I$l I ®10 Q 0.1 ±0.1 .004 ±.004 R 0.1 ±0.1 .004 ±.004 Enlarged detail of lead end S 3.0 max EE+I+ .119 max Q R '(9NR-493B (Hit 9-12 NEe Package Drawings 52-Pin PLCC nam A B Millimeters 20.1 :to.2 19.12 Inche. .791 ±.008 .753 F: C 19.12 .753 D 20.1 :t02 .791 ±.008 E 1.94 :to.1S .076 ±.008 F 0.6 .024 52 G 4.4 :to.2 .173 ±.008 C D H 2.8 :to.2 .110 ±.008 0.9 min .035 min J 3.4 .134 K 127 [P! .050 [P! M 0.40 :to.10 .016 ±.004 N 0.12 .005 P 18.04 :to.20 .710 ±.008 Q 0.15 .008 T 0.8 radius .031 radius U 0.20 :+g:~ .008:,":~ F G P52L-sMt 9-13 Package Drawings tJ4..Pln Pla.tlc .,,,,,,., A Rem Millimeters Inches B A 24.7 ±0.4 .972 ::g1~ B 20.0 ±0.2 .795 : : : : c 14.0 ±0.2 .551 : : : : 0 18.7 ±0.4 .736 ±.016 F 1.0 .039 G 1.0 .039 C 0 H 0.40 ±0.10 .016 : : : : 0,20 .008 1.0 (TP) .039 (TP) K 2.35 ±0.2 .093 ::gg~ L 1.2 ±0.2 .047 ::gg: M 015 +0.10 _', -0.05 .006 ::gg; N 0.15 .006 P 2.05 +0.2 ·081 ::gg~ 1$1 I @10 -0.1 ,0 0.1 ±0.1 .004 ±.004 P64G-100-12, 18 49NR·5438 (8189) NEe Package Drawings 64-Pln Plastic Shrink DIP (T50 mil) 64 33 ~----------------------A----------------------~ K @l M@1 Hem Millimeters Inches A 58.68 max 2.310 max B 19.05 (TP) .750 (TP) C 17.0 .669 D 5.08 max .200 max E 4.31 max .170 max F 3.2±O.3 .126±.012 G 1.78 max .070 max H 1.778 (TP) .070 (TP) I 0.9 min .035 min 0-15' J 0.51 min .020 min K 0.50 ±O.10 .020±.004 L 0.25~g:ri~ :010~:gg~ M 0.17 .007 518. P64C-7o-750A, C 83YL-5560B 9-15 Package Drawings tI,-PIn PLCC A B 111m A B Mlilimete,. 25.2iO.2 24.20 Inch.. .992:1:.008 .953 Ii' CC[]CCCCC C 24.20 .953 D 25.2iO.2 .992:1:.008 E 1.94iO.15 .076~:g: F 0.6 .024 G 4.4iO.2 .173~:= 68 H 2.8iO.2 .110~:= + C D I 0.9 min .035 min J 3.4 .134 K 1.27 !!~ .050(T~ M 0.40iO.10 .016~:~ N 0.12 .005 P 23.12iO.2O .910~::: Q 0.15 .006 T 0.8 radius .031 rBd"IUS U 0.20+0·10 008+.004 F -0.05 . -.002 G T 5180 83VL..&S818 9-16 ttlEC Package Drawings 74-Pin Plastic Mlnlflat Item Millimeters Inches A B A 23.2 ±0.4 .913 ~:g~~ B 20.0 ±0.2 .787 ~:gg: F2 c 20.0 ±0.2 .787 ~:gg: 0 23.2 ±0.4 .913 ~ :g~~ F1 2.0 .079 F2 1.0 .039 G1 2.0 .079 G2 1.0 .039 H 0.40 ±0.10 .016 ~:gg~ 0.20 .008 1.0 (TP) .039 (TP) K 1.6 ±0.2 .063 ±.002 L 0.8 ±0.2 .031 ~:gg~ F1 M 0.15 ~g:~~ .006 ~:gg~ N 0.15 .006 P 3.7 .146 Q 0.1 ±0.1 .004 ±.004 R 0.1 ±0.1 .004 ±.004 S 4.0 max .158 max Enlarged detail of lead end S74GJ·100·5BJ H;4 Q R 49NR-347B (6/89) 9-17 Package Drawings NEe IItJ-Pln PI.,ic ",nit,., (2.35mm IeIIds) item Mllllmet.... Inch.. A A 24.7±OA .972:1:.018 B l!O.O±O.2 .787 ~:~ C 14.0±O.2 .551 +.009 -.00& 0 1&.7±O.4 .736:1:.018 F 1.0 .039 G 0.& .Q31 H 0.35±O.10 .014 :::~ 0.15 .ooa J 0.8 (TP) .Q31 CTPI K 2.35±o.2 .ass +.009 -.00& L l.2±O.2 J)47::~ M 0.15 ~~g .ooa +.004 -.002 N 0.15 .006 P 2.05 ~~ .0&1 ~:gg: R 0.1 to.l .004:1:.004 9-18 t-IEC Package Drawings SO-Pin Pls.tic MlniflBt (I.B-mm IfIIIds) Item Millimoto .. Inch •• A 23.6±O.4 .929±,016 B 20.0±O.2 .7Pi7 ::~ C 14.0±O.2 .551 +.009 -.008 D 17.6:10.4 .693 ±.016 F 1.0 .039 G 0.8 .031 H 0.35:10.10 .014 ::~ 0.15 .005 J 0.8 (TP) .031 (TP) K 1.8±O.2 .071 ::~ L 0.8±O.2 .031 ::~ 0.15 ~:~ M .005 +.004 -.002 N 0.15 .005 P 2.7 .106 Q 0.1 ±O.1 .004±.004 R 0.1 ±O.1 .004±.004 S 3.0 max .118 max Pin Detail PSOGF·8Q·3B9 83IH·S543B (6189) 9-19 Package Drawings ttlEC B4-PinPLCC ----------I3-C D F G T ~--~----------p---------------~ 83YL·SSOGB P84L--50A3 I"'~ 9-20 ttlEC Package Drawings 94-Pin PI••tic lIinitl.t A Item Millimeters Inches • A 23.2 ±O.4 .913 +.017 -.016 B 20.0 ±O.2 .787 +.009 -.006 20.0 ±O.2 +.009 .787 -.008 C D 23.2 ±O.4 .913 ~:g~~ Fl 1.6 .063 F2 0.8 .031 Gl 1.6 .063 G2 0.8 .031 H 0.35 ±O.10 .014 +.004 -.005 ~~--------+--------~~ C D 0.15 .006 J 0.8 (TP) .031 (TP) K 1.6 ±O.2 .063 ±.006 L 0.8 ±O.2 .031 +.009 -.008 M 0.15 ~:ci~ .006 +.004 -.003 N 0.15 .006 P 3.7 .146 Q 0.1 ±O.1 .004 ±.004 R 0.1 ±O.1 .004 ±.004 S 4.0 max .158 max Detail of lead end R Q 6/89 S94GJ-8~5BG 83YL·5810B 9-21 Package Drawings ftiEC 'DO-Pin Pillstic Minlfillt A Item Millimeters Inches • A 23.6 ±O.4 .929 ±.016 B 20.0 ±O.2 .787 ~:gg: C 14.0 ±O.2 .551 ~:gg: D 17.6 ±O.4 .693 ±.016 F 0.8 .039 G 0.6 .031 H 0.30 ±O.10 .014 ~:gg~ I 0.15 .006 -l=$;:I-------+------4$~ C D J 0.65 (TP) .031 (TP) K 1.8 ±O.2 .071 ~:gg: L 0.8 ±O.2 .031 ~:gg: M 0.15~:ri~ .006 ~:gg~ N 0.15 .006 P 2.7 .106 a 0.1 ±O.1 .004 ±.004 G R 0.1 ±O.1 .004 ±.004 CD S 3.0 max .118 max Detail 01 lead end P100GF-65-38A R a 6/89 83YL-S811 B 9-22 t-IEC Package Drawings 132-Pin Cer.mlc PGA A P N M L K J H G FED C B A ," o0 0 0 0 0 0 0 0 0 0 0 0 0 1 14 r :\ "' o 0 o 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13 12 000 000 11 000 000 10 0 o 0 000 9 0 0 o 0 0 o 0 8 0 0 0 0 o 0 7 0 o 0 1 0 0 0 6 0 o 0 0 o 0 5 o.~o: ~: ; 000 '- '...J o 000 0 0 0 0 0 000 0 0 0 0 0 0 o 0 0 0 2