GENERAL INSfRUMENT ::' .' .~.' , " ',', ' M,icroelectronics,' , ',' ': Data· CcltJtlog· ',-' I,'., liKI_x, "e.'Telephony:,"" ,'- , 'I' ,'., PIJri Number Index " ' 0i~18rs a MUltl-F.requenqy:Gelterators ndex ' Functional I ,Code'Converslon ,. Programable9iaJers'; , ' 1. D8ta ",'" ~ead Only Memories Keyboard Encoder ! eo,nmunlc:alto.. Chara~ Generatol1!! .Spaecll ROMs , UARd Devices _ Clocks , Appliances a,Remote,Control ",',:,,3. Alterable,' EleotrlcaJly" ',- 8.,ULAa High Speed CMOS UncommlJ{ed Nori~Volatlle ' L~IC Arrays (ULAs)',' ," , Meinory/EANVM , e.,Vldeo, : Electrically A~ble,RElfd Ooly MemQrles , including'lndustrial/MiII~ry EAAOMs Video DisPlay Non..vqlatll,EI Static RAM ' Video Graphics' , , Video Games ',,',:4~ IIlcrocompt.de", , PIC'Seriee • PIC Development Series '10. 'Tuning .- PICAt. .PICES n • PIC Field Demo 8y'Slems 'TelevisiOn PIC Series Options _ PIC $eries.order Form Synthesizer/Counter' EAROM ,::S.Audlo ,1 t~ 'Qenerallnfonnatlo,l, ,,' Speech,Synthesls ," " - Sound Generation ,. Company Profile Pa<:kage Outljnes ' Sales Offices , . ©Copyright 1982 The mformation in this publicatIOn, including schematiCs, is suggestive only. General Instrument GENERAL INSTRUMENT CORPORATION Corporation does not warrant, nor will it be Printed in U.S.A. responsible or Ifable for, (a) the accuracy of such mformation, (b) its use or (c) any mfringement of patents or other rights 01 third parties, Index 1 Part Number Index 1-3 Functionallndex 1-4 1-1 1-2 PART NUMBER INDEX PART PART PART NUMBER PAGE NUMBER PAGE NUMBER PAGE AY-3-1015D .................. 7-4 ER1451 ....................... 3-8 RA-3-9600 ................... 9-51 AY-3-1270 ................... 7-32 ER2051 .............. 3-14,10-48 AY-3-1350 ................... 5-22 ER20511R ........... 3-14,10-48 R09128B/C/D .............. 2-28 AY-3-2012 ................. 10-22 ER2051 HR .......... 3-14,10-48 R09160 ...................... 2-39 AY-3-4592 ................... 2-42 ER2055 ...................... 3-17 R09256 ...................... 2-31 AY-3-8211 ................... 10-4 ER20551R ................... 3-17 R09432B/C/D .............. 2-12 AY-3-8470 ................... 7-42 ER2055HR .................. 3-17 R09433B/C/D .............. 2-14 AY-3-8475 ................... 7-48 ER2810lR ................... 3-28 R09464B/C/D .............. 2-22 AY-3-8500 ................... 9-60 ER2810HR .................. 3-28 R09464AB/AC/AD ......... 2-22 AY-3-8500-1 ................. 9-60 ER3400 ...................... 3-22 R09508 ...................... 2-34 AY-3-8603 ................... 9-64 ER34001/iR .................. 3-22 R09580 ...................... 2-37 AY-3-8605 ................... 9-65 ER3400HR .................. 3-22 R09864B/C/D .............. 2-25 AY-3-8606 ................... 9-66 ER5304 ...................... 3-48 R09864AB/AC/AD ......... 2-25 AY-3-8607 ................... 9-68 ER5716 ...................... 3-32 AY-3-8610 ................... 9-70 ER57161R ................... 3-32 RO-3-2513 .................. 2-54 AY-3-8765 ................... 9-72 ER5716HR .................. 3-32 RO-3-9316A/B/C ............ 2-4 AY-3-8900 ................... 9-43 ER5816 ...................... 3-36 RO-3-9316HR ................ 2-4 AY-3-8900-1 ................. 9-43 ER58161R ................... 3-36 RO-3-9332A/B/C ............ 2-7 AY-3-8910 ............ 5-14,9-56 ER5816HR .................. 3-36 RO-3-9332HR ................ 2-7 AY-3-8912 ............ 5-14,9-56 ER5901 ...................... 3-20 RO-3-9333B/C .............. 2-10 AY-3-8913 ............ 5-14,9-56 ER59011R ................... 3-20 RO-3-9333HR ............... 2-10 AY-3-8915 ................... 9-57 ER5901HR .................. 3-20 RO-3-9364B/C .............. 2-16 AY-3-9400 ................... 6-18 ER5916 ...................... 3-41 RO-3-9364HR ............... 2-16 AY-3-9410 ................... 6-18 ER59161R ................... 3-41 RO-3-9365B/C .............. 2-19 AY-3-9710 ................... 9-28 ER5916HR .................. 3-41 RO-3-9502 .................. 9-46 AY-3-9735 ................... 9-33 RO-3-9503 .................. 9-49 AY-3-9900 ................... 6-22 LA03 .......................... 8-3 RO-3-9504 ........... 2-32, 9-54 LA05 .......................... 8-3 AY-5-8105 ................. 10-44 LA10 .......................... 8-3 SFD2000 .................... 5-15 AY-5-8116 ................... 7-13 LA15 .......................... 8-3 AY-5-8116T ................. 7-13 LA20 .......................... 8-3 SP0232 ....................... 5-9 AY-5-8136 ................... 7-13 SP0250 ...................... 5-12 AY-5-8136T ................. 7-13 PFD SySTEMS ........... 4-138 SP0256 ....................... 5-5 AY-5-9151AlB ................ 6-4 SP0256-AL2 .................. 5-9 AY-5-9152/B ................. 6-4 PIC16C55 .................. .4-62 AY-5-9153A/B ................ 6-4 PIC16C63 ................. 4-110 SPROOO ....................... 5-9 AY-5-9154A .................. 6-4 PIC1650-020 .............. 10-33 SPR016 ...................... 2-64 AY-5-9158 ................... 6-11 PIC1650-536 ................ 9-15 SPR032 ...................... 2-70 AY-5-9559 ................... 6-14 PIC1650A ............... 4-4,9-9 SPR128 ...................... 2-73 PIC1650XT .................. 4-16 CK3300 ...................... 7-18 PIC1654 .................... .4-28 TELEVIEW SySTEM ........ 9-4 PIC1655A .................. .4-38 CP1610 ...................... 9-22 PIC1655XT ................. .4-50 TZ-2001 ..................... 6-30 PIC1656 ..................... 4-72 TZ-2002 ..................... 6-30 CT2010 .................... 10-27 PIC1664 .................... .4-96 TZ-2003 ..................... 6-30 CT2017 .................... 10-29 PIC1665 ................... 4-121 PIC1670 .................... .4-85 VSM2032 .................... 5-10 ECONOMEGA III. .......... 10-8 ECONOMEGA IV ......... 10-19 PI CAL ...................... 4-32 ER0082 ....................... 3-5 PICES II ................... 4-134 ER1400 .............. 3-11,10-33 1-3 ROM 2 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER Read Only Memories RO-3-9316A1B/C 2-4 16K ROM 16,384 bits organized 2048 x 8 RO-3-9316HR 2-4 RO-3-9332A/B/C 2-7 RO-3-9332HR 2-7 RO-3-9333B/C 2-10 32K ROM 32,768 bits organized 4096 x 8 RO-3-9333HR 2-10 R09432B/C/D 2-12 R09433B/C/D 2-14 RO-3-9364B/C 2-16 RO-3-9364HR 2-16 RO-3-9365B/C 2-19 64K ROM 65,536 bits organized 8192 x 8 R09464B/C/D 2-22 R09464ABI ACIAD 2-22 R09864B/C/D 2-25 R09864AB/AC/AD 2-25 128K ROM 131,072 bits organized 16,384 x 8 R09128B/C/D 2-28 256K ROM 262,144 bits organized 32,768 x 8 R09256 2-31 20K CARTRIDGE 2-32 20,480 bits organized 2048 x 10 RO-3-9504 ROM 40K CARTRIDGE 2-34 40,960 bits organized 4096 x 10 R09508 ROM 80K CARTRIDGE 81,920 bits organized 8192 x 10 R09580 2-37 ROM 160K CARTRIDGE 163,840 bits organized 16,384 x 10 R09160 2-39 ROM Keyboard Encoder CAPACITIVE 4,592 bits organized as 112 keys x 4 modes x 10 bits, plus 112 bits for KEYBOARD AY-3-4592 2-42 Internal programtng of function keys ENCODER Character Generators CHARACTER 2,560 bits organized a 64-5 x 8 characters RO-3-2513 2-54 GENERATOR 16,384 bits organized as 2048-8 bit words RO-3-9316CGII 2-59 Speech ROMs 16,384 bits organized 2048 x 8 SPR016 2-64 SERIAL SPEECH 32,768 bits organized 4096 x 8 SPR032 2-70 ROM 131,072 bits organized 16K x 8 SPR128 2-73 '-4 EANVM 3 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER Electrically Alterable Non-Volatile Memory 82 BITEAROM 82 bits organized 82 x t ER0082 3-5 700 BIT 700 bits organized 50 x 14 ER1451 3-8 SERIAL EAROM 1400 BIT 3-11 1400 bits organized 100 x 14 ER1400 SERIAL EAROM ER2051 3-14 512 BIT EAROM 512 bits organized 32 x 16 ER20511R 3-14 ER2051HR 3-14 ER2055 3-17 512 BIT EAROM 512 bits organized 64 x 8 ER20551R 3-17 ER2055HR 3-17 ER5901 3-20 lK N-CHANNEL 1K bits organized 128 x 8 ER59011R 3-20 EEPROM ER5901HR 3-20 ER3400 3-22 4096 BIT EAROM 4096 bits organized 1024 x 4 ER34001liR 3-22 ER3400HR 3-22 ER2810lR 3-28 8192 BIT EAROM 8192 bits organized 2048 x 4 ER2810HR 3-28 ER5716 3-32 16K N-CHANNEL 16K bits organized 2048 x 8 ER57161R 3-32 EEPROM ER5716HR 3-32 ER5816 3-36 WORD ALTERABLE Electrically word alterable 16K bits organized 2048 x 8, 5V operation," read mode ER58161R 3-36 16K BIT EEPROM ER5816HR 3-36 ER5916 3-41 WORD ALTERABLE Electrically word alterable 16K bits organized 2048 x 8, 5V operallon '" all modes ER59161R 3-41 16K BIT EEPROM ER5916HR 3-41 Non-Volatile Static RAM 4K N-CHANNEL NON-VOLATILE 4K bits organized 512 x 8 ER5304 3-48 STATIC RAM 1-5 Microcomputer 4 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER PIC Series PIC1650A 4-4 PIC1650XT 4-16 PIC1654 4-28 The PICI650 series of microcomputers contain RAM 1/0 and a central processing PIC1655A 4-38 BBIT Unit as well as a customer defmed ROM to specify overall functional characteristics MICROCOMPUTER PIC1655XT 4-50 of the device PIC16C55 4-62 PIC1656 4-72 PIC1670 4-85 PIC Development Series PIC1664 4-96 8BIT DEVELOPMENT PIC mIcrocomputer wIthout ROM and wIth addition of a HALT pin. PIC16C63 4-110 MICROCOMPUTER PIC1665 4-121 PICALIPICES U PIC ASSEMBLER Converts symbohc source programs for PIC series Into object code PICAL 4-132 PIC DEVELOPMENT In-ctrcUlt emulalton and debug system-stand alone or peripheral. PICESD 4-134 SYSTEM PIC Field Demo Systems PIC FIELD DEMO Contains PIC microcomputer, PROMs and provIsIons for on-board RC oscIllator or PFD 4-138 SYSTEMS external clock Systems Audio 5 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER Speech Synthesis SP0256 5-5 NARRATOR~ Nalural speech, stand alone operatIon, wIde operatIng voltage, expandable ROM, SP0256-AL2 5-9 SPEECH PROCESSOR SImple Interface. SP0232 5-9 SPROOO 5-9 VOICE SYNTHESIS Complete speech system, 16 seconds of speech, custom vocabularies, SImple VSM2032 5-10 MODULE Interface, 5V operatIon SPEECH High quahly speech, programmable fIlter, 5V operatIon, SImple Interface, double SP0250 5-12 SYNTHESIZER buffered Input. SPEECH FIELD DEVELOPMENT 5V operatIon, expandable EPROM, multiple speech syntheSIS, on-board oscillalor. SFD2000 5-15 BOARD Sound Generation AY-3-8910 5-18 PROGRAMMABLE Full software control, 5V operation, simple Interface, triple analog output, general SOUND AY-3-8912 5-18 purpose I/O ports. GENERATOR AY-3-8t13 5-18 TUNES Produces musical tunes from pre-programmed mIcrocomputer AY-3-1350 5-24 SYNTHESIZER 1-6 Telephony 6 PART PAGE FUNCTION DESCRIPTION NUMSER NUMBER Dialers AY·S·91S1A1B 6·4 PUSHBUTTON AY·S·91S2/B 6·4 TELEPHONE Converts pushbutton Input to rotary dial pulses. DIALERS AY·S·9153A1B 6·4 AY·S·91S4A 6·4 LOOP DISCONNECT Pushbutton·rotary dial converter with re·dial. AY·S·91S8 6·11 DIALER MULTI·FREQUENCY Dialer with dual tone. AY·S·9SS9 6·14 DIALER Multi-Frequency Generators DUAL TONE AY·3·9400 6·18 MULTI·FREQUENCY Generates DTMF/tone telephone frequencies. GENERATORS AY·3·9410 6·18 Code Conversion CODEC Duplex Delta·Sigma/PCM converter. AY·3·9900 6·22 Programmable Dialers PROGRAMMABLE TZ·2001 6·30 MICRO·COMPUTER Single chip microcomputer pre·programmed for in·telephone applications. TZ·2002 6·30 TELEPHONE DIALERS TZ·2003 6·30 Data Communications 7 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER UAR/T Devices UAR/T Complete 5·8 bit receiver/transmitter interface. AY·3·101SD 7·4 AY·S·8116 7·13 DUAL BAUD AY·S·8116T 7·13 16 Frequency, UART/USRT compatible. RATE GENERATORS AY·S·B136 7·13 AY·S·B136T 7·13 Clocks 4 DIGIT CK3300 7·1B 12124 Hour clock, 24 hour alarm, sleep timer, battery standby. CLOCK RADIO Appliances DIGITAL AY·3·1270 Digital thermometer and temperature controller. 7·32 THERMOMETER Remote Control REMOTE CONTROL 256 Command PCM infrared transmitter. AY·3·8470 7·42 TRANSMITTER REMOTE CONTROL 256 Command PCM infrared receiver. AY·3·847S 7·48 RECEIVER 1-7 ULAs 8 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER Uncommitted Logic Arrays LA03 8·3 LA05 8·3 HIGH SPEED CMOS Single mask, Sns gate delay, single supply voltage, CMOS technology, UNCOMMITTED LA10 8·3 on-chip power-on reset. LOGIC ARRAYS LA15 8·3 LA20 8·3 Video 9 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER Video Display TELEVIEW 9·4 System PIC1650A 9·9 The Teleview system IS a powerful system to display Information on a TV receiver. PIC1650·536 9·15 TELEVIEW SYSTEM It can store data from Bither telephone Imes or TV RF signal information. AY·3·9710 9·28 AY·3·9735 9·33 Video Graphics G~n~r~I ___ ~ Informallon 9·42 CP1610 9·22 AY·3·8900 9·43 AY·3·8900·1 9-43 RO·3·9502 9-46 PERSONAL The 8900 system IS a programable video display system, capable of detailed graphics RO·3·9503 9-49 TERMINAL definition and manipulation 9·51 RO·3·9600 RO·3·9504 9·54 AY·3·8910 9·56 AY·3·8912 9·56 AY·3·8913 9·56 AY·3·8915 9·57 Video Games - AY·3·8500 9·60 BALL & PADDLE Six selectable gam~s for one or two players, with vertical paddle motion AY·3·8500·1 9·60 General 8600 SERIES The 8600 series games consist of a set of single chip TV game integrated circuits. Information 9·63 ROADRACE One or two player games where racing skill in "traffic" generates the highest score. AY·3·8603 9-64 WARFARE One or two player games featuring subs, destroyers, cargo ships, and spaceships. AY·3·8605 9-65 One or two player games where players "wipe out" objects by controlling a ball in WIPEOUT AY·3·8606 9·66 the play area. SHOOTING Twelve games for one or two players using external photocell rifles for shooting. AY·3·8607 9·68 GALLERY Ten selectable games for one or two players, with vertical and horizontal SUPERSPORT AY-3·8610 9·70 paddle motion. MOTOR CYCLE One player cycle game with variable skill selection. AY·3·8765 9·72 1·8 Tuning 10 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER Television ECONOMEGA IIA DIGITAL TUNING Provides electronic control of a varactor tuned TV from keyboard entry. AY-3-8211 10-4 SYSTEM FREQUENCY LOCKED LOOP Provides frequency locked loop tuning in radio, TV applications. ~III 10-8 TUNING SYSTEMS Economega IV 10-19 PHASED LOCKED LOOP TUNING AY-3-2012 10-22 Provides PLL frequency synthesis for color TV tuning. SYSTEM CT2010 10-27 SYNTHESIZER CT2017 10-29 PHASED LOCKED PIC16S0-020 10-33 LOOP TV TUNING Provides control and Interface for PLl television tuning SYSTEM CONTROL ER1400 10-33 Synthesizer/Counter FREQUENCY SYNTHESIZERI Provides a time base for frequency synthesizer counting. AY-S-810S 10-44 COUNTER EAROM ER20S1 10-48 512 BIT EAROM 512 bIts organized 32 x 16. ER20S11R 10-48 ER20S1 HR 10-48 1-9 1-10 ROM 2 Read Only Memories 2-3 Keyboard Encoder 2-41 Character Generators 2-53 Speech ROMs 2-63 ,~, :PART PAGE FUNCTION DESCflIPTfON NUM8ER NUM8ER , R~d Only M.emories. ~16A/81C 2-4 16K ROM 16.384 bits organized 204a x S. " RO.s..9316HR ,2-4 E ' , ',~'7 2-7 ,2-10 32KROM 32,768 blt& organized 4096)( 8 '2·10 2-12 ~3IIICID 2-)4 ~ 1*16 2·16 Rd"~·93658IC 2-19 64KROM 6S.536 bits,organlzed 8~92" 8 ,R0 94&4alClD 2-22 ,Aoeas4A~ACIAD l 2-22 2-25 , ~.2S 12SKROM 131,012 bitS organIZed 11$,384 x 8 1I~1+8jClD 2·D 256KROM 262.144 blt$ organized $2.768 x 8 R0906', 2-31 20K CAAmiOGE 20,460 bit& organiZed 2048 x 10 II~~ 2-32 ROM " 40K CARTRiDGE ROM 40.960 bit& organized 4~,~ 10 " 1'109508. ' " 2.34 : 80K CARmlOGE 81.920 bits organl<:ed 81'92x 10 1109580 ',~~7 ROM lOOK CARTRiDGE , ROM 163.840 bits <»:\l3nized 16.384 x 10 ROO1,~0 '~::f9 Keyboard EnCoder CAPACITIVE 4.592 bits ~)(gani%ed as 112k$}'S x 4 modes x lObits, plus 112 bits for KEYBOARD AY-3-4592 2-42 internal programing of fun"tioo keys. ' , ENCODER :: ' , . , Character ,GeneratorS CHARACTER I 2,560 bits 'organized a 64-5 x 8 characters f 110-3:4513 t~ G!;NEBATOR I 16,384 bits organized 8$ 2048-8, bit words " I RO-W31&CG1I :t;:p Speech ROMs 16.384 bits or9ani~ 2048 x it SERIAL SPEECH ROM 32,7iia bitS, orgMlZed 4008 x ,8 . SfIR01S SPROa2 2-84 2;-70 131,072 bi,tsorQal)iZed 16K x a $PR128 2-73 2-1 2-2 GENERAL INSfRUMENT Read Only Memories PART PAGe: ODCRIPTION IIIUMIilER , NUMIIIER ' ., .....' :161< ROM RQ.M316AIlillC ,2-4 16,364 bits Ol'!/lIniZed 2048 x 8 .fIO..I.!I316HR 11;4 RO+9332AlBlC !~-1 i. ' " . ' ., " , Rq.3·9331IHR 2-1 RO+SW8/C' 2·10 '. ,'32KRPM :;,<, / . ,:,'; . '.' " , '. ROII8648/CIO RCmGO' •. ,.' 2-3 R0-3·9316A1B/C RO·3·9316 HR 16,384 Bit Static Read Only Memory FEATURES • 2048 x 8 Organization - Ideal for Microprocessor PIN CONFIGURATION Memory Systems 24 LEAD DUAL IN LINE • Single +5 Volt Supply • TTL Compatible - All Inputs and Outputs • Static Operation - No Clocks Required "'M7 Vcc(+5V) M • 850ns Maximum Access Time: R0-3-9316A AS loB • 450ns Maximum Access Time: RO-3-9316B At CS3 • 350ns Maximum Access Time: RO-3-9316C 103 CSl • Three-State Outputs - Under the Control of Three M. Al0 Mask-Programable Chip Select Inputs to Simplify Memory Al CS2 NJ Expansion 01 • Totally Automated Custom Programing 02 os • Zener Protected Inputs 00 05 • Glass Passivation Protection GNO " - -_ _....J 04 • Pin Compatible With 2716 16K EPROM DESCRIPTION The General Instrument RO-3-9316 is a 16,384 static Read Only Memory organized as 2048 8-bit words and is ideally suited for microprocessor memory applications. Fabricated in the General Instrument N-Channellon Implant process to enable operation from a single +5 Volt power supply, the RO-3-9316 offers the best combination of high performance, large bit storage and simple Interfacing. BLOCK DIAGRAM Vee GND AD 0) AI 02 A2 03 A3 ADDRESS MEMORY 04 ADDRESS OUTPUT A4 INPUT DECODE MATRIX BUFFERS 05 A5 BUFFERS 2048 X 8 06 A6 07 A7 08 AS A9 AID CS I CHIP CHIP SELECT CS2 SELECT INPUT DECODE CS3 BUFFERS 2-4 R0-3-9316A1B/C • R0-3-9316HR ELECTRICAL CHARACTERISTICS Maximum Ratings" *Exceeding these ratings could cJluse permanent dam- age to the device. This Is a strass rating only and lunc- Vcc and input voltages (with respect to GND) . . . . -0.3V to +8.0V tlonal operation 01 this device at these conditions Is not Storage Temperature . . . . . . . . . . . . . . -65°C to +l50°C Implied-operating ranges are specilied in Standard Conditions. Exposure to absolute maximum rating con- ditions lor extended periods may affect device reliability. Standard Conditions (unless otherwise noted) Data labeled "typical"ls presented lor design guidance only and is not guaranteed. Vcc=+5 Volts ±5% Operating Temperature (TA) = O°C to +70°C (HR: TA = -55°C to +125°C) Output Loading: One TTL load, CLTOTAL= 100pl R0-3-9316A1B1C • R0-3-9316HR Characteristic Sym Min Typ" Max Units Conditions DC CHARACTERISTICS Address, Chip Select Inputs Logic"l" V IH 2 - - V Logic "0" V IL - - 0.8 V Leakage III - - 10 p.A Data Outputs Logic "1" V OH 2.4 - - V IOH=-l00pA Logic "0" VOL - - 0.4 V 10L =1.6mA Leakage I LO - - 10 p.A Power Supply Current RO-3-9316A Icc - 50 85 mA Outputs open RO-3-9316B Ice - 65 115 mA Outputs open RO-3-9316C Ice - - 125 mA Outputs open R0-3-9316A • RO-3-9316AHR AC CHARACTERISTICS Address, Chip Select Inputs Cycle Time tc 800 - - ns Capacitance C1 - 5 8 pi F= lMHz C1 - 8 10 pi F = 1MHz; R0-3-9316AHR onl y Data Outputl Access Time t ACC - 600 850 ns Chip Select Response Time tR - 200 300 ns Capacitance Co - 8 10 pi F= lMHz RO-3-9316B • RO-3-9316BHR AC CHARACTERISTICS Addres., Chip Select Inputs Cycle Time tc 400 - - ns Capacitance C1 - 5 8 pi F= lMHz C1 - 8 10 pi F = lMHz; R0-3-9316BHR onl y Data Outputs Access Time t Ace - 350 450 ns Chip Select Response Time tR - 100 200 ns Capacitance Co - 8 10 pi F=lMHz R0-3-9316C • R0-3-9316CHR AC CHARACTERISTICS Address, Chip Select Inputl Cycle Time tc 300 - - ns Capacitance C1 - 5 8 pi F=lMHz C1 - 8 10 pi F= lMHz; R0-3-9316CHR onl y Data Output. Access Time t Ace - 250 350 ns Chip Select Response Time tR - 100 200 ns Capacitance Co - 8 10 pi F=lMHz ""Typical Values are at +25°C and nominal voltages 2-5 IIN~~I R0-3-9316A1B/C • RO-3-9316HR TYPICAL SYSTEM APPLICATION A complete system of 16K words of ROM (8 bits/word) is easily CHIP SELECT TABLE obtamed without any external address decoding by making use of programable chip select features and by wiring the outputs of DEVICE eight different RO-3-9316 as shown in the figure below. CS3 CS2 CS1 SELECTED 0 0 0 16KO 0 0 1 16K1 0 0 16K2 0 16K3 0 0 16K4 0 1 16K5 0 16K6 16K7 ADDRESS BUS (AO-AID) CHIP SELECT BUS (eS 3 -CSt) * T T 1 1 I T 1 1 I 000 1 I 001 010 f I 1 I 011 1 I 100 r 101 I f I 110 I I 111 RQ-3-9316 RO-3-9316 RO-3-9316 RO-3-9316 RO-3-9316 RO-3-9316 RO-3-9316 RO-3-9316 16K 161K 162K l63K 164K 16SK l66K 167K I 1 1 1 1 1 1 1 OUTPUT BUS (0. -Oal * UTILIZED AS ADDRESSES All-AI! TIMING DIAGRAMS '::~Ol! ~ X Ie V1H V1L >t lace DATA 2.2 OUTPUTS .6 ACCESS TIME (ADDRESS TO OUTPUT-CHIP SELECTED) CHIP SELECT INPUTS NOT SELECTED )< SELECTED (AS PROGRAM ED) )}>< SELECTED NOT VIH . V 1L DATA OUTPUTS OUTPUTS -- tR I- OUTPUTS -- tR r--- OUTPUTS 2.2 HIGH IMPEDANCE VALID HIGH IMPEDANCE .6 CHIP SELECT RESPONSE TIME (ADDRESS INPUTS STABLE) 2-6 RO-3-9332A/B/C R0-3-9332HR 32,768 Bit Static Read Only Memory FEATURES • 4096 x 8 Organization - Ideal for Microprocessor Memory PIN CONFIGURATION Systems 24 LEAD DUAL IN LINE • Single +5 Volt Supply • TTL Compatible - All Inputs and Outputs • Static Operation - No Clocks Required • 850ns Maximum Access Time: RO-3-9332A .' • 450ns Maximum Access Time: RO-3-9332B Top View '-/ • 350ns Maximum Access Time: RO-3-9332C A7[ 24 ::J Vee (+5VJ • Three-State Outputs - Under the Control of Two Mask- A6[ 2 23 J AS Programable Chip Select Inputs to Simplify Memory A5[ 3 22 JA9 A4[ 4 21 JCS2 Expansion A3 [ 5 20 J CS1 • Totally Automated Custom Programing A2[ 6 19 :J Al0 • Zener Protected Inputs A1 [ 7 18 :JA11 • Glass Passivation Protection AO[ 8 17 J 08 • Pin Compatible With 2532 EPROM 01 [ 9 16 J07 02 [ 10 15 J 06 • Extended Temperature Ranges Ol[ 11 14 J 05 DESCRIPTION GND[ 12 13 J 04 The General Instrument RO-3-9332 is a 32,768 static Read Only Memory organized as 4096 eight bit words and is ideally suited for microprocessor memory applications. Fabricated in the General Instrument N-Channel Ion Implant process to enable operation from a single +5 Volt power supply, the RO-3-9332 offers the best combination of high performance, large bit storage, and simple interfacing of any MOS Read-Only Memory available today. BLOCK DIAGRAM Vee GND f f ~ AO ..- r- 01 AI .? - 02 - ~ A2 - 03 A3 ..- 04 ADDRESS MEMORY ADDRESS OUTPUT - -~ A4 ..- INPUT ~ DECODE ~ MATRIX ----?I BUFFERS 05 A5 BUFFERS 4096 X 8 06 - - ~ 08 A6 07 A7 AS A9 , AIO All , CSI "- CHIP CHIP CS2 SELECT ~ SELECT INPUT DECODE BUFFERS 2-7 I~ R0-3-9332A1B/C • RO-3-9332HR ELECTRICAL CHARACTERISTICS Maximum Ratings * Vcc and Input voltages (with respect to GND) . . . . -0.3V to +8.0V * Exceeding these ratings could cause permanent dam- Storage Temperature . . . -65·C to +150·C age to the device. This Is a stress rating only and func- tional operation of this device at these conditions is not Standard Conditions (unless otherwise noted) implied-operating ranges are specified In Standard Conditions. Exposure to absolute maximum rating con- Vee = +5 Volts ±10% ditions for extended periods may affect device reliability. Operating Temperature (T.) = O·C to +70·C Data labeled "typical" is presented for design guidance (HR: 'rA= -55· C to +125· C) only and is not guaranteed. Output Loading: Two TTL Loads, CL TOTAL = 100pf R0-3-9332A1B • RO-3-9332HR Characteristic Sym Min Typ" Max Units Conditions DC CHARACTERISTICS Address, Chip Select Inputs Logic "'1" VIH 2 - - V LogiC "0" VIL - - 0.8 V Leakage III - - 10 p.A Data Outputs LogiC "1" VOH 2.4 - - V IOH=-2OOpA LogiC "0" VOL - - 0.4 V IOL = 3.2mA Leakage ILO - - 10 p.A Power Supply Current RO-3-9332A Icc - - 80 mA Outputs open RO-3-9332BHR Icc - - 125 mA Outputs open RO-3-9332C Icc - - 140 mA Outputs open R0-3-9332A AC CHARACTERISTICS Address, Chip Select Inputs Cycle Time tc 800 - - ns Capacitance C, - 5 8 pf F= 1MHz Data Outputs Access Time t ACC - 600 850 ns VOH = 2.20V* Chip Select Response Time TR - 200 300 ns Capacitance Co - 8 10 pf F= 1MHz RO-3-9332B • RO-3-9332BHR AC CHARACTERISTICS Address, Chip Select Inputs Cycle Time tc 450 - - ns Capacitance C, - 5 8 pf F=1MHz C, - 8 10 pf F = 1MHz; RO-3-9332BHR onl y Data Outputs Access Time t ACC - 350 450 ns VoH =2.20V* Chip Select Response Time tR - 100 200 ns Capacitance Co - 8 10 pf F= 1MHz R0-3-9332C AC CHARACTERISTICS Address, Chip Select Inputs Cycle Time tc 300 - - ns Capacitance e, - 5 8 pf F= 1MHz Data Outputs Access Time t ACC - 250 350 ns Chip Select Response Time tR - 100 200 ns Capacitance Co - 8 10 pf F= 1MHz * See Timing Diagram ·*Typical Values are at +25·C and nominal voltages 2-8 RO·3·9332A1B/C • RO·3·9332HR IIN~l;~~ I TIMING DIAGRAMS A?Z~0~§ ~r-,~_.~_-_-_-_~-_~I_e__ - -_-_-_ -_-){---i'--___ <:: DATA OUTPUTS ~ loee ---->t----10 ' 2..: ACCESS TIME (ADDRESS TO OUTPUT-CHIP SELECTED) CHIP NOT ISJ~Gg SELECTED " f - - - - - . VIL DATA OUTPUTS 2.2 OUTPUTS HIGH IMPEDANCE HIGH l'-------JiIMPEDANCE .6 CHIP SELECT RESPONSE TIME (ADDRESS INPUTS STABLE) 2-9 R09333B/C R09333HR 32,768 Bit Static Read Only Memory FEATURES • 4096 x 8 Organization - Ideal for Microprocessor Memory PIN CONFIGURATION Systems ' 24 LEAD DUAL IN LINE • Single +5 Volt Supply • TTL Compatible - All Inputs and Outputs • Static Operation - No Clocks Required • Pin Compatible With 2732 EPROM • 450ns Maximum Access Time: RO-3-9333B • 350ns Maximum Accent Time: RO-3-9333C • Extended Temperature Range "7 Vee ("'SV) All All • Three State Outputs - Under the Control of Two Mask- AS AS Programable Chip Select Inputs to Simplify Memory M A11 Expansion CS1 • Totally Automated Custom Programing • Zener Protected Inputs 08 • Glass Passivation Protection 01 02 DESCRIPTION 03 The General Instrument RO-3-9333 is a 32,768 bit static Read Only Memory organized as 4096 eight bit words and Is Ideally suited for microprocessor memory applications. Fabricated In the General Instrument N-Channellon Implant process to enable operation from a single +5 Volt power supply, the RO-3-9333 offers the best combination of high performance, large bit storage, and simple interfacing of any MOS Read-Only Memory available today. BLOCK DIAGRAM Vee GND i 1 ~ AO t- 01 AI .... t- 02 '" ~ A2 t- 03 A3 ADDRESS MEMORY t- 04 ADDRESS OUTPUT t- BUFFERS ~ DECODE ~ ~ r- ~ 06 A4 INPUT MATRIX BUFFERS 05 A5 4096 X B A6 .... - - ~ 08 07 A7 A8 , A9 AIO , All CSI CHIP CHIP CS2 SELECT ~ SELECT INPUT DECODE BUFFERS 2-10 RO-3-9333B/C • RO-3-9333HR IINs&D~MI- I ELECTRICAL CHARACTERISTICS Maximum Ratings * Vcc and input voltages (with respect to GND) -0.3V to +8.0V *Exceeding these ratings could cause permanent dam- Storage Temperature -65° C to +150° C age to the device. This is a stress rating only and func- tional operation of this device at these conditions is not Standard Conditions (unless otherwise noted) implied-operating ranges are specified in Standard Vee = +5 Volts ±10% Conditions. Exposure to absolute maximum rating con- Operating Temperature (T.) = O°C to +70·C ditions for extended periods may affect device reliability. (HR: TA = -55°C to +125°C) Data labeled "typical" is presented for design guidance Output Loading: Two TTL Loads, CL TOTAL = 100pf only and is not guaranteed. R0-3-9333B/C • RO-3-9333HR Characteristic Sym Min Typ" Max Units Conditions DC CHARACTERISTICS Addre••, Chip Select Inputa LogiC "1" V,H 2 - - V Logic "0" V,L - - 0.8 V Leakage III - - 10 IJ.A Data Outputs LogiC "1" V OH 2.4 - - V IOH=-200pA LogiC "0" VOL - - 0.4 V IOL = 3.2mA Leakage ILO - - 10 IJ.A Power Supply Current RO-3-9333B Icc - - 125 mA Outputs Open RO-3-9333BHR Icc - - 120 mA Outputs Open RO-3-9333C Icc - - 140 mA Outputs Open RO-3-9333B • RO-3-9333BHR AC CHARACTERISTICS Address, Chip Select Inputs Cycle Time te 450 - - ns Capacitance C, - 5 8 pf F=IMHz C, - 8 10 pf F= lMHz; RO-3-9333BHR Data Outputs only Access Time tAye - 350 450 ns VoH=2.20V* Chip Select Response Time tR - 100 200 ns Capacitance Co - 8 10 pf F= lMHz RO-3-9333C AC CHARACTERISTICS Address, Chip Select Inputs Cycle Time tc 300 - - ns Capacitance C, - 5 8 pf F = lMHz Data Outputs Access Time tAce - 250 350 ns Vo~2.20V* Chip Select Response Time IR - 100 200 ns Capacitance Co - 8 10 pI F = lMHz * See Timing Diagram **TYPlcal values are at +25° C and nominal voltages TIMING DIAGRAMS A?Z~0f~ ----J:f..~-~---~~--~t-e----:--~x--i'--__ VIH ~t--=~---- taee ---->t~.-il 2.: 1"------. VIL DATA DATA OUTPUTS 2.2 OUTPUTS OUTPUTS HIGH IMPEDANCE l'----------'TIIMP~b~~CE .6 ACCESS TIME (ADDRESS TO OUTPUT-CHIP SELECTED) CHIP SELECT RESPONSE TIME (ADDRESS INPUTS STABLE) 2-11 R09432B/C/O PRELIMINARY INFORMATION 32,768 Bit Static Read Only Memory FEATURES • 4096 x 8 Organization PIN CONFIGURATION • Fully Static Operation-No Clocks Required 24 LEAD DUAL IN LINE • Single +5V ± 10% Supply • 450ns Access Time: R09432B 300ns Access Time: R09432C A7 Vee (+SV) 200ns Access Time: R09432D AS • Inputs and Outputs TTL Compatible A9 • Three State Outputs-Under the Control of Two Mask CS2/CS2 A3 CS1/CS1 Programable Chip Select Inputs A2 A,O • Output Drive Capability of 2 TTL Loads and 100pf A11 Low Power Dissipation AD 08 Totally Automated Custom Programing 0, 07 02 06 • All Iflputs Protected Against Static Charge 03 05 • Pin Compatible With 2532 EPROM GNO 04 DESCRIPTION The R09432 is a 32,768 bit fully static Read Only Memory utilizing power supply with ±10% supply tolerance. All inputs are TTL MOS N-Channel Silicon Gate Ion Implanted technology. It is compatible, and the three-state outputs can drive 2 standard TTL organized 4096 words by 8 bits and operates from a single +5 Volt loads each. BLOCK DIAGRAM GND AO A1 A2 01 A3 02 A4 03 A5 ADDRESS 04 MEMORY INPUT ADDRESS OUTPUT A6 MATRIX 05 BUFFERS DECODE BUFFERS 4096 x 8 A7 06 A8 07 A9 08 A10 A1l CHIP CHIP SELECT SELECT INPUT DECODE BUFFER 2-12 R09432B/C/D I~ ELECTRICAL CHARACTERISTICS Maximum Ratlngs* Vcc and Input Voltages (with Respect to GND) .......... -0.5V to +7.0V * Exceeding these ratings could cause permanent dam- Storage Temperature ..•..•.......•.•......•......... -65· C to +150· C age to the device. This is a stress rating only and func- tional operation of this device at these conditions is not Standard Conditions (unless otherwise noted): implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Vcc = +5V ± 10% ditions for extended periods may affect device reliability. Operating Temperature TA = O·C to +70·C Output Loading: Two TTL Loads + C L TOTAL = lOOp! Data labeled "typical" is presented for design guidance only and is not guaranteed. DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Input Low Voltage V,L -0.5 - 0.8 V Input High Voltage V,H - 2 - Vcc V Input Load Current I'L - - 10 pA V,N = 0 toVcc Output Low Voltage VOL - - 0.40 V 10L = +3.2mA Output High Voltage VOH 2.4 - Vcc V 10H = -200pA Output Leakage Current ILO - - 10 pA VOUT = OV to Vcc Power Supply Current Icc - - 100 mA All Inputs +5.5V ,Outputs Unloaded AC CHARACTERISTICS R09432C R09432D R09432B Characteristics Sym Min Max Min Max Min Max Units Conditions Address Access Time t ACC - 450 - 300 - 200 ns Chip Select to Output Delay Time tco - 100 - 100 - 75 ns Chip Deselect to Output Float Time tDF - 75 - 75 - 75 ns Previous Data Valid After Address Change tOH 20 - 20 - 20 - ns Capacitance * Input Capacitance C 'N - 7 - 7 - 7 pi TA = 25·C, F = lMHz Output Capacitance C OUT - 10 - 10 - 10 pi TA = 25·C, F = lMHz • Not tested 100% CONDITIONS OF TEST FOR AC CHARACTERISTICS AC TEST CONDITIONS VPULL-UP Rlo,~ Input Pulse Levels ............................... O.BV to 2.2V Input Rise and Fall Times ........•..............•....... 20 ns Timing Measurement Levels' Inpur ................................................ 1.5V Output ...................................... O.BV and 2.0V Output Load ............... 2 TTL Loads +100pl (See Figure 1) OUTPUT PAD TIMING DIAGRAM ADDRESS INPUTS CHIP SELECT INVALID __________ DISABLED ¥~-----------"'----V-A-L-ID-----------~~------I-N-V-A-L1-D---- I ______ INPUTS DATA OUTPUTS I HIGH IMPEDANCE I. . .----tACC-----I~ DEFINITIONS Access Time, TAcc Output Enable Time, T co Access time IS the maximum time between the application of a Output enable time is the maximum delay between Chip valid Address and the corresponding Data Out. Selects becoming true and Output Data becoming valid. Output Hold Delay, TOH Output Disable Time, TDF Output hold delay is the minimum time after an Address Output disable time IS the delay between Chip Selects becom- change that the previous data remains valid. ing false and output stages going to the high impedance state. 2-13 R09433B/C/D PRELIMINARY INFORMATION 32,768 Bit Static Read Only Memory FEATURES • 4096 x 8 Organization PIN CONFIGURATION • Fully Static Operation-No Clocks Required 24 LEAD DUAL IN LINE • Single +5V ± 10% Supply • 450ns Access Time: R09433B A7 Vee (+5V) • 300ns Access Time: R09433C A6 A8 • 200ns Access Time: R09433D AS A9 • Inputs and Outputs TTL Compatible A4 Al1 • Three State Outputs-Under the Control of Two Mask A3 CS1/CS1 Programable Chip Select Inputs A2 A10 A1 CS2/CS2 • Output Drive Capability of 2 TTL Loads and 100pf AO 08 • Low Power Dissipation 01 07 • Totally Automated Custom Programing 02 06 • All Inputs Protected Against Static Charge 03 05 GND 04 • Pin Compatible With 2732 EPROM DESCRIPTION The R09433 is a 32,768 bit fully static Read Only Memory utilizing power supply with ± 10% supply tolerance. All inputs are TTL MOS N-Channel Silicon Gate Ion Implanted technology. It is compatible, and the three-state outputs can drive 2 standard TTL organized 4096 words by 8 bits and operates from a single +5 Volt loads each. BLOCK DIAGRAM GND AD A1 A2 01 A3 02 A4 03 A5 ADDRESS 04 MEMORY A6 INPUT ADDRESS MATRIX OUTPUT 05 BUFFERS DECODE BUFFERS 4096 x 8 A7 06 AS 07 A9 08 A10 A11 CHIP CHIP SELECT SELECT INPUT DECODE BUFFER 2-14 R09433B/C/D INsr~~ ELECTRICAL CHARACTERISTICS Maximum Ratings * Vcc and Input Voltages (with Respect to GND) .......... -0.5V to +7.0V *Exceeding these ratings could cause permanent dam- Storage Temperature ................................ -65°C to +150°C age to the device. This is a stress rating only and func- tional operation of this device at these conditions is not Standard Conditions (unless otherwise noted): implied-operating ranges are specified In Standard Conditions. Exposure to absolute maximum rating con- Vcc = +5V ± 10% ditions for extended periods may affect device reliability. Operating Temperature TA1 = 0° C to +70°C Output Loading: Two TTL Loads, C l TOTAL = 100pf Data labeled "typical" Is presented for design guidance only and is not guaranteed. DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Address, CHIP SELECTS Inputs Logic "1" VIH 2 - Vcc V Logic "0" Vil 0 - 0.8 V Leakage III - - 10 p.A VIN = OV to Vcc Data Outputs Logic "1" VOH 2.4 - Vee V 10H = -200p.A Logic "0" VOL - - 0.4 V 10l = 3.2mA Leakage I lo - - 10 p.A VOUT= OV to Vcc Power Supply Current Icc - - 100 mA All inputs +5.5V. Outputs Unloaded AC CHARACTERISTICS R09433B R09433C R09433D Characteristics Sym Min Max Min Max Min Max Units Conditions Address Access Time t Ace - 450 - 300 - 200 ns Chip Select to Output Delay Time teo - 100 - 100 - 75 ns Chip Deselect to Output Float Time tOF - 75 - 75 - 75 ns Previous Data Valid After Address Change tOH 20 - 20 - 20 - ns Capacltance* Input Capacitance C IN - 7 - 7 - 7 pf TA = 25°C, F = 1MHz Output Capacitance C OUT - 10 - 10 - 10 pf TA = 25°C, F = lMHz * Not tested 100% CONDITIONS OF TEST FOR AC CHARACTERISTICS AC TEST CONDITONS VPUll·UP ',Lov~ Input Pulse Levels ............................... O.BV to 2.2V Input Rise and Fall Times ............................... 20 ns Timing Measurement Levels: Input ................................................ 1.5V Output ...................................... O.BV and 2.0V Output Load .............. 2 TTL Loads +100pf (See Figure 1) OUTPUT PAD TIMING DIAGRAM ADDRESS INPUTS INVALID X. ____v.A.L_D _____ .,X. ____IN_v_A_L_D _ _ _ _ __ CHIP I V SELECT INPUTS • • D_IS_A_B_L_ED_-!I_~--,A .""'-, ENABLED I .~ _ _ _--::--~_-:-:--.J __ DISABLED ~ I DATA OUTPUTS HIGH IMPEDANCE L tco:.f..- tOH...-.j 14- tOF ~ {1Ii_I_NV_A_L_ID_X~=V..;;AL..:I-D'X,.-IN·V.;;;A..:.L-ID~):'--H-IG-H-- I IMPEDANCE tACC----..·-i DEFINITIONS Access Time, TACC Output Enable Time. Tco Access time isthe maximum time between the application of a Output enable time is the maximum delay between Chip valid Address and the corresponding Data Out. Selects becoming true and Output Data becoming valid. Output Hold Delay, T OH Output Disable Time, T OF Output hold delay is the minimum time after an Address Output disable time is the delay between Chip Selects becom- change that the previous data remaons valid. ing false and output stages going to the high impedance state. 2-15 R0-3-9364B/C R0-3-9364HR 65,536 Bit Edge-TrIggered Read Only Memory FEAlURES 8192 x 8 Organization Single +5 Volt ± 10% Supply PIN CONFIGURATION TTL Compatible - All Inputs and Outputs 24 LEAD DUAL IN LINE Edge Triggered Operation 450ns Maximum Access Time: RO-3-9364B 300ns Maximum Access Time: RO-3-9364C Top View Three-State Outputs - Under the Control of Chip Enable Input A7 Vcc (-5V) 2 TTL Load/l00pf Output Drive Compatibility A6 A8 Low Power Dissipation - 250mW active, 150mW Standby AS A9 Totally Automated Custom Programing A4 A12 Zener Protected Inputs A3 CE Glsss Psssivation Protection A2 Al0 AI All DESCRIPTION AO 08 01 07 The General Instrument RO-3-9364 is a 65,536 Bit Edge-Triggered 02 06 Read Only Memory organized as 8192 8-bit words and Is ideally 03 05 suited for microprocessor memory applications. Fabricated with GNO 04 General Instrument N-Channel Silicon Gate Technology, the RO-3-9364 provides the designer with a high performance, easy- to-use MOS circuit featuring operation from a single +5 Volt power supply and low power dissipation. The RO-3-9364 offers the best combination of high performance, large bit storage and simple Interfacing of any MOS Read Only Memory available today. Vet; GNO BLOCK DIAGRAM 0, 0 U 0. T P 0, U T O. 65,536 BIT MATRIX B U 0, F F 0, E R 0, S O. CHIP ENABLE CLOCK GENERATOR 2-16 RO-3-9364B/C • RO-3-9364HR ELECTRICAL CHARACTERISTICS Maximum Ratings * Vcc and Input Voltages (with Respect to GND) .•...••... -0.5V to +7.0V * Exceeding these ratings could cause permanent dam- Storage Temperature ..•.•....•..••.••...•.•.•.••.•.. -65· C to +150· C age to the device. This is a stress rating only and func- tional operation of this device at these conditions is not implied-operating ranges are specified in Standard Standard Conditions (unless otherwise noted): Conditions. Exposure to absolute maximum rating con- Vcc=+5V± 10% ditions for extended periods may affect device reliability. Operating Temperature TA = O·C to +70·C Data labeled "typical" is presented for design guidance HR: TA = -55·C to +125·C only and is not guaranteed. Output Loading: Two TTL Loads, C L TOTAL = 100pf DC CHARACTERISTICS RO-3-9364B/C RO-3-9364HR Characteristics Sym Min Tnl'* Max Min Typ** Max Units Conditions Address, CHIP ENABLE Inputs Logic "1" V'H 2 - - 2 - - V Logic "0" V'L - - 0.8 - - 0.7 V Leakage III - - 10 - - 10 pA V'N= Vcc Data Outputs Logic "1" VOH 2.4 - - 2.4 - - V IOH = -200pA Logic "0" VOL - - 0.4 - - 0.4 V ICL = 3.2mA Leakage I LO - - 10 - - 10 pA VOUT= Vcc Power Supply Current Icc (Active) RO-3-9364B - - - 50 N/A rnA Output Loading 1Mel and 100pf RO-3-9364C - - - 50 CE at Minimum Cycle Time Icc (Standby) RO-3-9364B - - - 30 N/A rnA CE = Logic "1" RO-3-9364C - - - 30 RO-3-9364H R N/A - - 35 AC CHARACTERISTICS RO-3-9364B RO-3-9364C Characteristics Sym Min Typ ** Max Min 1\tP** Max Units Conditions Cycle Time tc 600 - - 400 - - ns CE Pulse Width tCE 450 - - 300 - - ns CE Precharge Time tp 150 - - 100 - - ns } A" 0.,... 0';"09 CE Access Time t AC - - 450 - - 300 ns Two TTL Loads Output Turn Off Time tOFF - - 150 - - 150 ns and 100pf Address Set Up Time t AS 0 - - 0 - - ns Address Hold Time tAH 90 - - 75 - - ns Capacitance Input Capacitance C, - - 7 - - 7 pf F = lMHz, TA = +25·C Output Capacitance Co - - 10 - - 10 pf F= lMHz, TA= +25·C RO-3-9364HR *** Characteristics Sym Min Typ ** Max Units Conditions CycieTime tc 400 - - ns CE Pulse Width tCE 300 - - ns CE Precharge Time tp - - 150 ns } '" 0'" ," 0"" 0, CE Access Time t AC - - 450 ns Two TTL Loads Output Turn Off Time tOFF - - 150 ns and 100pf Address Set Up Time t AS 0 - - ns Address Hold Time tAH 75 - - ns Capacitance Input Capacitance C, - - 7 pf F = lMHz, TA = +25·C Output Capacitance Co - - 10 pf F = lMHz, TA = +25· C **Typical values are at +25·C and nominal voltages * ** Preliminary specification 2-17 I~ R0-3-9364B/C • R0-3-9364HR OPERATION The RO-3-9364Is controlled by the chip enable. A negative going automatic low power standby mode by maintaining the chip edge at eE Input will activate the device and latch the addresses enable (CE) input at a TTL high level. In this mode, power dissipa- into the on-chip address registers. Once the address hold time tion is reduced as compared to unclocked devices which draw full specification has been met, new address data can be applied In power continuously. anticipation of the next cycle. The circuit can be put into an TIMING DIAGRAM CHip ENABLE I" tc -I V OH 1\~.a -IIr ..~\ VOL -1 f- t AS tAH-j VOH ~ II 'OO'ESS VALID I.. X -I t Ac ~tOFF~ VOL V OH DATA OUTPUT OPEN < VALID ) OPEN VOL 2-18 R0-3-936S8/C PRELIMINARY INFORMATION 65,536 Bit Edge-Triggered Read Only Memory FEATURES • 8192 x 8 Organization PIN CONFIGURATION • Single +5 Volt + 10% Supply 28 LEAD DUAL IN LINE • TTL Compatible - All Inputs and Outputs • Edge Triggered Operation • 450ns Maximum Access Time: RO-3-9385B • 300ns Maximum Access Time: RO-3-9365C • Three-State Outputs - Under the Control of Chip NC vee A12 NC Enable Input A7 NC • 2 TTL Load/loopf Output Drive Compatibility A6 A8 • Low Power Dissipation - 250mW Active, 150mW Standby M> A9 • Totally Automated Custom Progra,ming A4 All • Zener Protected Inputs A3 OE • Glass Passivation Protection A2 AID Al CE DESCRIPTION AD 08 The General I nstrument RO-3-9365 is a 65,536 Bit Edge-Triggered 01 07 Read Only Memory organized as 8192 8-bit words and is ideally 02 06 sUited for microprocessor memory applications. Fabricated with 03 05 GND 04 General Instrument N-Channel Silicon Gate Technology,the RO-3-9365 provides the designer with a high performance, easy- to-use MOS circuit featuring operation from a single +5 Volt power supply and low power dissipation. The RO-3-9365 offers the best combination of high performance, large bit storage, and simple interfacing of any MOS Read Only Memory available today. vee BLOCK DIAGRAM 0, 0. 0, 65.536 BIT 0. MATRIX 0, O. 0, 0. CHIP ENABLE CLOCK GENERATOR 2-19 IN~MIr RO-3-936SB/C ELECTRICAL CHARACTERISTICS Maximum Ratings * Vcc and Input Voltages (with Respect to GND) •...••.•.• -0.5V to +7.0V *Exceeding these ratings could cause permanent dam- Storage Temperature .•.•.•...•.•.•.•.• , .••.••....•.• -65° C to +150° C age to the device. This is a stress rating only and func- tional operation of this device at these conditions is not Standard Conditions (unless otherwise noted): implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Vcc = +5V ± 10% ditions for extended periods may affect device reliability. Operating Temperature TA = O°C to +70°C Output Loading: Two TTL Loads, C L TOTAL = 100pf Data labeled "typical" is presented for design guidance only and is not guaranteed. DC CHARACTERISTICS RO-3-9365B/C Characteristics Sym Min Typ Max Units Conditions Address, CHIP ENABLE Inputs Logic "1" V'H 2 - - V Logic "0" V'L - - 0.8 V Leakage IL' - - 10 JlA Data Outputs Logic "1" VOH 2.4 - - V 10H = 200JlA Logic "0" IOL - - 0.4 V IOL =3.2mA Leakage ILO - - 10 JlA Power Supply Current Icc (Active) - - - 50 mA Output Loading 1Mel and 100pf CE at Minimum Cycle Time Icc (Standby) - - - 30 mA CE = Logic "1" AC CHARACTERISTICS RO-3-9365B RO-3-9365C I Characteristics Sym Min Typ Max Min Typ** Max Units Conditions Cycle Time tc 600 - - 400 - - ns cr Pulse Width - ~'O",,,,, tCE 450 - - 300 - ns cr Precharge Time tp 150 - - 100 - - ns cr Access Time t AC - - 450 - - 300 ns 0';.09 Output Turn Off Time tOFF - - 90 - - 75 ns Two TTL Loads Address Set Up Time t AS 0 - - 0 - - ns and 100pf Address Hold Time tAH 90 - - 75 - - ns Output Enable Access Time tOEA - - 80 - - 100 ns Output Enable Data Off Time tOEZ - - 60 - - 75 ns Capacitance Input Capacitance C, - - 7 - - 7 pf F = 1MHz, TA = +25°C Output Capacitance Co - - 10 - - 10 pf F = 1MHz. TA = +25°C **Typical Values are at +25°C and Nominal Voltages. 2-3> RO-3-93f15B/C OPERATION The RO-3-9365 Is controlled by the chip enable (~ and output the next cycle. The outputs will remain valid and active until either enable (0'1:). A negative going edge at the CElnput will activate the eE or ~ is returned tothe inactive state. After output turn olltime device and latch the addresses Into the on-chip address registers. (t off) the output buffers will go to a high impedance state. The CE The output buffers, under the control of ClE, will become active In Input must remain inactive (high) between subsequent cycles for rn: access time (t.el If the output enable access time (toEA> time (tp) to allow for precharglng the nodes of the internal requirement is met. The on chip address register allows addresses circuitry. to be changed after the specified hold time (t. h) In preparation for TIMING DIAGRAM ~I~.-------------------tc--------------------~·I ~---\ (i--~ tP j-'M .~I.~"':::t-A-H:--1:::--:--:t-CE--------------------------:~ "" r-- ADDRESS =x +0 X I _ I~ __tRC~?~,,,~_ OUTPUT ENABLE \ : t OFA- DATA ) , OUTPUT--------------~~ VALID j ,'------" 2-21 R09464B/C/D R09464ABIACIAD PRELIMINARY INFORMATION 65,536 Bit Static Read Only Memory FEATURES PIN CONFIGURATION • 8192 x 8 Organization 24 LEAD DUAL IN LINE • Fully Static Operation • Single +5V ± 10% Supply A7 Vee • Inputs and Outputs TTL Compatible A6 AS • Three State Outputs AS A9 • Output Drive Capability of 2 TTL Loads and 100pf A4 A12 • 24 Pin JEDEC Approved Pinout A3 CS A2 A1D A1 Al1 DESCRIPTION AD OS The General Instrument R09464 and R09464A are 65,536 Bit 01 07 Static Read Only Memories organized as 8192 eight-bit words and 02 06 03 05 are ideally suited for microprocessor memory applications. Fabri- GND 04 cated with General Instrument N-Channel Silicon Gate Technol- ogy, the R09464 and R09464A provide the designer with a high R094S4 performance, easy to use MOS circuit featuring operation from a single +5 Volt power supply and low power dissipation. The R09464 and R09464A offer the best combination of high perform- A7 Vee ance, large bit storage and simple interfacing of any MOS Read A6 AS Only Memory avai lable today. A5 A9 A4 A12 The R09464 offers a programable chip select on pin 20. The A3 CE R09464A offers an automatic power down feature on pin 20. A2 A1D Power down is controlled by the Chip Enable (CE) input. When i5E A1 Al1 I goes high, the device will automaticall~owAr down and remain In AD 08 a low power standby mode as long as CE remains high. 01 07 02 06 03 05 GND 04 R09464A BLOCK DIAGRAM AD A1 A2 01 A3 02 A4 03 AS 04 A6 05 A7 06 A8 07 A9 08 A1D Al1 A12 ~ (ROe464A) CS (R09464) CHIP SELECT ICS) IS PROGRAMABLE ACTIVE LOW. ACTIVE HIGH. OR DON'T CARE 2-22 R09464B/C/D. R09464AB/AC/AD ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceeding these ratings could cause permanent dam- Storage Temperature ......•...•..•.•.•......•.•.••.• -65· C to +150· C age to the device. This is a stress rating only and func- Supply Voltage to Ground Potential .•........•.•.••...• -0.5V to +7.0V tional operation of this device at these conditions is not Applied Output Voltage ................................ -0.5V to +7.0V implied-operating ranges are specified in Standard Applied Input Voltage .•......•.•....•.••.•.•.•..•.•.•. -0.5V to +7.0V Conditions. Exposure to absolute maximum rating con- Power Dissipation .•.•..•.....•.•..•.•.•......•.•..•...•.•.....•. 1.0W ditions for extended periods may affect device reliability. Data labeled "typical" is presented for design guidance Standard Conditions (unless otherwise noted): only and is not guaranteed. Operating Temperature TA = O·C to +70·C Vcc = +5V ± 10% DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Output High Level VOH 2.4 - Vcc V IOH=-200,.,A Output Low Level VOL - - 0.4 V 10L =3.2mA Input High Level V,H 2 - Vcc V Input Low Level V,L -0.5 - 0.8 V Input Leakage Current III - - 10 ,.,A Y'N = OV to Vcc Output Leakage Current ILO - - 10 ,.,A VOUT=OVtOVcc Operating Supply Current Icc - - 100 mA Note 1 Standby Supply Current 158 - - 12 mA Note 2 AC CHARACTERISTICS R09464B R09464C R09464D R09464AB R09464AC R09464AD Characteristics Sym Min Max Min Max Min Max Units Conditions Cycle Time tCYC 450 - 300 - 200 - ns Address Access Time tAA - 450 - 300 - 200 ns Output Hold After Address Change tOH 20 - 20 - 20 - ns Chip Enable Access Time t ACE - 450 - 300 - 200 ns Note 4 Chip Select Access Time tACS - 150 - 100 - 85 ns Note 3 Output Low Z Delay tLZ 20 - 20 - 20 - ns Note 5 Output High Z Delay tHZ - 75 - 75 - 75 ns Note 6 Power Up Time t pu 0 20 0 20 0 20 ns Notes 4.7 Power Down Time tpD - 150 - 100 - 100 ns Note 4 Capacitance** Input Capacitance C, - 7 - 7 - 7 pf F = 1MHz, TA = +25·C Output Capacitance Co - 10 - 10 - 10 pf F = 1MHz, TA = +25·C **Capacitance is periodically sampled and is not 100% tested. NOTES: 1. Measured with device selected and outputs unloaded. 2. Applies to "A" versions only and measured with CE = 2.0V. 3. Applies to Non-"A"versions only. 4. Applies to "A" versions (power down) only. 5. Output low impedance delay (tLz) is measured from CE going low or CS going active. 6. Output high impedance delay (tHz) is measured from CE going high or CS going inactive. 7. Power Up Time (t pu) is not additive to Chip Enable Access Time (tACEl. Part Maximum Operating Standby Number Access Time Current Current R09464B 450ns 100mA NA R09464C 300ns 100mA NA R09464D 200ns 100mA NA R09464AB 450ns 100mA 12mA R09464AC 300ns 100mA 12mA R09464AD 200ns 100mA 12mA 2-23 II~ I R09484B/C/D • R09464AB/AC/AD TIMING DIAGRAMS Propagation Delay from Address (CE LOW or CS =AcUye) ADDRESS INPUTS t; VALID ADDRESS • _______~------------------------ ~ D~~~iltf _ _• VALID DATA toH _ Propagation Delay from Chip Enable, Chip Select or Output Enable (Address Valid) z1 AC TEST CONDITIONS +5V Input Pulse Levels ...••.......••..••.. 0.8V to 2.2V l2500 Input Rise and Fall Times ......••......•.•. 20 nsec Timing Measurement Levels: Input ............ 1.5V o OUT Output .. 0.8V and 2.0V lOOp! Output Load ..•...•...•.......•...•.. See Figure 1 7750 (INCLUDING SCOPE AND JIG) Fig. 1 2-24 R09864B/C/D R09864ABI ACIAD PRELIMINARY INFORMATION 65,536 Bit Static Read Only Memory FEATURES • 8192 x 8 Organization PIN CONFIGURATION • Fully Static Operation 28 LEAD DUAL IN LINE • Single +5V ± 10% Supply • Inputs and Outputs TTL Compatible NC Vee A12 CS1 • Three State Outputs A7 CS2 • 28 Pin JEDEC Approved Pinout (R09864A) A6 A6 AS A9 A4 A11 DESCRIPTION A3 CS3 The General Instrument R09864 and R09864A are 65,536 Bit A2 A10 Static Read Only Memories organized as 8192 eight-bit words and A1 CS4 are ideally suited for microprocessor memory applications. Fabri- AD 08 01 07 cated with General Instrument N-Channel Silicon Gate Technol- 02 06 ogy, the R09864 and R09864A provide the designer with a high 03 05 performance, easy to use MOS circuit featuring operation from a GND 04 single +5 Volt power supply and low power dissipation. The R09864 and R09864A oller the best combination of high perform- R09864 ance, large bit storage and simple interfacing of any MOS Read Only Memory available today. NC Vee The R09864 oilers a four input chip select (CS3 and CS4 are on A12 CS1 Pin 22 and 20 respectively) enables usage in large memory A7 CS2 applications. AS A8 AS A9 The R09864A oilers an automatic power down feature. On Pin 20 A4 A11 power down is controlled by the Chip Enable (CE) input. When A3 OE CE goes high, the device will automatically power down and A2 A10 remain in a low power standby mode as long as CE remains high. A1 CE AD 08 The R09864A oilers an Output Enable (OE), on Pin 22, that 01 07 eliminates bus contention in applications using large memory 02 06 systems. 03 05 GND 04 R09864A GND BLOCK DIAGRAM AO A2 D1 A3 02 03 A5 04 ADDRESS ADDRESS A6 INPUT 05 BUFFERS OECODe A7 06 A8 07 A, 08 AlO A12 R09864A CE R09864A DE CS1 CHIP CS2 SELECT CIRCUITRY R09864 CS3 CS4 CHIP SELECT (CS) ARE PROGRAMABLE ACTIVE LOW. ACTIVE HIGH. OR DON'T CARE 2-25 IN~M\- R09864B/C/D. R09664AB/AC/AD ELECTRICAL CHARACTERISTICS Maximum Ratlngs* " Storage Temperature ................................ -65·C to +150·C * Exceeding these ratings could cause permanent dam- Supply Voltage to Ground Potential •...••..••••.•••••.• -0.5V to +7.0V age to the device. This is a stress rating only and func- Applied Output Voltage ........................•.•.•.•. -0.5V to +7.0V tional operation of this device at these conditions is not Applied Input Voltage ................................. -0.5it to +7.0V implied-operating ranges are specified in Standard Power Dissipation ............................................... 1.0W Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Standard Conditions (unless otherwise noted): Data labeled "typical" is presented for design guidance Operating Temperature TA = O·C to +70·C only and is not guaranteed. Vcc = +5V ± 10% DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Output High Level VOH 2.4 - Vcc V 10H = -200 IlA Output Low Level VOL - - 0.4 V IOL=3.2mA Input High Level VIH 2 - Vcc V Input Low Level VIL -0.5 - 0.8 V Input Leakage Current III - - 10 IlA VIN = Vcc Output Leakage Current ILo - - 10 IlA VOUT= Vcc Operating Supply Current Icc - - 100 mA Note 1 Standby Supply Current IS8 - - 12 mA Note 2 AC CHARACTERISTICS R09864B R09864C R09864D R09864AB R09864AC R09864AD Characteristics Sym Min Max Min Max Min Max Units Conditions OycleTime t cvc 450 - 300 - 200 - ns Address Access Time tAA - 450 - 300 - 200 ns Output Hold After Address Change tOH 20 - 20 - 20 - ns Chip Enable Access Time t ACE - 450 - 300 - 200 ns Note 2 Chip Select Access Time t ACS - 75 - 75 - 75 ns Note 3 Output Enable Access Time t AOE - 75 - 75 - 75 ns Note 2 Output Low Z Delay tLZ 20 - 20 - 20 - ns Note 4 Output High Z Delay tHZ - 75 - 75 - 75 ns Note 5 Power Up Time t pu 0 20 0 20 0 20 ns Notes 2. 6 Power Down Time t po - 100 - 100 - 100 ns Notes 2. 6 Capacitance ** Input Capacitance CI - 7 - 7 - 7 pf F = lMHz. TA = +25·C Output Capacitance Co - 10 - 10 - 10 pf F = lMHz. TA = +25·C ** Capacitance is periodically sampled and is not 100% tested. NOTES: 1. Measured with device selected and outputs unloaded. 2. Applies to "Au versions only. 3. Applies to non "Au versions only. 4. Output low impedance delay (tLz) is measured from CE and OE going low and CS going active. whichever occurs last. 5. Output high Impedance delay (tHz) is measured from either CE or OE going high or CS going inactive. whichever occurs first. 6. Power Up Time (t pu) Is not additive to Chip Enable Access Time (t AC")' Part Maximum Operating Standby Number Acce.sTlme Current Current R09864B 450ns 100mA NA R09864C 300ns 100mA NA R09864D 200ns 100mA NA R09864AB 450ns 100mA 12mA R09864AC 300ns 100mA 12mA R09864AD 200ns 100mA 12mA 2-26 R09864B/C/D. R09864AB/AC/AD TIMING DIAGRAMS Propagation Delay trom Address CE =(SE =LOW,CSt~ =Active ADDRESS------~t INPUTS tAA-: _________ VALID ADDRESS DATA OUT J VALID DATA Propagation Delay trom Chip Enable, Chip Select or Output Enable (Address Valid) cstcs Iee ___ _ Vee CURRENT ISB -----+--------'1 +5V AC TEST CONDITIONS ~ Input Pulse Levels .................... O.BV to 2.2V 2500 Input Rise and Fall Times .................. 20 nsec DOUT 100pl Timing Measurement Levels: Input ............ 1.5V .. 7750 (INCLUDING Output .. .c.BV and 2.0V SCOPE AND JIG) Output Load ......................... See Figure 1 Fig. 1 2-27 R09128B/C/O PRELIMINARY INFORMATION 131,072 Bit Static Read Only Memory • 16,384 x 8 Organization PIN CONFIGURATION • Single +5 Volt Supply 28 LEAD DUAL IN LINE • 450ns Max Access Time: R09128B • 300ns Max Access Time: R09128C N.C. Vee A12 CS1 • 200ns Max Access Time: R09128D A7 A13 • Totally Static Operation AS AS • Three State Outputs Nl A9 • All TTL Compatible Inputs10utputs A11 • 28 Pin JEDEC Approved Pinout AS OE A2 A10 A1 ec AO 08 General Instrument R09128 is a 131,072 Bit Static Read Only 01 07 Memory organized as 16,384 eight-bit words and is Ideally suited 02 08 03 06 for microprocessor memory applications. Fabricated with General GND 04 Instrument N-Channel Silicon Gate Technology, the R09128 pro- vides the designer with a high performance, easy to use MOS circuit featuring operation from a single +5 Volt power supply and low power dissipation. The R09128 offers a power down feature controlled by the Chip Enable (l5E) Input. When CE goes high. the device will automati- cally power down and remain in a low power standby mode as long The Output Enable (m). and Chip Select (CS1) functions elimi- as CE remains high. nate bus contention In multiple memory device systems. BLOCK DIAGRAM 01 02 03 ADDRESS ADDRESS MEMORY OUTPUT INPUT MATRIX 04 DECODE BUFFERS BUFFERS 16384 x 8 05 06 07 06 CHIP SELECT (CS1) IS PROGRAMABLE ACTIVE LOW. ACTIVE HIGH. OR DON'T CARE 2-28 R09128B/C/D ELECTRICAL CHARACTERISTICS Maximum Ratlngs* Vcc and Input Voltages (with Respect to GND) .......... -0.5V to +7.0V * Exceedingthese ratings could cause permanent dam- Storage Temperature .....•....•...............•.•.•. -65·C to +150·C age to the device. This is a stress rating only and func- tional operation of this device at these conditions is not Standard Conditions (unless otherwise noted): implied-operating ranges are specified in Standard Vcc = +5V ± 10% Conditions. Exposure to absolute maximum rating con- Operating Temperature TA = O·C to +70·C ditions for extended periods may affect device reliability. Output Loading: Two TTL Loads, C l TOTAL = 100pf Data labeled "typical" is presented for design guidance only and is not guaranteed. DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Address, CE, OE, CS1 Inputs Logic "I" V'H 2.0 - Vcc V Logic "0" V'l 0 - 0.8 V Leakage III - - 10 pA V'N= Vcc Data Outputs Logic "I" VOH 2.4 - Vcc V IOH=-200pA Logic "0" VOL - - 0.4 V 10l =3.2mA Leakage ILO - - 10 pA VOUT= Vcc Power Supply Current Icc (Active) - - - 100 mA Output Unloaded, Chip Enabled Icc (Standby) - - - 12 mA CE= 2.0V AC CHARACTERISTICS R09128B R09128C R09128D Characteristics Sym Min Max Min Max Min Max Units Conditions Address Access Time t ACC - 450 - 300 - 200 ns Address Hold After Address Change tOH 20 - 20 - 20 - ns Chip Enable Access Time t Ace - 450 - 300 - 200 ns Chip Select, Output Enable Access Time t ACS - 100 - 100 - 75 ns Note 1 Output Low Z Delay tlZ 20 - 20 - 20 - ns Note 2 Output High Z Delay tHZ - 75 - 75 - 75 ns Note 3 Power-Up Time tpu 0 20 0 20 0 20 ns Note 4 Power-Down Time t po - 100 - 100 - 100 ns Capacitance ** Input Capacitance - 7 - 7 - 7 - pf F= lMHz, TA=+25~C Output Capacitance - 10 - 10 - '10 - pf F = lMHz, TA = +25·C NOTES: 1. Access time to Valid Data (assuming data previously Enabled and addressed), measured from OE and CSI going low, whichever occurs last. 2. Output low impedance delay (Data Invalid/Valid) is measured from OE and CE going low, or CSI going active, whichever occurs last. 3. Output high impedance delay is measured from OE or CE going high or CSI going Inactive whichever occurs first. 4. Power Up Time is not added to Chip Enable Access Time (t Ace)' * *Capacitance is periodically sampled and is not 100% tested. 2-29 R09128B/C/D TIMING DIAGRAMS Propagation Delay from Address CE = OE = LOW,CS/CS = Active ADDRESS----r VALID ADDRESS r INP~O:U:TA 'I===tAA-:_--------------'..;",.~--tO-H_:j_ J VALID DATA """""'-- Propagation Delay from Chip Enable, Chip Select or Output Enable (Address Valid) CS/CS ---+1--~X ACTIVE I I I~--~--~~~-- OE DATA I LL ---+------~----~I t i;-,2)_-_1Al'171l"""" II""--::-V-A-L-ID-D-A-T-A"':'-- ----rr------~--:(2~)--------~~~~--~~~~~~--~ OUT 4 ttLL~Z~::::::~~ ________ ______ I~ ~1 VCCCURRE~::-----c:=r Ltpo=:J= +5V AC TEST CONDITIONS ~ Input Pulse Levels .................... O.BV to 2 2V 2500 Input RIse and Fall TImes .................. 20 nsec Dour 100pf TIming Measurement Levels. Input ............ 1.5V 7750 (INCLUDING Output .. a BV and 2.0V SCOPE AND JIG) Output Load ......................... See Figure 1 Fig. 1 2-30 R09256 PRELIMINARY INFORMATION 262,144 Bit Static Read Only Memory FEATURES • 32.768 x 8 Organization PIN CONFIGURATION • Single +5 Volt Supply 28 LEAD DUAL IN LINE • Maximum 300ns Access Time • Totally Static Operation NC. vee • Three State Outputs A12 A14 • All TTL Compatible Inputs/Outputs A7 A13 AS AS • 28 Pin JEDEC and MOSTEK Standard Pinout AS A9 A4 A11 DESCRIPTION A3 OE A2 A10 The General Instrument R09256 is a 262.144 Bit Static Read Only A1 C"E Memory organized as 32.768 by 8-bit and Is ideally suited for AO 07 microprocessor memory applications. Fabricated with General 01 06 Instrument N-Channel Silicon Gate Technology. the R09256 pro- 02 05 vides the designer with a high performance. easy to use MOS 03 04 GND 03 circuit featuring operation from a single+5 Volt power supply and low power dissipation. The R09256 offers a power down feature controlled by the Chip Enable (eE) input. When CE goes high. the device will automati- cally power down and remain in a low power standby mode as long as CI: remains high. An additional feature of Output Enable (OE) function eliminates bus contention in multiple bus microprocessor systems. BLOCK DIAGRAM 01 02 03 ADDRESS ADDRESS MEMORY OUTPUT INPUT DECODE MATRIX 04 BUFFERS BUFFERS 16384 x 8 05 06 07 08 2-31 R0-3-9504 20K Cartridge ROM FEATURES • Mask Program able Storage Providing 2048 x 10 Bit Words PIN CONFIGURATION • 16 Bit On-Chip Address Latch 28 LEAD DUAL IN LINE • Memory Map Circuitry to Place the 2K ROM Page Within a 65K Memory Area • 16 Bit Trl-State Bus with Higher 6 Bits Driven to Zero During Read Operations vee BCl NC BC2 CIRCUIT REQUIREMENTS NC BDIR The RO-3-9504 operates as the program memory for systems DB15 DBO NC DBl using a CP1610 microprocessor. It Is configured as 2048 x 10 bit OB14 DB2 words and contains several features which reduce the device DB13 NC count in a practical microprocessor application. OB12 DB3 DBll DB4 DB10 DBS DESCRIPTION NC NC From initialization, the RO-3-9504 waits for the first address code DB9 DB8 i.e., BAR. For this address code and all subsequent address DB8 DB7 sequences, the 9504 reads the 16-blt external bus and latches the NC Ves value into its address register. The 9504 contains a programable memory map location for its own 2K page, and if a valid address is detected, the particular address location will transfer its contents to the chip output buffers. If the control code following the address cycle was a READ, the 9504 will output the 10 bits of addressed data and drive a logic zero on the top six bits of the bus. INPUT CONTROL SIGNALS Equivalent BDIR BC1 BC2 Signal Decoded Function 0 0 0 NACT No ACTion, 00-015 = High Impedance 0 0 1 lAB No Action 0 1 0 ADAR Address Data to Address Register, 00-015 = High Impedance 0 1 1 DTB(READ) Data To Bus, 00-015 = Input 1 0 0 BAR Bus to Address Register 1 0 1 DWS No Action 1 1 0 OW No Action 1 1 1 INTAK INTerrupt AcKnowledge TIMING DIAGRAM CP1610--1[:~§~:J BUS CYCLES ADDRESS _ _ _ _ _ _[:~~~:} READ _ __ I- t "'1 I- as tao DATAN------------~Ic:~VA~L~ID~~c:j------------------------------------------- r-tac---·..I. .t-tda-+l -+I tdO I-- DATA OUT I VALID r 2-32 RO-3-9504 IN~ ELECTRICAL CHARACTERISTICS Maximum Ratings· Temperature Under Bias •.•••......•••......•....•••. O· C to 100· C • Exceeding these ratings could cause permanent dam- Storage Temperature •.••.•.••..................• -55· C to +150· C age to the device. This is a stress rating only and func- All Input or Output Voltages with Respect to Vss ..••...• -0.2V to +9.0V tional operation of this device at these conditions is not Vcc with Respect to Vss ................................ -0.2V to +9.0V implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. TA = O·C to +55·C Data labeled "typical" is presented for design guidance Vcc = +4.85V - +5.15V only and is not guaranteed. Vss= O.OV DC CHARACTERISTICS Characteristics Sym Min Max Units Conditions Inputs Input Logic Low V'L 0 0.7 V Input Logic High V,H 2.4 Vcc V Input Leakage V'L - 5 pA Y'N = OV to Vcc Capacitance - - 10 pf V,N=OV CPU BUS Outputs Output Logic Low VOL 0 0.5 V 10L = 1.5mA +150 f Output Logic High VOH 2.4 Vcc V 10H = -200pA P Supply Current VccSupply Icc - 120 mA 25·C AC CHARACTERISTICS Characteristics Sym Min Max Units Conditions Inputs Address Set Up tas 400 - ns Address Overlap tao 65 - ns CPU BUS Outputs Turn ON Delay tda - 350 ns Turn OFF Delay tdO 85 - ns Access Time tac - 1.5 J1S 2-33 R09508 PRELIMINARY INFORMATION 40K Cartridge ROM FEATURES • Mask Programable Storage Providing 4096 x 10 Bit Words PIN CONFIGURATION • 16 Bit On-Chip Address Latch 28 LEAD DUAL IN LINE • Control Decoder • Programable Memory Map Circuitry to Place 4K ROM Page Within 65K Word Memory Space Located on 4K Page vee BCl Boundaries NC BC2 NC BOlA 0815 DBO REQUIREMENTS NC DBl The R09508 operates as the program memory for systems using a OB14 DB2 CP1600 series microprocessor. II is configured as 4096 x 10 bit 0813 NC 0812 DB3 words and contains several features which reduce Ihe device DB4 DB11 count in a practical microprocessor application. 0810 DB5 NC NC DESCRIPTION DB9 DB6 DBa DB7 The R09508 contains a programable memory map location for its NC Vss own 4K page and if a valid address is detected, the particular addressed location will transfer its contents to the chip output buffers. If the control code following the address cycle was a Read, the R09508 will output the 10 bits of addressed data and also drive a logic zero on the top 6 bits of the bus. BUS CONTROL SIGNALS BDIR BC2 BCl Signal Decoded Function 0 0 0 NACT No ACTion, 00-015 = High Impedance 0 0 1 ADAR Address Data to Address Register, DO-DI5 = High Impedance 0 1 0 lAB No Action 0 1 1 DTB Data To Bus, 00-015 = Input 1 0 0 BAR Bus to Address Register 1 0 1 DW No Action 1 1 0 DWS No Action 1 1 1 INTAK INTerrupt AcKnowledge TIMING DIAGRAM CP1610~ BUSCYCLES~ ADDRESS ~~ ________ ~~~ __ R_EA_D __ ~~, _________ I I I I ----: I tas r- ~ I I tao I-- I _________ ~ DATAIN ~~_________________________________ I ---I I-.,.J l.- I Ida I Ido - - - - - I a e - - - - - - i l f - -.......I !"'I.. I I : I ____________________________________X I I I DATA OUT >C 2-34 RO-3-9508 ELECTRICAL CHARACTERISTICS Maximum Ratlngs* Temperature Under Bias ............................... O°C to +100°C * Exceeding these ratings could cause permanent dam- Storage Temperature ................................ -55°C to +150°C age to the device. This is a stress rating only and func- All Input or Output Voltages with Respect to Vss ......... -0.2V to +9.0V tional operation of this device at these conditions is not Vcc with Respect to Vss ................................ -0.2V to +9.0V implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise noted): ditions for extended periods may affect device reliability. Ambient Temperature O°C to +55°C Data labeled "typical" is presented for design guidance Vcc = +4.85V to +5.15V only and is not guaranteed. Vss= OV DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Inputs Input Logic Low V'L 0 0.7 V Input Logic High V,H 2.4 Vcc V Input Leakage V'L 5 /1A V,N = OV to Vcc CPU Bus Outputs Output LogiC Low VOL 0 0.5 V 10L = 1.5mA Output Logic High VOH 2.4 Vcc V 10H = 80/1A Supply Current VccSupply Icc 120 mA Vcc= 5.15V@25°C AC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Inputs Address Set Up t AS 300 - - ns Address Overlap tAO - - 65 ns CPU Bus Outputs Turn ON Delay tDA - - 350 ns Turn OFF Delay t DO 85 - - ns Access Time t AC - - 1.5 /1S 2-35 2-36 R09580 PRELIMINARY INFORMATION 80K Cartridge ROM FEATURES • Mask Programable Storage Providing 8t92 x 10 Bit Words PIN CONFIGURATION • 16 Bit On-Chip Address Latch 28 LEAD DUAL IN LINE • Control Decoder • Programable Memory Map Circuitry to Place 8K ROM Page Within 65K Word Memory Space Located on Two Vee BCl Independent 4K Boundaries NC BC2 NC BOIR 0815 DBO CIRCUIT REQUIREMENTS NC DBl The R09580 operates as the program memory for systems using a 0814 DB2 CP1600 series microprocessor. 0813 NC 0812 DB. It is configured as 8192 x 10 bit words and contains several features DB11 DB4 which reduce the device count in a practical microprocessor 0810 DBS application. NC NC DBe DBS DESCRIPTION DBB DB7 NC V" The R09580 contains a programable memory map location for its own 8K page and if a valid address is detected, the particular addressed location will transfer Its contents to the chip output buffers. lithe control code following the address cycle was a Read, the R09580 will output the 10 bits of addressed data and also drive a logic zero on the top 6 bits of the bus. BUS CONTROL SIGNALS BDIR BC2 BCt Signal Decoded Function 0 0 0 NACT No ACTion, 00-015 = High Impedanc e 0 0 1 ADAR Address Data to Address Register, 00-015 = High Impedance 0 1 0 lAB No Action 0 1 1 DTB Data To Bus, 00-015 = Input 1 0 0 BAR Bus to Address Register 1 0 1 OW No Action 1 1 0 DWS No Action 1 1 1 INTAK INTerrupt AcKnowledge TIMING DIAGRAM CP1610~ BUSCYCLES~ ADDRESS ~~ __________ J~~ R_E_A_D__ ___ ~~ , _________ I I I --l tas I r-- --I I I , tao l- , _________ ~ DATAIN ~~_________________________________ --l tda I- -I tdo ~ ... - - - - - t a e - - - - i ! f - -....o.Il : I I ____________________________~X , I I I DATA OUT )C 2-37 GENERAL R09580 INSfRUMENT ELECTRICAL CHARACTERISTICS Maximum Ralings* Temperature Under Bias .•.....•.......•......•.•.....• O· C to +100· C * Exceeding these ratings could cause permanent dam- Storage Temperature ........•...•.....•......•...... -55· C to +150· C age to the device. This is a stress rating only and func- All Input or Output Voltages with Respect to Vss .......... -0.2V to +12V tional operation of this device at these conditions is not Vec with Respect to Vss ................................. -0.2V to +12V implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise noted): ditions for extended periods may affect device reliability. Ambient Temperature: -40· C to +85· C Data labeled "typical" is presented for design guidance Vce = +4.50V to +5.50V, only and is not guaranteed. Vss= OV DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Inpuls Input Logic Low V,L 0 - 0.8 V Input Logic High VOH 2 - Vcc V Input Leakage V,L - - 5 /lA V,N = OV to Vcc CPU Bus Outputs Output Logic Low VOL 0 - 0.4 V 10L = 1.6mA Output Logic High VOH 24 - Vec V 10H= 100/lA Supply Current Vee Supply Icc - - 75 mA AC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Inputs Address Set Up 300 - _. ns t AS Address Overlap tAO 50 - 65 ns CPU Bus Outputs Turn ON Delay tOA - - 300 ns Turn OFF Delay too 80 - 250 ns Access Time lAC - - 15 /lS 2-38 R09160 PRELIMINARY INFORMATION 160K Cartridge ROM FEATURES • Mask Programable Storage Providing 16,384 x 10 Bit Words PIN CONFIGURATION • 16 Bit On-Chip Address Latch 28 LEAD DUAL IN LINE • Control Decoder • Programable Memory Map Circuitry to Place 16K ROM Page Within 65K Word Memory Space Located on Four vee BCl Independent 4K Boundaries NC BC2 NC BDIR REQUIREMENTS OB15 DBO NC OBl The R09160 operates as the program memory for systems using a DB2 DB14 CP1600 series microprocessor. DB13 NC It is configured as 16K x 10 bit words and contains several features OB12 093 DB11 DB4 which reduce the device count in a practical microprocessor OS10 DBS application. NC NC DB9 DBB DESCRIPTION DBB DB7 The R09160contains a programable memory map location for its NC v" own 16K page and if a valid address is detected, the particular addressed location will transfer its contents to the chip output buffers. If the control code following the address cycle was a Read, the R09160 will output the 10 bits of addressed data and also drive a logic zero on the top 6 bits of the bus. BUS CONTROL SIGNALS BDIR BC2 BC1 Signal Decoded Function 0 0 0 NACT No ACTion, 00-015 = High Impedance 0 0 1 ADAR Address Data to Address Register, 00-015 = High Impedance 0 1 0 lAB No Action 0 1 1 DTB Data To Bus, 00-015 = Input 1 0 0 BAR Bus to Address Register 1 0 1 OW No Action 1 1 0 DWS No Action 1 1 1 INTAK INTerrupt AcKnowledge TIMING DIAGRAM Busc~6~~~~ ADDRESS ~~ ________ -J~~ ___R_E_A_D__ ~~~ _________ I I --: I I ta• r-- --I I I I tao ; - . I _________ ~ DATAIN ~~________________________________ I -..j tda '-- - ' ..-- I tdo I.- I ~.... -----tae----!I!--".": I I >C I I I I ___________________________________~X DATA OUT 2-39 R09160 ELECTRICAL CHARACTERISTICS Maximum Ratings· Temperature Under Bias .•...•.•.•.•.•...•...•.••...... O·C to +100·C * Exceeding these ratings could cause permanent dam- Storage Temperature .•...•.•.........•.....•....•.•. -55· C to +150· C age to the device. This is a stress rating only and func- All Input or Output Voltages with Respect to Vss ...•.•.•.. -0.2V to +12V tional operation of this device at these conditions is not Vee with Respect to Vss ...•.•....................•...... -0.2V to +12V implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise noted): ditions for extended periods may affect device reliability. Ambient Temperature: -40·C to +85·C Data labeled "typical" is presented for design guidance Vee = +4.50V to +5.50V only and is not guaranteed. Vss= OV DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Inputs Input Logic Low V,L 0 - 0.8 V Input Logic High V,H 2 - Vcc V Input Leakage V,L - - 5 J1A V,N = OV to Vcc CPU Bus Outputs Output Logic Low VOL 0 - 0.4 V 10L = 1.6mA Output Logic High VOH 2.4 - Vcc V 10H= 100J1A Supply Current VccSupply Icc - - 75 mA AC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Inputs Address Set Up t AS 300 - - hs Address Overlap tAO 50 - 65 ns CPU Bus Outputs Turn ON Delay tOA - - 300 ns Turn OFF Delay too 80 - 250 ns Access Time tAC - - 1.5 J1S 2-40 GENERAL INSTRUMENT Keyboard Encoder FUNCTIOIII PART PAGE DESCRIPTION NUIIBJ!R NUMBJ!R CAPACITIVE 4,592 bits organized ae 112 keys x 4 modea It 10 blta, p1Ull112 bits for IImmai , KEYBOARD AY-3-4IIh ,~ ENCODER PI'CIlramlng of function k e y s . ' " , ' 2-41 AY-3-4S92 Capacitive Keyboard Encoder FEATURES PIN CONFIGURATION • 128 Key Keyboard Encoder: 112 Fully Decoded Keys, 16 40 LEAD DUAL IN LINE Discrete Function Keys • 112 Keys With 4 Modes, 10 Bit Output • Key Validation Logic Protects Against Bounce GNO vee (+5V) • N-Key Roll Over or 2-Key Roll Over 01 AKO • Internal ROM Allows Any Keys to Control SHIFT CTRL, 02 '!:IAi'IIii SHIFT LOCK and ALPHA LOCK 03 l'OR • ALPHA LOCK and SHIFT LOCK Indicator Lines 04 Clock Data • Any Key Down (AKD) Strobe Outputs 05 KPi'i • Single +5 Volt Power Supply 06 SLi 07 ALI • Programable Coding of Standard and Special Function Keys 08 X6 • Zener Diode Protection on All I/O Pins 09 X7 • Low Power Consumption, Less Than 2 MW per Key 010 X5 • Usable with Capacitive, Magnetic, I nductive, Hall Effect, or KBINH X14 Mechanical Keyboard Switches LO/RO X15 Keyboard • Inputs and Outputs TTL and CMOS Compatible Keyboard {-VA X13 MatriX • Internal Oscillator MatriX -YC X12 Outputs r Inputs -VB Xll Xl0 Keyboard _ X1 X9 DESCRIPTION Matnx xo Outputs -X2 X8 The General Instrument AY-3-4592 is a unique dual pulse scan- -X3 X4 ning encoder and keyboard controller for 112 keys in four modes and 16 programable discrete function keys. ROM programing permits any keys to control the shift control and lock functions The AY-3-4592 is fabricated with General Instrument N-Channel The AY-3-4592 can be used with capacitive, Inductive (magnetic) MOS technology on a single chip containing a 4592 bit ROM, a or switch closure type switches since it works on pulse detection. 128 bit shift register and an internal oscillator. BLOCK DIAGRAM 06 010 X15 X1413 12 11 10 9 8 7 6 5 4 3 2 1 XO Y. Y ALI DRIVERS Y. Y, COUNTER BUS SLI CLOCK BUS 781T COUNTER AND DRIVERS POR KBINHo--+--+-----I VALIDATION AND LO/ROo--+_ _ + ____ -I CONTROL LOGIC AKO~II-I---:-~---L_x___r----,-J I 8. CLOCK CLOCK RC I I POR 128 BIT SHIFT REGISTER I I I I L_ -.:- __________6_~v~ KPD . t~ND 2-42 AY-3-4S92 PIN FUNCTIONS Pin No. Name Symbol Function 1 Ground GND Ground Pin 2-10 Data Out Dl-D9 Data Outputs, Dl through D9 11 Data Out Dl0 Data Output Dl0. See AY-3-4592 options for complete description 12 Key Inhibit KBINH Logic "1" on KBINH will inhibit the processing of Key closures and prevent new output codes. See AY-3-4592 options for other custom options. 13 Lockout/rollover LO/RO High for 2 Key Rollover operation, low for N Key Rollover operation. This input is a high impedance Schmitt trigger with thresholds of approximately v.. (low) and % (high) of Vee. This allows easy interfacing with very slow RC circuits for such functions as "repeat delay". LO/RO is internally "anded" with AKD/STB; if either is low, N Key rollover is automatically selected. 14-16 V-Address VA, VB, YC Y Address lines select one of eight Y inputs through external multiplexer. Scan sequence is Y7 to YO 17-27, 30-32 X Outputs XO-X13, X5-X7 X output drivers for Matrix scanning. Scan sequence is X15 to XO. Each driver generates 8 pairs of pulses each scanning cycle. 28,29 X15, 14 X15, X14 X15 is programed as a "discrete output" key in the standard part. Optionally it may be programed as an error flag or as a Matrix drive line. See AY-3-4592 options. Unlike XO-X13, neither X14 nor X15 have associated ROM output codes. These lines are used to enable separate discrete keys to be debounced using an addressable latch as illustrated in figure 2. 33 Alpha Lock ALI ALI will indicate if op code XX10l is selected. (See operation codes). In the Indicator standard device there is no other function. If alpha lock IS selected as an option, op code XX101 will result in bit 6 being replaced by bit 9 when a key is depressed. 34 Shift Lock SLI SLI will indicate if op code XX011 is selected (see operation codes). In the Indicator standard device this op code will also select the shift lock function. 35 Key Pressed KPD KPD is used to shift the threshold of the external sense amplifier in order to provide hysteresis to improve noise immunity. In addition KPD may be inverted to provide the data input to the 8 bit latches for decoding X14 and X15. When a key closure is detected KPD is generated causing the 8 bit latch output to go high. See figure 2. 36 CLOCK CLK Resistor/capacitor tie point for the internal oscillator. Nominal frequencies and scan times are shown below: c = 1S0p' C = 22Op' C = SOOp' R Freq Scan time Freq Scan time Freq Scan time 5K 13MHz 1 5 msec 12 MHz 1 7 msec 71 MHz 28 msec 10K 8 MHz 23 msec ,8 MHz 27 msec 45 MHz 43 msec 25K 4MHz 4 B msec 3MHz 60 msec 20 MHz 100 msec 37 Reset POR Reset clears all internal registers and flip flops. Suggested circuit for power on reset is illustrated in Figure 1. 38 Matrix Input MATIN Input from external multiplexer. Senses signal from X-V scan of depressed key. 39 Any Key Down AKD AKD is low when no key is depressed. When a key is depresed AKD goes high. Strobe If, while one key is held, a second key is depressed, AKD will go low for 2 clock cycles. 40 Power Vcc Power supply +5V input 2-43 AY-3-4592 OPERATION Keys are connected in a 16 x 8 matrix. Scanning of the matrix is width, 90ns for all keys. The hysteresis resistor, Rh, is chosen at performed by the encoder in conjunction with an external, roughly ten times the value of Rx to provide increased noise im- multiplexer. The encoder provides a 3 bit binary address (YA, YB, munity for detected key depressions. YC) used to scan each of eight possible sense lines (Y-lInes). The drive lines (X-lines) are each pulsed low by the encoder. If a key is Operation Codes closed, the pulse is coupled from the drive to the sense lines, Depending on the internal programing of the AY-3-4592, keys amplified, and sent to the encoder. When used to encode reactive may have one of three different functions. Keys on matrix line XO switches, a detection circuit is necessary between the output of through X13 have, in addition to the output code bits, a function the multiplexer and the MATIN input to the encoder. In this flag bit (FFB).lfthe FFB is programed as a zero, the key produces a manner, each matrix cross-point is interrogated in turn. Each data output when depressed. matrix cross-point is given a unique binary code that is When FFB is a one, the key is a "function" key for which bits 1-5 determined by the internal scan counters. This code is used to determine the function. These bits are referred to as the op code address a ROM which generates the output codes (such as ASCII and are used to provide special functions such as shift, shift lock, or other customer defined codes). The output of the ROM is alpha lock, etc. Bits 6-10 are not used. entered into an output holding register when the key is deter- Op codes may be programed to provide data outputs as well as mined to be a valid key closure. Only the cross-points on XO change the mode of operation Data when outputted is not latched through X13 can have output codes: X14 and X15 can be used for as are normal coded outputs. scanning discrete keys. Bits 1-3 indicate what operation the key will perform; per table 1. An internal oscillator controls the matrix scanning rate. The minimum scanning time is 1.7 ms, at a 1.2 MHz clock. This allows a Bit 4 programed as one indicates a down-coded key, for which the burst typing speed equivalent to over 250 words/min. When a key 10 data bits programed in the shift mode level of ROM are output- is depressed, a matrix address from an X driver and Y input line ted when the key is depressed. representing that key is loaded into a 7 bit latch. On the second Bit 5 'programed as one indicates an up-coded key for which the 10 keyboard scan, the matrix address and the stored address are data bits programed in the control mode level of ROM are output- compared. If the two addresses match, the ROM 10 bit word atthat ted when the key is released. address is loaded into the data holding register. This data remains Neither bit 4 nor 5 will have any effect on the operational control of valid until the next key is depressed. The internal error flag is set, if bits 10-3. this option was utilized, whenever there is a mismatch between 7 bit addresses. Table 1 Two negative pulses must be detected during the MATIN timing Op-Code Function window for the depression to be recognized. 5 4 3 2 1 Keyboard Selection X X 0 a 0 Function key (with up/down codes)' The A Y-3-4592 keyboard encoder can be used with a wide variety X X 0 0 1 Right Shift Key of available keyboards. An external multiplexing circuit and one X X 0 1 0 Left Shift Key external sense amplifier can be tailored to the user's specific X X 0 1 1 Shift Lock Key or Discrete Key requirements. As shown in Figure 1, the sense amplifier detects (output SLI) changes in voltage caused by variations in the switch impedance as a key is depressed and released. Given the key switch X X 1 0 a Control Key impedances for depressed and released states, the values of Rx X X 1 a 1 Alpha Lock Key or Discrete Key and Rh can be chosen to guarantee switch closure detection and (output ALI) noise margins. Rx is chosen to match the capacitor or reactor X 0 1 1 a Error Reset Key or discrete key time constants. For example, given a variable capacitance (output X15) keyboard switch with C1 =100pf, and C2 =10pffordepressed and X X 1 1 1 Discrete Key (output 010) released positions respectively, with a 1.SMHz oscillator and Rx = 10 Kohm, a depressed key would make a 4.7 Volt pulse while a raised key would produce a 2.6 volt pulse. The potentiometer 'If the op-code is 00000 the key has no internal function but KPD would then be set for best noise immunity with minimum pulse will go low when it is processed. 2-44 AY-3-4592 OPTIONS Pin or FuncUon Option X15 X15 may be programed as 1) an X-output to provide a second set of 8 discrete lines 2) a discrete output which Indicates when a function key with op code XX110 is depressed 3) an Error Flag Indicator (EFI). See Error Flag In the AY-3-4592 STO X151s a discrete output Error Flag When this option is selected, the AY-3-4592 has the capability of detecting multiple key depressions during the same scan cycle. When selected. the error flag may be programed to generate KBINH and or appear at the X15 output. The error flag may be reset by three methods. If the automatic reset Is selectedlthe flag will be reset when the error causing Key is released. Op-code XX110 may be programed on a function key to reset the error flag. If pin 12 is programed for KBINH error flag will be reset by pulsing pin 12 high. The reset will occur on the negative edge of the KBINH signal; the pulse must be at least 16 clock cycles. Error flag causes KBINH and is automatically reset. Alpha Lock When programed for Alpha lock, the function key with op-code XX101 will cause the bit 8 output to be replaced by bit 9. Bit 9 is not altered. Alpha lock is normally used to force printing of upper case characters irrespective of the shift function. Op Code XX101 will also cause an output on ALI (pin 33). When Alpha lock is not programed, op code XX101 will result in an output on ALI (pin 33). Op code XX101 may be programed for momentary action, or latched push-on, push-off alternating action. ALI may be programed for normally low or high output. Op code XX101 Is momentary action. ALI is normally low. The AY-3-4592 STO Is not progra med for Alpha lock, although there will be an output on ALI. Shift Lock When programed for shift lock, the function key with op-code XX011 will cause normal electronic shift action. Op code XX011 will also cause an output on SLI (pin 34). If shift lock is not programed, op code XX011 will simply cause an output on SLI. SLI may be programed for normally low or high output. The AY-3-4592 STO is programed for shift lock operation with SLI normally low. KBINH KBINH, Keyboard Inhibit, may be programed to be caused by Pin 12 high, by the error flag, or both. In addition, function keys with up or down codes may be programed, as a group, to be inhibited by KBINH. This Is the KCI Out option. When pin 12 Is programed to cause KBINH, a high Input on pin 12 will Inhibit processing of common keys. If a key Is depressed while the KBINH signal Is present, output and output strobe will be generated when KBINH Is released. The AY-3-4592 STO has KBINH actuated by pin 12 high, and by the error flag. The KCI In option is used, that is. the function key operation is independent of KBINH. 010 010, pin 11, may be programed as the output for the memory bit 10 or as a discrete output. As a discrete output, pin 10 Is switched from its normal state (programable as high or low) by the function key with op- codeXX111. The AY-3-4592 STO is programed for 010 as a discrete key, normally low. Key Type Keys may be either normally open or normally closed. The AY-3-4592 STO Is designed for normally open keys. 2-45 AY·3-4592 ELECTRICAL CHARACTERISTICS Maximum Ratings' * Exceeding these ratings could cause permanent dam- age to the device. This is a stress rating only and func- Vcc .................................. -0.3 Volts to +7.0 Volts tional operation of this device at these conditions is not Maximum voltage with respect to Vcc •...••...•.... +0.3 Volts implied-operating ranges are specified in Standard Storage Temperature ...•..•....•..•...•.•.• 6SoC to +1S0°C Operating Temperature ........................... 0 to 70°C Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Data labeled "typical" is presented for design guidance only and is not guaranteed. Standard Conditions (unless otherwise noted) vee ~ 5.0V ±5% T A ~ 0° to 70°C Characteristic Symbol Min. Typ." Max. Unit Condition Data Output "1" Voltage V OH 3.S - - V 10H = SOIlA, 2Spf Data Output "0" Voltage VOL - - O.S V 10L ~ 1.6mA All Inputs "1" Voltage V,H 2.2 - - V except POR, 2KRO All Inputs "0" Voltage V ,L - - 0.8 V except POR, 2KRO A II I n puts Leakage I'H - - 10 IlA Von ~ SV X Output "1" Voltage X OH 3.S - - V IOH = 501lA, 100pf X Output "0" Voltage X OL - - O.S V 10L ~ 1.6mA AKd Output Voltage VA - - 0.6 V 10L = 3.2mA MATIN Input Voltage Vx - - 004 V POR, 2KRO high threshold V SH - 1.3 - V Schm itt trigger POR, 2KRO low threshold VSL - 3.7 - V Schmitt trigger Power Supply Current Icc - 3S 60 mA Vee = S.3V Clock Frequency ¢ 200 - 1200 kHz Matrix Delay t, - - 2S0 ns Input pulse width t2 90 - - ns X Output pulse width tx 1.7 - - Ils X Output fall time tXF - - 1S0 ns VOH = 4.3V, VOL = OAV X Output rise time txR1 - - 1S0 ns VOH = 2.4V, VOL = OAV X Output rise time tXR2 - - SOO ns VOH = 3.SV, VOL = 0.4V X Output rise time hR3 - - 1500 ns VOH = 4.3V, VOL = 0.4V KPD-X Output set time T KX 500 - - ns X Output-KPo hold time tXK 100 - - ns Data out to AKD time tOA 1.7 - - IlS "Typical values are at +2S oC and nominal voltages. 2-46 AY-3-4S92 TIMING DIAGRAMS ____________________________________-+::~_______________O_;~ OATA x=::::= YAI:.-_ _ _======~ ,al 'c I I V oe t,·~ ----- va" Voe v, Discrete Function Key I Y2 I Y1 I YO lfU~UU'------ ~ OUTPUT FROM ENCODER FOR KPD X14 --Y 2 KEY DEPRESSED C L A T C H OUTPUT IF X,,-Y,RELEASED F L A T C H OUTPUT IF X,,-Y, DEPRESSED 2-47 READ ONLY MEMORY k ~ CODE CHART I AY-3-4592·STD UY ••••• NORIIAL --•• - ._ •• _- SHIFT ---•• - _.-. CONTROL---·- ·-SHIFT/CONTROL·· HEX BINARY HEX elNARY ~EX IINA"Y HEx UNAU 000 I 00 1 Oo~uooo~nl Right ShIft 3rr 1111111111 3;F 1111111111 3rF 1111111111 001 I U02 0~30000010 LaIt Shift 3rF 1111111111 3F; 1111111111 3;; IIIIIIIIU 002 I 003 O~OOOOOOII Shift Lock 3r; 1111111111 3" 1111111111 3;; 1111111111 00] I 00' ~OOOOqOIOO Control 3;r 1111111111 3H 1111111111 ]rr 1111111111 00' I oo~ 0000000101 ALI 3;r 11 Ii II 1111 3rF 1111111111 3rr 1111111111 005 I 006 OOOOOO~IIO XIS 3;r 1111111111 3;; 1111111111 3;; 1I111111l1 006 I 007 0000000111 010 IF; 1111111111 3F; 1111111111 3;; 1111111111 007 0 OCE 0011001110 I ODE 0011011 liD I DeE 0011001110 I OOE 0011011 110 I 010 0 IE4 0111100100 ESC lEO 0111100100 ESC lEO 0111100100 ESC IE. 0111100100 ES ~ 011 0 oeD 0011('\')\ 101 2 Isr 0110111111 @ oeo 0011001101 2 IF; 0111111111 NUL 0\2 0 oeD Otlll0f')11Ol 2 ODD OUIIOIIiOI oeD 0011001101 2 ODD 0011011101 013 01' OIS 016 017 0 0 0 0 0 188 liE lBe UE 185 0110001000 OIlUOOIIIO 01l00?1I00 0110011110 01100001Ul w 9 S •Z lAB IAE lAC leE IA~ nllOl01000 01l')\1I11I~ OIlOIQIIO') 0110111110 01101011101 W Q S A Z IE8 lEE IEC IFE 1£5 0111101000 0111101110 0111101\00 0111111110 0111100101 ET8 DCI Del SOH SUB lEa lEE lEe IFE IE5 0111101000 0111101110 0111101100 0111111110 0111100101 ETB DCl Del SOH SUB t ID II) 020 0 17F UIOllllIII NUL I1F 0101111111 NUL 17F 0101111111 NUL 17F 0101111111 NUL 021 0 OeB 0011001011 4 008 0011011011 $ oe8 0011001011 4 008 0011011011 $ 022 023 0 0 OCC 180 0011011100 0110001101 3 oDe UO 0011011100 01l010llUI • R oce 1[0 0011001100 0111101101 3 DC2 oDe lEo 0011011100 0111101101 • DC2 02- 0 19' 0110011010 IBA 0110111010 E IF. 0111111010 ENQ IrA 0111111010 ENQ 025 0 198 011\)011011 IBB 0110111011 0 lF8 0111111011 EOT lFa 0111111011 EOT 026 027 0 0 187 1ge Ul10000111 0110011100 •c IA7 ISC 0110100111 0110111100 X c 1£7 lFe 0111100111 0111111100 ETB ETX IE7 IFc 0111100111 0111111100 ETB ETlC 0]0 0 17E 1)101111110 SOH 17E 0101111110 SOH 17E OIOIlIlIlU SOH 17E 0101111110 SOH 03\ 0 170 0101111101 STX 110 0101111101 STX 170 0101111101 STX 170 0101111101 STX 0]2 0 oeA 0011001010 5 OOA 0011011010 DCA 0011001010 5 OOA 0011011010 OJ] O]A 0 0 188 199 011~OO101! 01101)11001 lAS 189 0110101011 0110111001 "" T F 1[8 IF9 0111101011 0111111001 0C4 ACK IE8 l F9 0111101011 0111111001 ""ACK 0C4 03~ 0 198 Oll~OIlOOO IBB 0110111000 G IF8 0111111000 BEL lFS 0111111000 BEL 030 0 189 0110001001 v 1.9 0110101001 V lE9 0111101001 SYN IE9 0111101001 SYN 0]7 0 190 OIIUOIII UI b IBO 0110111101 B IrD 0111111101 STX lFD 0111111101 STX 040 0 I7C 0101111100 ETX 17e 0101111100 ETX 17C 0101111100 ETX 17C 0101111100 ETlC 041 0 oeo COllaOlQOD 7 009 0011011001 ( oe8 0011001000 7 009 0011011001 ( 042 003 0" 0" 184 197 0011001001 0110000110 UIIOOIOIIi 8 009 I •• IB7 0011011001 ~IIOIOOIIO 0110110111 t Y H oe9 1[6 lr7 OUIIOOIOOI 0111100110 0111110111 6 EM BS 009 1£6 IF' 0011011001 01111001\0 0111110111 • EM BS OA5 191 0110010001 n IBI 011011~01l1 N Irl 0111110001 SO IF I 0111110001 SO 0.. oCt UIIIIOOIOOI 6 oe3 00110011011 < oe9 0011001001 6 OC 3 0011000011 < 047 OOF 0011011111 SP ODF oill 1 011111 SP OOF 0011011111 SP OOF 0011011111 SP 050 1'8 0101111011 EOT 178 0101111011 EOT 178 0101111011 EOT 178 0101111011 EOT 051 052 OC7 OCB (}O11000111 0011001000 B 7 ODS 008 0011010101 0011011000 * oe 7 OC8 0011000111 0011001000 8 7 00~ oOa 0011010101 0011011000 * 053 JaA 01l00~1010 lA_ 0110101010 u IE' 0111101010 NAK lEA 0111101010 NAK 195 0110010101 185 0110110101 J IF5 0111110101 ENQ 1'5 0111110101 ENQ OS" 05~ 0 19' OllQ01Ol0U IB~ 01101101~O K Ir, 111111101011 VT IF. 011 11 10100 VT OS. 0 1.2 UI HiU1UOJO m 182 ()1l0110011) M lF2 111111100111 CR lF2 011 II 10010 CR 057 001 0011010011 oel 001100U011 < OOl 0011010011 OC] 0011000011 < 060 061 " 0 0 17A OtOllllOIO 0011000110 ENQ I1A 007 01Otl11010 0011010111 ENQ 170 oe. 0101111010 00\1000\10 ENQ 9 17A 007 0101111010 0011010111 ENQ I OU 0 OC' OC7 lq6 UOIIOOOI1I 9 8 001 0011010111 0110110110 !I OC7 OO\lOOIl\1I 8 HT 007 0011010111 I HT 003 0 0110010110 I 186 Ir6 11111110110 IF. 0111110110 00' 190 0110010000 0 leo 0110110000 0 Iro 0111110000 51 lFO 0111110000 SI ooS 190 11110010100 K IH ~1I0100100 [ \F' 0111110100 VT 1£4 0111100100 ESC 00. 193 OIIU~looll I IBl 0110110011 L If) 0111110011 FF Ir] 0111110011 Ff 067 192 0110010010 m 1.2 0110100010 J In 0111110010 CR IE2 0111100010 as 070 179 0101111001 ACK 179 01011U031 ACK 179 0101111001 ACK 17, 0101111001 ACK 071 072 073 OCF OC6 P. 0011001111 0011000110 0101111uOO • 9 Bel 006 006 1'8 0011010110 00\1010110 01011110110 ) ) Bel ocr OCo 17' 0011001111 0011000110 0101111000 • 9 Bel 006 000 17a 0011010110 0011010110 0101111000 ) ) BEL CODE CHART I AY-3-4592-STD .x' , -----NORMAL ----- ------ SHIFT --- ••• ·.·.·CONTROL •••• .·SHIFT/CONTROL.· 8 HEX BINARY ijEX BINARY 8tHARY HEX "EW 8'OA.' 0'4 0 18' 011000111 I p lAF r}11010111l p IEF 0111101\11 IEr 015 0 OLE 0111101111 OLE oe4 0011000 I 00 Ocs 01. 071 a 0 193 001 0110010011 0011010001 l lA3 O~ 11 000 fa 1 0110100011 , oe. If) 0011000100 0111110011 FF oC~ tEl 0011000101 0111100011 : FS OCI 0011 OOUOOI > 001 ~OIIOIOOOI oC I 0011000001 > 080 0 002 001!010010 - lAo 0110100000 - - 081 082 0 0 191 18F 0110010001 0110001111 n P lAI laF 'lllrJ!I)OOOl 0111')111111 - @ 002 IFI IE'- 0011010010 01111101)01 0111101111 - 51 OLE 1<0 1(1 IH 0110100000 0111100001 0111111111 RS NUL 083 0 \A4 011 0 100100 I De_ 085 0 0 008 DC. OOllOl100 f} 0011000100 lA2 ODD 0110100010 0011 ~11101 I.. IE. 008 tll 1110UI00 0011011000 ESC IE2 000 0111100010 0011011101 . GS 004 0011010100 + DC- 00 11 000 1 no 00. 0011010100 + 086 0 ODD 00 II 0 1 0000 i oeo 001100JOOU ? 000 0011010000 I oCo 0011000000 ? 081 0 1>7 0101)10111 as 111 0101110111 as 171 0101110111 as 177 0101110111 as 090 0 oe2 0011000010 = 004 OtJ1101010f) + = •+ oe2 0011000010 00. 0011010100 091 092 0 OC5 0011000101 005 00,) 110 10101 • OCS 1)011000101 005 0011010101 093 0 0 116 I A3 0101111)110 o llC 100011 , HT 176 08' 01u1110110 00 1 001)00 11 ,HT 176 1(3 0101110110 0111100011 HT FS I'. tEl 0101110110 0111100011 HT FS 094 0 175 11 10 1110 1 0 1 LF 175 0101110101 LF 115 LF 095 0101110101 175 0101110101 LF 096 0 0 IH Ir2 0110100100 0111110010 I CR oa~ ('101 (lOOO t OJ 011111001;) ! IE" 1)1111001UO ESC lEo 0111100100 ESC 1 F2 CR 1F2 0111110010 CR Ir2 0111110010 CR 091 a I A2 011 u lOvol 0 I 082 00100000 1 0 I IE2 011110UOI0 GS IE2 0111100010 GS 100 0 080 (,)f)l/.hlOCO(lO DEL OBO 00100o()QOo DEL oeD oaloooooOO DEL 11_ 080 0010000000 DEL 101 0 0101110100 VT 174 01011101,,",0 VT 174 102 olOlllOIUO VT 17• 0101110100 VT 0 002 00111)10010 lAO 0110100000 - 01111 00000 us 103 lEO 1£0 0111100000 US 0 113 010111 ()Oll FS 113 0101110011 FS 173 0101110011 FS FS 10_ I'l OIOlllOOll 105 0 a Ir5 laF 0111110101 0110111 t 11 LF @ 1,5 1,3 0111110101 0110100011 , LF IFS 0111110101 LF I'S 0111110101 LF 10. 101 0 a IAI lAO ()1101001l01 0110100000 - 081 0"2 0010000001 00111,)0U011,) '"= IFF IE I lAO 0111111111 01111 0000 I 0110100000 NUL RS IFF IE I oe2 0111111111 0111100001 0011000010 NUL RS = 110 0 172 0101110010 CR 172 OiOll10010 CR 1l11)11100tO CR CR 172 172 0101110010 I11 112 0 0 ,,6 OlllllO110 HT IF. 0111110110 HT IF6 0111110110 HT IF. 01 \1110110 HT r- 002 0011010010 DC2 = - 113 0 111 UIOl110(lOl SO 0011000010 OOl "011~10010 OC? 0011000010 = 111 0101110001 SO 111 0101110001 SO 171 0101110001 SO II- a 190 0110010000 0 lAO 1)11 ul 000'>1,) - IFO 0111110000 51 lEO 0111100000 US liS 0 I.- 0110100100 I IA2 {Jll{\~O aOltOJ!l}Ol 6 OCO au 1: (Ju 1 va 1 6 DC 9 oC. 0011001001 6 0011001001 6 135 0 OCO J')1'001101 2 OCD O(J 11 v'll ~ul 2 oco 2 oeD 0011001101 0011001101 2 136 0 OCC ')1111 r)')l t;",lf) 3 occ f}oJl1 JOl)'Ju 3 OCC 3 137 0 0011001100 OCC 00 II 00 II 00 3 001 oullDIOOOl 00 I OIJ l. \'11\)01,) 1 001 "0110 1 000 1 001 0011010001 OPTIONS ARE Error Flag - Programmed X15 - DIscrete output, normally low KBINH - Set by hIgh on pIn 12 or error flag FunctIon keys not InhIbIted by KBINH Error Flag - Reset by releaSing error-causing key NOTE Bit 9 - Programmed to allow alpha lock ImplementatIon uSing external logIC t-- ShIft Lock - OperatIonal SLI normally low BIt 8 - Programmed low for "mono mode" keys, for which the output IS the same In all modes Z ~ Alpha Lock - InhIbIted ALI normally low, set by OP code XX101 Bits 1-7 - "Inverted" ASCII data bits 010 - Discrete output, normally low Key Type - Normally open ~ k'" ~ '-- READ ONLY MEMORY IIN~~I AY-3-4S92 8 PLACES 10K .AAA _+5V +V ..L 999 () rl 50pl 0.1pf 220pl I-- 1000 a-~ - 40 36 RC - 17 Xo D, 2 ... ,. 18 3 X, D2 , ,... 19 4 X2 D3 20 X3 D. 5 ,.... 21 X. D. 6 .,... ,..... 30" 7 X. D6 32 8 X6 D7 ,.... ,... 31 9 X7 D. 22 X. D. 10 ... 23 11 X. D10 ..::=.. ,. 24 X10 AY-3-4592 ~ X'5 25 X" 26 X'2. ~ STB/AKD ~SLI 27 X'3 28 X,. ~ALI 29 100K X,. - POR 37 .. +V 13 14 15 12 1 5 2 4 .l __ 0.1111 1 2 3 4 5 6 7 0 11 14 13 A YA LO/RO 10 15 12 CD4051 B YB KBINH MUX 9 16 Yc GND 1 C +V 3 KPD 35 MA'fiN 38 .b- +V RH Q q ~ +V ~ R, X DRIVER ,~ ? ~ 1K > 1K 10K .;y + 2 CA 4 6 ~"C" LOCATION TYPICAL ...L - Y SENSE LINE Fig. 1 SAMPLE KEYBOARD DESIGN ROM CODED KEYS 2-50 AY-3-4S92 8 MUX SENSE LINES r------J~~------~ / " 28 X,. 29 X'5 13 14 15 12 1 AY-3-4592 o 1 2 3 4 5 6 7 ...3_ _ _ _ _-'-'-1 38 MAfijij 11 14 YA C D4051 M U X ~1,;;..O_+---+---.;.~ 15 YB 9 16 Ye ~D 3 2 1 A, A, Ao D I---f_f--f..-:.K;,:,.P.=D_.. 13 9334 8-BIT +V LATCH ( _15 C~ 16 Vee - - A, A, Ao D 13 NOTE. X,5 OPTIONAL, MAY ALSO BE USED FOR ERROR CONTROL 8 LATCHED 9334 DISCRETE 8-BIT +v FUNCTION LINES LATCH ( - 15 C f---< 16 Vee t-- Fig. 2 SAMPLE KEYBOARD DESIGN DISCRETE FUNCTION KEYS 2-51 2-52 GENERAL INSfRUM ENT Character Generators PART PAGE FlltfCTlON DESCRIPTION -NUMBER NUMBER 2.1160- bits 0(98fIized Q 64-5 "a ohatacteril '., .,., R0-3-21113 -- ' a.M" CHARACTER GENERATOR 16,384 bits organized •• 2048-8 bit wold. Ro.3-e318CGlI 2-S8 2-53 RO-3-2S13 Character Generator FEATURES PIN CONFIGURATION 64 x 8 x 5 Organization - Ideal for Systems Requiring a Row Scan 5 x 7 Dot Matrix Character Generator 24 LEAD DUAL IN LINE Single +5 Volt Supply TTL Compatible - All Inputs and Outputs Static Operation - No Clocks Required 450ns Maximum Access Time 175mW Maximum Power Three-State Outputs - Under the Control of an Output NC vcc(+SV) Inhibit Input to Simplify Memory Expansion NC NC Standard ASCII (RO-3-2513/CGR-001) or Totally Automated NC A9 Custom Programing Available 01 AS • Zener Protected Inputs 02 A7 • Glass Passivation Protection 03 A6 04 AS DESCRIPTION 05 A4 NC A3 The General Instrument RO-3-2513 is a 2560 bit Read-Only GNO A2 Memory organized as 512 five bit words and is ideally suited for OUT INH Al use as a Character Generator. Fabricated in the General Instru- NC NC ment advanced GIANT II N-Channellon-Implant process to en- able operation from a single +5 Volt power supply, the RO-3-2513 can store, for high speed raster scan CRT displays, a full 64 characters in a standard 5 x 7 dot matrix format. The RO-3-2513 is available pre-programed with ASCII encoded 5 x 7 characters (General Instrument part no. RO-3-2513/CGR- 0001) a direct replacement in pin connection, operation, and character font for the Signetics 2513/CM2140. The RO-3-2513 is also available reprogramed with lower case ASCII encoded 5 x 7 A separate publication, RO-3-2513 Custom Coding Information, characters (General Instrument part no. RO-3-2513/CGR-005), a available from General Instrument Sales Offices, describes the direct replacement for the Signetics 2513/CM3021 punched card and truth table format for custom programing of the RO-3-2513 memory. BLOCK DIAGRAM Vee GND AI ROW { ADDRESS A2 A3 01 A4 ADDRESS MEMORY 02 ADDRESS OUTPUT A5 INPuT DECODE MATRIX BuFFERS 03 BuFFERS 512 X 5 04 CHARACTER { A6 ADDRESS A7 05 A8 A9 OuTPUT INHIBIT 2-54 RO-3-2513 ELECTRICAL CHARACTERISTICS Maximum Ratings' Vccand input voltages (with respect to GND) .............. -0.3 to +O.OV * Exceeding these ratings could cause permanent dam- Storage Temperature ....•........................... -65° C to +150° C age to the device. This is a stress rating only and func- Operating Temperature (TAl ...........•................. 0°Cto+70°C tional operation of this device at these conditions is not implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise noted) ditions for extended periods may affect device reliability. Vee = +5 Volts ±5% Data labeled "typical" is presented for design guidance Operating Temperature (TA) = O°C to +lO°C only and is not guaranteed. Output Loading: One TTL load, CL TOTAL = 50pf Characteristic Sym Min Typ" Max Units Conditions DC CHARACTERISTICS Address, Output Inhibit Inputs Logic "1" VIH 2.2 V Logic "0" VIL 0.65 V Leakage ILl 10 p.A Data Outputs Logic "1" VOH 2.2 V 10H = 100p.A Logic "0" VOL 0.5 V 10L = 1.6mA Leakage ILO 10 p.A Power Supply Current Icc 25 35 mA Outputs open AC CHARACTERISTICS Inputs Cycle Time te 400 ns Capacitance CI 5 8 pf F = lMHz Data Outputs Access Time tAce 75 250 450 ns Inhibit Response Time tR 150 240 ns Capacitance Co 8 10 pf F = lMHz "Typical values are at +25°C and nominal voltages TIMING DIAGRAMS X te ADDRESS INPUTS =>{ .. VrH . V1L >to taee DATA 2.0 OUTPUTS .65 A. ACCESS TIME (ADDRESS TO OUTPUT-OUTPUT INHIBIT AT LOGIC '0') OUTPUT INHIBIT DATA OUTPUTS 2.0 OUTPUTS -HiGH iMPEDANCE .65 B. INHIBIT RESPONSE TIME (ADDRESS INPUTS STABLE) 2-55 IINM~I R0-3-2S13 RO-3-2S13-001 STANDARD PATTERN CHARACTER FORMAT (Upper Case ASCII) The RO-3-2513/CGR-Q01 Is a pre-programed version of the R0-3-2513 series with ASCII encoding and the character font shown below. A logic "1" represents an Input or output voltage nominally equal to Vee (+5V) and a logic "0" represents a voltage nominally equal to GND (OV). An example demonstrating the correspondence of device outputs and addressing sequence to the 5 x 7 dot matrix font Is shown below: CHARACTER ROW ADDRESS ADDRESS OUTPUTS A3 A2 AI RO-3-2513/CGR-001 000 0 0 o 0 0 Address Bit A9 AS A7 A6 A5 A4 o 0 f 0 f f f 0 ASCII Bit 6 5 4 3 2 1 o f 0 f 0 o 0 f Off f o 0 o 0 ASCII upper case "S" f 0 0 0 f f f 0 Character 0 1 0 0 1 1 f 0 f 0 0 0 0 f f f 0 f 0 0 0 f 1 f f 0 1 f f 0 RO-3-2513/CGR-OOI CHARACTER Ag 0 0 0 0 I I I I ADDRESS AS 0 0 I I 0 0 I I 0 I 0 I 0 I 0 I A6 A5 A/ 7 0 0 0 I I I I I I Ii I 0 0 I Ii I I I Ie I I I 0 I 0 I I I I I I I I 0 I I I I I I I I I I I 0 0 Ii I I I I I I I I 0 I I I I I I I I I I I 0 I I I I I I I I I I I I I I I I I I I 2-56 RO-3-2513 I~ RO-3-2513-005 STANDARD PATTERN CHARACTER FORMAT (Upper Case ASCII) The RO-3-2513/CGR-005 is a pre-programed version of the R0-3-2513 series with ASCII encoding and the character font shown below. A logic "1" represents an input or output voltage nominally equal to Vce (+5V) and a logic "0" represents a voltage nominally equal to GND (OV). An example demonstrating the correspondence of device outputs and addressing sequence to the 5 x 7 dot matrix font Is shown below: CHARACTER ROW ADDRESS ADDRESS OUTPUTS As A, A1 0504 03 02 01 RO-3-2513/CGR-005 0 0 0 0 0 0 0 0 Address Bit A9 A8 A7 A6 A5 A4 0 0 1 0 0 0 0 0 ASCII Bit 6 5 4 3 2 1 0 1 0 0 0 0 0 0 0 1 1 0 1 1 1 1 ASCII lower case's' 1 1 0 0 1 1 1 0 0 1 0 0 0 0 Character 1 0 1 0 1 1 1 0 1 1 0 0 0 0 0 1 1 1 1 1 1 1 1 0 RO-3-2513/CGR-005 CHARACTER Ag 0 0 0 0 I I I I ADDRESS As 0 0 I I 0 0 I I 0 I 0 I 0 I 0 I AS AS A/ 7 0 0 0 I I I I I I I I 0 0 I I I I I I I I I 0 I 0 I I I I I I I I 0 I I I I I I I I I I " I 0 0 I I I [I I I I I I 0 I [I II [g I E I I I I I 0 I I ~ ~ I] I I I . , ~ ~ ~ ~ ~ D mI .. .. I I I 2-57 RO-3-2S13 TYPICAL CHARACTERISTIC CURVES Vee' +5V TA = +25°C 350 350 Vee' +5V r- ~ I 300 j.. 300 V ,,/ I I / ~ ~ c u 250 ./ I -:, 250 / u ...... . / I I I u /, 1-" 1-" ,,/ I I-"'" I I I I ~ I 200 I I I 200 , , I I I I I I , I I 150 I I , 150 I I I o 20 40 60 80 15 17 19 21 23 TEMPERATURE (oG) VOH (VOLTS) ACCESS TIME VS. TEMPERATURE ACCESS TIME VS. OUTPUT VOLTAGE 24 18 T. '+25°G r--- Vee '+5V / V ./ - I- 24 18 \ f\. \ TA = +25°C Vee' +5V l- :.< .s 12 / 4 5- 12 1\ ~ x \ ~o S 6 / 6 '\ 0 o I: I 4 0 o '" i'r-. I 3 4 VOL (VOLTS) VOH (VOLTS) OUTPUT SINK CURRENT VS. OUTPUT VOLTAGE OUTPUT SOURCE CURRENT VS. OUTPUT VOLTAGE 2-58 RO-3-9316CGII Character Generator FEATURES • 128 Character Row Scan Including 96 Standard ASCII PIN CONFIGURATION Characters 24 PIN DUAL IN LINE • 5 x 7 Dot Matrix Character Generator • Single +5 Volt Supply A7 Vcc(+SV} • TTL Compatible - All Inputs and Outputs A6 AS • Static Operation - No Clocks Required A!J A9 • 450ns Maximum Access Time A4 CS3 • Three-Stage Outputs for Bus Interface A3 CS1 A2 A10 • EPROM 2716 Pin Compatible A1 CS2 AIJ 05 DESCRIPTION NC D4 NC 03 The General Instrument R01286 is a 16,384 Bit Static Read-Only NC 02 Memory organized as 2048 8-bit words and is ideally suited for GND 01 use as a Character Generator. Fabricated in the General Instrument N-Channel Ion Implant process to enable operation from a single+S Volt power supply, the R01286 can store for high speed raster scan CRT displays, a full 128 characters in a standard 5 x 7 dot matrix format. BLOCK DIAGRAM GND A4 A5 A6 A7 A8 01 A9 R01286 02 ADDRESS INPUT ADDRESS MEMORY OUTPUT A1D 03 BUFFERS DECODE MATRIX BUFFERS 2048 x 8 04 OS AD A1 A2 A3 CS1 CHIP CHIP CS2 SELECT SELECT INPUT DECODE CS3 BUFFER 2-59 INsr 3E II 5E 7E £ 1F ? 3F 5F • 7F 2-61 IINJkt~~ I RO-3-9316CGII R01286 CHARACTER ADDRESS A7 A6 A5 ~ 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 A10A9A AB CDE F GH I J KL MN0 000 --- - -P -Q R- S TU -VW-X-y -2 -t -..J.. -+- --+ -£ 001 --- - --- -- - - 010 011 I• II :I $ %& I ( ) + 0 1 2 3 i 5 6 7 8 9 •• J• <- >?• • / * -- ,} 100 @AB C DE F ~G H I J KL MN0 100 P Q RS T U VWX y 2 C ..... J A - 110 ... a b c d e f g h 1• • k 1 mn 0 .J 111 P q r s t u v wx y z I } { I "., • 2-62 GENERAL INSfRUM ENT Speech ROMs !'UNCTION , J)I$CRIPTION PART PAillE NUMUR .NUMUR ,: ,,:= '" " "16,384 b~ Otganlud 2001 )I 8 -, 'PIlOt. W4 $2.l'lIE! blt8' org.nl~ed 4096: K &- ,pRoia 2-711 " , "110M' $PAt. '131;012 bits organl~ 16K ~8 2-73' 2-63 SPR016 16,384 Bit Serial Read Only Memory FEATURES • 2048 x 8 Bit ROM Organization PIN CONFIGURATION • Serial In/Parallel Out Shift Register 16 LEAD DUAL IN LINE • Single Supply Voltage +5V • Interfaced to SP0256 • Totally Automatic Custom Programing DESCRIPTION The SPR016 is a serial Read Only Memory with 2048 x 8 bits of v•• C2 ROM. The data is addressed by an Internal program counter (PC). C3 Cl The device also contains a serial In/parallel out shift register, NC SER IN which Is used to assemble an address to be parallel loaded into ROM CLOCK NC the PC. NC NC The device operates with a single supply (nominally +5V) which may be powered down when the system Is inactive. When the NC voo SPR016 is Interfaced to the SP0256 Speech Processor, the ROM CSl SER OUT enable input is used to avoid bus conflict on the serial out pin CS2 ROM ENABLE during the SPR016 power up. The SPR016 is constructed on a single monolithic chip utilizing the General Instrument low voltage N-Channel Ion Implant technology. BLOCK DIAGRAM SERIAL IN ASR REGISTER RET REGISTER ADDRESS 2048 x 8 DECODE ROM C1 C2 DSR REGISTER C3 SERIAL OUT 2-64 SPR016 PIN ASSIGNMENTS (PRELIMINARY) Pin Number Name Function 9 ROM ENABLE Active low chip select used in system to eliminate bus conflict at system start-up. When brought high. ROM ENABLE Trl-States Serial Out. 14 SERIAL IN Serial Input used to load 16 bit address into device. 10 SERIAL OUT Output pin used to shift out data byte. 7 CS1 Active high chip select. Will Tri-State Serial output when low. 8 ~ Active low chip select. Will Tri-State Serial output when high. 4 ROM CLOCK 1.56MHz clock input from SP0256 speech processor. Vss Ground pin. 2 16 C3 } Control pins decoded to determine device function. C2 15 C1 11 Voo Positive supply pin (+4.6V to +7.0V). C1 SBY C2 SP0256 C3 SPEECH I T PROCESSOR DO U C\J U '" U U C\J U '" U D1 D2 D3 D4 SPR016 SPR016 D5 ROM ROM D6 D7 ; ~ f- ~ f- DLD u ::J U ::J I; 0 ...J U c: ~ c: UJ rn 0 c: UJ rn 0 ...J U c: ~ c: UJ rn 0 c: UJ rn LRQ SE 1 1 SER IN SER OUT ROM CLOCK ROM ENABLE Fig.1 INTERFACE OF SPR016 ROM TO SP0256 SPEECH PROCESSOR 2-65 GENERAL SPR016 INsrRUMENT TABLE 1 SPR016 CONTROL STATES C1 C2 C3 Name Function 0 0 0 NOP No action taken 0 0 1 ASR Load Accepts data from the serial input, synchronous to the externally supplied ROM clock. This data is shifted into the ASR holding register in preparation for loading into the PC. Although ASR is 16 bits long, it is not necessary to load all 16 bits of address sequentially in one ASR load. 0 0 PC Load Loads the contents of the ASR register into the PC. 0 1 DSR Load Loads the 8 bits of data pointed to by the present value of the least significant 11 bits of the PC into the data output shift register (DSR). At the completion of the DSR load the PC is incremented. 0 0 DSR Shift Out Shifts out the contents of DSR to the serial out pin, synchronous to the ROM clock. 0 1 RET Register Load Loads the return register (RET) with the current value of the PC 1 0 Return Loads the PC with the contents of the RET register. 1 1 NOP No Action Taken ELECTRICAL CHARACTERISTICS Maximum Ratings* Voo ...................................................... -.3 to +12V * Exceeding these ratings could cause permanent dam- Storage Temperature ................................ -25° C to +125° C age to this device. This is a stress rating only and func- Lead Temperature (Soldering) 10 Sec ........•................. +333°C tional operation of this device at these conditions is not implied-operating ranges are specified in Standard Standard Conditions (unless otherwise noted): Conditions. Exposure to absolute maximum rating con- Voo = +4.6V to + 7.0V ditions for extended periods may affect device reliability. Operating Temperature = O°C to +70°C Data labeled "typical" is presented for design guidance Supply Current only and is not guaranteed. 100 = 25m A Voo = 7.0V ROM clock frequency typically 1.S6MHz Vss= O.OV TA ~ O°C DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Inputs ROM ENABLE, SERIAL IN, CS1, CS2, C1, C2, C3 ROM Clock Logic "0" V'L 0 - 0.6 V Logic "1" V,H 2.4 - Voo V Capacitance C'N - - 10 pf Leakage ILC - - 10 /lA VPIN = Voo Volts, all others grounded Outputs SERIAL OUT LogiC "0" VOL 0 - 0.6 V IL = 1.6mA Logic "1" VOH 2.5 - Voo V IL = -50/lA Leakage ILO - - 10 /lA Output Tristated AC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions ROM Clock Freq. F 1.555 1.56 1.565 MHz 48% to 52% Duty Cycle Positive Output Enable Delay Time tOE - - 120 ns Independent of ROM Clock from RE, CS1, CS2 Output Disable Delay Time too - - 120 ns from CS1, RE, CS2 Serial In Set Up Time t SP1N 120 - - ns Control Bus Set Up Time tCIN 180 - - ns Serial Output Access Time t ACC - - 360 ns Address Select Access Time t AS - - 8T + 120 ns Note 1 Address Deselect Access Time tAO - - 8T + 120 ns Note 1 NOTE: 1. T is the cycle time, in nanoseconds of the ROM clock input 2-66 SPR016 IINs&~~1 ROM CLOCK (156MHz) C1 ____~----~----------------~~~I c=\1 ~ C2 C3 r==\1 / 'I / , I SEA OUT I X A" X A" X A" SEA IN PC LOAD I ASA LOAD DSA SHIFT OUT DSA LOAD RET REG LOAD RET I Fig. 2 SPR016 INTERFACE TIMING SERIAL IN SETUP TIME ROM CLOCK --.J SERIAL IN I I ~ ~tSPIN CONTROL BUS SETUP TIME ROM CLOCK --.J Cl, C2, C3, _____..J*VI VALID CODE I X1.---- I I -l r--I tCIN SERIAL OUT ACCESS TIME ROM CLOCK ~ LJ I CODE = DSR SHIFT DSR LOAD I Cl.C2.C3 _ _ _ _ _ _ _ _...J~ /VALIDCODE X,,___ I I I SERIAL OUT _ _ _ _ _ I II -;-;..-..JI"-_ __ i ~ I I I tCIN~ j.- I --l 2-67 SPR016 OUTPUT ENABLE RELAY TIME ROM ENABLE, CS2 CS1 I I TRISTATE I SERIAL OUT --,,;,.,;,;.;;.;...;,;.;;....-~I~--(!~:l....:V~A~l~ID~DA!T~A:.. I I --J t--tOE OUTPUT DISABLE RELAY TIME ROM ENABLE, CS2 CS1 SERIAL OUT VALID DATA I ,IJ. TRISTATE -----"----1 ~ too ~ ADDRESS SELECT ACCESS TIME ROM CLOCK INTERNAL PC NOT VALID X\.________ V_A_Ll_D_ _ _ _ _ _ _ _ _- :_ _ _ _ _ __ C1, C2, C3 I RELOAD NOP NOP NOP NOP Nap NOP NOP I RET DSRLD INSTRUCTION I DSRLD DSRSH DSRSH DSRSH DSRSH DSRSH DSRSH DSRSH I TRISTATE SERIAL OUT --i-I-i-I----------~.;;",;,;,,;,,;,,;;---------:--... J.V VALID DATA I I I I lelN ~I:::~~~~~~~~~~~~~~~~~_8_X_tle_~~:~s-------------------_-_-_-_-_-_-_-_-_--t.,_:__~.i 2-68 SPR016 IINsRt~M'r J ADDRESS DE-SELECT TIME ROM CLOCK INTERNAL PC _ _ -:-_..JX VALID C1, C2, C3 RELOAD NOP NOP NOP NOP NOP NOP NOP RET DSRLD DSRSH DSRSH DSRSH DSRSH DSRSH DSRS~1 DSRSH SRLD I I I SERIAL OUT I I tCIN~ I ax CYCLE -, I I: TIME tAD .1 2·69 SPR032 PRELIMINARY INFORMATION 32,768 Bit Serial Read Only Memory FEATURES • 4096 x 8 Bit Organization PIN CONFIGURATION 16 PIN DUAL IN LINE • Single +5 Volt Supply • Tri-State Outputs • Totally Automated Custom Programing • Zener Protected Inputs • Glass Passivation Protection DESCRIPTION Top View The General Instrument SPR032 is a 32,768 Bit Serial Read Only v" C2 Memory organized as 4096 eight-bit words and is ideally suited C3 C1 for interfacing with the SP0256 Speech Processor Fabricated In NC SER IN the General Instrument advanced N-Channel lon-Implant pro- cess to enable operation from a single +5 Volt power supply, up to ROM CLOCK NC 10 SPR032s can be interfaced to the SP0256 without buffering. NC NC NC voo CS1 SER OUT CS2 ROM ENABLE BLOCK DIAGRAM SERIAL IN RET REGISTER PC ADDRESS 4096 x 8 DECODE ROM C1 C2 DSR REGISTER C3 SERIAL OUT 2-70 SPR032 PIN ASSIGNMENTS (PRELIMINARY) Pin Number Name Funcllon 9 ROM ENABLE Active low chip select used in system to eliminate bus conflict at system start-up. When brought high. ROM Enable Tri-States Serial Out (Pin 3). 14 SERIAL IN Serial Input used to load 16 bit address Into device. 10 SERIAL OUT Output pin used to shift out data byte. 7 CS1 Active high chip select. Will Tri-State Serial output when low. 8 CS2 Active low chip select. Will Tri-State Serial output when high. 4 ROM CLOCK 1.56MHz clock input from SP0256 speech processor. V•• Ground pin. 2 C3 } 16 C2 Control pins decoded to determine device function. 15 C1 11 Vee Positive supply pin (+4.6V to +7.0V). C1 SBY C2 SP0256 C3 SPEECH 1 T PROCESSOR • N N M DO U 0 f3 U 0 0 01 02 03 04 SPR032 SPR032 05 ROM ROM 06 07 ~ f- ~ f- OLD I; I; 0 :l 0 :l 0 ~ 0 0 ~ 0 LRQ ..J ..J II: II: 0 II: II: 0 W W W w SE II: en en II: en en 1 1 SERIN SER OUT ROM CLOCK ROM ENABLE Fig. 1 INTERFACE OF SPR032 ROM TO SP0256 SPEECH PROCESSOR 2-71 SPR032 TABLE 1 SPR032 CONTROL STATES C1 C2 C3 FUNCTION o 0 0 NOP No action taken. o 0 ASR Load Accepts data from the serial input, synchronous to the externally supplied ROM clock. This data is shifted into the ASR holding register in preparation for loading into the PC. Although ASR is 16 bits long, it is not necessary to load all 16 bits of address sequentially in one ASR load. 0 0 PC Load Loads the contents of the ASR register into the PC. 0 1 DSR Load Loads the 8 bits of data pointed to by the present value of the least significant 11 bits of the PC into the data output shift register (DSR). At the completion of the DSR load the PC is incremented. 0 0 DSR Shift Out Shifts out the contents of DSR to the serial out pin, synchronous to the ROM clock. 0 1 RET. Register Load Loads the return register (RET) with the current value of the P.C. 0 Return Loads the PC with the contents of the RET register. NOP No action taken. ELECTRICAL CHARACTERISTICS Maximum Ratings Voo •.•.•.•...........•...........•...•.•.......•........• -.3 to +12V * Exceeding these ratings could cause permanent dam- Storage Temperature ...•......•..................... -25°C to +12S o C age to the device. This is a stress rating only and func- Lead Temperature (soldering) 10 Sec .•...........•............ +333°C tional operation of this device at these conditions is not implied-operating ranges are specified in Standard Standard Conditions (unless otherwise stated) Conditions. Exposure to absolute maximum rating con- Voo = +4.6V to +7.0V ditions for extended periods may affect device reliability. Operating Temperature = O°C to +70°C Data labeled "typical" is presented for design guidance only and is not guaranteed. Supply Current IDD = 2SmA Voo = 7.0V ROM clock frequency typically I.S6MHz V•• = O.OV TA=O·C DC C/iARACTERISTICS Characteristics Sym Min Max Units Conditions Inputs ROM ENABLE, SERIAL IN. CS1, CS2, Cl, C2, C3 ROM Clock Logic 0 V'L 0 0.6 V LogiC 1 V,H 24 Voo V Capacitance C'N - 10 pf Leakage ILC - 10 pA V Pin = Voo Volts, all others grounded Outputs SERIAL OUT Logic 0 VOL 0 0.6 V IL = 1.6mA Logic 1 VOH 2.5 Voo V IL = -SOpA Leakage ILO - 10 pA Output Tristated TIMING DIAGRAM ADM CLOCK '---i (156MHz) C'_--'-c--\_~I _ _ _ _-+--,I C2----<-c=--\->-t-I-----t------------t1 ~--~c=--\~~rl~1 \~+_--------------------~I SERIN ______________-+I______XA-_A_, __AX__A_..__~X~A_,,~~----------------------------------------11 sERouT ______________-+I______________________~~------~X~~~~~X~~o~,~1L__D~,__XL_~D,__Al___D_·__~1 PC LOAD DSR LOAD RET REG LOAD I ASR LOAD DSR SHIFT OUT I RET SPR032 INTERFACE 2-72 SPR128 PRELIMINARY INFORMATION 131,072 Bit Serial Read Only Memory FEATURES • 16K x 8 Organization PIN CONFIGURATION • Single +5 Volt Supply 24 LEAD DUAL IN LINE • Tri-State Serial Output • Totally Automated Custom Programing • Zener Protected Inputs • Glass Passivation Protection TOpVI8W DESCRIPTION v'" C ., ~ 24P C2 C3C 2 23~ C1 The General Instrument SPR128 is a 131,072 Bit Serial Read Only NC C 3 22~ SEA IN Memory organized as 16,384 eight-bit words and is ideally suited ROM CLOCK C 4 21 ~ NC for interfacing with the SP0256 Speech Processor. Fabricated in NC C 5 20 J NC the General Instrument advanced N-Channellon Implant process to NC C 6 19J NC NC C 7 18;J NC enable operation from a single +5 Volt power supply, up to 4 NC C 8 17 2 NC SPR128s can be interfaced to the SP0256 without buffering. NC [ 9 162 NC NC ~ 10 15 P Veo CS1 [ 11 14 PSEA OUT CS2 [ 12 13 PFiO~ EfilABCE BLOCK DIAGRAM SERIAL IN ASR REGISTER RET REGISTER ADDRESS 16384 x 8 DECODE ROM C1 C2 DSR REGISTER C3 SERIAL OUT 2-73 SPR128 PIN ASSIGNMENTS Pin Number Name Function ROM ENABLE Active low chip select u~ed in system to eliminate bus conflict at system start-up. When brought high. ROM ENABLE Tri-States Serial Out. SERIAL IN Serial Input used to load 16 bif address into device. SERIAL OUT Output pin used to shift out data byte. CS1 Active high chip select. Will Tri-State Serial output when low. CS2 Active low chip select. Will Tri-State Serial output when high. ROM CLOCK 1.56MHz clock input from SP0256 speech processor. Vss Ground pin. g~ } Control pins decoded to determine device function C1 Voo Positive supply pin (+4.6V to H.OV) C1 SBY C2 SP0256 C3 SPEECH T T PROCESSOR U '" '" () () u '" '" () () DO 01 02 03 04 SPR128 SPR128 05 ROM ROM 06 07 ~ I- ~ I- OLD () ::J I; () I; ::J 0 ~ 0 0 ~ 0 LRQ ..J ..J () a: a: () a: a: SE w w w w a: en en ex: en en 1 1 SER IN SER OUT ROM CLOCK ROM ENABLE Fig. 1 INTERFACE OF SPR128 ROM TO SP0256 SPEECH PROCESSOR 2-74 SPR128 TABLE 1 SPR128 CONTROL STATES C1 C2 C3 Function 0 0 0 NOP No action taken. 0 0 ASR Load Accepts data from the serial input, synchronous to the externally supplied ROM clock. This data is shifted into the ASR holding register in preparation for loading into the PC. Although ASR is 16 bits long, it is not necessary to load all 16 bits of address sequentially in one ASR load. 0 0 PC Load Loads the contents of the ASR register into the PC. 0 DSR Load Loads the 8 bits of data pointed to by the present value of the least significant 14 bits of the PC into the data output shift register (DSR). At the completion of the DSR load the PC is incremented. 0 0 DSR Shllt-Out Shifts out the contents of DSR to the serial out pin, synchronous to the ROM clock. 0 1 RET Register Load Loads the return register (RET) with the current value of the PC. 0 Return Loads the PC with the contents of the RET register. NOP No action taken ELECTRICAL CHARACTERISTICS Maximum Ratings * Exceeding these ratings could cause permanent dam- Voo ..................................................... -.3 to +12V age to the device. This is a stress rating only and func- Storage Temperature ............................... -25° to +125° C tional operation of this device at these conditions is not Lead Temperature (soldering) 10 Sec ......................... +333° C implied-operating ranges are specified in Standard Conditions Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated) ditions for extended periods may affect device reliability. Voo = +4.6V to +7.0V Data labeled "tYPical" IS presented for design guidance Operating Temperature = O°C to +70°C only and is not guaranteed. Supply Current 100 = 25mA Voo = 7.0V ROM clock frequency typically 1 56MHz Vss = O.OV TA = O°C DC CHARACTERISTICS Characteristics Sym Min Max Units Conditions Inputs ROM ENABLE, SERIAL IN, CS1,CS2,C1, C2,C3 ROM Clock Logic 0 VIL 0 0.6 V Logic 1 VIH 2.4 Voo V Capacitance C'N - 10 pf Leakage C'N - 10 JiA V Pin = Voo Volts, all others grounded Outputs SERIAL OUT Logic 0 VOL 0 0.6 V IL = 1.6mA Logic 1 VOH 25 V DD V IL = -50JiA Leakage ILO - 10 JiA Output Tnstated TIMING DIAGRAM ROM CLOCK (156MHz) c'_-L--c--\-----lo.+-I------+------1 '---l C2_--L-c=\_~I _ _ _ _ _+--_ _ _ _ _ _ _---l1 ~ __~c=\~~~I~1 \~+---------------------~I . SERIN ______________-+I------~X--A~,,--~X~A---~XL-~A,~,~------------ ____________________________~I SEROUT ______________ -+I________________________~--------X~~D~,--X~-D~,--AX~D~,__~X__~D~,~X~~D~.__~I PC LOAD DSR LOAD I ASA LOAD DSR SHIFT OUT I RET REG LOAD RET SPR128 INTERFACE 2-75 2-78 Electrically Alterable Non-Volatile Memory 3 Electrically Alterable Read Only Memories including Industrial/Military EAROMs 3-5 Non-Volatile Static RAM 3-48 FUNCTION OESCRIPTION PART NUMBER Eleelrically Alterable Non-Volatile Memory PAGE NUMBER "Ii i~ ~~ I 8281TEAROM 82 bits Ol'ganlzed 82 x 1 EROO82 3-5 7OO81T 700 bits organized SO x 14 ER1451 3-8 SERIAL EAROM 1400 BIT 14()O bits organiZ$d 100 x 14 ER1400 3-11 SERIAL EAROM ER2051 3·14 , 512 BIT EAROM 512 bits orgllniZlld 32 x 16 ' ER2051IR 3·14 ERlI051HR 3·14 ER205l) 3-17 512 BfT EAROM 512 bit$ organized 64 x a EUOS5IR 3-17 EUOsSHR 3-17 ERS501 3·20 lK N-CHANNEL 11< bilsorganizeC: Flg.6 WRITE Flg.7 INPUT TIMING 600 100 90 500 80 400 70 IoH (pA) 60 todpA) 300 50 40 200 30 100 20 10 I I 0 Vss-O 5 -1 -15 -2 -25 -9 -10 -11 -12 VOH(V) V",-(V) Flg.S TYPICAL OUTPUT SOURCE CURRENT V8 Flg.9 TYPICAL OUTPUT SINK CURRENT V8 OUTPUT VOLTAGE OUTPUT VOLTAGE 3-13 ER2051 ER20511R ER2051HR 512 Bit Electrically Alterable Read Only Memory • 32 word x 16 bit organization PIN CONFIGURATION • S bit binary addressing • +S, -28 V power supplies 28 LEAD DUAL IN LINE • Word Alterable D1 DO • 10 year data storage for ER20S1 (at +70°C) D2 CS D3 C2 • 1 year data storage for ER20S1 IR (at +8So C) D' C1 and ER20S1 HR (at +125° C) D5 VaG (-28V) • TTL compatibility with pull-up resistors on inputs D6 A4 • Tn-state outputs VGI (GNO) A3 • Read Time: 1Jls (ER20S1), 2JJS (ER20S1 IR and ER2051 HR) D7 A2 D8 A1 • Write/Erase Time. SOms (ER20S1), 100ms (ER2051 HR) DO AO • No Voltage switching required 010 Clock • Chip select D11 Vss (+5V) • Two extended temperature ranges D12 D15 -40°C to +8SoC (Industrial) Part # ER20S1 IR D13 D14 -SsoC to +12SoC (Hi-Rei) Part # ER20S1 HR BLOCK DIAGRAM Cl C2 cs DESCRIPTION The ER20S1, ER20S1 IR and ER20S1 HR are fully decoded 32 x 16 electrically erasable and reprogrammable ROMs Write, erase, and read voltages are switched internally via a 2-blt code applied to C1 and C2. 01 02 Data IS stored by applYing negative writing pulses that selectively CLOCK 03 tunnel charge into the oxide-nitnde interfacE' olthe gate insulator of the 512 MNOS memory transistors. When the wnting voltage is removed the charge trapped at the Interface IS manifested as a 014 negative shift In the threshold voltage of the selected memory 015 ' - ' L_ _- ' transistors. The EAROM may be operated with the Vss power supply between +SV and +10Volts, as long as the VSS-VGG always equals 33 AO A1 .4.2 ,6,3 "<4 Volts Thus, Vss can be +5Volts for TTL compatibility or up to +1 OVolts for CMOS compatibility, ifVGG IS appropriately adjusted. The ER2051 IR and ER2051 HR are screened to Mil Std 8838/ It IS important to note two things. first, that an erase IS required method 50041/level 8, pre-cap visual inspection, environmental before a wire to precondition the cell, and second, that after an testing, burn-In and external visual They are available In 28 lead erase, both transistors will have the same threshold voltage and ceramic dual In line packages. valid data will not be present at the output. The ER2051, ER20S1 IR and ER20S1 HR EAROMs use dynamiC, OPERATION edge triggered circuits Internally. This requires either a mode Data IS stored In a two transistor memory cell. After the cell is change, a clock or a transition of the chip select between preconditioned by an erase signal (which causes a pOSitive shift successive operations Thus successive operations in the same In the threshold of both tranSistors), data IS written into one of the mode must be separated by transitions of one of these four lines. transistors making its threshold more negative. A sensing flip Clock pulses are not normally required during erase or write flop IS used to read the memory cell and presents a logic high or operations, but are needed for successive operations If the chip low to the output depending on which transistor IS "wntten." select is held high, ie, applications where one EAROM IS used PIN FUNCTIONS 5-81t Word Address Data Input and output pins Chip Select Chip selected at logiC "1" When chip select IS at logiC "0", outputs are open CircUit, read, wnte and erase are disabled Power IS reduced C1. C2 Mode Control Inputs .Q1 C2 o Erase Mode stored data IS erased at addressed location 1 Don't Care Read Mode addressed data read after clock pulse Output data retained at output pins until chip deselected or control lines SWitched Wnte Mode Input data wntten at addressed location Clock not required Clock Input Pulse to logiC "1" for read operation Substrate supply Normally at +5 volts Ground Input Power Supply Input Normally at -28 volts 3-14 ER2051 • ER20511R • ER2051HR ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceeding these ratings could cause permanent dam- All input and outputs (with respect to Vss) •..•....•.• -35V to +0.3V age to the device This is a stress rating only and func- Storage temperature ••••...•.•....•••.•.•.••• -65° C to +150° C tional operation of this device at these conditions is not Soldering temperature of leads (10 seconds) .••...••.•••..• +300° C implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (for TTL compatibility) ditions for extended periods may affect device reliability Vss= +5V ±5% Data labeled "tYPical" is presented for design gUidance VGG = -28V ±5% only and is not guaranteed. vGI = GND Operating Temperature TA = O°C to +70°C for ER2051 TA = -40° C to +85° C for ER2051 IR TA = -55° C to +125° C for ER2051 HR Output Load = 100pf, 1 TTL load ER2051 ER2051 IR/ER2051 HR Characteristics Sym Min. Typ.·· Max. Min. Typ.·· Max. Units Conditions DC CHARACTERISTICS Input Logic "1" V,H Vss -1 5 - Vss +0 Vss -1 5 - Vss +0 3 V Input Logic "0" VIL Vss -15 - 08 Vss -10 - 06 V Output Logic "1" VOH Vss -1 5 - - Vss -1 5 - - V IOH = 100JiA Output Logic "0" VOL - - 06 - - 06 V IOL = 1.6mA for Vss = 5V Input Leakage IL - 2 10 - 2 10 JiA V,N = Vss -15 Output Leakage 10 - 2 10 - 2 10 JiA Chip deselected Power Supply Curren! Read IGG - - 14 - - 18 mA Write IGG - - 11 - - 15 mA ( IGG returned Erase IGG - - 11 - - 15 mA through Vss Deselected IGG - - 9 - - 12 mA AC CHARACTERISTICS Access Time tACC - - 1.0 - - 2.0 JiS Clock Pulse width tpw 20 - 200 20 - 200 JiS Erase Cycle Time tE 50 - 2000 100 - 2000 ms Write Cycle Time tw 50 - 2000 100 - 2000 ms Read Cycle Time tR 35 - 240 4.5 - 25 Jis Address to Clock Time tA 50 - - 50 - - ns Data Set Up Time tDS 50 - - 50 - - ns Data Hold Time tDH 50 - - 50 - - ns Control toAddress& Data Change to 0 - - 0 - - ns Number of Reads/Word Refresh NRA 10" - - 10" - - Number of Erase/Write Cycles Nw 10· - - 105 - - - Input Capacitance, all pins ClO - 8 15 - 8 15 pF Unpowered Data Storage Time ts 10 - - 1 - - Years at max temperature Power Dissipation Read Cycle PD - 450 500 - 450 500 mW at 25° C Vss = +5, VGG = -29 PD not applicable - - 500 mW at 125° C Vss = +5, VGG = -29 PD not applicable - - 600 mW at -55° C Vss = +5, VGG = -29 Pulse Rise, fall time t" t, 10 I - I 100 10 - 100 ns * *TYPlcal values are at +25° C and nominal voltages 3-15 IINJk~~MT I ER2051 • ER20511R • ER2051HR TIMING DIAGRAM cs C1 ~,~1111 .... ~~ V,H C2 L . . . . - -_ _ . .. . V,L V,H CLOCK V" ----------------------------~~~----------~n~---- ~ f..-t. ~~tA..j~tA X,.------I::~_-- V,H Ao-A. V" X ;-:----A-OO-R-E-SS-S-T-A-BL-E-----,.X STABLE ~ ~tDS ~ ~tc ~ ~toH 0 0 -0 " V,H V'L ---------iX S~~~tE X XIIIK3:~AT-IN-G- FLOATING FLOATING --+-l ~tACC 3-16 ER2055 ER20551R ER2055HR 512 Bit Electrically Alterable Read Only Memory r--------------------------------, FEATURES PIN CONFIGURATION 22 LEAD DUAL IN LINE TopView • 64 word x 8 bit organization • 6 bit binary addressing D, D, D, D, • +5, -28V power supplies D, D, • Word Alterable D. v., ((lND) • 10 year data storage for ER2055 (at +70°C) es, D. • 1 year data storage for ER2055 IR (at +85° C) Vss (+5V) es, and ER2055 HR (at +125° C) A, e, • TTL compatible with pull-up resistors 011 inputs A, e, • Tri-state outputs A, v•• (-28V) • Read Time: 2IJs (ER2055), 4IJs (ER2055 IR and ER2055 HR) A, elK • Write/Erase Time: 50ms (ER2055), 100ms (ER2055 HR) A, A, • No voltage switching required • 2 chip selects BLOCK DIAGRAM • Two extended temperature ranges: c, c, CS' CS2 -40°C to +85°C (Industrial) Part # ER2055 IR -55°C to +125°C (Hi-Rei) Part # ER2055 HR DESCRIPTION The ER2055 is a fully decoded 64 x 8 electrically erasable and reprogrammable ROM. Write, erase, and read voltages are 00 switched internally via a 2-bit code applied to C1 and C2. 0' 0' CLOCK Data is stored by applying negative writing pulses that selectively 03 tunnel charge into the oxide-nitride interface of the gate insulator 0' of the 512 MNOS memory transistors. When the writing voltage is 0' 06 removed the charge trapped at the interface is manifested as a 07 negative shift in the threshold voltage of the selected memory transistors. OPERATION Data is stored in a two transistor memory cell. After the cell is preconditioned by an erase signal (which causes a positive shift The ER2055 EAROM uses dynamic edge triggered circuits inter- in the threshold of both transistors), data is written into one of the nally. This requires either a mode change, a clock or a transition transistors making its threshold more negative. A sensing flip of the chip selects between successive operations. Thus succes- flop is used to read the memory cell and presents a logic high or sive operations in the same mode must be separated by transition low to the output depending on which transistor is "written". of one of these four lines. Clock pulses are not normally required during erase or write operations, but are needed for successive The ER2055 EAROM may be operated with Vss between +5 and operations if the chip is continuously selected, i.e., applications +10 volts for either TTL or CMOS compatibility. The negative where one EAROM is used. power supply, VGG , should be adjusted so that the difference between Vss and VGG is always 33 volts. The ER20551R and ER2055HR are screened to Mil Std. 883B/ method 5004. 1/level B, pre-cap visual inspection, environmental It is important to note two things: first, that an erase is required testing, burn-in and external visual. They are available in 28 lead before a write to precondition the cell, and second, that after an ceramic dual in-line packages. erase, both transistors will have the same threshold voltage and valid data will not be present at the output. PIN FUNCTIONS AD-A 5 6-Bit Word Address DD-D 7 Data input and output pins CS1, CS2 Chip Selects Chip selected at logic "1" on CS1 and logic "0" on CS2. When chip IS not selected. outputs are open cirCUit, read, write and erase are disabled. Power IS reduced. C1, C2 Mode Control Inputs C1 C2 "0 ,- Erase Mode stored data IS erased at addressed location 1 Don't Care Read Mode. addressed data read after clock pulse Output data retained at output pinS until chip deselected or control lines sWitched. Write Mode: Input data written at addressed location Clock not reqUired Clock Input Pulse to logic "1" for read operation Substrate supply. Normally at +5 volts Ground Input. Power Supply Input. Normally at -28 volts. 3-17 ER2055 • ER20551R • ER2055HR ELECTRICAL CHARACTERISTICS Maximum Ratings· * Exceeding these ratings could cause permanent dam- All mputs and outputs (with respect to Vss )' • • • • • • • • •• -3SV to +0 3V age to the device This is a stress rating only and func- Storage temperature ••••••••••••••••••••••••• -6S·C to +1S0·C tional operation of this device at these conditions is not Soldermg temperature of leads (10 seconds) •••••••••••••• +300· C implied-operating ranges are specified in Standard Conditions Exposure to absolute maximum rating con- Standard Conditions (for TTL Compatibility) ditions for extended periods may affect device reliability. Vss=+SV±S% Data labeled "typical" is presented for design guidance VGG = -28V ±S% only and is not guaranteed. VGI= GND Operatmg Temperature TA = O·C to +70·C for ER20SS TA = -40·C to +8S·C for ER20SSIR TA = -SS·C to +125·C for ER20SSHR Output Load = 100pF, 1 TTL load ER2055 ER2055 IR/ER2055 HR Characteristics Sym Min. Typ •• Max. Min. Typ•• Max. Units Conditions DC CHARACTERISTICS Input Logic "1" V,H V.. -1.S - V•• +0.: V•• -1.5 - V•• +0.3 V Input logic "0" V,L Vss -lS - 0.8 V•• -10 - 0.6 V Output Logic "1" VOH Vss -1.5 - - Vs. -1.S - - V lot< = lOOIiA Output logic "0" VOL - - 0.6 - - 0.6 V IoL = 1.6mA for V•• = 5V I nput leakage It - 2 10 - 2 10 IIA V,N = V•• -lS Output leakage 10 - 2 10 - 2 10 IIA Chip deselected Power Supply Current Read IGG - 8 10 - 8 18 mA Iss approx. IGG Write IGG - 6 7 - 6 9 mA Iss approx. IGG Erase IGG - 4 7 - 6 8 mA Is. approx. IGG Deselected IGG - 4 7 - 4 6 mA Is. approx. loG AC CHARACTERISTICS Access Time tACe - - 2.0 - - 4.0 liS Clock Pulse width !"w 20 - 20.0 2.0 - 20.0 liS Erase Cycle Time Ie 50 - 200.0 100 - 200.0 ms Write Cycle Time tw 50 - 200.0 100 - 200.0 ms Read Cycle Time tR S.O - 24.0 6.0 - 2S.0 liS Address to Clock Time t. 50 - - SO - - ns Data Set Up Time tos SO - - SO - - ns Data Hold Time tOH 50 - - SO - - ns Control to Address & Data ChangE Ie 0 - - 0 - - ns Number of Reads/Word Refresh NRA 10" - - 10" - -, Number of Erase/Write Cycles Nw 10· - - 10' - - - I nput Capacitance, all pins C 'O - 6 10 - 6 10 pF Unpowered Data Storage Time Is 10 - - 1 - - Years at max. temperature Power Dissipation Read Cycle Po - 4S0 SOO - 450 SOO mW at 2S·C V.. = +S, VGG = -29 Po not applicable - - 500 mW at 12S·C V•• = +5, VGG =-29 Po notrPlicrle - - 600 mW at -SS·C Vs• = +S, VGG = -29 Pulse Rise, fall time tRI t, 10 - 100 10 - 100 ns **TYPlcal values are at +2S·C and nominal voltages. 3-18 ER2055. ER20551R • ER2055HR TIMING DIAGRAM ~_ _ _ _ _ _ _ _ _ _~~l V,H CS2 V,L ERASE WRITE READ DESELECT ~14 V,H CS1 f:=~ tw - - · ·...11"'"4 ....- - - t R - - -..... -tI___u ..___ V,L . .1> C1 C2 VIH ' - V'L""-""""""""'''''''''~I.101..---------------' V,H------------..., V,L '--_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ •• ~.w~ .Ll~.I.l.l.l.l.l~. ~ V,H CLOCK V,L ~ II ~ j..-IA IA~Hf.-1A ArrA 5 V,H V,L X X X ADDRESS STABLE :; STABLE ~ ~ ~ ~toH f.-tos j...-tc 0 0 -0 7 V'H V,L FLOATING X S~~~~E X ~~TING FLOATING , 1 --..j ~lAcc TYPICAL OUTPUT CHARACTERISTICS TYPICAL SUPPLY CURRENT VS POWER SUPPLY VOLTAGE 35 35 READ WRITE ERASE DESELECTED 11 +5V (ALL MODES) :~~', 30 30 25 25 20 20 I, mA mA 15 15 10 L-__L-__ ~;~~ __ ~ __ ~ __- L__ ~o 10 30 35 40 45 50 27 29 31 27 29 31 27 29 31 27 29 31 3-19 ER5901 ER59011R PRELIMINARY INFORMATION ER5901HR 1K N-Channel EEPROM FEATURES • 128 x 8 bit organization, fully decoded PIN CONFIGURATION • SNOS si-gate technology 24 LEAD DUAL IN LINE • Single +SV power supply • lOOns access time • TTL compatible Top View • Word alterable • Reprogramming time-user determined ALE -1 (+SV) Vcc • Automatic erase/write cycle AS SfA AS TI DESCRIPTION A4 WE The ERS901 is intended for microcomputer applications which A3 OE require a small non-volatile memory capable of fast operation A2 NC with a minimum of processor intervention. The fast access time, A1 CE coupled with the ability to multiplex the address and data lines, through the Address Latch Enable (ALE) and WE inputs, will AD D7 make it readily adaptable for use in most systems. 00 06 A single pulse on the WE input will cause the device to perform a 01 1S OS complete erase/write cycle without any further processor inter- 02 14 04 vention. The duration of this reprogramming cycle can be deter- Vss (GNO) 13 03 mined by means of an external RC time constant connected to the Tllnpul. Ouring the reprogramming cycle a busy status is made available on the status line STA. The combining of all these features on a single device has been achieved through innovative circuit design and N-channel Si- gate technology. BLOCK DIAGRAM AO I I 128 x 8 I MEMORY I MATRIX I I CE OE WE CONTROL ALE LOGIC STA _ _ TI -~-,-_ _ _--, 00- - - - - - - 07 3-20 ER5901 • ER59011R • ER5901HR ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceeding these ratings could cause permanent dam- All inputs and outputs with respect to Ground •.••..•...• +6V to -0.3V age to the device This is a stress rating only and func- Storage temperature (unpowered and tional operation of this device at these conditions IS not without data retention) .•...•••....••.....•••.•• -65°C to +150°C implied-operating ranges are specified in Standard Soldering temperature of leads (10 secs.) •.......•...•..•.•.. +300°C Conditions. Exposure to absolute maximum rating con- ditions forexlended periods may affect device reliability Standard Conditions (unless otherwise noted) Data labeled "typical" is presented for design gUidance Vss= GND only and is not guaranteed. Vee = +5V ±5% Volts Operating Temperature Ranges TA: O°C to + 70°C (Commercial) -40°C to +85°C (Industrial) -55° C to +125° C (Military) DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Input Logic "1" V,H 20 - Vee+O 3 V Input Logic "0" V,L -0.1 - +0.8 V Output Logic "1" VOH 24 - Vee V 10H= -400/lA Output Logic "0" VOL - - 0.4 V 10L = 1.6mA Input Leakage Current I'L - - ** /lA V ,N = 5.25V Output Leakage Current 10L - - ** /lA VOUT= 525V Power Supply Requirements Vec Supply: Chip Selected Icc - 35 54 mA Vcc= +5.5V Chip Deselected Icc - 12 18 mA Vcc= +5.5V Power DIssipation Chip Selected Po - 195 300 mW Vcc =+55V Chip Deselected Po - 66 100 mW Vcc =+55V ** To be announced at a later date. NOTE: 1. TA = -40° C to + 85° C. Vcc = 5±5% Volts, unless otherwise specified. PIN FUNCTIONS Name Function AO-A6 7 bit binary word address. 00-07 8 bit data 1/0 Vcc Power supply +SV ± 5% GND Chip Ground connection CE Chip Enable Input - used for chip selection OE Output Enable input - gates data to output pins during Read. WE Write Enable Input - enables a reprogramming cycle, Input data latched on a positive edge. ALE Address Latch Enable input - address Inputs latched on negative edge May be tied 10 WE when separate address and data lines are used STA Status output pin - low when chip IS In reprogramming mode and cannot be accessed. TI Timing Input - defines clock frequency for reprogramming, May be RC or other external clock 3-21 ER3400 ER3400l/1R ER3400HR 4096 Bit Electrically Alterable Read Only Memory FEATURES PIN CONFIGURATION • 1024 word x 4 bit organizatIOn 22 LEAD DUAL IN LINE • Latched address and data inputs • Word or block alterable Top View • 10 year data storage for ER3400 Vaa(-30V) v" (+5V) • 1 year data storage for ER3400lR at +85° C VDD (-12V) AS • and ER3400HR at +95°C A6 A4 • TTL compatible with pull-up resistors on Inputs A7 A3 • Tn-state outputs A8 A2 A9 A1 • Read access time 900ns max. CO AO • Wnte time. 1ms Erase time' 10ms C1 CE •• 10. Read cycles/word between refre~hes V•• (GND) WE • reTRead cycles/word for ER3400lR and ER3400HR D3 DO • Two extended temperature ranges 02 D1 . E:R3400'ls a'1024 x 4 bit fully decdded Electncally Alterable BLOCK DIAGRAM Read Only Memory fabncated In General Instrument's proven co Cl Wi MNOS technology. Address, control and data Inputs are latched on board the device thus releasing these lines during Erase and Wnte operations Selection of one of the four modes of operation IS made by setting the appropnate binary code on control lines CO and C1 CE is used for chip selection and latching of address and control lines. WE is used to sample and latch input data on 00-03 co during a Write operation. 01 Power sequencing protectIOn circUitry is provided on the ER3400 DO D3 to protect against the aCCidental alteration of data during power Up/Down. However, due to the unpredictable nature of power up and power down sequences In some systems, It is Important to apply and remove the programming voltage VGG only when Vss and Vee are within their specified limits For applications requiring extended temperature ranges the ER34001, ER3400lR and ER3400HR are available. RELATED APPLICATION NOTES 1217 The ER3400: an easy to use 4K EAROM 1218 Interfacing the ER3400 to an eight bit microcomputer 1220 Generating EAROM programming voltages from a 5 volt supply 1210 Data retention testing of the ER3400 PIN FUNCTIONS Name Function AO-A9 10-Bit Word Address 00-03 Data input and output pins CE Chip Enable. Chip selected when CE is pulsed to logic "0", CO, C1 Mode Control Inputs CO C1 0 1 Block Erase Mode: erase operation performed on all words. 1 1 Word Erase Mode: stored data is erased at addressed location, 0 0 Read Mode: addressed data read after leading edge of CE pulse. 1 0 Write Mode: input data written at addressed location. WE Write Enable. Input data read when WE is pulsed to logic "0". Vss Substrate supply. Normally at +5 Yolts. VGI Ground Input VDD Power Supply Input. Normally at -12 volts. VGG Power Supply Input. Normally at -30 volts. 3-22 ER3400 • ER34001llR • ER3400HR I IIN~~ I ELECTRICAL CHARACTERISTICS Maximum Rallngs· All inputs and outputs except VGG (with respect to Vssl •.•• -20V to +0.3V * Exceeding these ratings could cause permanent dam- Storage temperature (without data retention) .••.•..•. -65· C to +150· C age to the device. This IS a stress rating only and func- Soldering temperature of leads (10 seconds) .•.••••.••.•••.•.•. +300· C tional operation of this device at these conditions is not implied-operating ranges are specified In Standard Standard Condition (unless otherwise noted) Conditions. Exposure to absolute maximum rating con- Vss = +5V to ±5% ditions for extended periods may affect device reliability Voo = -12V ±5% Data labeled "typical" is presented for design guidance VGG = -30V ±5% only and is not guaranteed. VGI=GND Operating Temperature (TA) = O·C to +70·C (ER3400) -40·C to +85·C (ER3400l/IR) -55·C to +95·C (ER3400HR) ER3400 ER3400lR/ER3400HR Characteristic Sym Min Typ Max Min Typ Max Unit Conditions DC CHARACTERISTICS Input Logic "1" V,H Vss -1.5 - Vss +0.15 Vss -10 - Vss+O 15 V . Input LogiC "0" V'L -10 - 08 -10 - 06 V Output LogiC "1" VOH Vss -1.5 - - Vss -1.5 - - V IoH=2mA Output Logic "0" VOL - - 04 - - 05 V IoL = 2mA Control Input Leakage Icc - - -20 - - -20 /lA VON = Vss -15 Volts Data Input Leakage ILo - - -100 - - -10.0 /lA V,N = Vss -15 Volts Power Supply Current Voo Supply Current. Chip selected 100 - - -25.0 - - -30.0 mA Voo = Vss -17 Volts Chip de-selected 100 - - -12.0 - - -15.0 mA Voo = Vss -17 Volts VGG Supply Current· Write mode IGG - - -4.0 - - -5.0 mA Vrm = Vss -35 Volts Vss Supply Current. Chip selected Iss - - -310 - - -37.0 rnA VGG = Vss -17V, VGG = Vss -35V Chip de-selected Iss - - -14.5 - - -18.0 rnA VGG = Vss -17V, VGG = Vss -35V AC CHARACTERISTICS Input capacitance-control inputs Cr - 6 8 - 6 8 pf Input capacitance-data Inputs Co - 8 10 - 8 10 pf 3-23 ER3400 • ER34001liR • ER3400HR READ MODE AO-AB ~:~ =X I.... 1 --------tcv-------· STABLE .*.__ ..... I i X___________ C_A_N_C_H_A_N_G_E_....... CO ~ ~ ~I~------~X _ CAN CHANGE .. V'L I '------------- 1r-------~ Cl V1L ~ ~ 1 I Y T CAN CHANGE I X '------------- f'4-t01--I-t02-1 l -t 0 4 - 1 ~ ~~:-t-r---,----~1\-------------------- I ,..-..;-tcC'--1 ,..-t 03 - - ', t'....,r+-tA~1 00-03 HIGH Z X D:.f}~UT X,.----H-I-G-H-Z-------- I ER3400 ER3400lR/HR Characteristics Sym Min Max Min Max Unit Conditions Read Cycle Time tcv 1700 - 1750 - ns Address and Control to OE t01 100 - 100 - ns Address and Control Hold Time t02 250 - 350 - ns ee Rise to Data Tri-state t03 50 300 50 350 ns C'EHlgh t04 700 - 750 - ns Access Time tA - BOO - 1000 ns Load = 2K + 100pf to Vss OE Pulse Width tCE 1 50 1 50 /1S CE Rise, Fall Time trot, 10 100 10 100 ns Number of Read Accesses per Location Between Refresh NRA 109 - 10 7 - - READ OPERATION Address and control line inputs are latched on the failing edge of data lines 00-03. CE must be held high for a minimum of 700ns ~. With control lines CO and Cl both Iowa read cycle will be between memory read cycles. To reduce power consumption the initiated. After the access time tA the data read will be output on ER3400 may be operated with VGG held at Vss in the read mode. 3-24 ER3400 • ER34001llR • ER3400HR WORD ERASE 1 1 I I AO-A9 V,H V,L ::=:=x STABLE X CAN CHfNl~IG_E_---I_ _ _ _--III--_ _ _ _ _ _ __ CO V,H V ,L -=1' : I "CAN I CH1N~ i~ : : ,.---------- [' 1 CAN CHANGE I I I ~ ~ CANCH1N~ V,H Cl :vr--C-A-N-C-H-A-N-G-E--- CE V,L V,H V,L 1-- I --r----\' 1 tOll I K tD12 I I rt~ !,:\ I I tDI1~__ tD12~ t 4- t ~tD5-: L f: t..--tC5E----l : _ tE- : '--tC5E--: :--tD3- - 1 VOH 00-03 VOL : HIGH I 7 ! XDATA OUT*Xr- H-'G-H-Z :.. ERASE .. :----DUMMy READ~: I I I *Data output during a Dummy Read is not valid. ER3400 ER3400lR/HR Characteristics Sym Min Max Min Max Unit Conditions Address and Control to CE tOll 100 - 100 - ns Address and Control Hold Time t012 250 - 250 - ns CE Rise to Data Tri-state t D3 50 300 50 350 ns CEHigh (Dummy Read) t D5 1500 - 1500 - ns CE Pulse Width tCE 1 50 1 50 /lS Erase Time tE 10 20 10 20 ms WORD ERASE OPERATION An erase cycle is required prior to a write in order to precondition ing erase, therefore, the state of the address lines AO-A9 are the memory cells to be written. A word erase operation erases immaterial during the dummy read cycle. Data output during a only the four bits of the addressed memory location. The falling dummy read cycle is not valid data. edge of CE latches the control inputs and the address of the word to be erased. The rising edge of CE in the erase mode signals the BLOCK ERASE OPERATION start of the erase cycle which produces a positive shift in the A block erase operation erases all 4096 bits of memory to the "1" threshold of the selected MNOS memory transistors. An erase state, in ali other respects the operation is identical to the word operation must be terminated by a dummy read operation The erase operation described above. dummy read need not occur on the same location as the preced- 3-25 ER3400. ER34001/iR • ER3400HR WRITE MODE I =x------k I V,H AD-AS STABLE CAN CHANGE: ~:____~___________________ r V'L I I ~ V,H CO V'L =J1 'K CAN CHANGE : CAN CHANGE I I I C1 V'L ~;II'\ ----!'------''+-----------l /1 CAN CHANGE : ~ ~ tl,---- CAN CHANGE t011:----i'+---:t012 f\1'- - - - - - - - t - I____ teE _ t01'1 I. rII -tw~l--tCE~1 '--- t011 __ 1-~t012_: I, t-l------'I'-----'------'--- I4-t 05 __1 II :__ t013~\'y-----t : I : I I I I' I r4-tWE~II' I .r; . I ~ t03 I ~I t 015 104-- _1~t..-t016 r - - V X~J{* XHIG~ I I I 00-03 CAN CHANGE i XSTABLE DATA IN CAN CHANGE V OLHIG~ Z Z I I I r- OH I I I I .. WRITE • I4-DUMMV READ __I 'Data output dUring a Dummy Read IS not valid ER3400 ER3400IR/HR Characteristics Sym Min Max Min Max Unit Conditions Address and Control to CE t011 100 - 100 - ns Address and Control Hold Time t012 250 - 350 - ns CE Fall to WE Fall Delay t 013 0 - 0 - ns WE rise may overlap CE WE Rise to CE Rise Delay t014 -50 - -100 - ns rise by 50ns maximum Data Stable to WE t 015 0 - 0 - ns WE Rise to End of Data Stable t 016 100 - 100 - ns CE Pulse Width tCE 1 50 1 50 !1s WE Pulse Width tWE 500 - 650 - ns Write Time tw 1 2 1 2 ms CE Rise to Data Tn-state t03 50 300 50 350 ns CE High (Dummy Read) t05 1500 - 1500 - ns Unpowered Data Storage Time ts 10 - 1 - VRS. See Note 1 Number of Reprogramming Cycles Nw 10 3 - 10 3 - - See Note 1 Number of Read Accesses/Location between Refresh NRA 10· - 10 9 - - NOTE1: Does not Imply end of useful life See "Wnte OperatIOn" for further information. WRITE OPERATION Control lines CO and C1 along with address lines AO-AS are occur on the same location as the prevIous write, therefore, latched on the falling edge of CE Input data on 00-03 IS latched address line AO-A9 may be allowed to change during the dummy on the riSing edge of WE. WE may be tied to CE for all operations, read cycle however, this separate latching allows the ER3400 to be used In The speCification of 10 years non-volatile data retention after a certain systems where address and data busses are multiplexed. minimum of 10 3 reprogramming cycles is merely one pOint on the The writing of the selected memory transistors is initiated by the curve of retention versus reprogramming cycles and does not rising edge of CE. CE must remain high for the duration of the Imply a sudden cut-off or end of life. As the number of Erase/Write write time. A write operation can only be terminated by a dummy cycles per address Increases, a gradual, logarithmiC reduction In read. To avoid bus contention, the data lines must be tri-stated data retention capability occurs With 1 year of retention being a prior to initiating the dummy read cycle. The data output by a typical figure after 10' cycles. dummy read cycle is not valid data. The dummy read need not 3-26 ER3400 • ER34001/iR • ER3400HR TYPICAL CHARACTERISTIC CURVES 1100 Max Spec L',I r- Normal Operating Range "1 2000 Mall Spec L',\ r- operatlng--i Normal Ro,,. -- tOOl \: I I '"00 1 I 1 I 900 I I I '"00 ""'- -L I ......... .1 Ae<:ess Cycle 70·C 1 T,~ (ns) I Time (ns) -+- 800 t400 r-- ,,·c ~ i --1--1 1 -+::::::- --- O·C 1200 700 ........... 70 e I G 1 1 eoo r-.. 1000 -" -tB DOC -17 2S"C -18 -to " '" -" '" " Voo·Vas(Volts} VDP-Vs/Volts) Fig.3 TYPICAL ACCESS TIME vs. Fig.4 TYPICAL CYCLE TIME vs. POWER SUPPLY VOLTAGE POWER SUPPLY VOLTAGE -8 r- Norma. operatln g Range -1 -25 VOO-VSS=-17V I I M811SpL Limit I -7 I -20 I :~ /- V,......... -'--- -- -6 -15 'DO (rnA) I I ....- --J. ~ 'DO (rnA) ..........-: ~ I -I:~ ~ -, ll.--- I I I -3 0 -IS -to -17 -18 -t9 0 200 400 600 800 VOO-VSS (Voilsi Operatmg Frequency (KHz) Fig.5 100 VS. Voo-Vss POWER SUPPLY VOLTAGE Fig.6 100 vs. OPERATING FREQUENCY IN READ MODE AND NOT SELECTED IN READ MODE AND SELECTED -40 r-- Normal operatlng Range ---1 -35 , I I I Ma"SP~CLlmtt - I I - I -3' IGG (rnA) -25 I I -t -2s c o -20 -r I 70 0 e I I I I -t5 -32 -33 -34 -35 -36 -37 -38 VGG-VSS (l/olts) Fig.7 IGG VS. VGG-VSS POWER SUPPLY VOLTAGE IN READ MODE AND NOT SELECTED 3-27 ER2810lR ER2810HR 8192 Bit Electrically Alterable Read Only Memory FEATURES PIN CONFIGURATION • 2048 word x 4 bit organization 24 LEAD DUAL IN LINE • 11 bit binary addressing • ±5, -14, -24V power supplies • Block erasable • 1 year unpowered data storage • TTL compatible with pull up resistors on inputs Clock,(.') Voo Vss (+5V) VM • Tri-state outputs NC cs • Read time: 1.6/1s AIO v" • Write time: 10ms, erase time: lOOms 04 A9 • Chip select 03 AS 02 A7 01 A6 W A5 DESCRIPTION VR A4 AO A3 The ER2810 IR and ER2810 HR are fully decoded 2048 x 4-bit AI A2 electrically erasable and reprogrammable ROMs utilizing second-generation MNOS epitaxial processing technology. Data is stored by applying negative writing pulses that selectively tunnel charge into the oxide-nitride interface of the gate insulator ceramic dual in line packages. of the 8192 MNOS memory transistors. When the writing voltage Stored data may be accessed a minimum of 2 x 10'0 times without is removed, the charge trapped at the interface is manifested as a refresh and is non-volatile in the unpowered state in excess of negative shift in the threshold voltage of the selected memory one year. Data is erased by applying a Vss -28V pulse totheerase transistors. substrate of the device. Data may be reprogrammed, without The ER2810 IR and ER2810 HR are screened to Mil Std. 883BI degradation of the retention time, up to 105 times, beyond which method 5004.1/1evel B, pre-cap visual inspection, environmental a gradual, logarithmic fall off is seen. All outputs are at logic high testing, burn-in and external visual They are available In 24 lead when the device is in the erased state. BLOCK DIAGRAM AS Ag '/'1 0 ) - - - - - + vooo)-----+ v55.0)------ VEE 0>------ ~ ~ ~j K ~~ ~j =~ ~:I H & :I Ii & :I Ii:I & H :I Vi VR CS 0, 03 3-28 ER2810lR • ER2810HR ELECTRICAL CHARACTERISTICS Maximum Rallngs* • Exceeding these ratings could cause permanent dam- All inputs and outputs relative to Vss ..................... +0.3V to -30V age to the device. This is a stress rating only and func- Storage temperature ................................. -65° C to +150° C tional operation of this device at these conditions is not Soldering temperature of leads (10 seconds) .................... +300° C implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- ditions for extended penods may affect device reliability. Data labeled "typical"' is presented for design guidance only and is not guaranteed. RECOMMENDED OPERATING CONDITIONS TA = -40°C to +85° C for ER2810lR TA = -55° C to +95° C for ER.2810HR Erase Mode Write Mode Read Mode Symbol Parameter Units Min Typ Max Min Typ Max Min Typ Max V UIl Supply Voltage 4.75 V" V,,+0.3 V,,-29 V,,-28 V,,-27 V,,-20 V,,-19 V,,-18 V V" Substrate supply voltage 4.75 5.0 5.25 4.75 5.0 5.25 4.75 5.0 5.25 V VM Memory voltage V" V,,-29 V,,-28 V,,-27 V,,-10.5 V,,-10 V,,-9.5 V V. Reference voltage V" V" V,,-20 V,,-19 V,,-18 V Villi Erase substrate input high V,,-O.4 V" V,,+0.3 V,,-0.4 V" V,,+0.3 V,,-0.4 V" V,,+0.3 V VIII Erase substrate input low V,,-29 V,,-28 V,,-27 Not Applicable Not Applicable V VWH Write control input high V,,-1.5 V" V,,+0.3 V,,-1.5 V" V,,+0.3 V,,-1.5 I V" I V,,+0.3 V Vw, Write control input low V,,-29 V,,-4.4 V,,-29 V,,-4.4 Not Applicable V V'/JH , input high voltage V" V,,-0.8 V" V,,+0.3 V,,-0.8 V" V,,+0.3 V VL V,,-4.4 Not Applicable V STATIC ELECTRICAL CHARACTERISTICS TA = -40° C to +85° C for ER2810lR TA = -55° C to +95° C for ER2810HR (NO EXTERNAL LOADS EXCEPT AS NOTED) Symbol Parameter Conditions Min Typ Max Unit All Pins at V" Unless Noted I" Input leakage current (except pins 1,2, 4,5,6,7,8, and 24) atV,,-15V , , leakage current atV,,-29V V",,=V,,-29, W=V,,-25 - - -200 p.A 10 Output leakage cu rrent at V,,-15V Chip deselected - - -10.0 p.A 1"1 Erase leakage current at V,,-28V W=V,,-25 - - -200 p.A 11)1)1 Voo supply current - read mode at Vss-19V Outputs open (See Figure 6) - 16 20 mA 11)))2 Voo supply current - Write mode at Vss-28V Outputs open (See Figure 5) - 30 40 mA VOH Data output high voltage - TTL load One Series 7400 TTL load with Rs = 1K, Vee = Vss Vs. -1.5 - - V VOL Data output low voltage - TTL load (SeeTTLNotes) - - Vs. -10 V VOH Data Output high voltage - MOS V,,-1.5 - - V VOl Data Output low voltage - MOS CL = 100pF - - V•• -14 V T, Unpowered nonvolatile data storage Typical write conditions 1 - - Years CAPACITANCE AT V,N = Vss. ALL OTHER PINS GROUNDED (Vss). f = 1MHz Symbol Parameter Min Typ Max Unit C, Address and chip select input capacitance - 5 7 pF Cw Write control input capacitance - 10 20 pF C" Strobe input capacitance - 10 15 pF C, , Input Capacitance. - 40 50 pF CII Erase substrate capacitance - 600 700 pF C" Data inpuVoutput capacitance - 6 10 pF 3-29 ER2810lR • ER2810HR ERASE CYCLE CHARACTERISTICS TA = -40' C to +85' C for ER2810lR TA = -55'C to +95'C for ER2810HR Symbol Parameter Min Typ Max Units V" erase pulse width 100 1000 ms V" rise time, V" fall time 0.01 1.0 ms Write-erase overlap 10 I's Write Control V WH I i i ."*=. (W) V WL I ~--~------------~~~I Erase Substrate V EEH V EEL I ~ '0 II::..:~~'-r:--_-~~_'_E~~-_-___- ....._--'~:F,f (VEE) WfilZlfllZZl/!I/?~N>5~R~'lIIflflmmJI/I!//J V ,H Addr... (AO-->A10) and/or V ,L Ch,p select (CS) 1 VH I VL V OH Data Input (0 1 -+0 4 ) VOL WRITE CYCLE CHARACTERISTICS TA = -40'C to +85'C for ER2810lR TA = -55' C to +95' C for ER2810HR (See Note 3) Symbol Parameter Min Typ Max Units Nw Numberof <1>, write pulsesa' 1001'S ±10%,5I's min. dead time between pulses) 100 200 300 Pulses tm Write control rise to pulsed <1>, rise delay 500 ns tllK Address change and chip select fall to pulsed <1>, rise delay 500 ns t')9 Pulsed <1>, fall to address and chip select change delay 0.0 I'S tl)lO Data Input change to pulsed <1>, rise delay 0.0 I'S tnll Pulsed <1>, fall to data Input change delay 0.0 I'S Nw Number of times word may be rewritten 10' Write Control v WH (W) V WL Erase V EEH Substrate (VEE) V EEL V ,H Add.... (AQ-->A,O) andlor Chip select (CS) V 1L Pulsed, V.pH (,) Vc/>L Data Input V OH 10, ->04 ) VOL NOTES: 1. Due to the dynamic nature of the circuit a "1 NOT" time in excess of 40 /1sec may result In a floated output condition. Consequently data must be resampled with a 40/1sec time period following the fall of 1 to ensure Its validity. 2. Several seconds may be required following a programming operation for the circuit to become operable in the read mode. If data is to be verified immediately following programming, a forward current of +1mA ± 10% may be forced into the erase substrate junction (Pin 4, VEE), for a period not to exceed 10 milliseconds, to quickly dissipate charge trapped at internal circuit nodes. 3. Maximum power dissipation occurs during programming. When programming multichip systems where the application of programming voltages is required for several minutes, forced air cooling is recommended to reduce package temperature. Power is not reduced when chip is deselected. 4. All typical values are at +25'C and nominal voltages. 3-30 5. pulses are required after the fall of the chip select line to force the data outputs into a high impedance state. ER2810lR • ER2810HR READ CYCLE CHARACTERISTICS TA = -40° C to +85° C for ER2810lR TA=-55°C to +95°C for ER2810HR Pal'llmeter Symbol (See Flgu.... 1 through 4) Min Typ Mu Units Access lime 16 20 ps Pulse width (rise and fall times <50ns) (See Note 1) 800 5000 ns Address and chip select change to _1 fall delay 400 ns qJ 1 Rise to address and chip select change delay 50 ns See Note 1 If> 1 Rise to data output valid delay (See Notes 1 and 2) 750 ns See Note 1 If> 1 Fall to floated output delay 300 ns Number of read accesses/word between refresh 2 x 10'0 ChIp Select V ,H ICS) Selected V ,L V'H~.Z---------------------~~------------------~~----------------- v'L~~-- __________________ ____ ______ ____ Jl~ ____ ~ __________ ~ -J~ ~ vl/>H-I---=~l~ v~L ---------'92:;l. - - - _~o~:!. - - - -4'-----. . . PIN FUNCTIONS Chip Select (CS) Must be in the high state to enable the data output terminals or to write data Into the device Data 'Input/Output (01-04) 01 through 04 are bidirectional data terminals Data are entered on these terminals during the write cycle and read out dUring the read cycle. When deselected, these terminals are In a floating condition. Write Control (W) The write control terminal must be In the low state In order to write data Into the device. Phase One (1/11) During the write and read operations, pulses must be applied to the r/Jl terminal to fully shift the memory transistor threshold voltage to Its most negative state. This is reqUired for voltage bootstrapping In the row-selection circuitry. The ¢ 1 Input IS high level and not TTL-compatible. NOTE. All control, address and data Inputs are TTL-<:ompatlble With pull-up resistors. TTL INTERFACE Vss = +5 Rs = lK ± 5% ... ~---------' Cs = 1000 pF ± 20% MOS INTERFACE r--- r------, Voo = Vss -19 I I I I -1 I I I I r--- I I :--1 I I 7400 I I I SERIES I I IL __ _ TTL .JI ____ 1-1 I __ _ L Voo = Vss -19V GND Vss 3-31 ER5716 ER57161R PRELIMINARY INFORMATION ER5716HR 16K N-Channel Electrically Erasable and Programmable ROM FEATURES • 2048 word x 8 bit organization, fully decoded PIN CONFIGURATION 24 pin dual In line • Electrically Block Erasable with a 1sec., +25V pulse • Electrically Programmable-l ms per byte • Single +5V power supply in Read mode • 300ns Access Time A7 [ ., '-' 24 P 5VlV cc (+ • 10 year Non-Volatile Data Retention A6[2 23~A8 • Static operation-no clocks A5 [ 3 22 tJ A9 • N-Channel, Silicon gate SNOS technology A4[4 21t?Vp A3[5 20pCS • Low Active Power Dissipation. 300mW max. A2 [ 6 19:J Al0 • Pin for pin compatible with Hitachi HN48016 Al [ 7 18 P PGM • Interchangeable with Intel 2716 EPROM AD [ 8 17 P 07 DO [ 9 16:J 06 01 ~ 10 15205 DESCRIPTION 02[11 14p04 The ER5716 is an Electrically Erasable and Programmable Read Vss(GNO) CL'_2_ _ _ _'3--'p 03 Only Memory fabricated In N-Channel, Silicon Gate SNOS technology. Address decoding circuitry is provided on the chip and its operation is fully static, requiring no clocks. +5 volts only is required to perform a Read operation. An additional + 25 V supply is necessary in the Erase and Wnte modes. and Output Enable for the 2716 have been combined in the Chip This device is pin for pin compatible with the Hitachi HN48016 and Select (CS) function of the ER5716, pin 20. Pin 18 retains the IS also interchangeable with the 2716 family of ultraviolet erasable Program or Write function, but no longer serves as Chip Enable. EPROMs. Being electrically erasable and programmable, the ER5716 need DEVICE OPERATION never be removed from the system for reprogramming since it Vp (Pin 21) requires a d.c supply of +25V in the Erase and Write may be performed, in the circUit, under system or end-user modes, but remains at +5V for all other operations. Reading may control Also eliminated IS the danger of accidental erasure of occur With V pat either level, however continuous operation of the data by ultraviolet Irradiation. device With V p at 25V IS not recommended. Wntlng of data into the memory need not be sequential, it may be ER5716 VERSUS 2716 performed at any randomly selected byte location. However, All pinS of the two devices are functionally identical With the wntlng is possible only after an Erase operation which removes exception of pins 18 and 20 In order to make the ER5716 all previously programmed data from the entire memory: individ- electncally alterable, the independent functions of Chip Enable ual word erasures are not possible BLOCK DIAGRAM CS Vp PGM A6 I I I 2K x 8 X EEPROM DECODER MATRIX I I D7 I I SENSE I AD AMPLIFIERS I AND I OUTPUT I AID , BUFFERS y I , DECODER DO A7 3-32 ER5716 • ER57161R • ER5716HR MODES OF OPERATION PGM CS Vp OPERATING MODE a a +5 READ-Data presented at the output pinS a time, tA after an address change Don't care 1 +5 STANDBY-Chip deselected, data outputs In the high impedance state Pulsed a to 1 1 +25 SINGLE WORD WRITE-Data at the data inputs is written to the selected address location NOTE that correct writing can occur only if the chip has been previously erased a a +25 PROGRAM VERIFY-Same as Read mode Pulsed a to 1 a +25 ERASE-All 16,384 bits simultaneously erased to a logic '1' state. ELECTRICAL CHARACTERISTICS Maximum Ratings· All Inputs and outputs except Vp (with respect to Vss ) •••• -0 3V to +7V * Exceeding these ratings could cause permanent dam- Vp (with respect to Vss ) ••••••••••••••••.••••••••. -0.3V to +28V age to the device. This is a stress rating only and func- Storage temperature (with Data Retention) ............. -40° C to +85° C tional operation of this device at these conditions IS not Storage temperature (without Data Retention) •••••• -65°C to +150°C implied-operating ranges are specified in Standard Soldering temperature of leads (10 seconds) •••••••••••..•• +300°C Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability Standard Conditions (unless otherwise noted): Data labeled "typical" is presented for design gUidance Vss= GND only and is not guaranteed. Vee = +5 ± 5% volts Programming Voltage, Vp = +25V ± 1V Operating Temperature range (TA) = O°C to +70°C -40° C to +85° C -55° C to +125° C DC CHARACTERISTICS Characteristic Sym Min Typ Max Unit Conditions Input Logic "1" VIH 20 - Vee+O 3 V Input Logie "0" VIL -0.3 - 08 V Input Logic "1" (Vp only) V PH Vee-0.6 - Vee+0.6 V See Note 1 Output Logic "1" V OH 24 - Vee V IOH = 100llA Output Logic "0" VOL Vss - 04 V IOL = 1.6mA Input Leakage (except Data) IL - - 2 IlA VIN = 58V Input Leakage (Data pins) lLO - - 10 IlA VIN = 58V Output Leakage (Data Pins) 100 - - 10 IlA VOUT= Vee max Power Supply Current VpSupply: Read mode Ip - 4 7 mA Vp= 61V Write mode Ip - 5 10 mA Vp = 26V Erase mode Ip - 5 10 mA Vp = 26V Vee Supply. Read mode lee - 32 50 mA CS = VIH or VIL Write mode lee - 32 50 mA CS = VIH or VIL Erase mode lee - 32 50 mA CS = VIH or VIL Power Dissipation Read mode PRO - 200 318 mW Vee = 5.5V, Vp = 6 1V Write mode PWR - 306 535 mW Vec = 5.5V, Vp = 26V Erase mode PER - 306 535 mW Vcc= 55V, Vp = 26V NOTE: Characteristic data for ER57161R/HR not available for inclusion at this time. Data available from General Instrument Distributors upon request. 3-33 ERS716 • ERSn61R • ERS716HR AC CHARACTERISTICS Characteristic Sym Min Typ Max Unit Conditions Input Capacitance-control inputs C, - - 7.5 pF f = 1MHz Input Capacitance-data inputs Co - - 15 pF f= 1MHz Read Mode Characteristics Read Access Time tA - - 300 ns Chip Select to Data Out delay t01 - - 120 ns } Output load 1TTL Data hold time t02 - - 100 ns gate +C L = 100pF Address to Output float time t03 10 - - ns Write Mode Characteristics Chip deselect to start of Write t011 200 - - ns Address and Data setup time t012 2 - - /1S Data and CS hold time t 013 2 - - /1S Chip Select to Output delay t014 - - 120 ns See Note 2 Address hold time t015 2 - - /1S PGM pulse width tpw 800 - - /1S PGM pulse nse and fall times tr.t f 5 - - ns Written state (data 1/0) Vw - V,L. VOL - V Erase Mode Characteristics CS setup time t021 2 - - /1S PGM to Output delay t022 2 - - /1S PGM pulse width tpE 1 - - sec PGM pulse nse and fall times tr.t f 5 - - ns Erased state (data I/O) VE - VIH.VOH - V NOTES: 1 The wide tolerance of this parameter allows the use of a driver circuit for switching Vp between +5V for reading and +25V in the Erase and Wnte modes. Although all operations may be performed with +25V applied to the chip. continuous operation is not recommended under these conditions 2. A Read immediately following a Wnte IS not a required operation NOTE: Characteristic data for ER57161R/HR not available for inclusion at this time. Data available from General Instrument Distnbutors upon request TIMING DIAGRAM V,H - - - - - - _ . . AO-A10 V,L - - - - - - - V,H --------f-::!..... VOH--------------~~--~~ 00-07 High Z VOL------------------------~ Fig. 1 READ MODE TIMING 3-34 ER5716 • ER57161R • ER5716HR INsr~M\- TIMING DIAGRAMS "REAO~OESELECT~I~ :---------.~I~.~--REAO~ VIH AO-A10 Can Change VIl to" VUi CS VlL VH 00-07 o Out Valid Vl VIH PGM VIl Vp= + 25V Fig. 2 WRITE MODE TIMING VIH -READ-I. ERASE ..I~ READ . AO-A1D VIl Don't Care :: X Valid X VIH CS VIl \. H / F t o" V OH 00-07 VOL 'C VIH PGM VIl Vp= + 25V Fig. 3 ERASE MODE TIMING 3-35 ER5816 ER58161R PRELIMINARY INFORMATION ER5816HR Word Alterable 16K Bit Electrically Erasable and Programmable ROM FEATURES • 5V operation in read mode PIN CONFIGURATION • Electrically Word or Block Erasable 24 PIN DUAL IN LINE • 2048 word x 8 bit organization, fully decoded • Access time: 300ns maximum • 10ms Erase and Write times A7 (+5V) Vee AS AS • Minimum of 10 years' non-volatile data retention A5 AS • N-Channel, Sigate, SNOS technology A4 V" • Unlimited Read capability A3 OE • Conforms to JEDEC byte-wide pinout standards A2 A10 • Pin for pin compatible with Intel 2816 EEPROM A1 CE AO D7 • Similar pinout to 2716 EPROM DO D6 01 D5 DESCRIPTION D2 D4 The ER5816 is a high speed electrically word or block erasable Vss(GND) D3 and programmable memory fabricated in General Instrument's SNOS technology. Its microprocessor and microcomputer com- patible architecture makes it very easy to interface with most popular processors, as does its 300ns maximum access time. OPERATION Since the ER5816 is capable of being reprogrammed on a single- Reading is a ripple-through operation initiated by an address byte basis while resident in the operating system, if offers greatly change which results in valid data appearing at the output pins improved system flexibility over previous non-volatile alterna- after the normal access time, t A, provided that both CEand OEare tives such as ultraviolet EPROMs.ln the case of program storage, low. Bus contention problems are minimized by the two-line con- software updates may be performed swiftly and easily from a trol provided by CHIP ENABLE (CE) and OUTPUT ENABLE (OE) normal system input device such as a keyboard or by download- which also makes possible faster access than the normal access ing from a remote central processing unit via a data link. Where time to previously addressed data. storage of data is necessary, the EEPROM may be programmed The single-byte Erase and Write operations are the same except under user control from a simple input device as is the case in that all input data bits must be a logical 1 for a Byte Erase. A Chip radio and television tuners, or under the automatic control of the Erase is effected in the same way as a Byte Erase with the excep- host system, for example in recording system errors or failure tion that the OE input voltage (V OE) mustfall in the range of +8V to modes. The key features of the device, in each case, are non- +15V. All 16,384 bits are simultaneously erased to a logical high volatile retention of information, electrical, in-system repro- state by a Block Erase. It should be noted that correct writing into grammability and reprogrammability on a single-byte basis memory will only occur if the addressed location has been pre- which does not disturb data stored at adjacent locations. Further conditioned into the erased state by either a Byte or a Block system flexibility is afforded by the Block Erase function, which Erase. Preconditioning may occur at any time prior to writing. erases all memory bits to the high state in readiness for rapid The specification of 10 years non-volatile data retention after a dumping of data at power loss or when extensive software minimum of 10' reprogramming cycles is merely one point on the updates are called for. curve of retention versus reprogramming cycles and does not The ER5816 conforms to JEDEC byte-wide family standards. It is imply a sudden cut-off or end of life. As the number of Erase/Write functionally and pin for pin compatible with the Intel 2816 cycles per address Increases, a gradual, logarithmic reduction in EEPROM and also pin compatible with the 2716 EPROM. The data retention capability occurs with 1 year of retention being a ER5816, however, does not have special ramping requirements typical figure after 10 5 cycles. for the Vpp supply voltage. BLOCK DIAGRAM A10 I I I I I I I I A4 07 I A,3 I I I I I I AO DO 3-36 ER5816. ER58161R. ER5816HR INsr~~ PIN CONFIGURATION DEVICE 2716 ERS816 ~ CE OE V•• I/O CE OE V•• I/O MODE (18) (20) (21) (18) (20) (21) READ V'L V'L +5 DouT V'L V'L +4 to +6 DouT BYTE ERASE - - - - V'L V,H +21 V,H BYTE WRITE Pulsed V,H +25 D'N V'L V,H +21 D'N CHIP ERASE UCTRA~r" V'L +8 to +15 +21 V ,H STANDBY V,H Don't Care +5 High-Z V,H Don't Care +4 to +6 High-Z PROGRAM INHIBIT V'L V ,H +25 High-Z V,H Don'tlCare High-Z A7 Vee (+SVI A7 Vee (+SV) A6 AS A8 AS A9 A9 V., A' V., A3 DE DE A2 Al0 Al0 Al C- Al AD D7 AD D7 D6 D6 Dl DS Dl DS D2 0. D2 D' GND D3 Vss(GNO) D3 MODES OF OPERATION -CE - OE 00-07 V•• OPERATING MODE 0 0 +4tD+6 DOUT READ - Data stored at the addressed location appears at the output pins a time, tA after an address change. 0 1 +21 D,N = 1 BYTE ERASE - Only the selected word is erased to the '1' state. 0 1 +21 D'N BYTE WRITE - Data at the data inputs is written into the selected location. Note that correct writing may only occur if the location has been previously erased 0 +810+15 +21 D ,N = 1 BLOCK ERASE - The entire contents of memory IS erased to the '1' state. 1 Don't Care Hlgh-Z CHIP DESELECTED PIN FUNCTIONS NAME FUNCTION AO-Al0 ll-BII Word Address 00-07 Data input and output ports - high impedance in deselected mode. Vcc Power supply Input Normally +5 ± 10% volts. V•• Supply pin Normally at ground potenllal CE Chip enable Input OE Output enable input. V•• High Voltage power supply for erasing and writing In read mode, the +4 to +6 volt tolerance for the input voltage on thiS pin allows the use of voltage multiplier for generating the +21V programming voltage 3-37 ER5816 • ER58161R • ER5816HR ELECTRICAL CHARACTERISTICS Maximum Ratings * * Exceeding these ratings could cause permanent dam- All Inputs and outputs with respect to Ground except age to the device This IS a stress rating only and func- pins 20 and 21 •...•.•..•.•..•......•.•........••.•.•.. +6V to -0.3V tional operation of this device at these conditions is not Input voltage. pins 20 and 21 with respect to Ground ..•. +24V to -0.3V Implied-operating ranges are specified in Standard Storage Temperature (unpowered and without data Conditions. Exposure to absolute maximum rating con- retention) ....•.•.•..•..••..••.•.•...•..•...•..... -65·C to +150·C ditions for extended penods may affect device reliability. Soldenng Temperature of Leads (10 seconds) •...•.....•.....• +300·C Data labeled "typical" is presented for design guidance only and is not guaranteed. Standard Conditions (unless otherwise noted): Vss= GND Vee = +5 ±5% volts Operating Temperature Ranges (TA): O·C to +70·C -40· C to +85· C -55·C to +125·C DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Input Logic "1" (except pins 20 and 21) V,H 20 - Vee+0.3 V Input Logic "0" V'L -0.1 - +08 V Output Logic "1" VOH 2.4 - Vce V 10H= -400pA Output Logic "0" VOL Vss - 0.45 V 10L = 2.1mA Input Leakage Current I'L - - 10 pA V,N = 5.25V Power Supply Requirements Vpp Read Voltage Vpp 4 5 6 V See Note 1 Vpp Erase/Write Voltage Vpp 20 21 22 V Chip Erase Voltage VOE 8 - 15 V I~= 10pA Vec Supply: Chip Selected Icc - 40 90 mA Chip Deselected Icc - 15 25 mA Vpp Supply: Read Mode Ipp - - 5 mA Vpp = 6V Erase/Wnte/Block Erase Mode Ipp - - 15 mA Vpp = 21V. CE = V'L Program Inhibit Mode Ipp - - 5 mA Vpp = 21V. CE = V,H Power Dissipation. Chip Selected Po - 200 450 mW Chip Deselected Po - 75 125 mW NOTE: 1 Vpp minimum In Read mode not to exceed Vee -0.6. AC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Input capacitance C, - 4 6 pF V,N = OV Output capacitance Co - - 10 pF VOUT = OV Read Mode All AC Test conditIOns: Access time - Address to output delay tA - - 300 ns Output load: 1TTL gate + C L = 100pF CE to output delay teE - - 350 ns OE to output delay tOE 10 - 120 ns Input pulse levels' 0 5V to 2.2V Data hold time tOH - - 100 ns Byte EraselWrite Mode Address. CE and OE setup time tes 150 - - ns Data setup time tos 0 - - ns Address. data. CE and OE hold time tCH 50 - - ps Vpp Rise and Fall time t A• tF 001 - 100 ps Erase time tE 9 10 15 ms Write time tw 9 10 15 ms Block Erase Mode CE setup time tes 150 - - ns CE hold time tCH 50 - - ps ~ Rise and Fall time t A• tF 0.01 - ·100 ps OE to Vpp set up time tos 0 - - ns OE hold time tOH 0 - - ns Block erase time teE 9 10 15 ms 3-38 ER5816 • ER58161R • ER5816HR MEMORY CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Erase time - byte or block tE 9 10 15 ms Erased state VE - V'H' VOH - V Wnte time tw 9 10 15 ms Wntten state Vw - V'L' VOL - V Data retention time ts 10 - - y" (powered or un powered) Number of Erase/Wnte cycles per byte NEW 10 4 - - - See Note 1 Number of Read accesses between refresh NRA - - - - Unlimited NOTE Does not Imply end of useful life See "Operation" for further explanation. TIMING DIAGRAMS VIH AO-Al0 ADDRESS VALID VIL VIH CE VIL f+----tCE ---~ VIH BE VIL f+------tA-----~~ VOH 00-07 HIGH Z VALID VOL Fig. 1 READ MODE TIMING VIH _lI_ AO-AtO VIL '} II " X__ VIH CE VIL \ II / +21 ~tcs_ 1-4- tCH~ V pp / 1\ +5 VIH -- tR - " - tFI- OE K t,· VIL t _ w ~.,.I·..- tE VIH I! 00-07 VIL VA~ID K f--- ERASE---o.. WRITE------1 Fig. 2 BYTE ERASE AND WRITE TIMING 3-39 IINsr~~~~ I ER5816 • ER58161R • ER5816HR TIMING DIAGRAM VIH AO-A10 DON'T CARE VIL VIH CE Vpp VIL +21 - tcs_ f I: tR tE tF-;-1 \ - _ t CH +5· _ t 08 - - _ t OH- - V OE OE VIL / \ VlH 00-07 ~ON'T CARE VIL Fig. 3 BLOCK ERASE TIMING 3-40 ER5916 ER59161R PRELIMINARY INFORMATION ER5916HR Word Alterable 16K Bit Electrically Erasable and Programmable ROM FEATURES • No high voltages - +SV only operation in all modes PIN CONFIGURATION • Electrically Word or Block Erasable 24 PIN DUAL IN LINE • 2048 word x 8 bit organization, fully decoded • Access time: 300ns maximum • 20ms Erase and Write times A7 (+5V) Vee • Minimum of 10 years' non-volatile data retention A6 AS • N-Channel, Si-Gate SNOS technology A5 A9 • Unlimited Read capability A4 WE • Conforms to JEDEC byte-wide pinout standards A3 BE A2 A10 • Functionally equivalent to Intel 2816 EEPROM A1 BE • Similar pinout to 2716 EPROM AO 07 DO 06 DESCRIPTION 05 01 The ERS916 is a high speed electrically word or block erasable and 02 04 programmable memory fabricated in General Instrument's SNOS Vss(GNO) 03 technology. Its microprocessor and microcomputer compatible architecture makes it very easy to interface with most popular processors, as does its 300ns maximum access time. Making it even more attractive to the system design engineer is its +SV only operation in all modes; no high voltages are required for after the normal access time, TA has elapsed. OE, when held high, erasing and writing. The ERS916, therefore, offers increased flexi- disables the outputs and allows fast access to data when pulsed bility and opportunities for innovation in new designs since a large low. amount of data can now be stored in a non-volatile medium and Erasing and writing of one byte are essentially the same except selected portions of it altered with great ease during normal sys- that all input data bits must be held high for an erase operation. tem operation. A chip erase mode is also provided for applications such as pro- This device conforms to JEDEC byte-wide family standards and is gram storage in which software updates are made at infrequent functionally compatible with the ERS816 and the Intel 2816 intervals. In this mode, all locations are erased into the '1' state with EEPROM. Some differences of pin functions and control logic the same, 20ms pulse as required for a single byte erase. levels are necessary due to the ERS916's SV only operation. Refer There is a trade-off to be made between the data retention time to the comparison of these two devices included in this data sheet. and the number of Erase/Write cycles performed per location. A Bus contention problems are minimized by the two-line control gradual, logarithmic reduction in retention time is experienced as provided by CHIP ENABLE (CE) and OUTPUT ENABLE (OE). the number of Erase/Write cycles increases. The specified limit is Programming operations are controlled by one TTL level input, merely one point on this curve and does not imply a sudden cut-off WRITE ENABLE (WE). or end of life. After 10' cycles a typical retention time is 1 year. OPERATION Reading is a ripple-through operation initiated by an address change. If both CE and OE are low, data appears at the outputs BLOCK DIAGRAM CE WE OE A10 I I I I I I I I A4 D7 I Ap I I I I I I AD DO 3-41 ER5916 • ER59161R • ER5916HR PIN CONFIGURATION DEVICE 2716 ER5816 ER5916 ~ CE OE V•• 1/0 CE OE V •• 1/0 CE OE WE 1/0 MODE (18) (20) (21) (18) (20) (21) (18) (20) (21) READ VIL VIL +5 DouT VIL VIL +4 to +6 DOUT VIL VIL VIL DouT BYTE ERASE - - - - VIL VIH +21 VIH VIL VIH VIH VIH BYTE WRITE Pulsed VIH +25 DIN VIL VIH +21 DIN VIL VIH VIH DIN CHIP ERASE ULTRAVfLET VIL +8 to +15 +21 VIH VIL VIL VIH Don't Care STANDBY VIH Don't Care +5 High-Z VIH Don't Care +4 to +6 Hlgh-Z VIH Don't Care High-Z PROGRAM INHIBIT VIL VIH +25 Hlgh-Z VIK Don't Care Hlgh-Z VIH Don't Care High-Z A7 vee (+5V) A7 Vcc (+5Vl A7 Vee (+5V) A6 AS A6 AS A6 AS AS A9 AS A9 AS A9 A4 Vee A4 Vee A4 WE A3 DE A3 OE A3 5E A2 A10 A2 A10 A2 A10 A1 IT A1 IT A1 IT AD D7 AD D7 AD D7 DO D6 DO D6 DO D6 D1 D5 D1 D5 D1 D5 D2 D4 D2 D4 D2 D4 GND D3 GND D3 Vss(GNO) D3 MODES OF OPERATION CE OE WE 00-07 OPERATING MODE 0 0 0 DOUT READ - Data stored at the addressed location appears at the output pins a time, t A after an address change. 0 1 1 DIN = 1 BYTE ERASE - Only the selected word is erased to the '1' state 0 1 1 DIN BYTE WRITE - Data at the data Inputs IS written into the selected location. Note that correct writing may only occur If the location has been previously erased. 0 0 1 Don't Care BLOCK ERASE - The entire contents of memory is erased to the '1' state 1 Don't Care High-Z CHIP DESELECTED PIN FUNCTIONS NAME FUNCTION AO-A10 11-8it Word Address 00-07 Data input and output ports - high impedance in deselected mode Vee Power supply input. Normally +5 ± 10% volts. V•• Supply pin. Normally at ground potential. CE Chip enable Input. OE Output enable input WE Write enable input 3-42 ER5916 • ER59161R • ER5916HR ELECTRICAL CHARACTERISTICS Maximum Ratings· All inputs and outputs with respect to Ground except 'Exceeding these ratings could cause permanent dam- pinS 20 and 21 ........................................ +6V to -0 3V age. Functional operation of this device at these condi- Input voltage, pins 20 and 21 with respect to Ground ..... +24V to -0.3V tions, or any other conditions outside those indicated in Storage Temperature (unpowered and without data the operational sections of this specification, is not retenllOn) ....................................... -65°C to +150° C Implied. Soldering Temperature of Leads (10 seconds) ... '" ............ +300° C Data labeled "typical" is presented for design guidance only and IS not guaranteed. Standard Conditions (unless otherwise noted): Vss= GND Vcc = +5 ±5% volts Operating Temperature Ranges (TA): 0° C to +70° C -40° C to +85° C -55°C to +125°C DC CHARACTERISTICS Characteristic Sym Min Typ Max Units Conditions Input Logic "1" (except pins 20 and 21) VIH 2.0 - Vcc+0.3 V Input Logic "1" (pins 20 and 21) VIC 2.0 - +22 V Input Logic "0" VIL -0.1 - +0.8 V Output Logic "1" VOH 2.4 - Vcc V I oH = -400pA Output Logic "0" VOL Vss - 0.4 V IOL = 2.1mA Input Leakage Current IlL - - 10 pA VIN = 5.25V Power Supply Requirements Vcc Supply: Chip Selected Icc - 40 90 mA Chip Deselected Icc - 15 25 mA Power Dissipation: Chip Selected PD - 200 450 mW Chip Deselected PD - 75 125 mW NOTE 1: (T,J = -40 to +85°C Vcc = +5 ±5%, unless otherwise specified. AC CHARACTERISTICS Characteristic Sym Min Typ Max Units Conditions Input capacitance CI - 4 6 pF VIN=OV Output capacitance Co - - 10 pF VOUT= OV Read Mode All AC Test conditions: Access time - Address to output delay tA - - 300 ns Output load: HTL gate + C L = 100pF CE to output delay tCE - - 350 ns OE to output delay tOE 10 - 120 ns Input pulse levels: 0.5V to 2.2V Data hold time tOH - - 100 ns Byte Erase/Write Mode Address, CE and OE setup time tcs 200 - - ns Data setup time tos 100 - - ns Address, data, CE and OE hold time tCH 2 - - pS Erase time tE 20 25 30 ms Write time tw 20 25 30 ms Block Erase Mode CE setup time tcs 200 - - ns CE hold time tCH 2 - - /Js Block erase tl me tBE 20 25 30 ms MEMORY CHARACTERISTICS Characteristic Sym Min Typ Max Units Conditions Erase time - byte or block tE 20 25 30 ms Erased state VE - VIH, VOH - - Write time tw 20 25 30 ms Written state Vw - VIL' VOL - - Data retention time ts 10 - - y" (powered or un powered) Number of Erase/Write cycles per byte NEW 104 - - - See Note 1 Number of Read accesses between refresh NAA - - - - Unlimited NOTE. 1 Does not imply end of useful life. See "Operation" for further explanation. 3-43 ER5916 • ER59161R • ER5916HR .1 TIMING DIAGRAMS VIH AO-A10 ADDRESS VALID VIL VIH CE VIL ~--- tCE ----1-1 VIH OE VIL VOH 00-07 VALID VOL WE = VIL Fig. 1 READ MODE TIMING VIH AO-A10 VIL VIH CE VIL VIH WE VIL VIH OE VIL {,. ~ IE tw VIH II 00-07 VIL f----ERASE .. I .. Fig. 2 BYTE ERASE AND WRITE TIMING 3-44 ER5916 • ER59161R • ER5916HR TIMING DIAGRAM VIH AO-A10 DON'T CARE V IL VIH CE WE V IL V IH L,o,__V" tE .\["j VIL VIH OE VIL VIH 00-07 DON'T CARE V IL Fig. 3 BLOCK ERASE TIMING 3-45 3-46 GENERAL INSfRUM ENf Non-Volatile Static RAM ,,'';:,:~ON, ,',~ ><':~"::/;~:"'<':"",:':", ,,:':::~~IPTi9H':'~' ~:;",:"<::'",\;'»' :&< ',J:R' - ' , : : , . ,I "~:~~:~~~y;,, ':,: ;', :::<~:;/'/"J: :, ' ',:,:;:<,::,:'>:'.'/ ;,~':;<>~(' *+.:!': ,':,':~, " 3-47 ER5304 PRELIMINARY INFORMATION 4K N-CHANNEL NON-VOLATILE STATIC RAM FEATURES PIN CONFIGURATION • 512 x B bit organization, fully decoded 24 PIN DUAL IN LINE RAM overlaid bit for bit with non-volatile EEPROM • Single +5V power supply • 300ns RAM cycle time TOp View • TTL compatible • Data can be recalled an unlimited number of times As ·1 Vcc (+5V) • 104 store cycles with 10 year data retention As A7 • Power failure protection A4 As DESCRIPTION A3 Do The ER53041sa high speed non-volatile SI-Gate RAM. The device A2 0, contains 4K bits of memory organized as a conventional4K static A, O2 RAM overlaid bit-for-bit with a non-volatile 4K Electrically Eras- Ao 03 able ROM (EEPROM). The device can be used as a conventional N.C. 17 04 static RAM while the non-volatile data stored in the EEPROM remains unaffected. Non-volatile data can be transferred back S'fORE 16 Os and forth between the RAM and the EEPROM by simple STORE WE 10 15 De and ARRAY RECALL signals. During the lifetime of the device, ARRAY RECALL 11 14 07 data can be recalled from the EEPROM an unlimited number of Vss(GND) 12 13 CS times. A single 5V supply is the only power source ever required for any function. High voltage pulses or supplies are never required. All inputs and outputs are TTL compatible with Trl-state outputs. The device cycle time for both read and write is 300ns. The device is capable of protecting against data loss due to a power failure. One simple TTL signal saves the entire RAM con- tents. A non-volatile copy of all RAM data is internally stored In the EEPROM and can be recalled to the RAM when power returns. No battery backup is required. BLOCK DIAGRAM 512 x 8 EEPROM AO I I I I ~4 CS WE RECALL STORE 3-48 ER5304 ELECTRICAL CHARACTERISTICS Maximum Ratings* All Inputs and Outputs with Respect to Ground ••••••••• -0.3 to +7V * Exceeding these ratings could cause permanent dam- Storage Temperature (without Data Retention) •••••• -65° C to +150° C age to the device. This is a stress rating only and func- Storage Temperature (with Data Retention) ••••••••• -40° C to +85° C tional operation of this device at these conditions is not Soldering Temperature of Leads (10 seconds) • • • • • • • • • • • • •• +300° C implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. Vss= GND Data labeled "typical" is presented for design guidance Vcc =5±5%Volts only and is not guaranteed. Operating Temperature TA = -40°C to +85°C DC CHARACTERISTICS Characteristics Sym Min Max Units Conditions Power Supply Current Icc - 60 mA All Inputs = 5.25V DOUT Open TA = 0° C Output Leakage Current ILO -1.0 +1.0 pA VOUT=GNDtoVcc Input Low Voltage V,L -.3 .8 V Input High Voltage V,H 2.0 Vcc V Output Low Voltage VOL - .4 V 10L =2.0mA Output High Voltage VOH 2.4 - V IOH = 1mA PIN FUNCTIONS NAME FUNCTION ARRAY CS WE STORE RECALL DATA I/O AO-AS Address Li nes (13) (10) (9) (11) (14-21) 00-07 Data I/O CS Chip Select Deselected WE Write Enable (See Notes 1 & 2) 1 Don't Care High Z ARRAY RECALL Transfers Data stored in EEPROM RAM Write 0 0 1 Data In back to RAM RAM Read 0 Data Out Transfers Data from RAM into EEPROM Store Non-Volatile EEPROM (See Note 2) 0 0 1 High Z Vcc +5 Volts EEPROM Recall 0 0 High Z GND Ground NOTES: 1. Chip is deselected but may be automatically completing a store cycle. 2. CS and STORE must be low only to initiate a store cycle, after which the cycle will continue to completion automatically (CS, STORE = X). 3-49 INsfBlM\- ER5304 READ CYCLE I 1 t RC =x ________________ I- .1 V ,H AO-AB ~ STABLE ~kr-------------- V'L :---- tOH--: V ,H 1 :}, : CS V'L 1 "- 1 ~ :"--t co - ___________ ~_-J I 1 I I I.--tA-: I--tHZ-l VOH 00-07 VOL HIGHZ )( DATA OUT VALID xr-H-I-G-H-Z-- 1 I Characteristics Sym Min Typ Max Units Conditions Read Cycle Time t RC 300 ns Access Time tA 300 ns Chip Select to Output Valid tco 200 ns Output Hold from Address Change tOH 50 ns Chip Deselect to Output in High Z tHZ 10 100 ns WRITE CYCLE ~I_.------------twc------------~.~: V,H ~~--------S-T-A-BL-E--------~)(r------------------- AO-AB V'L 1 I CS V ,H ----ri 1 ~'\ :- tcw .1 ),Ir----'i-------------------------- V'L I I I I 1 : - - - t A W _ , _ t w p ____l__ tWR"~ V,H WE ~ t~~I-------------------- V'L I I I _tDW~tDH_' 00-07 V ,H V'L ----------- ){ DATA VALID X I ~------------ Parameter Sym Min Typ Max Units Conditions Write Cycle Time twc 300 - - ns qllP Select to End of Write tcw 150 - - ns Address to Write Set-up Time tAW 50 - - ns Write Pulse Width twp 100 - - ns Write Recovery Time tWR 25 - - ns Data Valid to End of Write tow 100 - - ns Data Hold Time T OH 20 - - ns In read and Write modes the deVice operates as a conventional the duration of the Read or Write cycle Data outputs are In the static RAM The deVice IS selected with a logiC "0" level applied to high Impedance state whenever the DeVice IS deselected or dur- the CS pin A logiC "1" Input on WE selects the Read mode, a logiC Ing a store or Array Recall Cycle "0" selects the Write mode Address lines must remain stable for 3-50 ER5304 A Store Cycle is initiated by applying two logic "0" level pulses to be enabled upon completion of the Store Operation if the STORE the STORE pin of a selected device This causes all 4096 bits of input is high. Data stored in the EEPROM remains valid with or data in the EEPROM to be modified to an exact copy of the current without power supplied to the ER5304. RAM data. The original data in the RAM remains valid. The WE To prevent an unintentional Store Cycle during power-up or and ARRAY RECALL inputs are inhibited during the store opera- power-down either the STORE or CS input should be kept high by tion and the data outputs are Tn-stated. The inhibited inputs will tying the input to Vcc through a pull up resistor. STORE CYCLE ~:4-----------------------tSTC----------------------~.~; I- t SPD • : I ---- ~tSTP~ II ur----ll.t-----rl---- I LJl---tSRS~: I I I I : .. j I tcss I ~ tcss : : I4--tCST~ ~I J. I u-------'I! - tCST --" ~: /:r------ft-II --01---- I Characteristics Sym Min Typ Max Units Conditions Store Cycle Time (t SPD = 5ms) Store Pulse Width tSTC t STP - 100 -- 10 - ms ns Chip Select to End of Store tCST 125 - - ns Chip Select to Store Set-up Time tcss 25 - - ns Store Second Pulse Delay Time t SPD 5 - - ms Store Reset Time t SRS 300 - - ns ARRAY RECALL CYCLE I 1'- t Ace It,I I I I x= V IH I AO-AS V IL i CAN CHANGE ~ I ADDRESS VALID 0 I- t CRC .. I I j I I I CS V IH VOL ~ j- t RCP .. I A V IH j I VOL ~ / ARRAY RECALL I I ~I I tHZ I ~I I VOH 00-07 VOL HIGHZ X DATA VALID ~ Characteristics Sym Min Typ Max Units Conditions Array Recall Cycle Time t RCC 1500 1000 - ns Chip Select to End of Recall t CRC 750 - - ns Recall Pulse Width t RCP 750 - - ns Chip Deselect to Output In High Z tHZ 10 - 100 ns Recalled Data Access Time from End of Recall t ARC - - 600 ns The Array Recall Cycle reads the non-volatile data stored in the remains unaltered. Once the EEPROM data IS back in the RAM it EEPROM and copies It back into the RAM. A logic "a" on the can be accessed by normal RAM Read or Write cycles. ARRAY RECALL input of a selected device wiliinotlate a cycle that Data that has been stored properly in the non-volatile EEPROM of in a single operation will overwrite all 4096 bits of data In the RAM the ER5304 may be recalled an unlimited number of times during with the data from the EEPROM The data In the EEPROM the lifetime of the device. 3-51 r---------------------------NOTES--------------------------~ 3-52 Microcomputer 4 PIC Series 4- 3 PIC Development Series 4- 95 PICAL 4-131 PICES II 4-134 PIC Field Demo Systems 4-137 PIC Series Options 4-139 PIC Series Order Form 4-140 , " , " PIC Series PIC Development Series &'$T" '" " ' ---- -, ":: "it.-' - : ,C'....... 'DEVa'OPMeIT PI(imiorOcomputer'wIIIIQ(It'f.IOMIIII!IWItn'lI!idhion~Ot.tI#TpIn,," ''';:: 'PIcNcea," '4-'1Cr- MIC~PUTI!I'\ .- ...... " , ' +111 PICALIPICES II , . .' PI_It " ~1M ' " ' ~" " PIC Field Demo Systems 4-1 4-2 GENERAL INSfRUMENT PIC Series 'c PART PAGE ~CTJON c, oEseRlPTION NUMBER NUMBER PIC165GA 4-4 PlC16S0XT 4.16 Cc " PlC1664 4-28 c$csri: cTh&l'IC166If_~ ~ ~ul$rs IIOI1tiIlItRAMIIO and a central procHlllt\g PlC16ssA 4·38 IJIIitllS well as a cu.tomer defln«1cllOM 10 specify overaJllUm:tlol'lllfcharaclerlSlics MICIlOOOMPUTSl cit too dfyjC(L , , ' PIC16&5XT 4-50 PIC18C55 4-62 PlC1SS6 4·72 PI01670 4-8S 4-3 PIC1650A 8 Bit Microcomputer FEATURES • User programmable instruction repertoire emphasizing Single bit manipulation as well • Intelligent controller for stand-alone applications as logical and arithmetic operations using bytes. • 32 a-bit RAM registers The PIC1650A is fabricated With N-Channellon Implant technol- • 512 x 12-bit program ROM ogy resulting In a high performance product With proven reliabil- • Arithmetic Logic Unit ity and production history. Only a single wide range power supply • Real Time Clock/Counter is required for operation, and an on-chip oscillator provides the • Sell-contamed oscillator operating clock with only an external RC network (or buffered • Access to RAM registers inherent m instruction crystal oscillator signal, for greater accuracy) to establish the • Wide power supply operatmg range (4.5V to 7.0V) frequency Inputs and outputs are TTL-compatible • Available in two temperature ranges: 0° to 70°C and -40° to ExtenSive hardware and software support is available to aid the 85°C user in developing an application program and to verify perfor- • 4 sets of a user defined TTL-compatible InpuVOutput lines mance before committing to mask tooling. Programs can be • 2 level stack for subroutine nesting assembled Into machine language uSing PI CAL, eliminating the burden of coding With ones and zeros. PICAL is available in a Fortran IV verSion that can be run on many popular computer DESCRIPTION systems. Once the application program is developed several The PIC1650A microcomputer is an MaS/LSI device containing options are available to insure proper performance. The PIC's RAM, I/O, and a central processing unit as well as customer- operation can be verified in any hardware application by using defined ROM on a single chip ThiS combination produces a low the PIC1664. The PIC1664 is a ROM-less PIC microcomputer cost solution for applications which require sensing individual With additional pins to connect external PROM or RAM and to inputs and controlling individual outputs. Keyboard scanning, dis- accept HALT commands The PFD1000 Field Demo System IS play driving, and other system control functions can be done at the available containing a PIC1664 with sockets for erasable CMOS same time due to the power of the a-bit CPU PROMs. Finally, the PICES II (PIC In-Circuit Emulation System) The Internal ROM contains a customer-defined program using provides the user with emulation and debugging capability in the PIC's powerful instruction set to speCify the overall functional either a stand-alone mode or operation as a peripheral to a larger characteristics of the device The a-bit input/output registers computer system. Easy program debugging and changing is provide latched lines for interfaCing to a limitless variety of appli- facilitated because the user's program is stored in RAM. With cations. The PIC can be used to scan keyboards, drive displays, these development tools, the user can quickly and confidently control electronic games and prOVide enhanced capabilities to order the masking of the PIC's ROM and bring hiS application into vending machines, traffiC lights, radios, television, consumer the market. appliances, industrial timing and control applications. The 12-bit A PIC Series Microcomputer Data Manual is available which gives instruction word format provides a powerful yet easy to use additional detailed data on PIC based system design. PIC1650A BLOCK DIAGRAM GENERAL REGISTER FILES (Fl1-F37) INSTRuctiON OECODE & CONTROL 12 4-4 PIC1650A ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC series microcomputer IS and the I/O Registers The general purpose registers are used for based on a register file concept with simple yet powerful com- data and control information under command of the mstructlons mands designed to emphasize bit, byte, and register transfer The ArithmetiC logic Unit contains one temporary working regis- operations. The mstruction set also supports computmg functions ter or accumulator (W Register) and gatmg to perform Boolean as well as these control and interface functions functions between data held in the workmg register and any Itle Internally, the PIC is composed of three functional elements con- register nected together by a single bidirectional bus' the Register File The Program ROM contains the operational program for the rest composed of 32 addressable a-bit registers, an ArithmetiC logic of the logic withm the controller Sequencing of microinstructions Unit, and a user-defined Program ROM composed of 512 words IS controlled via the Program Counter (PC) which automatically each 12 bits in width The Register File IS divided into two func- mcrements to execute m-line programs. Program control opera- tional groups operational registers and general registers. The tions can be performed by Bit Test and Skip mstructlons, Jump operational registers include, among others, the Real Time Clock instructions, Call Instructions, or by loading computed addresses Counter Register, the Program Counter (PC), the Status Register, Into the PC In addition, an on-chip two-level stack IS employed to provide easy to use subroutine nesting Activating the MClR input on power up Initializes the ROM program to address 777, PIN FUNCTIONS Signal Function OSC (input) Oscillator input This signal can be driven by an external OSCillator if a precise frequency of operation is reqUired or an external RC network can be used to selthe frequency of operation of the mternal clock generator. This is a Schmitt trigger input. RTCC (input) Real Time Clock Counter Used by the microprogram to keep track of elapsed time between events The RTCC register increments on falling edges applied to thiS pin. ThiS register can be loaded and read by the program This IS a Schmitt trigger mput. RAO-7. RBO-7. RCO-7. RDO-7 User programmable mput/output lines These lines can be Inputs and/or outputs and are under (input/output) direct control of the program. MClR (Input) Master Clear Used to initialize the Internal ROM program to address 777. and latch all I/O register high Should be held low at least 1-1Oms past the time when the power supply IS valid for the OSCillator to start up This IS a Schmitt trigger input. ClK OUT (output) A signal denved from the internal oscillator. Used by external deVices to synchrOnize them- selves to PIC timing. TEST Used for testing purposes only. Must be grounded for normal operation VDD Pnmary power supply V•• Output Buffer power. Used to enhance output current sinking capability. Vss Ground PIN CONFIGURATION 40 lEAD DUAL IN LINE VOD RD7~ RDS_ RD5 RDO~ RC7~ RC8 RC5+---J> RC4_ Rca_ RC2_ 4-5 PIC1650A REGISTER FILE ARRANGEMENT File Function (Octal) FO Not a physically implemented register. FO calls lor the contents 01 the File Select Register (low order 5 bits) to be used to select a lile register. FO is thus uselul as an indirect address pointer. For example, W+FO-W will add the contents 01 the lile register pointed to by the FSR (F4) to Wand place the result in W. F1 Real Time Clock Counter Register. This register can be loaded and read by the microprogram. The RTCC register keeps counting up alter zero is reached. The counter increments on the lalling edge 01 the input RTCC. However, il data are being stored in the RTCC register simultaneously with a negative transition on the RTCC pin, the RTCC register will contain the new stored value and the external transition will be ignored by the microcomputer. F2 Program Counter (PC). The PC is automatically incremented during each instruction cycle, and can be written into under program control (MOVWF F2). The PC is nine bits wide, but only its low order 8 bits can be read under program control. F3 Status Word Register. F3 can be altered under program control only via bit set, bit clear, or MOVWF F3 Instruction. (7) (6) (5) (4) (3) (2) (1 ) (0) 1 1 1 1 z DC C C (Carry): For ADD and SUB instructions, this bit is set if there is a carry out Irom the most significant bit of the resultant. For ROTATE instructions, this bit is loaded with either the high or low order bit 01 the source. DC (Digit Carry): For ADD and SUB instructions, this bit is setilthere is a carry outlrom the 4th low order bit olthe resultant. Z (Zero): Set il the result 01 an arithmetic operation is zero. Bits: 3-7 These bits are defined as logic ones. F4 File Select Register (FSR). Low order 5 bits only are used. The FSR is used in generating effective file register addresses under program control. When accessed as a directly addressed file, the upper 3 bits are read as ones. F5 I/O Register A (AO-A7) F6 I/O Register B (BO-B7) F7 I/O Register C (CO-C7) F10 I/O Register D (DO-D7) F11-F37 General Purpose Registers 4-6 PIC1650A Basic Instruction Set Summary PIC W register, If "d" is one, the result is returned to the file Each PIC instruction is a 12-bit word divided into an OP code register specilied in the instruction, which specifies the instruction type and one or more operands For bit-oriented instructions, "b" represents a bit field designator which further specify the operation of the instruction, The follow- which selects the number 01 the bit aflected by the operation, ing PIC instruction summary lists byte-oriented, bit-oriented, and while "I" represents the number of the Ii Ie in which the bit is literal and control operations, located, For byte-oriented instructions, "f" represents a file register For literal and control operations, "k" represents an eight or nine designator and "d" represents a destination designator, The file bit constant or literal value, register designator specifies which one of the 32 PIC file registers For an oscillator Irequency 01 1MHz the instruction execution is to be utilized by the instruction, The destination designator time is 41lsec, unless a conditional test is true or the program specifies where the result of the operation performed by the counter is changed as a result of an instruction, In these two instruction is to be placed, If "d" is zero, the result is placed in the cases, the instruction execution time is 8llsec, BYTE-ORIENTED FILE REGISTER (11-6) (4-0) OPERATIONS OP CODE f (FILE #) For d = 0, I-W (PI CAL accepts d = 0 or d = W in the mnemonic) d = 1, I-I (II d is omitted, assembler assigns d = 1,) Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Attected 000 000 000 000 (0000) No Operation NOP None 000 000 1I I I I I (0040) Move W to I (Note 1) MOVWF W-I None 000 001 000 000 (0100) Clear W CLRW O-W Z 000 001 1I I I I I (0140) Clear I CLRF f 0-1 Z 000 010 dI I I I I (0200) Subtract W from I SUBWF f, d 1- W-d [1+W+1-dj C,DC,Z 000 011 dI I I I I (0300) Decrement f DECF I, d 1- 1-d Z 000 100 dI I I I I (0400) Inclusive OR Wand I IORWF f, d WVI-d Z 000 101 dI I I I I (0500) AND Wand I ANDWF I, d W.f-d Z 000 110 dI I I I I (0600) Exclusive OR Wand f XORWF f, d W + l: (Voo - VOH) (IIoHI) + l: (Voel (Ioel· Negative current indicates current out 01 pin. The term 1/0 relers to all interlace pins; input, output or 1/0. S. Total IOL lor all output pins (ItO ports plus 2. Vxx supply drives only the ItO ports. CLK OUT) must not exceed 225mA. 3. The maximum Ixx current will be drawn when all ItO ports are outputting a High. Standard Conditions (unless otherwise stated): AC CHARACTERISTICS/PIC1650A, PIC1650AI Operating Temperature TA = O·C to +70·C (PIC16S0A), TA = -40·C to +85·C (PIC1650AI) Characteristic Sym Min Typt Max Units Conditions Instruction Cycle Time tCY 4 - 20 I's 0.2MHz - 1.0MHz external time base (Note 1) RTCC Input Period tAT t cy+0.2I'S - - - High Pulse Width tATH 'htAT - - - Low Pulse Width tATL 'htAT - - - (Notes 2 and 3) 1/0 Ports Data Input Setup Time ts - - V. tcy-125 ns Data Input Hold Time th 0 - - ns Data Output Propagation Delay tpd - 600 1000 ns Capacitive load = 50pF OSC Input External Input Impedance High ROSCH 120 800 3S00 n Vosc = 5V } Applies to external External Input Impedance Low ROSCL - 106 - n Vosc =O.4V OSC drive only. tTypical data is at TA = 25·C, Voo= 5.0V. NOTES: 1. Instruction cycle period (tCY) equals four times the input oscillator time base period. 2 Due to the synchronous timing nature between CLK OUT and the sampling circuit used on the RTCC input, CLK OUT may be directly tied to the RTCC input. __ 3. The maximum Irequency which may be input to the RTCC pin is calculated as follows: I(max) = t -1- = t +0 21's . 1 ~~ m~ . For example: II tCY = 41'S, I (max) = 4.2jiS = 238KHz. 4-11 IINsrU~ I PIC1650A 1/0 TIMING ClK OUT 1-1- - - - - , 1\ i\ i\ \ I \ I GATE \ I \\..-----4 'NC"M'"'~I I~PC mcu," IANSW,"pRITE TO--.,I ADDRESS ROM INSTRUCTIONl 1/0 FOR NEXT INTERNAL INSTRUCTION B~S Tpd I--- I OUTPUT I )4 . 1 1 __V_A_l_ID .... • NOTE: _ _ Rise and fall times are load dependent I I I -Tsi-- Th :- ---------.:.,IXL.STABlEt-L INPUT I I I I ClK OUT TIMING I,. '!.lev ~I I I I "'_nl-----¥·Iev-----I~I CLKOUT~ ~ I I ____________ J! L I""~----'-----Iev -------~-.jl RTCCTIMING I ... tATH ~I~ tRll ~I I I I RTCC----...J I ' '1 I I~ '\ lA' J \ I ~I SCHMITT TRIGGER CHARACTERISTICS (RTCC, MClR and OSC PINS) T A =25°C (TYPICAL) 4.0 NOTE 1 -- ~ VTHAESHOlD. VOLTS 3.0 2.0 - - :..- ~ r- NOTE 2 NOTES: 1. low-Io-High Threshold Vollage (VTLH). 2. High-Io-low Threshold Vollage (VTHd. 1.0 4.5 5.0 5.5 6.0 6.5 70 VDD, VOLTS 4·12 PIC1650A IIN~I PIC1650A OSCILLATOR OPTIONS (TYPICAL CIRCUITS) RC OPTION OPERATION Vee ~ R(ext) .b C(ext) TO PIC1650A PIN #36 I 30Kn 26Kn \ \ \ \ \ \ 22Kn r\ \. 1\ Vee = 5.0V C=47pF REXT \ r\ ... TA=25'C 18Kn [\ \ \ " ~"' 14Kn '" TYPICAL/ 40 60 80 100 120 140 160 180 200 220 240 260 INSTRUCTION CYCLE TIME (kHz) Oscillator Frequency With Typical Unit To Unit Variance Unit to Unit Variation at Vee = 5.0V, TA = 2S'C is ±2S% Variation from Vee = 4.SV -7.0V referenced to SV is -3%, +9% Variation from TA = O' C -70' C referenced to 25' C is +3%, -5% BUFFERED CRYSTAL INPUT OPERATION XTAL o R y)-.....,~TO OSC PIN #36 30% .. DUTY CYCLE .. 70% The buffer must be capable of driving 120n, min. (800n, typ.) to 2.0V. However, it is recommended that the pull-down transistor on the OSC pin be removed (an option) if OSC is to be driven externally. EXTERNAL CLOCK INPUT OPERATION CLOCK FROM ~ TO OSC PIN #36 EXT. SYSTEM ~ 4-13 PIC1650A MASTER CLEAR (TYPICAL CIRCUIT) ·r C ~ '<''''' O.lpF TO PIC1650A MCLR PIN #37 I Master Clear requires >1 Oms delay before activation after power is applied to the Voo pin, for the oscillator to start up. To achieve this, an external RC configuration as shown can be used (assum- ing Voo is applied as a step function). OUTPUT SINK CURRENT GRAPH Vxx = 10 40 ./ / ".. ...... Vxx = 9 ~/ .", 1",....000 ...- Vxx = 8 ...... - - 30 10L ~ V t::.- ~ Vxx = 7 (rnA) 20 ~~V ~ ~~ ~ ~ i-""'" ...- - ~ ~ Vxx = 6 10 ~ ~ ~~ ~ ~~ r-- ~ I,..- - --- -I""'" Vxx = 5 ~ 10 20 30 VOL (VOLTS) IOL VS. VOL TYP @ 25°C The Output Sink Current is dependent on the Vxxsupply and the output load. This chart shows the typical curves used to express the output drive capability. VOH VS IOH (I/O PORTS) (TYPICAL) POWER SUPPLY CURRENT VS TEMPERATURE (TYPICAL LIMITS) 50 VOC=VXlC=4 25V voo17OV 40 ....... -- I't 4 ArC 30 v.. 100 05~AlOC (VOLTS) 21--+---+-'\-\--'t-""7"""t---"'''''''i (rnA: 20 ~ =-- 10 1000 40 40 80 120 TEMPERATURE (Gel 4-14 PIC1850A INs8~ POWER DISSIPATION DERATING GRAPH 1000 , 900 800 700 '"l'\ .. 600 ~ Maximum Device " Dissipation (mW.) 500 400 NOTE 1 NOTE 2 300 200 100 00 m ~ ~ ~ ~ M ro M TA Ambient Temperature (0 C) NOTES: 1. 70·C is the maximum operating temperature for standard parts. 2. 85· C is the maximum operating temperature for "I" suffix parts. PIC1850A EMULATION CAUTIONS When emulating a PIC1650A using a PICES II development sys- C. Make sure all I/O cautions contained in this spec sheet are tem certain precautions should be taken. used. A. Be sure that the PICES II Module being used Is programmed D. Be sure to use the 40 pin socket for the module plug. forthe PIC1650A mode. (Refer to PICESIIManual). The PICI664B E. Make sure that during an actual application the MCLR input contai ned withi n the module should have the MODE pin #22 setto swings from a low to high level a minimum of lmsec atter the a high state. supply voltage is applied to allow the oscillator to start up. 1. This causes the MCLR to force all 1/0 registers high. F. If an external oscillator drive is used, be sure that it can drive the 2. The OSCI pin #59 becomes a single clock Input pin. 1200 input impedance of the OSC pin on the PICI664. 3. The interrupt system becomes disabled and the RTCC G. The cable length and Internal variations may cause some always counts on the trailing edges. parameter values to differ between the PICES II module and a 4. Bits 3 through 7 on file register F3 are all ones. production PICI650A. B. Make sure to only use two levels of stack within the program. 4-15 PIC1650XT 8 Bit Microcomputer FEATURES • User programmable instruction repertoire emphasizing Single bit manipulation as well • Intelligent controller for stand-alone applications as logical and anthmetlc operations uSing bytes. • 32 8-blt RAM registers The PIC1650XT is fabricated with N-Channellon Implant technol- • 512 x 12-bIt program ROM ogy resulting in a high performance product with proven reliability • Anthmetlc Logic Unit and production history. Only a Single wide range power supply IS • Real Time Clock/Counter required for operation, and an on-chip oscillator provides the • Self-contained crystal oscillator operating clock with an external crystal, ceramic resonator or LC • Access to RAM registers Inherent In Instruction network to establish the frequency. Inputs and outputs are • Wide power supply operating range (4 5V to 70V) TTL-compatible. • Available In two temperature ranges 0' to 70' C and -40' to ExtenSive hardware and software support IS available to aid the 85'C user In developing an application program and to verify perfor- • 4 sets of 8 user defined TTL-compatible InpuVOutput lines mance before committing to mask tooling. Programs can be • 2 level stack for subroutine nesting assembled Into machine language uSing PICAL, eliminating the burden of coding With ones and zeros. PICAL IS available in a Fortran IV version that can be run on many popular computer DESCRIPTION systems Once the application program IS developed several The PIC1650XT microcomputer is an MaS/LSI device containing options are available to Insure proper performance. The PIC's RAM, 110, and a central processing Unlt as well as customer- operation can be verified In any hardware application by uSing defined ROM on a single chip This combination produces a low the PIC1664 The PIC1664 is a ROM-less PIC microcomputer cost solution for applications which require sensing individual With additional pinS to connect external PROM or RAM and to Inputs and controlling individual outputs Keyboard scanning, dis- accept HALT commands The PFD1000 Field Demo System IS play dnvlng, and other system control functions can be done at the available containing a PIC1664 With sockets for erasable CMOS same time due to the power of the 8-blt CPU. PROMs Finally, the PICES II (PIC In-CirCUit Emulation System) The Internal ROM contains a customer-defined program uSing provides the user With emulation and debugging capability in the PIC's powerful Instruction set to specify the overall functional either a stand-alone mode or operatIOn as a peripheral to a larger characteristics of the device The 8-bit Input/output registers computer system Easy program debugging and changing IS provide latched lines for interfacing to a limitless variety of appli- facilitated because the user's program IS stored in RAM With cations The PIC can be used to scan keyboards, dnve displays, these development tools, the user can qUickly and confidently control electronic games and provide enhanced capabilities to order the masking of the PIC's ROM and bring his application Into vending machines, traffic lights, radios, televIsion, consumer the market appliances, Industnal timing and control applications The 12-blt A PIC Senes Microcomputer Data Manual IS available which gives Instruction word format provides a powerful yet easy to use additional detailed data on PIC based system deSign PIC1650XT BLOCK DIAGRAM RAO-7 GENERAL REGISTER FILES (Fl1-F37) RBO-7 AC0-7 INSTRUCTION DECODE & CONTROL RDo-7 12 4-16 PIC1650XT ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC series microcomputer is and the I/O Registers The general purpose registers are used for based on a register file concept with simple yet powerful com- data and control information under command of the instructions mands designed to emphasize bit, byte, and register transfer The Arithmetic LogiC Unit contains one temporary working regis- operations The instructIOn set also supports computing functions ter or accumulator (W Register) and gating to perform Soolean as well as these control and Interface functions functions between data held In the working register and any file Internally, the PIC IS composed cf three functional elements con- register nected together by a single bidirectional bus the Register File The Program ROM contains the operational program for the rest composed of 32 addressable 8-bit registers, an Arithmetic Logic of the logiC within the controller Sequencing of microinstructions Unit, and a user-defined Program ROM composed of 512 words IS controlled via the Program Counter (PC) which automatically each 12 bits in width. The Register File IS divided Into two func- Increments to execute in-line programs Program control opera- tional groups. operational registers and general registers The tions can be performed by Sit Test and Skip instructions, Jump operational registers Include, among others, the Real Time Clock instructions, Call instructions, or by loading computed addresses Counter Register, the Program Counter (PC), the Status Register, Into the PC In addition, an on-chip two-level stack IS employed to provide easy to use subroutine nesting Activating the MCLR Input on power up Initializes the ROM program to address 7778 PIN FUNCTIONS Signal Function OSC1 (input), OSC2 (output) OSCillator pins. The oscillator frequency can be set by a crystal ceramic resonator, external LC network or driven externally. The OSCillator frequency is sixteen times the Instruction frequency RTCC (input) Real Time Clock Counter Used by the microprogram to keep track of elapsed time between events The RTCC register Increments on failing edges applied to thiS pin This register can be loaded and read by the program This is a Schmitt trigger Input RAO-7, RBO-7, RCO-7, RDO-7 User programmable Input/output lines These lines can be inputs and/or outputs and are under (input/output) direct control of the program MCLR (input) Master Clear Used to Initialize the Internal ROM program to address 7778 and latch all I/O register high Should be held low at least 1-10ms past the time when the power supply is valid for the OSCillator to start up. ThiS IS a Schmitt trigger input ClK OUT (output) A signal derived from the Internal OSCillator Used by external deVices to synchrOnize them- selves to PIC timing Primary power supply Output Suffer power Used to enhance output current sinking capability. Ground PIN CONFIGURATION 40 LEAD DUAL IN LINE ~ Vss Vxx - ABS AC5~ TICS Operating Temperature TA = O°C to +70°C Characteristics Sym Min Typt Max Units Conditions Primary Supply Voltage Voo 4.5 - 7.0 V Supply Current 100 - - 55 mA All 110 pins @ Voo Input Low Voltage V,L -0.2 - O.B V Input High Voltage (except MCLR, RTCC & OSC1) V1H1 2.4 - Voo V Input High Voltage (OSC1) V,H2 Voo-1 - Voo V Input Low-to-High Threshold Voltage (MCLR & RTCC) V ,LH Voo-1 2.6 Voo V Output High Voltage V OH 2.4 - Voo V I OH = -100pA (Note 2) 3.5 - Voo V 10H=0 Output Low Voltage (1/0 only) VOL1 - - 0.45 V I OL = 1.6mA, (Note 3) Input Leakage Current (lii;<:;LR, RTCC) I LC -5 - +5 pA Vss';; V,N ';; Voo Input Low Current (all 1/0 ports) I'L -0.2 - -2.0 mA V,L = O.4V (internal pullup) Input High Current (all 1/0 ports) I'H -0.1 -0.4 -1.6 mA V'H = 2.4V Output Leakage Current (open drain 1/0 pins) 10LC - - 10 pA OV';; VPIN ';; 10V tTypical data is at TA = 25°C, Voo = 5.0V. NOTES: 1. Total power dissipation for the package is calculated as follows: Po= (Voo) (100) + l: (Voo-V,d (II,J) + l: (VOO-VOH) (liocJ) + l: (VOL) (IOL)· 2. Positive current indicates current into pin. Negative current indicates current out of pin. 3. Total 10L for all output pins must not exceed 175mA. 4-22 PIC1650XT Standard Conditions (unless otherwise stated): AC CHARACTERISTICS Operating Temperature TA = O°C to +70°C Characteristic Sym Min Typt Max Units Conditions Instruction Cycle Time tCY 4 - 20 /1S 0.2MHz - 1.0MHz external time base (Note 1) RTCC Input Period tRT tCY+O.2ps - - - High Pulse Width tRTH 'htRT - - - low Pulse Width tRTL 'htRT - - - (Notes 2 and 4) I/O Ports Data Input Setup Time ts - - \4tcy-125 ns Data Input Hold Time th 0 - - ns Data Output Propagation Delay tpd - SOO 900 ns Capacitive load = SOpF tTypical data is at TA = 2SoC, Voo = S.OV. NOTES: 1. Instruction cycle period (t CY ) equals four times the input oscillator time base period. 2. Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the RTCC input, ClK OUT may be directly tied to the RTCC input. 3 If an RTCC prescaler division ratio of 2, 4, 8 or 16 is selected, the maximum rise and fall times of the signal input to the RTCC pin is 200 nsecs and its duty cycle must be between 40% and 60%. 4. The maximum frequency which may be input to the RTCC pin is calculated as follows: f(m",) = __ 1_ = 1 tRT (moo) tCY (m,n) +0.2ps For example: if tCY = 4/1s, f (max) = 4.~s = 238KHz. 4-23 PIC1650XT 1/0 TIMING ClK OUT Il---,"", /\ /\ /\ \ I \ I GATE \ I \'--____~ I'NC","'N'l ~PC ADDRESS ROM mc"" IANSW,"pRITE INSTRUCTIONI, TO--., I 1/0 FOR NEXT INTERNAL INSTRUCTION~ BS I Tpd '--- I OUTPUT I )41------ NOTE: , " VALID Rise and fail limes ,...._ _ _ _ _ are load dependenl I I I - T,i"- _T h: - INPUT --------'-.IX~STABLEt_L I I 1 I ClK OUT TIMING : . '/,t CY I ~ 1 ~1-----Y'tCY------i"0 CLKOUT J I ~-----------~lf I I"'~_----'-----tcy - - - - - - _..ooil L RTCCTIMING I~ tRTH .. I. tRTL ~I I I t L I RTCC----..J I t I I .. \tRT I .. I SCHMITT TRIGGER CHARACTERISTICS (RTCC, MClR and OSC PINS) TA = 25°C (TYPICAL) 4,0 VTHRESHOLO' VOLTS 3,0 i"""' l,..- - I-- r-- NOTE 1 - I--I-- NOTES: 1, low-Io-High Threshold Vollage (VTLH), 2, High-Io-low Threshold Voltage (VTHL), 2,0 NOTE 2 1,0 4,5 5,0 5,5 6,0 6,5 7,0 VO()o VOLTS 4-24 PIC1650XT PIC1650XT OSCILLATOR OPTIONS (TYPICAL CIRCUITS) LC INPUT OPERATION ...-----1 t - - -....- .... OSC1 (PIN 37) fos c " 271' ,jL (C L + C,NT) , where C ,NT = 10pF. L Typical values for 4MHz operation: L= 70pH 1----...- .... OSC2 (PIN 38) = C L 10pF CRYSTAL INPUT OPERATION 20pF H ......--i......--I~ OSC1 (PIN 37) XTAL* (PARALLEL RESONANT) OSC2 (PIN 38) 20pF 1K * or ceramic resonator EXTERNAL CLOCK INPUT OPERATION CLOCK FROM EXTERNAL SYSTEM C>---------)~ TO OSC PIN 36 4-25 PIC1650XT MASTER CLEAR (TYPICAL CIRCUIT) VDD R ~ R';; 100K ~ TO PIC1650XT MCLR PIN #35 C 0.11lF I Master Clear requires 10ms delay (assuming a 4MHz crystal) before activation after power is applied to the V DD pin, for the crystal to start up. To achieve this, an external RC confi.guration as shown can be used (assuming VDD is applied as a step function). OUTPUT SINK CURRENT GRAPH Vxx = 10 ----- 40 V Vxx = 9 30 . . . V ",/" V ~ Vxx =8 10L ~ V ':... ..". Vxx = 7 -- (mA) .........:: ~ 10' i""'" 20 V ~ --- Vxx = 6 ...... ~ ~ ~ V ~ ~ Vxx = 5 10 ~ ~~ V r- ~ ~ ~ ~ ~ ~ ::::::: ~ 10 2.0 3.0 VOL (VOLTS) 10L vs. VOL TYP @ 25°C The Output Sink Current is dependent on the Vxxsupply and the output load. This chart shows the typical curves used to express the output drive capability. VOH VS 10H (1/0 PORTS) (TYPICAL) POWER SUPPLY CURRENT VS TEMPERATURE (TYPICAL LIMITS) 50 Voo "" Vxx = 4 25V llo°17OV 40 ""'" ['1: 30 N /oc v~ ~ p:-!lA/OC (VOLTS) '" (mA) ~ 20 10 40 40 80 120 lOH (JIA) TEMPERATURE (0C) 4-26 PIC1650XT POWER DISSIPATION DERATING GRAPH 1000 900 " Maximum Device Dissipation (mW ) 800 700 600 " ~ ~ ~ 500 400 NOTE 1 NOTE 2 300 200 100 o o m m ~ ® ~ W ro M TA Ambient Temperature (0 C) NOTES: 1. 70°C is the maximum operating temperature for standard parts. 2.85° C is the maximum operating temperature for "I" suffix parts. PIC1650XT EMULATION CAUTIONS C. Make sure all 1/0 cautions contained in this spec sheet are used. When emulating a PIC1650XT using a PICES II development sys- tem certain precautions should be taken. D. Be sure to use the 40 pin socket for the module plug. A. Be sure that the PICES II Module being used is programmed E. Make sure that during an actual application the MCLR input forthe PIC1650XT mode. (Refer to PICESII Manual). The PIC1664 swings from a low to high level a minimum of 10msec after the contained within the module should have the MODE pin #22 setto supply voltage is applied to allow for the crystal to start up. a high state. F. The cab(e length and internal variations may cause some 1. This causes the MCLR to force all 1/0 registers high. parameter values to differ between the PICES II module and a 2. The interrupt system becomes disabled and the RTCC production PIC1650XT. always counts on the trailing edges. G. The emulator PFD board or PICES II module offers only 3. Bits 3 through 7 on file register F3 are all ones. "internal" oscillator operation (Le. the crystal is on the PFD or B. Make sure to only use two levels of stack within the program. module board), as the long cable might cause unreliable crystal operation. 4-27 PIC1654 PRELIMINARY 8 Bit Microcomputer FEATURES easy to use instruction repertoire emphasizing single bit manipula- • 32 8-bit RAM registers tion as well as logical and arithmetic operations using bytes. • 512 x 12-bit program ROM • Arithmetic Logic Unit The PIC1654 is fabricated with N-Channel Silicon Gate technology • Real Time Clock/Counter resulting In a high performance product with proven reliability and • Self-contained oscillator for crystal or LC network production history. Only a single wide range power supply is • Access to RAM registers inherent in instruction reqUired foroperatlon, and an on-chip oscillator provides the oper- • Wide power supply operating range (4.5V to 7.0V) ating clock with an external crystal, ceramic resonator or LC net- • Available in two temperature ranges: 0° to 70° C and -40° to work to establish the frequency. Inputs and outputs are 85°C TTL-compatible. • 18 pin package Extensive hardware and software support IS available to aid the • 2 level stack for subroutine nesting user in developing an application program and to verify perfor- • Open drain option on all 1/0 lines mance before committing to mask tooling Programs can be • 12 bi-directionall/O lines assembled into machine language using PICAL, a powerful • 2 psec instruction execution time macroassembler. PICAL is available In a Fortran IV version that can be run on many popular computer systems. Once the applica- DESCRIPTION tion program is developed several options are available to insure The PIC1654 microcomputer IS an MOSILSI device containing proper performance. The PI C's operation can be verified in any RAM, 1/0, and a central processing unit as well as customer- hardware application by using the PIC1664-1. The PIC1664-1 is a defined ROM on a single chip. This combination produces a low ROM-less PIC microcomputer with additional pins to connect cost solution for applications which require sensing individual external PROM or RAM and to accept HALT commands. The inputs and controlling individual outputs. Keyboard scanning, dis- PFD1007 Field Demo System is available containing a PIC1664-1 play driving, and other system control functions can be done at the with sockets for erasable CMOS PROMs. Finally, the PICES II same time due to the power of the 8-bit CPU. (PIC In-Circuit Emulation System) provides the user with emula- tion and debugging capability in either a stand-alone mode or The internal ROM contains a customer-defined program using the operation as a peripheral to a larger computer system. Easy pro- PIC's powerful instruction set to specify the overall functional gram debugging and changing is facilitated because the user's characteristics of the device. The 8-bit input/output registers pro- program is stored In RAM. With these development tools, the user vide latched lines for interfating to a limitless variety of applica- can quickly and confidently order the masking of the PIC's ROM tions. The PIC can be used to scan keyboards, drive displays, and bring his application into the market. control electronic games and provide enhanced capabilities to power tools, telecommunication systems, traffic lights, radiOS, tele- A PIC Series Microcomputer Data Manual is available which gives vision, consumer appliances, industrial timing and control applica- additional detailed data on PIC based system deSign. tions. The 12-bit instruction word format provides a powerful yet PIC1654 BLOCK DIAGRAM GENERAL REGISTER FILES (F7~F37) AAO-3 RBO-7 INSTRUCTION OECODE & CONTROL 12 4-28 PIC1654 ARCHITECTURAL DESCRIPTION Thp- firmware architecture of the PIC senes microcomputer IS and the I/O Registers The general purpose registers are used for based on a register file concept with simple yet powerful com- data and control information under command of the instructions mands designed to emphasize bit, byte, and register transfer The Anthmetic Logic Unit contains one temporary working regis- operations. The Instruction set also supports computing functions ter or accumulator (W Register) and gating to perform Boolean as well as these control and interface functions. functions between data held In the working register and any file Internally, the PIC IS composed of three functional elements con- register nected together by a single bidirectional bus. the Register File The Program ROM contains the operational program for the rest composed of 32 addressable 8-bit registers, an Anthmetic Logic of the logic within the controller. Sequencing of microinstructions Unit, and a user-defined Program ROM composed of 512 words is controlled via the Program Counter (PC) which automatically each 12 bits in width The Register File is divided Into two func- Increments to execute In-line programs. Program control opera- tional groups' operational registers and general registers The tions can be performed by Bit Test and Skip instructions, Jump operational registers include, among others, the Real Time Clock instructions, Call instructions, or by loading computed addresses Counter Register, the Program Counter (PC), the Status Register, Into the PC. In additIOn, an on-chip two-level stack IS employed to provide easy to use subroutine nesting Activating the MCLR Input on power up Initializes the ROM program to address 7778 PIN FUNCTIONS Signal Function OSC1 (input). OSC2 (output) These pins are the time base inputs to which a crystal, ceramic resonator, LC network, or external single phase clock may be connected. The frequency of oscillation is 8 times the instruction cycle frequency. RTCC (input) Real Time Clock Counter. Used by the microprogram to keep track of elapsed time between events. The Real Time Clock Counter Register increments on falling edges applied to thiS pin. This register (F1) can be loaded and read by the program. This isa Schmitt trigger input A mask option will allow an internal clock signal whose period isequal tothe instruction execution time to drive the real time clock counter register. In this mode, transitions in the RTCC pin will be disregarded. RAO-3. (input/output) 4 user programmable I/O lines (F5). RBO-7 (input/output) 8 user programmable I/O lines (F6). All inputs and outputs are under direct control of the program. A mask option will allow any I/O pin at the time of ROM pattern definition to be open drain. MCLR (input) Master Clear. Used to initialize the internal ROM program to address 7778 and latch all I/O registers high. Should be held low 10-75ms past the time when VD";'4.5V, depending on the crystal start up time. Voo Power supply V•• Ground. PIN CONFIGURATION 18 LEAD DUAL IN LINE ~RA2 RA1~ ~RA3 RAO~ ---l> RTCC OSC1~ ---l> MCLR OSC2~ -;. GND VDD~ ~RBO RB7~ ~RB1 RB6~ E-O> RB2 RB5~ ~RB3 RB4~ 4-29 PIC1654 REGISTER FILE ARRANGEMENT File Function (Octal) FO Not a physically implemented register. FO calls for the contents of the File Select Register (low order 5 bits) to be used to select a file register. FO is thus useful as an indirect address pointer. For example, W+FO-W will add the contents of the file register pointed to by the FSR (F4) to Wand place the result in W. F1 Real Time Clock Counter Register. This register can be loaded and read by the microprogram. The RTCC register keeps counting up after zero is reached. The counter increments on the fallir.g edge of the input RTCC. However, if data are being stored in the RTCC register simultaneously with a negative transition on the RTCC pin, the RTCC register will contain the new stored value and the external transition will be ignored by the microcomputer. F2 Program Counter (PC). The PC is automatically incremented during each instruction cycle, and can be written into under program control (MOVWF F2). The PC is nine bits wide, but only its low order 8 bits can be read under program control. F3 Status Word Register. F3 can be altered under program control only via bit set, bit clear, or MOVWF F3 instruction. (7) (6) (5) (4) (3) (2) (1 ) (0) 1 1 1 1 1 z DC C C (Carry). For ADD and SUB instructions, thiS bit IS set If there IS a carry out from the most significant bit of the resultant. For ROTATE instructions, this bit is loaded with either the high or low order bit of the source. DC (Digit Carry): For ADD and SUB Instructions, this bit is set if there is a carry out from the 4th low order bit of the resultant. Z (Zero): Set if the result of an arithmetic operation is zero. Bits. 3-7 These bits are defined as logic ones. F4 File Select Register (FSR). Low order 5 bits only are used. The FSR is used in generating effective file register addresses under program control. When accessed as a directly addressed file, the upper 3 bits are read as ones. F5 I/O Register A (AO-A3) (A4-A7 defined as zeroes). F6 I/O Register B (BO-B7) F7-F37 General Purpose Registers 4-30 [ PIC1654 Basic Instruction Set Summary PIC W register. If "d" is one. the result is returned to the file Each PIC instruction is a 12-bit word divided into an OP code register specified in the Instruction. which specifies the instruction type and one or more operands For bit-oriented instructions. "b" represents a bit field designator which further specify the operation of the instruction. The follow- which selects the number of the bit affected by the operation. ing PIC instruction summary lists byte-oriented. bit-oriented. and while "f" represents the number of the lile in which the bit is literal and control operations. located. For byte-oriented instructions. "f" represents a fi Ie register For literal and control operations. "k" represents an eight or nine designator and "d" represents a destination designator. The file bit constant or literal value. register designator specifies which one of the 32 PIC file registers For an oscillator frequency of 4MHz the Instruction execution time is to be utilized by the Instruction. The destination designator is 2psec. unless a conditional test Is true or the program counter is specifies where the result of the operation performed by the changed as a result of an instruction. In these two cases. the instruction is to be placed. If "d" is zero. the result is placed in the instruction execution time is 4 psec. BYTE-ORIENTED (11-6) (5) (4-0) FILE REGISTER OPERATIONS OP CODE f (FILE #) For d = 0, I-W (PICAL accepts d = 0 or d = W in the mnemonic) d = I, f- I (II d is omitted, assembler assigns d = 1.) Instruction-Binary (Octal) Name Mnemonic. Operandi Operation StatuI Affected 000 000 000 000 (0000) No Operation NOP None 000 000 Iff Iff (0040) Move W to I (Note 1) MOVWF W-f None 000 001 000 000 (0100) Clear W CLRW O-W Z 000 001 1 I I I I I (0140) Clear f CLRF f O-f Z 000 010 d I I I I I (0200) Subtract W from f SUBWF I. d 1- W-d [f+W+l-dJ C,DC.Z 000 011 d I I I I I (0300) Decrement I DECF I, d 1- l-d Z 000 100 d I I I I I (0400) Inclusive OR Wand I IORWF I, d WVf-d Z 000 101 d If Iff (0500) AND Wand I ANDWF f, d W·I-d Z 000 110 d I I I I I (0600) Exclusive OR Wand I XORWF f. d WGlI-d Z 000 111 d I I I I I (0700) Add Wand f ADDWF f. d W+I-d C.DC.Z 001 000 d I I I I I (1000) Move I MOVF f. d f-d Z 001 001 d I I I I I (1100) Complement f COMF I. d f-d Z 001 010 d I I f I I (1200) Increment f INCF f. d f+l-d Z 001 011 d I I I I I (1300) Decrement I, Skip il Zero DECFSZ f. d I - I-d. skip if Zero None 001 100 d I I I I I (1400) Rotate Right I RRF f. d I(n)-d(n-l). I(O)-C. C-d(7) C 001 101 d I I I I I (1500) Rotate Left I RLF I. d I(n)-d(n+l). f(7)-C. C-d(O) C 001 110 d I I I I I (1600) Swap halves I SWAPF f. d f(O-3)"1(4-7)-d None 001 111 d I I I I I (1700) Increment I. Skip il Zero INCFSZ f. d I+l-d. skip if zero None BIT-ORIENTED (11-8) (7-5) (4-0) FILE REGISTER OPERATIONS OP CODE I b (BIT #) I f (FILE #) Instruction-Binary (Octal) Name Mnemonic. Operandi Operation StatuI Affected 010 Obb bI I I I I (2000) Bit Clear f BCF f. b O-f(b) None 010 lbb bI I I I I (2400) Bit Set I BSF f. b l-f(b) None 011 Obb bI I I I I (3000) Bit Test I. Skip il Clear BTFSC f. b Bit Test I(b): skip il clear None 011 lbb b If I I I (3400) Bit Test I. Skip if Set BTFSS f. b Bit Test I(b): skip is set None (11-8) (7-0) LITERAL AND CONTROL OP CODE k (LITERAL) OPERATIONS Instruction-Binary (Octal) Name Mnemonic. Operands Operation StatUI Affected 100 Okk kkk kkk (4000) Return and place Literal in W RETLW k k-W. Stack-PC None 100 1k k kkk kkk (4400) Call subroutine (Note 1) CALL k PC+l - Stack. k - PC None 101 kkk kkk kkk (5000) Go To address (k is 9 bits) GOTO k k-PC None 110 Okk kkk kkk (6000) Move Literal to W MOVLW k k-W None 110 1k k kkk kkk (6400) Inclusive OR Literal and W IORLW k kVW-W Z 111 Okk kkk kkk (7000) AND Literal and W ANDLW k k·W-W Z 111 1k k kkk kkk (7400) Exclusive OR Literal and W XORLW k kGlW-W Z NOTES: 1. The 9th bit of the program counter in the PIC is zero for a CALL and a MOVWF F2. Therefore. subroutines must be located in program memory locations 0-377•. However. subroutines can be called from anywhere in the program memory since the Stack is 9 bits wide. 2. When an I/O register is modified as a lunction 01 itself. the value used will be that value present on the output pins. For example. an output pin which has been latched high but is driven low by an external device. will be relatched in the low state. 4-31 IINSJU~ I PIC1854 SUPPLEMENTAL INSTRUCTION SET SUMMARY The loll owing supplemental instructions summarized below alent to the basic instruction BCF 3,0 ("Bit Cleer, File 3, Bit 0"). represent specllic applications 01 the basic PIC instructions. For These Instruction mnemonics ere recognized by the PIC Cross example, the "CLEAR CARRY" supplemental Instruction Is equlv- Assembler (PI CAL). Mnemonic, EqulYlllent Statui Initructlon-Blllllry (Oellll) Name Operandi Operatlon(l) Affected 010 000 000 011 (2003) Clear Carry CLRC BCF 3,0 - 010 100 000 011 (2403) Set Carry SETC BSF 3, 0 - 010 000 100 011 (2043) Clear Digit Carry CLRDC BCF 3,1 - 010 100 100 011 (2443) Set Digit Carry SETDC BSF 3,1 - 010 001 000 011 (2103) Clear Zero CLRZ BCF 3, 2 - 010 101 000 011 (2503) Set Zero SETZ BSF 3, 2 - 011 100 000 011 (3403) Skip on Carry SKPC BTFSS 3, 0 - 011 000 000 011 (3003) Skip on No Carry SKPNC BTFSC 3, 0 - 011 100 100 011 (3443) Skip on Digit Carry SKPDC BTFSS 3,1 - 011 000 100 011 (3043) Skip on No Digit Carry SKPNDC BTFSC 3,1 - 011 101 000 011 (3503) Skip on Zero SKPZ BTFSS 3,2 - 011 001 000 011 (3103) Skip on No Zero SKPNZ BTFSC 3, 2 - 001 000 111 III (1040) Test File TSTFI MOVF 1,1 Z 001 000 Oil III (1000) Move File to W MOVFWI MOVF I, 0 Z 001 001 111 III (1140) Negate File NEGF I,d COMFI,1 001 010 dll III (1200) INCFI, d Z 011 000 000 011 (3003) Add Carry to File ADDCFI, d BTFSC 3,0 001 010 dll III (1200) INCFI, d Z 011 000 000 011 (3003) Subtract Carry Irom File SUBCF I,d BTFSC 3,0 000 011 dll III (0300) DECFI, d Z 011 000 100 011 (3043) Add Digit Carry to File ADDDCF I,d BTFSG 3,1 001 010 dll III (1200) INCFI,d Z 011 000 100 011 (3043) Subtract Digit Carry Irom File SUBDCF I,d BTFSC 3,1 000 Ot1 dll III (0300) DECF I,d Z 101 kkk kkk kkk (5000) Branch Bk GOTOk - 011 0(10 000 011. (3003) Branch on Carry BC k BTFSC 3,0 101 kkk kkk kkk (5000) GOTOk - 011 100 000 011 (3403) Branch on No carry BNCk BTFSS3,0 101 kkk kkk kkk (5000) GOTOk - 011 100 100 011 (3043) Branch on Digit Carry BOCk BTFSC 3,1 101 kkk kkk kkk (5000) GOTOk - 011, 001 000 011 (3443) Branch on No Digit Carry BNDC k BTFSS 3,1 101 kkk kkk kkk (5000) GOTOk - 011 101 000 011 (3103) Branch on Zero BZ k BTFSC 3,2 101 kkk kkk kkk (5000) GOTOk - 011 101 000 011 (3503) Branch on No Zero BNZk BTFSS3,2 101 kkk kkk kkk (5000) GOTOk - 4-32 PIC1654 IN~ 1/0 Interfacing can be connected directly toa TTL gate input. When inputting data The equivalent circuit for an I/O port bit is shown below as it would thru an I/O Port, the port latch musllirst besetlo a high level under interface with either the input of a TTL device (PIC is outputting) program control. This turns off O2, allowing the TTL open collec- or the output of an open collector TTL device (PIC is inputting). tor device to drive the pad, pulled up by a" which can source a Each I/O port bit can be individually time multiplexed between minimum of 100pA. Care, however, should be exercised when input and output functions under software control. When output- using open collector devices due to the potentially high TTL ting thru a PIC I/O Port, the data is latched at the port and the pin leakage current which can exist in the high logic state. TYPICAL INTERFACE-BIDIRECTIONAL I/O LINE - - - - - - - - - - - - - - V,o- - - --, r------ I Vee I I I I DN (INTERNAL -..------i I DATA BUS) WRITE I (INTERNAL SIGNAL) I I I I I I I I = READ I (INTERNAL I SIGNAL) _ _ P~I/~I~ Programming Cautions As an example a BSF operation on bit 5 of FS (port RB) will cause all eight bits of FS to be read into the CPU. Then the BSF operation The use of the bidirectional I/O ports are subject to certain rules takes place on bit 5 and FS is re-output to the output latches. If of operation. These rules must be carefully followed in the another bit of FS is used as an input (say bit 0) then bit 0 must be instruction sequences written for I/O operation. latched high. If during the BSF instruction on bit 5 an external device is forcing bit 0 to the low state then the input/output nature Bidirectional 110 Ports of the BSF instruction will leave bit 0 latched low after execution. The bidirectional ports may be used for both input and output In this state bit 0 cannot be used as an input until it is again operations. For input operations these ports are non-latching. latched high by the programmer. Refer to the examples below. Any input must be present until read by an input instruction. The outputs are latched and remain unchanged until the output latch Successive Operations on Bidirectional 1/0 Ports is rewritten. For use as an Input port the output latch must be set Care must be exercised if successive instructions operate on the In the high state. Thus the external device inputs to the PIC circuit same I/O port. The sequence of instructions should be such to by forcing the latched output line to the low state or keeping the allow the pin voltage to stabilize (load dependent) before the next latched output high. This principle is the same whether operating instruction which causes that file to be read into the CPU (MOVF, on individual bits or the entire port. BIT SET, BIT CLEAR, and BIT TEST) is executed. Otherwise, the Some instructions operate internally as input followed by output previous state olthat pin may be read into the CPU rather than the operations. The BCF and BSF instructions, for example, read the new state. This will happen if tpd (See I/O Timing Diagram) is entire port into the CPU, execute the bit operation, and re-output greater than 'htey (min). When in doubt, it is better to separate the result. Caution must be used when using these instructions. these instructions with a NOP or other instruction. Fe Fe OUTPUT INPUT What is thought to be happening: What could happen if an input were low: BSFS,5 BSF S,5 Read into CPU: 00001111 Read into CPU: 00001110 Setbit5: 00101111 Set bit 5: 00101110 WritetoFS: 00101111 WritetoFS: 00101110 If no inputs were low during the instruction execution, there In this case bit 0 is now latched low and is no longer useful as an would be no problem. unput until set high again. 4-33 I~ PIC1654 ELECTRICAL CHARACTERISTICS Maximum Ratlngs* * Exceeding these ratings could cause permanent dam- Ambient Temperature Under Bias ••••••••••••••••••••••••• 125· C age to the device. This is a stress rating only and func- Storage Temperature ••••••••••••••••••••••••• -55·C to +150·C tional operation of this device at these conditions is not Voltage on any Pin with Respect to Vss implied-operating ranges are specified in Standard (except open drain) ••••••••••••••••••••••••••• -0.3V to +9.0V Conditions. Exposure to absolute maximum rating con- Voltage on any Pin with Respect to Vss (open drain) ••••• -O.3V to +10V ditions for extended periods may affect device reliability. Power Dissipation (Note 1) ••••••••••••••••••••••••••••• BOOmW Data labeled "typical" is presented for design guidance only and is not guaranteed. Standard Conditions (unless otherwise stated): DC CHARACTERISTICS Operating Temperature TA = O·C to +70·C Characteristic Sym Min Typt Max Units Conditions Power Supply Voltage Voo 4.5 - 7.0 V Primary Supply Current 100 - - 40 mA All I/O pins @ Voo Input Low Voltage Vil -0.2 - O.B V Input High Voltage (except MCLR. RTCC & OSC1) V IH 2.4 - Voo V Input High Voltage (MCLR, RTCC & OSC1) V IH2 Voo-1 - Voo V Output High Voltage VOH 2.4 - Voo V 10H = -100pA provided by internal puliups (Note 2) Output Low Voltage (I/O only) VOL' - - 0.45 V 10l = 1.6mA (Note 3) Input Leakage Current (MCLR. RTCC) I lc -5 - +5 pA Vss"; VIN "; Voo Output Leakage Current (open drain pins) 10l - - 10 pA OV"; VPIN,"; 9V Input Low Current (all I/O ports) III -0.2 - -2.0 mA Vil = 0.4V (internal pullup) Input High Current (all I/O ports) IIH -0.1 -0.4 - mA VIH=2.4V t Typical data is at T A = 25· C, Voo = 5.0V NOTES: 1. Total power dissipation for the package is calculated as follows: Po= (Voo) (100) +I(Voo - VIJ (II,J) + I(Voo- Vo ..! (1IoHi) + I(VoJ (loJ· 2. Positive current indicates current into pin. Negative current indicates current out of pin. 3. Totallol for all output' pins must not exceed 175 mAo 4-34 PIC1654 Standard Conditions (unless otherwise stated): AC CHARACTERISTICS Operating Temperature TA = O· C to +70· C Characteristic Sym Min Typ Max Units Conditions Instrt>ction Cycle Time tCY 2 - 10 /ls O.8MHz -4.0MHz external time base (Note 1) RTCC Input Period tAT tcyt-O.2ps - - - Note 2 High Pulse Width tRTH 'htCY - - - Low Pulse Width tRTL Y2tCY - - - NOTE: 1. Instruction cycle period (tCY) equals eight times the input oscillator time base period. 2. The maximum frequency which may be input to the RTCC pin is calculated as follows: f( )=_1_= 1 max tRT (min) teY (mm) +0.2I1S For example: 1 If tCY = 4/ls, f (max) = 4.2!ls = 238KHz. RTCCTIMING I~ IRTH ~I. tRll ~I t I I I RTCC-----J I I I .. \tAT l ~I I L 4-35 PIC1854 PIC1654 OSCILLATOR OPTIONS (TYPICAL CIRCUITS) LC INPUT OPERATION 1 t - - -....--I... OSC1 (PIN 16) lose - 271" ../L (e l + C INT) , where C INT = 10pF. L Typical values lor 4MHz operation: L= 70IlH 1 - - -....- . . OSC2 (PIN 15) C l = 10pF CRYSTAL INPUT OPERAnON 20pF HI~"""I---"" OSC1 (PIN 16) XTAL* (PARALLEL RESONANT) ...- ....'VI.AI... OSC2 (PIN 15) 20pF 1K • or ceramic resonator EXTERNAL CLOCK INPUT OPERATION CLOCK FROM _-------~) OSC1 (PIN 16) EXTERNAL SYSTEM NC --------~> OSC2 (PIN 15) 4-36 PIC1654 MASTER CLEAR (TYPICAL CIRCUIT) Typical Values MCLR (PIN 4) R = lOOK C = O.IJ1f The MCLR signal only needs to be active low for a minimum of 1 complete instruction cycle, but this assumes power is already applied, and the oscillator is running. For initial start-up at least a 10ms delay after Voo;;'4.5V should be typically allowed on MCCR for a 4 MHz crystal to start up. OUTPUT SINK CURRENT GRAPH (TYPICAL) 20 IOL (mA) 15 10 . /I" ..,.~ - Voo = 5.0V 5 . /V ./ " V " ./ 1.0 2.0 3.0 VOL (volts) 10L VS VOL TA =25°C, Voo =5.0V 4-37 PIC1655A 8 Bit Microcomputer FEATURES • User programmable instruction repertoire emphasizing single bit manipulation as well • Intelligent controller for stand-alone applications as logical and arithmetic operations using bytes. • 32 8-bit RAM registers The PIC1655A is fabricated with N-Channel Ion Implant technol- • 512 x 12-bit program ROM ogy resulting in a high performance product with proven reliabil- • Arithmetic Logie Unit ity and production history. Only a single wide range powersupply • Real Time Clock/Counter is required for operation, and an on-chip oscillator provides the • Self-contained oscillator operating clock with only an external RC network (or buffered • Access to RAM registers inherent in instruction crystal oscillator signal, for greater accuracy) to establish the • Wide power supply operating range (4.5V to 7.0V) frequency. Inputs and outputs are TTL-compatible. • Available In two temperature ranges: 0° to 70° C and -40° to Extensive hardware and software support IS available to aid the 85°C user in developing an application program and to verify perfor- • 4 inputs, 8 outputs, 8 bi-directionalllO lines mance before committing to mask tooling. Programs can be • 2 level stack for subroutine nesting assembled into machine language using PICAL, eliminating the burden of coding with ones and zeros. PICAL is available in a Fortran IV version that can be run on many popular computer DESCRIPTION systems. Once the application program is developed several The PIC1655A microcomputer is an MOS/LSI device containing options are available to insure proper performance. The PIC's RAM, 110, and a central processing unit as well as customer- operation can be verified in any hardware application by using defined ROM on a single chip. This combination produces a low the PIC1664. The PIC1664 is a ROM-less PIC microcomputer cost solution for applications which require sensing individual with additional pins to connect external PROM or RAM and to inputs and controlling individual outputs. Keyboard scanning, dis- accept HALT commands. The PFD1000 Field Demo System is play driving, and other system control functions can be done at the available containing a PIC1664 with sockets for erasable CMOS same time due to the power of the 8-bit CPU. PROMs. Finally, the PICES II (PIC In-Circuit Emulation System) The internal ROM contains a customer-defined program using provides the user with emulation and debugging capability in the PI C's powerful instruction set to specify the overall functional either a stand-alone mode or operation as a peripheral to a larger characteristics of the device. The 8-bit input/output registers computer system. Easy program debugging and changing is provide latched lines for interfacing to a limitless variety of appli- facilitated because the user's program is stored in RAM. With cations. The PIC can be used to scan keyboards, drive displays, these development tools, the user can quickly and confidently control electronic games and provide enhanced capabilities to order the masking of the PIC's ROM and bring his application into vending machines, traffic lights, radios, televiSion, consumer the market. appliances, industrial timing and control applications. The 12-bit A PIC Series Microcomputer Data Manual is available which gives instruction word format provides a powerful yet easy to use additional detailed data on PIC based system design. PIC1655A BLOCK DIAGRAM GENERAL REGISTER RAO·3 FILES (F10·F37) RBO-7 INSTRUCTION DECODE & CONTROL ACO-7 12 4-38 PIC1655A ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC series microcomputer is and the I/O Registers. The general purpose registers are used for based on a register file concept with simple yet powerful com- data and control information under command of the instructions. mands designed to emphasize bit, byte, and register transfer The Arithmetic logic Unit contains one temporary working regis- operations. The instruction setalso supports computing functions ter or accumulator (W Register) and gating to perform Boolean as well as these control and interface functions. functions between data held in the working register and any file Internally, the PIC is composed of three functional elements con- register. nected together by a single bidirectional bus' the Register File The Program ROM contains the operational program for the rest composed of 32 addressable 8-bit registers, an Arithmetic logic olthe logic within the controller. Sequencing of microinstructions Unit, and a user- --+ RA3 RC24,...----- . I '- VALID NOTE: Rise and fall times __ _ _ _ _ are load dependent I I - Ts:- _Th:- 1 INPUT ------.:..IXL.STABLEt-L I I I I ClK OUT TIMING CLKOUT I J nt------' I . 'Mev I J .tcv-----t0 -..I 1 ~'-------------'lI L 1 I ""I.----'-----I ev ------_~o.ll RTCCTIMING I .. tRTH ~I .. tRTL ~I I I I RTCC----..J I 1 \I I .. IRT JI ~I L SCHMITT TRIGGER CHARACTERISTICS (RTCC, MClR and OSC PINS) T. = 25°C (TYPICAL) 4.0 VTHRESHOLD' VOLTS 3.0 - - ~~ ~ NOT;,.l. -- NOTES: 1. Low-to-High Threshold Voltage (VTLH). 2. High-to-Low Threshold Voltage (VTHd. 2.0 NOTE 2 1.0 4.5 5.0 55 6.0 6.5 70 VDD• VOLTS 4-46 L PIC1655A PIC1655A OSCILLATOR OPTIONS (TYPICAL CIRCUITS) RC OPTION OPERATION Vee ~ R(ext) ~ TO PIC1655A PIN #27 C(ext) I 30KO \ \ 1\ 26KO \ 1\ \ 22KO 1\ \ \ Voo = 5.0V C = 47pF \ \ 1\ TA = 25°C ~ \ " 18KO \ 14KO '\ TYPICAL/ " ....... 40 60 80 100 120 140 160 180 200 220 240 260 INSTRUCTION CYCLE TIME (kHz) Oscillator Frequency With Typical Unit To Unit Variance Unit to Unit Variation at Voo = 5.0V, TA= 25° C is ±25% Variation from Voo = 4.5V -7.0V referenced to 5V is -3%, +9% Variation from TA = O°C -70°C referenced to 25°C is +3%, -5% BUFFERED CRYSTAL INPUT OPERATION XTAL ~\-""",;;a. TO OSC PIN #27 30%';;; DUTY CYCLE';;; 70% The buffer must be capable of driving 1200, min. (8000, typ.) to 2.0V. However, it is recommended that the pull-down transistor on the OSC pin be removed (an option) if OSC is to be driven externally. EXTERNAL CLOCK INPUT OPERATION CLOCK FROM ~ TO OSC PIN #27 EXTSYSTEM~ 4-47 IINJit~Mt I PIC1655A MASTER CLEAR (TYPICAL CIRCUIT) C R I I R < ''': TO "C"'" """ eoN ". 0.1pF Mas1er Clear requires>1.0ms delay before activation after power is applied to the Voo pin, for the oscillator to start up. To achieve this, an external RC configuration as shown can be used (assum- ing Voo is applied as a step function). OUTPUT SINK CURRENT GRAPH Vxx = 10 --- 40 ..". V ......... Vxx = 9 30 . . .V ",.-V ~ Vxx = 8 10L (mA) ~ V ~ ".. Vxx = 7 ~~ ..........:: ~ V i-""" ~ Vxx = 6 20 ..... ~ ~ ~ ~ i"" ~ ~~ V xy = 5 ~ ~~~ ~ 10 i-- ~ ~ r-- ~ :::::: ~ ~ 10 20 30 VOL (VOLTS) 10L vs. VOL TYP @ 25°C The Output Sink Current is dependent on the Vxx supply and the output load. This chart shows the typical curves used to express the output drive capability. VOH VS 10H (110 PORTS) (TYPICAL) POWER SUPPLY CURRENT VS TEMPERATURE (TYPICAL LIMITS) 50 Voo= Vxx;;;O; 425V vOD17OV r-.. 40 30 ~ Nrc v"" (VOLTS) 100 (mA) r- ~ oJAlOC 20 E'---- 10 ~40 0 40 80 120 low ~A) TEMPERATURE (0G) 4-48 PIC1655A POWER DISSIPATION DERATING GRAPH 1000 900 '- 800 '\ r\. , 700 Maximum Device 600 r\. Dissipation (mW.) 500 400 NOTE 1 NOTE 2 300 200 100 o0 10 20 30 40 50 60 70 85 TA Ambient Temperature (' C) NOTES: 1.70' C is the maximum operating temperature for standard parts 2.85' C is the maximum operating temperature for "I" suffix parts. PIC1655A EMULATION CAUTIONS C. Make sure all 1/0 cautions contained in this spec sheet are When emulating a PIC1655A using a PICES II development sys- used. tem certain precautions should be taken. D. Be sure to use the 28 pin socket for the module plug. A. Be sure that the PICES II Module being used is programmed E. Make sure that during an actual application the MCLR input forthe PIC1650A mode. (Refertothe PICES Manual). The PIC1664 swings from a low to high level a minimum of 1msec after the contained within the module should have the MODE pin #22 setto supply voltage is applied. a high state. F. If an oscillator drive is used, be sure that it can drive the 1200 1. This causes the MCLR to force all 1/0 registers high. input impedance of the OSC pin on the PIC1664. 2. The OSC 1 pin #59 becomes a single clock input pin. G. The cable length and internal variations may cause some 3. The interrupt system becomes disabled and the RTCC parameter values to differ between the PICES II module and a always counts on the trailing edges. production PIC1655A. 4. Bits 3 through 7 on file register F3 are all ones. B. Make sure to only use two levels of stack within the program. 4-49 PIC1655XT 8 Bit Microcomputer FEATURES User programmable instruction repertoire emphasizing single bit manipulation as well Intelligent controller for stand-alone applications as logical and arithmetic operations using byles. 32 8-bit RAM registers The PIC1655XT is fabricated with N-Channel Ion Implant tech- 512 x 12-blt program ROM nology resulting in a high performance product with proven reli- Arithmetic Logic Unit ability and production history. Only a single wide range power Real Time ClocklCounter supply is required for operation, and an on-Chip oscillator pro- Self-contained crystal oscillator vides the operating clock with an external crystal,ceramic resona- Access to RAM registers inherent in instruction tor or LC network to establish the frequency. Inputs and outputs Wide power supply operating range (4.5V to 7.0V) are TTL-compatible. Available in two temperature ranges: O· to 70· C and -40· to 85· C Extensive hardware and software support is available to aid the 4 inputs, 8 outputs, 8 bi-directionall/O lines user in developing an application program and to verify perform- 2 level stack for subroutine nesting ance before committing to mask tooling. Programs can be Mask programmable prescaler for RTCC assembled into machine language using PI CAL, eliminating the Mask programmable open drain option on all 110 lines burden of coding with ones and zeros. PICAL is available in a Fortran IV version that can be run on many popular computer DESCRIPTION systems. Once the application program is developed several The PIC1655XT microcomputer is an MOSILSI device containing options are available to insure proper performance. The PIC's RAM, 110, and a central processing unit as well as customer- operation can be verified in any hardware application by using defined ROM on a single chip. This combination produces a low the PIC1664. The PIC1664 is a ROM-less PIC microcomputer with cost solution for applications which require sensing individual additional pins to connect external PROM or RAM and to accept inputs and controlling individual outputs. Keyboard scanning, dis- HALT commands. The PFD1000 Field Demo System is available play driving, and other system control functions can be done althe containing a PIC1664 with sockets for erasable CMOS PROMs. same time due to the power of the 8-bit CPU. Finally, the PICES II (PIC In-Circuit Emulation System) provides The internal ROM contains a customer-define,.d program using the user with emulation and debugging capability in either a the PIC's powerful instruction set to specify the overall functional stand-alone mode or operation as a peripheral to a larger compu- characteristics of the device. The 8-bit input/output registers ter system. Easy program debugging and changing is facilitated provide latched lines for interfacing to a limitless variety of appli- because the user's program is stored in RAM. With these devel- cations. The PIC can be used to scan keyboards, drive displays, opment tools, the user can quickly and confidently order the control electronic games and provide enhanced capabilities to masking of the PIC's ROM and bring his application into the vending machines, traffic lights, radios, television, consumer market. appliances, Industrial timing and control applications. The 12-blt A PIC Series Microcomputer Data Manual is available which gives instruction word format provides a powerful yet easy to use additional detailed data on PIC based system design. PIC1655XT BLOCK DIAGRAM RAO-3 GENERAL REGISTER FilES (F10-F37) RBO-7 RC0-7 INSTRUCTION DeCODE & CONTROL 12 'Mask programmable 4-50 PIC1655XT I~ ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC series microcomputer is and the I/O Registers. The general purpose registers are used for based on a register file concept with simple yet powerful com- data and control information under command of the instructions. mands designed to emphasize bit, byte, and register transfer The Arithmetic logic Unit contains one temporary working regis- operations. The instruction set also supports computing functions ter or accumulator (W Register) and gating to perform Boolean as well as these control and interface functions. functions between data held in the working register and any file Internally, the PIC is composed of three functional elements con- register. nected together by a single bidirectional bus: the Register File The Program ROM contains the operational program for the rest composed of 32 addressable 8-bit registers, an Arithmetic logic of the logic within the controller Sequencing of microinstructions Unit, and a user-defined Program ROM composed of 512 words is controlled via the Program Counter (PC) which automatically each 12 bits in width. The Register File is divided into two func- increments to execute in-line programs. Program control opera- tional groups: operational registers and general registers. The tions can be performed by Bit Test and Skip instructions, Jump operational registers include, among others, the Real Time Clock instructions, Call instructions, or by loading computed addresses Counter Register, the Program Counter (PC), the Status Register, into the PC. In addition, an on-Chip two-level stack isemployed to provide easy to use subroutine nesting. Activating the MClR input on power up initializes the ROM program to address 777•. PIN FUNCTIONS Signal Function OSC1 (Input), OSC2 (output) Oscillator pins. The oscillator frequency can be set by a crystal, ceramic resonator, external lC network ordrlven externally. The oscillator frequency Is sixteen times the instructionfrequency. FITeC (Input) Real Time Clock Counter. Used by the microprogram to keep track of elapsed time between events. The Real Time Clock Counter, Register Increments on falling edges applied to this pin. This register can be loaded and read by the program. This Is a Schmitt trigger Input except when a prescaler division ratio of 2, 4, 8 or 16 is selected in which case the input is TTL compatible. RAO-3 (Input) 4 input lines RBO·7 (output) 8 output lines RCO·7 (Input/output) 8 user programmable input/output lines All inputs and outputs are under direct control of the program. MeIJI (Input) Master Clear. Used to initialize the internal ROM program to address 777. and latch all I/O registers high. Should be held low at least 1ms past the time when power supply is valid. This Is a Schmitt trigger Input. ClK OUT (output) A signal derived from the internal oscillator. Used by external devices to synchronize themselves to PIC timing. Primary power supply. Output Buffer power supply. Used to enhance output current sinking capability. Ground PIN CONFIGURATION 28 lEAD DUAL IN LINE E-- CLOCKOUT OSC1 Eo- --+ Voo OSC2~ ~R'I'CC MCLRE- ~ VBS RC7~ ~Vxx RC6 +-+ ~RAO RC5~ ~RA1 RC4~ ~RA2 Rca E+ ~RA3 RC2 E+ E-- RBO RC1 E+ E--RB1 RCO~ E-- RB2 RB7 ~ E-- RB3 RB6 ~ E-- RB4 RB5~ 4-51 PIC1655XT REGISTER FILE ARRANGEMENT File Function (Octal) FO Not a physIcally implemented regIster FO calls for the contents of the File Select Register (low order 5 bits) to be used to select a fIle register FO is thus useful as an indirect address pOinter For example. W+FO-W WIll add the contents of the file regIster pOinted to by the FSR (F4) to Wand place the result In W F1 Real TIme Clock Counter Register This register can be loaded and read by the microprogram The RTCC register keeps counting up after zero IS reached. The counter Increments on the falling edge of the input RTCC. However. if data are being stored In the RTCC register simultaneously with a negallve transillon on the RTCC pin. the RTCC regIster WIll contain the new stored value and the external transitIon will be Ignored by the mIcrocomputer. F2 Program Counter (PC). The PC is automatIcally Incremented dunng each Instruction cycle. and can be written into under program control (MOVWF F2) The PC IS nine bIts WIde. but only ItS low order 8 bIts can be read under program control. F3 Status Word RegIster. F3 can be altered under program control only via bit set. bIt clear. or MOVWF F3 instructIon. (7) (6) (5) (4) (3) (2) (1 ) (0) 1 1 1 1 z DC C C (Carry)' For ADD and SUB instrucllons. th,s bIt IS set If there IS a carry out from the most slgmflcant bIt of the resultant. For ROTATE Instructions. this bit IS loaded with eIther the hIgh or low order bit of the source. DC (DIgIt Carry) For ADD and SUB instructIons. this bIt is set If there IS a carry out from the 4th low order bit of the resultant Z (Zero)' Set If the result of an anthmetic operation is zero Bits' 3-7 These bIts are defined as logic ones. F4 FIle Select RegIster (FSR). Low order 5 bits only are used. The FSR is used In generating effective file regIster addresses under program control. When accessed as a directly addressed Itle. the upper 3 bits are read as ones FS Input Register A (AO-A3) (A4-A7 defined as zeroes). F6 Output Register B (BO-B7) F7 1/0 RegIster C (CO-C7) F10-F37 General Purpose RegIsters The PIC1655XT has the same basic architecture as the PIC1655A Self-Contained Oscillator with the additional enhancements described below: When a crystal. ceramic resonator or LC network is connected Real Time Clock Counter between the OSC1 and OSC2 pins. the self-contained oscillator will generate.a frequency determined by the external components The Real TIme Clock Counter can be read from and written to thus allOWing an accurate tIming reference. a crystal. to be used under software control In addition. it can be used to count exter- nal events via the RTCC input. A prescaler counter between the for time base control with"";~mum of external parts RTCC Input and the Real Time Clock Counter can be mask pro- The output of thIS oscilhltbr-Js.·divided down by 16 to give the grammed to enable the RTCC register to Increment every 1. 2. 4. 8. Instruction cycle time of~the,'nlicrocomputer. thus WIth a 4MHz or 16 negatIve edges of the RTCC Input pin crystal the instruction cY~1lI.ne,·iS 4ps ThIS allows the maxImum frequency of the RTCC input to be When test mode is enabJed:-;fh~':basic instruction cycle tIme is a (assume an instructIon cycle tIme of 4ps): dIviSIon of 4 of the freque~cy applIed to OSC1 and OSC2 allowing simpler synchronizing of the device and tester Prescaler Maximum Input Division Ratio Frequency 1 0.238MHz 2 0.478MHz 4 0.952MHz 8 1.904MHz 16 3.808MHz NOTE: The Schmitt trigger Input Is valid only when a division ratio of 1 is selected. Otherwise. the input is a normal TTL compatible input. 4-52 PIC1655XT Basic Instruction Set Summary PIC W register. If "d" is one, the result is returned to the lile Each PIC Instruction is a 12-bit word divided into an OP code register specilied in the instruction. which specifies the instruction type and one or more operands For bit-oriented instructions, "b" represents a bit field designator which further specify the operation of the instruction. The follow- which seiects the number 01 the bit affected by the operation, ing PIC instruction summary lists byte-oriented, bit-oriented, and while "I" represents the number of the file in which the bit is literal and control operations, located. For byte-oriented instructions, "f" represents a file register For literal and control operations, "k" represents an eight or nine designator and "d" represents a destination designator. The file bit constant or literal value register designator specifies which one of the 32 PIC file registers For an oscillator frequency of 4MHz the instruction execution ti me is to be utilized by the instruction The destination designator is 4/lsec, unless a conditionaltest is true orthe program counter is specifies where the result of the operation performed by the changed as a result of an instruction. In these two cases, the instruction is to be placed. If "d" is zero, the result is placed in the instruction execution time is 8/lsec. BYTE-ORIENTED FILE REGISTER (11-6) (5) (4-0) OPERATIONS OP CODE f (FILE #) For d = O. I-W (PI CAL accepts d = 0 or d = W in the mnemonic) d = " I-I (II d IS omitted. assembler assigns d = 1 ) Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 000 000 000 000 (0000) No Operation NOP None 000 000 1I I I I I (0040) Move W to f (Note 1) MOVWF W-f None 000 001 000 000 (0100) ClearW CLRW O-W Z 000 001 1I I I I I (0140) Clear f CLRF O-f Z 000 010 dI I I I I (0200) Subtract W Irom I SUBWF I, d 1- W-d [HW+1-dl C,DC,Z 000 011 dI I I I I (0300) Decrement I DECF I, d 1- 1-d Z 000 100 dI I I I I (0400) InclUSive OR Wand I 10RWF I, d WVI-d Z 000 101 dI I I I I (0500) AND Wand I ANDWF I, d W.I-d Z 000 110 dI I I I I (0600) ExclUSive OR Wand I XORWF I, d W@I-d Z 000 111 dI I I I I (0700) Add Wand I ADDWF I, d W+I-d C,DC,Z 001 000 dI I I I I (1000) Move I MOVF I, d I-d Z 001 001 dI I I I I (1100) Complement I COMF I, d f-d Z 001 010 dI I I I I (1200) Increment I INCF I, d Hl-d Z 001 011 dI I I I I (1300) Decrement I, Skip II Zero DECFSZ I, d 1- l-d, skip If Zero None 001 100 dI I I I I (1400) Rotate Right I RRF f, d f(n)-d(n-l), I(O)-C, C-d(7) C 001 101 d If I I I (1500) Rotate Left I RLF f, d I(n)-d(n+l), f(7)-C, C-d(O) C 001 110 dI I I I I (1600) Swap halves I SWAPF I, d f(0-3)">1(4-7)-d None 001 111 dI I I I I (1700) Increment I, Skip II Zero INCFSZ I, d Hl-d, skip if zero None BIT-ORIENTED (11-8) (7-5) (4-0) FILE REGISTER OPERATIONS OP CODE I b (BIT #) I f (FILE #) Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 010 Obb b If I I I (2000) Bit Clear I BCF I, b O-I(b) None 010 lbb bI I I I I (2400) Bit Set I BSF I, b 1-I(b) None 011 Obb bI I I I f (3000) Bit Test I. Skip II Clear BTFSC I, b Bit Test feb): skip II clear None 011 lbb bI I f I f (3400) Bit Test I, Skip If Set BTFSS I, b Bit Test feb): skip is set None (11-8) (7-0) LITERAL AND CONTROL OP CODE k (LITERAL) OPERATIONS Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 100 Okk kkk kkk (4000) Return and place literal In W RETLW k k-W, Stack-PC None 100 1kk kkk kkk (4400) Call subroutine (Note 1) CALL k PC+l - Stack, k - PC None 101 kkk kkk kkk (5000) Go To address (k IS 9 bits) GOTO k k-PC None 110 Okk kkk kkk (6000) Move literal to W MOVLW k k-W None 110 1k k kkk kkk (6400) InclUSive OR Literal and W 10RLW k kVW-W Z 111 Okk kkk kkk (7000) AND literal and W ANDLW k k·W-W Z 111 1k k kkk kkk (7400) ExclUSive OR literal and W XORLW k k@W-W Z NOTES: 1. The 9th bit of the program counter in the PIC is zero lor a CALL and a MOVWF F2 Therelore, subroutines must be located In program memory locations 0-3778 , However, subroutines can be called Irom anywhere in the program memory since the Stack is 9 bits Wide 2 When an 1/0 register IS modified as a function 01 itself, the value used will be that value present on the output pins. For example, an output pin which has been latched high but IS driven low by an external deVice, will be relatched in the low state. 3. See notes on Input only and output only ports (F5 and F6 respectively). 4-53 PIC1655XT SUPPLEMENTAL INSTRUCTION SET SUMMARY The following supplemental instructions summarized below alent to the basic instruction BCF 3,0 ("Bit Clear, File 3, Bit a"). represent specific applications 01 the basic PIC instructions. For These instruction mnemonics are recognized by the PIC Cross example, the "CLEAR CARRY" supplemental instruction is equiv- Assembler (PICAL). Mnemonic, Equivalent Status Instrucllon-Blnary (Octal) Name Operands Operatlon(s) Affected 010 000 000 all (2003) Clear Carry CLRC BCF 3, a - 010 100 000 all (2403) Set Carry SETC BSF 3, a - 010 000 100 all (2043) Clear Digit Carry CLRDC BCF 3,1 - 010 100 100 all (2443) Set Digit Carry SETDC BSF 3,1 - 010 001 000 all (2103) Clear Zero CLRZ BCF 3,2 - 010 101 000 all (2503) Set Zero SETZ BSF 3,2 - all 100 000 all (3403) Skip on Carry SKPC BTFSS 3, a - all 000 000 all (3003) Skip on No Carry SKPNC BTFSC 3, a - all 100 100 011 (3443) Skip on Digit Carry SKPDC BTFSS 3,1 - all 000 100 011 (3043) Skip on No Digit Carry SKPNDC BTFSC 3,1 - all 101 000 all (3503) Skip on Zero SKPZ BTFSS 3,2 - all 001 000 all (3103) Skip on No Zero SKPNZ BTFSC 3, 2 - 001 000 1 ff I I f (1040) Test File TSTFf MOVFf,l Z 001 000 a f I I I f (1000) Move File to W MOVFWf MOVF f, a Z 001 001 1 ff f I I (1140) Negate File NEGF f,d COMFf,l 001 010 dI I I I I (1200) INCFI, d Z all 000 000 all (3003) Add Carry to File ADDCF I, d BTFSC 3,0 001 010 d I I I II (1200) INCFf, d Z all 000 000 all (3003) Subtract Carry from File SUBCF I,d BTFSC 3,0 000 all dI I I I I (0300) DECF f, d Z all 000 100 all (3043) Add Digit Carry to File ADDDCF I,d BTFSG 3,1 001 010 d I I f I f (1200) INCF I,d Z all 000 100 all (3043) Subtract Digit Carry from File SUBDCF I,d BTFSC 3,1 000 all dI I I I I (0300) DECF I,d Z 101 kkk kkk kkk (5000) Branch Bk GOTOk - all 000 000 all (3003) Branch on Carry BC k BTFSC 3,0 101 kkk kkk kkk (5000) GOTO k - all 100 000 all (3403) Branch on No Carry BNC k BTFSS 3,0 101 kkk kkk kkk (5000) GOTOk - all 100 100 all (3043) Branch on Digit Carry BDC k BTFSC 3,1 101 kkk kkk kkk (5000) GOTOk - all 001 000 all (3443) Branch on No Digit Carry BNDC k BTFSS 3,1 101 kkk kkk kkk (5000) GOTOk - all 101 000 all (3103) Branch on Zero BZ k BTFSC 3,2 101 kkk kkk kkk (5000) GOTOk - all 101 000 all (3503) Branch on No Zero BNZ k BTFSS 3,2 101 kkk kkk kkk (5000) GOTOk - 1/0 Interfacing can be connected directly to a TTL gate input. When inputting data thru an I/O Port, the port latch must lirst be sel to a high level under The equivalent circuit lor an I/O port bit is shown below as it would interface with either the input of a TTL device (PIC is outputting) or the output 01 an open collector TTL device (PIC is inputting). ° program control. This turns 011 2, allowing the TTL open collec- tor device to drive the pad, pulled up by 0 which can source a " Each I/O port bit can be individually time multiplexed between minimum 01 lOOIlA. Care, however, should be exercised when input and output lunctions under software control. When output- using open collector devices due to the potentIally high TTL ting thru a PIC I/O Port, the data is latched at the port and the pin leakage current which can exist in the high logic state. 4-54 PIC1655XT TYPICAL INTERFACE·BIDIRECTIONAL 1/0 LINE - - - - - - - - - - - - - - -;;;'0- - ---, r------ I Vee I I DN I I (INTERNAL - . .- - - - - - 1 I DATA BUS) WRITE I (INTERNAL SIGNAL) I I I .------- I I I I I READ I I = (INTERNAL I I TTL DEVICE OUTPUT SIGNAL) _ _ P~I/~I~ L.!0~N..::..C~L~T~~ Bidirectional I/O Ports Input Only Port: (Port RAJ The bidirectional ports may be used for both input and output The input only port of the PIC1655XT consists of the four LSB's of operations. For input operations these ports are non-latching. F5 (port RA). An internal pull-up device is provided so that external Any input must be present until read by an input instruction. The pull-ups on open collector logic are unnecessary. The four MSB's outputs are latched and remain unchanged until the output latch of this port are always read as zeroes. Output operations to F5 are is rewritten. For use as an Input port the output latch must be set not defined. Note that the BTFSC and BTFSS instructions are In the high state. Thus the external device inputs to the PIC circuit input only operations and so can be used with F5. Also, file register by forcing the latched output line to the low state or keeping the instructions which leave the results in W can be used. latched output high. This principle is the same whether operating on individual bits or the entire port. Output Only Port (Port RBJ Some instructions operate internally as input followed by output The output only port of the PIC1655XT consists of F6 (port RB). operations. The BCF and BSF instructions, for example, read the This port contains no input circuitry and is therefore not capable of entire port into the CPU, execute the bit operation, and re-output instructions requiring an input followed by an output operation. the result. Caution must be used when using these instructions. The only instructions which can validly use F6 are MOVWF and As an example a BSF operation on bit 5 of F7 (port RC) will cause CLRF all eight bits of F7 to be read into the CPU. Then the BSF opera- Successive Operations on Bidirectional I/O Ports tion takes place on bit 5 and F7 is re-output to the output latches. Care must be exercised if successive instructions operate on the If another bit of F7 is used as an input (say bit 0) then bit 0 must be same I/O port. The sequence of instructions should be such to latched high. If during the BSF instruction on bit 5 an external allow the pin voltage to stabilize (load dependent) before the next :lev ice is forcing bit 0 to the low state then the input/output nature instruction which causes thatfile to be read into the CPU (MOVF, of the BSF instruction will leave bit 0 latched low after execution. BIT SET, BIT CLEAR, and BIT TEST) is executed. Otherwise, the In this state bit 0 cannot be used as an input until it is again previous state of that pin may be read into the CPU rather than the latched high by the programmer. Refer to the examples below. new state. This will happen if tpd (See I/O Timing Diagram) is greater than '!.tCY (min). When in doubt, it is better to separate these instructions with a NOP or other instruction. EXAMPLE 1: F7 F7 OUTPUT What is thought to be happening: What could happen if an input were low' BSF7,5 BSF 7,5 Read into CPU: 00001111 Read into CPU: 00001110 Setbit5: 00101111 Set bit 5: 00101110 Write to F7: 00101111 Write to F7: 00101110 If no inputs were low during the instruction execution, there In this case bit 0 is now latched low and is no longer useful as an would be no problem. unput until set high again. 4-55 IN~ PIC1655XT ELECTRICAL CHARACTERISTICS Maximum Ratlngs* Temperature Under Bias ........................................ 125·C * Exceeding these ratings could cause permanent dam- Storage Temperature ................................ -55· C to +150· C age to the device. This Is a stress rating only and func- Voltage on any Pin with Respect to Vss ••.•.••.•...••... -0.3V to +9.0V tional operation of this device at these conditions Is not Power Dissipation (Note 1) ..................................... 800mW Implied-operating ranges are specified In Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. DC CHARACTERISTICS Operating Temperature TA = O·C to +70·C Data labeled "typical" is presented for design guidance only and Is not guaranteed. Characterlsllcs Sym Min Typt Max Units Conditions Power Supply Voltage Voo 4.5 - 7.0 V Primary Supply Current 100 - - 65 mA All 1/0 pins @ Voo (Note 5) Output Buffer Supply Voltage Vxx 4.5 - 10.0 V (Note 2) Output Buffer Supply Current Ixx - 1 5 mA All 1/0 pins @ Voo Input Low Voltage Vil -0.2 - 0.8 V Input High Voltage (except MCLR. RTCC. OSCI When Prescaler = 2. 4. 8 or 16) VIH1 2.4 - Voo V Input High Voltage (MCLR. R'i'CC. OSCI When Prescaler = 1) VIH2 Voo-l - Voo V Output High Voltage VOH 2.4 - Voo V 10H = 100llA (Note 3) 3.5 - Voo V 10H=0 Output Low Voltage (1/0 only) VOL - - 0.45 V 10l = 1.6mA (Note 4) Input Leakage Current (MCLR. RTCC) Ilc -5 - +5 IIA Vss'" VIN '" Voo Output Leakage Current (open drain pins) 10l - - 10 IIA OV ... V pin ... 10V Input Low Current (all 1/0 ports) III -0.2 - -2.0 mA Vil - 0.4V internal pullup Input High Current (8111/0 ports) IIH -0.1 -0.4 -1.6 mA VIH=2.4V tTypical data is at TA = 25· C. Voo = 5.0V NOTES: 1. Total power dissipation for the package is calculated as follows: Po= (Vool (1001 + 1: (VOO-VI~ OIIJ) + 1: (Voo-Vow OloHIl + 1: (VoJ (loJ· 2. Vxx supply drives only the 1/0 ports. 3. Positive current indicates current Into pin. Negative current indicates current out of pin. 4. Total 10l for all output pins must not exceed 175mA. 5. 100 max current spec Is preliminary and subject to change. 4-56 PIC1655XT Standard Conditions (unless otherwise stated): AC CHARACTERISTICS, Operating Temperature TA = O°C to +70°C Characteristic Sym Min Typt Max Units Conditions instruction Cycle Time tCY 4 - 20 ps o 2MHz - 1 OMHz external time base (Note 1) RTCC Input Prescaler division ratio = 1 Period tRT tc0-o.2ps - - - High Pulse Width tRTH 'htRT - - - low Pulse Width tRTL 'htRT - - - (Notes 2 and 4) I/O Ports Data Input Setup Time ts - - V.lcy-125 ns Data Input Hold Time th 0 - - ns Data Output Propagation Delay tpd - 500 900 ns Capacitive load = 50pF tTypical data is at TA = 25° C. VDO = 5,OV, NOTES: 1, Instruction cycle period (tCY) equals four times the input oscillator time base period, 2, Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the RTCC input. ClK OUT may be directly tied to the RTCC input. 3, If an RTCC prescaler division ratio of 2. 4. 8 or 161s selected. the maximum rise and fall times of the signal input to the RTCC pin is 200 nsecs and its duty cycle must be between 40% alld 60% 4, The maximum frequency which may be input to the RTCC pin for a division ratio of 1 Is calculated as follows: f - 1 - 1 . (max) - tRT (m.n) - ICY (m,") +0,2IIs For example: k"'4IS if tCY = 4ps. f(max) = = 238KHz, 4-57 INsr--------~)~ TO OSC 1 PIN #28 4-59 PIC1655XT MASTER CLEAR (TYPICAL CiRCUIT) ,I '~ C I ,< O.lI1F w "C,""" MeLR "" ' " Master Clear requires 10ms delay (assuming a 4MHz crystal) before activation after power is applied to the Voo pin, for the crystal to start up. To achieve this, an external RC configuration as shown can be used (assuming Voo is applied as a step function). OUTPUT SINK CURRENT GRAPH -- Vxx = 10 40 =9 / V " . , Vxx ~ ",.. ~ l.,....ooo Vxx =8 IOL (rnA) 30 20 ~ ~/ ~ .",.. ...... ",.. ", ".. k'" "., ~ ..- ...... -- Vxx = 7 Vxx = 6 - --- ~~ :::..- " " "., Vxx = 5 r- ~~~ "., ~ ~ ..- 10 ~ 1.0 20 30 VOL (VOLTS) 10L VI. VOL TYP@25°C The Output Sink Current is dependent on the Vxx supply and the output load. This chart shows the typical curves used to express the output dnve capability. VOH VS 10H (1/0 PORTS) (TYPICAL) POWER SUPPLY CURRENT VS TEMPERATURE (TYPICAL LIMITS) 50 VCC=VlClC=4 25V voo l'OV ~ 40 ~ ~ArC V... (VOLTS) 2 r---+---~\\~~~~~ I" (mA) 30 20 10 -- I-t ~!ArC 1000 40 40 80 120 IOH (PA) TEMPERATURE (OC) PIC1655XT POWER DISSIPATION DERATING GRAPH 1000 900 800 "'\ 700 ~ Maximum Device 600 r\. Dissipation (mW ) ~ 500 400 NOTE 1 NOTE 2 300 200 100 oo m ~ ~ ~ ~ M ro M TA-Ambient Temperature (OC) NOTES: 1. 70° C is the maximum operating temperature for standard parts. 2. 85°C is the maximum operating temperature for "I" suffix parts. PIC1655XT EMULATION CAUTIONS C. Make sure all 1/0 cautions contained in this spec sheet are used. When emulating a PIC1655XT using a PICES II development sys- tem certain precautions should be taken. D. Be sure to use the 28 pin socket for the module plug. A. Be sure that the PICES II Module being used is programmed E Make sure that during an actual application the MCLR input forthe PIC1655XT mode. (Refer to PICESII Manual). The PIC1664 swings from a low to high level a minimum of 10msec after the contained within the module should have the MODE pin #22 selto supply voltage is applied to allow for the crystal to start up. a high state. F. The cable length and Internal variations may cause some 1. This causes the MCLR to force all 1/0 registers high. parameter values to differ between PICES II Module and a 2. The interrupt system becomes disabled and the RTCC production PIC1655XT. always counts on the trailing edges. G. The emulator PFD board or PICES II Module offers only 3. Bits 3 through 7 on file register F3 are all ones. "internal" oscillator operation (i.e. the crystal Is on the PFD or B. Make sure to only use two levels of stack within the program. Module Board) as the long cable might cause unreliable crystal operation. 4-61 PIC16C55 8 Bit Microcomputer FEATURES • User programmable instruction repertoire emphasizing single bit manipulation as well • Intelligent controller for stand-alone applications as logical and arithmetic operations using bytes. • 32 a-bit RAM registers The PIC16C55 is fabricated with complementary MOS technology • 512 x 12-bit program ROM resulting in a high performance product with proven reliability and • Arithmetic LogIc Unit production history. Only a single wide range power supply is • Real Time ClocklCounter required for operation, and an on-chip oscillator provides the • Self-contained oscillator for crystal, ceramic resonator or RC operating clock with only an external RC network (or crystal or network ceramic resonator, for greater accuracy) to establish the • Access to RAM registers inherent in instruction frequency. • Wide power supply operating range (2.5V to 6.0V) ExtensIve hardware and software support IS available to aid the • Low power dissipation user in developing an application program and to verify perfor- • 4 inputs, a outputs, a bi-directional 1/0 lines mance before committing to mask tooling. Programs can be • 2 level stack for subroutine nesting assembled into machine language using PICAL, eliminating the • Software compatible with other PIC series microcomputers burden of coding with ones and zeros. PICAL is available in a Fortran IV version that can be run on many popular computer DESCRIPTION systems. Once the application program is developed several The PIC16C55 microcomputer is a CMOS device containing RAM, options are available to insure proper performance. The PIC's 1/0, and a central processing unit as well as customer-defined operation can be verified in any hardware application by.using the ROM on a single chip. This combination produces a low cost PIC16C63. The PIC16C63 is a ROM-less PIC microcomputer with solution for applications which require sensing individual inputs additional pins to connect external PROM or RAM and to accept and controlling individual outputs. Keyboard scanning, display HALT commands. The PIC Field Demo System is available con- driving, and other system control functions can be done at the taining a PIC16C63 with sockets for erasable CMOS PROMs. same time due to the power of the a-bit CPU. Finally, the PICES II (PIC In-Circuit Emulation System) provides The internal ROM contains a customer-defined program using the user with emulation and debugging capability in either a the PIC's powerful instruction set to specify the overall functional stand-alone mode or operation as a peripheral to a larger compu- characteristics of the devIce The a-bit Inputloutput registers ter system. Easy program debugging and changing is facilitated provide latched lines for interfacing to a limItless variety of appli- because the user's program is stored in RAM. With these"ctevelop- cations The PIC can be used to scan keyboards, drive displays, ment tools, the user can quickly and confidently order tnil masking control electronic games and provide enhanced capabilities to of the PIC's ROM and bring his application into the market. power tools, telecommunications systems, radios, television, con- A PIC Series Microcomputer Data Manual IS available which gives sumer appliances, industrial timing and control applications. The additIOnal detailed data on PIC based system design. 12-bit instruction word format provides a powerful yet easy to use PIC16C55 BLOCK DIAGRAM GENERAL REGISTER FILES (Fl0-F37) ~ ~RBO.7 RCO-7 INSTRUCTION OECODE & CONTROL 12 4-62 PIC16C55 INsr~~ ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC series microcomputer is and the I/O Registers The general purpose registers are used for based on a register file concept with simple yet powerful com- data and control information under command of the Instructions. mands designed to emphasize bit, byte, and register transfer The Arithmetic Logic Unit contains one temporary working regis- operations. The instruction set also supports computing functions ter or accumulator (W Register) and gating to perform Boolean as well as these control and interface functions. functions between data held in the working register and any file Internally, the PIC is composed of three functional elements con- register nected together by a single bidirectional bus' the Register File The Program ROM contains the operational program for the rest composed of 32 addressable 8-bit registers, an Anthmetic Logic of the logic within the controller. Sequencing of microinstructions Unit, and a user-defined Program ROM composed of 512 words is controlled via the Program Counter (PC) which automatically each 12 bits in width. The Register File is divided into two func- increments to execute in-line programs Program control opera- tional groups: operational registers and general registers. The tions can be performed by Bit Test and Skip instructIOns, Jump operational registers include, among others, the Real Time Clock Instructions, Call instructions, or by loading computed addresses Counter Register, the Program Counter (PC), the Status Register, into the PC. In addition, an on-chip two-level stack is employed to provide easy to use subrouti ne nesti ng PIN FUNCTIONS Signal Function OSC1 (input), OSC2 (output) Oscillator pins. These pins are used to derive the internal clock for the chip. A crystal, ceramic resonator or RC network may be used in conjunction with OSC1 and OSC2. Additionally, OSC1 may be driven by an external oscillator. RTCC (input) Real Time Clock Counter. File 1 increments on falling edges applied to this pin. This register can be loaded and read by the program. RAO-3 (input) Dedicated input lines read under control'of the program.The 4 MSB's are always read as logic zeroes. RBO-7 (output) Dedicated output lines, user programmable under direct control of the program. RCO-7 (input/output) User programmable input/output lines. These are controlled by the program to be inputs and/or outputs. MCLR (input) Master Clear. Used to initialize the internal ROM program to address 777 octal and set output status latches into the high impedance state. ClK OUT (output) A signal derived from the internal oscillator. Used by external devices to synchronize them- selves to PIC timing. TEST Used for testing purposes only. Must be connected to Vss or left open circuit for normal operation. Power supply. Ground PIN CONFIGURATION 28 LEAD DUAL IN LINE --.), OSC1 OSC2 ---+ ~VOD 'fY1C[RE-- ---+ATCC elK OUT--?o- ~Vss AC7~ TEST RC6~ ---30 RAO AC5~ ~RA1 RC4~ ~AA2 RC3~ ~AA3 RC2 ~ABO AC1~ .e--- RB1 ACO~ 1(4-7)-d None 001 111 d I I I I I (1700) Increment I, SkIp il Zero INCFSZ I, d 1+1-d, skip il zero None BIT-ORIENTED (11-8) (7-5) (4-0) FILE REGISTER OPERATIONS OP CODE Ib (BIT #) I f (FilE #) Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 010 Obb bI I I I I (2000) BIt Clear I BCF I, b O-I(b) None 010 lbb bI I I I I (2400) BIt Set I BSF I, b 1-I(b) None 011 Obb bI I I I I (3000) BIt Test I, Skip il Clear BTFSC I, b BIt Test I(b): skip il clear None 011 lbb bI I I I I (3400) BIt Test I, SkIp II Set BTFSS I, b Bit Test fIb): skip is set None (11-8) (7-0) LITERAL AND CONTROL OP CODE k (LITERAL) OPERATIONS Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 000 000 000 010 (0002) Return RETURN Stack-PC None 000 000 Off I I I (0000) Tristate port I TRIS W-Tristate status I [f=F6 or F7) None 100 Okk kkk kkk (4000) Return and place Loteral in W RETLW k-W, Stack-PC None 100 1k k kkk kkk (4400) Call subroutIne (Note 1) CALL PC+1 - Stack, k - PC None 101 kkk kkk kkk (5000) Go To address (k is 9 bIts) GOTO k-PC None 110 Okk kkk k k k (6000) Move Loteral to W MOVLW k ~W ~M 110 1kk kkk kkk (6400) Inclusive OR Loteral and W 10RLW k kVW-W Z 111 Okk kkk kkk (7000) AND Literal and W ANDLW k k.W-W Z 111 1k k kkk kkk (7400) ExclusIve OR Loteral and W XORLW k kGlW-W Z NOTES: 1. The 9th bit of the program counter in the PIC is zero for a CALL and a MOVWF F2. Therefore, subroutines must be located in program memory locations 0-3778 , However, subroutines can be called from anywhere in the program memory since the Stack is 9 bits wide. 2. When an I/O register is modified as a lunction of itself, the value used will be that value present on the output pins. For example, an output pin which has been latched high but is driven low by an external device, will be relatched in the low state. 3. TRIS I(where 1=6 or 7) causes the contents of W to be written to the tristate latches of the specified lile. A one forces the pin to trist the output buffer to a high impedance state. 4-65 PIC16C55 SUPPLEMENTAL INSTRUCTION SET SUMMARY The lollowing supplemental instructions summarized below alent to the basic instruction BCF 3,0 ("Bit Clear, File 3, Bit 0"). represent specific applications 01 the basic PIC instructions. For These instruction mnemonics are recognized by the PIC Cross example, the "CLEAR CARRY" supplemental instruction is equiv- Assembler (PICAL). Mnemonic, Equivalent Status Instruction-Binary (Octal) Nama Operands Operatlon(s) Affected 010 000 000 011 (2003) Clear Carry CLRC BCF 3, 0 - 010 100 000 all (2403) Set Carry SETC BSF 3, 0 - 010 000 100 011 (2043) Clear Digit Carry CLRDC BCF 3,1 - 010 100 100 011 (2443) Set Digit Carry SETDC BSF 3,1 - 010 001 000 011 (2103) Clear Zero CLRZ BCF 3, 2 - 010 101 000 011 (2503) Set Zero SETZ BSF 3,2 - 011 100 000 all (3403) Skip on Carry SKPC BTFSS 3, 0 - - 011 000 000 011 (3003) Skip on No Carry SKPNC BTFSC3,O - 011 100 100 011 (3443) Skip-On Digit Carry -SKPDC BTFSS3,l - 011 000 100 011 (3043) Skip on No Digit Carry SKPNDC BTFSC 3,1 - all 101 000 011 (3503) Skip on Zero SKPZ BTFSS 3, 2 - 011 001 000 011 (3103) Skip on No Zero SKPNZ BTFSC 3, 2 - 001 000 1 II I II (1040) Test File TSTFI MOVFI,l Z 001 000 oI I I I I (1000) Move File to W MOVFWI MOVF I, 0 Z 001 001 1 II Ilf (1140) Negate File NEGF I,d COMFI,l 001 010 d I I II I (1200) INCFI, d Z all 000 000 011 (3003) Add Carry to File ADDCF f, d BTFSC 3,0 001 010 d I I I II (1200) INCFI, d Z 011 000 000 011 (3003) Subtract Carry Irom File SUBCF I,d BTFSC 3,0 000 011 dl I I I I (0300) DECF I, d Z 011 000 100 011 (3043) Add Digit Carry to File ADDDCF I,d BTFSG 3,1 001 010 d I I I I I (1200) INCFI,d Z 011 000 100 011 (3043) Subtract Digit Carry Irom File SUBDCF I,d BTFSC 3,1 000 all d I I I II (0300) DECF I,d Z 101 kkk kkk kkk (5000) Branch Bk GOTOk - 011 000 000 011 (3003) Branch on Carry BC k BTFSC 3,0 101 kkk kkk kkk (5000) GOTOk - 011 100 000 011 (3403) Branch on No Carry BNC k BTFSS 3,0 101 kkk kkk kkk (5000) GOTOk - 011 100 100 011 (3043) Branch on Digit Carry BDC k BTFSC 3,1 101 kkk kkk kkk (5000) GOTOk - 011 001 000 011 (3443) Branch on No Digit Carry BNDC k BTFSS 3,1 101 k kk kkk kkk (5000) GOTOk - 011 101 000 011 (3103) Branch on Zero BZ k BTFSC 3,2 101 kkk kkk kkk (5000) GOTOk - all 101 000 011 (3503) Branch on No Zero BNZk BTFSS 3,2 101 kkk kkk kkk (5000) GOTOk - 4-66 PIC16C55 1/0 Interfacing The equivalent circuit for an 1/0 port bit is shown below as It would PIC 1/0 Port, the data is latched at the port and the pin can be interface with either the input of a TTL device (PIC is outputting) connected directly to a TTL gate input. When inputting data thru or the output of a tri-state TTL device (PIC is inputting). Each 1/0 an 1/0 Port, the port must first be set to the high impedance state port bit can be individually time multiplexed between input and under program control. This turns off 0 , and 02and turns on 03(if output functions under software control. When outputting thru a present), allowing the TTL tri-state device to drive the pin. TYPICAL INTERFACE-BIDIRECTIONAL 1/0 LINE (shown In active I/O state) - ---. CONTROL LINES PIC 110 BIT voo I Vee (INTERNAL 0, I DATA BUS) I I I I I I TTL DEVICE INPUT 1_ _ _ _ _ I I ,- ~ I I Vee I I I I I I VDD~ I I I I I I I I I I I I I * MASK OPTIONAL PULL-DOWN TRANSISTOR I I TTL DEVICE OUTPUT * * MASK OPTIONAL PULL-UP TRANSISTOR (3-STATE) _ _ _ _ _ _ _ _ _ -.J L ___ _ programming cautions. This principle is the same whether operat- Programming Cautions ing on individual bits or the entire port. Some instructions operate internally as input followed by output The use of the bidirectional 110 ports are subject to certain rules of operations. The BCF and BSF instructions, for example, read the operation. These rules must be carefully followed in the instruc- entire port into the CPU, execute the bit operation, and re-output tion sequences written for 1/0 operation. (Note that for an output the result. only port the latch, not the pin is read.) Successive Operations on Bidirectional I/O Ports Bidirectional 1/0 Ports Care must be exercised if successive instructions operate on the The bidirectional ports may be used for both input and output same 110 port. The sequence of instructions should be such to operations. For input operations these ports are non-latching. Any allow the pin voltage to stabilize (load dependent) before the next input must be present until read by an input instruction. The instruction which causes that file to be read into the CPU (MOVF, outputs are latched and remain unchanged until the output latch is BIT SET, BIT CLEAR, and BIT TEST) is executed. Otherwise, the rewritten. For use as an input port the output must be set to the previous state of that pin may be read intothe CPU ratherthan the high impedance state via the tri-state latch. Thus the external new state. This will happen if tpd (See 1/0 Timing Diagram) is device inputs to the PIC circuit by forCing the input line high or greater than '/st ey (min). When in doubt, it is better to separate low. If the input lines are not tri-stated then refer to PIC1650A these instructions with a NOP or other instruction. 4-67 PIC16C55 ELECTRICAL CHARACTERISTICS Maximum Ratings· Ambient Temperature Under Bias •••••••••••••••••••• " ••• 125·C * Exceeding these ratings could cause permanent dam- Storage Temperature ••••••••••••••••••••••••• -55· C to +150· C age to the device. This is a stress rating only and func- Voltage on any Pin with Respect to Vss (Note 1) ...•. -0.3V to Voo +0.3V tional operation of this device at these conditions is not Voltage on Voo with Respect to Vss ...........•......... -0.3V to +6.5V implied-operating ranges are specified in Standard Power Dissipation (Note 5) ....•.....•.................•.....•. 300mW Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Standard Conditions (unless otherwise stated): Data labeled "typical" is presented for design guidance DC CHARACTERISTICS only and is not guaranteed. Operating Temperature TA = O·C to +70·C Characteristics Sym Min Typt Max Units Conditions Supply Voltage Voo 2.5 - 6.0 V Supply Current 100 - - 2 mA Voo - 4V } All 1/0 pins tri-state, - - 5 mA Voo= 6V tCY= 4psec Input Low Voltage V'L Vss - 0. 2Voo V Input High Voltage V'H O.evoo - - V Output High Voltage (RBO-7, RCO-7) VOH Voo-0.4 - - V ISOURCE = 0.2mA, Voo = 4.75V Voo-0.4 - - V ISOURCE = eOpA, VDO = 2.5V Output Low Voltage (RBO-7, RCO-7) VOL - - 0.4 V IS'NK - 0.2mA, Voo - 2.5V (Note 1) IS'NK = 1.6mA, Voo = 4.75V Input Low Current (RAO-3, RCO-7) (Note 2) I'L - - 250 pA Voo = 6V, V'N = 0.4V Input High Current (RAO-3, RCO-7) (Note 2) I'H 2 - - pA V'N =Voo -0.4V Leakage Current (Note 3) ILC -1 - 1 pA Vss " Vp'N" Voo tTypical data is at TA = 25· C, Voo = 5.0V. NOTES: 1. The output pull-down transistor can be removed via a mask option to facilitate interfacing with external circuitry which has signal swings below Vss. If this is the case, the maximum voltage permitted to be applied to the pin is -12V with respect to Voo. 2. Current is being sourced by the internal pull-up resistors which are available as a mask option on ports RAO-3and RCO-7. (RCO-7 have their pull-ups turned off when selected as outputs.) 3. This applies to ports RAO-3 and RCO-7 without the mask optional internal pull-up resistors, port RBO-7 and RCO-7 in the high impedance state, RTCC, MCLR and OSC 1. 4. Total output sink current for all output pins (including CLK OUT) must not exceed 50mA. Total output source current must not exceed 20mA. Maximum output sink or source current for each individual output must not exceed lamA. 5. Total power dissipation should not exceed 300mW for the package. Power dissipation is calculated as follows: Po,s = Voo [100 - I (I'N + 10H)J + I (Voo - V'N) (I'N) + I (Voo - VOH) (lOH) + I (VOL) (IOL)' 4-68 PIC16C55 II~I Standard Condltlonl (unless otherwise stated): AC CHARACTERISTICS Operating Temperature TA = O·C to +70·C, Voo= 2.5 - 6.0Vexcept as noted. Characteristics Sym Min Typ Max Units Conditions Oscillator Frequency losc 25 - 1000 kHz Voo= 2.5V losc 25 - 1250 kHz Voo= 3.2V losc 25 - 1650 kHz Voo =5.0V losc 25 - 1600 kHz Voo =6.0V CLOCK OUT Period (Instruction Cycle Time) tCY - 5lfosc - p.s (Note 1) Pulse Width tCLKH - 1lfosc - p.s Rise/Fall Time t,ltf - - 200 ns 1 TTL load + 60pF Voo = 5V RTCC Input Period tRT tc~2p.s - - - (Notes 2 and 3) Pulse Width (High or low level) tpw 500 - - ns I/O Ports Data Input Setup Time ts - - 1/5I Cy-300 ns Data Input Hold TimE! t. 0 - - ns Data Output Propagation Delay tpd - - 1.6 p.s 60pF + 2.2K to 0.8Voo tTyplcal data Is at TA = 25· C, Voo = 5.0V NOTES: 1. Instruction cycle period (t CY) equals live times the input oscillator time base period. 2. Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the RTCC input, ClK OUT may be directly tied to the RTCC input. 3. The maximum Irequency which may be input to the RTCC pin Is calculated as lollows: f(max)=---1- = 1 tRT (moo) tCY (mIn) +0.2p.s For example: if tCY = 4p.s, I (max) = 4.~ = 238KHz. 4-69 PIC16C55 I/O TIMING CLK OUT 11---"""1 /\ 1\ 1\ \ I \ I GATE \ I \'-_____; I'NC","'",., -PC ADDRESS ROM mcu"i"'W,"PRITE INSTRUCTIONI I T0---i 110 FOR NEXT INTERNAL INSTRUCTION B~S Tpd '--- I OUTPUT \/.. . . I A_ 1,1 __V_A_L_ID_ _ ~~;;nd fall times are load dependent I I I --l Ts :-- - Th:- INPUT --------:..,IX~STABLEt_L I I I : I, ClK OUT TIMING I ... t ClK" __ I I CLKOUT Jl ! :t-------tCLKL----l0-1 I _ _ _ _ _ _ _ _ _ _ _...... ...·_--...:I----tCy------_~"'i1 1 l! L RTCCTIMING ,... I tpw ~, .. tpw --I I I RTCC----...J J \ , I I ... tAT 1 L I --I VDO = 5 OV 4-70 PIC16C55 PIC16C55 OSCILLATOR OPTIONS (TYPICAL CIRCUITS) RC OPTION OPERATION F= OSCl (PIN 1) OSC2 (PIN 28) C 10K"; R"; 1M. I TYPICAL VALUES R;;>10K C ;;>100pf CRYSTAL INPUT OPERATION r - - -...- -.....----~ ~ OSCl (PIN 1) --LC T >.l ~R OXTAL ..._T--4t----_ __. . ;~ OSC2 (PIN 28) _ .... C TYPICAL VALUES 1 R=lM C= 10-20pF EXTERNAL CLOCK INPUT OPERATION CLOCK FROM EXTSYSTEM~ ~ ... ----"'0... OSCl (PIN 1) N.C.--E(~-- OSC2 (PIN 28) MASTER CLEAR TYPICAL VALUES R=lM C =O.lpF Master Clear may require up to a 75ms delay before activation after power Is applied to the Veepln for a 1MHz crystal to start up. To achieve this an external RC configuration as shown can be used (assuming Vee Is applied as a step function). The RC oscillator option. shown above. should start up in less time. 4-71 PIC1656 8 Bit Microcomputer FEATURES control electronic games and provide enhanced capabilities to Vectored interrupt servicing capability vending machines, traffic lights, radiOS, television, consumer User programmable appliances, Industrial timing and control applications The 12-bit Intelligent controller for stand-alone applications instruction word format provides a powerful yet easy to use 32 8-bit RAM registers instruction repertoire emphaSIZing Single bit manipulation as well 512 x 12-blt program ROM as logical and arithmetic operations using bytes. Arithmetic Logic Unit The PIC1656 is fabricated with N-Channellon Implant technol- Real Time Clock/Counter ogy resulting in a high performance product with proven reliability Event counter capability and production history. Only a single wide range power supply Is Self-contained oscillator for RC network or crystal required for operation, and an on-chip oscillator provides the oper- Access to RAM registers Inherent In instruction ating clock with an external crystal ceramic resonator or LC network Wide power supply operating range (4.5V to 7.0V) to establish the frequency. Inputs and outputs are TTL-compatible. Available in two temperature ranges: O· to 70· C and -40· ExtenSive hardware and software support is available to aid the to85·C user in developing an application program and to verify perfor- • 4 inputs, 8 outputs, 8 bi-directlonall/O lines mance before committing to mask tooling. Programs can be • 3 level stack for subroutine nesting assembled Into machine language uSing PICAL, eliminating the • Same PIC instruction sets as PIC1650A or PIC1855A with burden of coding with ones and zeros. PICAL is available in a the addition of RETURN (0002.) instruction Fortran IV version that can be run on many popular computer systems. Once the application program is developed several DESCRIPTION options are available to insure proper performance The PIC's The PIC1656 microcomputer Is an MOS/LSI device containing operation can be verified In any hardware application by using RAM, 1/0, and a central processing unit as well as customer- the PIC1664. The PIC1664 is a ROM-less PIC microcomputer defined ROM on a single chip. This combination produces a low with additional pins to connect external PROM or RAM and to cost solution for applications which require sensing individual accept HALT commands. The PFD1010 Field Demo System is inputs and controlling Individual outputs. Keyboard scanning, available containing a PIC1664 with sockets for erasable CMOS display driving, and other system control functions can be done PROMs. Finally, the PICES II (PIC In-Circuit Emulation System) at the same time due to the power of the 8-bit ALU. provides the user with emulation and debugging capability in The PIC1656 is deSigned for real-time control applications re- either a stand-alone mode or operation as a peripheral to a larger quiring external and internal clock-driven interrupts. The PIC1656 computer system. Easy program debugging and changing is has 20 1/0 lines organized as two 8-bit registers and the4 LSB's of facilitated because the user's program is stored In RAM. With a third register. these development tools, the user can quickly and confidently order the masking of the PIC·s ROM and bnng hiS application into The Internal ROM contains a customer-defined program uSing the market. the PIC's powerful instruction set to specify the overall functional characteristics of the device The 8-bit input/output registers A PIC Senes Microcomputer Data Manual is available which gives provide latched lines for Interfacing to a limitless variety of appli- addillonal detailed data on PIC based system design. cations. The PIC can be used to scan keyboards, drive displays, PIC1656 BLOCK DIAGRAM INSTRUCTION WORD 12 SeQUENCE CONTROL INSTRUCTION DECODER ~--~~~~~~~---r------~~-----'----'-~ CO:'~OL INTERNAL ADDRESS BUS L-.....7;:---,.-J LOGIC LITERAL DATA 4-72 PIC1656 ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC series microcomputer is and the I/O Registers. The general purpose registers are used for based on a register file concept with simple yet powerful com- data and control information under command of the instructions. mands designed to emphasize bit, byte, and register transfer The Arithmetic Logic Unit contains one temporary working regis- operations. The instruction set also supports computing functions ter or accumulator (W Register) and gating to perform Boolean as well as these control and interface functions. functions between data held in the work,ng register and any file Internally, the PIC is composed of three functional elements con- register. nected together by a single bidirectional bus: the Register File The Program ROM contains the operational program for the rest composed of 32 addressable 8-bit registers, an Arithmetic Logic of the logic within the controller. Sequencing of microinstructions Unit, and a user-defined Program ROM composed of 512 words is controlled via the Program Counter (PC) which automatically each 12 bits in width. The Register File IS divided into two func- increments to execute in-line programs. Program control opera- tional groups: operational registers and general registers. The tions can be performed by Bit Test and Skip Instructions, Jump operational registers include, among others, the Real Time Clock instructions, Call instructions, or by loading computed addresses Counter Register. the Program Counter (PC), the Status Register, into the PC. In addition, an on-Chip two-level stack is employed to provide easy to use subroutine nesting. Activating the MCLR input on power up initializes the ROM program to address 7778 PIN FUNCTIONS Signal Function OSC1 (Input). Oscillator inputs. The oscillator frequency can be set by a crystal (if a precise frequency is required), ceramic OSC2 (output) resonator or LC network, or driven from an external source. RT (Input) Real Time Input. Function is controlled by bits 4 and 7 of the Status Word Register (F3). A high-to-Iow transition of this pin will increment the RT register (event counter mode) or will initiate a vectored interrupt (external interrupt mode). RAO-3 (Input) Dedicated input lines, read under direct control of the program. The 4 MSB's are always read as logic zeroes. RBO-7 (output) Dedicated output lines, user programmable under direct control of the program. RCO-7 (Input/output) User programmable input/output lines. These lines can be inputs and/or outputs and are under direct control of the program. MClR (Input) Master Clear. Used to initialize the internal ROM program to address 777. and latch I/O registers F6 and F7 low. Also clears bits 3-7 of status register (F3). ClK OUT (output) A signal derived from the internal oscillator. Used by external devices to synchronize themselves to PIC timing. TEST Used for testing purposes only. Must be grounded for normal operation. VDD Primary Power Supply. Vss GND. PIN CONFIGURATION 28 LEAD DUAL IN LINE Top View ~ ~OSC1[ 01 28pOSC2~ ----7 Vo,: [ 2 2'PMCLR_ ~ AT[ 3 28pCLKOUT~ -?>- Vss [ 4 25pRC'~ --?> TEST [ 5 24PRC6~ ~RAO[ 6 ~RA1[ , 23pRC5~ 22 P RC4--?> ~RA2[ 8 21 :.JRC3~ ~RA3[ 9 20 JRC2~ _RBO[ 10 19~RC1~ _RB1[ 11 18 JRCO~ _RB2[ 12 17 JRB'~ _RB3[ 13 16 JRB6--?> _RB4[ 14 15 ::J AB5----31> 4-73 PIC1656 REGISTER FILE ARRANGEMENT File (Oclal) Funcllon FO Not a physically implemented register. Fa calls for the contents of the File Select Register (low order 5 bits) to be used to select a file register. Fa is thus useful as an indirect address pointer. For example, W+FO-W will add the contents'of the file register pointed to by the FSR (F4) to the contents of Wand place the result in W. Fl Real Time Clock Counter Register. This register can be loaded and read by the microprogram. The RTCC register keeps counting up after zero is reached. The counter increments on the failing edge olthe input RT. However, if data are being stored in the RTCC register simultaneously with a negative transition on the RTCC pin,the RTCC register will contain the new stored value and the external transition will be ignored by the microcomputer. F2 Program Counter (PC). The PC is automatically incremented during each instruction cycle, and can be written Into under program control (MOVWF F2). The PC is nine bits wide, but only its low order 8 bits can be read under program control. F3 Status Word Register. F3 can be altered under program control only via bit set, bit clear, or MOVWF F3 instruction. (7) (6) (5) (4) (3) (2) (1) (0) CNT RTCR IR RTCE IE z DC C BITO: Carry For ADD and SUB instructions, this bit is set if there is a carry out from the most significant bit of the (C) bit resultant. For ROTATE instructions, this bit Is loaded with either the high or low order bit of the source. BIT 1: Digit Carry For ADD and SUB instructions, this bit is set if there is a carry out from the 4th low order bit of the (DC) bit resultant. BIT2: Zero Set if the result of an arithmetic operation is zero. (Z) bit BITS: 3-7 Interrupt Service Flags (Cleared on MCLR). BIT 3: Interrupt Enable (I E) status bit. When sella a one, this bit enables the externallnterrupllo occur when and if the interrupt request (IR) status bit (bit 5) is also set. When reset to a zero, the external interrupt is disabled. BIT 4: Real Time Clock Enable (RTCE) status bit. When set to a one, this bit enables the real-time clock/counter interrupt to occur when and if the real-time clock interrupt request (RTCR) status bit (bit 6) is also set. When reset to a zero, the interrupt Is disabled. BIT 5: Interrupt Request (IR) status bit. This bit Is set by a high-to-low transition on the RT pin, generating an interrupt request. I(and when the interrupt enable (IE) bit (bit3) Is also set, an Interrupt will occur. This causes the current PC address to be pushed onto the stack and the processor to execute the instruction at location 760 a. The IR bit is then immediately cleared. Note that the IR bit can be set regardless of the state of the IE bit, thus requesting an interrupt which can be serviced or not at the programmer's option. BIT 6: Real Time Clock/Counter Interrupt Request (RTCR) status bit. This bit is set when the RTCC register (File 1) transitions from a full count (377 a) to a zero count (OOOa)' If and when the RTCE bit isalso set, an interrupt will occur. This causes the current PC address to be pushed onto the stack and the processor to execute the instruction at location 740 a. The RTCR bit Is then immediately cleared. Note that the RTCR bit can be set regardless of the state of the RTCE bit, thus requesting an Interrupt which can be serviced or not, at the programmer's option. NOTE: Although the processor cannot be interrupted during an interrupt (I.e., until the AETFllnstruction Is executed). (an) other Interrupt(s) can be requested (status bits 5 and/or 6 can be set). This will cause the processor to reinterrupt immediately upon its return from the current interrupt assuming the Interrupt(s) Is (are) enabled. (Pending external Interrupts have priority over pendIng real-tIme clock/counter Interrupts.) BIT 7: Count Select (CNT) status bit. When CNT bit is set to a one, the RTCC register will increment on each high-to-low transition at the RT pin. If the CNT bit Is sent to a zero, the RTCC register will increment at the Internal clock rate (1/16 of the frequency at the OSC pins). F4 File Select Register (FSR). Low order 5 bits only are used. The FSR Is used in generating effective file register addresses under program control. When accessed as a directly addressed file, the upper 3 bits are read as ones. F5 Input Register A (AO-A3). A4-A7 defined as zeroes. Fa Output Register B (BO-B7) F7 I/O Register (CO-C7) Fl0-F37 General Purpose Registers 4-74 PIC1656 INTERRUPT LOGIC RTCC REGISTER The Interrupt logic generates an interrupt request to the control The RTCC register (F1), in conjunction with the status register, is unit to initiate a vectored interrupt. One of two possible interrupt programmable for internal clock or RT clock operation requests (external interrupt request or RTCC Interrupt request) Bit 7 of the status register, when set to a one, selects the RT pin as can be generated. Only one interrupt at a time can be serviced. the clocking source and, when reset to a zero, selects the internal Nested interrupts are not possible since additional interrupts are clock as the clocking source. When the RTCC register transitions disabled by an internal lalch. from a count of 3778 to a count of 000 8, bit 6 (RTCR) of the status The contents of the status register indicate whether any interrupts register sets to a one, requesting a real-time clock interrupt. An are pending. If only one interrupt is pending, it is serviced imme- interrupt to 740 8 is generated if RTCE (bit 4) is set. diately providing the interrupt is enabled (i.e., IE or RTCE is set) The RTCC register can be preset and read under program control and the processor IS not already servicing another Interrupt If both at any time. If the RTCC register is not used as a counter, itcan be external and RTCC interrupts are pending and enabled, the exter- used as a general-purpose data register provided the RT pin is tied nallnterrupt has priority. If an external Interrupt is Input on the RT low and CNT is set to a one. (Note MCLR resets CNT.) pin while another external Interrupt IS being serviced, a new exter- nal interrupt request will be generated to the processor which will I/O REGISTERS (F5-F7) reinterrupt immediately upon its return from the current interrupt. The 1/0 interface consists of three 110 registers controlling 20 CAUTION input/output lines. These registers (A, B, and C) are addressable A return from an interrupt routine must not be executed as F5 through F7, respectively. Register A (F5) controls four using any other instruction but RETURN. If any other dedicated non-latching input lines Register B (F6) controls eight instruction is executed to restore the return address to the dedicated latched output lines, and register C (F7) controls eight program counter, the interrupt logic will not be enabled. bidirectional input/output lines. As with the PIC1655A, register file This effectively prevents any other interrupts from being F-10, which in the PIC1650A was 1/0 register D, is an additional serviced. If the interrupt routine contains subroutines, general purpose register in the PIC1656. returns from the subroutines should be made using the RETLW instruction. If the RETURN instruction is used mis- takenly, additional interrupts that occur while the first inter- CLOCK GENERATOR rupt routine IS in process will be enabled and can corrupt The internal timing rate of the PIC1656 is controlled by an exter- the interrupt routine in process. nal control source connected across two input pins, ose 1 and OSC 2. ThiS may be established by an RC network (RC control) STACK connected across the OSC 1 and OSC 2 pins or by a non-buffered A three-level stack is provided to accommodate three return external crystal connected across the ose 1 and OSC 2 pins. addresses. One level of the stack should be reserved to store the The PIC1656 clock generator divides the frequency at the OSC 1 return address of an interrupt. The other two levels provide stor- and OSC 2 pins by 16 to derive the internal machine cycle rate. A age for two return addresses from a nested subroutine. 4MHz frequency at the OSC 1 and OSC 2 pins will result in a 411S NOTE: One level of the stack must always be available to (O.25MHz) instruction cycle. This enables the use of a low-cost accommodate an interrupt return address. When an inter- standard 3.58MHz crystal to provide a machine cycle of approxi- rupt occurs, the firmware automatically pushes the return mately 411S. Figure 14 illustrates both the crystal and RC input address onto the stack. Should three subroutines be configurations to the OSC 1 and OSC 2 input pins. nested, the return address of the current subroutine will be destroyed. Only if the PIC1656 is not programmed for inter- rupts is it permissible to use all three levels of the stack for subroutines. 4-75 PIC1656 PIC W register. II "d" is one, the result IS returned to the Ille Basic Instruction Set Summary register specilied in the instruction Each PIC instruction IS a 12-bit word divided mto an OP code For bit-oriented instructions, "b" represents a bit field deSignator which specilies the instruction type and one or more operands which selects the number 01 the bit allected by the operation, which lurther specily the operation 01 the instruction. The while "I" represents the number 01 the Iile in which the bit IS loll owing PIC instruction summary lists byte-oriented, bit-ori- located ented, and literal and control operations. For literal and control operations, "k" represents an eight or nine For byte-oriented instructions, "I" represents a Ille register bit constant or iiteral value. designator and "d" represents a destination designator. The lile For an OSCillator Irequency 01 4MHz the instruction execution register designator specilies which oneol the32 PIC file registers time is 4 psec, unless a conditional test is true or the program is to be utilized by the instruction. The destination deSignator counter is changed as a result 01 an instruction. In these two specilles where the result 01 the operation perlormed by the cases, the instruction execution time is 8 psec. Instruction IS to be placed II "d" is zero, the result is placed In the BYTE-ORIENTED FILE REGISTER (5) (4-0) OPERATIONS OP CODE f (FILE #) For d = 0, I-W (PI CAL accepts d = 0 or d = W in the mnemonic) d = 1, 1- I (II d is omitted, assembler assigns d = 1.) Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 000 000 000 000 (0000) No Operation NOP None 000 000 1 II I I I (0040) Move W to I (Note 1) MOVWF W-I None 000 001 000 000 (0100) Clear W CLRW O-W Z 000 001 1I I I I I (0140) Clear I CLRF I 0-1 Z 000 010 dI I I I I (0200) Subtract W Irom I SUBWF I, d I - W-d [f+W+1-d) C,DC,Z 000 011 dI I I I I (0300) Decrement I DECF I, d I- 1-d Z 000 100 dI I I I I (0400) Inclusive OR Wand I 10RWF I, d WVI-d Z 000 101 dI I I I I (05(lO) ANDWand I ANDWF I, d W.I-d Z 000 110 dI I II I (0600) Exclusive OR Wand I XORWF I, d WIDI-d Z 000 In dI I II I (0700) Add Wand I ADDWF I,d W+I-d C,DC,Z 001 000 dI I I II (1000) Move I MOVF I, d I-d Z 001 001 dI I I II (1100) Complement I COMF I, d f-d Z 001 010 dI I II I (1200) Increment I INCF I,d f+1-d Z 001 011 dI I I II (1300) Decrement I, Skip II Zero DECFSZ I, d 1- l-d, skip il Zero None 001 100 dI I I II (1400) Rotate Right I RRF I, d I(n)-d(n-l), I(O)-C, C-d(7) C 001 101 dI I II I (1500) Rotate Left I RLF I, d I(n)-d(n+l), 1(7)-C, C-d(O) C 001 110 dI I I I I (1600) Swap halves I SWAPF I, d 1(0-3)">f(4-7)-d None 001 111 dI I I II (1700) Increment I, Skip il Zero INCFSZ I, d f+1-d, skip il zero None BIT-ORIENTED (11-8) (7-5) (4-0) FILE REGISTER OPERATIONS OP CODE I b (BIT #) I f (FILE #) Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 010 Obb bI I I I I (2000) Bit Clear I BCF I, b o-I(b) None 010 1 bb bll I II (2400) Bit Set I BSF I, b 1-I(b) None 011 Obb bll I II (3000) Bit Test I, Skip il Clear BTFSC I, b Bit Test I(b): skip il clear None 011 1 bb bll I II (3400) Bit Test I, Skip il Set BTFSS I, b Bit Test I(b): skip is set None (11-8) (7-0) LITERAL AND CONTROL OP CODE k (LITERAL) OPERATIONS Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 000 000 000 010 (0002) Return Irom Interrupt RETURN Stack-PC None 100 Okk kkk kkk (4000) Return and place Literal m W RETLW k k-W, Stack-PC None 100 1 kk kkk kkk (4400) Call subroutine (Note 1) CALL k PC+1 - Stack, k - PC None 101 kkk kkk kkk (5000) Go To address (k is 9 bits) GOTO k k-PC None 110 Okk kkk kkk (6000) Move Literal to W MOVLW k k-W None 110 1 kk kkk kkk (6400) Inclusive OR Literal and W 10RLW k kVW-W Z 111 Okk kkk kkk (7000) AND Literal and W ANDLW k k·W-W Z 111 1 kk kkk kkk (7400) Exclusive OR Literal and W XORLW k kIDW-W Z NOTES: 1. The 9th bit 01 the program counter in the PIC is zero lor a CALL and a MOVWF F2. Therelore, subroutines must be located in program memory locations 0-377•. However, subroutines can be called Irom anywhere in the program memory since the Stack is 9 bits wide. 2. When an I/O register is modilied as a lunction 01 itsell, the value used will be that value present on the output pins. For example, an output pin which has been latched high but is driven low by an external device, will be relatched in the low state. 3. See notes on input only and output only ports (F5 and F6, respectively). 4-76 PIC1656 SUPPLEMENTAL INSTRUCTION SET SUMMARY The following supplemental instructions summarized below alent to the basic instruction BCF 3,0 ("Bit Clear, File 3, Bit 0"). represent specific applications of the basic PIC instructions. For These instruction mnemonics are recognized by the PIC Cross example, the "CLEAR CARRY" supplemental instruction is equiv- Assembler (PICAL). Mnemonic, Equivalent StatuI Instruction-Binary (Octal) Name Operandi Operatlon(l) Affected 010 000 000 011 (2003) Clear Carry CLRC BCF 3, 0 - 010 100 000 011 (2403) Set Carry SETC BSF 3,0 - 010 000 100 011 (2043) Clear Digit Carry CLRDC BCF 3,1 - 010 100 100 011 (2443) Set Digit Carry SETDC BSF 3, 1 - 010 001 000 011 (2103) Clear Zero CLRZ BCF 3,2 - 010 101 000 011 (2503) Set Zero SETZ BSF 3,2 - 011 100 000 011 (3403) Skip on Carry SKPC BTFSS 3,0 - 011 000 000 011 (3003) Skip on No Carry SKPNC BTFSC 3, 0 - 011 100 100 011 (3443) Skip on Digit Carry SKPDC BTFSS 3,1 - 011 000 100 011 (3043) Skip on No Digit Carry SKPNDC BTFSC 3,1 - 011 101 000 011 (3503) Skip on Zero SKPZ BTFSS 3, 2 - 011 001 000 011 (3103) Skip on No Zero SKPNZ BTFSC 3, 2 - 001 000 1f f f f f (1040) Test File TSTFf MOVF f, 1 Z 001 000 Off f f f (1000) Move File to W MOVFWf MOVF f, 0 Z 001 001 1f f f f f (1140) Negate File NEGF f,d COMF f, 1 001 010 df f f f f (1200) INCF f, d Z 011 000 000 011 (3003) Add Carry to File ADDCF f, d BTFSC 3,0 001 010 d f f f f f (1200) INCF f, d Z 011 000 000 011 (3003) Subtract Carry from File SUBCF f,d BTFSC 3,0 000 011 d f f f f f (0300) DECF f, d Z 011 000 100 011 (3043) Add Digit Carry to File ADDDCF f,d BTFSG 3,1 001 010 d f f f f f (1200) INCF f,d Z 011 000 100 011 (3043) Subtract Digit Carry from File SUBDCF f,d BTFSC 3,1 000 011 d f f f f f (0300) DECF f,d Z 101 kkk kkk kkk (5000) Branch Bk GOTOk - 011 000 000 011 (3003) Branch on Carry BC k BTFSC 3,0 101 kkk kkk kkk (5000) GOTOk - 011 100 000 011 (3403) Branch on No Carry BNC k BTFSS 3,0 101 kkk kkk kkk (5000) GOTOk - 011 100 100 011 (3043) Branch on Digit Carry BDC k BTFSC 3,1 101 kkk kkk kkk (5000) GOTOk - 01 1 001 000 011 (3443) Branch on No Digit Carry BNDC k BTFSS 3,1 10.1 kkk kkk kkk (5000) GOTOk - 011 101 000 011 (3103) Branch on Zero BZ k BTFSC 3,2 101 kkk kkk kkk (5000) GOTOk - 011 101 000 011 (3503) Branch on No Zero BNZ k BTFSS 3,2 101 kkk kkk kkk (5000) GOTOk - I/O Interfacing can be connected directly to a TTL gate input. When inputting data The equivalent circuit for an 1/0 port bit is shown below as it would thru an 1/0 Port, the portlatch mustfirst be setto a high level under Interface with either the Input of a TTL device (PIC IS outputting) program control. This turns off O2, allowing the TTL open collec- or the output of an open collector TTL device (PIC IS inputting). tor device to drive the pad, pulled up by 0" which can source a Each 1/0 port bit can be Individually time multiplexed between minimum of 100pA. Care, however, should be exercised when input and output functions under software control When output- using open collector devices due to the potentially high TTL ting thru a PIC 1/0 Port, the data IS latched at the port and the pin leakage current which can exist in the high logic state 4-77 PIC1656 TYPICAL INTERFACE-BIDIRECTIONAL I/O LINE ------------------1 r------ I Voo I ON I (INTERNAL - ...- - - - - l I DATA BUS) WRITE I (INTERNAL SIGNAL) I I I ,- ----- I = I I I I READ I = (INTERNAL I SIGNAL) _ _ P~II~I~ Bidirectional 1/0 Ports Input Only Port: (Port RA) The bidirectional ports may be used for both input and output The input only port of the PIC1656 consists of the four LSB's of F5 operations. For Input operations these ports are non-latching. (port RA). An internal pull-up device is provided so that external Any input must be present until read by an input instruction. The pull-ups on open collector logic are unnecessary. The four MSB's outputs are latched and remain unchanged until the output latch of this port are always read as zeroes. Output operations to F5 are is rewritten For use as an Input port the output latch must be set not defined. Note that the BTFSC and BTFSS Instructions are In the high slate. Thus the external deVice inputs to the PIC circuit input only operations and so can be used with F5. Also, file register by forcing the latched output line to the low state or keeping the instructions which leave the results in W can be used. latched output high. This principle IS the same whether operating on Individual bits or the entire port. Output Only Port: (Port RB) Some instructions operate internally as input followed by output The output only port of the PIC1656 consists of F6 (port RB). This operations. The BCF and BSF instructions, for example, read the port contains no input circuitry and is therefore not capable of entire port into the CPU, execute the bit operation, and re-output instructions requiring an Input followed by an output operation. the result. Caution must be used when using these instructions. The only instructions which can validly use F6 are MOVWF and As an example a BSF operation on bit 5 of F7 (port RC) will cause CLRF. all eight bits of F7 to be read into the CPU. Then the BSF opera- Successive Operations on Bidirectional 1/0 Ports tion takes place on bit 5 and F7 IS re-output to the output latches. If another bit of F7 is used asan input (saybitO) then bitO mustbe Care must be exercised if successive instructions operate on the latched high If dunng the BSF Instruction on bit 5 an external same I/O port. The sequence of instructions should be such to device is forCing bitO to the low state then the input/output nature allow the Pin voltage to stabilize (load dependent) before the next of the BSF instruction will leave bit 0 latched low after execution. Instruction which causes thatfile to be read into the CPU (MOVF, In this state bit 0 cannot be used as an input until it is again BIT SET, BIT CLEAR, and BIT TEST) is executed. Otherwise, the latched high by the programmer. Refer to the examples below. previous state olthat pin may be read into the CPU rather than the new state. This will happen If tpd (See I/O Timing Diagram) is greater than v.tey (min). When in doubt, it is better to separate these instructions with a NOP or other instruction. F7 . F7 OUTPUT OUTPUT INPUT What is thought to be happening: What could happen if an input were low: BSF7,5 BSF7,5 Read into CPU: 00001111 Read Into CPU: 00001110 Set bit 5: 00101111 Setbit5: 00101110 Write to F7: 00101111 Write to F7: 00101110 If no inputs were low during the instruction execution, there In this case bit 0 is now latched low and Is no longer useful as an would be no problem. input until set high again. 4-78 PIC1656 IIN~~I ELECTRICAL CHARACTERISTICS Maximum Rallngs* Ambient temperature Under Bias ••••••••••••••••••••••••• 125·C * Exceeding these ratings could cause permanent dam- Storage Temperature ••••••••••••••••••••••••• -55·C to +150·C age to the device. This Is a stress rating only and func- Voltage on any Pin with Respect to Vss ••••••••••••• -0.3V to +12.0V tional operation of this device at these conditions Is not Power Dissipation (Note 1) •••••••••••••••••••••••••••• 1000mW Implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. DC CHARACTERISTICS/PIC1656 Data labeled "typical" Is presented for design guidance Operating Temperature TA = O·C to +70·C only and is not guaranteed. Characteristic Sym Min Typt Max Units Conditions Primary Supply Voltage Vee 4.5 - 7.0 V Primary Supply Current lee - 30 55 mA All 1/0 pins high Input Low Voltage VIL -0.2 - 0.8 V Input High Voltage (except ~, AT & OSC1) V IH, 2.4 - Vee V Input High Voltage (RT & OSC1) V IH2 Vee-l - Vee V Input Low-to-High Threshold Voltage (~) V ILH Vee-l 2.6 Vee V Output High Voltage V OH 2.4 - Veo V 10H= -100pA (Note 2) 3.5 - Voo V 10H=0 Output Low Voltage (1/0 only) VOL' - 0.45 V 10L - 1.6mA, Voo 4.!;iV - - 0.90 V IOL = 5.0mA. Voo= 4.5V (Note 3) Output Low Voltage (CLK OUT) V OL2 - - 0.45 V 10L = 1.6mA ·(Note 3) Input Leakage Current (~, AT&OSC1) ILC -5 - +5 pA Vss " VIN " Voo Output Leakage Current (open drait:! 1/0 pins) IOLO - - 10 pA Vss " VPIN " 10V Input Low Current (all 1/0 ports) IlL -0.2 -0.6 -1.6 mA VIL - 0.4V Internal pullup Input High Current (all 1/0 ports) IIH -0.1 -0.4 -1.4 mA VIH - 2.4V tTypical data is at TA = 25· C, Voo = 5.0V. NOTES: 1. Total power dissi pation for the package is calculated as follows: Po = (Vee) (leo) + I (Vee - VIL) (IIILI> + I (Vee - VOH) (IIoHI> + I (VOL) (IOL)' The term I/O refers to all interface pins; input, output or I/O. 2. Positive current indicates current into pin. Negative current indicates current out of pin. 3. Total IOL for all output pins (I/O ports plus CLK OUT) must not exceed 225mA. 4-79 PIC1656 DC CHARACTERISTICS/PIC16561 Operating Temperature TA = -40·C to +B5°C Characteristic Sym Min Typt Max Units Conditions Primary Supply Voltage Voo 4.5 - 7.0 V Primary Supply Current 100 - 30 BO mA All I/O pins high Input low Voltage VIL -0.2 - 0.7 V Input High Voltage (except ~. 'lIT & OSC1) VIH1 2.4 - Voo V Input High Voltage (AT & OSC1) VIH2 Voo-l - Voo V Input low-to-High Threshold Voltage (UC[R) VILH Voo-1 2.6 Voo V Output High Voltage VOH 2.4 - Voo V IOH = -1001lA (Note 2) 3.5 - Voo V 10H=0 Output low Voltage (I/O only) VOL1 - - 0.45 V 10L = 1.6mA. Voo= 4.5V - - 0.90 V 10L = 5.0mA. V00= 4.5V (Note 3) Output low Voltage (ClK OUT) VOL2 - - 0.45 V 10L = 1.6mA (Note 3) Input leakage Current (~. RT &OSC1) I LC -5 - +5 IlA Vss'" VIN '" Voo Output leakage Current (open drain I/O pins) 10LC ...,- - 10 IlA Vss'" VPIN ... 10V Input low Current (all I/O ports) IlL -0.2 -0.6 -l.B mA VIL = O.4V Internal pullup Input High Current (all 110 ports) IIH -0.1 -0.4 -l.B mA VIH =2.4V tTypical data is at TA = 25·C. Voo= 5.0V. NOTES: 1. Total power dissipation for the package Is calculated as follows: Po= (Vpo) + I (Voo -VILl (IIIJ) + I (Voo -VOH) (1 101-1) + I (VoLl (loll. The term 110 refers to all interface pins; Input. Output or I/O. 2. Positive current Indicates current into pin. Negative current Indicates current out of pin. 3. Totall oL for all output pins (I/O ports plus ClK OUT) must not exceed 225mA. Standard Conditions (unless otherwise stated): AC CHARACTERISTICS/PIC1656, PIC16561 Operating Temperature TA = O°C to +70·C (PICl656). TA = -40·C to +B5°C (PIC16561) Characteristic Sym Min Typt Max Units Conditions Instruction Cycle Time tCY 4 - 20 IlS 0.BMHz-4.0MHz external time base (Note 1) R'rlnput Period tRT lcy+o.2ps - - - High Pulse Width tRTH 'htRT - - - low Pulse Width tRTL 'htRT - - - (Notes 2 and 3) 110 Ports Data Input Setup Time ts - - 'At cv-125 ns Data Input Hold Time th 0 - - ns Data Output Propagation Delay tpel - 600 1000 ns Capacitive load = 50pF OSC11nput External Input Impedance High ROSCH - 108 - 0 Vosc = Voo = 5V} Applies to external External Input Impedance low ROSCL - 108 - 0 Vose =0.4V OSC drive only. NOTES: 1. Instruction cycle period (tCY) equals sixteen times the Input oscillator time base period. 2. Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the RT input. ClK OUT may be directly tied to the RT Input. 3. The maximum frequency which may be input to the RTCC pin is calculated as follows: f( ) = 1 = 1 1 For examp Ie: If tCY = 4iJS. f (max) =~= 3 max tRT (min) tCY (min) +O.2PS 2 BKHz. 4-80 PIC1656 1/0 TIMING ClK OUT f-l--"'"""'\ 1\ 1\ 1\ \ I \ I GATE \ I \ ....------1 I -PC 'NCREMEN'.I ADDRESS ROM EXECU" INSTRUCTIONI AN,",ERpRITE T0--i 1/0 1 FOR NEXT INTERNAL 'N.,RUCm,N BUS .1 TPd I.--- I OUTPUT I VI. . . ~_ I __V_Al_I_D__ ~~:~nd fall times are load dependent I I I ; - T.i"- - Th:- INPUT --------"lIX~STABlEH>C 1 1 1 I CLK OUT TIMING I----*ICy-----i"(\- V.l cy I" ~I Jl I ,,,o~ ; I ----------. Cy -------.. .1! L ---.:..'----I 1.... 0011 RTCCTIMING I .. tRTH ..I .. tRll "I I I I FiTCc-----' I j I \ 1 L , I .. IRT .. I SCHMITT TRIGGER CHARACTERISTICS (RTCC, MCLR and OSC PINS) TA =25°C (TYPICAL) 4.0 VTHRESHOlO. VOLTS 30 ~ i-- -- l - I'- NOT:2, -- I- NOTES: 1. low-Io-High Threshold Vollage (VTlH). 2. High-Io-Low Threshold Vollage (VTHU. 20 NOTE 2 10 4.5 50 5.5 6.0 6.5 7.0 VOlJo VOLTS 4-81 PIC1656 PIC1656 OSCILLATOR OPTIONS (Typical Circuits) LC INPUT OPERATION ..----1 t - - -....- . . OSC1 (PIN 1) losc = 271" ,JL (C L + C ,NT) , where C 'NT = 10pF. L Typical values lor 4MHz operation. L= 70pH r----.....- .. OSC2 (PIN 28) C L = 10pF CRYSTAL INPUT OPERATION 20pF OSC1 (PIN1) XTAL* (PARALLEL RESONANT) ~--+-- .... OSC2 (PIN 28) 20pF * or ceramic resonator, EXTERNAL CLOCK INPUT OPERATION CLOCK FROM ---1[>________- .;). EXTERNAL SYSTEM OSC1 (PIN 1) 4-82 PIC1656 MASTER CLEAR (TYPICAL CIRCUIT) Voo C ,t::;o I 0.1pF "e,o;", Me," "N '" Master Clear requires >1.0ms delay before activation after power is applied to the V DO pin. for the oscillator to start up To achieve thiS, an external RC configuration as shown can be used (assum- ing Voo is applied as a step function). OUTPUT SINK CURRENT GRAPH Vxx = 10 40 V ...- Vxx = 9 10L 30 V "., ~ ~ v...: -".,. " . ,... ~ ./ .".,. ..".. -- Vxx = 8 Vxx = 7 - (rnA) ~ ~ V '" ...- r--- Vxx = 6 - --- - 20 ~ ~ "... V ...- ..- ". ~ ~ ~ ~ ::.... ...- Vxx = 5 10 ~ ~~~ 10 20 30 VOL (VOLTS) I OL VS. VOL TYP @ 25°C The Output Sink Current is dependent on the Vxxsupply and the output load This chart shows the typical curves used to express the output drive capability VOH VS IOH (1/0 PORTS) (TYPICAL) POWER SUPPLY CURRENT VS TEMPERATURE (TYPICAL LIMITS) 50 40 .... VODj70V -- I't ~/.C 30 vo" 05~A/OC I""-t 100 (VOLTS) (mA) ~ 20 10 -40 40 80 120 TEMPERATURE ("C) 4-83 PIC1656 POWER DISSIPATION DERATING GRAPH 1000 900 800 '\ , Maximum Device DIssipation (mW.) 700 600 500 " ~ r\ 400 NOTE 1 NOTE 2 300 200 100 10 20 30 40 50 60 70 85 TA Ambient Temperature (0G) NOTES: 1.70° C is the maximum operating temperature for standard parts. 2.85° C is the maximum operating temperature for "I" suffix parts. PIC1656 EMULATION CAUTIONS When emulating a PIC1656 using a PICES II development system B. Three levels of stack yan be used within the program. If Inter- certain precautions should be taken. rupts are used, allow one level of the stack for interrupt servicing. A. Be sure that the PICES II Module being used is programmed C. Make sure all 1/0 cautions contained in this spec sheet are for the PIC1656 mode. (Refer to PICES II Manual). The PIC1664 used. contained within the module should have the MODE pin #22 set to D. Be sure to use the 28 pin socket for the module plug. a low state. E. Make sure that during an actual application that the MCLR 1. This causes the MCLR to register F5 high and register F6, Input swings from a low to high level a minimum of 1 msec aiterthe and F710w. supply voltage is applied. 2. The OSC becomes a two input clock (pins 1 & 28). F. The cable length and internal variations may cause some 3. The interrupt system becomes enabled and the RT always parameter values to differ between the PICES II module and a counts on the trailing edges. production PIC1656. 4. Bits 3 through 7 on file register F3 are used for interrupt service. 4-84 PIC1670 8 Bit Microcomputer FEATURES • 1024 x 13-bit Program ROM instruction repertoire emphasizing single bit manipulation as well • 64 x 6-bit RAM (16 special purpose registers) as logical and arithmetic operations using bytes. • Arithmetic Logic Unit The PIC1670 is fabricated with N-Channel SilicO(l Gate technol- • Sophisticated interrupt structure ogy resulting in a high performance product. Oniy a single wide • 6 level pushdown stack range power supply is required foroperation. An on-chip oscilla- • Versatile self contained oscillator tor provides the operating clock with either an external crystal or • 2.0,.,s instruction execution time RC network to establish the frequency. Inputs and outputs are. • Wide power supply operating range (4.5-5.5 volts) TTL-compatible, with open-drain option available. • 4 sets of 6 user defined TTL compatible I/O lines Extensive hardware and software support is available to aid the • Available in two temperature ranges: O·C to 70·C and -40·C to user In developing an application program and to verify perfor- 85·C. mance before committing to mask tooling. Programs can be assembled into machine language using PICAL, eliminating the DESCRIPTION burden of coding with ones and zeros. PI CAL is available in a The PIC1670 microcomputer is an MOS/LSI device containing Fortran III version that can be run on many popular computer RAM, I/O, and a central processing unit as well as customer- systems. Once the application program is developed several defined ROM on a single chip. This combination produces a low options are available to Insure proper performance. The PIC's cost solution for applications which require sensing individual operation can be verified In any hardware application by using inputs and controlling Individual outputs. Keyboard scanning, the PIC1665. The PIC1665Is a ROM-less PIC1670 microcomputer display driving, and system control functions can be done at the with additional pins to connect external PROM or RAM and to same time due to the power of the 8-bit CPU. accept HALT commands. The PFD 1020 Field Demo System is The internal ROM contains a customer-defined program using available containing a PIC1665 with sockets for erasable PROMs. the PIC's powerful instruction setto specify the overall functional Finally, the PICES II (PIC In-Circuit Emulation System) provides characteristics of the device. The 8-bit input/output registers the user with emulation and debugging capability in either a provide latched lines for interfacing to a limitless variety of appli- stand-alone mode or operation as a peripheral to a larger compu- cations. The PIC can be used to scan keyboards, drive displays, ter system. Easy program debugging and changing is facilitated control electronic games and provide enhanced capabilities to because the user's program IS stored In RAM. With these develop- vending machines, traffic lights, radios, television, consumer ment tools, the user can quickly and confidently order the mask- appliances, industrial timing and control applications. The 13-bit ing of the PIC's ROM and bring his application Into the market. instruction word format provides a powerful yet easy to use PIC1670 BLOCK DIAGRAM PORT A PORT B ItO F(10) INPUT F(11) Ri'r-,,-r+--.J a~BIT DATA BUS ~t-~--~--~~--J+II--------------~---------<~ 4-85 PIC1670 ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC1670 microcomputer is based The Arithmetic Logic Unit contains one temporary working regis- on a register file concept with simple yet powerful instruction ter (W Register), an adder, and hardware for decimal adjust. commands designed to optimize the code for bit, byte, and regis- Manipulation between data In the working register and any other ter transfer operations. The instruction set also supports comput- register can be performed. ing functions as well as these control and interface functions. The Program ROM contains the user defined application program Internally, the functional blocks of the PIC1670 are connected by and Is supported by an Instruction decoder and Instruction regis- an 8-bit bidirectional bus: the 64 8-bit registers of which the first 16 ter. Sequencing of microinstructions is controlled via the Program are special purpose, an Arithmetic Logic Unit, and a user defined Counter (PC) which automatically increments to execute In-line program ROM composed of 1024 x 13 words. The register file is programs. The Program Counter is modified by bit test, jump, call divided into two functional groups: operational registers and gen- or branch Instructions and the lower 8-bits can be modified for eral purpose registers. The first sixteen are the operational regis- computed addresses by file register Instructions. In addition, an ters and they Include the Real Time Clock Counter A and B, four on-chip six level stack is employed to push and pull the contents of 1/0 registers, two Status registers, a Program Counter and a File the program counter. This provides easy to use subroutine nest- Select Register. The general purpose registers are used for data Ing. Activating the MCLR input on power-up initializes the ROM and control Information under command of the Instructions. program to address 1777•. PIN FUNCTIONS Signal Function OSC1 (Input), Oscillator pins. The on-board oscillator can be driven by an external crystal, ceramic resonator OSC2 (output) or LC network, or an external clock via these pins. Rf (Input) Real Time Input. Negative transitions on this pin increment the RTCC (F6) register. This pin can also be used for an interrupt input. This pin uses a Schmitt trigger Input. There is no internal active pull-up device. RAO-7, RBO-7, RCO-7, RDO-7 User programmable input/output lines. These lines can be used as inputs andlor outputs and are under direct control of the program. MCLR (Input) Master Clear. Used to Initialize the internal ROM program to address 1777., latch all 1/0 registers high, and disables the Interrupts. This pin uses a Schmitt trigger input. There Is no Internal active pull-up device. TEST Test pin. This pin Is used for testing purposes only. It must be grounded for normal operation. Voo Power supply pin. Vss Ground pin. CLKOUT Clock Output. A signal derived from the internal oscillator. May be used by external circuitry to synchronize with PIC1670 timing. PIN CONFIGURATION 40 LEAD DUAL IN LINE ---;;.05C1 Voo -E-- -e--- OSC2 MCLR E - - ~RAO ~RA1 ~­ RD7~ ~AA2 RD6~ ~RA3 R05~ ~CLKOUT RD4~ ~AA4 AD3~ ~RA5 AD2~ ~AA6 RD1~ ~RA7 ADO~ ~RBO AC7~ ~RB1 AC6~ ~RB2 RC5~ ~RB3 RC4~ ~AB4 AC3~ ~RB5 RC2~ ~RB6 RC1~ ~RB7 RCO~ ~ Vss TEST~ 4-86 PIC1670 REGISTER FILE ARRANGEMENT File (Octal) Function FO Not a physical register. Fa calls for contents of the FSR (F4) to be used to select a file register. F4 is used as an indirect address pointer. Fl W Register - The working register F2 Program Counter - POints to the next program ROM address to be executed. F3 Arithmetic Status Register 7 S 5 4 3 2 1 a I aI xIA91ASlovi z loci C I Bit a (C) - Bit a is the carry flag, and is usually the carry from the A.L.U., also used as a borrow in subtract instructions. Bit 1 (DC) - Bit 1 IS the half carry (decimal carry) and is used to Indicate a carry from bit 3 in the A.L.U as the result of an add Ilion (byte). This bit is used in the decimal adjust instruction to allow B.C.O. deCimal addition Bit 2 (Z) - Bit 2 is the zero flag and is set to a one if the results of the previous operation was Identically zero. Bit 3 (OV) - Bit 3 is the overflow flag, and is set to a one by operations which cause a Signed two's complement arithmetic overflow. The bit is set when the carry from the MSB in the A.L.U. is opposite to the carry from the MSB-l bit. Bit 4 (AS) - Bit 4 is the 9th bit of the program counter. ThiS bit is a read only bit Bit 5 (A9) - Bit 5 is the 10th bit of the program counter. ThiS bit is a read only bit. F4 File Select Register - The FSR IS used In generating effective file register addresses under program control. F5 Interrupt Status Register I I XICNTE I AlB CNTS IRTCIR I XIR I RTCIE I XIE I - Used to control interrupts and registers FS and F7. FS,F7 RTCCA aAd RTCCB - Real Time Clock Counters A & B respectively can be configured as a single 16 bit counter, an S bit counter and an S bit general purpose register, or two general purpose registers when no external counting is required. The RTCC registers can be loaded and read by the program, as well as count negative transitions on the RT pin or count at liS the frequency of the oscillator. If data are being stored into RTCCA simultaneous with a negative transition on the RT pin (and CNTE=l and CNTS=l), RTCCA will contain the new stored value and the external transition will be ignored by the microcomputer. (See the section "Real Time Clock Interrupt" for further details about the RTCC.) Fl0,11 I/O Port A F12,13 I/O Port B NOTE: FlO, 12, 14 & 16 are the I/O registers and Fll, 13, 15 & 17 are used for F14,15 I/O Port C reading the actual pin levels. F1S,17 I/O Port 0 F20,77 General Purpose Registers-Used for temporary and general purpose storage during program execution time. 4-87 INsrU~ PIC1670 Basic Instruction Set Summary "d" is one, the result is returned to the file register specified in the Each PIC instruction is a 13-bit word divided into an OP code instruction. which specifies the instruction type and one or more operands For bit-oriented instructions, "b" represents a bit field designator which further specify the operation of the instruction. The follow- which selects the number of the bit affected by the operation, ing PIC instruction summary lists byte-oriented, bit-oriented, and while "f" represents the number of the file in which the bit is literal and control operations. located. For byte-oriented instructions, "f" represents a file register desig- For literal and control operations, "k" represents an eight or nine nator and "d" represents a destination designator. The file register bit constant or literal value. designator specifies which one of the PIC file registers is to be Foran oscillator frequency of 4MHzthe instruction execution tim e utilized by the instruction. The destination designator specifies is 2.0llsec unless a conditional test is true or the program counter where the result of the operation performed by the instruction isto is changed as a result of an instruction. In these two cases, the be placed.II"d" is zero, the result is placed in the PIC W register. If instruction execution time is 4.0 IIsec. IYTE ORIENTED r-_......:..(1_2-_7.:...)_--r-(I.:...)r-_(:....5-_0.:...)_ , ~~R~~~~~:" OP CODE I I d f (FILE II) Inolruclion-lllI8ry (Oellol) Nlm. Mnemonic, Op... ndo Ope..llon S18luoAllectld a 000 000 000 '00 (00004) DeCimal adjust W DAW (Note') C a 000 00' I I I I I I (00'00) Move W to file MOVWF I W-I a 000 , d I I I I I I (00200) Subtract W from hie w/borrow SUBBWF I.d HW+c -d OV,C,DC,Z a 000 , ad I I I I I I (00400) Subtract W from file SUBWF I.d I+W+'-d OV,C,DC,Z a 000 , , d I I I I I I (00600) Decrement file DECF I.d 1- '-d DV,C,DC,Z 0 00' OOd I I I I I I (0'000) Inclusive or W with file IORWF I.d WVf-d Z a 00' o, d I I I I I I (0'200) And W With hie ANDWF I.d W.I-d Z a a a , , ad I I I I I (0'400) EXClUSIVe OR W With file XORWF I.d W(j)I-d Z 0 00' , , a' I I I I I (0'600) Add W With file ADDWF I.d W+I-d OV,C,DC,Z 0 0' 0 00 ,d I I I I I (02000) Add W to 'lie With carry ADCWF I.d W+f+c-d OV,C,DC,Z a 0' a 0' d I I I I I (02200) Complement hie COMPF Id f-d Z a 0' a , ad I I I I (02400) Increment Itle [NCF I.d f+,-d OV,C.DC,Z a o, a , , d I I I I (02600) Decrement f,le, skip ,f zero DECFSZ I.d f ~ 1- d. skip If zero a 0' , OOd I I I I (03000) Rotate hie nght thru carry RRCF I.d I(n)-d(n-'), c-d(7), I(O)-C C 6 0' , o, d I I I I (03200) Rotate hie left thru carry RLCF I.d I(n)-d(n+'). c-d(O). 1(7)-c C a 0' , , ad I I I I (03400) Swap upper and lower nibble of file SWAPF I.d 1(0-3).. (4-7)-d a 0' , , , d I I I I (03600) Increment file. skIp ,f zero [NCFSZ Id f+l--d. skip .f zero (12") (5-0) I OP CODE I (FILE II) InotrucHon-llnlry (Octot) Name Mnemonic, Operands OperlHon S18tuo Alleelld 000 000 If I (10000) Move file to W MOVFW I-W Z 000 00' Ifl ('0100) Clear file CLRF 0-1 Z 000 0'0 Ilf (10200) Rotate file right/no carry RRNCF I(n)-d(n-').I(O). -1(7) 000 0" II'I ('0300) Rotate file left/no carry RLNCF I(n)-d(n+'). 1(7). -1(0) 000 '00 Ifl ('0400) Compare file to W, Skip If F < W CPFSLT I - W, Skop 01 C = a a a a '0' I I I ('0500) Compare file to W, Skip If F = W CPFSEQ 1- W. Skop 01 Z = , 000"0 Ifl (10600) Compare file to W, Skip If F > W CPFSGT I - W. Skop 01 Z. C = , 000 I"~ Ifl ('0700) Move file to Itself TESTF I-I Z liT ORIENTED (12-9) (8-8) (5-0) FILE REGISTER OPERATIONS OPCODE b(BITII) I (FILE II) Inotructlon-Ilnlry (Octol) Name Operallon O'OObbb I (04000) 81t clear file BCF I.b O-I(b) a ' 0 ' bbb I (05000) 81t set hie BSF I.b '-I(b) O"Obbb I (06000) elt test skip If clear BTFSC I.b elt Test f(b) Skip If clear a ", b b b I (07000) elt test. skip If set BTFSS Ib Bot Test I(b) skop 01 set (12") (7-0) LITERAL AND CONTROL OPCODE k (LITERAL) OPERATIONS Inolructlon-lllI8ry (Octll) Name Mnemonic, Operands OperlUon SI8IuI Alfecleel a 000 000 000 a a a (00000) No Operation NOP a 000 000 000, 00 , (0000') Halt on PIC'665 HALT a 000 000 000 a , a (00002) Return from Interrupt RETFI Stack - PC a 000 000 000 0' , (00003) Return from Subroutine RETFS Stack - PC , 00' Okk kkk k k k (1'000) Move literal to W MOVLW k-'W , 00' 'kk kkk k kk ("400) Add literal to W ADDLW k+W-W OV.C.DC,Z , 0'0 Okk kkk k k k (12000) InclUSIve OR Literal to W [ORLW kVW-W Z , 0'0 'kk kkk k k k (12400) And literal and W ANDLW k·W-W Z , 0" Okk kkk kk k ('3000) ExclUSIve OR LIteral and W XORLW k(j)W-W Z , 0" 'kk kkk k kk (13400) Return and load hteral In W RETLW k-W. Stack -PC (12-10) (9-0) OPCODE k (LITERAL) lnotruction-ilnory (Octol) Name Mnemonic. Operondo Ope..Uon S_oA_ , a k kk k kk k k k k ('4000) Go to address GOTO k-PC , , k kkk kk k k kk (16000) Call Subroutine CALL PC+'-Stack. k-PC NOTE: DAW Decomal Adlust W Thos instructoon adjusts the eoght bit number on the W reglstertolormtwo valid BCD (binary coded deCImal) digIts, one In the lower and one In the upper nibble. (The results will only be meaninglul if the number in W to be adjusted is the result 01 addong together two valid two digIt BCD numbers.) The adjustment obeys the lollowing two step algorithm. 1 II the lower nibble IS greater than 9 or the digit carry Ilag (DC) is set. 06 Is added to the W register. 2 Then. if the upper nobble Is greater than 9 or the carry Irom the oroginal or step 1 addItion IS set. 60 is added to the W register The carry bit os set If there IS a carry lrom the original, step 1 or step 2 addItion. 4-88 PIC1670 INTERRUPT SYSTEM RAM registers. The count source (CNTS) bit selects the clocking The interrupt system of the PIC1670 is comprised of an external source for RTCCA. II CNTS is cleared to a '0', then RTCCA will use interrupt and a real-time clock counter interrupt. These have dif- the internal instruction clock and increment at 1/8 the frequency ferent interrupt vectors, enable bits and status bits. Both interrupts present on the OSC pins. II CNTS is set to a '1', then RTCCA will are controlled by the status register (F5)" shown below. Increment on each high to low transition olthe RT pin. RTCCB can only be incremented when RTCCA makes a transition from 377. to oand the AlB status bit is set. This condition links the two eight bit registers together to form one sixteen bit counter. An interrupt request under these conditions will occur when the combined registers make a transition from 177777. to O. II, however, the AlB "Bit 7 is unused and is read as zero. bit is not set, then RTCCA will be the only incrementing register "Register 5 will power up to all zeroes. and an interrupt request will occur when RTCCA makes a transi- tion from 3778 to O. (In this setup the RTCCB register will not increment and can be used as a general purpose RAM register.) EXTERNAL INTERRUPT Once a request has come from the real-time clock counter, the On any high to low transition of the RT pin the external interrupt real-time clock interrupt request (RTCIR) bit will be set. At this request (XIR) bit will be set. This request will be serviced if the point, the request can either be serviced immediately if the real- external interrupt enable (XIE) bit is set or if it is setata later point time clock interrupt enable (RTCIE) bit is set or be stored if RTCIE in the program. The latter allows the processor to store a request is not set. The latter allows the processor to store a real-time clock (without interrupting) while a critical timing routine is being exe- interrupt while a critical timing routine is being executed. Once cuted. Once external interrupt service is initiated, the processor interrupt service is initiated, the processor will clear the RTCIR bit, will clear the XIR bit, delay one cycle (to execute the current delay one cycle (to execute the current instruction), then push the instruction), then push the current program counter onto the stack present program counter onto the stack and execute the instruc- and execute the instruction at location 1760 •. It takes three to four tion at location 17408 It takes three instruction cycles from when instruction cycles from the transition on the RT pin until the the RTCC (A or B) overflows until the instruction of 1740 is exe- instruction at 1760.is executed. No new interrupts can be serviced cuted. No new interrupts can be serviced until a RETFI instruction until a return from interrupt (RETFI) instruction has been has been executed. executed. The RETFI instruction (00002.) must be used to return from any REAL-TIME CLOCK INTERRUPT interrupt service routine if any pending interrupts are to be ser- The real-time clock counter (RTCCA & RTCCB, file registers F6 viced. External interrupts have priority over RTCC driven interrupt and F7) have a similar mechanism of interrupt service. The in the event both types occur simultaneously. Interrupts cannot be RTCCA register will increment if the count enable (CNTE) bit is nested but will be serviced sequentially. The existence of any set. II this bit is not set the RTCCA & RTCCB will maintain their pending interrupts can be tested via the state oftheXIR (blt2) and present contents and can therefore be used as general purpose RTCIR (bit 3) in the status word F5. INTERRUPT SYSTEM BLOCK DIAGRAM ""'L INTERNAL CLOCK ..JL. 1740e 4-89 PIC1870 INPUT/OUTPUT CAPABILITY The PIC1670 provides four complete quasi-bidirec1lonal input! Here, the low 3 bits of port RA are used as output-only, while the output ports. A simplified schematiC of an I/O pin Is shown below. high 5 bits are used as Input-only. During power on reset (~ The ports occupy address locations in the register file space of the low), the latches In the I/O ports will be set high, turning off all pull PIC1670. Thus, any Instruction that can operate on a general down transistors as represented by 02in Figure 1. During program purpose register can operate on an I/O port. Two locations in the execution If we wish to interrogate an input pin, then, for example, register file space are allocated for each I/O port. Port RAO-7 is BTFSS 11,6 addresssble as either FlO or Fll. Port RBo-7 is addresssble as will test pin RA6 and skip the next instruction if that pin is set. If we either F12 or F13. Port RCo-7 is addressable as either F14 or F15 wish to modify a single output, then, for example, and Port RDO-7 Is addressable as either F16 or F17. AnItO port BCF 10,2 READ on Its odd-numbered location will interrogate the chip pins will force RA2 to zero because Its internal latch will be cleared to while an I/O port READ on Its even-numbered location will Inter- zero. This will turn on O 2 and pull the pin to zero. rogate the internal latch In that I/O port. This simplifies program- The way this instruction operates internally is the CPU reads file 10 ming in cases where a portion of a single port Is used for inputting into the A.L.U., modifies the bit and re-outputs the data to file 10. If only, while the remainder is used for outputlng as Illustrated in the the pins were read inst':ad, any input which was grounded exter- following example. nally would cause a zero to be read on that bit. When the CPU ,..---, re-outputted the data to the file, that bit would be cleared to zero, _RAO no longer useful as an Input until set high again. _RAl During program execution, the latches In bits 3-7 should remain in _RA2 the high state. This will keep O 2 off, allowing external circuitry full .. RA3 control of pins RA3-RA7, which are being used here as input. PIC .. RA4 _RAS ~ RA6 .. RA7 BIDIRECTIONAL INPUT-OUTPUT PORT INTERNAL Voo Voo BUS M'C'LR 0 I/O PIN C Vss Vss WRITE READ EVEN. I/O FILE # READ ODD • I/O FILE # figure 1 4-90 PIC1670 ELECTRICAL CHARACTERISTICS Maximum Ratings· Ambient Temperature Under Bias ..............•.•...• -40·C to +85·C • Exceeding these ratings could cause permanent dam- Storage Temperature .........•....•...........•...•. -55· C to +150· C age to the device. This is a stress rating only and func- Voltage on any Pin with Respect to Vss ........•......• -0.3V to +10.0V tional operation of this device at these conditions is not Power Dissipation ............................................ 1000mW implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. DC CHARACTERISTICS Data labeled "typical" is presented for design guidance Operating Temperature TA = O·C to +70·C only and is not guaranteed. Characteristic Sym Min Typt Max Units Conditions Primary Supply Voltage VDD 4.5 - 5.5 V Primary Supply Current IDD - - 100 mA All I/O pins high Input low Voltage (except MClR & RT) VIL -0.2 - 0.8 V Input High Voltage (except MClR. RT, OSC1) VIH1 2.4 - VDD V Input High Voltage (MClR, RT OSC1) VIH2 VDD -1 - VDD V Output High Voltage VDH 24 - VDD V IDH = -10D!.tA provided by internal pullups (Note 2) Output low Voltage (I/O and ClK OUT) VDL - - 0.45 V IDL = 16mA Input leakage Current (MClR, RT,OSC1) ILC -5 - +5 JiA Vss ::::;; VIN :s:;;; Voo Input low Current (all I/O ports) IlL -0.2 -0.6 -2.0 mA VIL = O.4V, internal pullup Input High Current (all I/O ports) IIH -0.1 -0.4 - mA V,H = 2.4V tTypical data is at TA = 25· C, Voo = 5.0V. NOTES: 1. Total power dissipation for the package is calculated as follows: Po= (Voo) (100) + L (VOO-V,L) (II,J) + L (Voo -VOH) (1IoHi) + L (VoJ (loJ. 2. Positive current indicates current into pin. Negative current indicates current out of pin. 3. TotalloL for all output pin (I/O ports plus ClK OUT) must not exceed 175mA. Standard Conditions (unless otherwise stated): AC CHARACTERISTICS Operating Temperature T. = O·C to +70·C Characteristic Sym Min Typ Max Unils Conditions Instruction Cycle Time tey 2.0 - 8 Jis 4MHz - 1MHz external time base (Note 1) RT Input (Note 2) Period ",T tey - - - High Pulse Width ",TH %tcy - - - low Pulse Width ",TL %tcy - - - I/O Ports Data Input Setup Time Is - - V.tey-125 ns Data Input Hold Time tb 0 - - ns Data Output Propagation Delay tpd - 500 800 ns Capacitive load = 50pF NOTES: 1. Instruction cycle period (t CY) equals eight times the input oscillator time base period. 2. Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the RT input, ClK OUT may be directly tied to the RT input. The minimum times specified represent theoretical limits. 4-91 PIC1670 1/0 TIMING CLK OUT \~__~f\~__~f\~~f\~__~ ~ ~ INCREMENT PC EXECUTE GATE ANSWER WRITE TO ADDRESS ROM INSTRUCTION INTERNAL 1/0 FOR NEXT BUS INSTRUCTION !po I*-- OUTPUT __~I__J~~: I : __ V_AL_ID ____ NOTE Rise and taU times are load dependent INPUT ClK OUT TIMING : Jl I . '!.tCY ~ I 1 1 ~t----_%tcy----t0 1 CLK OUT -----------~lI L I _--...:I~--_tcy 1-1 .. 1 ------_~"'il RTCCTIMING I. tATH ~I .. tAll ~I 1 I 1 RTCC----...J I J 1 I .. \!AT 1 I I .. I L SCHMITT TRIGGER CHARACTERISTICS (Typical) (RT, MCLR) T. = 25°C ~~+Hm=fiVTLH 3.0c::r: ~ ...t!!!!!!!F1 THL VTHAESHOL.D (VOLTS) L,;;:;;j;;;;;;;;"~-4--~-+-+-..,--+-t--t 2.0 Iii V 50 5.5 Voo (VOLTS) 4-92 PIC1670 II~I PIC1670 OSCILLATOR OPTIONS (TYPICAL CIRCUIT) LC OPERATION 1 1---....- .... OSC1 (PIN 1) fosc - 27T\/L (C L + C'NT) , where C'NT = 10pF. L Typical values for 4MHz operation: L=70pH 1 - - - + - . OSC2 (PIN 2) C L = 10pF CRYSTAL INPUT OPERATION 20pF 141..-........--.... OSC1 (PIN 1) ...--+'V'.;v..... OSC2 (PIN 2) 20pF 1K *or ceramic resonator, parallel resonant (O.B - S.OMHz) EXTERNAL CLOCK INPUT OPERATION CLOCK FROM EXTERNAL SYSTEM --~[>..---------+) OSC1 (PIN 1) NO ~ CONNECTION - - - - - ; i ' " OSC1 (PIN2) MASTER CLEAR (TYPICAL CIRCUIT) ,i Voo ,< "'''.. Me," '''" '" C 01pF I Master Clear requires 10ms delay (assuming a 4MHz crystal) before activation after power is applied to the Voo pin, for the crystal to start up. To achieve this, an external RC configuration as shown can be used (assuming Voo is applied as a step function). 4-93 PIC1670 POWER DISSIPATION DERATING GRAPH 1000 ig 900 '\. z 800 ~ 0 r'\ ~ 700 Cii 600 r\. en 15 500 LLJ 1"\ () :; 400 LLJ 0 300 ::< NOTE 1 NOTE 2 :::J ::< 200 NOTES: x « 100 1. 70' C IS the maximum operating ::< temperature for standard parts. o 2 85° is the maximum operating o 20 40 60 70 85 temperature for "I" suffix parts TA - AMBIENT TEMPERATURE (0C) OUTPUT SINK CURRENT GRAPH 20 Voo = 5.0V 15 I""'" 10' (mA) 1..,..000" ~ ~ 10 IL . /V 5 ...... V ~ ~ 1/ 1.0 2.0 3.0 VOL (VOLTS) The Output Sink Current is dependent on the output load. This chart shows the typical curve used to express the output drive capability. VOH VS IOH (1/0 PORTS) (Typical) v," (VOLTS) 10K (J.IA) 4-94 GENERAL INSTRUMENT PIC Development Series : ~ART PAGE FUNCTION. DESCRIPTION HUMBa HUMBER .. uri". ...... . . PIC• • 4-. .. OEV~= PIC mlcro<:Ql'!'putar wittlolll ROM and. with addltion of II HALT pin. P1C~ 4·110. ~IOROC· .. . . . . . . .. ", ",', " " c 'c ' , ' '", PlC11M!s 4-tin 4-95 PIC1664 8 Bit Development Microcomputer FEATURES • PIC microcomputer with ROM removed The 12-bit instruction word format provides a powerful yet easy to • Useful for engineering prototyping of PIC applications use instruction repertoire emphasizing single bit manipulation as • PIC ROM address & data lines brought out to pins well as logical and arithmetic operations using bytes. • HALT pin for single stepping or stopping program The PIC Series is fabricated with N-Channellon Implanttechnol- execution ogy resulting in a high performance product with proven reliabil- • MODE pin for selection of PIC1650Al1655A or PIC1656 ity and production history. Only a single wide range powersupply emulation is required for operation, and an on-chip oscillator provides the • User programmable via external memory operating clock with only an external RC network (or buffered • 32 8-bit RAM registers crystal oscillator signal, for greater accuracy) to establish the • Arithmetic Logic Unit frequency. Inputs and outputs are TTL-compatible. • User defined TTL-compatible Input and Output lines Extensive hardware and software support is available to aid the • Real Time Clock/Counter user in developing an application program and to verify perfor- • Self-contained oscillator mance before committing to mask tooling. Application notes and • Access to RAM registers inherent in instruction sample programs are used to develop programs which can then • Wide power supply operating range (4.5V to 7.0V) be assembled into machine language using PI CAL, eliminating the burden of coding with ones and zeros. PICAL is available in a DESCRIPTION Fortran IV version that can be run on many popular computer The PIC1664 development microcomputer is an MOS/LSI device systems. Once the application program is developed several containing RAM, I/O, and a central processing unit on asinglechip. options are available to insure proper performance. The PFD The PIC1664 MOS/LSI is functionally identical to the PIC micro- Field Demo Systems are available containing a PIC1664 with computers exceptthatthe ROM is removed and the ROM address sockets for erasable CMOS PROMs. Finally, the PICES II (PIC and data lines are brought out, requiring a 64-pin package. The In-Circuit Emulation System) provides the user with stand-alone addition of a HALT pin gives the user the ability to stop as well as emulation and debugging operation or operation as a peripheral single-step the chip. The logic level applied to a MODE pin to a larger computer system. Easy program debugging and determines whether the PIC1664 emulates a PIC1650Al1655A or a changing is facilitated because the user's program is stored in PIC1656. RAM. The external ROM can contain a customer-defined program using the PIC's powerful instruction set to specify the overall functional characteristics of the device. The 8-bit input/output registers provide latched lines for interfacing to a limitless variety of applications. PIC1664 GENERAL BLOCK DIAGRAM GENERAL REGISTER FILES (F11-F31) INSTRUCTION DECODE & CONTROL j"ROMAODRESS----ROMDATAl I EXTERNAL MEMORY I IL _______________ I ~ *PIC1656 Mode Only **Two Levels Active in PIC1650AlPIC1655A Mode 4-96 PIC1664 ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC1664 microcomputer is The Arithmetic Logic Unit contains one temporary working regis- based on a register file concept with simple yet powerful com- ter or accumulator (W Register) and gating to perform Boolean mands designed to emphasize bit, byte, and register transfer functions between data held in the working register and any file operations. The instruction set also supports computing func- register. tions as well as these control and interface functions. Sequencing of microinstructions is controlled via the Program Internally, the PIC1664 is composed of three functional elements Counter (PC) which automatically increments to execute in-line connected together by a single bidirectional bus: the Register File programs. Program control operations can be performed by Bit composed of 32 addressable 8-bit registers, an Arithmetic Logic Test and Skip instructions, Jump instructions, Call instructions, or Unit, and a user-defined external ROM composed of 512 program by loading computed addresses into the PC. In addition, an on- words each 12 bits in width. The Register File is divided into two chiptwo-Ievel stack is employed to provide easy to use subroutine functional groups: operational registers and general register. The nesting. Activating the MCLR input on power up initializes the operational registers include, among others, the Real Time Clock external ROM program to address 777s. Counter Register, the Program Counter (PC), the Status Register, and the I/O Registers. The general purpose registers are used for data and control information under command of the instructions. PIN FUNCTIONS Signal Function MODE (input) Mode input. Used to set the PIC1664 to emulate the PIC1650A/PIC1655A (logic "one") or the PIC1656 (logic "zero"). The mode must be selected before MCLR is brought high. OSC1 (Input) Oscillator pins. When the MODE switch selects PIC1650A/1655A operation OSCl becomes a OSC2 (output) single input clock using either RC control or a buffered crystal. When the PIC1664 is in the PIC1656 mode both OSC1 and OSC2 are used as a two input clock using either crystal, ceramic resonator or LC network. RT (Input) Real Time Clock input. This pin increments the Real Time Clock Counter Register 1 on high to low transitions applied to this input. This pin has different modes of operation depending on the MODE input as well as the contents of F3, the Status Register. In PIC1650A/1655A mode this pin emulates the RTCC pin. In the PIC1656 mode this pin emulates the RT pin. RAO-7, RBO-7, RCO-7, ROO-7 User programmable input/output lines. These lines can be inputs and/or outputs and are under (Input/output) direct control of the program During emulation of the PIC1655A or PIC1656, Register D will become internal general purpose File Register 10; I/O lines RDO-7 will be undefined and must be left unconnected. MCLR (input) Master Clear. Used to initialize the internal ROM program to address 777. and latch all I/O registers high (for PIC1650A/1655A) or I/O registers F6 and F710w and F5 high (for PIC1656). Also clears bits 3-7 of status register (F3) (for PIC1656). This pin should be held low at least 1-10ms after the power supply is valid forthe oscillator to start up. MCLR has no internal pullup resistor. Voo Primary Power supply input. Vxx Output buffer power supply input. Used to increase current sinking capability when emulating the PIC1650A and PIC1655A. When emulating the PIC1656 this pin must be connected to Voo. CLK OUT (output) A signal derived from the internal oscillator. Used by external devices to synchronize themselves to PIC timing. The OSC frequency is divided by 4 for PIC1650A/1655A mode or by 16 for the PIC1656 mode. HALT (input) Halt. When high this input suspends execution of the next instruction. No data is lost and after HALT is brought low execution proceeds exactly as if no HALT signal had been applied. HALT ACK (output) Halt Acknowledge. This output is high when the PIC1664 is halted either due to an active HALT input or execution of the HALT instruction (0001.). In the firsl'case HALT ACK is brought back low when the PIC1664 begins execution when the HALT input is brought low; and in the second case it is brought low using MCLR or by first raising and then lowering the HALT input. 00-011 (input) Data Input. These twelve lines accept twelve bit PIC instruction codes generated by an external source DO is the LSB of the instruction. AO-AS (output) Address Output. These nine lines represent the address of the next instruction to be executed by the PIC1664. AO is the LSB of the address. 4-97 IIN~~I PIC1664 MODE PIN OPERATION The mode pin is used to select either PIC1650A/1655A emulation operation of the PIC1664 with respect to the target PIC circuit or PIC1656 emulation. (either PIC1650A, PIC1655A, or PIC1656). The following check- With the MODE pin set high, the PIC1664 Is set to emulate the list should be used to achieve proper emulation. PIC1650A/1655A. Specifically: 1. The MODE pin must be properly set (high for PIC1650AI 1. ~ will force all 1/0 registers high. PIC1655A or low for PIC1656). 2. OSCl becomes a single clock input. The PIC1664 will exe- 2. With the MODE pin high OSCl is a single clock input. A low cute instructions at one fourth the OSC frequency. on the MODE pin enables the two input clock. 3. The interrupt system is disabled and the RTCC always 3. For PIC1650A and PIC1655A emulation, bits 3-7 of F3 (the counts on trailing edges. status register) should be considered undefined. 4. Bits 3-7 of F3 are ones. 4. For PIC1655A and PIC1656 emulation bits 4-7 of F5 (the input only file) should be tied to Vss (ground) as these bits are When the MODE input is low, the PIC1664 will emulate the always read as low inputs. PIC1656 circuit. Specifically: 5. For PIC1655A and PIC1656 emulation the pins correspond- 1. MCLR will force 1/0 registers F6 and F7 low and F5 high. ing to F10. (1/0 port RD on the PIC1650A) should be left 2. OSCl and OSC2 become a two input clock supporting unconnected. In this way FlO. will operate as an internal crystals, ceramic resonators, or RC networks. The PIC1664 register as is appropriate for the PIC1655A and PIC1656. will execute instructions at one sixteenth the OSC 6. The 1/0 Programming Caution on page3-11 describing the frequency. 1/0 variations between the PIC1650A and the PIC1655A1 3. The interrupt system is connected and the interrupVRTCC PIC1656 must be carefully followed. The PIC1664 contains all operation is as described in the PIC1656 data sheet. bidirectional inpuVoutput ports as required for PIC1650A 4. Bits 3-7 of F3 are used for interrupt service. emulation. The 1/0 structure variation used in PIC1655A and PIC1656 require careful adherence to the cautions listed in the To insure proper chip operation, the Mode pin should be preset following pages. before 'MC['Fi is brought high at initialization. "Dynamic-type" 7. The RETURN (0002.) instruction is not supported by the switching of this pin during processor operation will result in PIC1650A and PIC1655A and should not be used when emu- undefined conditions and must be avoided. lating these parts. The HALT instruction (OOOl s) is not recog- nized by any PIC circuit other than the PIC1664. PROGRAMMING CAUTIONS 8. For PIC1656 emulation the Vxx pin must be tied directly to The PIC1664 is designed as a development circuit for emulating Voo as there is no Vxx pin on the PIC1656. the operation of the PIC1650A, PIC1655A and PIC1656. While all circuits in the PIC series have the same basic architecture and instruction set, there are differences which require attention on the part of the user to insure that all conditions are met lor proper PIN CONFIGURATION 64 LEAD DUAL IN LINE ~VSI VDD-E-- ----+vxx i'!T~ <:--- AS HALT~ ~RAO Mc'iJi ~ ~RA1 HALTACK~ E---+ RA2 OSC1MOOE O.~ .rE-- elK OUT RC7~ _A' ~RB4 D7~ RC8~ ~RB5 D.~ ~AlJ RC5~ ~RB8 RC4 ('----l> E---+RB7 D9~ ~Dl1 RC3~ E---+RCO RC2~ ~RC' D'O~ 4-98 PIC1664 INSr~ REGISTER FILE ARRANGEMENT File (Octal) Function FO Not a physically implemented register. FO calls for the contents of the File Select Register (low order 5 bits) to be used to select a file register. FO is thus useful as an indirect address painter. For example, W+FO-W will add the contents of the file register pointed to by the FSR (F4) to the contents of Wand place the result in W. . F1 Real Time Clock Counter Register. This register can be loaded and read by the microprogram. The RTCC register keeps counting up alter zero is reached. The counter increments on the failing edge of the Input RT. However, If data are being stored in the RTCC register simultaneously with a negative transition on the RTCC pin, the RTCC register will contain the new stored value and the external transition will be ignored by the microcomputer F2 Program Counter (PC). The PC is automatically incremented dunng each Instruction cycle, and can be wntten into under program control (MOVWF F2). The PC is nine bits wide, but only Its low order 8 bits can be read under program control. F3 Status Word Register. F3 can be altered under program control only via bit set, bit clear, or MOVWF F3 instruction. (7) (6) (5) (4) (3) (2) (1) (0) CNT RTCR IR RTCE IE z DC C BIT 0: Carry For ADD and SUB instructions, this bit is set if there is a carry out from the most significant bit of the (C) bit resultant. For ROTATE instructions, this bit is loaded with either the high or low order bit of the source BIT 1: Digit Carry For ADD and SUB instructions, this bit is set If there is a carry out from the 4th low order bit of the (DC) bit resultant. BIT 2: Zero Set if the result of an arithmetic operation is zero (Z) bit BITS: 3-7 Interrupt Service Flags (Cleared on MCLR). BIT 3: Interrupt Enable (IE) status bit. When setlo a one, this bit enables the externallnterruptlo occur when and if the Interrupt request (IR) status bit (bit 5) is also set. When reset to a zero, the external interrupt is disabled. BIT 4. Real Time Clock Enable (RTCE) status bit. When set to a one, this bit enables the real-time clock/counter interrupt to occur when and ifthe real-time clock interrupt request (RTCR) status bit (bit 6) is also set. When reset to a zero, the interrupt is disabled. BIT 5: Interrupt Request (IR) status bit. This bit is set by a high-to-Iow transition on the RT pin, generating an interrupt request. If and when the interrupt enable (IE) bit (bit 3) is also set, an Interrupt will occur. This causes the current PC address to be pushed onto the stack and the processor to execute the instruction at location 760a. The IR bit is then immediately cleared. Note that the IR bit can be set regardless of the state of the IE bit, thus requesting an interrupt which can be serviced or not at the programmer's option. BIT 6: Real Time Clock/Counter Interrupt Request (RTCR) status bit This bit IS set when the RTCC register (File 1) transitions from a full count (377a) toa zero count (OOOa)' If and when the RTCE bit is also set, an interrupt will occur This causes the current PC address to be pushed onto the stack and the processor to execute the instruction at location 740a. The RTCR bit IS then immediately cleared. Note thatlhe RTCR bit can be set regardless of the state of the RTCE bit, thus requesting an Interrupt which can be serviced or not, at the programmer's option. NOTE. Although the processor cannot be Interrupted dUring an Interrupt (I e , until the RETFI instrucllOn IS executed), (an) other Interrupt(s) can be requested (status bits 5 and/or 6 can be set) ThiS will cause the processor to relnterrupt immediately upon ItS return from the current Interrupt assuming the Interrupt(s) IS (are) enabled (pending external Interrupts have priority over pending real-lime clock/counter Interrupts) BIT 7: Count Select (CNT) status bit. When CNT bit is setloa one, the RTCC register will increment on each high-to-low transition at the RT pin. If the CNT bit is sent to a zero, the RTCC register "··~I increment at the internal clock rate (1/16 of the frequency at the OSC pins). F4 File Select Register (FSR). Low order 5 bits only are used. The FSR is used In generating effective file register addresses under program control. When accessed as a directly addressed file, the upper 3 bits are read as ones. F5 Input Register A (AO-A3). A4-A7 defined as zeroes. F6 Output Register B (BO-B7) F7 I/O Register (CO-C7) F10-F37 General Purpose Registers 4..gg PIC1664 Basic Instruction Set Summary PIC W register. II "d" IS one, the result IS returned to the Ille Each PIC instruction IS a 12-bit word divided into an OP code register specllied in the instruction. which specilies the instruction type and one or more operands For bit-oriented Instructions, "b" represents a bit lield designator which lurther specily the operation 01 the instruction. The 101l0w- which selects the number 01 the bit affected by the operation, ing PIC instruction summary lists byte-oriented, bit-oriented, and while "I" represents the number 01 the lile In which the bit is literal and control operations. located. For byte-oriented instructions, "I" represents a lile register For literal and control operations, "k" represents an eight or nine designator and "d" represents a destination designator. The lile bit constant or literal value. register designator specilies which one 01 the 32 PIC Ii Ie registers For an oscillatorlrequency 011 MHz lor PIC1650A and PIC1655A is to be utilized by the Instruction. The destination designator (4MHz lor PIC1656) the instruction execution time is 4 psec, specilies where the result 01 the operation perlormed by the unless a conditional test is true or the program counter is Instruction is to be placed. II "d" is zero, the result is placed in the changed as a result 01 an Instruction. In these two cases, the instruction execution time is 8 psec. BYTE-ORIENTED FILE REGISTER (11-6) (4-0) OPERATIONS L O p CODE f (FILE #) For d = O. f-W (pICAL accepts d = 0 or d = W In the mnemonic) d = 1. I-I (If d IS omitted, assembler assigns d = 1 ) Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 000 000 000 000 (0000) No Operation NOP None 000 000 1I I I II (0040) Move W to I (Note 1) MOVWF W-I None 000 001 000 000 (0100) ClearW CLRW O-W Z 000 001 1fI If( (0140) Clear I CLRF I 0-1 Z 000 010 dII I II (0200) Subtract W Irom I SUBWF I, d 1- W-d [I+W+I-dl C,DC,Z 000 011 dI I I If (0300) Decrement I DECF I, d 1- I-d Z 000 100 dII I If (0400) Inclusive OR Wand f 10RWF t, d WVI-d Z 000 101 d If I II (0500) AND Wand t ANDWF I, d W.I-d Z 000 110 dII I II (0600) Exclusive OR Wand I XORWF I, d W(!)I-d Z 000 111 dII I II (0700) Add Wand t ADDWF I, d W+I-d C,DC,Z 001 000 dII I II (1000) Move I MOVF I, d I-d Z 001 001 dII I If (1100) Complement I COMF I, d f-d Z 001 010 dI I III (1200) Increment I INCF I, d HI-d Z 001 011 dII I II (1300) Decrement I, Skip II Zero DECFSZ I, d 1- I-d, skip il Zero None 001 100 dI I I II (1400) Rotate Right I RRF I, d I(n)-d(n-I), I(O)-C, C-d(7) C 001 101 df I II I (1500) Rotate Lelt I RLF I, d l(n)-d(n+l). 1(7)-C, C-d(O) C 001 110 dI I II I (1600) Swap halves I SWAPF I, d 1(0-3)'71(4-7)-d None 001 111 dII f I f (1700) Increment I, Skip II Zero INCFSZ I, d HI-d, Skip If zero None BIT-ORIENTED (11-8) (7-5) (4-0) FILE REGISTER OPERATIONS OP CODE I b (BIT #) I f (FILE #) Instruction-Binary (Oclal) Name Mnemonic, Operands Operation Status Affected 010 Obb b I I Iff (2000) Bit Clear f BCF I, b D--f(b) None 010 lbb b I I I I f (2400) Bit Set I BSF I, b I-I(b) .' None 011 Obb b f f II I (3000) Bit Test t, Skip II Clear BTFSC t, b Bit Test lIb): skip II clear None 011 lbb b I I I f I (3400) Bit Test I, Skip If Set BTFSS I, b Bit Test I(b) skip is set None (11-8) (7-0) LITERAL AND CONTROL OP CODE k (LITERAL) OPERATIONS Instruction-Binary (Octal) Name Mnemonic, Operands Operation Status Affected 000 000 000 010 (0002) Return from Interrupt RETURN Stack-PC None 100 Okk kkk kkk (4000) Return and place literal In W RETLW k k-W, Stack-PC None 100 1kk kkk kkk (4400) Call subroutine (Note I) CALL k PC+I - Stack, k - PC None 101 kkk kkk kkk (5000) Go To address (k IS 9 bits) GOTO k k-PC None 110 Okk kkk kkk (6000) Move Literal to W MOVLW k k-W None 110 1kk kkk kkk (6400) Inclusive OR Literal and W 10RLW k kVW-W Z 111 Okk kkk kkk (7000) AND Literal and W ANDLW k k·W-W Z 11 I 1kk kkk kkk (7400) Exclusive OR literal and W XORLW k k(!)W-;-W Z NOTES: 1. The 9th bit of the program counter in the PIC is zero for a CALL and a MOVWF F2. Therefore, subroutines must be located in program memory locations 0-3778' However, subroutines can be called from anywhere in the program memory since the Stack is 9 bits Wide. 2. When an I/O register is modified as a function of itself, the value used will be that value present on the output pins. For example, an output pin which has been latched high but is driven low by an external device, will be relatched in the low state. 4-100 PIC1664 SUPPLEMENTAL INSTRUCTION SET SUMMARY The loll owing supplemental instructions summarized below alent to the basic instruction BCF 3,0 ("Bit Clear, File 3, Bit 0"). represent specilic applications 01 the basic PI C instructions. For These instruction mnemonics are recognized by the PIC Cross example, the "CLEAR CARRY" supplemental instruction is equiv- Assembler (PICAL). Mnemonic, Equivalent StatUI InltNcllon-Blnery (Octal) Name Operandi Operatlon(l) Affected 010 000 000 011 (2003) Clear Carry CLRC BCF 3, 0 - 010 100 000 011 (2403) Set Carry SETC BSF 3, 0 - 010 000 100 011 (2043) Clear Digit Carry CLRDC BCF 3, 1 - 010 100 100 011 (2443) Set Digit Carry SETDC BSF 3, 1 - 010 001 000 011 (2103) Clear Zero CLRZ BCF 3, 2 - 010 101 000 011 (2503) Set Zero SETZ BSF 3,2 - 011 100 000 011 (3403) Skip on Carry SKPC BTFSS 3,0 - 011 000 000 011 (3003) Skip on No Carry SKPNC BTFSC 3,0 - 011 100 100 011 (3443) Skip on Digit Carry SKPDC BTFSS 3,1 - 011 000 100 011 (3043) Skip on No Digit Carry SKPNDC BTFSC 3,1 - 011 101 000 011 (3503) Skip on Zero SKPZ BTFSS 3, 2 - 011 001 000 011 (3103) Skip on No Zero SKPNZ BTFSC 3, 2 - 001 000 1I I III (1040) Test File TSTF f MOVF 1,1 Z 001 000 Oil I I I (1000) Move File to W MOVFWf MOVF f, 0 Z 001 001 111 III (1140) Negate File NEGF f,d COMF 1,1 001 010 dll fll (1200) INCF f, d Z 011 000 000 011 (3003) Add Carry to File ADDCF f, d BTFSC 3,0 001 010 dll I t I (1200) INCF I, d Z 011 000 000 011 (3003) Subtract Carry from File SUBCF I,d BTFSC 3,0 000 011 dll I I I (0300) DECF f, d Z 011 000 100 011 (3043) Add Digit Carry to File ADDDCF I,d BTFSG 3,1 010 d I , (1200) INCF I,d Z 001 '" 011 000 100 011 (3043) Subtract Digit Carry from File SUBDCF I,d BTFSC 3,1 000 011 dll III (0300) DECF I,d Z 101 kkk kkk kkk (5000) Branch Bk GOTOk - 011 000 000 011 (3003) Branch on Carry BC k BTFSC 3,0 101 kkk kkk kkk (5000) GOTOk - 011 100 000 011 (3403) Branch on No Carry BNC k BTFSS 3,0 101 kkk kkk kkk (5000) GOTOk - 011 100 100 011 (3043) Branch on Digit Carry BDC k BTFSC 3,1 101 kkk kkk kkk (5000) GOTOk - 011 001 000 01 1 (3443) Branch on No Digit Carry BNDC k BTFSS 3,1 101 kkk kkk kkk (5000) GOTOk - 011 101 000 011 (3103) Branch on Zero BZ k BTFSC 3,2 101 kkk kkk kkk (5000) GOTOk - 011 101 000 011 (3503) Branch on No Zero BNZ k BTFSS 3,2 101 kkk kkk kkk (5000) GOTOk - 4-101 PIC1664 1/0 Interfacing can be connected directly to a TTL gate input. When inputting data The equivalent circuit for an I/O port bit is shown below as It would interface with either the input of a TTL device (PIC IS outputting) or the output of an open collector TTL device (PIC is inputtmg). ° thru an I/O Port, the port latch mustfirst be settoa high level under program control. This turns off 2, allowing the TTL open collec- tor device to drive the pad, pulled up by 0" which can source a Each I/O port bit can be mdlvidually time multiplexed between mmimum of 100IlA. Care, however, should be exercised when Input and output functions under software control. When output- usmg open collector devices due to the potentially high TTL ting thru a PIC I/O Port. the data is latched at the port and the pin leakage current which can exist In the high logic state. TYPICAL INTERFACE·BIDIRECTIONAL I/O LINE --------- ------- ----, r - - - - - - Voo I I DN I (INTERNAL -+-------l I DATA BUS) WRITE I (INTERNAL SIGNAL) I I I ,------ I I I I I READ I (INTERNAL I SIGNAL) _ _ PICII~I~ Programming Cautions As an example a BSF operation on bit 5 of F7 (port RC) will cause all eight bits of F7 to be read into the CPU. Then the BSF opera- The use of the bidirectional I/O ports are subject to certain rules tion takes place on bit 5 and F7 is re-output to the output latches. of operation These rules must be carefully followed In the If another bit of F71s used asan mput (say bltO) then bitO must be Instruction sequences written for I/O operation latched high. If during the BSF instruction on bit 5 an external Bidirectional 110 Ports device IS forcmg bit 0 to the low state then the Input/output nature of the BSF mstruction will leave bit 0 latched low after execution. The bidirectional ports may be used for both mput and output In thiS state bit 0 cannot be used as an input until It is again operations. For input operations these ports are non-latch mg. latched high by the programmer. Refer to the examples below. Any input must be present until read by an mput instruction The outputs are latched and remain unchanged until the output latch Successive Operations on Bidirectional 110 Ports is rewntten For use as an Inpul porllhe outpullalch musl be sel Care must be exercised if successive Instructions Qperate on the In Ihe high slale. Thus the external device inputs to the PIC circuit same I/O port The sequence of mstructions should be such to by forcmg the latched output Ime to the low state or keepmg the allow the pin voltage to stabilize (load dependent) before the next latched output high This principle IS the same whether operating mstructlon which causes thatfile to be read into the CPU (MOVF, on mdlvidual bits or the entire port. BIT SET, BIT CLEAR, and BIT TEST) is executed. Otherwise, the Some instructions operate internally as input followed by output previous state olthat pm may be read into the CPU rather than the operations. The BCF and BSF instructions, for example, read the new state. ThiS will happen if tpd (See I/O Timing Diagram) IS entire port into the CPU, execute the bit operation, and re-output greater than 'Atey (min). When In doubt, It is better to separate the result. Caution must be used when using these instructions. these mstructlons with a NOP or other instruction. EXAMPLE 1: EXAMPLE 2: F7 F7 OUTPUT INPUT OUTPUT INPUT What is thought to be happening What could happen If an mput were low: BSF 7,5 BSF7,5 Read mto CPU: 00001111 Read mto CPU 00001110 Set blt5: 00101111 Setblt5 00101110 Write to F7: 00101111 Write to F7: 00101110 If no mputs were low during the instruction execution, there In this case bit 0 is now latched low and is no longer useful as an would be no problem. input until set high again. 4-102 PIC1664 ELECTRICAL CHARACTERISTICS Maximum Ratlngs* Ambient temperature Under Bias ................................ 125· C * Exceeding these ratings could cause permanent dam- Storage Temperature •.••••••.••••••.•••••••••.••.••• -55·C to +150·C age to the device. This is a stress rating only and func- Voltage on any Pin with Respect to Vss ••••••••.••••.••• -0.3V to +10.0V tional operation of this device at these conditions is not Power Dissipation •••••••.•••••.••••••.••••••••.•••••••••••.•• 1000mW implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. DC CHARACTERISTICS/PIC1664 Data labeled "typical" is presented for design guidance Operating Temperature TA = O·C to +70·C only and is not guaranteed. Characteristics Sym Min Typt Max Units Conditions Primary Supply Voltage Voo 4.5 - 7.0 V Output Buffer Supply Voltage Vxx 4.5 - 10.0 V (Note 2) Primary Supply Current 100 - 30 55 mA All 1/0 pins @ Voo Output Buffer Supply Current Ixx - 1 5 mA All 1/0 pins @ Voo (Note 3) Input Low Voltage VOL -0.2 - 0.8 V Input High Voltage (except 1iifCLR, RT & OSC1) V'H 2.4 - Voo V Input Low-to-High Threshold Voltage (MCLR, RT & OSC1 in PIC1650A/55A mode) V'LH Voo-1 2.6 Voo V Output High Voltage V OH 2.4 - Voo V IOH - -100JlA (Note 4) 3.5 - Voo V IOH=O Output Low Voltage (I/O only) VOLl - - 0.45 V IOL = 1.6mA, Vxx - 4.5V - - 0.90 V I OL = 5.0mA, Vxx = 4.5V - - 0.90 V 10L = 5.0mA, Vxx = 8.0V - - 1.20 V IOL = 10.0mA, Vxx = 8.0V - - 2.0 V 10L = 20.0mA, Vxx = 8.0V (Note 5) Output Low Voltage AG-A8 CLK OUT HALTACK VOL. - - 0.45 V 10L = 1.6mA (Note 5) Input Leakage Current (~, RT) I Lc -5 - +5 JlA Vss';;; V'N';;; Voo (note 6) Input Low Current (all 1/0 ports) I'L -0.2 -0.6 -1.6 mA VOL = 0.4V internal pullup Input High Current (all 1/0 ports) I'Hl -0.1 -0.4 -1.4 mA V'H=2.4V Input High Current (HALT) I'H2 - 50 200 JlA V'H = 2.4V internal pulldown OSC Input (PIC1650/55 MODE) External Input Impedance High RosCH 120 800 3500 0 Vosc = Voo = 5V. (Applies to external OSC drive only.) External Input Impedance Low RoscL - 10· - 0 Vose = 0.4V OSC Input (PIC1656 MODE) OSC1 External Input Low Voltage VOL -0.2 - 0.8 V (OSC1) OSC1 External Input High Voltage V'H Voo-1 - - V (OSC1) tTypical data is at TA = 25·C, Voo = 5.0V NOTES: 1. Total power dissipation for the package is calculated as follows: Po= (VoO> (100) + 1: (Voo -V,d dl,J) + 1: (Voo-Vow dlo~) + 1: (VoLl (Iod. The term 1/0 refers to all interface pins; input, output or I/O. 2. Vxx supply drives only the 1/0 ports. 3. The maximum Ixx current will be drawn when all 1/0 ports are outputting a High. 4. Positive current indicates current into pin. Negative current indicates current out of pin. 5. TotalloL for all output pins (I/O ports plus CLK OUT) must not exceed 225mA. 6. Also applies to OSC1 pin in PIC1656 mode. 4-103 PIC1884 Standard Condltlona (unless otherwise stated): AC CHARACTERISTICS Operating Temperature TA = O·C to +70·C Charscl8r1atlcl 8ym Min Typt Max Unite Conditions Instruction Cycle Time tcv 4 - 20 p.s 0.2MHz - 1.0MHz external time base 1650Al1655A mode 0.8MHz -4.0MHz external time base 1658 mode (Note 1) RTlnput Period tRT Icy+Q2ps - - - High Pulse Width tRTH 'htRT - - - low Pulse Width tRTL 'htRT - - - (Notes 2 and 3) 1/0 Port. Data Input Setup Time ts - - 'At cv-125 ns Data Input Hold Time th 0 - - ns Data Output Propagation Delay tpd - 800 1000 ns Capacitive load = 50pF HALT ACK Output Propogation Delay tHA - 200 - ns A.,.A, Output Propogatlon Delay tAD - 350 - ns D.,.D"lnput Set-up Time tos 0 - - ns D.,.D"Input Hold Time tOH 200 - - ns tTypical data is at TA = 25°C, Voo = 5.0V. NOTES: 1. Instruction cycle period (t CY) equals four times the input oscillator time base period for 1650Al1656A operation or sixteen times oscillator time base period for 1656 operation. 2. Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the RTCC input, ClK OUT may be directly tied to the RT/~ input without any loss of counts. 3. The maximum frequency which may be Input to the RTCC pin Is calculated as follows: f(max) =_1_= 1 tRT (mIn) tCY (min) +0.2p.s For example: if tCY = 4ps, f (max) = ~ = 238KHz. 4-104 PIC1664 I/O TIMING ClK OUT 1-1---..., 1\ 1\ 1\ \ I \ I GATE \ I \'-_____~ I 'NC"M'"'~I ~PC mCU"IAN'W,"PRITE TO--., I ADDRESS ROM INSTRUCTIONI 1/0 FOR NEXT INTERNAL INSTRUCTION B~S Tpd '-- I OUTPUT I \A1:~__ A_ V_A_l_ID_ _ ~~;;nd fall t'mes are load dependent I I --j Ts:-- - Th:- 1 INPUT -------'-.IX~STABlEH>C 1 1 1 I CLK OUT TIMING I'!.tCY, 104 ~I : _n-i-----%tCY------I~, ClK O U T - 1 ! 1-1 .. 1\. . . ----------. . .lT L -------t.,-11 - - - - - " ' - - - - - tey RTTIMING , I .. tRTH .. ,I . tRTl ... , I RTCC----...,I I 1 \ I I .. tRT 1 L ... 1 I SCHMITT TRIGGER CHARACTERISTICS (RTCC, MCLR and OSC PINS) TA = 25°C (TYPICAL) 4.0 VTHAESHOLO' VOLTS 3.0 ~ - - - I--I-- NOT:,2. r- NOTES: 1. low-to-High Threshold Voltage (VTLH). 2. High-to-low Threshold Voltage (VTHcl. 20 NOTE 2 10 45 5.0 55 6.0 6.5 70 Voo, VOLTS 4-105 INsr1 Oms delay before activation after power is applied to the Voo pin, for the oscillator to start up. To achieve this, an external RCconflguration as shown can be used (assum- Ing Voo IS applied as a step function) OUTPUT SINK CURRENT GRAPH 10L 40 30 V ".... ..... "... ......::V i.,....oo" ". V ~ ---- ~ I-- i.-- Vxx = 7 ...- r- - (rnA) ~ ~ :::...- ~ ~ Vxx = 6 20 ..... / ...- ~ ~ l--' I-- I-- 10 ~ ~ :...-: ;:::... ~ ,.-I--I-- ~ E:::= ...- ,...- - Vxx = 5 ~ 10 20 30 VOL (VOLTS) I OL VS. VOL TYP @ 25°C The Output Sink Current is dependent on the Vxxsupply and the output load This chart shows the tYPical curves used to express the output drive capability. VOH VS IOH (I/O PORTS) (TYPICAL) POWER SUPPLY CURRENT VS TEMPERATURE (TYPICAL LIMITS) - 50 Voo=Vxx=425V V ODI 70V 40 v~ (VOLTS) 100 {rnA) 30 10 -- ~ ~/OC r---,: ~A/'C ~ 0 ~ ~ 1~ lot'! (PAl TEMPERATURE (0 C) 4-108 PIC1664 PIC1650A/PIC1655A EMULATION CAUTIONS When emulating a PIC1650A or PIC1655A using a PICES II devel- C. Make sure all 1/0 cautions contained in this spec sheet are opment system certain precautions should be taken. used. A. Be sure that the PICES II Module being used is programmed D. Besureto usethe40 pin socketforthe PIC1650Aandthe28 pin for the PIC1650A/PIC16655A mode. (Refer to PICES II Manual). socket for the PIC1655A module plugs. The PIC1664 contained within the module should have the MODE E. Make sure that during an actual application that the ~ pin #22 set to a high state. input swings from a low to high level a minimum of 1 msec after the 1. This causes the MCLR to force all 110 registers high. supply voltage is applied. 2. The OSC1 pin #59 becomes a single clock input pin. F. If an external oscillator drive is used, be sure that it can drive the 3. The interrupt system becomes disabled and the RTCC 1200 input impedance of the OSC pin on the PIC1664. always counts on the trailing edges. G. The cable length and internal variations may cause some 4. Bits 3 through 7 on file register F3 are all ones. parameter values to differ between the PICES II module and a B. Make sure to only use two levels of stack within the program. production PIC1650A and PIC1655A. PIC1656 EMULATION CAUTIONS When emulating a PIC1656 using a PICES II development system B. All three levels of stack can be used within the program. If certain precautions should be taken. interrupts are used, allow one level of the stack for interrupt A. Be sure that the PICES II Module being used is programmed servicing. for the PIC1656 mode. (Refer to PICES II Manual). The PIC1664 C. Make sure all 1/0 cautions contained in this spec sheet are contained within the module should have the MODE pin #22 setto used. a low state. D. Be sure to use the 28 pin socket for the module plug. 1. This causes the MCLR to force F5 register high and F6 and E. Make sure that during an actual application that the MCLR F710w. inputswings from a lowto high level a minimum of 1 msecafterthe 2. The OSC1 pin #59 becomes a single clock input pin. supply voltage is applied. 3. The interrupt system becomes enabled and the 1fT always F. The cable length and internal variations may cause some counts on the trailing edges. parameter values to differ between the PICES II module and a 4. Bits 3 through 7 on file register F3 are used for interrupt production PIC1656. servicing. 4-109 PIC16C63 PRELIMINARY 8 Bit Development Microcomputer FEATURES • PIC microcomputer with ROM removed provide latched lines for interfacing to a limitless variety of • Useful for engineering prototyping of PIC applications applications. • ROM address & data lines brought out to pins The 12-bit instruction word format provides a powerful yet easy to • HALT pin for single stepping or stopping program execution use instruction repertoire emphasizing single bit manipulation as • 50/55 pin for selection of PIC16C50 or PIC16C55 emulation well as logical and arithmetic operations using bytes. • 32 8-bit RAM registers The PIC Series is fabricated with complimentary MOS technol- • Arithmetic Logic Unit ogy resulting in a high performance product with proven reliabil- • Real Time Clock/Counter ity and production history. Only a single wide range power supply • Self-contained oscillator is required for operation, and an on-chip oscillator provides the • Access to RAM registers inherent in instruction operating clock with only an external RC network (or crystal • Wide power supply operating range (2.5V to 6.0V) oscillator for greater accuracy) to establish the frequency. Extensive hardware and software support is available to aid the DESCRIPTION user in developing this application program and to verify perfor- The PIC16C63 development microcomputer is a CMOS/LSI device mance before committing to mask tooling. Application notes and containing RAM, I/O, and a central processing unit on a single sample programs are used to develop programs which can then be chip. assembled into machine language using PICAL, eliminating the The PIC16C63 CMOS/LSI device is functionally identical to the burden of coding with ones and zeros. PICAL IS available in a PIC16C55 microcomputer except that the ROM is removed and Fortran III version that can be run on many popular computer the ROM address and data lines are brought out, requiring a systems. Once the application program is developed several 64-pin package. The addition of a HALT pin gives the user the options are available to insure proper performance. The PFD Field ability to stop as well as single-step the chip. The logic level Demo Systems are available containing a PIC16C63 with sockets applied to the SO/55 pin determines whether the PIC16C63 emu- for erasable CMOS PROMs. Finally, the PICES II (PIC In-Circuit lates a PIC16C50 or PIC16C55. Emulation System) provides the user with stand-alone emulation The external ROM can contain a customer-defined program using and debugging operation or operation as a peripheral to a larger the PIC's powerful instruction set to specify the overall functional computer system. Easy program debugging and changing is characteristics of the device. The 8-bit inpuVouput registers facilitated because the user's program is stored in RAM. PIC16C63 GENERAL BLOCK DIAGRAM RAO-7 RBo-7 RCO-7 INSTRUCTION DeCODe & CONTROL ~OO-7 12 -- - : ------- ROM ADDRESS ---.,I ROM DATA : EXTERNAL MEMORY I IL.. _ _ _ _ _ _ _ _ _ _ _ _ _ J 4-110 PIC16C63 ARCHITECTURAL DESCRIPTION The firmware architecture of the PIC16C63 microcomputer is ters are used for data and control information under command of based on a register file concept with simple yet powerful com- the instructions. mands designed to emphasize bit, byte, and register transfer The Arithmetic Logic Unit contains one temporary working regis- operations. The instruction set also supports computing func- ter or accumulator (W Register) and gating to perform Boolean tions as well as these control and interface functions. functions between data held in the working register and any file Internally, the PIC16C63 is composed of three functional ele- register. ments connected together by a single bidirectional bus: the Reg- Sequencing of microinstructions is controlled via the Program ister File composed of 32 addressable 8-bit registers, an Arith- Counter (PC) which automatically increments to execute in-line metic Logic Unit, and a user-defined external ROM composed of programs. Program control operations can be performed by Bit 512 program words each 12 bits in width. The Register File is Test and Skip instructions, Jump instructions, Call instructions, or divided into two functional groups: operational registers and gen- by loading computed addresses into the PC. In addition, an on- eral register. The operational registers include, among others, the chip two-level stack is employed to provide easy to use subroutine Real Time Clock Counter Register, the Program Counter (PC), the nesting. Activating the MCLR input on power up initializes the Status Register, and theIIO Registers. The general purpose regis- external ROM program to address 777•. PIN FUNCTIONS Signal Funcllon 50/55 (input) Used to set the PIC16C63 to emulate the PIC16C55 (logic "one") or the PIC16C50 (logic "zero"). The mode must be selected before MCLR is brought high. This pin has an internal pull up. OSCI (input), OSC2 Oscillator pins. Both OSC 1 and OSC 2 are used as a two pin oscillator clock using either crystal, ceramic resonator or RC network or OSC 1 can be driven by an external clock signal. RTCC (Input) Real Time input. This pin increments the Real Time Clock Counter Register 1 on high to low transitions applied to this input. RAO-7, RBO-7, RCO-7, RDO-7 User programmable input/output lines. These lines can be inputs and/or outputs and are under direct (input/output) control of the program. During emulation of the PICI6C55, Register D will b"lcome internal general purpose File Register 10; Register B will become an output only file. Any instruction involving a read (all instructions except literal and control operations, NOP, MOVWF, CLRW and CLRF) will not read the pin but will read data from the output latch. MCLR (input) Master Clear. Used to initialize the internal ROM program to address 777. and to latch all 1/0 registers into tri-state mode This pin should be held low at least 1ms after the power supply is valid. MCLR has no internal pullup resistor. Voo Primary Power supply input. CLK OUT (output) A signal derived from the internal oscillator. Used by external devices to synchronize themselves to PIC timing. The OSC frequency is divided by 5. HALT (Input) Halt. When high this input suspends execution of the next instruction. No data is lost and after HALT is brought low execution proceeds exactly as if no HALT signal has been applied. HALT ACK (output) Halt Acknowledge. This output is high when the PIC16C63 is halted either due to an active HALT input or execution of the HALT insruction (00010). In the first case HALT ACK is brought back low when the PIC 16C63 begins execution when the HALT input is brought low; and in the second case it is brought low using MCLR or by first raising and then lowering the HALT input. 00-011 (input) Data input. These 12 lines accept 12 bit PIC instruction codes generated by an external source. DO is the LSB of the instruction. AD-AS (output) Address Output. These 9 lines represent the address of the next instruction to be executed by the PICI6C63. AO is the LSB of the address. 4-111 PIC16C63 MODE PIN OPERATION the PIC senes have the same basic architecture and instruction set, there are differences which require attention on the part of The mode pin is used to select either PIC16C50 emulation or the user to insure that all conditions are met for proper operation PIC16C55 emulation. of the PIC16C63 with respect to the target PIC circuit (either With the 50/55 pin set high, the PIC16C63 is set to emulate the PIC16C50 or PIC16C55). The following checklist list should be PIC16C55. Specifically: used to achieve proper emulation. 1. I/O port RD is general purpose register. 2. I/O port RB is output only. The 50/55 Pin must be properly set (high for PIC16C55 or low for PIC16C50). When the MODE Input is low, the PIC16C63 will emulate the 2 For PIC16C55 emulation bits 4-7 of F5 (the Input only file) PIC16C50 circuit. Specifically: should be tied to Vss (ground) as these bits are always read 1. All ports will be 1/0. as low inputs To insure proper chip operation, the 50/55 pin should be preset 3. For PIC16C55 emulation the pins corresponding to F10. before MCLR is brought high at initialization. "Dynamic-type" (1/0 port RD on the PIC16C50) should be left unconnected. switching of this pin during processor operation will result in I n this way FlO. will operate as an internal register as is undefined conditions and must be avoided. appropnate for the PIC16C55. PROGRAMMING CAUTIONS 4. The HALT instruction (0001.) IS not recognized by any PIC circuit other than the PIC16C63. The PIC16C63 is designed asa development circUitforemulating the operation of the PIC16C50 and PIC16C55. While all cirCUits in PIN CONFIGURATION 64 LEAD DUAL IN LINE Top View --;'v" [ "2 64 P Voo «-- A6 ~ 8 57 J DO «-- A4 [ 13 " 53 52p 03 « - - ~RA6[ 14 51 P RDS 011 [ 30 35pRC3~ ~ACO[ 31 34 PRC2 D6 044-- --> D7 03 "7--- ---'> D8 D2 <-- --> D9 D1 <-- ~ 010 DO --7 012 A1 -----? ~RCO A2 -----? ~RC1 A3 -----? ~RC2 A4 -----? ~AC3 RB7~ ~RC4 RB6~ ~RD2 ABO (-----) oE---7 AD3 AA7~ ~ RD4 AA6~ ~ RDS RA5~ REGISTER FILE ARRANGEMENT File Octal Function Fa Not a physical register. Fa calls forthe contents olthe FSR (F4) to be used to select a file register. F4 is used as an indirect address pointer. F1 W Register - The working register. F2 Program Counter -- Points to the next program ROM address to be executed. F3 Arithmetic Status Register 7 654 3 2 1 0 li I X IA91ASlovi Z IDCI C I Bit a (C) - Bit 0 is the carry flag which is usually the carry from the A.L.U. It is also used as a borrow in subtract instructions. Bit 1 (DC) - Bit 1 is the half carry (decimal carry) and is used to indicate a carry from bit3 in theA.L.U. as the result of an addition (byte). This bit is used in the decimal adjust instruction to allow B.C.D. decimal addition. Bit 2 (Z) - Bit 2 is the zero flag and is set to a one if the results of the previous operation was identically zero. Bit 3 (OV) - Bit 3 is the overflow flag, and is set to a one by operations which cause a signed two's complement arithmetic overflow. The bit is set when the carry from the MSB in the A.L.U. is opposite to the carry from the MSB-1 bit. Bit 4 (A8) - Bit 4 is the 9th bit of the program counter. This bit is a read only bit. Bit 5 (A9) - Bit 5 is the 10th bit of the program counter. This bit is a read only bit. F4 File Select Register - The FSR is used in generating effective file register addresses under program control. F5 Interrupt Status Register Interrupts and F6 and F7. I I I X CNTE A/B I CNTS IRTCIR XIR RTCIE XIE ... . . . I I . I . I - Used to control F6,F7 RTCCA and RTCCB - Real Time Clock Counters A & B respectively can be arranged as two 8 bit registers, a single 16 bit register or two general purpose registers when no external counting is required. The RTCC registers can be loaded and read by the program, as well as count negative transitions on the RT pin or count at 1/8 the frequel}fy of the oscillator. If data are being stored into RTCCA simultaneously with a negative transition on the RT pin (and CNTE = 1 and CNTS = 1), RTCCA will contain the new stored value and the external transition will be ignored by the microcomputer. (See the section "Real-Time Clock Interrupt" for further details about the RTCC registers.) F10,11 I/O Port A F12,13 I/O Port B NOTE: F10, 12, 14 & 16 are the I/O registers and F11, 13, 15 & 17 are used for reading the actual pin levels. F14,15 I/O Port C F16,17 I/O Port D F2a,77 General Purpose Registers-Used for temporary and general purpose storage during program execution time. 4-123 PIC1665 INTERRUPT SYSTEM RTCCB register will not increment and can be used as a general The interrupt system of the PIC1665 is comprised of an external purpose RAM register). Once a request has come from the real- interrupt and a real-time clock counter interrupt. These have time clock counter, the real-time clock interrupt request (RTCIR) different interrupt vectors, enable bits and status bits. Both inter- bit will be set. At this point, the request can either be serviced rupts are controlled by the status register (F5)" shown below. immediately if the real-time clock interrupt enable (RTCIE) bit is set orbe stored if RTCIE is not set. The latter allows the processor to store a real-time clock interrupt while acritical timing routine is being executed. Once interrupt service is initiated, the processor will clear the RTCIR bit, delay one cycle (to execute the current • Bit 7 IS unused and is read as zero instruction), then push the present program counter on to the "Register 5 will power up to all zeroes stack and execute the instruction at location 1740•. It takes three instruction cycles from when the RTCC (A or B) overflows until the EXTERNAL INTERRUPT instruction at 1740. is executed. No new interrupts can be serviced On any high to low transition on the RT pin the external interrupt until a RETFI instruction has been executed. request (XIR) bit will be set. This request will be serviced if the The RETFI instruction (00002.) must be used to return from any external interrupt enable (XI E) bit is set or if it is set at a later point interrupt service routine if any pending interrupts are to be ser- in the program. The latter allows the processor to store a request viced. External interrupts have priority over RTCC driven inter- (without interrupting) while a critical timing routine is being exe- rupt in the event both types occur simultaneously. Interrupts cuted. Once ex/ernal interrupt service is initiated, the processor cannot be nested but will be serviced sequentially. The existence Will clear the XIR bit, delay one cycle (to execute the current of any pending interrupts can be tested via the state of the XIR (bit instruction), then push the current program counter on to the 2) and RTCIR (bit 3) in the status word F5. stack and execute the Instruction at location 1760•. It takes three to four instruction cycles from the transition on the RT pin until the instruction at 1760. IS executed. No new interrupts can be HALT OPERATION serviced until a return from interrupt (RETFI) instruction has been Program execution in the PIC1665 can be suspended in two ways. executed. The first is by applying a logic high input level on the HALT/ACK pin when CLKOUT IS low The operation of the PIC1665 will be REAL-TIME CLOCK INTERRUPT suspended until the HALT/ACK pin is brought low. At that point The real-time clock counter (RTCCA & RTCCB, file registers F6 program execution will begin with the next instruction present on and F7) have a similar mechanism of interrupt service. The the Data Lines. Program execution can also be suspended using RTCCA register will increment if the count enable (CNTE) bit is the HALT instruction. In order to restart the PIC1665 after execu- set. If this bit is not set the RTCCA & RTCCB will maintain their tion of a HALT Instruction, the MCLR pin must be brought low, or present contents and can therefore be used as general purpose the HALT/ACK pin must be brought high for one complete cycle RAM registers. The count source (CNTS) bit selects theclocking and then low again. source for RTCCA. If CNTS is cleared to a '0', then RTCCA will In both cases, when CLKOUT IS high, the HALT/ACK pin will use the internal instruction clock and increment at 1/8 the fre- output a high level whenever the PIC1665 is in the halt mode quency present on the OSC pins. If CNTS is set to a '1', then provided an external pullup resistor is used. RTCCA will increment on each high to low transition of the RT pin. RTCCB can only be incremented when RTCCA makes a When the PIC1665 is in the halt mode the RTCCA and RTCCB registers cannot be incremented by the Internal clock, or by high transition from 377. to 0 and the AlB status bit is set. This condi- to low transitions on the RT pin. If a high to low transition occurs tion links the two eight bit registers together to form one sixteen bit counter. An interrupt request under these conditions will on the RT pin, then the XIR bit (Bit 2 of file 5) will be set. If the XIE occur when the combined registers make a transition from bit (bit 0 of file 5) is set, then an Interrupt will occur Immediately 177777. toO. If, however, the AlB bit is not set, then RTCCA will be after program execution begins. the only incrementing register and an interrupt request will occur when RTCCA makes a transition from 377. to O. (In this setup the TYPICAL HALT CIRCUIT 56K HALT ACK r-1-----I----+--I HALT/ACK HALT PIC1665 L-_~ _ _ _ _ _ _;CLKOUT 4-124 PIC1665 IINsRt~~ I Basic Instruction Set Summary register If "d" IS one, the result IS returned to the file register Each PIC tnstruction IS a 13-bit word divided tnto an OP code specified In the tnstructlon which specifies the tnstructlon type and one or more operands For blt-onented Instructions, "b" represents a bit field deSignator which further specify the operation of the Instruction The follow- which selects the number of the bit affected by the operation, ing PIC Instruction summary lists byte-onented, blt-onented, and while "f" represents the number of the file In which the bit IS literal and control operations located For byte-onented tnstructlons, "f" represents a file register deslg- For literal and control operations, "k" represents an eight or ntne nator and "d" represents a desttnatlon deSignator The file regls- bit constant or literal value ter deSignator specifies which one of the PIC file registers IS to be For an oscillator frequency of 5MHz the Instruclton execution utlltzed by .the Instruction The desttnatlon deSignator specifies time IS 2.0I'sec, unless a conditional test IS true or the program where the result of the operation performed by the instruction IS counter IS changed as a result of an Instruction In these two to be placed If "d" IS zero, the result IS placed tn the PIC W cases, the Instruction execution time is 4.0 I'sec. BYTE ORIENTEO (12-7) (6) (5-0) FILE REGISTER OP CODE 1 ( 0 I (FILE #) OPERATIONS ~ Inllrucllon-Blnary (Oclal) Name Mnemonic, Operands Operation Slalul Affecled a a a a 000 a a a 1 a a (00004) DeCimal adjust W DAW (Nole 1) C a a a a a a 1 I f I I I I (00100) Move W to hie MOVWF I W-I a a a a 1 d I I I I f I (00200) Subtract W from file w/borrow SUBBWF I.d f+W+c -d OV,C,DC,Z a a a a lad I I I I I I (00400) Subtract W from file SUBWF Id I+W + l-d OV,C,DC.Z a a a a 1 1 d I I f I I I (00600) Decrement file DECF Id I·l-d OV.C,DC,Z 0 a 01 OOd I I I I I I (01000) Inclusive or W wIth file IORWF I.d WVf-d Z a a 01 Old f f f f I f (01200) And W with file ANDWF I.d W.I-d Z 0 00 1 lad I I I I I I (01400) Exclusive OR W with file XORWF Id W(j)I-d Z a 00 1 1 1 d I I I I I I (01600) Add W with file ADDWF I.d W+I-d OV,C.DC,Z a a 1 a OOd I I I I I I (02000) Add W to file with carry ADCWF Id W+f+c-d OV.C,DC.Z a a 1 0 Old I I I I I I (02200) Complement file COMPF Id f-d Z 0 a 1 0 10 d I I I I I (02400) Increment file INCF Id f+1~d OV.C,DC,Z a o1 a 1 1 d I I I I I (02600) Decrement "ie. Skip If zero DECFSZ I.d f ~ 1- d, skip If zero 0 a 1 1 00 d I I I I I (03000) Rotate file right thru carry RRCF I.d I(n)-dln-l). c-d(7). IIO)-c C a 01 1 Old I I I I I (03200) Rotate file left thru carry RLCF Id I(n)-d(n+l). c-d(O). 1(7)-c C a 01 1 lad I I I I I (03400) Swap upper and lower nibble of file SWAPF Id 1(0·3)"" 14-7)-d a 01 1 1 1 d I I I I I (03600) Increment file, skip If zero INCFSZ Id f+1 ~d, skip .f zero Instruction-Binary (Octal) Name MnemOniC, Operands Operation Status Affected 000 000 (10000) Move file to W MOVFW f-W Z 000 001 (10100) Clear file CLRF (I-I Z 000 010 (10200) Rotate file nghtlno carry RRNCF I(n)-d(n-l), flO). -1(7) a a a 01 1 (10300) Rotate file left/no carry RLNCF Iln)-d(n+l). f(7), -flO) 000 100 (10400) Compare file to W, skip If F < W CPFSLT f - W, Skip 11 C = 0 o a a 1 a 1 (10500) Compare file to W, Skip If F = W CPFSEQ f - W. Skip If Z = 1 oa a 1 1 0 (10600) Compare file to W, skip If F > W CPFSGT f . W. Skop of Z. C ~ 1 oa a 1 1 1 (10700) Move file to Itself TESTF I-f Z BIT ORIENTED (12-9) (8-6) (5-0) FILE REGISTER OPERATIONS Lop CODE b (BIT #) I (FILE #!=:J Instruction-Binary (Octal) Name MnemOniC, Operands Operation Status Affected a 100 bbb (04000) Sit clear file BCF I.b O-llb) o 101 bbb (05000) Sit set file BSF I.b l-I(b) 0110 bbb (06000) Sit test. Skip If clear BTFSC I.b Sit Test f(b) skip If clear a 1 1 1 b b b (07000) Sit test. skip If set BTFSS Ib Sit Test f(b) skip If set (12-8) (7-0) LITERAL AND CONTROL OP CODE k (LITERAL) OPERATIONS Instruction-Binary (Octal) Name MnemOniC, Operands Operation StatUI Affected a a a 000 a a a 000 (00000) No Operation NOP a a 0 a a a a a a a a 1 (00001) Halt In PIC1665 HALT a a a a 0 a a a a a 1 a (00002) Return from Interrupt RETFI Stack - PC a 0 a 000 a a a a 1 1 (00003) Return from Subroutine RETFS Stack - PC a a 1 a k k k k k k k k (11000) Move Literal to W MOVLW k-W 001 1 k k k k k k k k (11400) Add Literal to IN ADDLW k+W-W OV.C.DC,Z a 1 a a k k k k k k k k (12000) InclUSive OR Literal to W IORLW kVW-W Z 01 0 1 k k k k k k k k (12400) And literal and W ANDLW k·W-W Z 01 1 Ok k k k k k k k (13000) ExclUSive OR Literal and W XORLW kIJ)W-W Z 01 1 1 k k k k k k k k (13400) Return and load lIteral In W RETLW k-W, Stack -PC (12·10) (9-0) OP CODE k (LITERAL) Instruction-Binary (Octal) Name MnemOniC, Operands Operation StatuI Affected 10k k k k k k k k k k (14000) Go to address GOTO k-PC 11k k k k k k k k k k (16000) Call Subroutine CALL PC+l-Stack. k-PC Note 1: DAW: Decimal Adjust W This instruction adjusts the eight bit number in the W register to form two valid BCD (binary coded deCimal) digits,one in the lower and one in the upper nibble (The results will only be meaningful If the number in W to be adjusted IS the result of adding together two valtd two digit BCD numbers.) The adjustment obeys the following two step algorithm. 1. If the lower nibble is greater than 9 or the digit carry flag (DC) is set, 06 IS added to the W register. 2. Then, ifthe upper nibble is greater than 9 or the carry from the original or step 1 addition IS set, 60 IS added to the W register. The carry bit IS set if there IS a carry from the original, step 1 or step 2 addition 4-125 PIC1665 INPUT/OUTPUT CAPABILITY Here, the low 3 bits of port RA are used as output-only, while the high 5 bits are used as input-only. During power on reset (MCLR The PIC1665 provides four complete quasi-bidirectional input! low), the latches in the I/O ports will be set high, turning off all pull output ports. A simplified schematic of an I/O pin is shown below. down transistors as represented by O 2 in Figure 1. During pro- The ports occupy address locations in the register file space of gram execution if we wish to interrogate an input pin, then, for the PIC1665. Thus, any instruction that can operate on a general example, purpose register can operate on an I/O port. Two locations in the register file space are allocated for each I/O port. Port RAO-? is BTFSS 11,6 will test pin RA6and skip the next instruction if that pin is set. If we addressable as either FlO or Fll. Port RBO-? is addressable as wish to modify a single output, then, for example, either F12 or F13. Port RCO-? is addressable as either F14 or F15 and Port RDO-? is addressable as either F16 or Fl? An I/O port BCF 10,2 will force RA2 to zero because its internal latch will be cleared to READ on its odd-numbered location will interrogate the chip pins while an I/O port READ on its even-numbered location will inter- zero. This will turn on A2 and pull the pin to zero. rogate the internal latch in that 1/0 port. This simplifies pro- The way this instruction operates internally is the CPU reads file gramming in cases where a portion of a single port is used for 10 into the A.L.U., modifies the bit and re-outputs the data to file inputting only, while the remainder is used for outputting as 10. If the pins were read instead, any input which was grounded illustrated in the following example. externally would cause a zero to be read on that bit. When the CPU re-outputted the data to the file, that bit would be cleared to _RAO zero, no longer useful as an input until set high again. _RA1 During program execution, the latches in bits 3-7 should remain - -.... RA2 in the high state. This will keep A2 off, allowing external circuitry _RA3 full control of pins RA3-RA?, which are being used here as input. PIC _RA4 _RA5 _RA6 _RA7 BIDIRECTIONAL INPUT-OUTPUT PORT INTERNAL Voo Voo BUS S I-----.;~ 0 Q .......--~ Vss Vss WRITE READ EVEN. I/O FILE # READ ODD • 1/0 FILE # Figure 1 4-126 PIC1665 ELECTRICAL CHARACTERISTICS Maximum Ratings· Ambient Temperature Under Bias ................................ 70· C * Exceeding these ratings could cause permanent dam- Storage Temperature ................................ -55· C to +150· C age to the device. This is a stress rating only and func- Voltage on any Pin with Respect to Vss .•....•••..•.... -0.3V to +10.0V tional operation of this device at these conditions is not Power Dissipation ............................................ 1000mW implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. DC CHARACTERISTICS Data labeled "typical" is presented for design guidance Operating Temperature TA = O·C to +70·C only and is not guaranteed. Characteristic Sym Min Typt Max Units Conditions Primary Supply Voltage Voo 4.5 - 5.5 V Primary Supply Current 100 - - 100 rnA All lIO pins high Input low Voltage (except MClR & RT) V'L 0.2 - 0.8 V Input High Voltage (except MClR. RT. OSC1) V,H , 2.4 - Voo V Input High Voltage (MClR, RT. OSC1) V,H, Voo-1 - Voo V Output High Voltage VOH 2.4 - Voo V IOH = -100tlA provided by internal pullups (Note 2) Output low Voltage (lIO. AO-A9, HALT ACK, ClK OUT) VOL - - 0.45 V IOL = 1.6mA Input leakage Current (MClR, RT.OSC1) I LC -5 - +5 tl A Vss ~ V IN ~ Voo Input low Current (all lIO ports) I'L 0.2 0.6 -2.0 rnA V'L = O.4V, internal pullup Input High Current (all 1/0 ports) I'H 0.1 0.4 - rnA V,H = 2.4V t Typ,cal data is at TA = 25·C. Voo = 5.0V. NOTES: 1. Total power dissipation for the package is calculated as follows: Po= (Voo) (100) + l: (Voo -V,LlII,Ll + l: (Voo -VOH) ('loH) + l: (VaLl (lOL)' 2. Positive current Indicates current into pin. Negative current indicates current out of pin. 3. Total IOL for all output pin (lIO ports plus ClK OUT) must not exceed 175mA. Standard Conditions (unless otherwise stated): AC CHARACTERISTICS Operating Temperature TA = O·C to +70·C Characteristic Sym Min Typ Max Units Conditions Instruction Cycle Time tCY 2.0 - 8 tiS 4MHz-.1 MHz external time base (Note 1) RT Input (Note 2) Penod tRT t CY+O'2/IS - - - (Notes 2 and 3) High Pulse Width tRTH 'htRT - - - low Pulse Width tRTL 'htRT - - - I/O Ports Data Input Setup Time ts - - %t Cy-125 ns Data Input Hold Time th 0 - - ns Data Output Propagation Delay tpd - 500 800 ns Capacitive load - 50pF HALT ACK Output Propagation Delay tHA - 200 - ns AO-A9 Output Propagation Delay tAO - 350 - ns 00-012 Input Set-Up Time tos 0 - - ns 00-012 Input Hold Time tOH 200 - - ns NOTES: 1. Instruction cycle period (tcy) equals eight times the input oscillator time base period. _ 2. Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the RT input, ClK OUT may be directly tied to the RT input. The minimum times specified represent theoretical limits. 3. The maximum frequency which may be input to the RTCC Din is calculated as follows: f Imax) =-t_1_ = t \02/ls For example' if t = 4"s f = _,_ = 238KHz RT 1m,") CY 1m,") • . Cy ~'Imax) 4.2t1s . 4-127 PIC1885 I/O TIMING CLKOUT r---....,.~­ OUTPUT \' VALID A l-- - ---oJ I/O PORTS INPUT r- - - RIM and fall tim.. are 15V_-+_ _~ loed dependent r--- HALT 1------..,1 .. HLTACK --"'\ ,---~-"'::;i-=\ F--+---i-........ , - - - - AfrA,OUTPUT '( __ J'-____~-~J,~-~-_+--/~------ °crDt2INPUTS CLK OUT TIMING 'Me, I~ ~I I J1t----¥.,e'------l~1 "'""' i I ------------ ..----.:...1- - - I e , --------t~~1 1 " •" , A'i'Ce/RT TIMING I~ tR~H .. I. tRlL ~I I 1 Ri'CC----....I j1 \ 1 LI I. IRT .. I SCHMITT TRIGGER CHARACTERISTICS (Typical) 4.0 r--r-r--r-..----.--..--..,.--.----.--.-----.--.------....--. ~~+Hm=flVTLH 3.0c::!: I""" VTHRESHOLO (VOLTS) 2.0 ~=l~~-~~~-+-+-f--t-+-t_-;--r-t~ VTHL 1.0 L__~---'L__......---I_..L_---J._ _'__.L_ _'_......._.L-~_L__.... 4.5 5.0 5.5 Voo(VOLTS) 4-128 PIC1665 IINST~~~m\-1 PIC1665 OSCILLATOR OPTIONS (Typical Circuits) LC Operation 1----.....- . . OSC1 (PIN 30) 1 fosc = 211" ";L (C l + C'NT) , L where C'NT = 10pF. Typical values for 4MHz operation: L = 70l'H 1----.....- . . 0SC2 (PIN 31) C l = 10pF CRYSTAL INPUT OPERATION 20pF H.----i.-----1~ OSC1 (PIN 30) ...- ...'V'V'v.... OSC2 (PIN 31) 20pF 1K * or ceramic resonator, parallel resonant (O.S - 5.0MHz). EXTERNAL CLOCK INPUT OPERATION CLOCK FROM EXTERNAL SYSTEM C>--------~) OSC1 (PIN 30) NO CONNECTION ~ OSC2 (PIN 31) 4-129 PIC1665 MASTER CLEAR (Typical Circuit) Voo R ~ R<100K ~MCLR(PIN26) C O.1iJF I Master Clear requires 10ms delay (assuming a 5MHz crystal) before activation after power is applied to the Voopin, for the crystal to start up. To achieve this, an external RC configuration as shown can be used (assuming Voo is applied as a step function). OUTPUT SINK CURRENT GRAPH 20 15 ~ - Voo=5.0V . /~ IoL (mA) 10 . /i"'" ...,V ./ " 5 ,V / 1.0 2.0 3.0 VOL (VOLTS) The Output Sink Current is dependent on the output load. This chart shows the typical curve used to express the output drive capability. VOH VS 10H (1/0 PORTS) Vcc=Vxx=425V v~ (VOLTS) lOll (PA) 4-130 GENERAL INSfRUMENT PICALIPICES n .ptC~'!IJo.li!!t' ',I:lotivII"*~~,.roep~torPfQ,""'iIIt!)!)lij!,onlo., ' PIGAL ' 14-1. PleD=W~ '~~t,~.tiitl~.rid-II\I,~ • .or,~• .- _ -:' PICD.', -4-134 ' 4-131 PI CAL PIC Cross Assembler FEATURES machine Instruction, but rather is interpreted as a directive to the • Symbolic machine operation codes (opcodes, mnemonics) assembler program. • Symbolic address assignment and reference Statements are always written In a particular format. This format • Relative addrassing is depicted below. • Data creation statementa ( LABEL FIELD OPERATION FIELD OPERAND FIELD COMMENT FIELD • Storage reservation statements • Assembly listing control statements SYNTAX • Character codes may be specified es ASCII or EBCDIC The Assembler Language is a language like any other. That is, it • Addresses can be generated as constants has a character set, vocabulary, rules of grammar, and allows for • Comments and remarks may be encoded for documentation individuals to define new words or elements. The rules that • Cross reference table listing describe the language are termed the syntax of the language. For an expression or statement in assembler language to be translated by the assembly program it must be written correctly in DESCRIPTION accord with the rules of syntax. The PICAL Cross Assembler is used for the General Instrument A symbol is a sequence of characters. The first character in a family of microcomputers including the PIC1650A, 1654, 1655A, symbol must be alphabetiC or the special characters 1, $, or &. 16C55, 1656, 1670, 1671 and 1672. The function of this Cross Special characters except for the above three may not be used in Assembler program is to translate the Symbolic Code Into the a symbol. Imbedded blanks are not permitted. The user is machine code required by the actual processors. The assembler cautioned not to use symbols that start with the 1 character as the program is written in Fortran III to achieve compatibility with assembler generates "local" symbols starting with this character. most computer systems, including those manufactured by DEC, Only the first six characters of a symbol are used by the Data General, Hewlett-Packard, Xerox, and others. It is modular Assembler to define that symbol; the remaining characters are for and may be executed in an overlay mode should memory restric- documentation. The parameter that dictates the number of tions make that necessary. The program is approximately 3850 characters used to define a symbol may be changed in the Fortran Fortran card images in length, 20% of which are comments. The Source code. program is written in ANSI standard Fortran III and no facility A constant is an invariant quantity. It may be an arithmetic value peculiar to one machine was utilized. This was done in order to or a character code. There are several ways of specifying eliminate Fortran compatibility problems. constants in this assembler language. The mnemonic Operation Codes are identical to those used in Octal constants may be defined as a sequence of numeric other PI C literature and in other software products. This has been characters optionally preceded by a plus sign or a minus sign. If done to eliminate any possible problems of program compatibil- unsigned, the value is assumed to be positive. Decimal constants ity and to obviate the necessity of learning new assembly lan- are defined in the same manner but preceded by a decimal point. guages. I n addition, several directives and features are imple- mented and described in the PICAL Users Manual. In most cases constants must be contained in one 8 bit word. A constant can contain an unsigned number with a value from 0 to The assembler is a two pass program that builds a symbol table, 255. When a constant is negative its equivalent two's complement issues hel pful error messages, produces an easily read program representation is generated and placed in the field specified. An listing and symbol table, and creates an object and symbol table eight bit two's complement number can range from -128to+127. module. Whenever an attempt is made to place a constant in a field for The assembler features macro capability, symbolic and relative which it is too large, an error message is generated by the addressing, forward references, complex expression evaluation, assembler. cross reference listing and a versatile set of directives. An expresllon is a sequence of one or more symbols, constants, The assembler program, written in Fortran, Is usually supplied asS or other exprassions separated by the arithmetic operators +,-, track, 1600 BPI, 80 column card image records, unblocked and *, t. Parentheses are used in the normal manner to establish the unlabeled magnetic tapes in either EBCDIC or ASCII code. The correct order of the arithmetiC operators. Expressions are evalu- label on the tape reel will clearly specify the information. ated left to right with multiplication and division being performed The program is also supplied in compiled version for appropriate before addition and subtraction. media and machines, including the Data GeneralJlNova4!> system. The exprassion must resolve to a single unique value. All expressions are evaluated modulo 65536 and hence are all 16 bit quantities. In most cases the value olthe final expression must be ASSEMBLER LANGUAGE contained in a 12 bit word. An assembly language program is written in symbolic machine DIRECTIVES language. It is comprised of statements. A statement is either a The directives or pseudo-operations are written as ordinary symbolic instruction, a directive statement, a macro statement, statements in the assembler language, but rather than being or a comment. translated into equivalent machine language, they are interpreted The symbolic machine instruction is a written specification for a as commands to the assembler itself. particular machine operation expressed by symbolic operation Through use of these directives, the Assembler will reserve codes and sometimes symbolic addresses or operands. memory space, define bytes of data, control the listing, assign A directive statement is a statement which is not translated into a values to symbols, etc. 4-132 PICAL The directives are: 3. Load the source code. ORG Set Program Origin 4. Execute the Assembler Program. END End of Assembly S. Get listing and object module as output. EaU Equate a Symbol to an expression During PaBB 1\vo of the assembly process a program listing II SET Set a Symbol equal to an Expression produced. The listing displays all Information pertaining to the DATA Data Definition assembled program, both assembled data and the users original RES Reserve Storege source stetements. ZERO Reserve Storege and fill with zeros PAGE Advance Listing Form to next pege The listing may be used as a documentation tool through the Inclusion of the comments and remarks that describe the function SPAC Space lines on listing of the particular program segment. TITLE Set Program Heading LIST List the Elements Specified The main purpose of the listing Is to convey all pertinent OPTION Set Program Options (same as LIST) Information about· the assembled program, I.e. the memory NLIST Suppress listing of the Elements Specified addresses and their contents. The load module, also produced IF Conditional Aaaembly Statement during Pass "TWo, contains the eddreas and content Information ELSE Conditional ABBembly Statement Converaa but In a format that can be read by people only with great effort. ENDIF End Conditional Aaaembly Code TYPICAL ASSEMBLER LISTING MACROS A macro Is a saquence of Instructions that can be Inserted In the LINl 'ODR 8' U HIT CHlC •• U. assembly source text by encoding a single Instruction, the macro call. The macro definition Is written only once and cen be celled ,• J 000000 0000 .",AT TITLE LilT NO~ 'nIT CHECKIUW:' '.UI5,.,t. any number of times. The macro definition may contain param- ,• 000001 GOno 0000 "DV '0 ... ttPCODE ERJlDR eters which cen be changed for each call. The macro facility simplifies the coding of programs, reduces the chance of pro- 000003 noTO ,• 00000. 00.1 ~ov,,' 'T,.,) Nnv", J 'URT2 ~on' ,J' nOOOft' gremmer error, and makes progrems easier to understand as the I OOOI)O! 00". ,. '0• Goonu nun 00112 DOG source code need only be changed In one location, the macro OooGlO 0001 DATA 1,1,1 definition. .,u II OOOUI) Nn II . 0000" lEllO J A macro definition consists of three parts: a heading, a body, and a terminator. This definition must precede any macro call. A macro may be redefined at any time with the latest definition of a macro name applying to a macro call. A standard aBBembler .•• 15 "•••• 000010 nljlSt I> lOb' ADD'" ELI[ ANDIII' SUAT "•• •• E.~Dl' mnemonic (e.g. CLRF) may also be redefined by defining a macro I. I. oonOJi OOOoJt 00'" I'n"J "' 'VII' ~ov'" with the name CLRF. In this case all subsequent uses ofthe CLRF II n"lonu ntill. MOV'" •STun., Instruction In the program will cause the macro to be expended. The PIC eaaembler which Is precompiled for the Intel MDS- does ,. n oouO)" is ~1)G2 GoTo vo, 30 ,•• 000010 1i1iSO Gn'I"I 10 flOOO)1 IIOSI ~DVLIII not have a MACRO capability due to the pOBBlbly IImitad memory " 1& OOGOn (looo!) POI.II on"2 '''0,/Il10' "'0'1", , I ",. "0 VIl10' space available. 00MI1I nol.l) OOfton .0')4" II 00001& I)O.~ "'['IV __ F "'OV.-.F • ~ USING THE ASSEMBLER tu ,f.4Vllll'I Fllt. AfLUTt.A U OODOJ7 nou ~QVIlt' , The Assembler Is written entirely In Fortren and is comprised of a ,.n n 0000/01" flO\O 1-01/Il10' main program and severel subroutines. The main program appears first on the tape and the last subroutine Is followed by a 50 00(1041 hUtS '00, 00001.12 .u !NVALI['1 'ILt A'GUTtA MOil' I\0Il0'1' !IInv, .,-" <,- 7 tape mark. The Assembler may be complied from the tape. The Assembler should be compiled and Its object module stored " OOOOu II oooou 10to J. '047 ""0'1' 10,,", •••• "O(llil' U" ~T"C <,' on some secondary storege device. If desired, the ABBembler may be complied and linked to perform In the overlay mode. Commu- U OOIJOllib OOOOU .tt INULin FlI! AfGflT~R l"! 100ft U'IC M"eC ". .,' nicetlons between subprograms Is via blank common and sub- .u oJ oonolJo r~I/ALJn 1)4, FIL~ NEGra"'N ""IIC .,' routine call parameters. ••., 00001lj1 OOrlOU son UII' tof'ee 7, • flTFeC 7,' The Assembler Is a two peBB Assembler wherein the source code •• 0004.1.,1 (I(I(H11lj4 1010 tu,o ""Ie lu,7 "nle . 07 n~o Is scanned twice. During the first paBB the labels are examined .1 and placed into a symbol table. Certain errors may be detected n during Pass One; these will be displayed on the output listing. !I (lotl7'" liiono u.' Gt'lTn 17' UUT !. During Pass Two, the object code Is completed, symbolic addresses resolved, a listing and object module are produced. ••,. notollt f ~,n Certain errors, not detected during Pass One may be detectad and displayed on the listing. At the end of the Assembly process a symbol table or cross reference table may be displayed. The following steps are taken to assemble a source program: USERS MANUAL 1. Write a program utilizing the instruction mnemonics of the A complete description of the PICAL Cross Assembler program PIC Instruction Set and directives. Encode the argument with detailed explanations of how It Is used is contained in the fields with constants, labels, symbolic addresses, etc. PICAL Users Manual. 2. Transfer the source program to some computer readable medium; cards, tape, etc. This medium should correspond to the input device expected by the Assembler. On some systems device aBBlgnments may be changed during the course of an assembly by utilizing proper systam control cards. PICEsn PIC In-Circuit Emulation System FEATURES • Complete in-circuit emulation and debug capability PIC IN-CIRCUIT EMULATION SYSTEM • Multiple system configurations to match user requirements • Standard serial interface for system integration • Powerful 16-bit microprocessor for system control • Multiple breakpoints, single step, program trace and editing capabilities • On-board diagnostics for system hardware troubleshooti ng DESCRIPTION The PICES II is an in-circuit emulation and debug system designed to provide the user with a complete tool for testing, troubleshooting, and modifying both the software program forthe PIC circuit as well as the total system application. The PICES II is a self-contained unit which can operate in a stand-alone configura- tion or as a peripheral device to a host processor. ARCHITECTURE The PICES II system contains two processors. The User Proces- sor is a ROM-less PIC microcomputer with external RAM. With the RAM loaded with the user's application program, the ROM- less PIC emulates the operation oftheentire PIC family. An 18,28 or 40 pin in-circuit emulation cable attaches the ROM-less PIC to the application system. The Control Processor is a CP1600 six- teen bit microprocessor with 12K of program ROM and 2K of RAM. This processor controls the functions of the PICES II including I/O interfacing, manipulation of the User Processor and interpretation and execution of the PICES II command set. series with the system TTY or CRT device. In this mode the user's computer facility can become a one station total development OPERATION system. The computer text editor is used to develop the PIC STAND-ALONE MODE: The PICES II is attached directly to a source code. The Fortran PIC cross assembler will translate this serial I/O device; typically a teletype. The user program is entered source code into PIC machine code; the machine code is then either using the paper tape reader/punch unit on the teletype or downloaded into the PICES II. All PICES II commands are by manually setting each location in the PIC program memory to entered through the system terminal. Minor modifications can be the desired value. Once the program memory is loaded, all PICES done directly to the PICES II. Major changes require re-editing II emulation and debug commands can be issued on the teletype the source code, re-assembling and loading of the PICES II. keyboard and PICES II responses are returned on the teletype printer. The serial interface can be either RS232C or current loop DATA MANUAL and the baud rate is switch selectable. A detailed PICES II Data Manual is available. This manual de- PERIPHERAL MODE: The PICES II can be configured such that scribes the installation and operation of the PICES II system. the unit itself is peripheral to another computer system. The Included in the manual are explanations ofthecommand set with PICES II can be attached as an additional peripheral device or in examples for illustration. 4-134 PICESII PICES II CONFIGURATIONS STAND ALONE MODE PERIPHERAL CONFIGURATION A TELETYPE DISK UNIT TERMINAL PICES COMPUTER PICES LINE PRINTER MODULE MODULE PERIPHERAL CONFIGURATION B PERIPHERAL CONFIGURATION C MAIN COMPUTER DISK FACILITY TERMINAL UNIT COMPUTER PICES REMOTE LINE TERMINAL PRINTER MODULE MODULE 4-135 4-136 GENERAL INSfRUM ENT PIC Field Demo Systems 4-137 PFDSYSTEMS PIC Field Demo Systems FEATURES • Single +5V operation PIC FIELD DEMO SYSTEM • On-board clock • Optional external clock and reset • Program storage in EPROM • Dimensions: 4" x 4%" • In circuit emulation cable length: 14" DESCRIPTION The PIC Field Demo Systems provide the user with a compact and portable method of evaluating and demonstrating application performance before the commitment IS made to ROM masking of the PIC circuit. The PFD systems consist of a single printed circuit module containing a ROM-less PIC microcomputer with external Erasable/Programmable Read Only Memory (EPROM) attached. The EPROM contains the user's application program. An 18, 28 or 40 lead ribbon cable attaches to the PFD Module terminating with a DIP plug providing emulation ofthe PIC circuit in the application. Provision for jumper options on the PFD Series module allows the user to select various modes of operation as appropriate to the application. Internal or external clock and power supply is available. ORDERING INFORMATION The PFD Module comes complete with a ROM-less PIC micro- PFD1000 (TYPICAL) computer. EPROMs and an in-circuit-emulation cable. Order the module to emulate the particular PIC circuit to be emulated. TARGET MICROCOMPUTER PFD SYSTEM PIC1650 PIC1654 PFD1000 PFD1007 I I PIC1655 PIC1656 PIC16C55 PFD1000 PFD1010 PFD2010 I I DATA MANUAL PIC1670 PFD1020 I DATA ADDRESS I A complete description of the PFD systems are contained in the PIC Field Demo Systems Data Manual. I I L -.J RIBBON CABLE 18,28 OR 40 PIN IN-CIRCUIT EMULATION PLUG 4-138 PIC SERIES MICRO· COMPUTER OPTIONS EXTENDED TEMPERATURE RANGE PIC series microcomputers are available in two temperature ranges. The specifications for these devices differ from their commercial The preceding data sheets describe the commercial grade device, grade counterparts in a few electrical parameters, typically interface O·C to 70·C centigrade. An industrial/automotive temperature range voltage/current levels. Refer to the data sheets for details. version Is available. The -40. to 85· centigrade option is specified with the addition of a suffix, I, to the part number. OPEN DRAIN OPTIONS PIC1650A, PIC1670 Open-Drain I/O Ports Any or all of the I/O lines may be specified by the customer to be level greater than VOD of the PIC. In the logic one state, the open drain, that is, the internal pull-up device will be removed. This leakage current of the I/O port is ±5pA, maximum. enables the outputs to be pulled up to +10.0V maximum with an The customer shall specify on the "PIC Series Order Form" the external pull-up resistor, allowing easy interface to external devi- pin number and port name (e.g., "RB3") of each port required to ces requiring a logic one level greater than VDD of the PIC. In the be open drain. logic one state, the leakage current of the I/O port Is ± 5pA, maximum. PIC16C55 Input-only, Output-only and I/O Poria The customer shall specify on the "PIC Series Order Form" the pin number and port name (e.g., "RB3") of each port required to be Any or all ofthe Input-only and I/O lines may be specified to have open drain. an internal pull-up resistor Inserted via a mask option. This allows easy Interface to an external transistor or switch without the need PIC1655A, PIC1656 for an external pull-up resistor. Furthermore, any or all of the Open Drain I/O, Input and Output Porta output-only or I/O pull-down transistors can be specified to be Any or all of the I/O, input only or output only lines may be removed via a mask option. This facilitates interfacing with exter- specified by the customer to be open drain, that Is, the internal nal circuitry which has signal swings below Vss. In this case the pull-up device will be removed. This enables the outputs to be maximum voltage permitted to be applied to the pin is -12V with pulled up to +10.0V maximum with an external pull-up register, respect to VDO' allowing easy interface to external devices requiring a logic one PIC1654 Optional Internal Connection to RTCC A mask option will allow an Internal clock signal whose period Is equal to the instruction execution time to drive the real time clock/counter register. In this mode. transitions in the RTCC pin will be disregarded. PIC1655XT Presealer Division Ratio A mask option Will allow the division ratio of the RTCC prescaler to be selected as 1, 2, 4, 8 or 16. Consult the data sheet for the details. 4-139 PIC SERIES ORDER FORM Customer Name ______________________________________________________________________ Address City __________________ State _______________ Zip ________________,Country __________ Telephone Number Ext. ________________________________ Customer Contact Title _______________ Date PIC PART NUMBER _ _ _ _ _ _ _ _ _ _ _ __ CUSTOMER MARKING REQUIREMENT: STANDARD 0 SPECIAL 0 _ _ _ _ __ PIC TEMPERATURE RANGE SELECTION: O·C to 70·C 0 -40·C to 85°C 0 OPEN DRAIN OPTION: Are any pins to have their internal pull-up resistor removed? (In the case of PIC16C55, are any input-only or 110 pins to have an internal pull-up resistor inserted?) YES 0 NO 0 In the case of the PIC16C55, are any output-only or 110 pins to have the internal pull-down transistor removed. YES 0 NO 0 If the answer to any of the above questions is yes, please complete the chart below for all 110 pins. YES 0 NO 0 NO NO INTERNAL INTERNAL NO PULL-DOWN NO PULL-DOWN INTERNAL TRANSISTOR INTERNAL TRANSISTOR PIN FILEI PULL-UP (PIC16C55 PIN FILE! PULL-UP (PIC16C55 NUMBER BIT RESISTOR ONLY) STD. NUMBER BIT RESISTOR ONLY) STD. - - - - - - - -------- -------- - - - - ---- - - - - - ------ ---- --- - - - - ------ - - - - - - - - - - - ---- ------ ------ - - - - - - - - - - ----- - - - ------ -------- - - - - - - ------ - - - - - ------- ---- --- ----- ----- ----- _ . - - - - - PIC1650A and PIC1655A ONLY Oscillator Pull-Down Transistor: Normal Operation 0 External Clock (Transistor Removed) 0 PIC1655XT ONLY Mask Programmable Prescaler: 1 0 2 0 4 0 8 0 16 0 PIC1654 ONLY Internal RTCC-CLK OUT Connection: Yes 0 No 0 PROGRAM ROM PATTERN MEDIA: Paper Tape Prom Customer Purchase Order Number _________________________________________ Customer Signature ________._______________________________________________ 4-140 Audio 5 Speech Synthesis 5-3 Sound Generation 5-17 PART PAGe: f1.JNCTION DIiSCRIPTION NUMIUilR NUMBER Speech Synthesis SP025ll 5-5 NARRATOR" SP0256-AL2 W SPEECH Natural speech, stand alone operation, wloo operating voltage; expandable ROM, PROCESSOR simple Interface. SP0232 541 $1'Il000 Ii-li VOICE SYNTHESIS Complete speech systam, 16 seconds of speech, oustom vooabulartes, simple VSM2032 5·10 MODULE Interface, 5V operation. SPEECH High quality speech, programmable filter, 5V operation, simple interface: double SP02liO 5-12 SYNTHESfZER buffered input SPEECH FIa.O DEVELOPMENT 5V OJ)Gl'&tlon, expandable EPROM,. multiple speech synthesis, on-boerd ()$Cmat",. SFtl2000 5-15 SOARO Sound Generation AV-3-at10 5-18 PROGRAMMABLE SOUNO' Full sollw,lfe contrQI,SV operation, simple interlace, triple analog.output, general AV-:MI912 6-1' pur1X'l!$ 110 pori$. GlENERATOR AV.a.a$13 5-1' TIJNES. SYNTHESIZER Produces mUsieallunes from pre-programmed microcomputer. AY-3-13iiO 5-28 5-1 5-2 GENERAL INSfRUMENT Speech Synthesis , FUNCTION O£SCfUPTION ' PART PAGE NUM!H!R NUMIWI , ' ", SP02$6 5-S NARf'lATOR'"' Natural ~peeoh, stand alone oparatiOl1. wide aPI/rating vaIlage, e;q,am:lable ROM. SP02S6-AL2 S.e PR~~ simple Intarlace, ' $P0232; 5-9 $PAJ)OO S.e, ,VOICE SYNTHESIS Coniplele speech sYStem. 16 seconds of spel!ch, custom vOcabUiarfes, !limpl. , ,VSM2032 5-10 MODULE inlerfao\>, !lV' op~o", SPEliCH , High qullrity speech, progmmmabl fitter, $V oparation, 'simple interface, double ' $YNTHII;8IZER ' bufjered Input , ' SP0250 5-12 fN operation, expandable EPROM, multlph. apeeoh synthesis, on-board oscillator. SFP2Q01l 5-1S 5-3 5-4 SP0256 Narrator™ Speech Processor FEATURES PIN CONFIGURATION • Natural Speech 28 LEAD DUAL IN LINE • Stand Alone Operation with Inexpensive Support Components • Wide Operating Voltage • Word, Phrase, or Sentence Library, ROM Expandable • Expandable to 491 K of ROM Directly vss OSC2 • Simple Interface to Most Microcomputers or Microprocessors RESET OSCl • Supports L.P.C. Synthesis: Formant Synthesis: Allophone Synthesis ROM DISABLE ROM CLOCK Cl SBY RESET C2 DIGITAL OUT GENERAL DESCRIPTION C3 V" voo TEST The SP0256 (Speech Processor) is a single chip N-Channel MOS SBY SER IN LSI device that is able, using its stored program, to synthesize LRO speech or complex sounds. AS SE A7 Al The achievable output is equivalent to a flat frequency response SEA OUT A2 ranging from 0 to 5KHz, a dynamic range of 42dB, and a signal to AS A3 noise ratio of approximately 35dB. A5 A4 The SP0256 incorporates four basic functions: • A software programmable digital filter that can be made to model a VOCAL TRACT. • A 16K ROM which stores both data and instructions (THE PROGRAM). APPLICATIONS • A MICROCONTROLLER which controls the data flow from the • Telecommunications • Warning Systems ROM to the digital filter, the assembly of the "word strings" • Appliances • Security Systems necessary for linking speech elements together, and the ampli- • Computer Peripherals • Electronic Musical Instruments tude and pitch information to excite the digital filter. • Automotive • Aids to the Blind • A PULSE WIDTH MODULATOR that creates a digital output • Personal Computers • Narrow Bandwidth which is converted to an analog signal when filtered by an • Toys/Games • Communication Systems external low pass filter. • Educational Aids SP0256 BLOCK DIAGRAM C1 C2 C3 SER OUT - .....- - - , SERIAL COEFFICIENT TRANSFER SER IN DIGITAL OUT B= OSC 0SC2 asc 1 5-5 SP0256 ELECTRICAL CHARACTERISTICS Maximum Rallngs· * Exceeding these ratings could cause permanent dam- vo" Voo •••••••••••••••••••••••••••••••••••••• -0.3V to +12V age to the device. This is a stress rating only and func- Storage Temperature ••••••••••••••••••••••••• -2SoC to +12SoC tional operation of this device at these conditions is not implied-operating ranges are specified in Standard Clock Conditions. Exposure to absolute maximum rating con- Crystal Frequency ••••••••••••••••••••••••••••••••• , 3.12MHz ditions lor extended periods may affect device reliability. Data labeled "typical" is presented lor design guidance DC CHARACTERISTICS only and is not guaranteed. Operating Temperature TA = O°C to +70°C Characteristics Sym Min Typ Max Units Conditions Primary Supply Voltage Voo 4.6 - 7 V Standby Supply Voltage VOl 4.6 - 7 V Primary Supply Current 100 - - 90 mA Vo" Voo = 7.0V, TA = 2SoC Standby Supply Current 101 - - mA Vss = O.OV, TA = 2SoC Inputs A1-A8, ALD, SER IN, TEST, SE Logic 0 VIL 0 - 0.6 V Logic 1 VIH 2.4 - VOl V Capacitance C IN - - 10 pi Leakage I Lc - - ±10 IJA RESET. SBY RESET Logic 0 VIL' 0 - 0.6 V Logic 1 VIH, 3.6 - VOl V Oscillator Leakage OSC 1 - 1.0 - 10 IJA No Load, OSC1 = 7.0V Outputs SBY, DIGITAL OUT, C1, C2, C3, LRO, ROM DISABLE, ROM CLOCK, SER OUT Logic 0 VOL 0 - 0.6 V 0.72mA (2 LS TTL Loads) Logic 1 VOH 3.S - Vo, V -SOIJA (2 LS TTL Loads) AC CHARACTERISTICS Operating Temperature: TA = O°C to +70°C Characteristics Sym Min Typ Max Units Conditions Clock Frequency - - 3120 - MHz Crystal Reset. SBY Reset tPW1 100 - - IJs ALD «SOOns) tpw2 200 - SOD ns A1-AS Set Up ts2 160 - - ns A1-AS Hold th2 160 - - ns ALD (;;>SOOns) tpW3 SOD - - ns A1-AS Set Up ts3 0 - - ns A1-A8 Hold th3 1200 - - ns LRO tpdO - - 640 ns SBY tpdO - - 640 ns 5-6 SP0256 IN~Wr 1 1 «~sl 1 _ _ _ _ _ _ _ _ _ _ _......;=!::~=ll 'ow' ;:,::! .. I ==----- H I I Al-AS -------------Ir:TlI------ - -~~ Its~ 1t 1l2' I 1 = (;;'800ns) -.J , Al-AS --------~:;:_;;=:;jl~_ t83 0 ~ .... I -..t I 1 1 t ll3 I LRQ--------------~~· I I ~tpdo~ I 1 S8Y -tOIL I I I .. _ _ _ _ _ _ __ Fig. 1 TIMING DIAGRAM PIN FUNCTIONS Pin Number Name Function 1 Vss Ground 2 RESET A logic 0 resets the SP. Must be returned to a logic 1 for normal operation. 3 ROM DISABLE For use with an external serial speech ROM. A logic 1 disables the external ROM. 4,S,6 C1,C2,C3 Output control lines used by an external serial speech ROM. 7 Voo Primary power supply. 8 SBY STANDBY. A logic 1 output indicates that the SP is inactive (i.e., not talking) and Voo can be powered down externally to conserve power. When the SP is reacti- vated by an address being loaded, SBY will go to a logic 0 9 LRQ LOAD REQUEST. LRO is a logic 1 output whenever the input buffer is full, When LRO goes to a logic 0, the input port is loaded by placing the 8 address bits on A1-A8 and pulsing the ALD input. 10,11,13,14, A8,A7,A6,A5, 8-bit address which defines anyone of 256 speech entry points. lS,16,17,18 A4,A3,A2,A 1 12 SER OUT SERIAL ADDRESS OUT. This output transfers a l6-bit address serially to an external speech ROM. 19 SE STROBE ENABLE. Normally held in a logic 1 state. When tied to ground, ALD is disabled and the SP will automatically latch in the address on the input bus approximately 11ls after detecting a logic 1 on any address line. 20 ALD ADDRESS LOAD. A negative pulse on thiS Input loads the 8 address bits into the input port. The leading edge of this pulse causes LRQ to go high. 21 SER IN SERIAL IN. This is an 8-bit serial data input from an external speech ROM. 22 TEST A logic 1 places the SP in test mode. This pin should normally be grounded. 23 VOl Standby power supply for the interface logic and controller. 24 DIGITAL OUT Pulse width modulated digital speech output which, when filtered by a 5kHz low pass filter and amplified, will drive a loudspeaker. 25 SBY RESET STANDBY RESET. A logic 0 resets the interface logic. Normally should be a logiC 1. 26 ROM CLOCK 1.S6MHz clock for an external serial speech ROM. 27 OSC 1 XTAL IN. Input connection for a 3.12MHz crystal. 28 OSC 2 XTAL OUT. Output connection for a 3.12MHz crystal. 5-7 IIN~~I SP0256 t5V +5V +5V AUDIO AMP 8)( 100K 10 ,,,,,, 11 DIGITAL A7 OUT 13 ,. A6 A5 + 15 A. ~SPKR 16 A3 SP0256 SBY 17 A2 22pf 18 A1 OSC 2 ':" 100 +5V c:::J312MHz osc 1 01'" 22pf -= "J 19 Fig. 2 TYPICAL APPLICATION STAND ALONE CONFIGURATION +5V +5V AUDIO AMP OUTPUT 1---------1 LINES 1-______---, OUTPUT I--------~~ PIC1655A INPUT I+-------~-l f.:!.------...:.:.~SER IN SEA OUT INPUT I+---------'-l ROM ENABLE ~------~~ROMCLOCK +5V 1-'-------'"+!C1 Note Pinout shown IS for SPR-16 and SPR-32 MICROCOMPUTER SPEECH PROCESSOR EXTERNAL SERIAL SPEECH ROM (OPTIONAL) Fig. 3 TYPICAL APPLICATION MICROCOMPUTER INTERFACE 5-8 SP0256-AL2 Allophone Based Speech Processor DESCRIPTION DATA MANUAL This product is the SP0256 Speech Processor preprogrammed A complete description of the SP0256-AL2 is contained in the with a standard ROM Pattern containing 64 allophones. Through Allophone Speech Synthesis Manual. the concatenation of selected allophones the user can construct any word in the English language. thereby providing an unlimited vocabulary at a data rate of less than 100 bits/second. tSP0232 32K Speech Processor DESCRIPTION This product is pin for pin compatible with the SP0256 Speech Processor. This enhanced version of the SP0256 contains 32K of Internal ROM tFor future release. SPROOO Speech Interface Chip DESCRIPTION The SPROOO IS designed to interface a standard ROM. PROM. or EPROM to the SP0256 Speech Processor to provide a large amount of vocabulary expansion. This Interface contains all the logic necessary to allow data communication under control olthe Speech Processor. Two chip selects are provided. (CSl and CS2). for use in systems where it is desirable to bank blocks of memory under external control With the capability of addressing 64K bytes of memory the SPROOO is ideal for applications such as SP0256 testing. and speech ROM emulation. 5-9 VSM2032 Voice Synthesis Module FEATURES strobed into the module using STROBE. The module will drive the • Complete Speech System busy line (BUSY) low while it is speaking. During this time, new • Stores Approximately 16 Seconds of Speech data will not be accepted. • Custom Vocabularies Available The module is initialized by applying two low pulses to the RESET • Simple Digital Interface (TTL) pin. • 5 Volt Power Supply (±5%) The audio output is available on both the card edge connector • Audio Output: 200mw and on the module. It is designed to drive an an load with 200 mw • Operating Temperature O· to 55·C of power. • Dimensions: 3.25" x 5.0" VOCABULARY DESCRIPTION The standard VSM2032 can enunciate the thirty-two words and The VSM2032 utilizes latest state-of-the-art technology to syn- syllables listed below. Alternate vocabularies are available (con- thesize speech. The module contains three MOS/LSI devices tact regional sales office for information). fabricated with N-Channellon Implant Processing resulting in a Numbers less than one billion can be enunciated using this high performance product with proven reliability and production phrase set. For example, 1214.1 would be generated by concate- history. nating the following phrases: The module can be easily interfaced to any digital system; eight I ONEil THOUSAND I I TWO I I HUNDRED I I FOUR I I TEEN I I POINT I I ONEI TTL compatible signals are used to select the spoken phrase. Once selected, the VSM2032 requires no support from the user's I. 16. 2. IS. 4. 24. 32. I. circuit. It enunciates the phrase and signals when complete. Addresses 40.-177.are not used with this phrase set. The VSM2032 will lock up if Invalid addresses are used. INTERFACE The VSM2032 is interfaced using a 15-pin card edge connector DATA MANUAL (Amphenol 225-21521-401 (117) or equivalent). The phrase to be Complete detailed instructions and description are contained In spoken is selected with a 7-blt address (S.,..S.). This data is the VSM2032 application manual. ADDRESS ADDRESS Octal S6 S5 S4 S3 S2 SI So Phrase Octal S6 S5 S4 S3 S2 51 50 Phrase 0 o 0 000 0 0 ZERO 20 o 0 o 0 0 0 TWEN 1 000 0 0 0 1 ONE 21 o 0 000 1 THIR 2 00000 1 0 TWO 22 0 0 0 0 1 0 FIF 3 00000 1 1 THREE 23 0 0 0 0 1 1 TV 4 o 000 1 o 0 FOUR 24 0 0 0 1 0 0 TEEN 5 o 0 001 o 1 FIVE 25 0 0 0 1 0 1 PLUS 6 o 0 001 1 0 SIX 26 0 0 0 1 1 0 MINUS 7 o 0 001 1 1 SEVEN 27 0 0 0 1 1 1 TIMES 10 000 o 0 0 EIGHT 30 0 0 0 0 0 OVER 11 000 o 0 1 NINE 31 0 0 0 0 1 EQUALS 12 000 o 1 0 TEN 32 0 0 0 1 0 POINT 13 0 o 0 o 1 1 ELEVEN 33 0 0 0 1 1 ERROR 14 0 o 0 1 0 0 TWELVE 34 0 0 1 0 0 ITIS 15 0 o 0 1 0 1 HUNDRED 35 0 0 1 0 1 AM 16 0 o 0 1 1 0 THOUSAND 36 0 0 1 1 0 PM 17 0 o 0 1 1 1 MILLION 37 0 0 1 1 OH 5-10 VSM2032 IIN~t~MIr I ELECTRICAL CHARACTERISTICS * Exceeding these ratings could cause permanent dam- age to the device. This is a stress rating only and func- Maximum Ratings * tional operation of this device at these conditions Is not Temperature Under Bias .•••••••.•.•.••.•••••••••.•••••••.••••.. 100· C implied-operating ranges are specified in Standard Storage Temperature •••••.•••••••••.••••••••.•.•••••. -55 0 to +100 0 C Conditions. Exposure to absolute maximum rating con- Voltage on any Pin with Respect to GND ••••.•.•••••••. -0.3V to +12.0V ditions for extended periods may affect device reliability. Standard Conditions (unless otherwise stated): Data labeled "typical" is presented for design guidance only and is not guaranteed. Operating Temperature TA = 00 C to +55 0 C DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Supply Voltage Vp 4.75 - 5.25 V Supply Current Ip - 190 280 mA Audio Off So-S6 Low Voltage V'l' -0.2 - 0.8 V So-S6 High Voltage V,H, 2.4 - Vp V RESET & STROBE Low Voltage V,l2 -0.2 - 0.8 V RESET & STROBE High Voltage V,H2 Vp., - Vp V BUSY Output Low Voltage VOL - - 0.8 V 10l = 1.6mA (NOTE 1) BUSY Output High Voltage VOH 2.4 - Vp V 10H=-100pA Input Low Current I,l -0.2 -0.6 -1.6 mA Input High Current I'H -0.1 -0.4 - mA V,H = 2.4V Audio Output Ap - - 200 mW 8n LOAD NOTE: 1. Positive current indicates current into module. Negative current indicates current out of module. AC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions RESET Low Time tRl 5 - - ps Two resets are required RESET High Time tRH 200 - 500 ps Data Hold Time tDH 50 - - pi Data Setup Time t DS 0 - - ns BUSY Response Time High tSRH - - 40 ps STROBE Setup Time tss 0 - - ns STROBE Low Time tSl 5 - - ps BUSY Response Time Low tSRl - - - - Determined by Length of Phrase 5-11 SP0250 Speech Synthesizer FEATURES • High Quality Speech Synthesizer/Programmable Digital Filter PIN CONFIGURATION • Single +5 Volt Supply 28 LEAD DUAL IN LINE • Simple Interface to a Microcomputer or Microprocessor Based System Top VIew • TTL Compatible 8 Bit Bus Interface Vss = GND ~ ., ~ 28:J D5 • Handshaking D6 [ 2 27 ~ D4 • Double Buffered Input D7 [ 3 26 ~ D3 GND [ 4 25:J D2 • On Chip Pulse Width Modulator DATA PRESENT [ 5 24:J D1 DESCRIPTION DATA ReQueST ~ 6 23 ~ DO (DIRECT DATA) TEST [ 7 22 P FiESET The SP0250 speech synthesizer is an N-channel MOS LSI device capable of generating high quality speech with the natural inflec- (DATA eLK 1 SSM) TEST [ 8 21 P TEST (SERIAL DATA) (CPU elK) 312MHz [ 9 20 ~ TEST (SYNC) tion and emphasis of the original speaker. Operation requires XTAL OUT [ 10 19 8 DIGITAL OUT one or more ROMs to store speech data and a microcomputer/ NC [ 11 18 P TEST (ROM TEST) XTAL IN [ 12 17p NC processor such as the General Instrument PICI650A. (PIC elK 104M) TEST [ 13 16 P GND The microcomputer fetches a data block from the ROM, formats it 4457kHz elK [ 14 15 P VOD = +5V NOMINAL into a 15 x 8 bit speech data frame and transfers it to the SP0250 8-bit port using two handshaking signals. This speech data frame, which includes such information as pitch period, amplitude, voiced/unvoiced, number of repetitions and filter coefficients The SP0250 is controlled by 15 programmable eight bit parameter "programs" the synthesizer to produce one frame of speech registers which hold the following information: voiced/unvoiced, output. pitch period, repeat count, amplitude and 12 digital filter The achievable output has a frequency response of 100Hz to coefficients. 5kHz, a dynamic range of 42dB and a signal to noise ratio of Bit six of the repeat register is used to select either voiced or approximately 35dB. unvoiced source operation. If voiced mode is selected, the pitch BLOCK DIAGRAM OF SP0250 r----------------, I I 12 8 BIT FIFO STORE BUS 15 x 8 BITS COEFFICIENT REGISTERS PITCH, REPEAT VOCAL TRACT AMPLITUDE MODEL REGISTERS DATA STROBE TIMING AND PULSE CONTROL WIDTH DATA REQUEST LOGIC MODULATOR I I L __ ~ AUDIO OUTPUT XTAL OSCILLATOR 5-12 SP0250 IINsr~b~Wr I period register determines the spacing between the scaled unit The SP0250 drives the Data Request line high when it is ready to impulses applied to the digital filter. The repeat register indicates accept a 15 x 8 speech frame (Data Request stays high until the the number of full pitch periods which will be synthesized before entire frame has been input). When the microcomputer sees a the 15 parameter registers are updated. The amplitude register in logic 1 on Data Request, it will begin to send speech data. The both voiced and unvoiced mode controls the gain of the source. microcomputer outputs 8 bits to the SP0250 followed by a Data Data request and Data present are the handshaking signals used Present pulse. This procedure is repeated until the entire 15 byte by the SP0250 and the microcomputer to transfer speech data. frame has been transferred. PIN FUNCTIONS Pin Number Name Function 15 Voo Positive Power Supply 1 Vss Ground Clock 12 XTAL IN 3.12MHz crystal and associated circuitry are connected here. 10 XTAL OUT Inputs 22 Reset Two high to low transitions on this input resets the chip. 23-28,2,3 00-07 Data Bus Input 8 bit data bus. 5 Data Present Input strobe for 8 bit data bus. 4, 16, 7, 18 Must be grounded for proper chip operation. Outputs 6 Data Request This output requests data be sent to the chip. 19 Digital Out Chip output. Open collector, requires a pull-up. 9 3.120MHz CPU Clock Buffered push-pull output. 14 0.4457MHz GROM Clock Buffered pJ.lsh-pull output with a 3:4 high to low ratio. TEST PINS Pin Number Name Function Test Inputs 7 Direct Data Mode A logic 1 on this input causes the data bus to be loaded directly into the source register in the chip. 18 ROM Test A logic 1 on this input causes the ROM outputs to appear on the SERIAL DATA Pin. Test Outputs 20 SYNC Buffered push-pull test output. 640ns positive pulse with 312 clock duty cycle. 21 Serial Data Buffered push-pull test output. Monitors the internal data bus. 8 1.56MHz Data Clock Buffered push-pull square wave output. 13 1.04MHz PIC Clock Buffered push-pull output. 3:4 high to low ratio. 5-13 SP0250 ELECTRICAL CHARACTERISTICS Maximum Ratings· Vee .••..••.•••••••••.•.••.•.•..•••.••.••..••..•••..••.. -o.3V to +12V * Exceeding these ratings could cause permanent dam- Storage Temperature •••••.•••.••••..•••..•••..•••..• -25°C to +125°C age to the device. This Is a stress rating only and func- Lead Temp (Soldering) ••••.••••.•••.•••...••..•.•.•• 10Sec @ +330°C tional operation of this device at these conditions Is not implied-operating ranges are specified in Standard Standard Conditions (unless otherwise stated) Conditions. Exposure to absolute maximum rating con- vee = +4.6V to +5.5V ditions for extended periods may affect device reliability. Operating Temperature = O°C to +55°C Data labeled "typical" is presented for design guidance only and Is not guaranteed. DC CHARACTERISTICS Characterl811c Min Typ Ma. Units Condition. 10 Inputs: Reset 00-07, Data Present Logic 0 0 - 0.6 V Logic 1 2.4 - Vcc V Leakage - - 10 pA 5.5V 1 Clock Input: Logic 0 0 - 0.6 V Logic 1 4 - Vcc V Leakage - - 10 pA 5.5V 2 Test Inputs Direct Data Mode, ROM Test Logic 0 0 - 0.6 V Logic 1 2.4 - Vcc V Capacitance - - 10 pf Leakage - - 10 pA 5.5V 3 PIP Output. Data Request, CPU Clock, GROM Clock Logic 0 0 - 0.6 V .72mA Logic 1 3.5 - Vcc V -50pA 1 OIC Output Digital Out Logic 0 0 - 0.6 V 2.2K Logic 1 - - 10 pA 5.0V Source Power on Voo = lee - 50 75 mA@ 25°C Voo=5.5 Vss=O.O No Loads AC CHARACTERISTICS Charactsrl8tlc Min Typ Max Units Conditions Clock Frequency - 3.12 - MHz Square Wave Clock Period - 320 - ns Data Present Logic 1 1.5 - - ps Logic 0 10 - - ps Reset 00-07 1000 - - ps Set Up 1.5 - - ps Hold 1.5 - - ps PIP Test Output Serial Data Logic 0 0 - 0.6 V Logic 1 3.5 - Vcc V No Load 12 10 1st BVTE 2nd BYTE 1SthBVTE DATA DATA ~ ...o,~ ••• t-- 1K" -n-- SET UP ---' HOLD 10M" DATA PRESENT I ••• DATA REQUEST J Lr- MINIMUM TIME 2~~~~~2~ WO_ CHIP WILL OSCILLATE WITH PASSIVE COMPONENTS SHOWN F-312 5-14 SFD2000 Speech Field Development Board FEATURES The address, DAC output and control signals are made available • 5 Volts ±5%, Single Supply Operation on a 28 pin header/cable that connects to the board. Power (V01 • Expandable to 256K Bits of EPROM and Voo) forthe module is supplied via a 3 pin connector or can be • Supports LPC Synthesis, Formant Synthesis, and Allophone strapped for internal operation. The voltage input to VOl and Voo Synthesis lines must be limited to 5 Volts ±5%. • On Board Crystal Oscillator The SP0256 Speech Processor executes the 8 bits of data and • Dimensions: 4" x 6.25" modifies the appropriate parameters of the Vocal Tract Model • Cable Length: 14" (VTM) to create the desired sound sequence. The SFD module comes complete with an SP0256, SPROOO and DESCRIPTION sockets for eight 2732 EPROMs. A cable is provided to interface The Speech Field Development System is an EPROM based ver- the SFD2000 to the user's system. sion of the SP0256 Speech Processor and speech ROMs. It is used to demonstrate and test synthetic speech or complex DATA MANUAL sounds before they are committed to masked ROM. The SFD2000 A complete description of the SFD2000 system is contained in the emulates up to 256K bits of expansion ROM. Speech Field Development Data Man ual. SFD2000 BLOCK DIAGRAM I 2732 EPROMs I ........ 8 ",1--.2 .... 1..-8 I DECODER I ........ 3 \ D~-D7 M-A11 A12-A14 SPROOO SI s¢ CONTROL T s¢ 5 Ii I~ SI CONTROL SP0256 A1-A8 AD5 S6Y om PWM SE Vss I ~ I I1II INT VDD ~ INT 8 0 0 J' CONNECTOR \ " CON NECTaR 5V±5% INPUT RIBBON CABLE 28 PIN DIP PLUG 5-15 5-16 GENERAL INSfRUM ENT Sound Generation 5-18 5-18 5-18 .. 5-28 5-17 AY-3-8910 AY-3-8912 AY-3-8913 Programmable Sound Generator FEATURES • Full Software Control of Sound Generation • Interfaces to Most 8-Blt and 16-Bit Microprocessors PIN CONFIGURATIONS • Three Independently Programmed Analog Outputs 40 LEAD DUAL IN LINE • Two 8-Blt General Purpose 1/0 Ports (AY-3-8910) AY-3-8910 • One 8-Bit General Purpose 1/0 Port (AY-3-8912) • Single +5 Volt Supply v•• (GNO) Vee (+5V) DESCRIPTION NC TEST 1 The AY-3-8910/8912/8913 Programmable Sound Generator (PSG) IS ANALOG CHANNEL B ANALOG CHANNEL C a LSI Circuit which can produce a wide variety of complex sounds ANALOG CHANNEL A OAO under software control The AY-3-8910/8912/8913 is manufactured In NC OAl the General Instrument N-Channel Ion Implant Process Operation IOB7 OA2 requires a single +5V power supply, a TTL compatible clock, and a IDB6 OA3 microprocessor controller such as the General Instrument 16-blt IOB5 OA4 CP1610 or one of the PIC1650 series of 8-blt microcomputers IDB4 OA5 IDB3 OA6 The PSG is easily interfaced to any bus oriented system Its flexibility makes It useful In applicatIOns such as mUSIC synthesIs, sound IDB2 OA7 effects generation, audible alarms, tone signalling and FSK modems IDBl BCl The analog sound outputs can each provide 4 bits of logarithmic lOBO BC2 digital to analog converSion, greatly enhancing the dynamiC rangeof IOA7 BOIR the sounds produced IDA6 TEST 2 IDA5 AS In order to perform sound effects while allowing the processor to IOA4 As continue its other tasks, the PSG can continue to produce sound IOA3 RESET after the initial commands have been given by the control processor IDA2 CLOCK The fact that realistiC sound productIOn often Involves more than one IDAl IDAO effect IS satisfied by the three Independently controllable channels available In the PSG 28 LEAD DUAL IN LINE All of the CirCUit control signals are digitalin nature and Intended to AY-3-8912 be provided directly by a microprocessor/microcomputer ThiS means that one PSG can produce the full range of required sounds With no change In external circuitry Since the frequency response of the PSG ranges from sub-audible at ItS lowest frequency to post- ANALOG CHANNEL C OAO audible at ItS highest frequency, there are few sounds which are TEST 1 OAl beyond reproduction With only the Simplest electrical connections Vee (+5V) OA2 ANALOG CHANNEL B OA3 Since most applications of a microprocessor/PSG system would also ANALOG CHANNEL A OM two general purpose 8-blt I/O ports and IS supplied In a 40 lead ° require interfaCing between the outside world and the microproces- sor, thiS faCility has been deSigned Into the PSG The AY-3-891 has V,.(GNO) IDA7 OA5 OA6 IDA6 OA7 package the AY-3-8912 has one port and 28 leads the AY-3-8913 has IDA5 BCl no ports and 24 leads IDA4 BC2 IDA3 BOIR PIN FUNCTIONS IOA2 AS OA7--0AO (input/output/high Impedance) pinS 30--37 (AY-3-8910) IDAl RESET DatalAddress 7--0: pinS 21--28 (AY-3-8912) IOAO CLOCK pinS 4--11 (AY-3-8913) These 8 lines comprise the 8-blt bidirectIOnal bus used by the microprocessor to send both data and addresses to the PSG and to 24 LEAD DUAL IN LINE receive data from the PSG In the data mode, DA7--DAO correspond to Register Array bits 87--80 In the address mode, DA3--DAO select the register nui!!Per (0--17.) and a DA7--DA4 In conjunction With address Inputs A9 and A8 for the high order address (chip select) Vss(GND) CHIP SELECT AS (Input) pin 25 (AY-3-8910) BDiR AS pin 17 (AY-3-8912) Bel A9 pin 23 (AY-3-8913) DA7 RESET Ai (Input) pin 24 (AY-3-8910) DA6 CLOCK pin 22 (AY-3-8913) DA5 Vss(GND) (not provided on AY-3-8912) DA4 ANALOGC Address 9; Address S DA3 ANALOG A These "extra" address bits are made available to enable the position- DA2 NO CONNECT Ing of the PSG (assigning a 16 word memory space) In a total 1,024 DAl ANALOGB word memory area rather than In a 256 word memory area as defined DAO TEST IN by address bits DA7--DAO alone If the memory size does not reqUire TEST OUT Vee the use of these extra address lines they may be left unconnected as each IS provided With either an on-Chip pull down (Ag) or pull-up (A8) resistor In "noIsy" environments, however, It IS recommended that AS and A8 be tied to an external ground and +5V, respectively, If they are not to be used 5-18 AY-3-8910. AY-3-8912 AY-3-8913 RESET (Input) pin 23 (AY-3-8910) pin 21 (AY-3-8913) ARCHITECTURE Pin 16 (AY-3-8912) The AY-3-8910/8912/8913 is a register oriented Programmable Sound For initialization/power-on purposes, applYing ~IC "0" (ground) Generator (PSG) Communication between the processor and the to the Reset pin will reset all registers to "0" The Reset pin IS provided PSG is based on the concept of memory-mapped I/O Control com- with an on-chip pull-up resistor. mands are Issued to the PSG by writing to 16 memory-mapped regis- CLOCK (Input) pin 22 (AY-3-8910) pin 20 (AY-3-8913) ters. Each of the 16 registers within the PSG IS also readable so that pin 15 (AY-3-8912) the microprocessor can determine, as necessary, present states or stored data values. This TTL-compatible Input supplies the timing reference for the Tone, Noise and Envelope Generators All functions of the PSG are controlled through the 16 registers which once programmed, generate and sustain the sounds, thus freeing the BDIR, BC2, BC1 (Inputs) pinS 27,28,29 (AY-3-8910) system processor for other tasks pinS 18,19,20 (AY-3-8912) pinS 2, 3 (No BC2 on AY-3-8913 Bus DIRection, Bus Control 2,1 see below). REGISTER ARRAY These bus control signals are ,generated directly by the CP1610 series of microprocessors to control all external and internal bus The principal element of the PSG IS the array of 16 read/write control operations in the PSG When using a processor other than the registers These 16 registers look to the CPU as a block of memory CP1610, these signals can be provided either by comparable bus and as such occupy a 16 word block out of 1,024 possible addresses signals or by simulating the Signals on I/O lines of the processor. The The 10 address bits (8 bits on the common data/address bus. and 2 PSG decodes these signals as Illustrated In the following separate address bits A8 and A9) are decoded as follows CP1610 PSG * MIS FUNCTION FUNCTION f----f-+-+--f----f-+-+--f--l-.....J not provided NACT INACTIVE See 010 (lAB). on the AY-3-8912 ADAR LATCH ADDRESS See 111 (INTAK) lAB INACTIVE. The PSG/CPU bus IS Inactive DA7--0AO o are in a high Impedance state OTB READ FROM PSG This signal causes the contents of the register whIch IS currently addressed to HIGH LOW appear on the PSG/CPU bus DA7--0AO are In the ORDER ORDER output mode (Chip Select) (Register No.) BAR LATCH ADDRESS See 111 (INTAK)' The four low order address bits select one of the 16 registers (RO-- DW INACTIVE See 010 (lAB) RHB). The six high order address bits function as "chip selects" to DWS WRITE TO PSG This signal Indicates that the bus control the trl-state bidirectional buffers (when the high order contains register data which should be latched IOta the currently addressed register DA7-DAO are In address bits are "Incorrect", the bidirectional buffers are forced to a the mput mode high impedance state). High order address bits i\9, A8 are fixed in the INTAK LATCH ADDRESS This signal mdicates that the bus PSG deSign to recognize a 01 code, high order address bits DA7-- contains a register address which should be latched DA4 may be mask-programmed to any 4-blt code by a special order in the PSG. DA7--DAO are In the mput mode factory mask modification. Unless otherWise specified, address bits While interfacing to a processor other than the CP1610 would simply DA7--DA4 are programmed to recognize only a 0000 code. A valid require simulating the above decoding, the redundancies in the PSG high order address latches the register address (the low order 4 bits) functions vs bus control signals can be used to advantage in that in the Register Address Latch/Decoder block A latched address will only four of the eight possible decoded bus functions are required by remain valid until the receipt of a new address, enabling multiple the PSG. This could Simplify the programming of the bus control reads and writes of the same register contents without the need for signals to the follOWing, which would only reqUire that the processor redundant re-addresslng generate two bus control signals (BDIR and BC1, with BC2 tied to +5V) This is the case with the AY-3-8913 with BC2 pulled high Conditioning of the Register Address Latch/Decoder and the Bidi- internally rectional Buffers to recognize the bus function reqUired (inactive, latch address, write data, or read data) IS accomplished by the Bus 'i3m" m m0 N 0 PSG FUNCTION PSG SDIA Control Decode block. 0 1 0 INACTIVE READ FROM PSG WRITE TO PSG -- - 17 16 15 14 13 11 10 9 ~ 1113 12 ~4 3 4 5 !!: ~ ~l- B +SV \ 4048 ~_ ~~--r~---r-~--r~---r-~~C~-b~ 1 -: 10K PITCH 0 t-------- 100K CONTROL E " 10K 2K7 FO ~ 33K TUNE SEL:gT L1 +-~---+--;---+-~~ -- 01.' - ' - -200 3 -= L - I T P' I +12V ~ 100 ~2~8--~2~7--2~6--~25~-2~4--~2~3--2~2--~2~,--~20--~1~9--~la-+-,~7--~'6~-'~5~ 3K3 I N T ~~ 5V AY-3-1350 '~~' 16V v---' 10Z,o --L. 51V TUNES SYNTHESIZER I r 16V:r -- I 47K 'f 1 2 3 4 5 6 7 a 19 10 11 12 13 14 r---t>l 56 1. 1 +5V ~ lL ~ 60n 500", 1- --75 1V - ~ lOOK lOOK 33K J. JI 1 >- 9VAC ~ 10", _'- - - II lOVI -= ~- -= I r FRONi 33K l' -= 16VI l-l- ,\ ,\ +5V SPEED CONTROL :l... I .1- ,£)I-J---'''''0~K~t---+----------------- 022"'T -= ~_::._., _ ... ,:-;. 560K :~'o_o, -= Fig. 5 PLAYING YOUR OWN TUNES WITH EXTERNAL PROM (OR INTERNAL TUNES) Telephony 6 Dialers 6- 3 Multi-Frequency Generators 6-17 Code Conversion 6-21 Programmable Dialers 6-29 PART PAGE FUNCTION DESCRIPTION NUMBER NUMBER Dialers ~~ AV-5-9151AIB 6-4 PUSHBUTTON AV-5-91521B 6-4 TELEPHONE Converts Pll$hbutton input 10 roIsry dial pulsal;. DIALERS AY'5-91II3AIB 6-4 AV-5-l1154A ,-4 LOOPDISOONNEOT AV-S-&1M' 6-11 Pushbutton-rQlary dial ~convert!lr with re-diaL DIALER MULTl-FREOlJI:NCY AV-s..956l1 DIALER ~ Dialer with dual tona. 6-14 Multi-Frequency Generators OUALTONE MULTI-FREQUENCY Genarale$ DTMFftone telephone i're200ms. This range of CMOS Pushbutton Dialers consists of seven devices AY-S-91S1A to AY-S-91S4A, all of which perform the function of FEATURES: AY-S-91S1 B. Same as AY-5-91S1A except: converting input data (e.g. from a keyboard) into a series of • 18 Pin package pulses suitable for loop disconnect dialing. The series is based on two devices: a simple, basic dialer circuit and a more complex FEATURES: AY-5-9152. Same as AY-S-91S1A except: and versatile device which accepts a variety of data entry codes and has a display facility. • Break: Make fixed at 60:40 plus: • Two antiphase mask outputs for driving bistable relay The use of CMOS technology results in low voltage and current requirements, enabling easy interfacing with a variety of FEATURES: AY-5-9152/B. Same as AY-S-91S2 except: telephones. The versatility of the devices and the low external component count enables the building of sophisticated, reliable • 18 Pin package telephones at low cost. FEATURES: AY-5-9153A. Same as AY-S-91S1A when in 3 x 4 matrix keyboard mode plus: • Pin selectable options of 1 of 12 keyboard, 2 of 7 keyboard wired to produce 4-bit code with common • 8 bit output for displaying number in digit store • Simple call-barring facility using display outputs Min # 01 Positive Two Supply # 01 IDP B:M Voltage Supply Antiphase Display Part Number Voltage Pins Pin Select Pin Select Pins Keyboard Mask Outputs Capability 700,800 'AY-S-91S1A 2.SV 22 yes 2 4x3 no no 500ms 700,800 'AY-S-91S18 2.5V 18 yes 2 4x3 no no SOOms 700,800 fixed 'AY-S-9152 2.SV 22 2 4x3 yes no SOOms (60:40) 700,800 fixed , AY-S-91S2/8 2.SV 18 2 4x3 yes no 500ms (60:40) 4x3 700,800 , AY-S-91S3A 2.SV 28 yes 2 1 of 12 no yes SOOms 4 bit & common 700,800 binary 'AY-S-91S38 2.SV 28 yes 2 no yes SOOms input 4x3 700,800 fixed , AY-5-91S4A 2.SV 28 2 1 of 12 yes yes SOOms (60:40) 4 bit & common 800, fixed 'AY-S-91S8 2.SV 18 1 4x3 no no SOOms (66.7:33.3) *Redial capability: 22 digits Dial Rate: 10pps 6-4 AY-5-9151A1B • AY-5-9153A1B AY-5-91521B • AY-5-9154A PIN CONFIGURATIONS 22 LEAD DUAL IN LINE AY-S-91S1A AY-S-91S2 KI1 KI1 KI2 KI1 KI3 KS3 KI3 KS3 Voo 1 KS2 Voo 1 KS2 NC NC NC NC. KI4 KS1 KI4 KS1 Voo 2 V•• Voo 2 Vss CLOCK INPUT MASK CLOCK INPUT MASK 2 NC HANDSET NC MASK 1 NC IDPSELECT NC HANDSET CLOCK BMSELECT CLOCK IDPSELECT CIOCi< LINE CLOCK LINE PIN CONFIGURATIONS 18 LEAD DUAL IN LINE AY-S-91S1B AY-S-91S2B Voo 1 KI1 Voo 1 KI1 KI2 KS3 KI2 KS3 KI3 KS2 KI3 KS2 KI4 KS1 KI4 KS1 V oo 2 V.. Voo 2 V•• CLOCK IN MASK CLOCK IN MASK 2 CLOCK HANDSET CLOCK MASK 1 CLOCK IDPSELECT CLOCK HANDSET LINE B MSELECT LINE IDPSELECT PIN CONFIGURATIONS 28 LEAD DUAL IN LINE AY-S-91S3N91S3B AY-S-91S4A Voo 1 Kill Voo 1 Kll1/Doo D04/KI12 KilO 00411<112 KI10/D02 DISPLAY ENABLE KI4 DISPLAY ENABLE KI4 Voo 2 KI9/DOl VDD 2 KI9/DOl CLOCK IN KEYPAD MODE GLaCKIN KEYPAD MODE CLOCK KI3 CLOCK KI3 CLOCK KI2 CLOCK KI2 LINE OUTPUT KI1 LINE OUTPUT KI1 BMSELECT KI6IDS4 IDP$ELECT KI8/DS4 lOP SELECT KI7IKS3IDS3 HANDSET KI7/KS3IOS3 HANDSET KI6/KS2IDS2 MASK 1 KI6/KS2IDS2 MASK KI5/KS1/DS1 MA5K2 KI5/KS1/0S1 ACCESS PAUSE COMMON ACCESS PAUSE COMMON V.. INHIBIT V.. INHIBIT AY-5-9151AlB • AY-5-9153A1B AY·5-91521B • AY-5-9154A PIN FUNCTIONS Keyboard Mode - The data on this pin determines whether the device Ves - The negative supply to the device. All voltages are referenced to will accept data from: this pin. a) 1 of 12 keyboard with keyboard ground b) 2 of 7 keyboard with keyboard ground and common switch Voo, - The positive supply to the digit store and write counter. Power c) 4 bit binary code with common signal must be maintained on this pin if the redial function is used. d) 4 x 3 matrix keyboard without keyboard ground VOD2 - The positive supply to the clock generator and control logic. and common switch V002 should rise to 2.5V within 20ms of switch-on. When modes b, c or d are in use with the AY-5-9153A1B or AY-5-9154A data In the form of two, four-bit words IS avaIlable for dIsplay pur- Clock In, Clock, Clock - These pins are connected to an external RC poses, except when a key IS pressed network which controls the frequency of the clock generator and hence the timing of the line and mask outputs. Keyboard Inpull/Keyboard Scans/Display Outputs 1 of 12 Mode - Handset Input - The state of the handset is used to control this input, All twelve pinS are used as keyboard inputs, on-Chip pull-up resistors a logic 1 on the input indicating that the handset is on-hook and a to logic 1 being incorporated A logical AND of the twelve inputs logic 0 Indicating that the handset is off-hook. This input is used to produces an on-Chip Any Key Down SIgnal when any input is taken reset the control logic depending on the past history of the input. to logic O. Detection of this signal initiates an anti-bounce period and at the end of this period, the data on the twelve inputs is read into the If the input is taken from logic 1 to logic 0, and the clock is not digit store, provided the Any Key Down signal is present throughout oscillating, a reset pulse is produced when clock pulses are this period. Any further data is then Inhibited until an anti bounce detected. The device is then ready for operation. period has been completed WIth all keys up If, during the anti- If the input is taken to logic 1 for less than 200ms and the clock bounce period, the Any Key Down signal disappears, the antl- generator is operating throughout this period, a reset pulse is not bounce timer will be reset produced when the input is taken back to logic O. Thus short breaks in line power will not affect the operation of the circuit. 2 of 7 Mode - Keyboard Inputs 1-4 are used for the 4-bit data, the If the input Is taken to logic 1 for more than 200ms, and clock pulses common input strobing the data into the digit store On-Chip pull are present throughout this period, a reset pulse will be generated at down resistors to logic 0 are incorporated on the four data inputs and the end of the 200ms period. the common input When the common input IS taken to logic 1, an antI bounce timer is started and if the common Input IS at logIC 1 Line Output - The loop disconnect dial pulses appear at this output. throughout, the data is read at the end of the period. Further data is It Is an open drain output with the source of the output transistor then ,nhibited untIl the common input has been at logIC 0 for an being connected to Ves. A break period corresponds to this antlbounce period. transistor being switched on and a make period or lOP corresponds to the transistor being switched off. The first digit of any outdialing Binary Mode - The 4-blt word is entered into the dIgit store vIa inputs sequence is preceded by a pre-digit pause equal in length to an 1-4 by use of the common input, in a SImilar manner to the 2 of 7 interdigital pause. mode. On-Chip pull down resIstors to logic 0 are incorporated. When data is not being read into the device (I e when the common input is Mask Output/Mask 1 Output - This is a push-pull output and IS used at logic 0) these four Inputs are used as output PinS for a 4-bit word to mute the telephone speech circuit. A logic 1 indicates that the for dIgit display purposes as described later speech circuit is to be muted, this occurring immediately on recognition of an input from the keypad. 4 x 3 Matrix Mode - This function will be described for the AY-5-9151 Ma.k2 Output- The AY-5-91521B and AY-5-9154A are fixed at 60:40 Series, and AY -6-9152/B. The mode of operation is slightly different for the AY-5-9153A/B and AY-5-9154A, as. explained later. Break Make ratio and a Mask 2 output IS subslltuted for the Break Make input. The mask 2 output is Identical to the mask 1 but IS driven A pulse to logic 0 IS sequentially SWItched around the three keyboard in antiphase to enable a bistable mask relay to be used scan outputs, taking 5ms for a complete scan cycle When a key is On initial application of power, a pulse is produced on Mask 1 and pressed the pulse appears on one of the four keyboard inputs 1-4 Mask 2 outputs to reset a bistable relay which may be connected to (provided WIth pull-up resistors to logic 1), and if it occurs on the these outputs. same Input on the next scan cycle, the data IS entered Into the dIgit store Before a second key depression may be recognized, the first lOP Input - This pin is used to select the duration of the Interdlgltal key must be released and a full scan cycle completed without a pulse pause. With a clock frequency of 18kHz, interdigital pauses of 700, on any input. 800 or 500ms may be selected. If two keys are pressed dUring the same scan cycle, the data will be rejected and again a full scan cycle must be completed WIthout a Break: Make Ratio - A choice of four break make ratIo IS avaIlable pulse appearing on any of the inputs before another key depression as a pin programmable option, 70:30, 66 6.33 3, 60.40 and 5050 may be recognized Display Enable - When display data is being outputfrom the dialer, If a key is pressed dUring an inhibit period, or two keys are pressed this output goes to a logic 1. Simultaneously, all three scan outputs WIll go to logic 0 untIl the key or keys is/are released. Common Input- When a4 bit code is used for data inputalogic 1 on this input strobes the data into the device. Antibounce protectIon is Display Scans/Display Outpull - Data for the first 16 digits and provided for this Input. A steady logic 1 ofless than 5ms duratIon will access pauses in the store IS available for dIsplay. not be recognized and a steady logic 1 of greater than 10msduration The poSItIon of a digit w,th,n a telephone number is indIcated by a 4 will be recognized. This input has a pull down resistor to Vss. bit binary word from the Display Scan outputs. DIsplay Scan 1 is the least Significant bit and Display Scan 4 is the most signifIcant bIt. Inhibit Input- This is used to Inhibit outdialing. If a logic 1 is placed BInary word 0000 corresponds to the left-hand digit of the display on this input while a digit is being dialed, outdialing will cease (the first number entered) and 1111 corresponds to the right-hand when the digit has been completed, If the logic 1 appears during an (16th) digit of the display. lOP, outdlaling will cease immediately. When outdialing has The digit being output is available as a 4 bit word on the display ceased, the Mask 1 output goes to logic 0 and Mask 2 goes to logic outputs (Display Out 1 = least significant bit) Binary word 0001 1. When the input is taken to logic 0, the Mask signal reappears and represents dIgit 1 and so on to 0000 = digit 10 Access pauses are dialing continues, starting with an lOP. represented by 1011. When in the 2 of 7 mode or the Binary mode, the display data is Access Pause Output - When an access pause is reached in the inhibIted by the appearance of the common SIgnal When In the 4 X 3 dialing sequence, this output goes to logic 1. By connecting this to matrix mode, depression of a key causes dIsplay scan data to appear the inhibit input, further outdialing will be prevented. on the keyboard inputs. The dialer then reverts to the normal keyboard scanning mode of operation. 6-6 AV-S-91S1A1B. AV-S-91S3A1B AV-S-91S2IB • AV-S-91S4A LINE AND MASK OUTPUT TIMING EFFECT OF ACCESS PAUSE ON LINE AND MASK OUTPUT TIMINGS ---~ MASK uu··- 1 2 I I The above sequence of events is that which occurs when the digit The following time intervals are valid only for a clock frequency store is initially empty. The time intervals quoted in the following of 18kHz. explanation are valid only for a clock frequency of 18kHz. The time intervals are inversely proportional to the clock frequency. Event Time Interval Dialing of the last digit before T'-2 = n X lOOms where Event Time Interval the access pause com- n = digit dialed. The first key is depressed T, _2 = 5-10ms after end of mences. A digit 3 is shown in and the anti-bounce timer is bounce this example. started 2 The end olthe last digit before T 2-3 = 700, 800, or 500ms 2 The data from the keyboard T 2-3 = 700, 800, or 500ms the access pause. is accepted. The mask out- 3 The mask signal is removed so put appears and the pre- that the telephone user can digital pause commences. listen for the appearance of This is the same duration the second dial tone. as the inter-digital pause 4 The telephone user presses T4-s = 5-10ms and is pin selectable. the # key to release the access 3 Dialing of the first digit T3-4 = n X lOOms pause. The anti bounce timer starts. The example shown where n = digit dialed is started. is a digit 2. 5 The data from the # key is Ts-. = 700, 800, or 500ms 4 End of 1st digit and start T4_S = 700, 800, or 500ms accepted or the inhibit input is of inter-digital pause. taken to logic 0 and the mask 5 Dialing of 2nd digit starts. TS-6 = n X lOOms signal reappears. A pre- The example shown is a where n = digit dialed digital pause equal in length digit 1. to an inter-digital pause starts. 6 End of 2nd digit and start T6-7 = 700, 800, or 500ms of inter-digital pause. 6 The digit after the access pause is dialed out. Dialing Dialing offurtherdigits continues in a similar manner until the last then continues as normal. digit. 7 Dialing of last digit T7-8 = n X lOOms commences, in this case a where n = digit dialed Access Pause and Redial Operation digit 2. These facilities are available on all devices, control being via the 8 End of last digit and end keypad or data input codes The 1 of 12 keypad and 4 x 3 keypad of mask signal. use the ,., button to insert an access pause and the '#' button to release the access pause. The '#' button may also be used to redial the number in the digit store. If the redial mode is used, power must be maintained on Voo, at all times. 8-7 AY-5-9151A1B • AY-5-9153A1B AY-5-9152/B • AY-5-9154A PIN SELECTABLE OPTIONS DATA OUTPUT CODES a) Break:Make Ratio Display Scan (OS) Ratio Voltage On Pin 70:30 Clock 66.6.33.3 DS4 DS3 DS2 DS1 Position Voo 60"40 Vss 0 0 0 0 1 50.50 Clock 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 b) lOP (with 18kHz clock frequency) 0 1 0 0 5 0 1 0 1 6 lOP Voltage on Pin 0 1 1 0 7 0 1 1 1 8 700ms Voo 2 1 0 0 0 9 800ms Vss 1 0 0 1 10 500ms Clock 1 0 1 0 11 1 0 1 1 12 1 1 0 0 13 c) Keyboard Mode 1 1 0 1 14 1 1 1 0 15 Mode Voltage On Pin 1 1 1 1 16 2017 Voo 3X4 Vss Display Outputs (DO) 1 of 12 Clock Binary Clock 004 003 002 001 Digit 0 0 0 1 1 0 0 1 0 2 0 0 1 1 3 DATA INPUT CODES 0 1 0 0 4 KI = Keyboard Input 0 1 0 1 5 0 1 1 0 6 Binary 0 1 1 1 7 1 0 0 0 8 KI4 KI3 KI2 Kll Digit 1 0 0 1 9 1 1 0 0 0 0 0 0 0 0 1 0 1 1 Access Pause 0 0 1 0 2 0 0 1 1 3 0 1 0 0 4 The Display Scan outputs are continuously incremented, and the 0 1 0 1 5 Display outputs changed accordingly, to enable the display of all 0 1 1 0 6 the digits in the digit store by the use of multiplexing. 0 1 1 1 7 The Display Scan code is incremented at half the clock 1 0 0 0 8 frequency. 1 0 0 1 9 1 0 1 0 10 The relationship between Clock, Display Data out and Display 1 0 1 1 Access Pause enable is as follows. 1 1 0 0 Redial CLOCK 2 of 7 Kll KI2 KI3 KI4 Digit DISPLAY DATA X _~XI......_~X,-_~AV 0 0 1....... 0 0 1 0 0 0 1 2 0 0 1 0 3 DISPLAY ENABLE 0 1 0 0 4 0 1 0 1 5 0 1 1 0 6 1 0 0 0 7 1 0 0 1 8 1 0 1 0 9 0 0 1 1 10 1 1 0 0 Access Pause 1 1 0 1 Redial 4-bit codes other than those shown above are ignored. 6-8 AY·5·9151A1B. AY·5·9153A1B AY·5·9152/B • AY·5·9154A ELECTRICAL CHARACTERISTICS * Exceeding these ratings could cause permanent dam- Maximum Ratings· age to the device. This is a stress rating only and func- Voltage on any Pin with Respect to Vss •••••••••••••• +7.0V to -0.3V tional operation of this device at these conditions is not Storage Temperature Range •••••••••••••••••••• -65° C to +150° C implied-operating ranges are specified in Standard Standard Conditions (unless otherwise noted): Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Vss= OV VeD1 = Vee, = 2.5V to 5.0V (V eD1 ;;' Vee,) Data labeled "typical" is presented for design guidance TA = -25°C to +85°C only and is not guaranteed. Clock frequency = 18kHz The device will function correctly from 8kHz to 50kHz but all timings (break period, IDP etc.,) will be directly dependent on the clock period. Characteristic Min. Typ. Max. Units Conditions Inputs IDP, B:M, Key Pad Mode Logic '0' Level -0.3 - 0.2 V Logic '1' Level Vee. -0.2 - Vee.+0.3 V All Other Inputs Logic '0' Level -0.3 0 0.5 V Note 1 Logic '1' Level Vee. -0.5 Vee Vee. +O.~ V Capacitance - - 10 pF V'N=V•• , f=lMHz CURRENT SOURCE TO Vee. Keyboard Inputs 2 - 60 fJA CURRENT SINK TO V•• Keyboard Inputs Common IDP, B:M 3 - 90 fJA 0.6 - 15 fJA Clock In Leakage Current - - 20 nA T.=+25°C V'N = V•• or Vee1 Key Depression Period 10 - - ms OUTPUTS LINE: Logic '0' Output Current 2 - - rnA Ve= 1.0V Logic '1' Leakage Current - - 1 fJA Ve=5.0V MASK: Logic '0' Output Current 2 - - rnA Ve= 1.0V Logic '1' Output Current 2 - - rnA Ve = Vee. -1.0V ALL OTHER OUTPUTS: Logic '0' Output Current 0.1 - - rnA Ve= 1.0V Logic'l' Output Current 0.1 - - rnA Ve = Vee -1.0V CLOCK FREQUENCY 17.2 - 18.6 kHz Vee1 = Vee. = 3.75V 14.3 - - kHz Vee1 = Vee. = 2.5V - - 19.5 kHz Vee1 = Vee. = 5.0V Temperature Stability - - ±2 % Relative to value at +25° C Vee. = 5.0V - - ±5 % Relative to value at +25° C Vee. = 2.5V SUPPLY CURRENT 1001 - - 7 fJA Vee1 = 5.0V, Vee. = OV 1002 - - 200 fJA Vee. = 5.0V, Note 2 NOTES: 1. The device will function correctly with a maximum logic '0' of 1.0Vand a minimum logic '1' of Vee -1.0V. However, use under these conditions may result in an increased supply current. 2. Measured with Break: Make, IDP, Inhibit and Keyboard Mode inputs at V•• , and with no keys depressed. 6-9 AY·5·9151A1B. AY-5·9153A1B AY·5·91521B • AY·5·9154A KS1 ,.......-----KS2 r-------~~------~~-------<>-~COMMON KS3 r------I_1~----.....,I_1~-----<>-- SWITCH .L .L ...+--"....+-....- K 11 L-I-I---....~........--....~HI-.....,I---- KI1 '-I-....;;.j>-/-""'-t- K 12 L..+-_.....+-__ K 13 KI2 '-I-I---I-'-I-I---I-'--'HI-.....,I---- K 13 CONNECTION FOR 4 X 3 MATRIX KEYBOARO L-______....~-----....~-----1I--- K 14 KS3 L.. '--- - - - - - - - - - - KS1 ____________________ KS2 CONNECTION FOR DTMF KEYBOARD Fig. 1 KEYBOARD CONNECTIONS FOR AY-S-91S1A & AY-5-91S2 TOB~:gg~-...,.--....-----1r---?----...,.----------1-., 4x 3 KEYPAD -47pf 1 2 3 KI1 51K 4 5 • K12 7 • • KI3 470K 2K • • 0 KI4 KS1 KS2 KS3 SELECT R FOR 18kHz AT PIN 7. NOMINAL VALUE = 74K 2N5551 10pF 39V Fig. 2 PROVISIONAL PUSH-BUTTON DIALER CIRCUIT USING AY-S-91S1A RL = Clare HORM-X-2096 KC = KEYBOARD COMMON SWITCH SELECT R FOR 18kHz AT PIN 7, TYPICALLY 74K 1M 470K AY-5-9152B 11 2",F 100K 470K Fig. 3 PUSHBUTTON DIALER USING MASK RELAY AY-5-9158 Loop Disconnect Dialer PACKAGE INFORMATION PIN CONFIGURATION FEATURES 18 LEAD DUAL IN LINE • 2.5 to 5.0V supply voltage AY-5-9158 • Low power standby mode for redial Keypad Input 1 • On-chip clock generator Keypad Input 2 Keypad Scan 3 • 4 X 3 matrix single contact keypad • Pin selectable lOP Keypad Input 3 Keypad Scan 2 • On-chip input pull up/down devices Keypad Input 4 Keypad Scan 1 • Redial and access pause controlled from keypad Clock Input V.. • 22 digit capacity including access pauses Clock Mask Output • Plastic or Ceramic package Clock Trigger 2 DESCRIPTION Line 1 Trigger 1 line 2 IQP~I.ct The AY-5-9158 is a CMOS loop disconnect dialer with full access pause and redial capabilities, featuring pin-programmable Inter- digital Pause. The use of a low voltage CMOS process reailzeswell known advantages of low power and high nOise immunity, particu- the output transistors as shown in Figure 2. During a dial pulse larly desirable features in a loop disconnect telephone dialer. break period, the N channel device is off and the Pchannel device is on, creating a logic 1 althe Line 2 output During a make period PIN FUNCTIONS and an lOP the N channel device is on and the P channel device is v•• off, creating a logic 0 at the Line 1 output. The timing of the Line 1 output relative to the Mask output is shown in Figure 3. The This should be connected to the negative terminal of the power Break'Make ratio is fixed at 66733.3 supply to the dialer. Voltages on all other pins of the dialer are normally referenced to this pin Mask Output V•• This IS a push-pull output and IS used to control the muting of the telephone speech circuit during dialing. A logic 1 indicates that This should be connected to the positive supply of the dialer. If the telephone is to be muted, the transition to logic 1 occurring the redial facility is required, power must be maintained on this immediately on recognition of a key depression pin when the handset IS on-hook Keypad Scans 1-3 Clock Input, Clock and Clock These are push-pull outputs used to scan the keypad columns at The clock pulse generator consists of two inverters, the fre- a rate of 200Hz Figure 4 shows how these outputs are coqnected quency of oscillation being controlled by external components to the keypad I connected to these three pins. The circuit is sufficiently versatile to allow the use of a variety of external component configura- Keypad Inputs 1-4 tions. Figure 1 shows the configuration used throughout this data The keypad contacts are used to connect one keypad scan output sheet Details of the performance of this circuit are given in the to one keypad input to enable recognition of a key d,llpression section describing electrical characteristics Each ofthese inputs has an on-chip pull up device to Vdd For a de- scription of how the keypad inputs recognize data, see Section 2. IDP Select The signal applied to this pin controls the duration of the mterdlg- Trigger 1 and Trigger 2 ital pause as follows These are connected to the Input and output respectively of two inverters in series as shown In Figure 5 Connection of resistors Voltage on Pin lOP R1 and R2 allows a Schmitt trigger circuit to be realized, the Vss 800ms sWltchmg thresholds being determined by the values of these resistors. The characteristic of the Schmitt trigger IS shown in Clock 500ms Figure 6 If the input voltage VT is lower than the lower threshold VTL, the clock generator IS stopped and the scan outputs become The pin may also be connected to CLOCK This mcreases the high impedance. In this state the dialer consumes only a small keypad scan frequency and outdiallng frequency by a factor of leakage current and data in the RAM is maintained. If VT is 15 to facilitate high speed testing of the device. The data on this mcreased and exceeds VTH the clock generator IS started, the read pin IS read during a reset controlled by the Trigger 1 input. This and write counters are reset and a pulse appears at the Mask pin has an on-chip pull down device to Vss output as shown in Figure 7. The duration of the pulse is 16-19ms for a clock frequency of 18kHz. Line 1 and Line 2 Outputs The loop disconnect dial pulses appear at these outputs. The ouput stage IS a push-pull type with separate pins forthe drains of 6·11 AY-5-9158 CLOCK C __________________________________________:r=~-C-----------------vss NOMINAL COMPONENT VALUES: R = 374 KO C = 47pF Fig. 1 Vee Line 2 FROM PRECEDING _ _ _ _ _ _ _..., CIRCUITRY Line 1 Vss Fig. 2 MASK ~J L LINE 1 0 nJl 11 ____ nJl II 1 2 I 3 4 I I 5 6 I 7 8 The above sequence of events IS that which occurs when the digit store is initially empty. The time intervals quoted in the following explanation are valid only for a clock frequency of 180kHz. The time intervals are inversely proportional to the clock frequency, Fig. 3 AY-5-9158 ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to vss •.•••••••••••••• +7.0 to -0.3 age to the device. This is a stress rating only and func- Storage Temperature Range •••••••••••••••••••• -65° C to +150° C tional operation of this device at these conditions is not implied-operating ranges are specified In Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. Vss = O.OV Data labeled "typical" is presented for design guidance Voo = 2.5V to 5.0V only and is not guaranteed. Ambient Temperature = -25° C to +80° C Clock frequency = 18kHz nominal (set by components shown in Fig. 1) Characteristics Min Typ Max Units Conditions Supply Current Ioo - - 7 fJA Vdd = 50, VTL = 0.0 - 90 240 fJA Vdd = VTL = 5 OV Note 1. Inputs KEYPAD SCANS' Logic '0' -03 - 05 V Logic '1' Voo - Voo V -0.5 - +0.3 V IDP. Logic '0' -03 - 02 V Logic '1' Vdd - Vdd V -02 - +0.3 V VTH 1.76 - 2.63 V Voo 3 6V, with specified Values of R1 and R2. VTL .96 - 1.84 V Note 2. CURRENT SOURCE TO VDO • Keypad Inputs 2 - 60 fJA V1N = Vss CURRENT SINK TO Vss. IDP 06 - 15 fJA V1N = VDO LEAKAGE CURRENT: Trigger 1, Clock 1 - - 20 nA TA = +25 °C, V,N = Voo or Vss Outputs MASK: Logic '0' Output Current 2 - - mA Va = 1.0V LogiC '1' Output Current 2 - - mA Va = Vdd -1.0V LINE 1. LogiC '0' Output Current 2 - - mA Va = 1 OV Logic '1' Leakage Current - - 1 fJA Vo = VOD LINE 2: Logic '0' Leakage Current - - 1 fJA Va = Vss LogiC '1' Output Current 2 - - mA Va = Voe -1 OV KEYPAD SCANS, Trigger 2. LogiC '0' Current 100 - - fJA Va = 1 0 LogiC '1' Current 100 - - fJA Va = Voo -1 OV Clock Frequency 17.2 - 186 kHz VOD = 7 75V 143 - - kHz Voo = 2.5 TA = +25°C - - 195 kHz Voo = 5 0 Clock Frequency Temperature Stability - - ±2 % Relative to value at Voe = 5.0V - - ±5 % Relative to value at VDO = 25 NOTES 1. Measured with lOP at Vss, Keypad Inputs at Voo and all outputs open circuit. 2. R1 = 330K ohms, R2 = 1.5M ohms. 6-13 AY-5-9559 Dual Tone Multi-Frequency Dialer FEATURES • Pin for pin compatible with AMI S2559 PIN CONFIGURATION • 2.5V to 10V supply voltage 16 LEAD DUAL IN LINE • Uses 3.58MHz crystal to provide high accuracy tones • 4 x 3 matrix single contact or 2 of 8 "telephone-type" keyboard v.. Tone Out • Mute drivers on chip XMITSwltch Single Tone Inhibit • On chip reference voltage Keypad Coil Keypad Row1 • Dual and single tone capability Keypad Col2 Keypad Row 2 • Manufactured In General Instrument's proprietary OXI-CMOS* technology KsypadCol3 Keypad Row 3 v. Keypad Row 4 DESCRIPTION Oscln Mute The AY-5-9559 is a digital tone generator designed primanly for OscOut Keypad Col 4 use as a DTMF telephone dialer. It is pin for pin and fuctionally equivalent to the AMI S2559 and pin for pin compatible with the Mostek MK5087. for the low group tone. Each counter drives a 32 step weighted Eight keyboard inputs provide an interface to either an X-V format resistor ladder D-A converter to synthesize a sine wave of the or 2 of 8 format (telephone type) keyboard. No common input is correct frequency, at an amplitude governed by a voltage regula- necessary. The Inputs are arranged as four column and four row tor. The two signals are linearly summed by an op amp which then inputs, the column inputs being pulled high and the row inputs low drives the base of an open-emitter NPN transistor whose collector by on-chip active current sourceS/sinks in the absence of a key is connected to Vdd• This transistor provides sufficient current depression When one key is ~pressed, a high level is detected on gain to drive a low impedance load in the emitter follower the appropriate row input. This causes the oscillator to start up configuration. and a keyboard scan routineto be initiated in order to detect which Depression of a single key will activate one row and one column, key has been depressed. thereby generating the appropriate two-tone combination. Depres- The eight inputs provide the ability for the chip to generate all 16 Sion of two keys in the same row or two keys in the same column possible combinations of four low group and four high group will cause a single low group (row) tone or high group (column) frequencies according to Table 1, although in normal telephone tone to be generated, providing the Single Tone Inhibit input is dialing applications the highest high group frequency (initiated either unconnected or held high If this input is connected low, no by column 4) is not used output will be generated if more than one key IS depressed. The oscillator is crystal controlled, uSing a standard U.S. TV crys- In the absence of a key depression the chip remains in its power tal at a frequency of 3.579545MHz. Apart from the crystal, no down mode, the oscillator is disabled and the XMIT switch acts as external oscillator components are required. The fundamental a current source in order to power external circUitry. The MUTE accuracy of the generated tones is better than 0.75%, as shown in output is held low as an indication ofthe state of the device. When Table 1, assuming the accuracy of the crystal (normally better than a key IS depressed, the chip switches to its operating mode, indi- 0.01 %) does not impact on this figure. cated by the MUTE output going high. The oscillator is enabled When a valid key depression is detected, divide ratios are pro- and the XMIT output goes open circuit, ceasing to source current grammed into two counters, one forthe high group tone and one to the external circuitry. Table 1: FREQUENCIES GENERATED BY AY-5-9559 Keyboard Tone Output Frequency (Hz) % Input Standard Actual Error Rl 697 699.1 +0.30 R2 770 766.2 -0.49 R3 852 847.4 -0.54 R4 941 948.0 +0.74 Cl 1209 1215.9 +057 C2 1336 1331.7 -0.32 C3 1477 1471.9 -0.35 C4 1633 1645.0 +0.73 *OXI-CMOS Technology The high performance OXide Isolated Silicon gate CMOS process is a state-of-the-art VLSI CMOS process capable of high speed and low power operation over a Wide range of ope~ating conditions. It is being used to manufacture a range of advanced performance telecommUnications products charactef/zed by their high reliability and ease of applicallOn. 8-14 AY-5-9559 ELECTRICAL CHARACTERISTICS * Exceeding these ratings could cause permanent da~­ Maximum Ratings· age to the device. This is a stress rating only and func- Voltages on any Pin with Respect to Vss •••• " •••••• , -0.3V to +15V tional operation of this device at these conditions is not Storage Temperature Range •••••••••••••••••••• -65·C to +150·C implied-operating ranges are specified in Standard Operating Temperature Range ••••••••••••••••••• -25·C to +70·C Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. Operating Temperature ••••••••••••••••••••• '" -25·C to +70·C Data labeled "typical" is presented for design guidance DC CHARACTERISTICS All voltages below referred to V" = OV only and is not guaranteed. Characteristic Min Typ Max Units Conditions Positive Supply voltage 2.5 - 10.0 V Active 1.5 - 10.0 V Standby Supply Current - active - - 2.0 rnA} Vdd= 3V - standby - - 30.0 J1A (see Note 1) -active - - 16.0 rnA} Vdd= 10V - standby - - 100 J1A Ambient temp. range -25 - +80 ·C Tone Output voltage 110 315 495 mVRMS Vdd = 3.5V}R L = 3900 - single tone (Row) 325 525 660 mVRMS Vdd=5V 400 575 755 mVRMS Vdd = 10V; RL = 2400 Column/Row tone pre-emphasis 10 2.0 30 dB Output signal distortion (Note 2) - - 7 % - - -23 dB Tone output rise time - - 5 ms XMIT output voltage (high) (Standby) 1.5 - - V Vdd =3V; I ohx = 15mA 8.5 - - V Vdd = 10V, I ohx = 50 rnA XMIT output leakage current (low) (Active) - - 10 J1A Vdd = 10V; Volx = OV MUTE output voltage (high) - no load 2.5 - - V Vdd= 2.5V; I ohm = 0.5mA 9.5 - - V Vdd = 10V; I ohm = 0.6mA ! MUTE output voltage (low) - no load - - 0.5 V Vdd = 2.5V; 101m = 0.5mA - - 0.5 V Vdd= 10V; I olm = 2mA OSCillator output sink current 0.2 - - rnA Vdd =3V} _ 08 - - rnA Vdd=10V Vol -0.5V Oscillator output source current 01 - - rnA Vdd= 3V; Voh = 2.5V 04 - - rnA Vdd = 10V; Voh = 9.5V Oscillator input sink current (Standby) 25 - - J1A V" =0.5V Oscillator start-up time - - 5 ms Vdd= 10V - - 4 ms Vdd= 3V Oscillator inpuVoutput capacitance - - 16 pF Vdd=3V - - 14 pF Vdd= 10V Column input pull-up current 100 - - J1A Vdd F 3V; V,h = 2.5V 300 - - J1A Vdd=10V; V'h=9.5V Row input pull-down current 10 - - J1A Vdd =3V, V,,=IV 10 - - J1A Vdd=10V; V,,=2.5V Single tone inhibit pull-up current 1.5 - - J1A Vdd=3V 20 - - J1A Vdd = 10V NOTES: 1. Active - one key selected; TONE, XMIT and MUTE outputs unloaded. Standby - no key selected; TONE, XMIT and MUTE outputs unloaded. 2. Distortion defined as the ratio of the total power of all extraneous frequencies in the voiceband above 500Hz accompanying the signal, to the total power of the frequency pair. PIN FUNCTIONS Signal Function Vdd Positive supply voltage V" Negative supply voltage Osc In Input and output of a high gain amplifier designed to oscillate at 3.58MHz with the addition of OscOut an external crystal. All other necessary oscillator components are provided on chip. Keypad cOllI Keypad Col2 Column inputs for a 4x4 matrix keyboard, single or double contact Keypad Col 3 With no key depressed, active pull-up devices pull these inputs high. Keypad Col4 Keypad Row 1 I Keypad Row2 Row inputs for a 4x4 matrix keyboard, single or double contact. Keypad Row3 With no key depressed, active pull-down devices pull these inputs low. Keypad Row4 Emitter connection of an open-emitter NPN SWitching transistor with collector connected to Vdd. XMIT Switch Functions as a current source when chip is in standby mode (no key depressed). Mute Output of a CMOS buffer. - Switches high when a key depression is detected, otherwise stays low. 6-15 6-16 GENERAL INSfRUMENT Multi-Frequency Generators PART PAGE . FUNCTION OUcRtPTION NUMBER NUM8eR DUAL TONE· AY-3·94(IO 6-18 MULTI..fREQUENCY ~nerates OTMF/t_ h'lep/lone frequencies. . GENERATORS AY·3-9410 6-1' 6-17 AY-3-9400 AY-3-9410 Dual Tone Multi-Frequency Generators FEATURES PIN CONFIGURATION • No tuning required, inherent accuracy ± 0.25% 14 LEAD DUAL IN LINE • Uses low cost ceramic resonator AY-3-9400 • 12 tone pairs (16 tone pairs with AY-3-9410 and chOice of high group pre-emphasis with AY-3-9410) Vr;.c Ground • Total harmonic distortion less than 8% (but dependent on external filter) A Any Key Down output • Instant generation of tone outputs B Oscillator output • Low voltage drop Power on Reset Oscillator Input • Low power consumption (less than 35mW) C E • Good thermal and voltage stability • Keyboard lock out inhibits output if more than one key o depressed Tone output G • N-channel ion implant construction • High group pre-emphasis fixed at 3.52dB (AY-3-9400). 16 LEAD DUAL IN LINE 3/6dB (AY-3-9410) AY-3-9410 • Pre-emphasis can be varied bysimplecomponentadjustment. Top View DESCRIPTION Ground Any K,V Down output The AY-3-9400/9410 DTMF circuits generate all the tone pairs Veo Oscillator output req u i red for mu Itifreq uency tone d iali ng. The tones are generated A Oscillator Input from a single ceramic controlled master oscillator, ensuring high B Pre-emphasIs * accuracy and stability of the output frequencies and eliminating Reset E the need for any adjustments. The digitally synthesized tones give precisely controlled characteristics. c The AY-3-9400/9410 is fabricated using the ion Implant N-channel o G low voltage process, and employs novel logic techniques to min- Tone output H imize power consumption and voltage drops. The circuit is suit- *3/6dB on AY-3-9410 able for operation direct from telephone line power, or it can be used with main power or battery supplies. BLOCK DIAGRAM VII GROUND I I .J:L r- IJL I - - HIGHER PRESCALER r-- HIGHD A.C. GROUP IL- l - lLI - KEYBOARD r---- OUTPUT KEYBOARD LOGIC - LOWER PRESCALER r-- LOWD.A.C GROUP '- IL - IL - - IL I~ - I LMASTER OSCILLATOR I I 1 I I I AKD ~ MASTER FREQUENCY ELEMENT AY-3-9410 AY-3-9400. AY-3-9410 OPERATION When a key is pressed the chip will immediately start operating, The tones are output on a single pin, as a mixture of pulse width the output tones both starting from zero on the first negative half modulated, constant amplitude square waves. This output cycle. The first cycle will be of full amplitude assuming the power signal is constructed into resultant sine waves in the external low supply is at the correct level. If power is applied at the same time pass filter. The approximation chosen yields a total harmonic as a key is pressed, the power on reset circuit will operate, distortion of less than 8%. preventing spurious outputs. The amplitude of the output signal is directly proportional to the When two or more keys are pressed together, one or both tones Vcc supply voltage. will be switched off. The tones will start from zero as soon as the A low pass filter buffer amplifier is used to remove switching noise extra keys have been released. When all keys are released, the and interface the tones to the line. There is an option of either a tone outputs will immediately cease. low impedance or a high impedance output for interfacing to If only one key contact is made, a single tone corresponding to telephone lines. The low impedance circuit is shown in Fig. 1: the the closed contact will be output. The "Any Key Down" output, high impedance circuit is shown in Fig. 2. which requires a pull-up resistor (typ. 47K), goes to logic '0' as Pre-emphasis selection for the AY-3-9410 is accomplished by soon as a key depression is recogn ized. connecting pin 13 to Vcc for 3dS high group pre-emphasis, or to ground for 6dS pre-emphasis. The circuits are otherwise identi- cal in operation to the AY-3-9400. 4 KEYBOARD 6 7 12 10 11 B2pF Fig. 1 LOW IMPEDANCE INTERFACE CIRCUIT KEYBOARD Fig. 2 HIGH IMPEDANCE INTERFACE CIRCUIT IN~ AY-3-9400. AY-3-9410 ELECTRICAL CHARACTERISTICS Maximum Ratlngs* * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to Ground Pin •••••••• +10V to -0.3V age to the device. This is a stress rating only and func- Storage Temperature Range •••••••••••••••••••• -65· C to +150· C tional operation of this device at these conditions is not Ambient Operating Temperature Range •••••••••••• -25·C to +70·C implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise noted): ditions for extended periods may affect device reliability. Vcc= +3.5 to +8V Data labeled "typical" is presented for design guidance F Clock=559.7kHz only and is not guaranteed. Operallng Temperature (T A) -25·C to +70·C Characteristic Min Typ" Max Units Conditions Input LogiC '1' +3.3 - +8 Volts LogiC '1' activates tone Input Logic '0' -0.3 -- +0.4 Volts Input pull down resistance 20 100 kCl Resistor to ground Input capacitance - - 10 pF Tone output Low Group - 0.312 - Vpeak } V" = 4V,Note 1, Tone output High Group - 0.486 - Vp.ak V" = 4V, Note 1, High group pre-emphasis - 3.52 - dB Output impedance - - 500 Cl Note 2, Note 3 Any Key Down output On resistance - - 1 kCl Vout=+1V Off Leakage - - 10 !-LA Vout= +8V Total Distortion - - -23 dB Note 4 HarmOniC component - - -30 dB Note 4 Supply current - - 8 rnA V" =+3.5V - - 10 rnA V,;:,,~ ~; ,/. '~~~><;' ,.' , . ". "·~~~·.;N~~R ,.', ~O''c;~.~P!;l~~:::;'';<\;;~:';:'" ..... .; ',AY~ ·Hi··· 6-21 AY-3-9900 PCM Code Converter (COOEC) FEATURES • Converts a delta-sigma modulated pulse stream at 2048 PIN CONFIGURATION kbit/sec into 8 ksample/sec companded PCM 24 LEAD DUAL IN LINE • Converts 8 ksample/sec companded pcm into a delta- sigma modulated pulse stream at 2048 kbit/sec • Enables the realization of a single channel PCM Codec using a minimum of external components • Serial PCM input/output interface can operate in a single channel mode at 64 kbitlsec, or at up to 2048 kbit/sec for a multi-channel burst format TopVlew • All digital technique uses no on-chip precision components v" C ., ~ 24P NC • Pin-selectable A-lawIJl-law companding characteristic MS[ 2 23p DSMA • Optional alternate digit inversion provided DS1 [ 3 22p seD • Direct interface with standard TTL or CMOS DS2[ 4 21 P CLKE ADI [ 5 20p CLKO • Encoder and Decoder can be clocked asynchronously (useful for PCM multiplex applications) VOD [ 6 19 P seE AJ.C 7 l8p DTW v~[ 8 17 P SGaO DESCRIPTION DSMO[ 9 16 P PCMI SGN[ 10 15 P ETV The AY-3-9900 is a PCM Code Converter containing all the logic DSMI [ 11 14 P SGSI necessary to realize a high performance low cost single channel SRF [ 12 13 P PCMO PCM Codec according to the system block schematic, Fig, 1. It contains no analog components and is fabricated with General Instruments N-Channellon-Implant GIANT II process, ensuring high performance with proven reliability and production history. Together with the chip, an external delta-sigma modulator and demodulator using a small number of easily obtainable compo- nents, is required to construct the Codec, which uses delta-sigma tions G711/G712 for both. A-law and JJ-Iaw with good safety modulation as an intermediate stage in the conversion of an margins is included, together with a very flexible serial PCM analog signal into PCM and vice-versa. A pin-selectable com- input/output interface to allow the Codec to be readily used in a panding characteristic which meets the CCITT recommenda- wide number of applications. ,--------------1 I i DEL TA·SIGMA I MODULATOR f----.,r-~ DSM TO LINEAR LINEAR PCM TO I 1--1-'" PCM SERIAL IDSM) PCM COM~~~SSED OUTPUT ANALOG LOW·PASS FILTERS AY-3-9900 DSM COMPRESSED LEVEL & LINEAR PCM SERIAL TO DIGITAL PCM TO TIMING LINEAR f-ooiIhl--PCM CONTROL DSM INPUT PCM I I I I L __ _ _-.J ANALOG OUTPUT Flg.1 BLOCK DIAGRAM OF A COMPLETE CODEC AY-3-9900 CIRCUIT DESCRIPTION DC Control Signals: The AY-3-9900 consists of two autonomous logic systems, MS Mode Select - Selects between internal and external designated in this specification as encoder and decoder. The PCM I/O interface timing encoder provides the necessary logic forthe digital conversion of Logic 0 = external a delta-sigma encoded pulse density signal at 2048 kbit/sec into Logic 1 = internal A resistor is connected internally between this input standard 8 ksample/sec 8 bit compressed PCM codewords. The and Vss. decoder provides the necessary logic forthe digital conversion of standard 8 bit compressed PCM characters at 8ksample/sec into ADI A1ternate-digit-inversion control-SelectsADI or no ADI a delta-sigma encoded pulse density signal at 2048 kbit/sec. Logic 0 = no ADI Serial PCM input/output interfaces are also provided with Logic 1 = ADI facilities for a data rate of 64 to 2048 kbit/sec to enable its use in A resistor is connected internally between this input and Vss. either a single channel system or a standard 30 channel TDM DS1, Decoder delay select - A two bit binary word to select environment. For the necessary timing information to clarify this DS2 the required digit delay between encoder and decoder. section reference should be made to the waveform diagrams, Figs. 5a, 5b, and 5e. DS2 ~glt Delay The encoder logic, operating continuously on the delta-sigma o o 0 input pulse train, will generate a corresponding compressed o 1 1 PCM codeword every 125ps; with alternate digit inversion being o 2 provided if required by appropriate use of the ADI control input. 1 3 A timing vector pulse (ETV) of nominal width equal to one A resistor is connected internally between each input and Vss. encoder clock period, will define the required frame start time A/p Companding characteristic select-selects either A-law and should be repeated every 125ps to ensure correct or p-Iaw synchronization. Logic 0 = A-law Logic 1 = p-Iaw If the mode select (MS) input is connected high then the 8 bit A resistor is connected internally between this unput PCM codeword will be transmitted serially at a rate of 64 kbitlsec and Vss. at which speed each codeword will occupy the full 125ps frame period for transmission, with the leading edge of the first bit CLOCKS & AC CONTROL SIGNALS occurring at a time defined by the ETV pulse. CLKE Encoder main clock - 2.048MHz clock signal Alternatively, if the MS input is left open circuit orconnected low, CLKD Decoder main clock - 2.048MHz clock signal the serial PCM transmission will be under the control of an externally generated shift clock (SCE) which can vary in SCE Encoder shift clock - Used to control the output of frequency from 64kHz to 2048kHz. The timing of this input serial PCM data from the encoder (when MS=O) function allows the insertion of a number of signalling bits into SCD Decoder shift clock - Used to control the input of the PCM stream via the SGBI input. serial PCM data to the decoder (when MS = 0) With the MS input connected high, an input PCM bit stream at64 ETV Encoder timing vector - A pulse defining the kbitlsec will be accepted by the decoder logic under the control beginning of each frame, used to maintain encoder of internal clocks generated from the CLKD signal. Because of timing. delays th rough the transm isslon network, normally under the DTW Decoder timing waveform - A pulse used to indicate to control of transmission switches, the input pulse stream may be the decoder when the input PCM stream is in the input delayed in time by number of digit periods from the original pulse register (only required when external shift clocks are stream as transmitted. To allow for this, a discrete delay of 0 to 3 used). digit periods can be selected by the control inputs DS1 and DS2 DSMR Delta-sigma reset - a pulse used to reset the digital which results in a controlled shift of decoder timing in order to re- delta sigma modulator during testing only Should be align bit 1 in its correct position in the input register. tied to ground during normal operation. Alternatively, if the MS input is left open circuit or connected low, the decoder input interface will be under the control of externally ENCODER OPERATIONAL INPUTS & OUTPUTS generated waveforms in which case it requires an input shift DSMI Delta-Sigma modulated input signal - Input to the clock (SCD) and timing waveform (DTW) to define the lime when encoder from the delta-sigma modulator. bit 1 of the input codeword occupies its correct position in the SRF Spectral redistribution function - 8kHz Output signal input register. In this mode, the device will accept an input PCM used to operate on the delta-sigma modulator to stream at up to 2048 kbitlsec, with any signalling bits present in reduce low frequency quantization noise. this signal being extracted via the SGBO output. SGN Sign bit output - Sign bitfrom theencoder, usedtooper- Upon receipt of a compressed PCM codeword, the decoder logic ate on the delta-sigma modulator for DC alignment will first remove alternate digit inversions if necessary (under the SGBI Signalling bit input - facility for adding Signalling control of the ADI input) after which the codeword will be blt(s) to the output PCM stream. (MS = 0). linearized. A digital delta-sigma modulator will then generate a PCMO PCM output -Senal PCM outputundertheconlrol olthe delta-sigma bit stream at 2048 kbitlsec for external decoding to encoder shift clock (MS = 0) or the encoder main clock produce the required analog signal. (MS=1). All inputs and outputs of the AY-3-9900 are directly compatible with standard TTL (driving capacitive loads) or CMOS. DECODER OPERATIONAL INPUTS AND OUTPUTS PCMI PCM input - Serial PCM input under the control olthe INPUT/OUTPUT FUNCTIONS decoder shift clock (MS = 0) orthe decoder main clock (MS=1) Supplies: SGBO Signalling bit output - Serial output for extracting Vss GND signalling bit(s) from the incoming PCM stream. Vee +5V DSMO Delta-sigma modulated output signal - Output pulse Voo +9V stream from the decoder. 6-23 AY-3-9900 A SINGLE CHANNEL PCM CODEC 2048 kbitlsec in a burst format. This input PCM stream will be converted into a delta-sigma modulated pulse stream at 2048 The block schematic of a single channel Codec using the AY-3- kbitlsec, from which the original analog signal can be recovered 9900 is shown in Fig. 1.11 consists of a band limiting low pass filter by the use of a low pass filter,cutting off just above the highest followed by a delta-sigma modulator which, by sampling at a rate signal frequency to be recovered (3.4kHz). of 2048kHz provides a highly over-sampled, waveform-tracking AID conversion. The bit stream produced by this modulator at The transition ti mes and voltage levels of the della-sigma 2048 kbits, is then converted into 8 bit compressed PCM code modulated pulse streams are critical to the performance of the words at the standard rate of 8 ksample/sec; which, after system. The delta-sigma modulator should therefore be conversion into serial format is transmitted serially at a bit rate of constructed using TTL 0-Types; with the delta-sigma modulated 64 kbitlsec. By the application of external timing signals, the output pulse stream from the AY-3-99oo being clocked through a PCM output transmission rate can be increased to allow for similar D-type before the analog signal is recovered. multiplexing in a burst format, with a maximum bit rate of 2048 Fig. 2 shows a more detailed diagram of the necessary external kbitlsec. components (including component tolerances) required to The PCM input interface will accept either a 64 kbitlsec bit stream realize a complete PCM Codec using the AY-3-99oo. The or, by the application of external liming signals, a bit rate of up to response of such a Codec is shown graphically in Figs. 3 and 4. FOR ASYNCHRONOUS OPERATION USE .--------<1"""""--- +5V (REG) 2048kHz 2)( SN7474 DUAL 0 TYPES FOR SYNCHRONOUS OPERATION USE C9l"3""" r - --, 2800 ENDODER CLOCK SN74175 QUAD 0 TYPE WITH A COMMON ENCODER/DECODER CLOCK I Rl0 I .J r _.J 12 SRF Voo 15PF v~ V~ MS DSl DS2 AD! A LAW/pLAW 11 OSMI I 10K r - - ,-+_ _~"""""_....J__",,R211r-_ _""'_+-__-+_ _ _--' AY-3-9900 l~F ' CS IF FAST START-UP I +5VREG r ----, ;t; 27M ,. PCMI ,. CIRCUIT IS NOT 13 a REQUIRED I 10K R2 D SGN PCMD REMOVE R7,RS C4 AND CONNECT C3 TO GROUND I R7 C3 68pF L SCD 22 ,. D3 I Jr'" PASSIVE COMPONENTS ENCLOSED BY BROKEN I '3K R8 LINE ARE CONTAINED WITHIN PASSIVE HYBRID SGSI " 15 L DSMO ETV 245V D. ANALOG 0--1 2048KHz 1 OUTPUT DECODER CLOCK 3""" 68p" Cl PRECISION REFERENCE 01-04 HP 1N6263 (FERRANTI ZN458 OR EQUIV OR EOUIV) Fig.2 DETAILS OF DELTA-SIGMA MODULATOR, WITH DEMODULATOR LEVEL GENERATOR AY-3-9900 TYPICAL PERFORMANCE MEASUREMENTS: A-LAW OJ 40 "0 0 ~ .,.- a: z 30 A ....... ,\ 0 ;:: a: A'" .\ 0 f- ~ \. '" 20 ~ 0 0 CCITT G712 f- 450-550Hz NOISE ...J " z 10 V CJ Ci'i 60 ~50 ~40 ~30 INPUT SIGNAL LEVEL dSmO ~20 ~10 o I TMAX +3dBmO OJ +1 t I - "0 Z o ~ a: :; z , ~ -1 I I I REFERENCE LEVEL OdS GAIN 450-550Hz NOISE TEST FOR LEVEL < -10dBmO 850Hz SINEWAVE TEST FOR LEVEL> -1DdbmO TYPICAL PERFORMANCE MEASUREMENTS: J.l-LAW ~ 0 ;:: 40 V V - V .,.~ ~ ~ , ./ V "Z 30 a: / V 0 ;:: V a: 0 20 1/ f- '"0 / CCITT G712 850Hz 51 NE WAVE 0 f- ...J 10 " Z CJ Ci'i I 60 ~50 ~40 ~30 INPUT SIGNAL LEVEL dBmO ~20 ~10 o T MAX I -t-3dBmO CD +1 I o "0 Z r\ J ~ ~ r-.... a: « > Z <' " ~1 1 I REFEREN E LEVEL OrlR GAIN 850Hz SINEWAVE TEST AY-3-9900 ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to Vss ••••••••••••••• +10V to -0.3V age to the device. This is a stress rating only and func- Storage Temperature Range •••••••••••••••••••• -55 0 C to +150 0 C tional operation of this device at these conditions is not implied-operating ranges are specified in Standard Standard Conditions (unless otherwise noted): Conditions. Exposure to absolute maximum rating con- vss = OV (substrate voltage) ditions for extended periods may affect device reliability. Vee = +5V ± 5% Data labeled "typical" is presented for design guidance Vee =+8.5Vto+12.5V only and is not guaranteed. Operating temperature (TA ) = -25°C to +75°C Characteristic Min. Typ." Max. Units Conditions DC Control Inputs Logic 1 4.75 5 10 V Connect to Vee or Vee Logic 0 0 - 0.4 V Connect to Vss Pull down resistor 200 - 1000 kO Resistor to Vss CLOCKS (CLKD & CLKE) Logic 1 3 - 10 V Logic 0 -0.2 0 0.4 V Rise & Fall Times 5 - 40 ns 0.4V-3V transition Frequency - 2.048 - MHz Pulse Width 200 - - ns Between 1.5V levels (Fig. 4c) Input Capacitance - - 10 pF Other A.C. Control Signals Logic 1 3 - 10 V Logic 0 -0.2 0 0.4 V Rise & Fall times 5 - 40 ns 0.4-3V transition SCE/SCD pulse width 200 - - ns between 1.SV levels ETV width (tvw) - 488 - ns edge variation (tvv) - - 100 ns } See Fig. 4c. DTWwidth 10 - - /1s One digit period (see Fig. 4c) Input Capacitance - - 10 pF Operational Inputs Logic 1 3 - 10 V Logic 0 -0.2 0 0.4 V Rise & Fall Times 5 - 40 ns OA-3V transition Pulse Width 200 - - ns between 1.5V levels Input capacitance - - 10 pF Operational Outputs Logic 1 4 5 5.25 V Logic 0 0 - 0.4 Logic 1 source current 100 - - /1 A at Vo = 3V Logic 0 sink current 1.6 - - mA at Vo = OAV Rise & Fall times - 40 ns 0.4-3V transition (driving 15pF) PCMO delay (from SCE edge) 40 100 140 ns between 1.SV levels Power Consumption - - 450 mW at Vcc=5V. Vee=9V "Typical values are at +25 0 C and nominal Voltages. 6-26 AY-3-9900 ~125115 ~I 625115 I "I" I I I ENCODER TIMING VECTOR-ETV l I I I I I I 8kHz SRF ~ I GENERATION OF ~~ I I OUTPUT OF I L ~L1NEAR PCM----'--- ~ .. COMPRESSED -...II I CODE WORD FROM I COM- I CODE WORD I I 6-l INPUT STREAM I PRESSION I IOF L1NEARI I I I CODE I I fWORD 8kHz SAMPLING INSTANT (s) TIMING OF ENCOOER OPERATION .CLKE/ CLKD ETV I I ~\ tv PCM OUTPUT LOAD PULSE ----~ .~----~------~--------~---- DATA PRESENT IN OUTPUT REGISTER AT THIS TIME PCMO/ LAST BIT OF PREVIOUS FIRST BIT OF NEW PCMI PCM CODE WORD PCM CODE WORD I I I INTERNAL DECODER TIMING PULSES ETV REFERENCE. POINT Jl Jl • LOAD RECEIVED LOAD LINEAR CODE WORD INTO CODE WORD INTO LINEARIZING LOGIC DIGITAL DELTA-SIGMA MODULATOR (b) DETAIL OF ETV TIMING AND INTERNAL CLOCK MODE INPUT/OUTPUT TIMING IINm~1 AY-3-9900 I"'~__---1251.ts - - -.......~o-II ETV PCMO (64Kbitls) (a) PCM OUTPUT DATA STREAM (INTERNAL CLOCKS) PCMI (ZERO DELAY) INTERNAL DECODER TIMING (051,052 = 0,0) t LOAD LINEAR CODEWORD INTO DIGITAL DELTA-5IGMA MODULATOR LOAD INPUT DATA INTO LINEARIZING LOGIC (5EE Fig. 3) PCMI (3 DIGIT5 DELAY) INTERNAL DECODER TIMING (051,052 = 1,1) ____~rl~________~rl~______ (b) PCM INPUT DATA STREAM (INTERNAL CLOCKS) 6-28 GENERAL INSfRUMENT Programmable Dialers 6-30 .... 6-29 TZ-2000 Series Programmable Microcomputer Telephone Dialers FEATURES PIN CONFIGURATIONS • Microcomputer based dialer 40 LEAD DUAL IN LINE • On board keyboard debounce circuitry TZ-2001 D~;; v" V" • Single button redial of last number dialed ISm RTC'CK • Program can be customized by single mask change i53i9 MCLR STANDARD PROGRAMMED DEVICE FEATURES Test osc 54i15 elK our TZ-2001 - Pulse Dialer i55iTI SA • Outputs for 12 digit time multiplexed display 51!712 sa • 16 numbers by 12 digit repertory storage via 1 button recall em:s so • Real time clock (hrs., min., sec.) EN7-12 Sli K4 SE' • Elapsed time timer/stopwatch Ka SF • Optional calculator interface with C-59X series K2 SG I implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise noted): ditions for extended periods may affect device reliability. Vee = +5.0V ±5% Data labeled "typical" is presented for design guidance Vxx = 4.75V to 10.0V only and is not guaranteed. Characteristic Sym Min Typ Max Units Conditions Power Supply Currents Ice - 35 50 rnA Ixx - 1 5 rnA Logic Inputs Low V,L 0 - 0.65 V V,H 2.4 - Vee V Logic Outputs Low VOL - - 0.45 V Vxx = 5V @IOL = 1.6mA High VOH 24 - Vee V IOH= 100pA Osc Frequency fm 0.8 - 1.0 MHz Rt Clk Frequency frt - 32.768 - kHz Crystal Generated CLK OUT Frequency - 0.25 fm - - - Key Debounce Time td. 15.6 - 23.4 ms Interd ig it Pause IDP - 125 - ms Tone Duration - - 125 - ms TABLE 3: DUAL TONE FREQUENCY OUTPUTS DIGIT LOW FREQUENCY (Hz) HIGH FREQUENCY 1 697 1209 2 697 1336 3 697 1477 4 770 1209 5 770 1336 6 770 1477 7 852 1209 8 852 1336 9 852 1477 0 941 1336 A (*) 941 1209 n (#) 941 1477 6-32 TZ-2000 Series IINS&~fflr I KEYBOARD LAYOUT TZ-2001 TZ-2002 1 2 3 DIAL t-- 01 1 2 3 DIAL - 01 4 5 6 STORE - 02 4 5 6 STORE - 02 7 a 9 TIME - 03 7 a 9 TIME - 03 TIME - - PA 0 RE SET 04 * 0 # P 04 = % • CAON C/CE - L1 L2 L3 L4 - 09 05) OPTIONAL FOR CALCULATOR FUNCTIONS + - x - 06 L5 L6 L7 La - 010 L1 L2 L3 L4 - 09 L9 L10 L11 L12 - 011 L5 L6 L7 L8 - 010 L13 L14 L15 L16 - 012 L9 L10 L11 L12 t - - 011 I I I I K1 K2 K3 K4 L13 L14 L15 L16 t-- 012 I I I I K1 K2 K3 K4 TZ-2003 1 2 3 SPKR f--- R1 4 5 6 HOLO r--- R2 7 a 9 PAUSE r-- R3 RTRV 0 STORE REDIAL r-- R4 I C1 I C2 I C3 I C4 TELEPHONY ,~ z 32768kHzWATGHTYPECRYSTAL ~C1 ~I ~ 'SV 'THE VALUE OF THE RESISTOR: DEPENDSONTHETYPEOFTH DISPLAY ALL TRANSISTORS NPNTYPE ~ ARE 2N2222 OR EaV PNPTYPE ARE 2N2907 OR EQV 'SELECT VALVE FOR mSPLAY SA S8 SC SO SF Rib ~ .[h 5V -t N ~ 63K TYP o MUTE OlAl o 10K en CD ::l. CD '" ! ~: AoiDiAL 19 \/"",16 .~ A,MUTE 20 A221 ZA, GND~ TZ 2001 A,22 1~ A, I -b U9 A.~! 5 ~ U7-AN9112 crl.. 13 2Qi':7 ~ 25 6 A. ~ :~ A, 26 R/W 16 7 A. ~ 10 6 o.no 14 WRITE EN ~+ M :::J 12 1,15 7 05-11 8~ 9 SN1.6 10EN7_12 MEA 15 K4~' K3 K2 13 K114 MCLR 37 12 § 4011 114U6 Tl04TI03T/D2T!Ol 12 11 10 42K r NIGdBATTERY 3 CELLS l---1==:lt:==~~~~~~~~~~~~lII ~ L- '-' 10 11 ~ 12 13 :::l 14 6 1,15 lOK~ ~ '5V 5VREG POWERON'RESET Ui,U2-75492 ~ MANUAL ~_U41il~5-80C98 lRESET ~~::O~~112 U9-TZ2001 TZ-2001 APPLICATION CIRCUIT DIAGRAM (16 NUMBER REPERTORY STORAGE) WITH BATTERY BACK UP m~~~V~r-<+5V~~:+5V +'v +5V , SA 58 ~:~~: SC SD ~~~SE ". .~')~ SF 1201GITLEDOISPLAY SG DP1 , ~ 63K TYP ~ ~l-o o\:! R=:' ' ~l DJJ 081 D'I "I OSI DL" "L 01 ~r. * ~ 'OK ""f I 11 ~"62 ~ ,~ 1 ~E =~ ~I ~_ 12 Or "" I , .J "rf.r==---J f" I2'G71~~5~ I I 1"~12I,,:5492ID54J I~r' I ~ ~"7'F I 1 , EfCLK 4013 Q 1 ~~ 38 CLKDUT RlCC M~:: A4 23 A3 22 ~:'~ 4 6 ~o r ~MCT-275~,. 8OC98 ~6 0 E a; ~ I"" +5Y 39 y , TZ2002 A2 21 ~o ~5C ~ 7 9~ Lio y.. ~ ~! ~: : ~,..--- 2 2 0117 Al AD .I ,I 5600 410 L~!i~~S 8OC98 7 8 4 03/9 02/8 4 3 2 1 15 5 6 7 9 4 10 38 D 0 16 14 AD AI A2 A3 A4 A5 AS A7~5V 115 7 "" 11 12 7 D:~:' R~~ II 12 13 ': 15 : 06112 :: ~! ~~ AN 9112 '6 ~ L L-- 10 _ KI ~; 9 256 x 4 RAM CE y" NICD BATT r-- !.teLR 1500 750 3 CEllS ~ lJdd~~g~!I~'"-<~ 'Ar"""., , ,-:1.~.',~' ,: AV~1rr: .("?,,~: ... :.': ' . , \~'(~ ...". ';':.;f.:.'1lk .; .' . A't~~~,' ..."-13" .: 7-3 AY-3-101SD UARIT: Universal Asynchronous Receiver/Transmitter FEATURES • DTL and TTL compatible-no interfacing circuits requlred- PIN CONFIGURATION drives one TTL load 40 LEAD DUAL IN LINE • Fully Double Buffered-eliminates need for system synchronization, facilitates high-speed operation • Full Duplex Operation-can handle multiple bauds Top View (receiving-transmitting) simultaneously • Start Bit Verification-decreases error rate with center VCC(+5V) TCP sampling NC EPS GNO NBI • Receiver center sampling of serial input; 46% distortion Iml NB2 Immunity ROB TSB • High Speed Operation R07 NP • Three-State Outputs-bus structure capability ROB os • Low Power-minimum power requirements R05 OBB RD. OB7 • Input Protected-eliminates handling problems R03 OBS R02 OB5 AY-3-1015D ROI DB' • Single Supply Operation: PE OB3 H.75V to +5.25V FE OB2 • 1'h stop bit mode OR OBI • External reset of all registers except control bits register We so RCP EOC • N-channel Ion Implant Process ImAV Ill! • 0 to 25K baud OAV TBMT • Pull-up resistors to Vee on all inputs Sl XR DESCRIPTION The Universal Asynchronous Receiver/Transmitter (UAR/T) isan LSI subsystem which accepts binary characters from either a terminal device or a computer and receives/transmits this character with appended control and error detecting bits. All characters contain a start bit, 5to 8 data bits, I, 1'h, or 2 stop bit capability, and either odd/even parity or no parity. In order to make the UAR/T universal, the baud, bits per word, parity mode, BLOCK DIAGRAM and the number of stop bits are externally selectable. The device ~ is constructed on a single monolithic chip. All inputs and outputs 0.; are directly compatible with MTOS/MTNS logic, and also with :i ~: :; TRANSMITTER DATA alTS TTL/DTLlCMOS logic without the need for interfacing compo- nents. All strobed outputs are three-state logic. I~ ii Ii CONTROL ~ """" SERIAL OUTPUT IIIIT TRANSMITTER END Of CLOCK CMARACTER "Xft EXTERNAL CLOtlC RECEIVER RUET SERIAL INPUT :II ~ . - ." •~~I~. , ~~II i~ ~w ta ClC = ! II 11---11 RECEIVER DATA BITS "ji 7-4 AY-3-101S0 PIN FUNCTIONS Pin No. Name (Symbol) Function 1 Vee PowerSupply (Vee) +5VSupply 2 N.C. (Not connected) 3 Ground Ground 4 Received Data Enable (ROE) A logic "0" on the receiver enable line places the received data onto the output lines. 5-12 Received Data Bits (RDB-RD1) These are the 8 data output lines. Received characters are nght Justified. the LSB always appears on RDI These lines have tn- state outp~.e., they have the normal TTL ouput characterIS- tics when ROE IS "0" and a high Impedance state when ROE IS "I ". Thus, the data output lines can be bus structure onented. 13 Parity Error (PE) This Jine goes to a Jogic "I" if the received character parity does not agree with the selected parity. Tri-state. 14 Framing Error (FE) This line goes to a logic "I" if the received character has no valid stop bit. Tri-state. 15 Over-Run (OR) This line goes to a logic "I" if the previously received character IS not read (DAV line not reset) before the present character IS transferred to the receiver holding register Tn-state 16 Status Word Enable (SWE) A logic "0" on this line places the status word bits (PE, FE, OR, DAV, TBMT) onto the output lines. Tn-state. 17 ReceiverClock (RCP) This line will contain a clock whose frequency IS 16 times (l6X) the desired receiver baud. 18 ResetDataAvallable (RDAV) A logic "0" will reset the DAV line. The DAV F/F is only thing that is reset. 19 DataAvailable (DAV) This line goes to a logic "1" when an entire character has been received and transferred to the receiver holding regis- ter. Tri-state. Fig. 8. 20 Serial Input (SI) This line accepts the serial bit input stream. A Marking (logic "1") to spacing (logic "0") transition is required for initiation of data reception. Fig. 7, 8. 21 External Reset (XR) Resets all registers. Sets SO, EOC, and TBMT to a logic "I" Resets DAV, and error flags to "0". Clears input data buffer. Must be tied to logic "0" when not in use. 22 Transmitter Buffer Empty (TBMT) The transmitter buffer empty flag goes to a logic "1" when the data bits holding register may be loaded with another character. Tri-state. See Fig. 14, 16. 23 DataStrobe (OS) A strobe on this line will enter the data bits Into the data bits holding.@.gister Initial data transmission is Inillated by the nSlng edge of OS Data must be stable dunng entire strobe. 24 End of Character (EOC) This line goes to a logic "1" each time a full character is transmitted. It remains at this level until the start of transmis- sion of the next character. See Fig. 13, 15. 25 SenalOutput (SO) This line will serially, by bit, provide the entire transmitted character It will remain at a logic "1" when no data is being transmitted. 26-33 DataBitinputs (DB1-DB8) There are up to 8 data bit Input lines available 34 Control Strobe (CS) A logic ''1'' on this lead will enter the control bits (EPS, NB1, NB2, TSB, NP) into the control bits holding register This line can be strobed or hard Wired to a logic "1" level 35 No Panty (NP) A logic "1" on thiS lead will eliminate the panty bit from the transmitted and received character (no PE Indication) The stop blt(s) will Immediately follow the last data bit. If not used, thiS lead must be tied to a logic "a" 36 NumberofStop Bits (TSB) This lead will select the number of stop bits, 1 or 2, to be appended immediately after the parity bit. A logic "0" will Insert 1 stop bit and a logic "1" will insert 2 stop bits. The combined selection of 2 stop bits and 5 bits/character will produce 1Y, stop bits. 37-38 Number of Bits/Character (NB2, NB1) These two leads will be Internally decoded to select either 5, 6,7 or8 data bits/character NB2 NBI Bits/Character a a 5 a 1 6 1 a 7 1 1 8 39 Odd/Even Panty Select (EPS) The logiC level on thiS pin selects the type of panty which will be appended Immediately after the data bits It also determines the panty that will be checked by the receiver A logiC "0" will Insert odd parity and a logiC "I" will Insert even panty. 40 Transmitter Clock (TCP) ThiS line will contain a clock whose frequency IS 16 times (16X) the deSired transmitter baud 7-5 II~I AY-3-1015D ELECTRICAL CHARACTERISTICS Maximum Ratlngs* * Exceeding these ratings could cause permanent dam- Vee (with Respect to GND) •••••••••••••••••••••••• -0.3V to +16V age to the device. This is a stress rating only and func- Storage Temperature ••••••••••••••••••••••••• -65· C to +150· C tional operation of this device at these conditions is not Operating Temperature ••••••••••••••••••••••••••• O·C to +70·C implied-operating ranges are specified in Standard Lead Temperature (Soldering. 10 sec) ••••••••••••••••••••• +330·C Conditions. Exposure to absolute maximum rating con· ditions for extended periods may affect device reliability. Standard Condition (unless otherwise noted): Data labeled "typical" is presented for design guidance Vee = +4.75V to +5.25V only and is not guaranteed. Operating Temperature (TA) = O·C to +70·C DC CHARACTERISTICS Characteristic Min Typ ** Max Units Conditions Input Logic Levels (AY-3-l015) Logic 0 0 - 0.8 Volts Logic 1 2.0 - Vee+0.3 Volts Has internal pull-up resistors to Vec. Input Capacitance All inputs - - 20 pF o volts bias, f = 1MHz Output Impedance Tri-State Outputs 1.0 - - Mel Data Output Levels Logic 0 - - +0.4 Volts IOL = 1.6mA (sink) Logic 1 2.4 - - Volts IOH = -40IlA (source)-at Vee = +5V Output Capacitance - 10 15 pF Short Ckt. Current - - - - See Fig. 19 Power Supply Current Iceat Vee = +5V - 10 15 mA See Fig. 21 Standard Conditions (unless otherwise noted) TA = 25· C, Output load capacitance 50pF max. AC CHARACTERISTICS Characteristic Min Typ** Max Units Conditions Clock Frequency DC - 400 kHz at Vee = +4.75V Baud 0 - 25 kbaud at Vee = +4.75V Pulse Width Clock Pulse 1.0 - - lis See Fig. 5 Control Strobe 200 - - ns See Fig. 11 Data Strobe 200 - - ns See Fig. 10 External Reset 500 - - ns See Fig. 9 Status Word Enable 500 - - ns See Fig. 17 Reset Data Available 200 - - ns See Fig. 18 Received Data Enable 500 - - ns See Fig. 17 Set Up & Hold Time Input Data Bits 20 - - ns See Fig. 10 Input Control Bits 20 - - ns See Fig. 11 Output Propagation Delay TPDO - - 500 ns See Fig. 17 & 20 TPD1 - - 500 ns See Fig. 17 & 20 **Typical values are at +70·C and nominal voltages. 7-6 AY·3·1015D TIMING DIAGRAMS TBMTU IL -l r-- NOTE 2 (LI - - - , START SO (H) ___ ..l _ _ _ l...D~T;: lo;:rA 21 L..:.::..:....;r-O;;'A-I ;:;A;:A-.io;T; ___ .J. ___ ;1~AlA ..1. _ _ _ .J. ;:;A~ _ _ _ .L 8~P~R~T~: ioUA- -; J.. ___ J.. ___ L.:..::..:.....i_O~_T-;'_-_' ___ .J STOP I STOP 21 SUAT NOTE -t------I- BIT TIME EOC~L________________________________________________L-______ NOTE SEE FIGURES 2. 3. 4 FOR DETAILS TRANSMITTER INITIALLY ASSUMED INACTIVE DETAIL. AT START OF DIAGRAM SHOWN FOR 8 LEVEL CODE AND PARITY AND TWO STOPS DATA STROBE I' BIT TIME· 16 CLOCK CYCLES 2. IF TRANSMITTER IS INACTIVE THE START CLOCK~ PULSE WILL APPEAR ON LINE I TO 2 CLOCK CYCLES AFTER THE DATA STROBE , OCCURS SEE DETAIL I 3 SINCE TRANSMITTER IS DOUBLE BUFFERED so ~ ANOTHER DATA STROBE CAN OCCUR ANY- WHERE DURING TRANSMISSION OF CHARACTER I AFTER TBMT GOES HIGH Fig.1 UAR/T - TRANSMITTER TIMING TRANSMITTER INACTIVE TRANSMITTER ACTIVE TRANSMIT BUFFER LOADED WHEN EOC HIGH , TRANSMIT BUFFER LOADED WHEN Eoe LOW DS SO START BIT L i_ _ +-__________,,_"_----------- so ISTART '~ TBMT L TBMT EOC ~EO~C~ ________ _Jr-lL_______________~,~,------- Fig.2 TRANSMITTER AT START BIT Fig.3 TRANSMITTER AT START BIT NOT A TEST POINT ~-NOTEI os I **~ ** I",. MIN I AND CS MAY OCCUR SIMULTANEOUSLY WHEN MINIMUM DUTY CYCLE L~ L TRANSMITTER INACTIVE DA I I DUTy 50%1LJriL ~L____________'L_L_EG_A_L_T_O__U_SE__C_S______~~--~~ CYCLE NOTE CONTROL STROBE MAY BE HA~DWIREDTO "I" ANY PULSE WIDTH WHICH MEETS IN THAT CASE,CONTROL DATA 81TS MUST BE STABLE DURING ABOVE CRITERIA IS ALLOWABLE "ILLEGAL CS" TIME. Fig.4. ALLOWABLE POINTS TO USE CONTROL STROBE Fig. 5 ALLOWABLE TCP, RCP 7-7 AY·3·1015D TIMING DIAGRAMS INTERNAL SAMPLES ______ ~ ___L__ ~L_ __L___~___L__~L___L___~___L__~L_______~_____ PARITY ERROR NOTE I-I FRAMING ERROR NOTE I -r---- -11- I CLOCK AVAIL2:l: ____________________________________________N_O_T_E_2_---i __..!J1 I OVER RUN ____________________________________________~NO~T~E~I~::1 __~ NOTES: I. THIS IS THE TIME WHEN THE ERROR CON- DITIONS ARE INDICATED, IF ERROR OCCURS. 2. OATA AVAILABLE IS SET ONLY WHEN THE ;~~f;J~~~R~gAttETH~E·H8~or:: :EE~~TERS (SEE RECEIVER Bloet< DIAGRAM) 3. ALL INFORMATION IS GOOD IN HOLDING REGISTER UNTIL DATA AVAILABLE TRIES TO SET FOR NEXT CHAFtACTER. Fig. 6 UAR/T - RECEIVER TIMING DAV AND STOP BIT ONE Rep FIRST STOP BIT I r--~g~TLE S1~ I RCP -----"l"I 8 CLOCKS SI S1 I I b:--= 7 CLOCKS ":'1 INTERNAL SAMPLE I -I 1 ~ ~~Ak-; ~,I~~~~'~~O~E~~. RDI - Roe PE. FE, OR ________________________--J I i I THEN SAMPLE POINT WILL BE HERE ~ INTERNAL SAMPlE PULSE} DAV ON DAV OFF ~I:----I - Fig. 7 Fig.8 RECEIVER DURING 1ST STOP BIT X:'H--Fl\- D~ V:;~ ~--l5?~~S I--"---- I I MIN. WHEN NOT IN USE, XR DATA~ II i 1\ J NP. TSB. NB2.1. E:~jifL-- -- -J~ ~ 20ns MUST BE HELD AT GND ~ ~ ~ XA RESETS EVERY REGISTER 200n 200ns eXCEPT THE CONTROL REGISTER. 20n, MIN. MIN 20nl MIN. MIN. MIN SQ, TBMT, EOC ARE RESET TO 5V ALL OTHER OUTPUTS CONTROL BITS MUST BE STABLE AESETTO OV FOR LAST 200ns OF CS. Fig. 10 OS Fig.9 XR PULSE Fig. 118 CS VIH~-- :SIH-~----~- JilL. V I H - ; - - - -------'-~ NP ET::1c~~~-:-J*~ NP ETC I-- 200ns MIN --1 * LEADING EDGE OF CONTROL DATA IS NOT CONTROL STROBE ANO CONTROL BITS MUST BE 500ns MINIMUM . 20na MIN. CRITICAL AS LONG AS TRAILING EDGE ANO PULSE WIDTH SPECS ARE OBSERVED. Fig.11b Fig. 12 AY-3-1015D TIMING DIAGRAMS ~~ VOl- __ TBMT -J ~1_- I~. I TYP ~ Fig. 13 EOC TURN-ON Fig. 14 TBMT TURN-OFF Fig. 15 EOC TURN-OFF ~ ~I 200 ns r; 1;- ~---- TRI-STATE MIN. OUTPUTS v'L-hd- -1---If -- L I RDI-Roa DAV OH ~ l5~. ~ TBMVT PE, FE, OR, DA,TBMT vOlL 500 ns _I TYP. MAX. ---, Fig. 16 TBMT TURN-ON Fig. 17 RDE, SWE Fig. 18 RDAV TYPICAL CHARACTERISTIC CURVES 21 2500 ~-.---r---r--"-----' 1B SH~RT bIRCJ'T OUYUT CURRENT 15 r--. NOMI~AL 1 K:12 / o 1500~-+--~~~~--~~ ~ c j 9 j 1000 f.---.j,L."L+'-':: ~ 3 WORST CASE ,~ o V OUT Fig. 19 SHORT CIRCUIT OUTPUT CURRENT (only 1 output may be shorted at a time) " o 100 200 300 COUT pF Fig. 20 RD1-RD8, PE, FE, OR, TBMT, DAV 400 500 15 +5 VOLT SUPPL ~ CURtENTI 14 .......... V WORST CASE 13 t---- i'-.. t--....... ~ 12 ....... ............ " .2 11 ........ t---- 10 r-- ....... NOMI'NALr 1'-- . . . t 10 20 30 40 50 60 70 CASE TEMPERATURE (0C) Fig.21 +5 VOLT SUPPLY CURRENT 7·9 AY-3-101S0 GENERAL INFORMATION UAR/T: Universal Asynchronous Receiver/Transmitter TRANSMITTER OPERATION I TURN POWER ON 2 PUL.SE EXTERNAL RESET 3 SELECT BAUO - 16 )( eLI': T8MT'1 Eoe -I SOoIISTOPBIT) SET CONTROL. BITS-PULSE CS Initializing Power is applied, external reset is enabled and clock pulse is applied having a frequency of 16 times the desired baud. The above conditions will set TBMT, EOC, and SO to logic "1" (line is marking). After initializing is completed, user may set control bits and data bits with control bits selection normally occurring before data bits selection. However, one may set both OS and CS simul- taneously if minimu'!!!"pulse width specifications are followed. Once Data Strobe (OS) is pulsed the TBMT signal will change from a logic "1" to a logic "0" indicating thatthe data bits holding register is filled with a previous character and is unable to receive new data bits, and transmitter shift register is transmitting pre- viously loaded data. TBMT will return to a logic "1". When transmitter shift register is empty, data bits in the holding register are immediately loaded into the transmitter shift register for transmission. The shifting of information from the holding regis- ter to the transmitter shift register will be followed by SO and EOC going to a logic "0", and TBMT will also go to a logic "1" indicating that the shifting operation is completed and that the data bits holding register is ready to accept new data. It should be remembered that one full character time is now available for loading of the next character without loss in transmission speed due to double buffering (separate data bits holding register and transmitter shift register). Data transmission is initiated with transmission of a start bit, data bits, parity bit (if desired) and stop bit(s). When the last stop bit has been on line for one bit time, EOC will go to a logic "1" indicating that new character is ready for transmission. This new character will be transmitted only if TBMT is a logic "0" as was previously discussed. YES Eoe • I SO, I NO Fig. 23 7-10 UAR/T GENERAL INFORMATION RECEIVER OPERATION I TURN POWER ON 2 PULSE EKTERNAL RESET :3 SELECT BAUD -16)( CLIO: 4 SET CONTROL BITS DAV' 0 Initializing Power is applied, external reset is enabled, and clock pulse is applied having a frequency of 16 times the desired baud. The previous conditions will set data available (DAV) to a logic "1". "s After initializing is completed, user should note that one set of control bits will be used for both receiver and transmitter making "AS individual control bit setting unnecessary. Data reception starts "-__----'""'0'< BE~NS~~~iFI~16 , when serial input signal changes from Marking (logic "1") to B-16XCLK spacing (logic "0") which initiates start bit. The start bit is valid if, after transition from logic "1" to logic "0", the Slline continues to be at logic "0", when center sampled, 8 clock pulses later. If, however, line is at a logic "1" when center sampling occurs, the start bit verification process will be reset. If the Serial Input line transitions from a logic "1" to a logic "0" (marking to spacing) when the 16x clock is in a logic "1" state, the bit time, for center sampling will begin when the clock line transitions irom a logic "1" to a logic "0" state. After verification of a genuine start bit, data bit reception, parity bit reception and stop bit(s), reception proceeds in an orderly manner. While receiving parity and stop bit(s) the receiver will compare HAS THE SELECTED NUMBER transmitted parity and stop bit(s) with control data bits (parity ' - - - - - - = : : . ' O F DA1~c~:~io BEEN and number of stop bits) previously set and indicate an error by changing the parity error flip flop and/or the framing error flip flop to a logic "1". It should be noted that if the No Parity Mode is selected the PE (parity error) will be unconditionally setto a logic "0". Once a full character is received, internal logic looks at the data available (DAV) signal to determine if data has been the read out. lithe DAV signal isat a logic "1" the receiver will assume data has '" not been read out and the over run flip flop of the status word holding register will be set 10 a logic "1". If the DAV signal is at a logiC "0" the receiver will assume that data has been read out. After DAV goes to a logic "1", the receiver shift register is now ready to acceptthe next character and has one full character time to remove the received character. TRANSFER DATA BITS FROM SHIFT REGISTER TO DATA BITS HOLDING REGISTER DAV_ I EXAMINE OUTPUTS STROBE STATUS WORD ENABLE STROBE DATA ENABLE RESET OATA AVAILABLE DAV'Q Fig. 24 7-11 UAR/T GENERAL INFORMATION ~ (.) ffi .... >- "- 0", z'" '" .oJ U "-" 00: ~ .. ",,,, ~~ " ",,,, 0: I>:t: o:r OJU <[ al' "'0- :;;V> .... oo '" or - '" '" III III III III'" III '" 2;0 CD N 01>: 0 =>~ 0<[ =>':: Z Z'" 00- Z"' 0 0 0 0 0 0 0 0 I.o---~- DATA STROBE TRANSMITTER BUFFER EMPTY SERIAL 16 X T OUTPUT CLOCK END OF CHARACTER Fig. 25 TRANSMITTER BLOCK DIAGRAM a: cr~ OJ o OJO- ..J 0: ~2; OJ Z III => ffi tw ;. <= .oJ C> wZ ~o: !'o: >- 2;0: >'" ~ _ z"'w... OJ,, .... 2;0 r"ilics '" or '" 0: 0:- CD ID N «« a:: I- « w «0: 0: ..... u .... 0 0 0 0 0 Z .. > > 0:0: .. o:=> I>: I>: 0 I>: 0 I>: I>: 0 I>: w 0" 0 ... '" 0- I-Ill TBMT F/F Fig. 26 RECEIVER BLOCK DIAGRAM 7-12 AY-5-8116/8116T AY-5-8136/8136T Dual Baud Rate Generator FEATURES PIN CONFIGURATIONS • Single +5V power supply AY-5-8116/8116T • On-chip crystal oscillator 8116/8136 or external freq input 8116/8116T/8136/8136T • Direct compatibility with UART/USRT XTAL/EXT1 XTALlEXT2 • Dual selectable 16x clock outputs • High freq. reference output (Available only on 8136/8136T) • Reprogrammable ROM allowing generation of non-standard frequencies • TTL, MaS compatibility • Pin for pin and functionally compatible with SMC's COM8116/8116T/8136/8136T STT • General Instrument Advanced N-Channel Silicon Gate Process GND DESCRIPTION NC The General Instrument AY-5-8116/8136 Series is a very versatile AY -5-8136/8136T family of Dual Buad Rate Generators. The AY-5-8116/8116T and AY-5-8136/8136T are pin for pin and functionally equivalent to SMC's COM8116/8116T/8136/8136T, respectively. XTALlEXT1 XTAL/EXT2 The AY-5-8116/8136 is designed to generate the full spectrum of 16 asynchronous/synchronous data communication frequencies for use with 16X UART/USRT devices. An on-chip crystal oscillator available on the 8116 and 8136 is capable of providing a master reference frequency. Alternatively, complimentary TTL level clock signals can be input to pins 1 and 18. The 8116T and 8136T are only suitable for this external TTL STT reference. When using TTL outputs to drive the XTAUEXT inputs, they should not be used to drive other TTL inputs due to excessive STR GND loading which may result in a reduction of noise Immunity NC fx/4 Dividers are used on the output of the oscillator/buffer which generate the output frequencies fT and fA' These dividers can divide any integer from 6 to 2 '9 +1, inclusive When using an even divisor, the output will be square; an odd divisor will cause the Externally strobed data latches are used to hold the divisor select outputto be high longer than it is low by one clock period (fx). The bits, RA-RO and TA-T o. The strobe inputs, STR or STT, allow data clock frequency (fx) is used by the 8136/8136T to provide a high to pass directly through the data latch when In the high state A frequency output (1,!4) new frequency is initiated within 35 usec of achange In any of the The 8116/8136 family allows generation of other frequencies with four divisor select bits read by the device Pull-up resistors are the use of its two divisor ROMs which contain 16 divisors, each 19 provided on the divisor select inputs while are not present on the bits wide, allowing for up to 32 different divisors on custom parts strobe Inputs PIN FUNCTIONS Pin No. Signal Function XTAUEXT1 Input is either one pin of the crystal package or one polarity of the external input 2 Vee Positive power supply - normally +5V. 3 fA This output runs at a frequency selected by the Receiver divisor select data bits. 4-7 RA. Re. Re. Ro These inputs, as shown in Table 1, select the receiver output frequency, fA 8 STR A high level input strobe loads the receiver data (R A. R B• Re, R ol into the receiver diVisor select register ThiS input may be strobed or hard-wired to a high level. 9 NC 10 NC or fx/4 NC (8116/8116T), f,!4 (8136/8136T) 11 GND Ground 12 STT A high level input strobe loads the transmitter data (TA, T B. T e. To) Into the transmitter diVisor select register This input may be strobed or hard-wired to a high level 13-16 To. T e. T e. T A These inputs, as shown in Table 1, select the transmitter output frequency, fT' 17 fT ThiS output runs at a frequency selected by the Transmitter diVisor select data bits 18 XTAUEXT2 This input is either the other pin of the crystal package or the other polarity of the external input. 7-13 AY-5-8116/8116T AY-5-8136/8136T Maximum Ratings* "Exceeding these ratings could cause permanent dam- Operating Temperature Range .......................... DoC to +70°C age to the device. This is a stress rating only and func- Storage Temperature Range ......................... -55°C to +150°C tional operation of this device at these conditions is not Positive Voltage on any Pin, with respect to ground ............... +8 OV Implied. Operating ranges are specified in Standard Negative Voltage on any Pin, with respect to ground .............. -0.3V Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Standard Conditions (unless otherwise noted): Data labeled "typical" is presented for design guidance TA =O°C to 70'C, Vcc= +5V ±5% only and is not guaranteed DC CHARACTERISTICS Characteristic Sym Min Typ Max Unit Conditions INPUT VOLTAGE LEVELS Low Level V'L - - 08 V High Level V ,H 2.0 - - V excluding XTAL inputs OUTPUT VOLTAGE LEVELS Low Level VOL - - 0.4 V IOL = 1 6mA, for f/4, - - 0.4 V IOL = 3.2mA, for fA.IT High Level VOH 35 - - V IOH=-100JiA INPUT CURRENT Low-level I'L - - -01 rnA V ,N = GND, RA-R D & TA-TDonly Input Capacitance All inputs - 5 10 pF V ,N = GND, excluding XTAL Inputs Power Supply Current Icc - - 50 rnA AC CHARACTERISTICS Characteristic Sym Min Typ Max Unit Conditions Clock Frequency f, 001 - 51 MHz XTAUEXT,50% Duty Cycle ±5'10 Strobe Pulse Width tpw 150 - DC ns Input Set-up Time t DS 200 - - ns Input Hold Time tDH 50 - - ns Strobe to new Frequency Delay - - 3.5 JiS @fx=5.0 MHz TIMING DIAGRAM tpw V,H STROBE V'L t DS DIVISOR V,H SELECT DATA V'L 7-14 AY·S·8118/8118T AY-5·8136/8136T IINsB~1 CRYSTAL OPERATION AY·S·8116/8136 EXTERNAL INPUT OPERATION AY·S·8118/8116T/8138/8136T 74XX-totem pole or open collector output (external pull-up resistor required) BLOCK DIAGRAM: AY·S·8116/8116T/8136/8136T STT>---..., REPROGRAMMABLE FREQUENCY SELECT ROM XTALlEXT1 DIVIDER +2 fT XTAL ~ CLOCK fx/4 AY-5-S1361S136T BUFFER OPTION DIVIDER +2 fA XTALlEXT2 FREQUENCY REPROGRAM MABLE DECODE FREQUENCY SELECT AND ROM CONTROL STR>-----' 7-15 IIN~M\-I AY-5·8118/8118T AY-5·8138/8138T TABLE 1 Output Freq. AY·5·8118/8118T/8138/8138T REFERENCE FREQUENCY = 5.068800MHz Divisor De.lred Desired Actual Actual Select Baud Clock Frequency Baud Frequency DCBA Rate Factor (KHz) Divisor Rate (KHz) Deviation 0000 50.00 16X 0.80000 6336 50.00 0.800000 0.0000% 0001 75.00 16X 1.20000 4224 75.00 1.200000 0.0000% 0010 110.00 16X 1.76000 2880 110.00 1.760000 0.0000% 0011 134.50 16X 2.15200 2355 134.52 2.152357 0.0166% 0100 150.00 16X 2.40000 2112 150.00 2.400000 0.0000% 0101 300.00 16X 4.80000 1056 300.00 4.800000 0.0000% 0110 600.00 16X 9.60000 528 600.00 9.600000 0.0000% 0111 1200.00 16X 19.20000 264 1200.00 19.200000 0.0000% 1000 1800.00 16X 28.80000 176 1800.00 28.800000 0.0000% 1001 2000.00 16X 32.00000 158 2005.06 32.081013 0.2532% 1010 2400.00 16X 38.40000 132 2400.00 38.400000 0.0000% 1011 3600.00 16X 57.60000 88 3600.00 57.600000 0.0000% 1100 4800.00 16X 76.80000 66 4800.00 76.800000 0.0000% 1101 7200.00 16X 115.20000 44 7200.00 115.200000 0.0000% 1110 9600.00 16X 153.60000 33 9600.00 153.600000 0.0000% 1111 19200.00 16X 307.20000 16 19800.00 316.800000 3.1250% Output Freq. AY·5·8118/8118T/8138/8136T·OO5 REFERENCE FREQUENCY = 4.915200MHz Divisor Desired Desired Actual Actual Select Baud Clock Frequency Baud Frequency DCBA Rate Faclor (KHz) Divisor Rate (KHz) Deviation 0000 50.00 16X 0.80000 6144 50.00 0.800000 0.0000% 0001 75.00 16X 1.20000 4096 75.00 1.200000 0.0000% 0010 110.00 16X 1.76000 2793 109.93 1.758983 0.0100% 0011 134.50 16X 2.15200 2284 134.50 2.152000 0.0000% 0100 150.00 16X 2.40000 2048 150.00 2.400000 0.0000% 0101 300.00 16X 4.80000 1024 300.00 4.800000 0.0000% 0110 600.00 16X 9.60000 512 600.00 9600000 0.0000% 0111 1200.00 16X 19.20000 256 1200.00 19.200000 0.0000% 1000 1800.00 16X 28.80000 171 1796.49 28.743859 0.1949% 1001 2000.00 16X 32.00000 154 1994.81 31.916883 0.2597% 1010 2400.00 16X 38.40000 128 2400.00 32.000000 0.0000% 1011 3600.00 16X 57.60000 85 3614.11 57.825882 0.3921% 1100 4800.00 16X 76.80000 64 4800.00 76.800000 0.0000% 1101 7200.00 16X 115.20000 43 7144.19 114.306976 07751% 1110 9600.00 16X 153.60000 32 9600.00 153.600000 0.0000% 1111 19200.00 16X 307.20000 16 19200.00 307.200000 0.0000% 7-16 GENERAL INSTRUMENT Clocks . l"AlIIT PAGf . . -f J- I I DETECTOA I I I RAD[) ONI D5 t'N'14B Dst",14B I WAKE ~/! I I - - - - h=RDM-RADiO - -- SLEEP DETECTI:f( -RADIO SWiTCHING I RADIO SWITOHING I I I - !,8~DI!!'N~ I I I RADIO VIJ..U~E CONTROL I AV4 I I I l i 07 41~ I I MAIN FOWER N I I I , I I f A" e.7K {]A' AUTO .. I.l h TO AUool AM"'" VP.l ~ I 5~ ~ ~- I~- Ale j-- S~VlLI 'm" SlEEP I I L ,---- AB 1M I I POWER BlAB ON ~" ~ WAKE 1 V I DII SET TIME I I WAKE 21 NOTE. I ~ INRlT ruTPUT 0 OPTION ~ AUDIO IN"'B J I ~SLEEP WAKE TO []LJET RADIO WITH I AMPUREA .'" WAKE 2 AlARM AT 5 I I I Dl2 lN4148 J SET ALARM ALARt.4 SE..!L I WAKE I SET TIME ,- pS. 2UF 09 SEE NOTE I r- "'I I" TONE FEEl]BAGK " I VP-L I SET ALARM AS I Dla INO HRS I I lN4148 I IN"'B J I ALARM SET E~I 1~21K A6 071 I J Dl3 1"'148 J INO !.iNS I I ~INC HRS/SIN INO .",,(SClBR) ElI/SD/SR I Dr . JJ 13," ,,:h, 1533PF 0 I A7 C~t~:PF d' SVSCIBRI - - - - - _I •• L - - - _IflS_ -~ - - - - - - - - _I r<:. SNOOZE!9lEEP 100K 151UIPF Fig. 21 (b) TYPICAL "BASIC" CLOCK RADIO CIRCUITRY 7-27 IN~ CK3300 ,,------ -------------------------- ----_.. --.. --- , , i " _B os LIE .... , IN4M8 : . I De I II D4 ':;~ .v~ ...., ~~ IN4MB 4711" 1M lN4148 mK , I ,.UF CI! :~Re 1SIK ~N4MB n= I 01 1BV - +r-- I RS eeK D8 1I1Y r- , 1M! BIlK RAllO I D4~ BATTERY POWBA I r- os: eellPF BlFPlY -r----, , VII I ,., i "a" v I ""., 01<11881 POWBA BU'PlY MaFAlE WrTH BTANlBY OPTIl< ~ ~~ t :r L-Jr---~~--'l_C&------=:,,,,~, t ~ r , ! ... ~ WIlKE!1 -+t+-, LINE "Vll.T AD I .. l ' 478< : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- -- -- - --' :________________________, I~~~~~L--~----- I i ,- ---------Airiie'l- - ANIIE-' --- ..... B VIlT AD I De 1N4IB ANlDE , ,,, ,, I - .=.- ,,I 1'2:J=Sg'l ....... ,, I-=- :~ I os , 011 , • Tn • ,I,1m, 7;;, ... ,'''''' IIIERBN OKSSaa . e~ ,-- ! " i i,. ,, I . "•" RB~ I I I :I - I ,,," , , AUT[J,tATIO BFDfTNESS CONTRa. I , 1__ - _____________________ _ , I OHIP/DiSPLAY ~ : MODULE ,,I 1_ _ _ _ _ _ - - - - - - - - - - - - - - _ _ _ _ _ _ FIg. 22(8) TYPICAL "FULL-FEATURE" CLOCK RADIO CIRCUITRY 7-28 CK3300 - - - - - - -- --, ",,",POWER, ~PDW~: AlB If!K - A19 .,.. RADIlIlN' ---;;:z,N4148 ~----------~-----------------r+++r~ ~®J CJ>I- HIGH II it I OUTPUT I~ I ON - - - - _400 0 av a" I .. I ~ hTE~RE +400 0 HYSTERESIS---+-! HYSTERESIS - SET I- POINT Fig. 6 SET POINT HYSTERESIS 7-37 AY-3-1270 MEASUREMENT AND READ CYCLE In order to compensate for offsets in the comparators, a digital autozero cycle operates on every other measurement cycle Fig. 7 shows the internal ramp and comparator waveform. MEASURE~~--------~~~~------~---- REF VOLTS I--+----....!,.--......--------/---+---- COMPARATOR INT CIRCUIT { CD I SIGNALS COMPARATOR ® I I I ~ AUTO ZERO MEASUREMENT CYCLES CYCLE Fig. 7 TYPICAL MEASUREMENT/READ CYCLE SYSTEM DIAGRAM Fig 8 shows a block schematic of the AY-3-1270 circuit RAMP COMP COMP TIMER osc osc osc liP I/P2 I/P1 INPUT O/P1 0/P2 liP BACKPLATE Vss Vee (REF) 16 15 10 13 12 11 20 19 " AUTO ZERO HYST STROBE TENS STROBE UNITS STROBE TENTHS STROBE 2' 2' 2' 2' 17 18 21 40 CONTROL CONTROL DISPLAY OUTPUTS O/P2 O/P1 (PINS 21-40) Fig. 8 TEMPERATURE CONTROLLER SYSTEM DIAGRAM 7-38 AY-3-1270 ELECTRICAL CHARACTERISTICS Maximum Ratlngs* * Exceeding these ratings could cause permanent dam- age to the device. This is a stress rating only and func- Voltage on any Pin with Respectto Vss •••••••••••••••••• -0.3 to +18 tional operation of this device at these conditions is not Storage Temperature Range ••••••••••••••••••••• -65°C to +150° C implied-operating ranges are specified in Standard Ambient Operating Temperature Range ••••••••••••• -25°C to +70°C Maximum Power Dissipation at 70°C •••••••••••••••••••••• 800mW Conditions. Exposure to absolute maximum rating con- Maximum Segment Output Current (LED Mode) ••••••••••••••• 20m A ditions for extended periods may affect device reliability. Maximum Switch Output Current •••••••••••••••••••••••••• 30mA Data labeled "typical" is presented for design guidance, Maximum Total Output Current • • • • • • • • • • • • • • • • • • • • • • • • •• 250mA only and is not guaranteed. Standard Conditions (unless otherwise stated): Vss=OV Vcc= (7.2Vto 10.8V) Tamb = -25° C to +70° C, positive logic convention Characteristics Min Typ Max Units Conditions Segment, DP, Sign Outputs LED mode On resistance - - 120 0 Va"' = +1.5V I"nk = 12.5mA On resistance E3 - - 60 0 V O"' = +1.5V I"nk = 2SmA On resistance DP - - 40 0 Va"' = +1.5V I"nk = 37.5mA On resistance (A3, B3, 03, G3) - - 30 0 Va"' = +1.5V I"nk = 50mA Segment, DP, Sign Outputs LCD mode Logic '0' output - - 400 mV Load = 50pF + 1M Ohm to Logic '1' output Vcc 400 - - mV E3 load = 100pF + SOOK DP load = 150pF + 330K A3, B3, 03, G3 load = 200pF + 250K Backplate load = 1000pF + 50K Rise time - - - - Under specified load conditions Fall time - - - - Under specified load conditions Frequency - 68 - Hz Clock (560kHz) Control Outputs On resistance - - 75 0 Va"' = +1.5V I"nk = 20mA Off leakage - - 10 fJA Va"' = +15 Volts Strobe Outputs On resistance - - 400 0 Va"' = +1V I"nk = 2.5mA Off leakage - - 10 fJA Vout = Vee Frequency - - - - 2 x reading rate Pulse width - 286 - fJS Clock frequency = 560kHz Set Point Inputs Logic '0' level Vss - 2 V Logic '1' level 6 - Vcc V Pull up resistance 20 - 100 KO to Vee V,n =Vss Comparator Inputs Leakage current - - 1 fJA Von = Vcc Resolution 5 - - mV Common Mode Range 0.1 - V cc-3V V Impedance between either input and ramp input 1 - - MO Clock frequency = 560kHz Ramp Input Discharge resistance - - 100 0 Va"' = +1V I"nk = 10mA See note 1 Leakage current - - 1 fJA Vm = Vee Timer Input Flash Threshold o 5Voc - 0.7V oc V Reset Threshold - - 6 V Pull up resistance 500 - 2500 KO to Vcc (Von = V ss ) Pull down resistance 50 - 250 KO to Vss (V,n = Vccl Open circuit input voltage (Vocl 2 2.6 3.5 V Clock Frequency 300 - 800 kHz Gain to output 1 (A 1) 3 - - - small signal open loop Gain to output 2 (A2) 3 - - - AC gain, F = 560kHz Input capacitance - - 12 pF Count frequency - 6.25 - kHz Clock (560kHz) + 32 see note 2 Flash rate, Overrange and Power Fall - 1 - Hz Clock (560kHz) + 158048 Supply current - 25 - mA Vcc = 9V, Tamb = 25°C - - 45 mA Vcc= 11V, Tamb = - 25°C NOTES 1 Minimum resistance to Vee = 1Kn Maximum capacitance to Vss = 10fJI. 2. Reading is measurement time divided by Count Frequency period Measurement time depends on both the voltage difference at the Comparator tnputs and ramp speed at pin 16. 7-39 AY·3·1270 1 FND 567 x 4 --- ~ Et B 19 x 56on , 150 n > > ~.~ , >'~ .~ , >.;> , ~ > > ~. >, ~.~ ~ >.> .> : .. 40 39 38 37 38 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 AY-3-1270 1 2 3 4 5 6 7 8 9 10 13 14 15 16 17 18 19 201 1..: 2 33r" .... CONTROL pF ~ ~CONTROL ~ ~ ~r1"2OK '-- ~~ "-- '-- ~ - ~ ~ ~. RESET W -'" +9V DIODES IN4148 10K Z~~TO '?' J yll~~ THERM ~ : 47K • S. 500K SET 33K > -ISTOR ;> FULL SCALE _....lOp ..-- '-- '-- .......- SOR T -r- 022p~,- 47K~ 47K • I~ THERMISTOR MULLARD 640-90003 T ov Fig. 9 THERMOMETER WITH LEAD DISPLAY 7-40 GENERAL INSfRUM ENT Remote Control 7-41 AY-3-8470 256 Command Infrared Remote Control Transmitter FEATURES PIN CONFIGURATION • 256 Commands (possibly 32 com mands by 3 bit address) 22 PIN DUAL IN LINE • Low Standby current (<20pA) • Low duty cycle « 8%) • 6/9 Volt battery operatIon • Simple RC defined on chip OSCIllator • 22 pin DIL package TopVtew • Single shot or continuous operation V,, Keyboard Input 2 • Transmission format ensuring error free reception Keyboard Inpul3 2 Keyboard Input 1 Keyboard Input4 3 Transmitter 'actIVe' Output 4 Single ShoVContinuous DESCRIPTION Keyboard Strobe 8 Transmitter Output The AY-3-8470 transmitter together with AY-3-8475 receiver, an Keyboard Strobe 7 Keyboard Strobe 6 7 infrared link and an amplifIer, forms a complete remote control Keyboard Strobe 5 system Control of standard functions of radios and televisions is Keyboard Strobe 4 possible together WIth TV games, Teletext and VIewdata ap- Keyboard Strobe 3 plications Keyboard Strobe 2 Keyboard Strobe 1 '-------' Complementary MOS technology for th IS device allows low voltage battery operatIon WIth a very low standby current. 256 output commands are possIble whIch can be simply actIvated by a standard 8 x 4 keypad together with 3 shift mputs. A non critical, sImple RC oscIllator is used to fix the transmItter frequency BLOCK DIAGRAM ___1_'00_ _ TRANSMITTSR 'ACTIVE" I INPUTS KEYBOARO{:, 3 21~~==~=;::jt:=~_~'N~'U:T=-J DETECTION 1-----.,/ I I I t-_-ir-;4OkH~ I SINGLE SHOT INPUT SINGLE/CON INPUT KeYBOARD OUTPUT ENCODER , { L -------------;-J:~ TRANS~ITTER OUTPUT '~8~ ___ ~"r ___ ~'/ KEYBOARD STROBe OUTPUTS 7-42 AY-3-8470 ELECTRICAL CHARACTERISTICS Maximum Ratings· * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to Vss • • • • • • • • • • • • • • •• -0.3 to +12V age to the device. This is a stress rating only and func- Ambient Operating Temperature •••••••••••••••••••••• O· C to 70· C tional operation of this device at these conditions is not Storage Temperature ••••••••••••••••••••••••••• -as. C to +150· C implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated) ditions for extended periods may affect device reliability. Data labeled "typical" is presented for design guidance Vss=OVolts only and is not guaranteed. Voo = +5 5 to +10 Volts Temperature = O· C to 70· C Characteristic Sym Min Typ Max Unite Conditions Clock Frequency (16) Fc 60 80 100 kHz Voo = 5.5 to 10.0 V, T = 25· C Cc and Rc at typical values and Cc Rc tolerance ±5% Resistor to Voo Rc 12 39 100 KCl Capacitor to Vss Cc - 220 - pF leakage to Vss - - - 2 pA Clock "OFF" in 'standby' and V.ut = Voo = 10 0 Volts Shift (13, 14, 15), Keyboard (2, 3, 21, 22) and Single Shot (19, 20) Input Thresholds low level V,L Vss - 1.5 V Voo=5 5 Volts V,L Vss - 25 V Voo = 10.0 Volts High level V,H Voo-1 5 - Voo V Voo= 5 5 Volts V,H Voo-25 - Voo V Voo = 10.0 Volts Pull Up to VDD low level Source I.L - - SO pA V,N = 1.S Volts, Voo = 5.5 Volts I.L - - 200 pA V,N = 2.5 Volts, Voo = 10 0 Volts High level - Voo -1.S - - V IIH = 2pA source Transmitter Output (18) low level VOL - - 05 V IOL = 75pA Sink High level VOH Voo-0.5 - - V IOH = 1.0mA source Keyboard Strobe Outputs (5-12) low level VOL - - 05 V IOL = 1S0pA sink, Voo = 5.S Volts VOL - - 15 V IoL =600pA Sink, Voo= 10.00 Volts Off leakage to Vss - - - 20 pA VOUT = Voo = 10.0 Volts Transmitter 'Active' 0 utput (4) low level VOL - - 15 V IOL = 1 5mA sink Off Leakage to Vss - - - 2 pA VOUT = Voo = 10 0 Volts Single Shot (20), Single Shot/Continuous (19) Inputs Standby Pull Down to Vss VOL - - 05 V IOL = 10llA sink Supply Current Voo (1) 100 - 1 3 mA Voo = 10 0 Volts Standby Current Voo (1) 100 - 5 20 IIA Voo = 90 Volts, T= 2S· C NOTES 1 Pull Ups are configured With Enhancement FET's 2 Current from the deVice IS defined as 'source' current, current Into the device IS 'Sink' current 88 88 "" Rc= 36K Rc= 36K C c = 220pF C c = 220pF 84 ~ 84 CLOCK (kHz) ~ CLOCK (kHz) ..... f'... r-....... 80 76 S 6 7 8 '" ~ 9 ~ 10 80 76 o 20 ........ 40 ""'-- - 60 Vdd (VOLTS) AMBIENT TEMP (·C) TYPICAL CLOCK VERSUS V dd@ 25·C TYPICAL CLOCK VERSUS TEMPERATURE FOR Vdd= 9 VOLTS 7-43 AY-3-8470 PIN FUNCTIONS Pin No. Name Function Voo Positive Supply 5.5 to 10 0 Volts 2 Keyboard Input 3 Together with Pins 21,22, these are the 4 keyboard inputs which under normal 3 Keyboard Input 4 operations may only go active low one at a time 4 Transmitter 'active' output Output goes low during a cycle in which a transmission is output 5 Keyboard O/P 8 6 Keyboard O/P 7 7 Keyboard O/P 6 8 9 10 11 12 Keyboard O/P 5 Keyboard O/P 4 Keyboard O/P 3 Keyboard O/P 2 Keyboard O/P 1 ) The 8 Keyboard Outputs are active low which strobe the Keyboard every transmission cycle (i e every 102 4ms for 80kHz clock) (See Fig. 1 ) The outputs are open drain. 13 Shlfl3 } The Shift inputs correspond directly to the 3ms Bits olthe output word. Tnese inputs 14 Shift 2 are active low. 15 Shift 1 16 Clock Input Connect a resistor to Voo and a capacitor to Vss to determine the clock frequency 17 Vss Connect to 0 Volts 18 Transmitter Output Tnls output IS In the form of a high going pulse stream at half clock rate modulated by the output code (See Fig. 1) 19 SinglelContinuous Select With this Input low, Pin 19 high, and Shift 3 low, single shot is selected 20 Single Shot liP Connection low puts chip into single shot mode for all commands 21 Keyboard Input 1 22 Keyboard Input 2 OPERATION Standby Standby mode IS entered when power IS applied to the chip In this Each '0' bit IS compnsed of 32 pulses and each '1' blt48 pulses The mode the 'clock' IS inhibited, 'pull ups' are inaclive (except Key- complete command consists of 16 bursts of 32 or 48 pulses The board Inputs), and all the Keyboard outputs are low (active) pulses have a nominal penod of 2511S (I e 40kHz repetition rate) Any key depreSSion will now be Immediately recognized, the chip A burst takes 1.6ms and 16 bursts 25 6ms. Dunng the 76 8ms the will come out of standby and the 'all Keyboard outputs active' transmitter IS inactive condition will be removed Keyboard outputs now strobe the keyboard and detect which key Output Code Derivation -'the 8 bit word' is depressed At the end of a complete keyboard scan the relevant Figure 2 identifies the binary output codes associated with the output IS transmitted Keyboard scans continue and the relevant 'basic' keyboard matrix outputs transmitted, until a full keyboard scan occurs detecting Binary codes can be expanded up to 255 by means of the shift no key depression, the chip then reverts to standby Inputs The table Figure 3 shows the states of these Inputs for relevant output codes Invalid Inputs Invalid inputs occur due to multiple key depreSSions, they are' Single Shot Operation (a) More than one Keyboard Input active dUring a smgle key- In this mode the code is transmitted only once after a key 'ON' is board output strobe time detected The key must now be released, the chip enters standby (b) More than one keyboard Input active dunng different key- mode and IS then ready for a further key depression. Commands board output strobe times within a 'full' keyboard scan can be entered up to a rate of 5 per second The above Inputs are rejected as invalid and no output code IS trans- An application for this mode of operation would be for transmitting mitted although the chip remains active scanning the keyboard until It· page numbers for the General Instrument Teleview System. (a) receives a valid Input which can be transmitted or The follOWing table Fig. 4 shows the SingleShot modes of operation (b) It detects no keys pressed and reverts to standby Keyboard Implementations Output Code Figure 5 shows how diodes can be employed to expand the basic Figure 1 shows a tYPical output code sequence and the relevant 8 x 4 matnx to 128 keys The further Shift input expands the matrix strobe timings to 256 commands The output code takes the form of an 8 bit word followed by Its Figure 6 shows how a simple 8 way switch can be used to enable Inverse so ensunng a 'secure' Infrared link The Infrared receiver 256 commands from the basic 8 x 4 matrix being able to distinguish this 'data' from spunous Inputs An example of the data IS shown below Note the L S Bit IS trans- Transmitter mitted first The cirCUit of Figure 6, employs 3 transmitting diodes pulsed at egO 0 1 o 1 0 0 100101 approximately 300mA, giving a range of up to 20 meters Average LSB LSB battery current for transmission IS around 20mA with a standby INVERSE TRUE current of only 20I1A. 7-44 AY·3·8470 :-.-I'-28m-S---'024mS---------t·1 ----i,ul---------;u 141 KEYBOARD STROBE OUTPUT 8 I KEYBOARD STROBE OUTPUT 7 U iLJ I LJ KEYBOARD STROBE OUTPUT 1 , , LJ I I TRANSMITTER ACTIVE OUTPUT ! - - i_ - - : - -_ _ _ _ -1-...1[,... f.--256ms----I.1-.- - - 7 6 6 m . I rrrnm. ___-_-- • TRANSMITTER OUTPUT _-i'TrrJ IIIITTTTT"IIIIIITlT'I"TTiIlIIII '6mS-1~s-i - o 40kHz BURST 5 BITS OF TVPICAL OUTPUT WORD 1.-'6m•• r;g DO 0 [ WOBm.!..-I-oBm. 1• • 1,1 • • 1 o '1 12ms 0 Fig. 1 OUTPUT TIMING WITH TYPICAL OUTPUT WORD 24 16" 8 0 12 KB STROBE O/P 1 Shill Input 3 Shill Input 2 Shift Input1 25 17 9 1 11 KB STROBE O/P 2 (13) (14) (15) Output Codes H H H Ot031 H H L 32 to 63 26 18 10 2 10 KB STROBE O/P 3 H L H 64 to 95 H L L 96 to 127 L H H 128 to 159 27 19 11 3 9 KB STROBE O/P 4 L H L 160to 191 L L H 192 to 223 L L L 224 to 255 28 20 12 4 8 KB STROBE O/P 5 H signifies High Level L signifies Low Level 29 21 13 5 7 KB STROBE O/P 6 Fig.3 SIGNIFICANCE OF SHIFT INPUTS 30 22 14 6 6 KB STROBE O/P 7 I 31 23 15 7 5 KB STROBE O/P 8 Single Shot Single Shot! Input (20) Continuous (19) Mode 21 KBIIP 1 H H Continuous on all '--- Codes. L 'Don't care' Single Shot on all 22 KBIIP 2 Codes. H L Codes 0 to 127 continuous. 2 KBI/P 3 Codes 128 to 255 Single shot 3 KBIIP 4 NOTE: During Standby Single Shot Input (20) and Single Shot! Continuous Input (19) are pulled low internally DeCimal eqUivalent of binary output code for contact closure at X Fig. 2 MATRIX FORMAT Fig.4 SINGLE SHOT MODES OF OPERATION 7-45 AY-3-8470 Code Allocations Receiver Functions Receiver Functions Transmitted Code * (Using the AY-3-847S) Transmitted Code* (Using the AY-3-847S) o Program 1 17 Volume Decrease Program 2 18 Color Increase 2 Program 3 19 Color Decrease 3 Program 4 20 Brightness Increase 4 Program 5 21 Brightness Decrease 5 Program 6 22 Spare Increase 6 Program 7 23 Spare Decrease V Program 8 24 Normalize 8 Program 9 25 Mute 9 Program 10 26 ON/OFF to OFF 10 Program 11 27 Spare 1 On 11 Program 12 28 Spare 1 Off 12 Program 13 29 Spare 1 Toggle 13 Program 14 30 Spare20n 14 Program 15 31 Spare 2 Off 15 Program 16 32-47 Program 17-32 16 Volume Increase 48-255 Spare * Deci mal eqUivalent of 8 bit binary word listed for convenience CLOSE SWITCH FOR COMMANDS 128 TO 255 ~o>----- SHIFT 3 SHIFT 2 ~4700PF ~r ~ IF ~ IF ~ ~ r ~ r ~ IF ~ r ~r ~ ~4700'F 96 U~ , ., IF ~ ~, ~ , ," ~ 32 ,----l I o I , " I I , I I 3 I I , I I 5 KBOJPs I I 6 I I , I I 8 '" 95 63 L' - - - ~ ~~ , , ~ ~Il' ' It> ~ A~ ~Il' ~ A", '''' '" '''' Fig. 5 USE OF DIODES TO EXPAND KEYBOARD TO 128 COMMANDS 7-46 0Y&0yIOYb0Yer- r--1~~--------------------------~~-------=1~ ?_ '1- y_ Y lipro 0y1 0yb 0yr r 0;'1~ o>---+-I+-+1-+1- - , ~ ~ , l 'OOn SW2 ~O' 3n n2 ~~02 R2 39K ~'I./03 0' 102 ~~ ~~~ .-- Gyb 0Y ey eyer- ....L ?- ?- ?- ? 06 r r 0yr----+1+1-HI1f+1-+-11-+1• 03 01,02,03 2N3904 AEG TFK COV99 08~ \;~ ~ 04 LEO RED IJiiI.I 09 7 2 t. "-1 ~ 05-014 IN914 SWl SP aWAY 0'0 T 0 f~ SW2 $P 3 WAY ., r .... l 0'3 - ..... 1 0Yb 0y eY!0yer- 014 I[~ IJiiI.I ~ I ,1f ~1f e>{1: 0~1~ IIII ~.OTRANS.'~ I' . DATA COMMUNICATIONS AY-3-8475 256 Command Infrared Remote Control Receiver FEATURES • 256 Commands PIN CONFIGURATION • Latched program number outputs • 32 Programs • 4 Analog Channels-62 step TopVlew • ON/OFF facility Vss(Ovotts) AUXIliary Output 2 • Normalize command on analog functions (except volume) AUXIliary Output 1 • 2 AUXIliary ON/OFF outputs (one with toggle facility) Analog Output 1 (Volume) 3 Local Command Strobe Input • Local control of all 256 commands Analog Output 2 (Color) ON/OFF Input/Output Analog Output 3 (Breghtness) Signal Input • CPU Databus Interface Analog Output4 (Spare) 6 Input/Output H • Direct Interface with General Instrument Teleview System 24 Program No Output 7 Input/Output G • Direct Interface with Economega TV and Radio TUning Systems t' Program No Output Input/Output F • Command fully error checked ensuring secure link 'jJ- Program No Output Input/Output E Program No Strobe 110 Data Available DESCRIPTION Voo (+12 Volts) Digital Data Control Input 2' Program No Output Input/Output 0 The AY-3-8475 receiver together with the AY-3-8470 transmitter ~Program No Output Input/Output C forms a complete 256 command infrared remote control system InpuVOutputA Input/Output B '------' Applications Include both radiOS and teleVISion. Control of normal TV functions is possible together with Teletext/Viewdata. Direct Interface IS pOSSible With the Economega electronic tUning systems. OPERATION For a remote mute command the command is repeated every lOOms All operations, repetition rates, set-up times and resolutions are as long as the transmitter remains active. Only one mute command related to the "Clock" Frequency of 2 5MHz unless otherwise stated. IS actloned The transmitter must cease transmitting for at least 05 secs before a further mute command can be received, to tog- Power On gle the function. When power is apphed to the chip a power on reset is generated and outputs are as follows NOTE. power on to reset delay about Signal Input 3/ls Figure 1 shows a typical command Input from the IR Transmitter (a) Program Number Outputs set to 1 (00000) and Program No A Vahd Input takes the form of an 8 'bit' word followed by its Inverse Strobe goes low for approximately 50ms. The L S Bit 'arrives' first (b) Analog outputs setto a mark space ratio of 32 31 (c) ON/OFF I/O set to OFF e g. INVERSE TRUE (d) AUXIliary Outputs set to OFF 00110100 1 0 0 1 0 1 1 (e) Data Available set low. LSB LSB (f) Input/Outputs A-H set low Note this data will only be pre- Each '0' bit is compnsed of 32 pulses .and each '1' bit of 48 pulses sented to the output pinS under control of the Digital Data The complete command therefore consists of 16 bursts of32 or48 Control input. pulses. The pulses have a nominal period of 25pS (i e 40kHz repe- Any program command or a local ON command will turn on the tition rate) A burst takes 1.6ms and 16 bursts 25.6ms. During the ON/OFF output It will remain on until an 'OFF' command IS remaining 76 8ms the transmitter is Inactive received. The receiver Will decode input frequencies in the range 30kHz to Normalization 50kHz for ItS specified operating range of Clock Frequencies The The Normalize command sets analog outputs 2, 3 and 4 (color, mark space ratio of the Input waveform is not cntical, however the bnghtness and Spare), to a mark space ratio of 3231 Analog Out- mark or space interval should be at least 2/ls. put 1 (Volume) IS not affected by the normalize command. The receiver has an error margin of ±8 pulses in each burst i.e. a '0' Will be decoded If 25-40 pulses are received and a '1' Will be Muting decoded if41-56 pulses are received. Analog Output 1 (Volume) is set low when a mute command IS The receiver 'looks for' a valid data bit I.e. a burst of pulses. The received. It IS returned to Its previous mark space ratio by· decoder synchronizes to this valid data bit and then looks for (a) A further mute command further 'bits' and inter-bit 'gaps'. If a sequence of an 8 bit word (b) Recl!iptlon of any program command occurs, followed by ItS inverse then this IS decoded as a command. (c) SWitching on the ON/OFF output Any erroneous bits or their Inverses cause the decoder to reset (d) Reception of either the Volume Increase, or Volume de- and await resynchronization crease commands Command data outputs A-H correspond directly to the 8 'bit' word. 7-48 v..... av VI'I 12V & lOBr SIGNAL I P DOC ItP 1 11 24 16 19 ~~!~ABLE 14 15 L-....I LOC".L COMMAND Y ST~~gi) I p 26 r ,1,- J, JI T J/ J, J, J, 11=1 i-\...J16 17 > COMMAND LATCH 110 I/O CONTROL 20 AUX 0 P 2 28 lOGIC 21 AUXO,Pl 27 2' ON~OFF VD 25 TEST lOGIC 23 ~ CLOCK 2 I " I I I . 1.0 do ..... VI 10 ~~~g8~OVO " 6 SPARE 5 BRIGHTNESS ---v--- 4 COLOUR 3 VOLUME / 13 " 12 ~ PROG NO OUTPUTS 7 / ~ ~ ~ ANALOGUE OUTPUTS .... BLOCK DIAGRAM ~ DATA COMMUNICATIONS IIN~~I AY-3-8475 ~I"~I-- ____________ ONE CO~;2L~~; COMMAND UP ------------a..~1 I ~ 256 msec - - -....-+1....~---------768 msec - - - - - - - - - - I..~~ ~ 16 BITS 1 - - ' 6 m S - + - ' 6ms-..j 08ms ~~2ms~ 04ms-1 ...;.-1....---1...*1 08ms 111--. ._--1... ... 32 PULSES 48 PULSES ~ ~~L-~~~~~~~~~~ ~~~ _ _ ~ ________ _ -L~~ ALL PULSES ARE 40kHz TYP 1 1 1 1 I Fig. 1 EXAMPLE INPUT FORMAT COMMAND DECODING Transmitted code and Transmitted code and Output code (A-H) * Receiver Functions Output code (A-H)* Receiver Functions 0 Program 1 25 Mute 1 Program 2 26 ON/OFF to OFF 2 Program 3 27 Spare 1 On 3 Program 4 28 Spare 1 Off 4 Program 5 29 Spare 1 Toggle 5 Program 6 30 Spare 2 On 6 Program 7 31 Spare 2 Off 7 Program 8 32 Program 17 8 Program 9 33 Program 18 9 Program 10 34 Program 19 10 Program 11 35 Program 20 11 Program 12 36 Program 21 12 Program 13 37 Program 22 13 Program 14 38 Program 23 14 Program 15 39 Program 24 15 Program 16 40 Program 25 16 Volume Increase 41 Program 26 17 Volume Decrease 42 Program 27 18 Color Increase 43 Program 28 19 Color Decrease 44 Program 29 20 Brightness Increase 45 Program 30 21 Brightness Decrease 46 Program 31 22 Spare Increase 47 Program 32 23 Spare Decrease 48-255 Spare 24 Normalize * Decimal equivalent of 8 bit binary word is listed for convenience. Analog Outputs Command 'Outputs' appear approximately 120l1s after the last bit The Analog outputs are van able mark space ratio outputs at a fre- of the 16 bit word has been input to the receiver Analog commands quency 01 typically 20kHz. The mark space ratio defines the may be up to a maximum of 180l1s For the case of local commands analog level and can be varied from 1 :62 to 62:1. Power on reset the outputs appear approxImately 1611S after the 20ms debounce sets the outputs to mark space of 32.31 Analog outputs 2 to 4 can strobe. Analog commands may be up to a maximum of 70l1s. also be set to 32:31 with the Normalize command Analog output 1 (Volume) can be muted. Remote commands cause analog channels to increment or decre- ment at the transmitter repetition rate. For local commands the rate WIll be approximately ten steps per second. 7-50 AY-3-8475 Voo 12VQLT$±10% 15K .... :;:,.7K V" AUX 2 1 28 CLOCK 2 27 AUX 1 ANALOG 1 LCSIIP 3 26 ANALOG 2 ANALOG 3 • 25 ON/OFF 110 SIGNAL liP 5 2. ANALOG 4 I/O H 6 23 PROG 2' lIO G 7 22 AMP PROG 2' AY-3-8475 1I0F 8 21 47pF: : : PROG 22 lIO E 9 20 PROG NO STROBE DATA AVAILABLE 10 19 V" DOC IIP 11 18 PROG 21 lIC D 12 17 PAOG 2° ff()C 13 '0 I/O A 1/011 '4 1!1 I,~eo", VII't 0 VOLTS y 0 1 1" Fig. 7 BASIC SYSTEM SCHEMATIC A1 A2 22K + 150 C2 C1 1jects bY oontrolling a ball In AY-3-8I05 H5 the play area. SHOOTING ~AL\.ElW Twelve 118- for one or two playera u.l(lg external photocefl rifles for shooting. AV-3.ae07 .... SUPERSPORT Tan ..leelable games for one or two plllyers. wllh verrloal and horizontal Av-3-49lO paddle morlon. 8·70 MOTORCYCle One pI\lyer CYcle gama wlIh variable eklll.aelectlon. Av~ ..n ..1 9-2 GENERAL INSf RUM ENT Video Display <, ~ DESCRIPTION PART PAGE NUMBER NUMBER TELEVIEW 9-4 Syatem The Te(&villw $yst"", 1$ a powerl~1 ayatem to display information on a TV re<:etver. PlC16IlOA 8-9 .TElEVI~ SYSTEM. It can stor$ data fro·m either IIIlephone linea or TV I\F signal information. PlC16s0.536 t-15 AY·3-9710 948 A'i'"3-9735 9-33 9-3 TELEVIEW System GENERAL INFORMATION INTRODUCTION TELEVIEW FEATURES Teletext and Viewdata are the generic names for two basically • SWltchable Viewdata - Teletext, 625 line system with 24 rows similar systems for displaying pages of information on a TV of 40 characters screen • Up to 8 page stores Teletext (otherwise known as Ceefax, Oracle, Videotext). • Microcomputer controlled, gives system flexibility • Data bus organization for easy system expansion In the Teletext system the data is coded onto normally unused lines of a television transmiSSion It has the following features. • On/Off hours operation • Don't care digit feature in Teletext (a) Being a broadcast system, the data flow can beone way only. • Half page expansion feature 'Pages' of data are sent continuously, on a rotating basis. The • Black/White output for Monochrome TV and Printers decoder will grab the required page as it passes. • Special GraphiCS feature for high resolution (b) The number of spare TV lines is limited. For a reasonable • Boxed clock capability in Teletext access time the data bank is restricted to 100-800 pages per • Selectable character rounding channel. • Simple printed board layout (c) Being broadcast the data may be 'live', it may update very • 4 x 4, ASCII, REMOTE Keyboard options rapidly and everyone receives the data simultaneously. Sub- • Low power consumption tYPically +12V at titles and newsflashes are good examples of live data. +12V at 100mA } Viewdata (otherwise known as Prestel, Blldschirmtext) + 5V at 400mA for a single page store - 5Vat 10mA In the Viewdata system the decoder IS connected to the users telephone line and uses the public telephone network in order to transmit Information to and from a computerized data bank It has SYSTEM DESCRIPTION the following features. The system consists of four basic blocks. (a) There is a direct and individual connection to the user and (a) Data Acquisition the data flow may be two way The user thus requests the page ThiS block acquires data from either the TV IF (Teletext) or the he wants directly. telephone line (Viewdata) and after venfication passes it to the (b) The data bank may be as large as deSired, there are no Page Store system limitations. (b) Page Store (c) Being an individual connection the service may be a per- The page store, of which there may be up to 8, is the repository sonal one and the data content may reflect thiS, and may for the information to be displayed. It is written into by the Data Indeed be restricted to a selected group of users Acquisition block and read by the Video Generator. (c) Video Generator TELEVIEW The Video Generator reads the Information in the store, de- codes it Into a dot pattern and outputs Video Signals to TV tube. TeleView is a General Instruments' 3 chip Integrated Circuit kit which forms the basis of an ineXpenSive, comprehenSive View- The information to be displayed IS chosen by the user via the data and Teletext system. Controller Other optIOnal CirCUitS provide additional features such a Infra (d) Controller Red Remote Control, Viewdata modem, Autodialer and Terminal The Controller (which is a single chip microcomputer) is pri- identifier, and vanous TV Digital 'Tunlng Systems manly the Interface between the operator and the system. The kit proVides sWltchable Viewdata or Teletext operation with Fig. 1 shows a tYPical complete system broken up Into the blocks automatic selection of "on" and "off hours" operation. ProviSion described. has been made for addreSSing up to 8 pages of memory thus An important feature to note is the way that each block in the giving great flexibility and economy of operation. system communicates to the others by means of a 10 bit Address The system is organized around parallel Data and Address high- highway and an 8 bit Data Highway The mterchange of data is ways, thiS allows easy expansion of the system and the connec- controlled by the signals TS1 and TS2 which are provided by the tion of other equipment such as Home Computers and Disc Video Generator. MemOries. A single chip microcomputer is used to control the system and to interface to the user The microcomputer allows easy alteration of the system features enabling manufacturers to have personalized systems if desired As far as possible adjustable and Critical components have been eliminated and the cirCUitry has been designed to facilitate the use of single sided printed Circuit boards. 9-4 TELEVIEW System KEY FUNCTIONS INITIALIZATION Picture Text-Repeated operation of this key switches the system At Power Up the page stores are cleared and up to 10 characters of between Picture and Text modes text are inserted 111 the middle of the page. Mix- Repeated operation of this key sWitches the system between For PIC1650A-518 TELEVIEW in White is displayed and Picture Mix and Normal modes. In the Mix Mode Captions, Subtitles and mode IS selected. Newsflashes are inset into the picture. For PIC1650A-532 (IR) TELEVIEW in Yellow is displayed and Pic- Half Page-Repeated operation of this key cycles the system from ture mode IS selected. Normal to Upper Half Expanded to lower Half Expanded back to For PIC1650A-532 (ASCII) TELEVIEW in Cyan is displayed and Normal. Operation of the P key restores Normal Mode Picture mode is selected Store Select-Operating Store Select and Digit 1-8 selects a new Page No.XOO is selected to be stored in store 7 (so that the Teletext store for display (assuming that more than one is provided). index IS immediately available) (Note: alternative initialization can Box Clock-Operation of this key when in Picture Mode causes the be provided). Clock to be Boxed into the picture in Double Height Characters. A For PIC1650A-519 TELEVIEW in Yellow on Blue is displayed. Text second operation cancels the command. mode and Store 1 are selected. Hold-Operation of this key will hold displayed the current one of a For PIC1650A-533 TELEVIEW in Yellow on Blue is displayed. Text set of rotating pages. If more than one store is provided the mode and Store 1 are selected. remainder of the set will be automatically stored in the unselected stores. In Viewdata mode it disconnects the Telephone line. PAGE SELECTION Reveal-Repeated operation of this key Reveals and Conceals In Teletext mode pages are selected by pressing the P key and concealed information. entering a page number. Teleview has the ability to accept don't Update (Clear)-Operation of this key removes the information care digits (-) as well as normal digits (0-9). Operation of the from the display until the page is updated. A second operation Update Key (which has no use at this time) enters the (-) so, if for restores the display. II1stance, 1-0 were keyed every tenth page startll1g at page 100 Update (Clear)-Operation of P or Store Select also restores the would be displayed as soon as it was transmitted (approximately display (In Viewdata mode this key acts as a Clear) at 2 sec intervals). Roll Headers-Operation of this key starts the Teletext h,mders Operation of the time code Key T terminates the page no entry and rollillg. fills any unentered page digits as blanks. Cursor OFF} Operation of these keys sWitch the cursor The rolling of pages described above can be stopped by pressing Cursor ON ON and OFF in Viewdata mode. Store Select or Hold. If the Hold key IS pressed and more than one Rounding OFF-Operation of this key removes the character store is provided subsequent pages will automatically be stored. rounding and II1hibits the flashing of characters. Normally used The P key will also stop rolling but the page may be erased. when printing. Reception of a new page or operation of CursorON Page selection may also take place in the Picture mode in which or OFF restores roundll1g. case the page header will be boxed (in double height characters) E(*) Page No. Key Operation of this k~y primes the system to for 5 seconds after each digit is pressed. accept a 3 digit page number ( 111 Viewdata mode). T(#) Time Key. Operation of this key primes the system to accept a 4 digit time code. (II in Viewdata mode). 9-5 VIDEO :I: r---- i I VIDEO GENERATOR fit.. I PAGE MEMORY 2-8 PAGE MEMORY 1 2 x 2114 AY-3-9735 OR ~ R,G,B, AND: ~ IL ____ AY-3-9730 III r- III < iii L ADDRESS BUS IL ~ (I) I:I - - nI nI nI DATA BUS - CONTROL AUTODIALER! ~ TELETEXT VIDEO •... DATA ACQUISITION AY-3-9710 PIC1650A 518 OR 532 TERMINAL IDENTIFIER EAROM ER 1400 PIC1650Z 536 ~ OR 519 OR 533 • fI "'Iii 7 TO MOD'EM · UARIT lit KEYBOARD OR TO DIALING RELAYS .... ~ AY-3-1015D i'r- I REMOTE CONTROL ____ - -- - Fig. 1 TELEVIEW BLOCK DIAGRAM AU NPN TRANSISTORS _ 2N3904 AU PNP TRANSISTORS _ 2N3906 "M .. "' ., "M 91~ "M .. U. "M 91~ 0"'" CLOCKREGENERAT'ONr~~~~~~Int¥~~~~~~~~~~~~~~~~~~~~:~~nr1~l " ~ "'" -I m .m~1 I I r- m ... :._; Ic- ,o,cco,~ ..'" ~ ~ rlOIJT82P 0." ::5 m I" " ;1 O. ov OV :e .. ::; PIC1650A A7 AY-3-.9710 "' "'" . AS NNN D31 0' A9.n D3 OCON8 OBl IJ) 13 ".'" .NI SS, '" PE; .'" 'M ,s. R/W D1 _~' GRN .-.~ ~- RD7' fiSYfiC ''''1 '0' 201 RD2 :~;I21 '19-2Hz 1·2Hz ~-. z Fig, 2 TYPICAL TELETEXT DECODER ~ c"" ~ ~ ~ VIDEO TELEVIEW System r---------------------------i +5V I I TELETEXT C2 R2 R5 R7 I INPUT 14 I R6 I I I I PL5 TV IF INTERFACE I I I OVo--------~~::t:~==~==~C~6 ~------_t---. I I R13 PL6 R07 NP A3 ROAV .J:- R06 R05 C5 OBB A4 A5 07 06 R04 CI OB7 A6 0 05 ;:::: R03 ~ OB6 A7 04 TELETEXT VIEWDATA P02 c? OB5 AS ~ 03 SWITCH ROI ~ OB4 A9 >- « 02 PE OB3 R/Vi 01 OB2 550 DO OBI 551 PE 5WE 50 552 R07 RCP R5YNC R06 ROAV 55 T52 R05 OAV ROI R04 51 XR R02 R03 192KHz 12KHz DATA ACQUISITION I L- - - - - - - - - - -;WDATA- - - - - -.,t""'- "'-- - - - - - -RSYNC -;;;;;;;D;;;-;;E~RATDR INPUT Pl4 - ~ ~ ~ ~ 9-8 PIC1650A TELEVIEW Control Chip FEATURES • Interfaces user to Teleview system PIN CONFIGURATION • Initializes Teleview system • PIC1650A-518 4 x 4 Keyboard, Teletext and Viewdata • PIC1650A-519 4 x 4 Keyboard, Viewdata only, local programing of EAROM Vss (negative supply) Vxx (positive supply) • PIC1650A-532 ASCII or IR remote, Teletext and Viewdata AD Address Input/Output VDD A1 Address Input/Output • PIC1650A-533 ASCII or IR remote, Viewdata only, local A2 Address Input/Output RESET programing of EAROM Vss OSC A3 Address Input/OutpU! Clock Ou!put DESCRIPTION A4 Address Input/Output 07 Data Input/Output AS Address Input/Output 06 Data Input/Output The Teleview control chip PIC1650A interfaces the user to the AS Address Input/Output 05 Data Input/Output Teleview system and generally organizes the operation of the A7 Address Input/Output 04 Data Input/Output system. AS Address Input/Output 03 Data Input/Output It is available in several versions each providing alternative user A9 Address Input/Output 02 Data InpuVOutput Read/Write Output D1 Data InpuVOutput inputs and operating features. ssa Store Select Output DO Data InpuVOutput Customized versions can be provided if required. SS1 Store Select Output K87 Keyboard Interface The features of the various versions are shown in the appendices. SS2 Store Select Output K86 Keyboard Interface TS1 Tlmeslot Input KB5 Keyboard Interface TS2 Tlmestot Input KB4 Keyboard Interface KBO Keyboard Interface KB3 Keyboard Interface KBt Keyboard Interface KB2 Keyboard Interface 9-9 rNsr%~Mf PIC1650A PIN FUNCTIONS Pin No. Name Function 1 Vss Negative supply (Ground). 2-12 AO-A9 Address Input/Outputs which are connected to the Teleview Address Bus. 5 Vss Test pin - connect to Vss. 13 Read/Write Control output connected to the Teleview R/W input. 14-16 SSO-SS2 Store Select outputs. 17,18 TS1, TS2 Time Slot Inputs from Video Generator. 19-26 KBO-KB7 Keyboard Interface, may be Inputs, Outputs or Inputs/Outputs depending upon the version. 27-34 00-07 Data Inputs/Outputs which are connected to the Teleview Data Bus 35 Clock Output Not used except to check the Clock frequency (output frequency fx/4). 36 Oscillator Oscillator resistor and capacitor connected to this pin 37 Reset Master reset input which must be kept &t ground potential until the VOD power is within specification. 38 Not used. 39 VDO Positive power supplies +SV Nom. 40 Vxx ELECTRICAL CHARACTERISTICS (See PIC1650A Data Sheet for full specification). Maximum Ratlngs* *Exceeding these ratings could cause permanent dam- Voltage on any pin with Respect to Vss pin ............... -0.3V to +15V age to the device. This is a stress rating only and func- Ambient Operating Temperature Range, ...............• O°C to +70° C tional operation of this device at these conditions is not Storage Temperature Range ...... , ............. , .... -55°C to +150° C implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise stated): ditions for extended periods may affect device reliability. Vss = OV Data labeled "typical" is presented for design guidance VoD =+5V±10% only and IS not guaranteed Vxx = +5V ±10% FCloCk = 1 MHz TA = O°C to +70°C Characteristic Min Typ Max Units Conditions Clock Frequency 0.8 - 1 MHz Input Low Voltage -0.2 - 0.8 V Input High Voltage 2.4 - - V Input High Voltage (Reset) VDD-l - - V Input Low Current -200 - -1600 /1 A V'L = O.4V Input High Current -100 - - /1 A V,H = 2.4V Input Leakage Current (Reset) -10 - 10 /1A Output Low Voltage - - 0.4 V IOL = 1.6 rnA Output High Voltage 2.4 - - V 10H= -100/1A Supply Current: 100 - - 55 rnA Ixx - - 5 - 9-10 PIC1650A APPENDIX 1/PIC1650A-518 This version interfaces with a 4 x 4 keyboard and provides basic Teletext/Viewdata operation. It replaces pattern 514. INPUT 4 x 4 matrix keyboard POWER UP MODE Picture POWER UP DISPLAY Teleview White POWER UP PAGE XOO in Store 7 KEYBOARD INTERFACE KBO pin 19 Row Input/Output KB1 pin 20 Row Input/Output KB2 pin 21 Row Input/Output KB3 pin 22 Row Input/Output KB4 pin 23 Column Input/Output KB5 pin 24 Column Input/Output KB6 pin 25 Column Input/Output KB7 pin 26 Column Input/Output KEYBOARD CODES KBO/KB4 7 KB2/KB4 1 KBO/KB5 8 KB2/KB5 2 KBO/KB6 9 KB2/KB6 3 KBO/KB7 Picture/Text KB2/KB7 Reveal/Conceal KB1/KB4 4 KB3/KB4 Pagel' KB1/KB5 5 KB3/KB5 o KB1/KB6 6 KB3/KB6 Time/# KB1/KB7 Update KB3/KB7 Store Select NOTES: 1. Details of the operating features are contained in the general Teleview documents. 2. Two double key operations are recognized: (a) Store Select 9 is equivalent to Box Clock. (b) Store Select 0 is equivalent to Hold. APPENDIX 2/PIC1650A-532 This version interfaces either with an ASCII return to zero keyboard or with an AY-3-8475 remote control receiver. It replaces pattern 516. INPUT (a) ASCII Return to zero (b) Binary Return to zero (from local keyboard or AY-3-8475 remote control) POWER UP MODE Picture POWER UP DISPLAY (a) ASCII Teleview Cyan (b) Binary Teleview Yellow POWER UP PAGE XOO in Store 7 KEYBOARD INTERFACE KBO pin 19 LSB Input KB1 pin 20 LSB Input KB2 pin 21 LSB Input KB3 pin 22 LSB Input KB4 pin 23 LSB Input KB5 pin 24 LSB Input KB6 pin 25 MSB Input KB7 pin 26 ASCII/Local Binary Input or Remote Acknowledge KEYBOARD CODES (a) ASCII Standard 7 Bit ASCII (These codes are only acted upon in Viewdata Mode) (b) Binary (Local or Remote) Binary Code Key Meaning MSB LSB 1100000 Picture/Text 1100001 Mix 1100010 Half Page Expansion 1100011 Store Select 1100100 7 1100101 8 1100110 9 1100111 Box Clock 1101000 4 1101001 5 1101010 6 1101011 Hold (Store Rotating Pages) (Release Line) 9-11 PIC1650A Binary Code Key Meaning MSB LSB 1101100 1 1101101 2 1101110 3 1101111 ReveallConceal 1110000 Page (or*in Viewdata) 1110001 0 1110010 Time (or # In Viewdata) 1110011 UpdatelClear 1110100 Rounding + Flash Off 1110101 Cursor ON 1110110 Cursor OFF 1110111 Roll Header.!> NOTES: 1. During initialization the PIC1650A-532 decides whether an ASCII keyboard or an AY-3-8475 remote control receiver is being used. If all Keyboard Interface inputs are Iowan ASCII keyboard is assumed. (a) ASCII Mode Return to zero signalling is employed, the KB7 input being used to switch from full ASCII to local Binary. With KB7 equal to 1 the other 7 bits are read as standard ASCII. (Note this input must be pulsed with the other bits). With KB7 equal to '0' the other 7 bits are read as binary with meanings detailed above. (b) Remote Mode In this case the same binary codes are used but an acknowledgement routine is performed by the PIC1650A-532. See AY-3-8475 data sheet for details. The connections between the PIC1650A-532 and the AY-3-8475 are made as follows: PIC1650A-532 AY-3-8475 KBO pin 19 1/0 A pin 14 KB1 pin 20 1/0 B pin 15 KB2 pin 21 1/0 C pin 16 KB3 pin 22 1/0 0 pin 17 KB4 pin 23 1/0 E pin 20 KB5 pin 24 1/0 F pin 21 KB6 pin 25 1/0 G pin 22 KB7 pin 26 Digital Data Control + Data Available (pins 18, 19). 2. The codes should be valid for a minimum of 20ms. In the ASCII mode if the two key operation SSO is used the Second code (0) should only be valid for a maximum of 120ms to avoid changing keyboard modes. 3. The double key operations are recognized: (a) Store Select 9 is equivalent to Roll Headers. (b) Store Select 0 is equivalent to Reset (Clear Stores) 9-12 PIC1650A APPENDIX 3/PIC1650A·519 This version interfaces with a 4 x 4 keyboard and as such may replace pattern 518. It provides control of Viewdata functions only, together with local programing of Telephone numbers via PIC1650-538. INPUT 4 x 4 matrix keyboard POWER UP MODE Text (picture mode not available) Cursor off POWER UP DISPLAY Double height Teleview In yellow on blue POWER UP STORE Store 1 (binary 000) KEYBOARD INTERFACE KBO pin 19 Row Input/Output KBl pin 20 Row Input/Output KB2 pin 21 Row Input/Output KB3 pin 22 Row Input/Output KB4 pin 23 Column Input/Output KB5 pin 24 Column Input/Output KB6 pin 25 Column Input/Output KB7 pin 26 Column Input/Output KEYBOARD CODES 0/4 7 2/4 1 0/5 8 2/5 2 0/6 9 2/6 3 0/7 Hold/Disconnect 217 Reveal/Conceal 1/4 4 3/4 Star 1/5 5 3/5 o 1/6 6 3/6 Square 117 Half page 3/7 Store Select expansion Operation (a) Star, Square and digits 0-9 transmitted to line via UARIT and MODEM. If 538 autodialer fitted then the square key plus digits 1-4 are used to dial. (b) Hold. If 538 autodialer fitted this key will cause the telephone line to be released while maintaining the display. (c) Print The two key sequence SS.9 is used to alternately put the system into MIX mode and back to normal Mix mode ena- bles monochrome Video to be generated and removes colored backgrounds. When entering mix mode character rounding and flashing are inhibited until a new page is received (only for AY-3-9735) (d) Reveal/Conceal Alternately reveals and conceals concealed characters. Reveal mode off when new page received or new store selected (e) Store select Followed by digits 1-8 will select one of eight pOSSible Stores for display. If 538 autodialer fitted and system in "link- back" mode then local programing of telephone numbers may be enabled by selecting Store zero. SSO Will clear screen and digits 1-4 may be pressed to enable the programing of the appropriate telephone number. The numbers entered uSing digits 0-9 (0 displayed as :), star for access pause (displayed as ,) and square for formatting and space filler (displayed as ?) to complete all 16 digits. SSO followed by Reveal Will display all the telephone numbers on the screen. 9-13 PIC1650A APPENDIX 4/PIC1650A-533 This version interfaces either with an ASCII, return to zero keyboard or with an AY-3-8475 remote control receiver and as such may replace pattern 532. It provides control of Viewdata functions only together with Local Programmg of Telephone numbers via PIC1650-536. INPUT ASCII return to zero or binary return to zero from local keyboard or direct connection to remote receiver POWER UP MODE Text, Cursor off POWER UP DISPLAY Double height Teleview in yellow on blue POWER UP STORE Store number 1 (bmary 000) KEYBOARD INTERFACE KBO pin 19 LSB Input KB1 pin 20 LSB Input KB2 pin 21 LSB Input KB3 pin 22 LSB Input KB4 pin 23 LSB Input KB5 pm 24 LSB Input KB6 pin 25 MSB Input KB7 pm 26 ASCII/Local Bmary Input or Remote Acknowledge KEYBOARD CODES (a) ASCII Full 7 bit ASCII set (b) Bmary (Local or Remote) Binary Code Key Meaning 1100000 Picture/Text 1100001 Print 1100010 Half page expansion 1100011 Store Select 1100100 7 1100101 8 1100110 9 1100111 (not used) 1101000 4 1101001 5 1101010 6 1101011 Hold/Disconnect Ime 1101100 1 1101101 2 1101110 3 11011 11 Reveal/Conceal 1110000 Star 1110001 0 1110010 Square 111001 1 .clear (mhlblt display) 1110100 Roundmg & Flashmg off 1110101 Cursor ON 1110110 Cursor OFF 1110111 Reset Notes 1 and 2 as for pattern 532. Operation (a) ASCII codes transmitted directly to Ime via UAR/T and MODEM. If 536 autodialer fitted, square and digits 1-4 Will enable dialing. (b) Picture/Text. SWitches display alternately between picture and text. If 536 autodialer fitted this key will drop the telephone connection (c) Pnnt. Alternately puts system mto MIX mode and back to normal. Mix mode enables monochrome Video to be generated and removes colored backgrounds. When entering mix mode character rounding and flashing are Inhibited until new page received (only for AY-3-9735). (d) Store/Select. Followed by digits 1-8 will select one of eight possible Stores for display. If 536 autodialer fitted and system 10 "Iink- back" mode then Local Programing of telephone numbers may be enabled by selecting store zero. SSO will clear screen and digits 1-4 may be pressed to enable the programmg of the appropriate telephone number. The number is entered using digits 0-9 (0 displayed as :) star for access pause (displayed as;) and square as formatter and space filler (displayed as ?) to complete all 16 digits. SSO followed by Reveal will display all the telephone numbers on the screen. (e) Hold. If the 536 autodialer is fitted this key will drop the telephone line. (f) Reveal/Conceal. Will alternately reveal and conceal concealed characters. Initialized to conceal state for new page or new Store. (g) Clear. Clears the screen of all text. Display restored by second depression of the key and by reception of a new page. (h) Rounding and Flashing Off. Character rounding and flashmg may be inhibited m AY-3-9735 until a new page is received. (i) Cursor ON/OFF. The cursor may be locally controlled by these codes. (j) Reset. Simulate the power-on reset. All stores are cleared and initialized to "Teleview" 9-14 PIC1650-536 TELEVIEW AutodialerlTerminalldentifier FEATURES • Non-volatile storage of 4 telephone numbers of 16 digits PIN CONFIGURATION TV 1650 • 10 ips loop disconnect dialing • Non-volatile storage of Identity Code of 16 digits • Full remote programing capability TOpVI8W • Optional local programing Vss (Ground) Vxx (+91V Nom) • Easy connection to Teleview system AO Address Input/Output Voo (+SV Nom) • Spare memory locations A1 Address Input/Output A2. Address Input/Output Reset Input Vss Input/Output OSCillator Input DESCRIPTION A3 Address Input/Output Clock Output The Autodialer/Terminal identifier is an extension to the TELE- A4 Address Input/Output 07 Data Input/Output AS Address Input/Output D6 Data Input/Output VIEW system that IS designed to perform the Autodlaling function A6 Address Input/Output 05 Data Input/Output of a Viewdata system, to transmit the terminal Identification (10) A7 Address Input/Output D4 Data Input/Output code and to allow the remote programing of all the stored A8 Address Input/Output D3 Data Input/Output numbers. AS Address Input/Output 02 Data Input/Output The system consists of a PIC1650-536 attached to the TELEVIEW Read/Wrtte Input 01 Data Input/Output SSO Store Select Input/Output DO Data Input/Output address and data highways, an ER1400 EAROM for non-volatile SS1 Store Select Input/Output Dtal Output (6) storage of the 10 and telephone numbers and relays forcontrolling SS2 Store Select InpuVOutput Mask Output (C) the telephone line TS1 Ttmeslot Inputs/Outputs Line Output (A) TS2 Ttmeslot Inputs/Outputs 14kHz Clock Output to ER1400 Data Input/Output to ER1400 C1 Output to ER1400 PACKAGES C3 Output/Carner Present C2 Output to ER1400 ER1400 - 14 lead OIL plastic I nput to ER1400 PIC1650-536 -40 lead OIL ABSOLUTE MAXIMUM RATINGS If a pause had been programed, for access to a further dial tone See ER1400 and PIC1650 Data Sheets for details. for example, the system will put a * on the screen and wait for release. To release the access pause the appropriate digit is ELECTRICAL CHARACTERISTICS pressed again and dialing will continue. If the system does not See ER1400 and PIC1650 Data Sheets for details. receive a manual release It will continue after a time-out of four seconds OPERATION If althe end of dialing the call fails, pressing the Square (#) key will Autodialer - The system responds to inputs via the TELEVIEW clear the call and then start again by relooping the line. keyboard in order to initiate the automatic dialing of the Viewdata When the required incoming carrier tone is received the modem telephone numbers. There are 4 stored telephone numbers that will return ItS appropriate tone to the Viewdata computer which may be accessed by 4 keys as described In the Prestel Terminal may then send the first page of data and initiate terminal Specification identification. Each Telephone number can consist of up to 16 digits including If the carrier tone IS not received for any reason the line will be access pauses and formatting codes. released after 30 seconds. The system may be operated fully automatically or with manual Once a satisfactory connection is made to the Viewdata computer dialing. (i.e. carrier is detected), the keypad will revert to normal Viewdata mode and dialing will not be possible. Automatic Dialing - With the system off-line and in the Viewdata mode the initial action IS to press the Square (#) key. The Teleview Manual Dialing -·If the required telephone numbe .. is not stored system will be put in the Text mode and the currently displayed within the terminal the call may be made using the normal tele- Store will be cleared. The telephone line will be looped and the phone. The system should start off-line and in the Viewdata mode. audio should be sWitched to a loudspeaker. The number IS dialed using the telephone In the normal way and Once dialing tone is heard a digit is pressed according to th" when dialing is complete the Square (#) Key is pressed. This will Viewdata service required. put the system into the Text mode, erase the currenty displayed Digit 1 - will give the Prestel service. (Block 2) store and hold the line. The telephone handset is replaced and Digit 2 - will give a second number for the Prestel service. once the carrier tone is received the procedure is as before. (Block 3) Connection Release - If at any time the carrier detection logic Digit 3 - will give the third number. (Block 6) detects that the carrier is lost the connection will be immediately Digit 4 - will give the fourth number. (Block 7) released. If a digit is not pressed for 30 seconds after the Square (#) key the The connection will also be released when the Teleview system is line will be released. The digits will be put onto the screen as they switched to the Picture or Teletext modes, or if the Hold Key is are being dialed and if formatting characters had been loaded In the pressed (if available). digit store the display will be spaced accordingly. 9-15 PIC1650-536 Alternatively the appropriate computer log off procedure may be Dialer Codes (only for blocks 2-1) used. RECEIVED 1507 In all cases the content of the Teleview Stores will remain as they DIALED DIGIT CHARACTER were at the moment of disconnection (also used for transmission after ENQ for block verification) Remote Programing - The Teleview highways will be moni- tored for those speCial ESC sequence codes that Indicate the entry 1 1 into the Program-Verify mode as described in the Prestel Terminal 2 2 Specification. 3 3 In the Teleview System the Data Acquisition chip receives data 4 4 from the Viewdata computer and normally loads data to the dis- 5 5 play store. Any codes, particularly ESC sequences, that it does not 6 6 use, it puts out onto the Teleview highway system where the 7 7 8 8 remote programing device may receive them. 9 9 The basic programing sequences are as described in the Prestel o Specification except that the data for programing the EAROM will PAUSE initially be put into the display store by the DA chip. The program- ing device will read the digits from this store and erase them after RESERVED > SPACE FILLER ? checking that they are all valid codes. The display will be blanked during programing. A delay of at least 5ms will be present between the last character to be written Into the memory and the next attempt to leave Normal Local Programing - For system security, particularly in the mode ThiS IS to facIlitate the use of slow write/erase memories. domestic environment, the local programing of telephone num- bers and identity codes is not encouraged. Blocks 1-7 are defined as follows: - Block 1 Identity Number However, the Teleview system has been designed such that it may Block 2 Telephone Number A "talk to itself" and by doing this and having some additional keys Block 3 Telephone Number B (especially ESC, ENQ, ?, : and ;) a very secure local programing Block 4 Not used mode is available. Block 5 Not used The UAR/T transmit and receive clocks are connected to a single Block 6 Telephone Number E frequency, the output Joined to the Input and the carrier present Block 7 Telephone Number F input is forced and true. The standard programing sequences may A and B are the Prestel Computer Center telephone numbers. then be input to the system to read out and/or modify the content E and F are the third and fourth choices of the digit store. Line Interface - (The following is an extract from the Prestel Spare Storage - While only the first 7 blocks of storage are Terminal Specification) defined (as ID code plus 6 telephone numbers) a further 4 blocks are available and may be accessed by the Program/Verify sequen- Physical Termination ces if required. They could, for example, be used to store alterna- The Post Office will install a Jack 96A in customer's premises to tive identity/security codes for private Viewdata systems. access Preste!. The customer Prestel Terminal will reqUire a SUIt- Programing Routine - (The following is an extractirom the Pres- able compatible plug (e.g Post Office Plug 505) tel Terminal Specification.) DC CONDITIONS The programing Routine is entered by a 4 character sequence Four sets of DC conditions are specified for the line Interface. ESC1 ESC2. This puts the terminal into Program-Verify mode (See (a) The off-line condition (idle state) applies when the terminal Fig. 1). The memory IS divided Into seven 16 character blocks. A IS not uSing the telephone line skip block command ESC 3 is used to skip through the blocks. (b) The line holding condition applies when the terminal goes Default is block 1 at entry to Program-Verify mode After a number on-line, is sending tones to or receiving tones from the line (0-6) of skip block commands, Verify mode may be selected by and during inter-digit pauses ENQ, or Program mode may be selected by ESC 4. (c) The pulsing make condition applies during the make part of Entry of Verify mode shall cause the termi nal to transmit down the a dialed digit pulse. telephone line the contents of the current block (excluding any (d) The pulsing break condition applies during the breakpart of space-filling characters) and 75 bills and then revert to normal a dialed digit pulse. mode Program data shall follow ESC 4 using the numbers 0-9 for the Plug Identity Code and the codes given below for telephone numbers. Points Resistance Capacitance Character 3/15 (?) will be used as a space filling character after 2-3 ~.01pF (a) Off-Line >5 Mohm* valid data characters to make the total number of characters in a Idle Condition 1-5 <10 ohm block equal to 16. 3/15 (?) may also be used between parts of the (b) Line 2-3 QOOohm:j: number to identify "natural" breaks. It may then be displayed as a Holding space ilthe number is displayed forthe user, e.g.:1 ?618?1111 ????? Condition 1-5 >5 Mohm displayed as 01 6181111. (c) Pulsing Make 2-3 ":50 ohm 1-5 >5 Mohm After receiving these 16 characters the terminal reverts to normal (d) Pulsing Break 2-3 >5 Mohm mode. 1-5 >5 Mohm * All times Any to >5 Mohm* ~.01pF earth * Measured at 250 vdc. All conditions to be Independent of polarity. :j: Measured with line curents up to 120mA. The max dc short circuit available from line is 120mA. 9-16 PIC1650-536 IINs&t~Mlr I AC CONDITIONS AUTODIALING When the terminal is on-line (i.e. line holding condition) it shall If a loop disconnect autodialer is fitted then the following present an impedance between 400 and 900 ohms at an angle not requirements must be met: greater than 45 degrees for all frequencies between 300Hz and The digit signals shall appear as loop disconnect pulses between 3400Hz between plug points 2 and 3. Plug Points 2 and 3 at a repetition rate of between 9 and 11 pulses per second. The break period shall be between 63% and 70% of the total pulse period (break plus make). The length of the break period condition (d) of each pulse shall be within the limits of 57.2 PIN FUNCTIONS Pin No. Name Function (A) ER1400 1 Data Input/Output 2 3 Vss +9.1V supply 4 VGG -26V supply 5 Clock Input 6 C1 Input} 7 C21nput Mode control pins 8 C3 Input (8) PIC1650-635 1 Vss Ground 2 3 AO} A1 Address Input/Output - connect to TELEVIEW Address Bus 4 A2 5 Vss 6 7 8 9 10 M} A4 A5 A6 A7 Address Input/Output - connect to TELEVIEW Address Bus 11 A8 12 A9 13 Read/Write Control to Page Memory - connect to TELEVIEW R/W line Input/Output 14 SSO} 15 SSl Store Select Inputs/Outputs - connect to TELEVI EW SS lines 16 SS2 17 TS1 } Time Slot Inputs - connect to TELEVIEW TS lines 18 TS2 19 20 D.. '",oVO~P~} C3 Output 21 C2 Output Interface to ER1400 non volatile memory. 22 C1 Output Pin 20 doubles as the carrier present input 23 14kHzClock Output 24 Line Output Output to Line Looping relay 25 Mask Output Output to Mask relay 26 Dial Output Output to Dialing relay 27 28 01 29 02 30 31 001 03 04 Data Input/Output - connect to TELEVI EW Data Bus 32 05 33 06 34 07 35 Clock Output Monitor point for Clock oscillator. Set frequency to 250kHz nominal 36 Oscillator Input Connect Clock oscillator components to this point 37 Reset Input Master reset input connect to corresponding pin on TELEVIEW control PIC1650A 38 No connection 39 Voo Positive supply +5V nom. 40 Vxx Positive supply to output buffers +9.1V nom. 9-17 PIC1650-536 ANY CHARACTER POWER UP PARITY ERROR NOT IN SEQUENCE ~ + / NORMAL MODE ES'c 1 EN6 I I ES,C2 SEND PROGRAM ID NUMBER VERIFY MODE I I BLOCK 1 (ID) ENQ ......... ESp 4 ............... ESC~ ........... VERIFY PROGRAM BLOC K2 BLOCK 1 BLOCK 1 (A) 2 I 3 2 4 S EN6 ES'C 4 ESC3 I BLOCK 3 2 (B) 7 7 ? ? ENQ ESC 4 ESC 3 ? ? ? BLOCK 4 ? (C) ? ? I BLOCKS (D) ESC3 BLOCK 7 (F) Flg.1 FLOW DIAGRAM FOR PROGRAMING ID AND TELEPHONE NUMBERS 9-18 PIC1650-536 INsr TS2 TS2 KEYBOARD -~ 7 C1 - 1 21 Onl 1L 8 C2 ER1400 I 9 C3 12 OlIO r 1/.14011 2 TELEVIEW CONTROLLER 10K ~1: ( l 1- Fig. 3 AUTODIALER ADD ON CIRCUIT FOR TELEVIEW PIC1650-536 IINsr'k~~~ I +v--.-------~---.--------~--_,--------~--~ 10K 10K 10K C2 10/11 01 02 03 1 N4001 1 N4001 1N4001 T1 RLA CLARE CUP-V 10301 RLB CLARE CUP-V 10201 RLC CLARE CUP-V 10001 G01 CERBERUS UC 90Q R1 100 OHMS FS1 250mA QUICK BLOW, ES4265 C1 2/11 Fig. 4 TELEVIEW LINE SWITCHING 9-21 CP1610 16-Bit Microprocessor FEATURES PIN CONFIGURATION • 8 program accessible 16-bit general purpose registers 40 LEAD DUAL IN LINE • • • 86 basic instructions 4 addressing modes: immediate, direct, indirect, relative Conditional branching on status word and 16 external EBCI C ,",SYNC C 2 ., Top View ~ 40 39 ~ PPelT GND conditions BC, C 3 38 P .' • Unlimited interrupt nesting and priority resolution BC' C 4 37pO> BOlA C 5 36 PVDD ('12\1) • 16-bit logic and 2's complement arithmetic 015 C • 35 PVss (-3\1) • Status logic and word: carry, overflow, sign, zero 014 ~ 7 34 ~ Vee (+5\1) 013 C 8 33 ~ BDROY • Direct memory access (DMA) for high speed data transfer 012 C 9 32 PSTPST • 64K memory using single address 011 C 10 31 PBUSRQ • TTL compatible/simple bus structure 010 C " 30 PHALT 09 C 12 29 PBUSAK • CP1610. 1/lS cycle time, 2MHz 2-phase clock oae 13 28 PINTR DOC 14 21 PINTRM 0' C 15 26 ~ Tel DESCRIPTION 07 C 06C 17 " 25 24 P EBCAO P ESCAl 05 C 18 23 PEBCA2 The CP1610 is a compatible member of the Series 1600 Micropro- 04 C 19 22 PEBCA3 cessor products family. It is a complete, 16-bit, single chip, high 03 C 20 21 P02 . speed MOS-LSI Microprocessor. The Series 1600 family is fabri- cated with the General Instrument N-Channel lon-Implant pro- cess, insuring high performance with proven reliability and pro- duction history. All members of the Series 1600 family are fully cassette tape, floppy disk, and RS-232C data communication compatible with the CP1610. lines. The Microprocessor has been designed for high speed data The CP1610 utilizes third generation minicomputer architecture processing and real time applications. Typical applications with eight general purpose registers to achieve a versatile, so- include programable TV games, home computer systems/ phisticated microcomputer system. The 16-bit word enables fast home information centers, programable calculator systems, and effiCient processing of alphanumeric or byte oriented data. peripheral controllers, process controllers, intelligent terminals The 16-blt address capability permits access to 65,536 words in and instruments, data acquisition and digital communications any combination of the program memory, data memory, or periph- processors, numerical control systems and many general eral devices. This single address space concept, combined With a purpose mini-computer applications. The Microprocessor can powerful instruction set, provides an efficient solution to micro- readily support a variety·of peripheral equipment such as TTY, computer and many minicomputer-based product requirements. CRT display, tape reader/punch, A/D & D/A converter, keyboard, CP1610 SYSTEM DIAGRAM liDO Vcc v •• MSYNC +12V +5\1 -3\1 16 BIT BIDIRECTIONAL IUS 9-22 CP1610 JINSTMJ PROCESSOR SIGNALS BUS CONTROL DATA BUS BOIR, BCt, BC2 00-015 Outputs Input/Output/High Impedance Bus DIRection, Bus Controls 1,2: Bus control signals externally Data 0-15: 16-blt bidirectional bus used to transfer data, decoded to define the state of bus operations (see State Flow addresses, and instructions between the microprocessor, Diagram). memory, and peripheral devices. BUSRQ Input BUSAK PROCESSOR CONTROL Output STPST BUS ReQuest, BUS AcKnowledge: BUSRQ' requests the micro- Input processor to relinquish control of the bus indefinitely. BUSAK' SToP-STart: Edge-triggered by negative transition; used to con- informs devices that the bus has been released. trolthe running condition of the microprocessor. BORDY HALT Input Output Bus Data ReaDY: causes the microprocessor to "wait" and re- HALT: Indicates that the microprocessor is in a stopped mode. synchronize to slow memory and peripheral devices. MSYNC INTR ,INTRM Input INTeRupt, INTeRupt Masked: request the microprocessor to Master SYNC: Active low input synchronizes the microprocessor service an interrupt upon completion of current instruction. to the ¢1, - Bel R3 '"I? Be2 ~-ttE---I R4 0 --+ BOlA R5 ~ (SP) R6 '" (PC) R7 9-23 CP16l0 SIMPLIFIED STATE FLOW DIAGRAM MSYNC I NITIALIZATION SEOUENCE FETCH SEOUENCE '".TERNAL REFERENCE INSTRUCTION r-~~~ ADDRESS SEQUENCE UN- INTERRUPTABLE l EXECUTE SEOUENCE I INSTRUCTION eus REOUEST SEQUENCE INTEFiRUPT S[OUENCE BUS CONTROL SIGNALS BDIR BC2 BCl Signal Decoded Function 0 0 0 NACT No ACTion, 00-015 = high impedance 0 0 AOAR Address Data to Address Register, 00-015 = high Impedance 0 1 0 lAB Interrupt Address to Bus, 00-015 = Input 0 1 1 OTB Data To Bus, 00-015 = Input 0 0 BAR Bus to Address Register 0 1 OW Data Write 0 OWS Data Write Strobe INTAK INTerrupt AcKnowledge 9-24 CP1610 INSTRUCTION SET (SUMMARY LISTING) Mnemonics Operation Mlcrocyclel Comments MOVR MOVe Register 6/7 TSTR TeST Reg Ister 6/7 MOVR to Itself S~ JR Jump to address In Register 7 MOVRto PC a;.! ADDR ADD contents of Registers 6 ii. SUBR SUBtract contents of Registers 6 f&! II: CMPR CoMPare Registers by subtr 6 Results not stored ANDR logical AND Registers 6 XORR eXclusIVe OR Registers 6 CLRR CLeaR Register 6 XORR with Itself INCR INCrement Register 6 DECR DECrement Register 6 S COMR COMplement Register 6 One's Complement III Z 0 i= . .!!! ..'" II: NEGR ADCR NEGate Register ADd Carry Bit to Register 6 6 Two's Complement U ;;, GSWD Get Status WorD 6 :::I .E NOP No OPeration 6 II: III I- SIN Software INterrupt 6 Pulse to PCIT pin III RSWD Return Status WorD 6 ~ III U Z III II: ~ SWAP SLL RLC SWAP a-bit bytes Shift Logical Left Rotate Left thru Carry 6 6 6 :;: ".c Not Interruptable '0'" ... j III III III SLLC SLR Shift Logical Left thru Carry Shift Logical Right 6 6 ,..c: vO of: One or two position shift capability Two position II: -' C .... SAR Shift Arithmetic Right 6 ;:'" _ 0 ,,'i' SWAP not supported II: RRC Rotate Right thru Carry 6 Z "N < I II: SARC Shift Arithmetic Right thru Carry 6 III I- ~ HLT HaLT 4 co SDBD Set Double Byte Data 4 Must precede external reference '2§ -1l Ii 2 EIS DIS Enable Interrupt System Disable Interrupt System 4 4 ill,"",._'" Not Interruptable U10 TCI Terminate Current Interrupt 4 .E CLRC CLeaR Carry to zero 4 SETC SET Carry to one 4 co J Jump 12 e JE Jump. Enable. Interrupt 12 ~~ JD Jump. Disable Interrupt 12 12 "..,::co" JSR JSRE Jump. Save Return Jump. Save Return & Enable 12 } Return Address .E saved In R4. 5 or 6 .a. JSRD Jump. Save Return & Disable Interrupt 12 B unconditional Branch 9" NOPP No OPeration 7" Two words co e BC (BLGE) BNC (BLLT) Branch on Carry Branch on No Carry 7 7 "v x C=1 C=O ~ BOV Branch on OVerflow 7 "oj OV=1 2 BNOV Branch on No OVerflow 7 E OV=O +E 10 u" !!! cd III Z 0 i= u .E .c e . I! BPL BMI BZE (BEQ) Branch on PLus Branch on Minus Branch on ZEro or EQual 7 7 7 .. c: 0 i5 c: s=o S=1 Z=1 -. c:0 _ii "- c: '" ID BNZE (BNEQ) Branch If Not ZEro or Not EQual 7 0 Z=O EO :::I v S'lfOV=1 ,,-H II: 'iii BLT Branch If Less Than 7 ou l- III e BGE Branch If Greater than or Equal 7 '" J!l S'lfOV=O ~a. ~ III u ie 0 BLE BGT Branch If Less than or Equal Branch If Greater Than 7 7 '!:: '0",..'" ZV(S'lfOV)=1 ZV(S'dOV)=O 0.1 !!!u Oa. Z U BUSC Branch If Sign'" Carry 7 C'lfS=1 III 0 BESC Branch If Sign = Carry 7 C'lfS=O ...... II: BEXT Branch If External cond,llon IS True 7 '"" 4 LSB of Instruction are decoded III II: "< select 1 of 16 external conditions c-' Olr. Imm. Indlr. Stack Z II: MVO MoVe Out 11 9 9 9 Not Interruptable III I- >< g PSHR PuSH Register to stack - - - 9 PSHR=MVO@R6. Not Interruptable III MVI MoVe In 10 a a 11 PULR PUll from stack to Register - - - 11 PULR=MVI@R6. . :;:u ADD ADD 10 a a 11 rg. SUB SUBtract 10 a a 11 =-' :i" CMP AND CoMPare logical AND 10 10 a a a a 11 11 11 Result not saved XOR eXclusive OR 10 8 a 1 MICROCYCLE=2 CLOCK CYCLES 9-25 CP1610 ELECTRICAL CHARACTERISTICS Maximum Ratings· * Exceeding these ratings could cause permanent dam- VOl)o Vce. GND and all other Input/Output Voltages age to the device. This is a stress rating only and func- with Respect to Vee ...•.•.•.••••.••..•.••••.•....... -0.3V to +18.0V tional operation of this device at these conditions is not Storage Temperature .•.•••.•.••••..••.•.•.••••....•. -55· C to +150· C implied-operating ranges are specified in Standard Operating Temperature .•.•.•••..•...•.•.•.•.......•.... O·C to +70·C Conditions. Exposure to absolute maximum rating con- ditIOns for extended pen ods may affect device reliability. Data labeled "tYPical" IS presented for deSign guidance Standard Conditions: (unless otherwise noted) only and IS not guaranteed VD D"'+11V±5%, 70mA(typ), 110mA(max.) V•• = -2.2V ± 5%, 0.2mA(typ), 2mA(max.) Vcc=+5V±5%, 12mA(typ) , 25mA(max) Operating Temperature (T,)=O·C to +70·C Chareclertltlc Sym Min Typ·· Max Unlll Conditions DC CHARACTERISTICS Clock Inpull High VIHC 10 - Voo V low VII ( 0 - 06 V I nput current Ie - - IS mA V'He = (Voo -l)V logic Inpull low VII 0 - 065 V High (AIiUnes except BDRDY) V'H 24 - V" V High (Bus Data Ready line See Nole) VIHB 3 - V" V Logic OutpUll High VUH 24 V" - V 10H = l00j1 or 4>2 Pulse Width t0l>2, t0l>2 250 - ns Skew (01)1, 01>2 delay) t'2, t21 0 - - ns Cloe:k Period tcy 05 - 2 I'S Rise & Fall Times tr,lf - - 15 ns Master SYNC: Delay from 01> tms - - 30 ns DO-DIS Bus Signals Output delay from 01>1 (float to output) tBo - - 100 ns 1 TTL load & 100pF Output delay from 01>2 (output to float) t BF - 50 - ns Input setup time before 01>1 tBl 0 - - ns Input hold time alter 01>1 tB2 10 - - ns aul Control Signals BC1,BC2,BDIR Output delay from 01>1 t OC - - 100 ns Skew - - - 30 ns BUSAK Output delay from 01>1 t BU - 150 - ns TCI Output delay from 01>1 tTO - 200 - ns TCI Pulse Width trw - 300 - ns EBCA output delay from BEXT input tOE - - 150 ns EBCA wait time for EBCI input tAl - - 400 ns CAPACITANCE TA = +25·C; Voo = +12V; Vee = +5V; V•• = -3V, t4>l = t4>2 = 120ns 01>1,4>2 Clock Input capaCitance CoI>l,Cq,l - 20 30 pF 00-015 - - 8 15 pF All Other - - 5 10 pF ··TYPlcal values are at +25°C and nominal voltages. NOTE: The Bus Data ReaDY(BDROY) line is sampled during time period TSI alter a BAR or ADAR bus control signal. BDRDY must go low requesting a wait state 50 ns befora the end of TSI and remain low for 50 ns minimum. BDROY may go high asynchronously. In response to BDRDY, the CPU will extend bus cycles by adding additional microcycles upto a maximum of 40 I'sec duration. 9-26 CP1610 IINST ! CHARACTER POSITION ROW NUMBER ""------ ~ f4-- VIEWDATA LOGIC ~ o HAMMING PROTECTED Row 0 Row 0 I ....-t-------' L---r--~--' c in WORD EXTRACTION L CHARACTER ADDRESS ADDRESS ::::j HIGHWAY lo o Z ROW NUMBER GENERATOR ...o 1------- III CONTROL BITS ~ CONTROL BITS I-- n ~ 1------ o STORE j; PAGE g AND PAGE 21 TIME L.----. AND :I> DIGITS ,----. COMPARATOR TIME i\: DIGITS 1------- STORE SELECT WRITE LOGIC 3 I READ/WRITE STORE SELECT AY·3·9710 IINSIit~~ I A character in columns 2-7 will be written into the appropriate Table 1 CONTROL TO DATA ACQUISITION SIGNALING Store at the location indicated by the Character Address counter Active low signaling, most significant bit is a strobe. which will then be incremented by one. The ESC character (1/11) will cause some modification of the subsequent character as follows: Highway Free o 000 o 0 0 0 Magazine Number 1 000 Dddd If the character is in columns 4 or 5 it will be written to Store Page Number, tens 1 00 1 Odd d with the most significant bit changed to Zero. units 1 010 Dddd Ifthe character is in column 3 it will not be written to Store but Store Select 1 011 oSs s made ready for transmitting to the Control device. Key Pressed 1 o 1 1 10K k Any other characters, except NUL, will cancel the ESC Spare Code 1 o 1 1 1 1 0 0 sequence and be ignored. Spare Code 1 o 1 1 1 1 o 1 The Form Feed character (0/12) will cause the F bilto beset in the Spare Code 1 o 1 1 11 1 0 Dummy Code 1 011 1111 appropriate DA to Control signalling word. Time Hours, tens 1 1 00 Dddd All other control characters in columns 0 and 1, except NUL, will units Dddd 1 1 0 1 be sent to the Control at the appropriate time. If any character has the parity fail indication set then the charac- Minutes, tens 1 1 1 o • Dddd ter7/15 will be written to Store. Althe start of a processing period units 1 1 11 Odd d (i.e. at RSYNC) if a character is available for processing then the DA will erase the Cursor bit by reading the location pointed to by the Character Address counter and re-write It. Since the DA never Where Kk is key identification: writes the 8th bit in the Store the cursor will be removed. P o 0 DATA INTERCHANGE T o1 During the DA's active period, indicated by TS2, when it is not Spare 1 1 0 performing any data processing then it will monitor the Address Spare 2 1 1 highway for the following codes: 1111XXXXOX indicates the DA should receive data from the Sss is store select number, 000 to 111. data highway. Dddd, Digit key value, initially values 0-9 and 15 used although 1111XXXXXO indicates that the DA should send data to the any value may be sent. For Teletext the Magazine range is 0-7, data highway. Time hours tens range 0-3, Time minutes tens range 0-7. In addi- 1111XOXXXX indicates that the DA should provide control to tion digit 15 IS recognized by the DA as a 'don't care' digit causing the UAR/T. automatic comparison. In the Receive mode the Control device may send data according Table 2 DATA ACQUISITION TO CONTROL SIGNALING to the codes in Table 1. The most significant bit of the data acts as Active low signaling, most Significant bit is a strobe. Signals a strobe which will cause the other 7 bits to be received and stored acknowledged by the Control forcing all ones Control word 1 is in the DA. Magazine, Page and Time digits will be stored in the sent first and is always sent. appropriate location in the digit store, the Store Select number will be stored for use when accessing the Store and the indica- Control word 1000 T S s s tions of Pand T keys being processed will also be latched for use Where T is the Teletext bit, 1 = Teletext. in the processing period. Ssss is the Store Select number the The receiving of data from the Control is completely asynchro- DA is currently using. nous to the DA internal clock and is controlled entirely by the Control words 2-4 depend on whether Teletext or Viewdata is Strobe bit. being processed. The Send mode will cause the DA to apply the first code, shown in Table 2, to the data highway. When the code has been read by TELETEXT Control, the signal will be acknowledged by Control forcing all1's Control word 2 1001 PBR C4 C6 C5 (lOW levels) which will step the DA onto the second word and so 3 1010 C10 C9 C8 C7 on. The Strobe bit is used in this case to indicate that the data is 4 1011 C14 C13 C12 C11 appearing for the first time and, once read by ContrOl, is cleared Sent* only when Valid Header received. PBR is set while a page is until new data is available. The exception is the first word which being received. C4 to C14 are the Teletext Control bits. always has the Strobe set. The UAR/T control is recognized by the DA since it has the VIEWDATA UAR/T connections and in this mode a Strobe on the data high- Control word 2 1001 X F 0 0 way will cause the DA to provide a data strobe OS to the UARIT. 3 1010 b7 0 b6 b5 During the Data Interchange period the DA will monitor the Store 4 1011 b4 b3 b2 b1 Select lines and if they are all taken low it will output the current Sent * only when a Control character received by DA. F is set content of the Character Address counterto the address highway when Form Feed character processed. b1-b7 are the 7 bits com- so that the Control may know where to insert the cursor. prising the Viewdata Character. NOTE: * 'Sent' means the Strobe bit is set. The other seven bits are put onto the highway at the request of the Control and may be used if appropriate (e.g. page being received). 9-31 AY-3-9710 ELECTRICAL CHARACTERISTICS Maximum Ratings* Voltage on any Pin with Respect to Vss • • • • • • • • • • • • •• -0.3V to +15V • Exceeding these ratings could cause permanent dam- Storage Temperature ••••••••••••••••••••••••• -55° C to +150° C age to the device. This is a stress rating only and lunc- tional operation 01 this device at these conditions is not Standard Conditions (unless otherwise noted): implied-operating ranges are specilled in Standard Supply Voltages: Vss = OV (substrate voltage) Conditions. Exposure to absolute maximum rating con- Vcc= +5V ± 5% ditions lor extended periods may affect device reliability VDD = +12V ± 10% Data labeled "typical" IS presented lor design guidance Temperature Range: 0° C to +70° C only and is not guaranteed Characteristics Min Typ Max Units Conditions OUTPUTS Address Outputs (tri-state) High level +2.4 - Vec V IOH=-320JlA Low level - +0.2 +0.45 V 10L = 3.2mA Capacitance - - 15 pi V=OV T rise, Tlall - - 200 ns C LOAD = 100pl Leakage, high impedance state - - 5 JlA VOUT = OV or +5V Data Outputs (passive pull-up) High Level +2.4 - Vec V 10H= -1.5mA Low Level - +0.2 +0.45 V 10L = 3.2mA Capacitance - - 15 pi VOUT= OV R/W and Store Select Outputs High Level +2.4 - Vee V IOH=-320JlA Low Level - +0.2 +0.45 V 10L = 3.2mA Capacitance - - 15 pi VOUT= OV Current sourced, 'off' state 1.2 - 2.6 mA V OUT = OV RDAV and OS Outputs High Level +2.4 - Vee V 10H= -25JlA Low Level - +0.2 +0.45 V 10L = 100JlA Capacitance - - 15 pi VOUT= OV RSYNC Output (Open Drain) Low Level - +0.2 +0.45 V 10L = 4mA Leakage, output off - - 10 JlA VOUT= +12V INPUTS (except Clock and Teletext Data) High Level 2.2 - VDD V Low Level Vss - +0.8 V Leakage (except IfO's) - - 10 JlA V=+12V Input Capacitance - - 15 pi V'N= OV DAV Input - 20 - JlA V'N= +5V Clock and Teletext Data Inputs High Level 2.8 - VDD ·V Low Level Vss - 0.4 V Capacitance - - 20 pi V'N = OV Leakage - - 10 JlA V'N= +12V Frequency 1.0 - 7.5 MHz Power Vce Supply Current - - 15 mA Vce= +5.0V VDD Supply Current - - 65 mA VDD = +12V (at 25° C) 9-32 AY-3-9735 PRELIMINARY SPECIFICATION TELEVIEW 625 Line Interlace/Non Interlace Video Generator FEATURES • Interlaced 625 line or non-interlaced 3131ine operation PIN CONFIGURATION • 24 row x 40 character display • Character Set options available • On and Off Hours operation Earth (Vss) +12V (V OD) • Half Page Expansion Teletext/OS Input/Output +5V (Ved • Boxed Clock and Header on Teletext AO Clock Input Al Teletext Data Input • Direct interfacing with the TELEVIEW busses A2 DAV Input • Provides master timing signals for other TELEVIEW chips to A3 ROAV Output indicate status of the display scan A4 57 • Address up to eight Page Stores AS 56 • Provides address information to scan allocated Page Store A6 56 • Provides composite synchronizing signals for receiver for A7 154 AS OS 'Off-Hours' working A9 52 • Provides comprehensive set of display facilities Read/Write Output Oi • Allows Teletext reception on lines 7-22 SSO Output 50 SS1 Output Panty Error Input SS2 Output RD7 Input DESCRIPTION ASYNC Input/Output RD61npui The Video Generator Chip is one of a set of LSI chips used in the T82 Input ADS Input General Instrument TELEVIEW (TeletextlViewdata) system. It R01 Input RD4 Input RD2 Input AD3 Input reads the contents of a Page Store and generates outputs suitable for driving a normal 625 line Color TeleVISion receiver to display the contents of the Page Store. The chip also monitors the composite synchronizing signals g. Graphics characters may be contiguous or separated. within the receiver and locks the total TELEVI EW system onto the h Graphics characters may be held during other control Incoming interlaced signals. When no transmission IS taking characters place, the chip generates an interlaced or non-Interlaced com- posite sync signal which is used to synchronize the receiver. Special graphics for high resolution applications. A full set of color display facilities as described in the Broadcast 2 Provides the following display facilities controlled from the Teletext Specification (September 1976) is provided by the user's keyboard/keypad via the control chip. device. a. Switch between normal and data Video The device is fabricated in the General Instrument N-Channel, b Teletext or Viewdata Operation. metal gate, MOS process providing direct TTL interfacing, high c. Clock time can be boxed into a normal picture (Teletext speed, and good reliability. only). d. Display of one half page in double height. DISPLAY FACILITIES e. Monochrome output of data Mix Mode. Provides the following display facilities controlled by Control f. Inhibiting of character rounding and flashing. characters read from the store i.e. via the TELETEXTIVIEW- g. Enabling of a cursor DATA transmission. h. Inhibit the display until updated. a. Alpha-numerics/Graphics in seven color set i. Reveal concealed characters. b Color or black backgrounds. c Selected characters may be concealed CHARACTER SETS d Selected characters may be flashed AY-3-9735-002 English e. Characters may be boxed into the normal Television Pic- German AY-3-9735-003 ture. This can be done manually or automatically. Finnish/Swedish AY-3-9735-004 f. Characters may be either single or double height. Italian AY-3-9735-006 9-33 AY-3-9735 PIN FUNCTIONS Pin Number Name Function This is the negative supply for the chip and is used as a reference for all electrical parameters. 2 Chip Select Input The chip can be put in its deselected state by connecting this input to Vce. The input has an internal pull down to Vss. If connected to VDD the test mode is selected. 3-12 AO-A9 These pins are connected to the Address Bus of the TELEVIEW system. They are used for address Input/Output. 13 Read/Write Output This output is used to drive the Random Access Memories forming the Page Memory. 14-16 SSO-SS2 Outputs These binary coded outputs are used to select the required Page Store. 17,18 TS1, TS2 Outputs These outputs are generated by the Video Generator from the status of the raster scan and are used to indicate this status to other chips within the TELEVIEW system. 19,20 19.2KHz and 1.2KHz These outputs provide 19.2KHz and 1.2KHz square wave signals which are used by the Outputs UARIT as reception and transmission clocks respectively. 21 6MHz Input This input is fed from a 6MHz oscillator which is phase locked to the normal transmission for Teletext On Hours operation. During Off Hours working a free running crystal oscillator is normally used. 22 RSYNC Output Open-drain output, used to indicate the presence of Teletext lines to the DA Chip and Data Grabber. 23-25 Red, Green and Push-pull outputs which go high to turn on the relevant color gun for displaying. These Blue Outputs outputs are closely matched for propagation delay and rise and fall times. 26 PicturelText Output This output may be used by the TV receiver to determine whether to display the normal TV Picture or the generated Text as provided at the Red, Green and Blue outputs. In the mix mode this generates monochrome video. It will then be matched to the gun outputs for prop- agation delay and rise and fall times. 27-34 50-07 Inputs The Data I nputs form the communication highway between the Video Generator and the Control Processor and Page Memory. 35 Phase Comparator In On Hours operation the display Line Flyback signal is compared for phase with an internal Outputll nterlace 64ps period signal derived from the 6MHz display clock. The output is a pulse which Select Input produces a voltage for controlling the frequency of a 6MHz display oscillator, thus locking the display to the incoming picture. In Off Hours operation this open-drain output goes high permanently, and thus can be used as an indication of On Hours/Off Hours status. When this output is high the oscillator must run fast and when this output is low the oscillator must run slow. In Off Hours operation, if the Phase Comparator output is held Iowa 313 line non- interlaced sync is provided at the Composite Sync output. If the Phase Comparator output is pulled high connected to Vce via a 4.7K resistor, interlaced sync will be provided. 36 Line Flyback Input The Line Flyback input is a signal from the display deflection circuitry which is used for posi- tioning the display on the TV screen. Line Flyback pulses are positive. If no Line Flyback is provided in Off Hours mode the display will be positioned so that the start of video is approx- imately 16ps after the negative edge of line sync. 37 Comp Sync Output Open-drain output. In On Hours working or in Picture mode it outputs a regenerated com- posite sync signal from the composite sync input. In Off Hours working it outputs an inter- nally generated composite sync. 38 Comp Sync Input The composite sync input monitors the composIte synclvldeo being receIved and extracts synchronizing information and On Hours/Off Hours information forthe Video Generator. This input must be predominantly high for Off Hours switching. Sync pulses are negative. 39 This pin is connected to the +5V supply. 40 This pin is connected to the +12V supply. 9-34 AY-3-9735 CHIP DESCRIPTION on half of a page. The address so produced is presented on the The Video Generator Chip contains the logic and control func- address bus and the required Page Memory is activated by the tions to interrogate a selected TELEVI EW Page Store and display Store Select Outputs. The address drivers are tristate thus allow- the contained information at the correct period within the raster ing easy bus interface, being active for 40l1s starting 3.5-6I1S after scan on a normal TV receiver. The chip also generates the master LFB. timing sign'alsTSl and TS2 which indicate the raster status tothe Input Latches and Character Read Only Memory - The data Control processor and Data Acquisition chips. being read from the required Page Memory is placed on the Data Comp Sync Generator and On Hours Detector - The prime Bus and is latched into the Data Bus latches. A total of 450ns is function of this block is to detect negative going sync signals allowed for the RAM read cycle and thus quite slow Random from the incoming mixed sync and to synchronize the TELEVIEW Access memories may be used. Having been latched by the Video system with the transmitted signal. When the incoming trans- Generator chip the seven bit character is used to address the mission is turned off, (i.e. goes Off Hours). this is recognized by character Read Only Memory. This memory is organized as 96 the detector after at least 300ms of missing sync pulses. An characters each of 45 dots (5x9 array). internally generated Composite Sync is then switched to the Composite Sync out pin. Thus the receiver will continue in lock Data Control Latches (Color Background Control) - Certain but synchronized to the Video Generator. Similarly if the normal characters indicate to the video generator a change in display transmission resumes, the fact that external sync pulses are being status. These characters are contained within columnsO and 1 of received is recognized by the Video Generator and the chip will the character set and may be used to change character color, re-synchronize itself with the incoming transmission. Because the background color, height, etc. Video Generator IS aware of the status of the mixed sync at all Output Logic and Drivers - The output logic reads the character times the chip can detect frame sync, line sync and even and odd ROM into a six bit parallel to serial shift register. This operation frames. Thus with this information the chip can continuously moni- occurs at the left-hand side of the character to be displayed, the torthe current line number. The relevant sections of the linescan data in the register is then shifted out at 6MHz (character dot-rate) are decoded and are indicated externally by the TSl and TS2 time the data bits selecting between character and background infor- slot outputs: mation. This information is used to drive the fast Gun output a. Writing to RAM. TS10 drivers. These outputs are closely matched for propagation delay This occurs during lines 7 to 22 under control of the DA and rise and fall time to ensure good legibility. chip. b. Reading from RAM. TSOO This occurs under control of the Video Generator chip DATA INTERCHANGE between Iines48 and 288, and is when the display is active. During the TS11 timeslot the Video Generator can receive infor- c. Data Interchange Period. TSll mation from other devices attached to the TELEVIEW system The interchange of information between DA, Control busses. This is normally used by the control chip to update the Processor and Video Generator occurs during this period control and display latches within the Video Generator. The (lines 23-47). Video Generator is enabled to receive by putting the address d. Spare TSOl 111 XXOXXXX on the address highway (active high). During lines 289-006 the Video Generatordoes not use the The latches are updated by the following con,rol words, active Data Bus. low signaling, most significant bit is a strobe. As the chip is aware of the raster status it also starts and stops the Highway Free 0000 0 0 0 0 address counter/latch combination which is used to scan the Control Word 1 1 000 T S s s relevant Page Memory. Control Word 2 1 001 X C. C e Control Word 3 1 01 0 C10 C g Co C C7e } Teletext Character Counter and Address Logic - The address counter is a Control Word 4 1 011 C,. C'3 C'2 C" binary counter which is incremented at the Character Display ~s Rate (1 MHz).lt can also be loaded from a latch which contains the Control Word 2 1 001 X F 0 start address of each character row. Since each character con- Control Word 3 1 01 0 b 7 0 be } Viewdata sists of 10 vertical lines of raster scan, the counter is incremented Control Word 4 1 01 1 b. b3 b 2 b, 40 times from a start address and then is reloaded with the same Store Select start address ready for the next raster scan of the same forty for Display 1100 SP D d d characters. This occurs nine times. On the last line the counter is Key Data 1101 * P * * incremented once and this new address is stored in the latch. This Other Facilities 1 11 0 X BH M BC address being the start address of the next row of forty charac- ters. The above sequence is then repeated. The Control bits are as follows: - T TELETEXT Mode I.e. not VIEWDATA If displaying only one half of a page with all characters in double Sss Identification of Store being written height, the Video Generator scans the same forty addresses nine- Odd Identification of Store being displayed teen times and stores the new address on the twentieth raster scan. If it is in the bottom half of the page, the address counter is (a) Teletext initialized to 480. Erases rows 1-23 of Store defined by Sss and resets The display format of 40 characters, each ll1S wide occurs on a Reveal if Sss = Odd line of 6411S duration thus leaving a border of 1211S at each end of Cs Newsflash the character row. This address counter is actually started some Ce Subtitle 411S before the start of the proper character display thus allowing C7 Suppress Header time for address generation, RAM access time, ROM access time C8 Update Indicator and display processing, these actions being pipelined. Facilities C. No action are also provided such that the output address can be reduced by C,o Inhibit display 40thus allowing accessing ofthecharacter in the row above. This C" No action Is a necessary operation for a Double Height display option which C'2- C " No action (may be programed to enable and disable will be described later. This facility is inhibited while displaying the chip) 9-35 IINsa~1 AY-3-9735 Character Rounding - Characters are normally rounded by For the chip to be able to look for synchronism the following phaae adding half dots to smooth diagonals. For normal height charac- relationship between Line Flyback and Composite Sync must be ters the extra TV lines made available by interlace are utilized for satisfied. this and so if In non-interlace mode single height characters (a) Earliest back edge of LFB Is 2ps after leading edge of line cannot be rounded. sync. Character rounding can be inhibited totally by a signal from (b) Latest leading edge of LFB is 2ps after leading edge of line Control and in this mode. intended specifically for printers, flash- sync. ing is also suppressed. Reset by P key or new Viewdata page. (c) Latest back edge of LFB is 12ps after leading edge of line sync. Cursor - The cursor Is stored as the 8th bit of the appropriate character in the Deta Store. When switched on It is displayed as a The minimum length of the LFB pulse is 8/1s. bar on the bottom line of the character rectangle flashing 6MHz Display Oscillator - The 6MHz display oscillator must run between foreground color and black in antiphaseto normal flash- fast In the OFF Hours mode but not so fast that the On/Off Hours ing characters. detection criteria cannot be satisfied. This sets a maximum offset Non Interlaced Operation - When interlaced composite sync is of +1.5KHz, the minimum offset is set by lock time criteria and Input to the chip It operates in normal Interlaced Mode and would typically be +0.5KHz. regenerates interlaced composite sync. The frequency range of the oscillator must extend below the If there Is no Incoming sync the chip switches to the OFF hours 8.0MHz nominal frequency. The minimum frequency should be at mode. least -0.5KHz but can be as low as convenient. If the Phase Comparator output is pulled high, e.g. 4.7K to Vee, Interlaced Sync is output. If the Phase Comparator output is held COMPOSITE SYNC INPUT low Non-Interlaced Sync Is output and character rounding for On-chip dc restore is provided which allows simple interfacing to single height characters Is inhibited. the television, either Composite Sync signals or video being acceptable. As the Composite SyncIVldeo signal from the television may not SIGNAL DETECTION CRITERIA be referenced to the system ground it Is ac coupled to the chip. (For On Hours Operation) A typical Interface Circuit is: The Video Generator detection circuitry for incoming sync signals Is designed to prevent misoperation in the presence of noise. The criteria for detection is defined below. Line Sync - The Composite Video Input must be negative for COMPOSITE COMPOSITE greater than 3/1s. SYNC IN SVNCIVIDEO (CHIP) (TELEVISION) Frame Sync - The Composite Video Input.must be negative for 0------1 greater than 12psand at least 310 lines (Line Flyback pulses) must C have occurred since the previous Frame Sync detection. INPUT LEVEL TYPICALLY 1-5V Odd Frame Detection - Odd Frame Detection occurs when a Line Flyback pulse falls in a window 12-39/1s after frame Sync Detec- tion. This Is used to lock the line counter. -5V On Hours/Off Hours Detection - The Incoming line flyback and NOMINAL VALUES: C. = O.1pf line sync pulses are compared to determine whether a valid trans- R = 1M mission is being received. Lack of coincidences/frame are accumulated and If more than 16/frame occur for a period 350- 1000ms the logic deems that a valid transmission Is not being received and the chip switches Off Hours. If however, less than eight occur in any two successive 1/2 frames, the logic deems that a valid Composite Sync is being received and the system goes On Hours. AY-3-9735 ( b) Viewdala Boxing - Text or graphics characters can be boxed into a normal b,-b, Cursor Control Bits video picture. While in Picture mode boxing is automatic if News- 001 0001 Cursor ON }The two Control Words that make up flash orSub-title and Sss = Ddd. Other boxed characters may be these codes must be transmitted in manually revealed by Reveal command. 001 0001 Cursor OFF numerical order in the same TS11 timeslol. Double Height - Double height characters are characters con- tained between the control characters Double Height and Normal F Form feed or first appearance, Erases store defined Height or end of line. When a Double Height control character is by Sss, resets Reveal if Sss = Ddd read from the RAM only the top half of the subsequent character SP Sets Picture/Text to picture (for initialization) is displayed during the 10 raster scans. During the next 10 scan P P Key pressed. Resets Reveal, Half Page Expansion, lines 40 is subtracted from the addresses being output on AO-A9 Newsflash/Subtitle (Auto Box), Suppress header, so the same 40 addresses are read from another 10 times. Charac- Inhibit display, Update. ters which are not double height are displayed as the background M Mix Mode } The latches are set color and the bottom of the double height character is displayed. BC Box Clock (TELETEXT only) and reset by the BH Box Header (TELETEXT only) appropriate bit Hold Graphics - When this latch is set, any subsequent control These are coded as follows: characters (except change Double/Normal Height or Change 001 Picture/Text Key pressed } Alpha/Graphics) are displayed as the last graphics character. 010 Reveal/Conceal Key Passed Latches toggled by the 011 V, Page Key Pressed (Cycles appropriate code Special Graphics - While in Graphics Mode the Special Full, Top, Bottom, Full, etc) Graphics command will give a special high resolution facility. In 100 Update/Clear Key pressed this mode there IS a one to one correspondence between data bits 101 Rounding and Flashing OFF (Reset by P Key or new b1, b2, b3, b4, b5, b7 and the six dots in each horizontal line of a VIEWDATA page) character. This gives a possible graphics resolution of 6 x 20 for 111 Hold (not used by AY-3-9735) each character in interlace mode (or 6 x 10 if not interlaced). Box Clock - When box clock is selected in Picture mode and DISPLAY OPTIONS Teletext the last eight characters of the page header are boxed in Logic is contained on the Video Generator chip to process the double height. To ensure that the live clock is displayed the store Display Modes as described in the Broadcast Teletext Specifica- address is temporarily switched to that defined bySss. This func- tion. These facilities are outlined below. tion is cleared In text mode. Character Set- The chip can display 96 Alphanumeric charac- Box Header - When box header is selected in Picture mode and ters and 64 Graphic shapes which may either be contiguous or Teletext the page header is boxed in double height (not if bottom separated. The alphanumeric format is determined by a 4320 bit half of page selected). Read Only Memory organized as: 96 (characters) x 5 (dots) x 9 (lines) = 4320 Half-page Operation - This allows either the top or bottom half of a normal TeletextlViewdata page to be displayed over the This can be programed for different character fonts whole screen, with each character in double height. This makes The graphic. shapes are determined directly from the bits of the the display header easier to read from a distance. Double height character code. characters are ignored in this mode. Display and Background Color - The characters and the back- Monochrome Output/Mix Mode - In normal operation the Pic- ground can be displayed in one of seven colors. In addition the ture/Text Output is used to blank the normal picture information background may be black. This information is stored in two sets for boxing or displaying a page of text. of three latches representing character and background colors. In the mix mode this outputs Monochrome text information which Conceal and Flash - Selected characters can be concealed and is matched to the Gun Output signals in delay and drive. This can optionally revealed by the viewer. Selected characters can be be used to superimpose text onto a picture by cutting away the flashed on command. The flashing is controlled by an on-chip picture below text data or as an output for Monochrome displays flash oscillator. During the flash period or when concealed, only or printers. In this mode colored backgrounds are suppressed for background information is displayed. The flash rate is 1.56Hz. viewing clarity. The output is at a low level to display a character. TYPICAL TIMING DIAGRAM FOR INPUT DATA STROBING ~~~~E;:A_N_D ~)t:~________________________________~~L __ _ _ _ __ _ I I 57 (STROBE) 9-37 AY-3-9735 ELECTRICAL CHARACTERISTICS Maximum Ratings* Voltage on any Pin with Respect to Vss •••••••••••••••• -0.3 to +15V * Exceeding these ratings could cause permanen dam- Storage Temperature Range ................•......... -55° C to +150° C age to the device. This is a stress rating only and func- tional operation of this device at these conditions is not Standard Conditions (unless otherwise noted): implied-operating ranges are specified in Standard Vss = OV (Substrate voltage) Conditions. Exposure to absolute maximum rating con- Vcc= +5V ± 5% ditions for extended periods may affect device reliability. Voo = +12V ± 10% Data labeled "typical" is presented for design guidance Operating Temperature Ranges (TA): O°C to +70°C only and is not guaranteed. Clock Frequency 6.0MHz Characteristics Min Typ** Max Units Conditions INPUTS Chip Select Input Logic High 2.2 - Vce V Input Logic Low Vss - 0.8 V Input Current 10 25 100 pA V'N= 5V Comp Sync Input Logic High 1.0 - Vee V Input Logic Low -0.3 - 0.05 V See Note 1 Input Capacitance - - 15 pf V'N=OV Source Current - 50 - pA V'N=OV 6MHz Input Logic High 2.8 - Voo V Input Logic Low Vss - 0.4 V Input Capacitance - - 25 pf V'N=OV Mark to Space Ratio 40:60 - 60:40 Frequency 1.0 - 6.5 MHz Input Leakage - - 10 pA V'N = 12V All Other Inputs Input Logic High 2.2 - VDD V Input Logic Low Vss - 0.8 V Input Capacitance - - 15 pi V'N=OV I nput Leakage - - 10 pA V,N = 12V OUTPUTS Addresses, Read/Write Store Select (Tri-State) (Note 2) Logic ~ligh Output 2.4 - Vce V 10H = -320pA Logic Low Output Vss 0.2 0.45 V 10L =3.2mA Capacitance - - 15 pi V,N=OV T rise T lall - - 200 ns C LOAD = 200pf Leakage (Disabled) - - 10 pA Vo= OV, 5V Time Slots (TS1, TS2) (Push Pull) Logic High Output 2.4 - Vcc V 10H = -320pA Logic Low Output Vss 0.2 0.45 V 10L =3.2mA T rise T fall - - 200 ns C LOAD = 200pf Comp Sync (Open Drain) Logic Low Output Vss - 0.45 V 10L = 1.6mA Logic High Leakage - - 10 pA Vo= 12V Capacitance - - 20 pf Vo=OV Delay from Camp. Sync In. - - 1 ps ON Hours only RSYNC (Open Drain) Logic Low Output Vss - 0.45 V 10L =4.0mA Logic High Leakage - - 10 pA Vo=5V Capacitance - - 15 pI Vo=OV Phase Comparator (Open Drain) LogiC Low Output Vss - 0.45 V 10L =4.0mA Logic High Leakage - - 10 pA Vo= 12V Capacitance - - 15 pf Vo=OV **Typical values are at +25°C and nominal Voltages. NOTES: 1. Voltages below -0.3 volts should be current limited to 1mAo 2. All tristated when Chip Select = Vee R.G.B. outputs also tristated when displaying picture and not mixed. 3. Picture/Text matched in mix mode only. 9-38 AY-3-9735 Characteristics Min Typ ** Max Units Conditions R.G.B. Outputs Picture/Text Output (Trl-state) (Note 2) Logic High Output Vee-1 - Vee V I SOURCE = 2mA LogiC Low Output Vss - 1 V ISINK = 5mA Capacitance - - 20 pf VIN=OV T rise T fall (10%-90%) - - 30 ns C L = 30pf Differential T rise T fall - - 30 ns C L = 30pf (Note 3) Leakage (Disabled) - - 10 pA Vo = 0.5V 19.2kHz, 1.2kHz Outputs Logic High Output 2.4 - Vee V IOH=-32pA Logic Low Output Vss 02 0.45 V 10L = 320llA T rise T fall - - 1 ps C LOAO = 100pf POWER Vee Supply - 25 40 mA Vee=5V Voo Supply - 50 80 mA Voo= 12V ""Typical values are at +25°C and nominal voltages. NOTES: 1. Voltages below -0.3 volts should be current limited to 1mA. 2. All tristated when Chip Select - Vee R.G.B. outputs also tristated when dIsplaying picture and not mixed. 3. Picture/Text matched in mix mode only. 9-39 9-40 GENERAL INSTRUMENT Video Graphics 9-41 8900 System GENERAL INFORMATION 8900 Programable Game System FEATURES • Infinite game selection • Lowest cost expandable system • Uses programable Read Only Memories with 16K and 20K Storage (RO-3-9502, RO-3-9503, and RO-3-9504) • Eight color selectable, coordinate addressable game objects • Resident library of 256 complex game objects, including full 64 character alpha numerics • Shape library extendable by a further 256 objects using graphics RAM. • Full multicolor background capability • Sixteen selectable color tones • Program controllable moving background • Two hundred and forty independently programable background loc!ltions DESCRIPTION The 8900 system is based on two processors; one computes the game action against the stored program rules; and the second interprets a condensed memory area and uses this to generate the T.V. raster display. The second processor fetches moving and background pictures from the graphic picture storage and pre- sents the data as a video output. The set consists of five General Instrument supplied N-Channel circuits. The AY-3-8900 Standard Television Interface Circuit (STIC); the CP1610 GIMINI Microprocessor; an RO-3-9502 20K program ROM; a similar RO-3-9503 graphics picture ROM and an RA-3-9600 RAM. To complete the system the user supplies clock- ing and modulation circuitry plus any other peripheral control requirements. Other circuits may be optionally added to expand the system capabilities. They are the AY-3-8910 Sound Genera- tor, the RO-3-9504 ROMs, and Standard RAM devices. 8900 SYSTEM DIAGRAM r;';T-;;;-N~-' SUPPORT I MEMORY I I I J I 9-42 AY-3-8900 AY-3-8900-1 Standard Television Interface Chip FEATURES PIN CONFIGURATION • Outputs include coded signal timings for CCIR or NTSC 40 LEAD DUAL IN LINE compatible video signal generation AY-3-8900 for CCIR, A Y-3-8900/A Y-3-8900-1 AY-3-8900-1 for NTSC TopVlew • Operation from a 4.000MHz clock for AY-3-8900 and from a 3.579545MHz clock for AY-3-8900-1 Vss [ " ~ 40P Vila • 8 coordinate addressable foreground objects on a grid of SA3 [ 2 39P V2 OWS· [ 3 38P V1 168H by 104V for AY-3-8900 or 167H by 105V for AY-3- 8900-1 of which 159 x 96 are visible positions OTB' BAA' [ 4 [ 5 37E VO 368 SDO • Foreground objects independently programable for half BC2 [ 6 35P S01 height, y zoom, x zoom and 8 or 16 character lines high BC1 [ 7 34P S02 • Selectable background display on a matrix of 20H x 12V BOlA C 8 33P S03 using 8 x 8 picture elements SA1 [ g 32P S04 01 [ 10 31 ~ 805 • Capable of accepting data, address and graphics 02 C 11 308 S06 information on common multiplexed bus SA2 C 12 29 PS07 • 16 digitally selectable colors MSYNC [ 13 28 PS08 ASTIN [ 14 27 PSOg Clock ~ 15 26 ~ S010 V4 [ 16 258 S011 Vss ( 17 24 P8012 DESCRIPTION V3 [ 18 23 P8013 V5 [ 19 22p V1 The AY-3-8900/8900-1 STIC is designed for use wIthin a comput- Vee ( 20 21 PV2 er system having an external CPU and an area of ROM and RAM memory. Some of the memory must be dedicated to the support of the graphIc character descriptors and patterns. The display facilIties of the circuit are separated into two simul- taneously operating modes. The main chip function provides tion. Once the first line has been accessed by the SR2, SR3 eight coordinate positioned "foreground" objects, which have a combination, the following fifteen lines to complete the 8 x 8 array number of display optIons including selection from a choice of are fetched by SR3 alone. sixteen colors. The second mode provides a background display facility, which is composed of a matrix of twelve rows by twenty The SR3 signal is also issued during the CPU controlled mode in columns of which 19 are composed of 8 x 8 picture elements and response to BAR, ADAR or DW to enable an external device onto the 20th 7 x 8 picture elements. The "background" mode utilizes a the 14 bit BUS. dedicated area of external memory (240 by 14 bit words) to store The second control bus is used to specify address, read and write the character control codes for each display position and both sequences for the area of external memory used to store the modes require some external memory assigned to the storage of graphic character "dot" patterns. The three signals on this BUS the character patterns. The graphic pattern memory is eight bits are BAR', DTB' and DWS'. The BAR" is output by the AY-3- wide. 8900/8900-1 when a valid graphics character address is on the 14 The AY-3-8900/8900-1 operates within the computer system by bit BUS. The external memory must latch this address for future time sharing a bidirectional 14 bit bus. The demultiplexing and read or write operations. The DTB' signal indicates that a "read" is the system synchronization are defined by three sets of control requested and the external memory must place the eight bits of signals. character pattern onto the 14 bit BUS. The DWS' signal indicates The main synchronization which operates at the T.V. frame rate that a "write" is requested. uses SR1, SR2 and SR3. The SR1 Signal occurs once per frame The graphics control BUS is used during "STIC" time in the fetch and it is used to synchronize the CPU algorithms to the intended of "foreground" object patterns and "background" object pat- display sequences. SR1 indicates that STiC time is complete and terns. During the non "STIC" time when in the CPU controlled that the AY-3-8900-1 has switched to the CPU controlled mode. mode, the graphics control BUS can be used to link the memory SR2 is issued thirteen or fourteen times per picture frame de- area containing the graphics patterns to the main memory area of pending on pIcture offset. The AY-3-8900/8900-1 takes this signal the external microprocessor. low to request the first line access for a new row of twenty The third control BUS communicates with the external CPU. This characters. BUS comprises signals BC1, BC2 and BOIR. They are coded to The SR3 signal operates in conjunction with SR2 to read the signify address, read and write sequences. The CPU control BUS "background" character descriptors out of external memory. The is only validated if the AY-3-8900/8900-1 is in the CPU controlled AY-3-8900/8900-1 pulses SR3 positive for each character posi- mode, otherwise it is ignored. 9-43 AY-3-8900. AY-3-8900-1 ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceeding these ratings could cause permanent dam- Temperature Under Bias ...........•.....•............•. O°C to +40°C age to the device. This is a stress rating only and func- Storage Temperature .•.............................. -55° C to +150° C tional operation of this device at these conditions is not All Input or Output Voltages with Respect to VBB ••••••••• -0.2V to +9.0V implied-operating ranges are specified in Standard Vee, Voo & Vss with Respect to VBB . . . . . . . . . . . . . . . . . . . . . . -0.2V to +9.0V Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability Standard Conditions (unless otherwise noted) Data labeled "typical" is presented for design guidance TA = O°C to +40°C, V•• = -3.3V, only and is not guaranteed. Vee = ±4.85V-±5.15V, Vss = OOV Characteristic Sym Min Typ Max Units Conditions DC CHARACTERISTICS Bus Inputs Input Logic Low VIL 0 - 07 V Input Logic High V'H 2.4 - - V Input Current I,L - - 10 JiA Vln = Vee Bus Outputs Output Logic Low VOL 0 - 05 V 1 TTL Load Output Logic High VOH 2.4 - Vee V +100pF Supply Current Vee Supply Icc - - 200 rnA Vee = +5.25V @40°C AC CHARACTERISTICS Clock Input Frequency fel - - - MHz 4.000 for AY-3-8900 3.579545 for AY-3-8900-1 both externally adjusted Bus Inputs Address Set Up tas 200 - - ns Address Overlap lao 30 - - ns Write Set Up tws 100 - - ns Write Overlap two 30 - - ns Bus Outputs Turn ON Delay tda - - 140 ns 1 TTL Load Turn OFF Delay tdo 0 - - ns +100pF 9-44 AY-3-8900. AY-3-8900-1 IINsr~D~~ I SYSTEM SYNCHRONIZATION TIMING SRl LJ u u SA2 ... ~~~ ....+I.._ - - - G A A P H I C TIME - - - - - - 1..o-ll SA2 ~'--_ _ _ _ _" : - - - - - - - - - - - - - - - - - - - - - - - - - - - . ' - -_ _ _ _ _........ 1 SA3 _ _--JILWIlIu.ull1...... 111...... 111 11 .....1J.J.l1I1 1 ......---'J.IWJIIILWIl1u.u1l1..... 11I 1 ...... 11 1 ...... 11 1 ......_ _____ ~I~IIIIu.uIlILWIII...... IIIJ.UIII=III_~II=IIII~IIILWIIILWIII...... III~II_ _ LINE 1 LINE 2 LINE 16 LINE 1 CONTROL SIGNAL OPERATION DURING CPU TIME TIME SLOT 1'1213141'1213141'1213141'12!3!41'12!3141,!213141,!2!31 4 !1!21 3 !4! CPU CONTROL ..J ADDRESS READ ADDRESS WRITE SA3 L BAR' DTB' --:~--- ..... L OWS' L OBJECT FETCH TIMING BAA' ..J DTB' I ;-1 ---~I_____ DATA OUT -J,00", j'00~ ----iC=:=}-1----t----C=:Jr- I L700~ J 50 I+- DATA IN -------{===J------- AY-3-8900-1 CPU CONTROL TIMING 12341234123412341234123412341234 I DATA OUT D 9-45 RO-3-9502 Program ROM FEATURES PIN CONFIGURATION • Mask programable storage providing 2048 x 10 bit words 40 LEAD DUAL IN LINE • 16 bit on-chip address latch • Control decoder • Programable memory map circuitry to place 2K ROM page v" BC1 within 65K word memory space located on 2K page RE BC2 boundaries R/W BOIR NC DBO • Master logic with programable 16 bit vectored start address 0615 ADORO • Interrupt logic with programable 16 bit vectored interrupt NC DB1 acklress DB14 ADOR1 • 16 bit static address outputs for external memory NC DB2 • Control signals for external memory: 0813 ADOR2 ENABLE = (DTB + DWS) Address External = RIE NC DB3 0812 WRITE = DWS. Address External = R/W AODA3 NC DB4 • Programable memory map selection for external memory DB11 AOOA4 area NC DBS • Bus drive capability, 1 TTL load and 100pF plus tri-state 0610 ADDR5 ADDR9 DB6 DB9 ADOR6 ADDRB DB7 DBB AODR7 CIRCUIT REQUIREMENTS MSYNC v" The RO-3-9502 operates as the program memory for systems using a CP1610 series microprocessor. INPUT CONTROL SIGNALS It is configured as 2048 x 10 bit words and contains several features which reduce the device count in a practical micro- EQUIVALENT BOIR BC1 BC2 RESPONSE processor application. SIGNAL 0 0 0 NACT NACT 0 0 1 lAB lAB OPERATING DESCRIPTION 0 1 0 ADAR ADAR The RO-3-9502 is initialized by the MSYNC Input and from the 0 1 1 DTB DTB positive edge of this signal, it remains In a tn-state output condi- 1 0 0 BAR BAR tion, awaiting the lAB response. During the lAB, the 9502 trans- 1 0 1 DWS - mits a 16 bit code onto the external bus thus providing the system 1 1 0 DW - start address vector. the completion of the MCLR sequence is 1 1 1 lNTAK - recorded on chip such that any further lAB Codes output the second interrupt vector. From initialization, the 9502 waits forthe OPERATION WITH EXTERNAL MEMORY first address code. For this address code and all subsequent The 16 bits from the address register are provided as static out- address sequences, the 9502 reads the 16 bit external bus and puts for connection to external ROM or RAM devices. Two other latches the value into its address register. The contents of this signals are provided to control the external memory area. An address register are made available for connection to external enable signal is provided for any read or write operation, and a memory and are supplied on 16 latched outputs with a drive write signal, for any move out operation. The two external mem- capability of 1 TTL load and 100pF. ory control signals are gated by a min-max memory map compar- The 9502 contains a programable memory map location for its ator. The minimum and maximum values are programable on own 2K page and if a valid address is detected, the particular boundaries within the 65K word memory area. The memory map addressed location will transfer its contents to the chip output comparator for external memory is a simple single compare and buffers. If the control code following the address cycle was a the operation is such that when a 2K area IS chosen, a five bit Read, the 9502 will output the 10 bits of addressed data and also compare is used and for a 4K area a four bit compare, etc. The drive a logic zero on the top six bits of the bus. effect of this is that 2K pages may start on 2K boundaries, i.e., 0, 2, 4,6,8 etc., but 4K pages must be on 4K boundaries, i.e., 0, 4, 8, 12, etc. The same is true for 8K and 16K pages. 9-46 RO·3·9502 IN~~ ELECTRICAL CHARACTERISTICS Maximum Ratlngs* * Exceeding these ratings could cause permanent dam- Temperature Under Bias ................................ O·C to +4O·C age to the device. This is a stress rating only and func- Storage Temperature ................................ -55·C to +150·C tional operation of this device at these conditions is not All Input or Output Voltages with Respect to Vss ••••.••.• -0.2V to +9.0V implied-operating ranges are specified in Standard Vee with Respect to Vss ................................ -0.2V to +9.0V Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Standard Conditions (unless otherwise noted) Data labeled "typical" is presented for design guidance T. = O·C to +40·C V•• = O.OV only and is not guaranteed. Vee = +4.85V - +5.15V Characteristic Sym Min Typ Max Units Conditions DC CHARACTERISTICS Inputs Input Logic Low V,L 0 - 0.7 volts Input Logic High V,H 2.4 - Vee volts Input Leakage V,L - - 10 pA V,N = Vee CPU BUS Outputs Output Logic Low Output Logic High VOl.. VOH 0 2.4 -- 0.5 Vee volts volts 1 TTL Load +100pF Address and Enable Outputs Output Logic Low VOl.. 0 - 0.5 volts 1 TTL Load Output Logic High VOH 2.4 - Vee volts +100pF Supply Current Vee Supply Icc - - 120 mA Vee = 5.25V @ 40°C AC CHARACTERISTICS Inputs Address Set Up Ia. 300 - - ns Address Overlap Write Set Up tao twa - 300 50 - - - ns ns Write Overlap two - 50 - ns CPU BUS Outputs Turn ON Delay tda - - 300 ns 1 TTL Load Turn OFF Delay tdo - - 200 ns +100pF Address and Enable Outputs Turn ON Delay tad. ted - - 200 ns Turn OFF Delay Turn ON Delay tao twd - - -- 150 300 ns ns Turn OFF Delay two - - 150 ns 9-47 IIN~~I RO-3-9502 MEMORY TIMING RO-3-9502 CONTROL CODE .-J ADDRESS I..--_ _...J READ I..--_ _...J1 ADDRESS 1 I..--_ _...J WRITE 104 "11.o~ la. Iw. , .. • llwo~ DATA IN ----Ir--~----------IL.._ _ ___II------I r-- -..jld'~ ~ldO~ DATA OUT -----------11 1-1-------------- -+i tad I-+- EXTERNAL ~_._J-------------.~~ ADDRESS OUT ~ r--lL._ _ _ _ _ _ _ _ __ led ~ ~ ~ 1.0 I-+- ENABLE ---------~ ~----------~ I 1-------1 IWd 104 "I ~ Iw ~ WRITE LJ 9-48 RO-3-9503 Graphics ROM FEATURES PIN CONFIGURATION • Mask programable storage providing 2048 x 8 bit words 40 LEAD DUAL IN LINE • 16 bit on-chip address latch • Memory map circuitry to place the 2K ROM page within a 65K memory area v" A/W • 8 bit tri-state bus with higher 8 bits driven to zero during SR1 ENABLE read operations (BUSAK) OWS' 0815 DTB' • 11 bit, static address outputs for external memory NC BAR' • Control signals for external memory: OB14 NC ENABLE OB13 DBO R/W 0812 ADORa • Bus drive capability, 1 TTL load and 100pf plus tri-state DB11 DB1 NC ADORl 0810 DB2 OPERATING DESCRIPTION NC ADDR2 DB9 DB3 The device operates in three memory configurations. These con- ADORa ADDR3 figurations are selected via the input control signals. DB8 NC 1. When SRl has been pulsed negative, the memory is located at MSvNC DB4 12288 to 14335. The external memory is addressed at 14336 to ADDR7 ADOA4 DB7 DB5 16383. ADOR6 ADDA5 2. When BUSAK has been pulsed negative, the memory is lo- DB6 v" cated at 0 to 2047. The external memory is addressed at 2048 to 4095. 3. When BAR' and DWS' are pulsed positive, the memory will not respond to address bit 9 and address bit 10, which restricts the ory is also addressable from 0 to 511 relative to its current memory to 512 locations. The memory is now located from 0 to origin. Configuration three may be released by applying a 511 relative to the current memory origin. The external mem- negative pulse on the SAl input. MEMORY TIMING BAR' ~ DTB' DWS' ~~~~~ ~~~~~ DATA IN ----1'-___....l--------t___J"----t.___.....1- too I.. ~, -+-I tdo . . - DATA OUT I I Iod~ EXTERNAL ADDRESS ~ • y---------------, r----~ OUTPUT ~--------------- t.d I. ,." ...; too J-+- ted ,.. ,.,1 ~ too"- ENABLE ----------~I __ ~~I--------------------~ __ ~r- twd ,.. ,.,1 ~ t.o I-+- WRITE I.------Ir- 9-49 RO-3-9503 MEMORY POSITION RELATIVE TO CONTROL OPERATION SRl u BUSAK u u DAR' DWS' ____________________ ~n~ _____________ MEMORY POSITION 12-14K 0-2K I 12-14K 12-125K 0-05K 12-14K ELECTRICAL CHARACTERISTICS Maximum Ratings· * Exceeding these ratings could cause permanent dam- 'Temperature Under Bias ........•....•................•. 0° C to +40° C age to the device. This is a stress rating only and func- Storage Temperature ................•............... -55° C to +150° C tional operation of this device at these conditions is not All Input or Output Voltages with Respect to Vss ......... -0.2V to +9.0V implied-operating ranges are specified in Standard Vcc with Respect to Vss •..•...•................•....... -0.2V to +9.0V Conditions Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Data labeled "typical" is presented for design guidance Standard Conditions (unless otherwise noted) only and is not guaranteed. TA = O°C to +40°C Vee = +4.85V - + 5.1SV Vss = O.OV DC CHARACTERISTICS Bus Inputs Input Logic Low V,L 0 07 Volts Input LogiC High V,H 2.4 Vee Volts Input Leakage I,L 10 pA V1N = Vee CPU BUS Outputs Output Logic Low VOL 0 05 Volts 1 TTL Load Output Logic High VOH 2.4 Vee Volts +100pF Address and Enable Outputs Output Logic Low VOL 0 05 Volts 1 TTL Load Output Logic High VOH 2.4 Vee Volts +100pF Supply Current Vee Current Icc 150 mA Vee = +5.25V @ 40° C AC CHARACTERISTICS Bus Inputs Address Set Up tas 300 ns Address Overlap tao 50 ns Write Set Up tws 300 ns Write Overlap two 50 ns CPU BUS Outputs Turn ON Delay tda 300 ns 1 TTL Load Turn OFF Delay tdo 200 ns +100pF Address and Enable Outputs Turn ON Delay 200 ns 1TTL Load Turn OFF Delay 100 ns +100pF All delays measured between 2.2 Volts and 0.7 Volts test pOints 9-50 RA-3-9600 System RAM FEATURES PIN CONFIGURATION • Memory area 352 words of 16 bits 40 LEAD DUAL IN LINE • Address counter and control logic for D M.A operation • Control decoder for CPU data control signals • Memory map comparator and control logic for additional OB6 S06 memory on 14 bit bus OB7 SOS • Current line buffer - 20 words of 14 bits S07 OBS • Dnve capability on 16 bit and 14 bit bus for 1 TTL load and sos 0B4 OBS S04 100pf OB9 S03 S09 0B3 01>2 OB2 FUNCTIONAL DESCRIPTION S02 v'" The RA-3-9600 is a dual port interface and 16 bit wide RAM v"" v.. storage area The RA-3-9600 contains twenty 14 bit serial data v.. OB1 BUsAK S01 buffer registers with separate bus control signals SR3 SOD The RA-3-9600 memory IS 352 x 16 bit contig uous words from BC1 OBO address 512-863 with the graphics descnptors uSing the first 240 BC2 OB1S BOIR OB14 words The graphics use only the lower 14 bits of each word 0810 0813 leaving the two most significant bits available for user storage S010 S013 SOll S012 DB11 OB12 OPERATION DESCRIPTION The RA-3-9600 RAM accepts data from the CPU via a 16 bit bl-directlonal bus which IS time multiplexed with address and data A 3 bit control bus from the CPU IS used to provide strobe signals for the on-chip address latch and main memory area The RAM has two operating modes. increments the graphics address counter The shift registers are Mode 1-0n decoding an Interrupt the RAM IS enabled Into a bus also clocked at thiS time The SR3 Input provides twenty positive copy mode In this mode the RAM copies the lowerfourleen bits pulses to the 9600 and loads the shift register buffers while giVing of the CPU bus onto the graphics bus The direction of copy IS the graphics the first row of characters Althe end olthe first DMA always from the CPU and towards the graphics except during a cycle, after the CPU Interrupt, the graphics address counter Will bus reversal condition The reversal condition is Indicated when be at value 20 The 9600 operallon for the next fifteen lines Will be the CPU requests a read from an external graphics address on the to clock the 20 shift registers and gate the contents onto the 14 bit 14 bit bus Under this condition the 9600 Will turn Its 14 bit bus bus under control of the SR3 input. When the CPU is running and outputs into tn-state and gate the 14 bit bus through to the 16 bit BUSAK IS a logic 1, the graphics address counter is not incre- CPU bus mented and It stays at the value 20. At the end of the first row of characters, the complete DMA operation is repeated and the Mode 2-ls selected when the CPU Issues BUSAK command address counter will be left at 40 This sequence occurs forthe 12 (DMA req uest) The effect of BUSAK inside the 9600 IS to reselthe rows of characters until all 240 have been successfully accessed Interrupt synchronizing logic and to switch the address decoder from the CPU address register to the graphics address counter The operation of SR3, INCREMENT/TRI-STATE signal, IS to step the shift register sequentially through each of the twenty charac- ThiS counter, which sequences through the 240 words of graph- ICS data, will have been previously set to zero when the Interrupt ters If the BUSAK signal IS low, I.e., in DMA, It also increments the signal was decoded. When the CPU IS In the DMA state, the graphics ADDRESS COUNTER SR3 disables the 14 bit graphics graphics system Will prepare to display a new row of twenty bus during the low period. characters and to load the 20 buffer registers within the 9600 For At the end of active picture the STIC issues an Interrupt requestto the first cycle of DMA after Interruplthe graphics address counter the CPU The RA-3-9600 tests for the INTAK* response from the Will be at zero and the data at that address IS passed to the 14 bit CPU and uses thiS signal as an entry control for a copy mode output The acllon of SR3 Will enable the output buffers and drive between the two buses The end olthe copy mode IS controlled by the 14 bit bus The twenty shift registers are also loaded at this the first BUSAK negative edge. time The negative edge of SR3 tn-states the 14 bit output and *INTAK, equivalent BC1, BC2, BDIR = '1' 9-51 INsr~M\- RA-3-9600 ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceedi ng these ratings could cause permanent dam- Temperature Under Bias •.•••••••••.••••.•••••••.••.•••• O· C to +40· C age to the device. This is a stress rating only and func- Storage Temperature ••••••••••.••••••••••••.••.••.•• -SS·C to +IS0·C tional operation of this device at these conditions is not All Input or Output Voltages with Respect to Vss •••••.•• -0.2V to +18.0V implied-operating ranges are specified in Standard Vcc. Vee and Vss with Respect to Vss • • • • • • • • • • • • • •• -0.2V to +18.0V Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Standard Conditions (unless otherwise noted) Data labeled "typical" is presented for design guidance TA = O·C to +40·C Vee = +4.8SV-+S.1SV only and is not guaranteed. Voo = +11.6V-+12.4V V•• = -3.3V Characterlsllc Sym Min Typ Max Units Conditions DC CHARACTERISTICS Clock Inputs Clock Input Freq. ",2 - - - - MHz 1.79S4SMHz Input Logic Low V'Le 0 - 0.7 Volts Input Logic High V1HC 2.4 - Voo Volts Input Current LLe - - 10 J.lA V,n = Vee Bus Inputs and Control Inputs Input Logic Low V'L 0 - 0.7 Volts Input Logic High V'H 2.4 - Vee Volts Input Currents I'L - - 10 J.lA V,n = Vee Bus Outputs Output Logic Low V'L 0 - O.S Volts 1 TTL Load Output Logic High VOl. 2.4 - Vee Volts +100pF AC CHARACTERISTICS Clock Input ns Rise & Fall Time tr. tt - - SO ns CPU Bus Timing Address Set Up Time tas 300 - - ns - - } Address Hold Time tao SO ns Data Access Time tda - - SOO ns 1 TTL Load Data Hold Time tdo - 100 - ns +100pF Write Data Setup Write Data Hold tws tao 100 0 -- - - ns ns Graphics Bus Timing Data Access Time tga - - ISO ns 1 TTL Load Data Hold Time tgo - 100 - ns +100pF 9-52 RA-3·9600 CPU BUS TIMING (18 BIT) CONTROL COOES -.J ADDRESS READ L -_ _ --I ADDRESS L-_ _ _ _ _ _ --I WRITE ~~~~ ~~~ ~~~ DATAIN ---ic::==}----------{==~----[I=====:J~ DATA OUT GRAPHICS BUS (14 BIT) SR3 --..f \go 1-4 -...j tg. . . . . DATA OUT Fig. 1 BUS TIMING CPU INTERRUPT RESPONSE LJ CPU DMA RESPONSE GRAPHICS COUNTER RESET ~ L - -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ --Ir- r--, ) L_ "."..""'- ---- --- --- ,.,-,.,........... I ~ .-.' EXPANDED --- - - -, I I CPU DMA RESPONSE SR3 -.JlJL._~_.LJfl.._ ~"""UL __ -"i.--_ GRAPHICS BUS DRIVEN DURING SR3 nn - - - GRAPHICS COUNTER INC -----lUL_...IL___________--I /--...JUL...Ji.---_ 20 PULSES 20 PULSES 20 PULSES t5 GROUPS OF PULSES LINE BUFFER 15 LINE BUFFER LOAD REPEATS Fig. 2 RAM GRAPHICS OPERATION 9-53 RO-3-9504 Cartridge ROM FEATURES The 9504 contains a programable memory map location for Its • Mask programable storage providing 2048 x 8 bit words own 2K page, and if a valid address Is detected, the particular • 16 bit on-chip address latch address location will transfer Its contents to the chip output • Memory map circuitry to place the 2K ROM page within a buffers. If the control code following the address cycle was a 65K Memory area READ, the 9504 will output the 10 bits 01 addressed data and drive • 16 bit tri-state bus with higher 6 bits driven to zero during a logic zero on the top six bits of the bus: read operations CIRCUIT REQUIREMENTS INPUT CONTROL SIGNALS The RO-3-9504 operates as the program memory for systems BDIR BCl BC2 EQUIVALENT RESPONSE using a CP1610 microprocessor. It Is configured as 2048 x 10 bit SIGNAL words and contains several features which reduce the device 0 0 0 NACT NACT count in a practical microprocessor application. 0 0 1 lAB NACT 0 1 0 ADAR ADAR DESCRIPTION 0 1 1 DTB DTB(READ) 1 0 0 BAR BAR From initialization, the RO-3-9504 walts forthefirstaddress code, 1 0 1 DWS i.e., BAR. For this address COde and all subsequent address 1 1 0 OW seq uences, the 9504 reads the 16-blt external bus and latches the 1 1 1 INTAK value into its address register. MEMORY TIMING RO·3-9504 CONTROL CODE ~ ADDRESS READ ADDRESS ' - - - - - - ' WRITE t.. I_ ~It.ol-+- twa I_ ~ Itwo~ DATA IN ----1l__J---------1..__s--"1...__.....j1- DATA OUT 9-54 RO·3·9504 ELECTRICAL CHARACTERISTICS Maximum Ratings· * Exceeding these ratings could cause permanent dam- Temperature Under Bias ................................ O· C to +40· C age to the device. This is a stress rating only and func- Storage Temperature ................................ -55·C to +150·C tional operation of this device at these conditions is not All Input or Output Voltages with Respect to Vss ...•••..• -0.2V to +9.0V implied-operating ranges are specified in Standard Vcc with Respect to Vss ••.•••.•.••.••.•.•.•.•••••.••••. -0.2V to +9.0V Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Standard Conditions (unless otherwise noted) Data labeled "typical" is presented for design guidance TA = O·C to +40·C only and is not guaranteed. Vee = +4.85V - + 5.15V V•• = O.OV Characteristic Sym Min Typ Max Units Conditions DC CHARACTERISTICS Inputs Input Logic Low V,L 0 - 0.7 volts Input Logic High V,H 2.4 - Vee volts Input Leakage V,L - - 10 J1A V,N = Vee CPU BUS Outputs Output Logic Low Vo.. 0 - 0.5 volts 1 TTL Load Output Logic High VOH 2.4 - Vee volts +100pf Supply Current Vee Supply Icc - - 120 mA Vee = 5.25V @ 40· C AC CHARACTERISTICS Inputs Address Set Up tas 300 - - ns Address Overlap tao - 50 - ns Write Set Up tws 300 - - ns Write Overlap two - 50 - ns CPU BUS Outputs Turn ON Delay tda - - 300 ns 1 TTL Load Turn OFF Delay tdo - - 200 ns +100pf 9-55 AY-3-8910 AY-3-8912 AY-3-8913 Programable Sound Generator FEATURES • Full software control of sound generation PIN CONFIGURATION • Interfaces to most 8-bit and 16-bit microprocessors 40 LEAD DUAL IN LINE • Three independently programed analog outputs AY-3-8910 • Two 8-blt general purpose I/O ports (AY-3-8910) • One 8-bit general purpose I/O port (AY-3-8912) Vss(GNO) Vee (+SV) • Single +SV Supply NC TEST 1 ANALOG CHANNEL B ANALOG CHANNEL C ANALOG CHANNEL A DAO DESCRIPTION NC DA1 The AY-3-8910/8912/8913 Programable Sound Generator (PSG) is 1087 DA2 a Large Scale Integrated Circuit which can produce a wide variety IOB8 OM of complex sounds under software control. The AY-3-8910/89121 IOB5 DA4 1084 DAS 8913 is manufactured in the General Instrument N-Channel Ion 1083 DAS Implant Process. Operation requires a single SV power supply, a IOB2 DA7 TTL compatible clock, and a microprocessor controller such as IOB1 BC1 the General Instrument 16-bit CP1600/1610 or one of the General lOBO BC2 Instrument PIC16S0 series of 8-bit microcomputers. IOA7 BOlA 10AS TEST 2 The PSG is easily interfaced to any bus oriented system. Its flexi- 10AS AS bility makes it useful in applications such as music synthesIs, 10M AS sound effects generation, audible alarms, tone signalling and FSK 10A3 RESET modems. The analog sound outputs can each provide 4 bits of 10A2 CLOCK logarithmic digital to analog conversion greatly enhancing the IOAl IOAO dynamic range of the sounds produced In order to perform sound effects while allowing the processor to 28 LEAD DUAL IN LINE continue its other tasks, the PSG can continue to produce sound AY-3-8912 after the initial commands have been given by the control processor Thefactthat realistic sound production often involves morethan one effect is satisfied by the three independently controllable channels ANALOG CHANNEL C DAO TEST 1 DA1 available in the PSG. Vcc (+5V) DA2 All olthe circuit control signals are digital in nature and intended to ANALOG CHANNEL B DA3 be provided directly by a microprocessor/microcomputer. This ANALOG CHANNEL A DM means that one PSG can produce the full range of required sounds V",(GND) DAS with no change in external cirCUitry Since the frequency response of IOA7 DAS 10AS DA7 the PSG ranges from sub-audible at its lowest frequency to post- 10AS BC1 audible at its highest frequency, there are few sounds which are 10M BC2 beyond reproduction with only the simplest electrical connections. 10M BOlA Since most applications of a microprocessor/PSG system would also 10A2 AS require interfacing between the outside world and the microproces- IOA1 RESET IOAO CLOCK sor, this facility has been designed into the PSG. The AY-3-8910 has two general purpose8-blt I/O ports and is supplied in a40 lead package; the AY-3-8912 has one port and 28 leads: the AY-3-8913 has no I/O ports and 24 leads. See complete data sheets of AY-3-8910/8912/8913 in Audio Section. 9-56 AY-3-8915 Color Processor Chip FEATURES PIN CONFIGURATION • Operation from 7 15909MHz crystal 18 LEAD DUAL IN LINE • Five-line digital selection for 1 of 16 colors, blanking, sync and color burst • 3 579545MHz buffered output NC. DESCRIPTION OSC In Test Reset (Connect to Voo) The required color to be displayed for each 280ns PIXEL is OSC Out NC decoded on a four line binary coded input. This selects one of V5 Clock Output (3 57954SMHz) sixteen possible colors. An external resistor network completes V4 Ext Video the D to A function as shown In the schematic of Fig. 1. The waveform plus table illustrates the use olthe five inputs to produce V3 v" composite sync, color burst, line blanking, frame blanking and V2 RF8 video. V1 RF4 The external video input pin provides the ability to superimpose RF1 RF2 white high resolution (140ns wide) video information over the picture (color image). +Q--I-I' two player games Where player$ "Wlpe our' objects by ooOOoll1ng a ball"," AY+IIIIO$ 9-$11 the pity a r e a . , ' "," , SHOOTING AY-3-91107 GALLERY TWelve games for one or two players using $XI1iIrnal phQtocell rtfl&s mshootlng", 9-118 SUPEI'lSPORT Ten selectable games fOr one or two players; with vertical and horizollisf AV.a-8610 paddl$ motion. "'71) MOTOR CYC1.E One player oycle game with variabla skill selection. AV.a·87611', !11-72' 9-59 AY-3-8500 A Y-3-8500-1 Ball & Paddle FEATURES • 6 Selectable Games-Tennis, soccer, squash, practice and two rifle shooting games PIN CONFIGURATION • 625 Line (AY-3-8500) and 525 Line (AY-3-8500-1) versions 28 LEAD DUAL IN LINE • Automatic Scoring • Score display on T. V. Screen, 0 to 15 • Selectable Bat Size "NC NC" • Selectable Rebound Angles Vss (Ground) Hit Input • Selectable Ball Speed Sound Output Shot Input • Automatic or Manual Ball Service Vee Reset Input • Action Sounds Ball Angles Score and Field Output • Shooting Forwards in Soccer Game Sail Output Practice • Visually defined area for all Ball Games. Ball Speed Squash Manual SeNe Soccer DESCRIPTION Right Player Output TenniS left Player Output Rifle Game 2 The AY-3-8500 and AY-3-850Q-1 circuits have been designed to Right Bat Input Rifle Game 1 provide a TV games function which gives active entertainment Left Bat Input ClOCk Input Bat Size Sync Output uSing a standard domestic television receiver. "NC NC" The circuit is intended to be battery powered and a minimum number of external components are required to complete the ·00 not use as tie point. system. ~c~------~----~~------------------------------------~~~-f----------' 10K 1+---+--+----, .01 7SpF ~t-t::::j::~~ vss~-------1----------~----~------~--~~~~4--4--------~--~~--~--~ ·AY-3-8500 only. 510~? 330U 51 on ~------------~~r-~---V~--~TOMODULATOR II~-.jll IIb-.j1l -U IIIb------.j1ll LJ SYNC SPACE --l 220U Fig" 1 BLACK AND WHITE IMPLEMENTATION 9-60 AY-3-8500. AY·3·8500·1 PIN FUNCTIONS (Pin numbers in parentheses) Right Bat Input/Left Bat Input (11,12) An R-C network connected to each of these inputs controls the Vss (2) vertical position of the bats. Use a 10K resistor in series with each Negative supply input, nominally OV(GND). pot. Sound Output (3) Bat Size (13) The hit (32ms pulse/976Hz tone), boundary reflection (32ms This input is left open circuit (Logic '1') to select large bats and pulse/488Hz tone) and score (32ms pulse/1.95KHz tone) sounds connected to Vss (Logic '0') to select small bats. For a 19" T.V. are output on this pin. screen, large bats are 1.9" and small bats are 0.95" high. Vcc (4) Sync Output (16) Positive supply input. The T.v. vertical and horizontal sync signals are output on this Ball Angles (5) pin. See Fig. 2 This input is left open circuit (Logic '1 ') to select two rebound Clock Input (17) angles and connected to Vss (Logic '0') to select four rebound The 2MHz master timing clock is input to this pin. The exact angles. When two angles are selected they are'" 20° ,when four frequency is 2.012160 '" 1%. are selected they are ±20° and ±40°. Rifle Game 1, Rifle Gama 2, Tennis, Soccer, Squash, Practice (18 Ball Output (6) thru 23) The ball video signal is output on this pin. These inputs are normally left open circuit (Logic '1') and are Ball Speed (7) connected to Vss (Logic '0') to select the desired game. When this input is left open-circuit, low speed is selected (1.3 Score and Field Output (24) seconds for ball to traverse the screen). When connected to Vss The score and field video Signal IS output on this pin. (Logic '0'), the high speed option is selected (0.65 seconds for ball to traverse the screen). Reset (25) This input is connected momentarily to Vss (Logic '0') to reset the Manual Serve (8) score counters and start a new game. Normally left open circuit. This input is connected to Vss (Logic '0') for automatic serving. When left open circuit (Logic '1 ') the game stops after each score. Shot Input (26) The serve is indicated by momentarily connecting this input to This input is driven by a positive pulse output of a monostable to indicate a "shot". Vss. Right Player Output/Left Player Output (9,10) Hit Input (27) The video signals for the right and left players are output on This input is driven by a positive pulse output of a monostable separate pins. which is triggered by the shot input if the target ison the Sights of the rifle. NOTE: The "Shot" and "Hit" inputs have on-chip pull-down resistors to Vss. All other inputs (except the "Bat" inputs) have on-chip pull- up resistors to Vec. ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to VssPin ................ -0.3 to +12V age to the device. This is a stress rating only and func- Storage Temperature Range ........................ -20°C to +70°C tional operation of this device at these conditions is not Ambient Operating Temperature Range ..........••.... QOC to +40°C implied - operating ranges are specified in Standard Standard Conditions (unless otherwise noted) Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. vee = +6 to +7V Vss= OV Data labeled "typical" is presented for design guidance Operating Temperature (TA) = O°C to +40°C only and is not guaranteed. Characteristics at 25° C and Vcc =+6 Volts Min Typ Max Units Conditions Clock Input Maximum clock source impedance Frequency 1.99 2.01 2.03 MHz of 1K to Vee or Vss. Logic '0' 0 - 0.5 V Logic '1' Vee-2 - Vee V Pulse Width - Pos. - 200 - ns Pulse Width - Neg. - 300 - ns Capacitance - 10 - pF VIN =OV, F = 1MHz Leakage - 100 - }JA Control Inputs Max contact resistance of 1K to Vss Logic '0' 0 - 0.5 V Logic '1' Vce-2 - Vee V Input Impedance - 1 - MO Pull up to Vee Rifle Input - 1 - MO Pull down to Vss Outputs Logic '0' - - 1 V lout =0.5mA Logie '1' Vee-2 - - V lout =0.1mA Power Supply Current - 40 60 mA at Vee = +7V 9-61 AY-3-8500. AY-3-8500-1 290 I 330 I I I 380405 RETRACE--1 485 I I I 58 r- 1 ~s o 3~51 (64) 315 I I 14~ 5 ."." 50 62 ~ 80 H V BAT a 5IJs 14/28 lines BALL 10,us 5 lines TARGET 25jJs 14 lines FIELD o 5)Js 2 lines 525 LINE SCORE 5 O~s 20 lines 625 LINE SCORE 50,us 30 lines --I ••• --~-~--------- ------------~ 274275 .~ DASHED FIELD LINES NOT DRAWN TO SCALE • RETRACE NOTES 1 ps 2 CLOCK PULSES INPUT ON PIN 17 0 o (262) 1H 0 1 HORIZONTAL SCAN OR 128 CLOCK PULSES (64ps) T 312 1 COMPLETE FRAME 525 LINE STD 128.262 0 33,536 CLOCKS, 625 LINE STD, 128,312 0 39,936 CLOCKS Fig. 2 LOCATION OF DATA OUTPUT PULSES .-------------- ~~ ~~: :~~~ t:~~ ~ig: ---------------<.., PIN 16 SYNC PIN 24 a 5,us FIELD PINS 11,12,14,15 BAT INPUTS .---:7""'---- RISE TIME DEPENDS ON RC PINS 9,10 BAT OUTPUT 14 OR 28 PULSES --1 64jJs r-- 5 PULSES PINS 9,10 1ps BALL OUTPUTS r 500Hz or PIN 3 SOUND lKHzor 2KHz (32m. PULSES) Fig. 3 TIMING DIAGRAM 9-62 8600 Series GENERAL INFORMATION TV Games The Gimini 8600 Series games consist of a set of single chip TV 34567891011121314151617181920212223242526272829303132 game integrated circuits. This series consists of AY-3-8603 Road- t 'T 'T1t1 race, AY-3-8605 Warfare, AY-3-8606 Wipeout, AY-3-8607 Rifle, Lf++t++++++++++++++++++++Hl~l AY3-8610 Supersport, and AY-3-8765 Motorcycle chips. Circuit descriptions giving detailed information on each game chip are in the following pages of this section. The TV games may be configured as dedicated games when pack- aged with a color processor and peripheral circuitry. When pack- aged as individual cartridges, able to be connected to a main console containing the color processor and peripheral circuitry, the game becomes programable by its user. The following block diagram shows a programable game con- figuration which can be combined to provide a dedicated game if desired. DESCRIPTION The console consists of a resident game/color processor, an R.F. video modulator, a calculator type keyboard for game selection, a set of three skill select switches, and a game reset switch. Attached to the console are the player controllers which can consist of joysticks or a variety of controls suited to the game. The console need never be opened once in operation; all changes to the system are plugged in externally. The cartridges and con- trols are the only items that are altered to give the 8600 system new Fig. 1 AY-3-8610 CARTRIDGE game characteristics. The block diagram shows the basic system with its expandability. Basically most games can be controlled by resistance joysticks. If SECTION A controls are remote, the connectors used should be a minimum of There are three switches that will allow skill, selections. These six pins each to allow for game flexibility. skills will be determined by the specific game cartridge and will control speeds, sizes and shapes of objects in any particular game SECTION D cartridge. A fourth switch acts as game reS'et. The cartridges will all be compatible with the console and a variety will be offered. Each cartridge will give the game a completely new SECTION B objective. The cartridge should have a minimum of 34 pinsto allow The game selections will be made by a maximum of ten momen- for special connections such as sound effects, etc., and remain tary switches similar to the calculator keyboard. Again the number compatible with the system. of games is determined by the cartridge. Fig.1 illustrates as an example the straightforward layout for the SECTION C AY-3-8610 Supersport game cartridge. The controls are always in pairs to allow for two players. Depend- ing on the game cartridge, a variety of controls may be used. , - - - - A . S K I L L SELECTION-EG SPEEDS, SIZES, SHAPES -DETERMINED BY GAME CARTRIDGE D, CARTRIDGE SELECTION c. CONTROL OPTIONS } 1 ROAD RACE 1 JOYSTICKS 2 SUBMARINE { 3 WIPEOUT '-----.... 2 PUSH8UTTONS 3 STEERING WHEEL 4 RIFLE 4 CYCLE GRIP 5 ETC ~ ~~~~=~~~~E 7 CYCLE _~~~:::::;::::~::::L._" 8.1-10 GAME SELECTIONS VIA CALCULATOR OR OTHER ' -_ _ _ _ _ _ MOM EN TORY KEY PAD DETERMINED BY GAME CARTRIDGE 9-63 AY-3-8603 Roadrace FEATURES PIN CONFIGURATION • Two game selections-one and two player games 28 LEAD DUAL IN LINE • T.V. raster generator • All timing signals for color or black and white application • Direct compatibility with Economy "8600" game console • Automatic on-screen scoring • Score color-keyed for each player • Skill selection for difficult or easy driving conditions • Realistic motor and crash sound generation with a minimum of TOpVt9W external components Vss (GNO) [ Sync [ ., 2 ~ 28 27 P p Test 1 Test 2 I Do Not Connect 26 P Master Reset DESCRIPTION Camp Blanking [ 3 The AY-3-8603 game circuit has been designed to provide a realis- Color Burst Locator [ 4 25 P Hue Modifier tic road race game using a standard television receiver. The circuit Background [ 5 24 P Lo Freq Out is intended for color or black and white usage with a 625 Boundanes [ 6 23 P White NOlseOut Player Cars and Score [ 7 22 P Crash Gate Out (AY-3-8603) line receiver. The circuit is designed to be either a Race Track Obstacle Cars [ 21 ] Handicap 8 stand-alone game or an add-on for the Giminl Economy "8600" 3579545 MHz Input [ 9 20 J Game Select 1 game series Left Player Input [ 10 19 J Game Select 2 Engine Time Constant Input [ 11 18 J Game Reset OPERATION 'NC [ 12 17] NC Engine Sound Output [ 13 16 J Vp The AY-3-8603 utilizes two potentiometers to produce control RIght Player Input [ 14 15] NC voltage for the horizontal positioning of the race cars Each player controls his own car. The cirCUit displays a score for each driver, processes the game logic and produces composite sync, color burst location and blanking signals for a 625 line T.V. receiver. Sound outputs are also included to produce simulated engine and crash sounds with a minimum of external components. ELECTRICAL CHARACTERISTICS Maximum Ratings* * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to Vss ••••...••.••...••. -0.3 to +12V age to the device. This is a stress rating only and func- Storage Temperature Range •.•..•..•••.••••..•..••• -20°C to +70°C tional operatIOn of this device at these conditions is not Ambient Operating Temperature Range •.••••••.•.••... O°C to +40°C implied - operating ranges are specified in Standard Operating Voltage Supply Range .....•..•.....•......... +75 to +9V Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect deVice reliability. Standard Conditions (unless otherwise noted) Data labeled "typical" is presented for design guidance Parameter values at TA = 25° C only and IS not guaranteed. Characteristic Min Typ Max Units Conditions Clock Input Frequency - 3.579545 - MHz Logic '0'. a - 0.5 V 45-55% duty cycle Logic '1' Vp-2 - Vp V Leakage - - - - Control Input Logic '0' 0 - 02 V Max. contact resistance of 1K to Vss Logic '1' Vp-2 - Vp V Input Impedance - 100 - KO Pull up to VP Output pins - - 1 V lout = 2mA On Off - 1000 - /lA Vout = Vp Power Supply Current - - 60 rnA at Vp = 75V 9-64 AY-3-8605 Warfare FEATURES PIN CONFIGURATION • Outputs include CCIR (AY-3-8605) compatible composite sync, 28 LEAD DUAL IN LINE color burst location and blanking • Operation from a 3.579545 clock • One or two player game • Digital on-screen scoring • Sound -generation for engine, sonar, firing and explosions • Outputs and power requirements compatible with the Gimini Economy "8600" game series Select 1 Select 2 DESCRIPTION Select 3 The AY-3-8605 game circuit has been designed to provide realistic Strobe 1 Background Video Strobe 2 sea and space battle games using a standard television receiver. NC Engine Sound Out The circuit is intended for use with a 625 (AY-3-8605) line receiver. Left Video fire Sound Out Right Video Sonar Sound Out OPERATION 3 79545MHz Clock In Submarine Control In ExplOSion Sound Out Destroyer Control In The AY-3-8605 utilizes two potentiometers ( one for each player) Hue Out Test (NC) or one axis of two joysticks to prod uce control voltages for internal Fire Depth Charge In Game Reset Fire Torpedo In V, Schmitt triggers. These position the submarine, destroyer, and Skill Select 2 Skill Select 1 spaceships, via rate controllers in the horizontal axis only The circuit displays an on-screen score for each player, processes the game logic and produces a composite sync, color burst location and blanking signals for a 625 line T.V. receiver. Sound outputs are also included to produce simulated engine, sonar, firing, and explosion sounds with a minimum of external components. The outputs are designed for compatibility within the Gimini Econ- omy Game series. Game selection is made via a 2 strobe/3 select switch matrix with momentary contacts. Two momentary switches that ground the "fire" input pins are used to activate the torpedoes, depth charges, and missiles. SOUND OUTPUTS MOVEMENT Space background nolse-7 Bit Polynomial Counter clocked at The cargo ship will traverse the screen in 16 seconds. 2kHz rate The destroyer ship will traverse the screen in 5.3 seconds. Torpedo or Depth Charge fired-1 kHz signal for 2 frames then off The submarine moves across the screen in 8 seconds. for 4 frames. The torpedo risesata rate of 1 line per frame. To move the 100 Explosion- "v 8kHz signal for"v 3V, seconds. lines to hit the destroyer will take 1.67 seconds. Destroyer engine- Fast sound is a 240Hz clock into a 4 bit poly The depth charge falls at a rate of 1 line every 2 frames. To hit counter-Slow sound is a 120Hz clock rate. the submarine will take 3.34 seconds. Sonar for Submarine-Decaying 480Hz signal for "v 2.9 seconds followed by a 2kHz signal burst for"v 200ms. This sound repeats every 3V, seconds. 9-65 AY-3-8606 Wipeout FEATURES • Outputs Include CCIR for AY-3-8606 PIN CONFIGURATION • Operation from a 3.579545MHz clock 28 LEAD DUAL IN LINE. • One or two player games • Digital on-screen scoring • Sound generation for tones to indicate hits of ball to bat, ball to oblects, and ball to border • Outputs and power requirements compatible with Gimini Economy "8600" Game Series to allow plug-in operation Top View v•• (GND) [ ., 'J 28 PSelect 1 DESCRIPTION Sync [ 2 27 tJ Select 2 Blanking [ 3 26 b Select 3 The AY-3-8606 game circuit has been designed to provide an Color Burst Locator [ 4 25 PStrobe 1 active paddle/squares game using a standard television receiver. Background [ 5 24 PStrobe 2 The circuit is intended for use with a 625 (AY-3-8606) line receiver. Boundanes [ 6 23 PStrobe 3 Left Video [ 7 22 PStrobe 4 OPERATION Right Video [ 8 21 PHigh Speed 3 579545MHz Input [ 9 20 b Ball Size The AY-3-8606 utilizes two potentiometers (one for each player) Test [ 10 19 ] Bat Size one axis only of each joystick to produce control voltages for Left Bat Vertical [ 18 J Reset internal Schmitt triggers. These position the player's bats in the Lett Serve [ " 12 17 J Right Serve vertical axis only to allow play olthe game. The circuit displays an Sound [ 13 1); J Vp on-screen score color coded to each player, processes the game Test [ 14 15 J Right Bat Vertical logic and produces a composite sync, color burst location and blanking signals for a standard line TV receiver. Sound output is also included to produce tonal sounds klr ball hits to bats, ball hits to borders and ball hits on objects with a minimum number of external components. The outputs are designed for compatibility within the Gemini Economy "8600" Game Series. Game selection is made via a 4 strobe, 3 select switch matrix with either fixed or momentary contact closures. Two momentary switches that ground the input serve control pinS IS to wipe out all the boxes In the plaYing area The winner ends With are used to start the ball into motion after reset or when a reserve the highest score The ball will rebound off the center barner. is necessary according to game rules. Three skill selection Select 2 Strobe 1 (Game #5) switches are used to determine game difficulty. Asingle-playergame in which the player manipulates two different colored paddles at each end of the playing area In the vertical aXIs GAME OPERATION after manually serving the ball The objective IS for the player to wipe out as many correct colored objects depending on which Select 1 Strobe 1 (Game #1) color paddle hits the ball onto the playing area as possible The A single-player game in which the player manipulates the paddle game ends when all of one color objects are wiped out In the vertical aXIs after manually serving the ball The objective IS Select 2 Strobe 2 (Game #6) to wipe out as many boxes as possible in the seven serves that are A two-player game in which each player manipulates his paddle at allowed dunng a single game. the ends of the playing area In the vertical axis The ball IS served Select 1 Strobe 2 (Game #2) by the last player to score after the game is In play. The objective IS A single-player game in which the player manipulates two paddles to wipe out as many boxes color coordonated with the player's at each end of the playing area In the vertical axis after manually paddle The first color completely wiped out wins serving the ball. The objective IS to wipe out as many boxes as Select 2 Strobe 3 (Game #7) possible in the seven serves that are allowed during a single game A two-player game in which each player manipulates his paddle Select 1 Strobe 3 (Game #3) at the ends of the playing area In the vertical aXIs The ball IS A two-player game in which each player manipulates his paddle at served by the last player to score after the game IS in play The the ends of the playing area in the vertical axis The ball IS served by objective IS to wipe out as many boxes color coordinated With the the last player to score after game is in play. The objective IS to player's paddle The first color completely wiped out wins wipe out all boxes in the playing area. The winner ends with the highest score Select 2 Strobe 4 (Game #8) A single-player game in which the player manipulates the paddle Select 1 Strobe 4 (Game #4) in the vertical aXIs after manually serving the ball The object is to A two-player game In which each player manipulates his paddle at wipe out as many color coordinated boxes With the player's paddle the ends of the playing area in the vertical axis. The ball is served as possible in the seven serves that are allowed during a single by the last player to score after the game is in play. The objective AY-3-8606 game. The ball alternates colors on each rebound, thus it can only many blocks to get a high score before breaking through the wall. hit one color square to wipe out and is transparent to the other The first player to hit the ball through an open section of a wall color at anyone time. After a hit and rebound, the ball can wipe out ends the game. the opposite color square. NOTE: If the ball hits the left wall at a point where three Select 3 Strobe 1 (Game #9) blocks connect from the lower edge, the block in the same A single-player game in which the player manipulates the paddle direction as the trajectory will disappear. in the vertical axis after manually serving the ball. The objective is to break through the end wall and score on as many blocks as SKILL SELECTION possible. The game ends after either seven serves or the first The games mentioned can be made more difficult by selecting one breakthrough. or more of the following skills: Select 3 Strobe 2 (Game #10) 1. Bat Size (left player only) A two-player game in which each player manipulates his paddle 2. Ball Size (in large ball size, bat must hit center of ball) in the center of the playing area in the vertical axis. The ball is kept 3. Ball Speed in motion by each player trying to protect the wall behind his A ground on any of these function pins shall: paddle. If a player misses a hit with the paddle, the ball will hit the 1. Halve the bat size wall and one block will disappear and the score will increment 2. Halve the ball size for the opposite player. The objective of this game Is to knock out as 3. Double the ball speed ELECTRICAL CHARACTERISTICS Maximum Ratlngs* * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to Vn Pin, ••••••••••••••• -o.2V to 12V age to the device. This is a stress rating only and func- Storage Temperature Range •••••••••••••••••••••••• -2O·C to +70·C tional operation of this device at these conditions is not Implied - operating ranges are specified In Standard Standard Conditions (unless otherwise noted) Conditions. Exposure to absolute maximum rating con- Vp= +7.5 to +9.0 volts ditionsforextended periods may affect device reliability. Ambient Operating Temperature Range O·C to +4O·C Data labeled "typical" is presented for design guidance Characteristics at +25·C and Vp= 7.5V only and Is not guaranteed. Characteristics Min Max Units Conditions CLOCK INPUT Frequency - - MHz Logic '0' 0 0.5 V 45-55% duty cycle Logic '1' V.-2 V. V Leakage - 100 IlA CONTROL INPUT Logic '0' 0 0.5 V May contact resistance of 1K to Vn Logic "1" V.-2 V. V Input Impedance - - KCl OUTPUT PINS 2-8, 13 ON - 1 V lout = 2mA OFF - 100 IlA Vout =V. at 7.5V OUTPUT PINS 22-25 ON - 1.0 V lout = .5mA OFF - lOOIlA IlA Vout = V. (open drain) Power Supply Current - 75 mA 9-67 AY-3-8607 Shooting Gallery FEATURES • Outputs include CCIR (AY-3-8607) compatible composite sync, color burst location and blanking PIN CONFIGURATION 26 LEAD DUAL IN LINE • Operation from a 3.579545MHz clock • One or two player game • Digital on-screen scoring TOpVI8W • Sound generation for flight, fall, hit and impact • Outputs and power requirements compatible with Gimini 'Iss IGND) Select 1 Sync Select 2 Economy "8600" Game Series to allow plug-in operation Blanking Select 3 Color Burst Locator Strobe 1 DESCRIPTION Background Out Strobe 2 Left Video Out Left Vertlcalln* The AY-3-8607 game circuit has been designed to provide an Right Video Out Left HOrizontal In * active series of target games using a standard televiSIon receiver. Decay Sound Speed Select * The circuit is intended for use with a 625 (AY-3-8607) line receiver. 3 579545MHz Input 9 Target Size * OSCillator Out Hit 2 OPERATION Tone Out Reset 1 Rlfle/2 Rifle Select Shoot t The AY-3-8607 utilizes an external photo cell mounted in a gun or Oscillator Control Vp rifle for recording hits. The logic requires the gun to input a shot ServeJ~hoot 2 Hit 1 pulse when the trigger is pulled and if the photo cell in the gun records the hit (if on target) a pulse will be transmitted to the chip. (No pulse if off target). 'Pin functions are for one-player games. Some of the two-player games require two guns. For two-player games. the functions of pins 20 thru 23 With the two-player game where one player controls the target are: and the other shoots, the joystick in the console will be used for 2o-Player 1 Target Size target control. 21-Player 1 Speed Salect 22-Player 2 Target Size Skill select switches on the console are used for (1) target size 23--Player 2 Speed Select large or small (2) target speed, fast or slow. In two-player/two- rifle games, the left joystick is used for additional handi- capping/skill selection. 9-68 AY-3-8607 GENERAL INSfRUMENT ELECTRICAL CHARACTERISTICS Maximum Ratings· Voltage on any Pin with Respect to Vn Pin ..••.......... -0.3 to +12.0V * Exceeding these ratings could cause permanent dam- Storage Temperature ....• " •..•.••...•...•••.....• -20° C to +70° C age to the device. This is a stress rating only and func- Ambient Operating Temperature Range ..•..••...•....•• 0° C to 40°C tional operation of this device at these conditions is not implied - operating ranges are specified in Standard Standard Conditions (unless otherwise noted) Conditions. Exposure to absolute maximum rating con- Vdd = 7 5 to 9.0 Volts ditions for extended periods may affect device reliability vss = a Volts Data labeled "tYPical" is presented for design guidance All characteristics specified at 25° C and Vdd = 7.5 volts only and is not guaranteed. Characteristics Min Max Units Conditions Clock Input - - - Crystal controlled @ 3 579545MHz wilh 45% to 55% positive duty cycle. a 0.5 V Logic "a" level Vdd-2 Vdd V Logic "1" level - 100 pA Leakage. V," = Vdd Outputs Pins 2. 3. 4. 5, 6, 7 - 10 V Logic "a" level lout = -2mA - 100pA pA Off volt = Vdd = 7.5 Volts Output Pin #8 - 1 V lout = -0. SmA Vdd-2 - V lout = +O.SmA Output Pins 11, 13 - 1 V lout = -0.2mA Vdd-2 - V lout = +0 2mA Output Pm #22, 23 - 1 V lout = -0 SmA - 35 pA Volt = Vdd = 7 5 Volts Inputs Pin #26, 27, 28 150 375 K Vdd = 75 Volts Pin #12,14,17,18,20 75 150 K Vdd = 75 Volts Power supply current - 65 mA Vdd = 75 Volts Idd 9-69 AY-3-8610 Supersport FEATURES • Ten selectable games - tennis, hockey, soccer, squash, PIN CONFIGURATION practice, gridball, basketball, basketball practice, one and 28 LEAD DUAL IN LINE two player target • 625 Line (AY-3-8610) versions • T.V. raster generator • Two axis player motion Select Input 1 • Automatic on-screen scoring, 0-15 v" Sync Select Input 2 • Automatic ball speed-up after 7 hits or may be disabled Blanking Select Input 3 by ball speed inhibit input Color Burst Strobe 1 • Realistic ball service and scoring Background Strobe 2 • Score color keyed to player Boundanes Strobe 3 • Independent player selectable bat size for handicapping Left Video Strobe 4 Right Video Ball Speed Inhibit • Fast ball speed inhibit 3.579545MHz Input Right Bat Size • Five segment bats giving high, low, and horizontal ball Left HOrllontal In Left Bat Size angles Left Vertical In Reset • Sound outputs for hit, rebound and score Left Serve Right Serve • Shooting forwards in hockey and soccer Sound Output Vee Right Honzontal In Right Vertical In DESCRIPTION The AY-3-8610 circuit has been designed to provide a TV 'game' function which gives active entertainment using a standard color or black and white domestic television receiver. The circuit is intended to be battery powered and a minimum number of external components are required to complete the system. GAME SELECT SWITCHES AY-3-8610 '- f"t'======-.r-~t-~]-~y--.J BLANI ING 2 s~c SEl2~' ______, SEll l_~~===~3 4 COL0fI8UIlST 5 BACKGROUND SEl3~~'- STRII"'-'_ _ _ _ _- - , 5TR21"'-'_ _ _ _ _- , 6 BOUNDARIES STR31"'-'_ _ _ _- , ~'='====b\~~~;;;;;;~=d-- r____~~=======~a HIBALtSI>EED~' 7 LEfTVIOEO STR. 9 AIGHTIiIDEO 3!795_SMHtIN RIGHTBATSIZEI'~'-_ _ _ _- - , HI LEHHOA!ZIN LEHBAT SIZEr''-'_ _ _- - , ,......_ _ _~II LEHVERTIN RESET 18 ACC "'" Fig. 1 BLACK AND WHITE IMPLEMENTATION 9-70 AY-3-8610 ELECTfUCAL CHARACTERISTIC~ , \ I • * * Exceeding these ratings could cause permanent dam- Maximum Ratings age to these devices. This is a stress rating only and Voltaga 01') any Pin with Respect to Vss Pin ••••••••••••••• -0.2 to +12V functional operation ofthese devices atthese conditions Storage Temperature Range .•••••.•••.•.••••••••••• -20· C to +70· C Is not implied - operating ranges are specified In Ambient Operating Temperature Range •••••••••••••••• O· C to +40· C Standard Conditions. Exposure to absolute maximum rating conditions for extended periods may affect Standard ConditIons (unless otherwise noted) device reliability. Vcc= +7.5 to +9.0V Data labeled "typical" is presented for design guidance Vss=OV . only: and is not guaranteed. Chlracterlstlcs·· Min Typ MIx Units Conditions Clock Input Frequency - 3.579545 - MHz Logic '0' 0 - 0.5 V 50% duty cycle ±5% Logic '1' Vee -2 - Vee V Leakage - - 100 pA Control Inputs 12. 17. 18. 19. 20.21. 26.27.21 Max. contact resistance of 1K to V.. Logic '0' 0 - 0.5 V Logic '1' Vcc-2 - Vee V Input Impedance - 100 - KC) Pull up to Vee Outputs Pins 2-8. & 13 On - - 1 V lout = 2mA Off - - 100 pA Vout = Vee (open drain) Outputs Pins 22-25 On - - 1 V lout = O.SmA Off - - 100 pA Vout = Vee (open drain) Power 8upply currant - - 60 mA At Vee = +7 .OV "At 25·C & Vee = 6V 11-71 AY-3-8765 Motor Cycle FEATURES • Full color operation with AY-3-8615 color processor PIN CONFIGURATION • 4 game selections-Time Out, Obstacle Race, Moto Jump 28 LEAD DUAL IN LINE and Rally Run • 2 skill selections-PRO/AM • 625 line (CCIR) and 525 line (NTSC) pin selectable • Internal TV (raster) generator • Automatic on-screen scoring • Realistic sound effects RampsITraCk Out VP(Posltlve Power Supply) Color Burst Locator ObJeCt Output Test(N C) Sync Out DESCRIPTION Test (N C) Blankmg Out Motor Cycle IS a game for one player who controls the speed of a Test(N C) Background Out motorbike and rider. At the start of each game the motorbike and °AL/NTSC Select Clock In (3579545MHz) Obstacle Race Test (N C) rider are stationary at the upper left-hand side of the TV screen Rally Run NC As the player moves the joystick, the motorbike and rider move PAOI AM Select NC across the screen on track 1. The motorbike sound starts with the TImeOut NC bike movement and as the bike and rider accelerate, the motorbike Moto Jump Throttle Input sound reflects these speed changes. The motorbike wheels have Game Reset/POR NC an appearance of rotating at a speed also related to the throttle Sound Out Test (N C) seiling vss Test (N C) At the end of track 1 the bike and rider reappear on track 2 at the left-hand side, and likewise at the end of track 2 the bike appears on track 3 at the left-hand side of the screen The movement of the bike and rider on track 3 to the right edge of the screen Will cause a relnitiallzation of the bike and rider at the left of the screen on track 1. There Will be no movement until the throttle is reset to a slow speed and then Increased. Figure 1 shows the playing field counters record the run time In the same manner as the Time for each game. Out Game In Obstacle Race the crash is not caused by accelerating too GAME OPERATIONS rapidly. The crash IS caused by not dOing a wheelle over an Time Out obstacle. In the wheelie position, the bike Will have the front wheel The object of this game is to reach the end of track 3 In the shortest lifted off the track. A crash into an obstacle Will flip the bike upside time The three-digit score is automatically reset as the rider first down and produce the screech sound The score IS reset at the begins to move on track 1 and the score is Incremented until the end of the crash. game is over The score appears centered on the screen above Moto Jump track 1, and the score remains until the start of the next game. The object of this game is to control the throllie speed to properly Time Out requires a speed shifting to achieve the lowest time jump the ramp and buses located on track 3 The game begins With scores. As the throttle speed IS increased and the rider begins to 8 buses and With each successful jump over the ramp and buses an move, the bike object is in speed one and moves at a set rate across additional bus appears The game is over when the maximum the screen. The only way to accelerate the bike object motion IS number of errors has been reached, which is 3 or 7 errors, to return the throllie to a "slow" position and then turn to a "fast" depending on the position of the PRO/AM switch. The game IS position. This shifting procedure will move the bike Into speed 2 then started by reselecting the Moto Jump game Input. and the object will go across the screen at a faster rate. Another Errors are caused by accelerating too rapidly, insufficient speed to "shift" will allow speed 3 clear.the buses, or landing too far past the back ramp after the A PRO/AM option switch is provided to select a difficulty factor. In jump. The bike and rider flip upSide down and a screeching sound the hard mode, a crash occurs if the player tries to Increase the indicates an error. The score records the number of errors In the throttle speed too rapidly. A crash Will flip the bike and rider first digit and the number of displayed buses In the next two digits. upSide down and the sound Will be a high-pitch screech. At the end of the crash the bike and rider are reinitialized on track 1 and Rally Run the score reset. In the easy mode no crash is allowed. This game is similar to Moto Jump With the addition of obstacles on track 1 and track 2 The object of Rally R un IS to do a wheelie Obstacle Race over each obstacle and then adjust the throttle for the correct As the throttle speed is increased, the bike and rider move across speed to jump the buses on track 3 The PRO/AM option sWitch track 1 at a rate determined by the throttle controller setting selects two obstacles per track and allows three errors per game Obstacle Race has no speed shifting Located on each of the In the hard mode, and one obstacle per track and seven errors three tracks are obstacles. The easy/hard option sWitch selects the per game in the easy mode. Errors are caused by accelerating number of obstacles per track. The easy mode has one obstacle too rapidly, not in wheelie position over the obstacles, insufficient per track and the hard mode has two obstacles per track. speed to clear the buses, or landing too far past the back ramp after The object of this game is to traverse the three tracks in the the jump. The score records the number of errors and the number shortest time, doing a wheelie over each obstacle. The score of buses displayed the same as In the game of Moto Jump. 9-72 AY-3-8765 PIN FUNCTIONS Pin No. Name Function Ramps and Tracks The output of this pin is the video signal of ramps and tracks. 2 Color Burst Locator The output of this pin is the color time slot which occurs after the sync signal during horizontal blanking. 3 Test Not Connected 4 Test Not Connected 5 Test Not Connected 6 PAL/NTSC This input is provided with an internal resistor pull-up to Vp. If this input is tied to Vss NTSC (262 vertical lines) is selected. If this input is tied to Vp or allowed tofloat. PAL (312 vertical lines) is selected. 7 Obstacle Race This pin is provided with an internal resistor pull-up to Vp. Ilthis input is momentarily connected to Vss, this game will be selected. Otherwise, this pin is normally open. 8 Rally Run This pin is provided With an internal resistor pull-up to Vp. If this input is momentarily connected to Vss, this game will be selected. Otherwise, this pm is normally open. 9 PRO/AM Option This pin is provided with an internal resistor pull-up to Vp. If this input is switched to Vss, the PRO (hard) mode is selected. Switching this pin to Vp or allowing It to float selects the AM (easy) mode. 10 Time Out This pin is provided with an internal resistor pull-up to Vp. If this input is momentarily connected to Vss, this game is selected. This pin is normally open 11 MotoJump This pin is prOVided with an internal resistor pull-up to Vp. If this input is momentarily connected to Vss, this game is selected. This pin is normally open. 12 Game Reset and POR The input to this pin is provided by an external RC network, which generales a reset Signal. This network consists of a 100KCl resistor from this pin to Vp and a 0.1 pF capacitor from this pin to Vss. 13 Sound The output of this pin is the sound for the bike engine, bus hit, crash, screech and a good jump. ThiS output is designed to drive a PNP transistor, which in turn drives the game speaker. 14 Vss This input is the negative power supply. 15 Test Not Connected 16 Test Not Connected 17 N.C. Not Connected 18 Throttle The input to this pin is an oscillator signal for controlling the motion of the bike and rider. 19 N.C. Not Connected 20 N.C. Not Connected 21 N.C. Not Connected 22 Test Not Connected 23 Clock In The input to this pin is the 3.58MHz oscillator. 24 Background This output provides the background video signal. 25 Blanking This output provides the horizontal composite blanking between each line of video information. 26 Sync This pin provides the combined output of horizontal sync or vertical flybacks. 27 Object Output The output of this pin is the video output signal for the bike, buses, score and obstacles. 28 Vp This input is the positive power supply. 9-73 AY-3-8765 ELECTRICAL CHARACTERISTICS Maximum Ratings· * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to Vss •••••.••••••..•••• -0.3 to +12V age to the device. This is a stress rating only and func- Storage Temperature Range •.••..•••••.••••••...••••• -20· to +70·C tional operation of this device at these conditions is not Ambient Operating Temperature Range •••••••••••••••• O· C to +40· C implied - operating ranges are specified in Standard Operating Voltage Supply Range .•.••••.•••••••...•• +7.5 to +9 Volts Conditions. Exposure to absolute maximum rating con- ditions for extended periods may affect device reliability. Standard Conditions (unless otherwise noted) Data labeled "typical" is presented for design guidance Parameter values at T. = 25· C only and is not guaranteed. Characteristics Min Max Units Conditions Clock In (Pin 23) Frequency - - MHz Nominal 3.579545 Input low voltage Vss -0.3 Vss +0.3 V Input high voltage Vss +6.5 Vp V Duty Cycle 35 65 % Clock swing from 0 to Vp Throttle (Pin 18) Frequency 50 250 KHz Pulse width-positive 1.5 - /.IS Input low voltage Vss -0.3 Vss +0.2 V Input high voltage Vss +6.5 Vp V Inputs (Pins 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16,22) Input high voltage Vss +6.5 Vp V Input low voltage Vss -0.3 Vss +0.2 V Sound Output (Pin 13) Voltage output low vol. - Vss +0.5 V Force 0.75mA at Vp = 7.5V FTC Out (Pin 19) Voltage output low (Vol) - Vss +0.5 V Force 0.5mA at Vp = 7.5V Other Outputs (Pins 1, 2, 24, 25, 26, 27) - Vss +0.5 V Force 1.0mA at Vp = 7.5V Voltage output low (Vol) - - - Power Supply Current - 75 mA At Vp = 7.5V 9-74 TUNING 10 Television 10-3 Synthesizer/Counter 10-43 EAROM 1Q-47 " , PART PAQJI' FUHCTtON DDCRIPTlON NUMBER NUMBER " Television ECONOMEQAIIA DIGITAL TUNING ProvIdu el8clronlo aootrol of a _ r fUnd TV frOlIl~ MttY. ~Y.wl11 10-4 " S'iSTE!M FREQUENCY , , LOOKeO LOOP ProviCle$lrequency looklld lOOp fUnlnllln l'ad!o. TV,appl1oa1idnS. ~. 1M TUNING SYSTEMS " ~ .1$' PHASEb l.OCKED LOOP TUNING 1M2 Providft PI.L frequency, .ymhelll fOr oolOr TV IImIIII/- IC'fWIII.> I ,.-.ar " SYSTEM " . , ' "SYNTHESIZER ..~.~.- ; PHASED LOCKED , l.OOP TV TUNING Providft' control and Inte"- for PI.\- television iu~I!1II. ", ' ...a SYSTEM CONTROL "', ' ";, IMtCOO '104;3 Synthesizer/Counter FREQUeNCY ~ " , ' -- IIbe Iorfreq~ ,~r~tI~" Ay..... ', " SYNTHESIZEAI ProvICle$. time '10044 COUNTER EAROM ERIIISt , ..... 5'12 arT EAROM 512 bna o~ 3l! l! lB. .. ERlllStIR ERIO$I fIR ..... 1Ha 10-1 10-2 GENERAL INSfRUMENT Television PART PAGe ., F!UN~TiON OESCftIPTlON NUMBER MUM8ER ECONOMEGA itA DIGITAL TUNING Pf01lidei electronic control of a varactO( tuned TV from keyboard entry. AY·.3-8211 10-4 SYSTEM FREQUENCY LOOKED LOOP Provides frequenoy loc~ed loOP tunl~g in radio, TV applications. EconomegaI8 10-. TUNING SYSTEMS I!I:cmmega 1'1 m.1& PHASEO LOCKED LOOP TUNING . 'AY-3·2012 10·22 Provides PLL frequency synthesis for eelor TV tuning SYSTEM CT2OIO 11)-21 SYNTI1ESIZER CT2017 10·29 PHASED LOCKEP PlC165CH12O m.33 LOOP TV TUNING Provides ccntrol and intel'face for Pll televiSion luning. SYSTEM CONTROL IR1400 10·33 10-3 AY-3-8211 ECONOMEGA IIA Digital Tuning System FEATURES PIN CONFIGURATION • 16/32 Program Options 40 LEAD DUAL IN LINE • 4 Bands • 14 Bit Tuning Resolution on B3 • Program COPYing V<;<; ov V",(+12V) • Non-Volatile Memory without Battery 16/32 Option Input Tile loata I~! • Manual Up/Down Tuning 2'110 2~ 110 • Manual Band Switching To ER1400 21 liD • Mute Output at Program Selection C1 20 I/O • Search Active Output Clock I/O Select Input • Local Program Up/Down Control Fme Tune Down Input System Clock • Validate CircUitry Tune Up/Down Input prog Up/Down Input • Referenced Tuning Waveform Output Band Step 3/4 Select AIV Output • Band Step Option 3/4 Select Fine Tune Up Input Tuning Ref Input TesVCopy Input Tuning Output Band Select Option Valid Input 2 (Line sync) DESCRIPTION Store Inhibit Valid Input 1 (line fib) Tuning Clock Valid Output The Economega nA Digital Tuning system is a voltage synthesizer Aux Output Standby Input for both Radio and TV manual tuning applications. Aux Input Search Output Band 4 110 Copy Output The AY-3-8211 N-Channel control chip interfaces directly with an Band 3 110 Mule Output ER1400 non-volatile memory enabling storage of up to 32 programs. Band 2110 Band 1 1'0 Variable mark space ratio tuning information from the AY-3-8211 is amplified and filtered, and the resulting DC level used to con- trol the TV or Radio tuner Standby to OFF, the mute output is activated for 256 msecs and disables the Fine Tune inputs forthis time, Mute O/P is also active while scanning; I.e. when a Band I/P or Tune Up/Down I/P is OPERATION active. Tuning-Resolutions are as follows: TUning Procedure-Three tuning procedures are available: o tion1 Option 2 (a) 1 Select reqUired program number (1 to 16 or 32). Bl (Band 1) 11 bits (16mV) 12 bits (8mV) 2. Press required band button, scanning commences from B2 (Band m), B4 12 bits (SmV) 13 bits (4mV) the station currently tuned, scanning stops immediately B3 (UHF) 14 bits (2mV) 14 bits (2mV) upon release of button. These are the tuning information incrementing resolutions con- 3. Fine tune if required. trolled by the Tune Up/Down, Band Inputs, and Fine Tune inputs. 4. Tuning information is stored automatically upon release Voltages relate to approximately 30 volt tuning range. of band button or release of Fine Tune button. 5. Tuning Information may be copied by pressing Copy Fine Tune-The Fine Tune steps approximately 8 times per second and selecting a new program number. (related to system clock). The Fine Tune input is disabled when (b) With Tuning Option selected: searching (Band inputs pressed orTune Up/Down active) and when 1. Select Band-this IS latched on. Mute is active Tuning resolutions as above. 2 Tune Up or Down using Tune Up/Down Input 8cannlng-The actual tuning rates, fixed by the TUning Clock, may 3 Fine Tune if required. be adjusted over a wide limit, typical figures are quoted below 4. Tuning Information is stored automatically upon release of Tune Up/Down or release of Fine Tune Up/Down. Operation of a Band Input or Tune Up/Down Initiates scanning on 5. A program location is selected by first pressing Copy and the selected band, and the Search O/P goes low. then selecting the required Program number. TYPical Scan rates are as follows: (c) With Band Step 3 or4 selected and Tuning Option Selected: Scan Time 1. Select band-this is latched on. Band Option 1 Option 2 2. Tune Up or Down (Tuning will now follow from band to 1.25 sec 25sec band). 2,4 2.5 sec 5 sec 3. Once a station Is tuned, release Tune Up/Down and Fine 3 10sec 10sec Tune, if required. 4. Tuning information is stored automatically upon release This corresponds to a Tuning Clock of approximately 1.6KHz. of Tune Up/Down or release of Fine tune Up/Down. When the Tuning Output overflows, scanning pauses for256ms to 5. A Program location Is selected by first pressing copy and allow time for the tuning voltage, and If in Band Step Mode, the then selecting required program number. Band outputs to settle. This pause occurs at the bottom of the tuning range when tuning Output 8lgnal8-Tuning voltage and Band outputs are not dis- up and at the top of the tuning range when tuning down. turbed by Internal sequences, for example; STORE and COPY. Only program change will disturb these outputs-program change Muting-When a program change is made, at Power ON, and being either a change of band and/or tuning information. . 10-4 AY-3-8211 Memory RecaU-The memory recall sequence is triggered by a TABLE 1 FUNDAMENTAL TUNING WAVEFORM program change and, after the 256 millisecond Power On reset. The sequence is as follows: COMPONENTS a) 20 millisecond anti bounce delay on the I/O Select or Pro- Frequency Mark/Space Ratio gram inputs. 4kHz 1:1 b) Mute and Fine Tune input inhibit triggered for 256 milli- 2kHz 1:511 seconds and memory read initiated. 1kHz 1:1023 c) Approximately 12 milliseconds after initiation of memory 500Hz 1:2047 read, new tuning and band information will be output. 250Hz 1:4095 d) Remainder of the 256 milliseconds period allows time for the 125Hz 1:8191 band drives and tuning voltage to settle. 62.5Hz 1:16383 Power On-At power on (Vee on), a 256 millisecond reset allows the power supplies to settle. Mute is active for this period and all inputs are inhibited. At the end of this 256 millisecond period a memory recall sequence is triggered. Program chenge timing with 1/0 Select In Input mode (low) Three recall modes are possible: I I a) 1/0 select low (input) mode-in this case band and tuning I I voltage information will be output for the program number input. PROGAAM~ INPUTS : 1 I I b) I/O select high (output) mode-program 1 together with associated band and tuning voltage information will be l.-- DE80UNCE~I iI I 20ms output. ~ C) I/O select open circuit-program 1 band and tuning infor- 5n15 LATCH I iI mation will be output. If 1/0 Select goes high, program 1 will Fig. 1 PROGRAM STROBE TIMING be output on the Program 1/0 lines. Any program input change is detected and, after a 20 millisecond anti bounce period, the program lines are latched in and the cor- Standby-When leaving standby, Mute is activated for 256 milli- responding tuning information output. The program lines must be seconds, and all inputs are inhibited. A memory recall sequence stable for the 5 millisecond 'latch' time shown above. now follows this delay period. Memory recall occurs regardless of program change status. Three Standby off modes are possible: a) 1/0 Select in either output mode or open circuit. Program information will be as it was prior to Standby. b) 1/0 Select in input mode, program remains unchanged. Pro- Latched Program Information using 1/0 Select faature x- gram information will be as it was prior to Standby. I c) 1/0 Select in Input mode and program changed. The new program information will be output during the memory recall I!O~ SELECT I I sequence. I I 20ms I ~DE80UNCE - . . . , I I I I I PROGR~()~~ ~ Tuning Output Waveform-The tuning output is a rectangular waveform of variable mark space ratio. This output is filtered to produce the tuning voltage. The mark space ratio and tuning volt- I --+-I H - - Sms I I I I LATCH I age can be varied, up to a maximum resolution on Band 3, of 14 bits. See Tuning for the resolutions on other bands. Fig. 2 LATCHED PROGRAM TIMING Seven fundamental frequency components can be present in the output waveform, depending upon tuning position. The following 1/0 Select to low converts the program lines to input mode and table lists these frequencies together with their maximum effective triggers a 20ms anti bounce period. The program lines are then mark space ratios< The condition for which all 7 components make latched into the chip and the corresponding tuning information up the output waveform would result in a condition of maximum output. The program data must be stable for the 5ms latch period. ripple at the output of the tuning filter. The worse case tuning 1/0 Select to high converts the program lines back to the output voltage ripple can, therefore, be determined. mode. 10-5 AY-3-8211 ELECTRICAL CHARACTERISTICS Maximum Ratlngs* * Exceeding these ratings could cause permanent dam- Voltage on any Pin with Respect to Vss pin •.•.•.••••• , .••• -0.3V to +20V age to the device. This is a stress rating only and func- Ambient Operating Temperature Range •••••••.••••••.•.•. O°C to +70°C tional operation of this device at these conditions is not Storage Temperature Range ••••••••••••••••••••••••• -65°C to +150°C implied - operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise noted): ditions for extended periods may affect device reliability. Temperature 0° C to +70° C Data labeled "typical" is presented for design guidance Vss=OV only and is not guaranteed. Vcc = +12V = ±10% System Clock = 1.44 to 2.15MHz (2.048MHz) Nominal (10.8 to 13.2 Volts) Characterlsllc Min Typ Max Units Conditions Option (2, 13), Fine Tune Up (11), Fine Tune Down (8) Inputs Low. Level Vss - 3 V High Level Vcc-3 - Vcc V Pull Up to Vee Low Level Source - - 05 mA V,N = Vss High Level Vce-3 - - V IsouRce = 10pA Standby (25) Auxiliary (17) Inputs Low Level Vss - 3 V High Level Vcc-3 - 13.2 V Input Leakage to Vss - - 10 pA V,N = 13.2 Volts Store Inhibit (14), Test/Copy (12) Tune Up/Down(9),Band Step 3/4 Select (10), Program Up/Down (32), 110 Select (34) Inputs Low Level Vss - 1 V 'Open Circuit" Level 3 - 0.5Vcc V High Level Vee-3 - Vcc V Pull Up to Vee (Note 3) Low Level Source - - 0.5 mA V,N = V•• 'Open Circuit' Level 3 - - V IsouRce 10pA Pull Down to Vss (Note 3) High Level Sink - - 0.5 mA V,N = Vee 'Open Circuit" Level - - 0.5Vcc V IsINK 10pA Band Input/Output (18 to 21) Output Low Level 3 - 5 V ISINK5mA Off Leakage to Vss - - 10 pA VOUT = Vee Input Low level Vss - 1 V Input High level 3 - Vee V Copy (23), Mute (22), Search (24), Open Drain Auxiliary (16), AIV (31) Outputs low level - - 1 V ISINK (max) = 10m A Off Leakage to Vss - - 10 pA VOUT= Vee Program TlO (35 to 39) Input low level Vss - 3 V Input High Level Vee-3 - Vce V Input Pull Up to Vce Low level Source - - 0.5 mA V,N = Vss High Level Vee-3 - - V IsouRee =10pA Output low Level - - 0.4 V IsINK = 1.0mA Output High level As above Pull Up High level Control, Data + Clock Outputs to ER1400 (4,5, 6, 3 +7) low Level - - 1 V I,SINK = 20pA High level Vee-O.5 - - V IsouRce = 20pA Rise Time, Fall Time (Note 2) - - 1 ps C= 30pf Clock to ER1400 (7) 11.25 160 16.79 KHz System Clock + 128 (50% Duty Cycle) Data Input from ER1400 (3) low level * - 3 V *Note 4 High level Vec-3 - Vcc V Input leakage to Vss - - 10 pA VIN= Vee Input Leakage from Vee - - 8 pA V,N = 3 Volts 10-8 AY-3-8211 Characteristic Min Typ Max Units Conditions Tuning Clock (15) External Resistor to Vee 47 - 1000 KO External Capacitor to Vss 1.0 - 220 nf Leakage to Vss (Tuning Clock OFF) - - 1 /lA V,N = Vee System Clock (33) External Resistor to Vee 2 - 330 KO External Capacitor to Vss 10 - 100 pf Normally adjusted for 16.0KHz at Pin 7. Valid 1 (27) Valid 2 (28) Inputs Low Level • - 3 V • Note 4 High Level Vee-3 - Vee V Input Leakage to Vss - - 10 /lA = V,N Vee Valid Output (26) Push Pull Low Level - - 1 V = ISINK 0.4mA High Level Vce-1.0 - - V IsouReE 1mA = Tuning Output (29) = VREF 5 to 7.1 Volts Low Level - - 0.4 V ISINK = 500/lA = High Level VREF-O.4 - - V IsouRCE 100/lA Rise Time, Fall Time - - 50 ns = C 10pf 10-90% Tuning Reference (30) 5 - 7 V Supply Current Vee (40) - - 50 mA T = 70·C NOTES: 1. All Pull Ups, unless otherwise stated, are configured with depletion FET's with gate connected to source. They have non- linear VI characteristics. 2. Rise time and fall times measured Vee-1 to Vcc-B Volts. 3. Tristate 'Pull Ups' and 'Pull Downs' are configured with enhancement FET's. They have non-linear VI characteristics. 4. Guard ring to clamp any input more negative than Vss. Maximum clamp current = -100pA. PIN FUNCTIONS Pin No. Name Function Vss Connect to zero volts. 2 16/32 Program/Resolution Selects program number and tuning resolution. Low 32 mode, high 16 mode. Option Resolution B1 B2 4 B3 Open 16 Prog. 11 12 14 Low 32 Prog. 12 13 14 In the 16 program mode, program numbers up to 32 are accepted on the 20, 2" 2', 2' and 24 inputs. The number of programs is limited to 16 only when the Program Up/Down input is used. 3 DataIlO 4 5 6 7 C3 C2 C1 16KHz Clock I To ER1400 System Clock -;- 128 8 Fine Tune Down When connected, a low causes Fine Tune to decrement automatically at approx- imately B steps/second. There is a pause of approximately 'I. second before the first step is executed. The input is disabled if either a Band Input is selected, Tune Up or Tune Down is selected, or if MUTE is active. Tuning information is stored when Fine Tune Down istreleased. There is a 20 millisecond debounce on the store function. 9 Tune Up/Down Input Tristate input which determines Tuning direction. Tune down for low, tune up if open circuit or connected high. When using the Band Select Option this input is used for tuning, low tune down, high tune up, and open circuit OFF. The Fine Tune Up/Down input is inhibited while tuning and tuning information is stored automatically upon release of either tune up or down. There is a 20ms anti bounce delay on the store function. Note: Tuning will occur if this input is active, independent of the Band Inputs. 10 Band Step 3/4 Select Tristate input. When connected low the 3 band step search mode is selected. When connected high the 4 band step search mode is selected. Tuning is now carried out using the Tune Up/Tune Down input. 10-7 ECONOMEGA III GENERAL INFORMATION Frequency Locked Loop Tuning Systems INTRODUCTION TUNING SYSTEMS Economega III is a powerful Frequency Locked Loop (FLL) tuning The Superheterodyne Receiver system with applications in Radio, TV and wherever the control of Practically all Radio and TV receivers currently manufactured are frequency or speed is required. It is based on the Generallnstru- of the Superheterodyne variety. These receivers mix the Incoming ment PIC series of single chip microcomputers. signal with local oscillator to translate the signal to a third, fixed The FLL principle can be used for many applications with many lower frequency called the Intermediate Frequency (IF). Most of varied implementations. Some examples are shown later but it the amplification and selectivity Is provided at the IF, the signal is should be emphasized that the system Is specifically designed to then demodulated to recover the Audio or Video. The receiver is be flexible and that variants having other features and cost/per- tuned by varying the local oscillator frequency. The frequencies formance trade-oils can be provided. are related by the following equation: Depending upon the requirements, the system will use any of the Fs= F LO - F'F (in the typical case where the oscillator frequency is higher than General Instrument PIC's (1650A, 1655A, 16C55, 1656, 1670, etc.) the signal frequency). with or without an EAROM (ER1400, ER2055, etc.). To take a specific example in the FM Band, Low cost and simplicity are the key features of Economega III. = = if Fs 87.7MHz, F'F 10.7MHz then FLO must be set to 98.4MHz. A simplified block diagram of an FM receiver is shown in Fig. 1 DEMODULATOR AF AMPLIFIER SPKR MIXER SIGNAL 107MHz AUDIO 877MHz IF AMPLIFIER LOCAL OSCILLATOR Fig. 1 FM RECEIVER SIMPLIFIED BLOCK DIAGRAM The classical way to tune a receiver is to use a mechanical variable capacitor with a knob, slow motion drive, scale and pointer. This method is used in virtually all portable radios and in many low end TV sets (Figure 2). o Fig. 2 MECHANICAL TUNING Varactor Tuning Here the bulky and Inconvenient mechanical variable capacitors are replaced by Varactor Tuning Diodes which are voltage vari- able. They thus open up the way to electronic tuning. In the simplest implementation the tuning voltage is provided from a voltage ref- erence by a potentiometer or bank of potentiometers (Figure 3). FIg. 3 VARACTOR TUNING 10-8 Economega '" Voltage Synthesis The systems so far described are all open loop and demand a high The first mass production electronic tuning systems replaced the order of stability in all components to achieve long-term accuracy potentiometers with a digital store and a D/Aconvertor (Figure4). of tuning. Furthermore, there is no inherent readout of frequency The digital words are stored in a non-volatile memory such as an availability, and expensive mechanical or electronic arrangements ER1400. Since the tuning is fully electronic, it becomes relatively are necessary if readout is desired. Finally, if any component is simple to add features that were previously difficult or uneco- changed, the receiver will have to be completely retuned. These nomic, such as favorite program storage, automatic tuning, disadvantages encouraged the adoption of closed loop systems remote control. where a highly stable quartz crystal is used as control reference. ~ ~ JI D/A CONTROL II CONY SYSTEM ~ MEMORY >- >- >- f Fig. 4 ELECTRONIC TUNING SYSTEM Phase Locked Loop (PLL) Frequency Synthesis This was the first closed loop system to be adopted and was local oscillator is varactor tuned and the tuning voltage is set by initially used in professional radio communications equipment the output of a phase comparator which compares the reference which demand high stability and accuracy in extreme environ- and the divided local oscillator signal. As the oscillator tries to drift ments, using components that make it difficult or impossible to off frequency, the phase comparator output changes and the achieve the requirements using simpler techniques. tuning voltage is readjusted to compensate. The rate at which The basic system operates by phase locking a sub-multiple of the corrections can be made is high, commonly more than 1000 per local oscillator frequency to a crystal controlled reference (for second. This is fast enough to improve the noise spectrum of a example a 1KHz reference and a 1MHz oscillator divided by 1000). noisy oscillator or to reduce frequency modulation caused by By altering the division ratio, the oscillator frequency can be mechanical vibration. altered in steps (e.g. to 1.001 MHz by using a divide by 1001). The A basic PLL Synthesizer is shown in Figure 5. MIXER 10.7MHz IF SIGNAL 87.7MHz AMPLIFIER pHASE REFERENCE COMPARATOR OSCILLATOR PROGRAMABLE 1KHz 1KHz + 100 DIVIDER + 1000 (+ 984) CONTROL VOLTAGE '""'r CONTROL SYSTEM FILTER & BUFFER Fig. 5 BASIC PLL SYNTHESIZER 10-9 Economega 1\1 Practical systems are often more complicated. especially where comparing it with the desired frequency. If the error exceeds small frequency steps are required. acceptable limits a current pulse is fed to the capacitor to readjust A typical system would contain a high frequency dual modulus the tuning voltage and bring the oscillator onto frequency. The divider (in ECL technology). a synthesizer (consisting of pro- amplitude and length of the pulse may be made proportional to the gramable divider. reference divider and phase comparator). a error to speed the initial tuning procedure. buffer amplifier/filter. and a control block (usually a microcom- To tune the system initially. it is desirable to repeat the frequency puter). For certain well defined applications. some or all of the measurement fairly rapidly to minimize the tuning time. Once on blocks may be contained in one integrated circuit. tune. however. the measurements need only be made intermit- tently and measurement cycles may be omitted as desired. The system because of this. lends itself to implementation in software Frequency Locked Loop (FLL) Frequency Synthesis and the system control microcomputer can do the tuning as well. The FLL synthesizer approaches the problem from a different Compared to a PLL. the synthesizer block has bean eliminated. direction. It assumes that it is fairly easy to make a low noise Another simplification is in the prescaler which can be a simple oscillator with good short-term stability (every conventional divider. Radio and TV has one) and aims to add long-term stability and a Frequency synthesizer systems inherently give a frequency read- means to accurately set the frequency. out and. since microcomputers are used as controllers. it is very At the heart of the system is a varactor tuner. the frequency of easy to provide features to simplify operations and differentiate which is determined by the voltage stored on a capacitor. The products (Figure 6). basic stability of the tuner and the discharge rate of the capacitor There is only one application for which FLL is not entirely suitable; are ideally specified so that uncorrected. the frequency would stay single sideband reception. For this class of transmission. a very within acceptable limits for several seconds. high order of short-term stability is required. a simple FLL system Longer-term stability is achieved by counting the frequency and does not control the frequency closely enough. IF AMPLIFIER REFERENCE OSCILLATOR 153.75KHz COUNTER + "" 640 CONTROLLER r 1 MHz c:::I UP DOWN CHARGE PUMP Fig. 6 BASIC FLL SYNTHESIZER 10-10 Economega III GENERAL INSfRUMENT ECONOMEGA III Introduction The control loop has been optimIZed to give high stability and low Economega III is a family of Tuning Systems with a wide variety of noise together with fast locking. applications. All the variants have in common the FLL principle A PIC1650A microcomputer is used as the control element and an and the General Instrument PIC microcomputer. The implementa- ER1400 as the favorite program store together with a 74096 pre- tion, however, varies considerably as each has a different trade-off scaler (7256, 716). between cost, performance and features. Each member of the family is designated by a letter suffix (e.g. FEATURES Economega III E) and an optional numerical suffix where there is a • Tunes CCIR Channels 2-4,5-12 and 21-71 minor variant (e.g. Economega III E-l). The individual PIC used is • Three Bands identified by its type and pattern number (e.g PIC1650A-031). Full • Non-Volatile Storage of 16 Favorite Programs PIC data sheets are in the Microcomputer section of this catalog • Fine Tune ± 4MHz In 50KHz steps Six existing Economega III systems are briefly described and • 2 + 2 Digit Display of Program and Channel Number compared in the following sections. • Lock Time 200ms (max) .38 9MHz IF Economega iliA • Local Commands for Channel 10's, Channell's, Fine Tune This system is programed for European TV applications and tunes Up, Fine Tune Down 61 channels in 3 bands. Favorite program storage is provided in • Parallel Remote Control Input for Program Number EAROM for 16 stations (Figure 7). • Customizing Service Available BAND{ OUTPUTS CONTROL VOLTAGE Fig. 7 ECONOMEGA III A BLOCK DIAGRAM 10-11 Economega III ECOnOm~ga IIIB FEATURES This system is programed for USA TV applications and tunes 82 • Tunes 82 Channels channels in 3 bands. Favorite channel storage is provided in • Three Bands EAROM. A remote control receiver function is incorporated. This, • Favorite Channels Stored in EAROM in addition to controlling the tuning, provides a main ONIOFF • Built in Remote Control Receiver output and a 16 step volume control (Figure 8). • Main ON/OFF Output A PIC1650A microcomputer IIi used as the controller and an • 16 Step Volume Control ER2055 as the favorite channel store together with a + 2048/4096 • Local Control of Volume and Channel prescaler (+128, +16/32). • Output for On Screen Display • Lock Time 200 ms (typ) • Customizing Service Available TO ON SCREEN DISPLAY LOCAL 2x ER2055 OSCILLATOR + 128 7493 2MHz ~DI "-411~--- LOCAL 1MHz KEYBOARD PIC1650A REMOTE BAND { OUTPUTS !t::::l 1 + - - - - CONTROL CONTROL VOLTAGE CT2017 CHARGE PUMP DOWN "><>-...... VOLUME OUTPUT ON/OFF C I Fig. 8 ECONOMEGA IIIB BLOCK DIAGRAM )0-12 Economega III Economega me FEATURES This system is programed for USA TV applications and tunes 82 • 82 Channels channels in 3 bands. Favorite channel storage is provided in RAM. • Three Bands A remote control receiver function is incorporated. This, in addi- • Favorite Channel Storage in RAM tion to controlling the tuning, provides a main ON/OFF output and • Two Digit LED Display a 16 step volume control (Figure 9). • Local Keyboard A PIC1650A microcomputer is used as the controller together with • Built in Remote Control Receiver a +2048/4096 (+256; +8/19) prescaler and a 2102 RAM for favorite • 16 Step Volume Control channel storage. • Main ON/OFF Output • Lock Time 200 ms (typ) LOCAL OSCILLATOR BAND { 1MHz PIC1650A I+-----} ~~~AAO OUTPUTS '--""T"......,r--""T".....,-......"""T-..-jl----- ~~~~~~L CT2017 CONTROL CHARGE VOLTAGE DOWN PUMP ON/OFF Fig. 9 ECONOMEGA IUC BLOCK DIAGRAM 10-13 Economega III Economega 1110 FEATURES This system is programed for USA Radio applications and tunes • AM Band 530KHz to 1610KHz, 10KHz Channels, MW and FM bands. It has direct frequency entry, manual tuning 455KHz/260KHz IF and a seek function (Figure 10). • Direct Frequency Entry A PIC1656 microcomputer is used as the controller together with a • Manual Tune Up/Down +16/640 prescaler (+80; +8/16). • Seek • Fme Tune Up/Down • 4 Digit LED Display • Customizing Service Available ~ I I I II II I LOCAL { OSCILLATOR SP8627 74LS93 ~.... 0000 .---+ +80 + 8/16 f-- BAND PIC1656 ~'o: 1 INPUT 4MHz ..L UP I ':' CONTROL CT2017 KEYBOARD VOLTAGE CHARGE 1 PUMP DOWN Fig. 10 ECONOMEGA 1110 BLOCK DIAGRAM 10-14 Economega III Economega IIIE • FM Band 87.4-108. 1MHz Steps, This system is a high performance Radio Tuning System pro- 10.64/10.67/10. 70/10.73/10.76MHz Selectable IF gramed for European applications. It tunes MW and VHF bands • FM Channel Mode and provides storage for 43 favorite programs, direct frequency • Storage of 43 Favorite Programs in EAROM entry, manual tuning with a knob, and search tuning (Figure 11). • Direct Frequency Entry with Automatic Range Selection Two PIC1650 microcomputers are used as the controllers, an • Manual Knob Tuning AY-5-8105 as the FLL counter/display driver and an ER1400 as the • UplDown Search Tuning favorite program memory together with a .;-81780 prescaler. • 2 + 5 Digit Fluorescent Display • Lock Time 300ms (typ) FEATURES • Very Low Oscillator Noise • MW Band 510KHz to 1609KHz, 1KHz Steps, • Customizing Service Available 455/459/460/468KHz Selectable IF FLUORESCENT DISPLAY 00000 UUUUU LOCAL SP8794 74LS90 AY-5-8105 OSCILLATOR .;-8 .;-10/1 COUNTERIDISPLAY DRIVER = CT2017 CONTROL CHARGE VOLTAGE PUMP OAND{ OUTPUTS PIC1650-013 PIC1650-014 ER1400 C r ~ KEYBOARD )) TUNING KNOB Fig. 11 ECONOMEGA IIIE BLOCK DIAGRAM 10-15 Economega III Economega IIIE-1 • MW Band 520-1609KHz, 1 KHz Steps This system is a variant of Economega III E. It is a high perfor- • FM Band 87.4-108 ..1MHz, 10KHz Steps mance Radio Tuning,System programed forEuropean,applications • AM IF Programable 455/459/460/468KHz (Figure 12). • FM If Programable 10.64/10.67/10.70/10.73/10.76MHz It tunes LW, MW and VHF bands and provides storage for 38 • Storage of 39 Favorite Programs (Including Audio Functions) favorite programs, direct frequency entry, push button manual • Direct Frequency Entry with Automatic Range Selection tuning, and search tuning. • Manual Push Button Tuning • Up/Down Search Tuning, 9KHz Channels AM, 50KHz Two PIC1650 microcomputers are used as the controller, an AY-5- Channels FM 8105 as the FLL counter/display driver and an ER1400 as the • 2 + 5 Digit Fluorescent Display favorite program memory together with a +8/780 prescaler. • Lock Time 300ms (typ) FEATURES • Very Low Oscillator Noise • LW Band 150-265KHz, 1KHz Steps • Customizing Service Available FLUORESCENT DISPLAY LOCAL SP8794 AY-5-8105 =4096 OSCILLATOR +8 COUNTER/DISPLAY DRIVER MHz CT2017 CONTROL CHARGE VOLTAGE PUMP BAND{ PIC1650-015 ER1400 OUTPUTS PIC1650-016 ~ KEYBOARD Fig. 12 ECONOMEGA IIIE-1 BLOCK DIAGRAM 10-16 Economega III COMPARISON CHARTS TABLE 1 TV Tuning Systems - Performance Comparison TABLE 2 TV Tuning Systems - Components Comparison TABLE 3 TV Tuning Systems - Performance Comparison TABLE 4 TV Tuning Systems - Components Comparison TABLE 1 ECONOMEGA III TV TUNING SYSTEMS - PERFORMANCE COMPARISON System Bando/Channels TUning Storage Display Fine Tune Performance Other lilA CCIR Remote EAROM (ER1400) 2 + 2 Digit LED ±4MHz Gate Time 10ms Parallel Remote I Ch2-4 Program/ 16 Favorite Program SOKHz Steps Lock Time 200ms (max) Control Input III ChS-12 Number Programs Channel Stability ±25KHz Power Supplies IVIVCh21-71 Number Correction Rate: +33V Local 8Hz absolute (max) +9V Channel Step 2Hz (typ) +SV Fine Tune -26V Up/Down III B USA Remote EAROM (ER20SS) On Screen None Gate Time 2S0ms On Chip Remote VHFLOCh2-8 Channel 82 Fav0rite Lock Time 200ms (typ) Receiver with VHF HI Ch6-13 Number Channels Stability ±SOKHz Volume Control UHF Ch14-83 Correction Rate 4MHz Power Supplies Local +33V Channel Up/ +SV Down -30V III C USA Remote RAM 2 Digit LED None Gate Time 2S0ms On Chip Remote VHFLOCh2-6 82 Favorite Lock Time 200ms (typ) Receiver with VHF HI Ch6-13 Channels Stability ±SOKHz Volume Control UHF Ch14-83 Correction Rate 4MHz Power Supplies Local +33V +SV TABLE 2 ECONOMEGA III TV TUNING SYSTEMS - COMPONENT COMPARISON (Excluding Displays and Decoupling Components) System LSI MSI/Llnear Olseretes PCB lilA PIC1650A 1 SP4541 1 Resistors 20 Holes 191 ER1400 1 CT2017 1 Capacitors 5 7493 1 Diodes 2 4049 1 Transistors 7 7447 1 Crystal 1 LED Driver 1 III B PIC1650A 1 Prescaler 1 Resistors 33 Holes 241 ER2055 1 CT2017 1 Capacitors 4 7493 2 Diodes 3 7404 1 Transistors 8 LM321 1 Crystal 1 IIiC PIC1650A 1 Prescaler 1 Resistors 49 Holes 280 2102 1 CT2017 1 Capacitors 4 7493 1 Diodes 3 7404 1 Transistors 6 7447 2 Crystal 1 LM324 1 10-17 Economega III TABLE 3 ECONOMEGA III RADIO TUNING SYSTEMS - PERFORMANCE COMPARISON System Ranges Resolution Tuning Methods Storage Display Performance Other 1110 530KHz-1610KHz 10KHz Direct Entry None 4 Digit LED Gate Time 300ms Fine Tune 87.7MHz-l08.1MHz 200KHz Manual Up/Down Lock Time AM Seek Stability ±16KHz, 1KHz Steps Noise FM Correction Rate ±160KHz, 10KHz Steps III E 510KHz-900KHz 1KHz Direct Entry EAROM 5+2 Digit Gate Time 8ms Automatic Range 850KHz-1609KHz 10KHz Seek Up/Down 43 Programs Fluorescent Lock Time 300ms Selection 87.4MHz-l0a.l MHz 100KHz Knob on any Range Stability ±0.5KHz AM CH2-Ch70+ ±5KHzFM Noise 5Hz p-p AM Correction Rate 1Hz (typ) III E-l 150KHz-265KHz 1KHz Manual Direct Entry EAROM 5 + 2 Digit Gate Time 8ms Automatic Range 520KHz-1609KHz 9KHz Seek Seek Up/Down 39 Programs Fluorescent Lock Time 300ms Selection Manual Up/Down on any Range Stability ±0.5KHz AM 3 Audio Ranges 10KHz Manual ±5KHz FM 87.4MHz-l08.1MHz 50KHz Seek Noise 5Hz p-p AM 200Hz p-p FM Audio " 2, 3 Correction Rate 1Hz (typ) TABLE 4 ECONOMEGA III RADIO TUNING SYSTEMS - COMPONENT COMPARISON (exciuding Dispiays and Decoupiing Componenisj System LSI LSI/Linear Discretes PCB III 0 PIC1650 1 SP8627 1 Resistors 37 Holes 217 74LS93 1 Capacitors 7 4016 1 Diodes 9 Transistors 15 Crystal 1 III E PIC1650 2 SP8794 1 Resistors 56 Holes 320 AY-5-8105 1 74LS90 1 Capacitors 12 ER1400 1 LM324 1 Diodes 6 CA3080 1 Transistors 8 CA3130 1 Crystal 1 III E-l PIC1650 2 SP8794 1 Resistors 47 Holes 293 AY-5-8105 1 74LS90 1 Capacitors 10 ER1400 1 LM324 1 Diodes 5 CA3080 1 Transistors 7 CA3130 1 Crystal 1 10-18 ECONOMEGA IV PLL Tuning System FEATURES Program Display • 100 Channel Tuning Capability - Includes All CCIR Standard Available as a 2 digit multiplexed BCD output. Channels, Italian and Australian Special Channels Channel Display • 32 Favorite Programs Available as a 2 digit multiplexed BCD output. • Automatic Sweep Tuning Option (with Automatic Fine Tune) , • Fine Tune in SOKHz Steps (Manual for Stable Transmitters, Manual Fine Tune Up/Down Automatic for Unstable Transmitters) SOKHz steps with a range of +4.0MHz and -3.9SMHz around the • Two Digit Channel Display selected channel with roll over at both ends. On depression of the • Two Digit Program Display button one step is made. After a delay of 0.4 sec, steps are made • EAROM Non-Volatile Memory every SOms. The fine tuning is automatically stored on release of • Lock Up Time 10ms (typ) the button. DESCRIPTION Automatic Fine Tune Economega IV is a PLL Frequency Synthesizer system designed This mode is selected if the Auto/Manual button is pressed. The for accurate tuning of Color TV. It consists of the following five status for any program is stored in the EAROM. The Fine Tuning is chips. then controlled by the output of the AFC discriminator and the (a) Prescaler and preamplifier - CT2010 8 pin DIL system will track the incoming signal within ±2SKHz. If there is no (b) Frequency Synthesizer - AY-3-2012 24 pin DIL signal present, the system will search within a range of ±4MHz in (c) Controller - AY-3-16S0 40 pin DIL 50KHz steps at a rate of 12ms per step. (d) Non-Volatile Memory (optional) - ER1400 14 pin DIL Auto Sweep Mode (e) Peripheral Circuit - CT2017 18 pin DIL Operating the Auto Sweep button causes the system to sweep The controller is microcomputer based and can be repro- though all channels in steps of 2S0KHz at a rate of 100 steps per gramed to provide features and channels as required, with or second. The channel number is incremented appropriately. When a without favorite program memory and direct channel tuning. station Is found, the sweep stops and the Auto Fine tune mode is entered. FEATURES PROVIDED WITH CONTROLLER Band Output AY-3-1650-20 4 outputs are provided. Channel Entry Two buttons, tens and units, allow the channel to be set. When Memory operated the number increments every O.S sec (there is no carry An ER1400 non-volatile memory Is used to store the channel, Fine from the units). On release of the button the channel number is Tune offset, and Fine Tune mode for each of the 32 programs. stored in the memory against the selected Program Number. Power Up Program Entry At switch on, Program 1 is selected. Activation of parallel S bit binary input recalls the required program. 10-19 ECONOMEGA IV GENERAL INFORMATION PLL Tuning System - Synthesizer Block The three devices described form the synthesizer block of the ECONOMEGA IV system, a complete family of integrated circuits for frequency synthesis in television receivers. The Phase Locked Loop is controlled via the Data Bus by a Control Block, which consists of a PIC1650 microcomputer and an ER1400 non-volatile memory. The CT2010 and CT2017 are manufactured by Plessey Semicon- ductors and data is included for information only. +5V ~ PRESCALEA I 1: T l T ~ CT2010 -= +12V T '"~ "" " +5V DOWN n CONTROL UP BLOCK SYNTHESIZER AY+2012 U PIC1650-020 ER1400 +5V +33V +12V ' - - - - _ O A V BAND -VE VIDE0o---l ~~--L-~L-~~L-b_------~~------~POWEAON LINE FLYBACKo--'WII---! r---------------~AUTOUP AFCo------L~~~---~-_r-I----------------~AUTOOOWN THE SYNTHESIZER BLOCK 10-liD SY912 1 LFIB-b RI COMBINED WITH SWITCH 55 3 VIDEO/SYNC 47K It\ 'LFIB '" "" 2N3906 AFT'-'_* R22 IR23 22K 2N3904 22K "e1 -26V ~~"'I • UJ 6 - SY1240 6 ,0 L..L ~ , " _7_2_'_ _ 8 PAOG STROBE lor 010 g lOW ON ON SWITCH rg, REG 1 01 1~9 5 ·---6 SY91213 LFIB ·---7 ·---B ,~ ___II " m n o :::I VHF ill o 3 C1I co S7 I» <: 12V F OV UO "\ BIht MUTI OUT z TV SYNTHESIZER ;3C\ ~ ;s:'" is ~ ~ TUNING AY-3-2012 Economega IV PLL Synthesizer Divider FEATURES • SOKHz Tuning Resolution, Range Approximately 80 to PIN CONFIGURATIONS 1000MHz 24 PIN DUAL IN LINE • Fine Tuning Range; -3.9S to +4.00MHz in SOKHz Steps • 4MHz Crystal OSCillator Reference DESCRIPTION TOp VIew The AY-3-2012 forms part olthe Economega IV phase locked loop 1 Holip C ., '-' 2C) v" (0 Valls) TV tuning system. The chip is a synthesizer divider circuit fabri- Hll/p [ 2 23 J "" Down O/p cated in N channel MOS. Functions include a programable divider, Data Bus HNp [ 3 22 :J t/J Up O/p reference oscillator and divider, phase/frequency comparator, H31Jp [ 4 21 :J + N In prescaler modulus controller, and a band decoder. Tuning data is MPX elk [ 5 20 J Crystal shifted into the chip under control of a PIC16S0A microprocessor. 25KHzRefClk [ 6 19J +NOut [ 7 16 J Crystal, Trimmer Vdd (+SV) [ 8 17 J OSCillator MOnitor O/p (50KHz) Band 3 O/p [ 9 16 J Modulus Control DIp Band 20/p [ 10 15 J AV IIp Band 40/p Y11 14 [1 Av Bana lip Band 1 alp qL12-_ _ _13-'P AV DIp Pin Functions Pin Number Name Function 1-4 Ho-H 3 lnputs 4 Bit data highway Ho is LSB. 4KCl (nom) pull up to +SV S MPX Clock Input Highway timing input 6 Reference Clock Output 2.SKHz output derived from 4MHz clock 7 8 Voo +SV (nom) Supply 9 Band 3 Output Open drain band output, on when Band 3 is selected. Select by Code 01 10 Band 2 Output Open drain band output, on when Band 2 is selected. Select by Code 11 11 Band 4 Output Open drain band output, on when Band 4 selected. Select by Code 10 12 Band 1 Output Open drain band output, on when Band 1 is selected. Select by Code 00 13 AV Output Open drain output, on when AV Band input and AV input are both high 14 AV Band Input input from band switch to allow AV mode to be selected 1S AV Input Input from program decoder to allow AV mode to be selected 16 Modulus Control Output Output to CT2010 prescaler to control the division ratio 17 Oscillator Monitor Output SOKHz output used to set the oscillator frequency 18 Crystal Trimmer Oscillator input pin 19 +N Out Programable divider output used for test purposes 20 Crystal Oscillator output pin 21 +N In Input from prescaler to programable divider 22 .pUP Output to charge pump to raise oscillator frequency 23 q, DOWN Output to charge pump to lower oscillator frequency 24 Vss (OV) Connect to zero volts 10-22 AY-3-2012 SYSTEM DESCRIPTION 3. A fine tuning system which generates 'RlJlses to control the The AY-3-2012 contains six main sections: modulus of the prescaler enabling 50KHz shifts in synthesized 1. A section to recognize the Tune code (hexadecimal 1D) or Fine frequency. Tune code (hexadecimaI1E) on the data highway H3to Hoand then latch the following relevant tuning information. 4. A crystal oscillator circuit (for 4MHz crystal) and fixed +1600 divider to give the 2.5KHz comparison or reference frequency 2. A 10 bit programable divider synchronously loaded with Tune and fhe fine tuning timing. data and counted down to part of the Fine Tune data. The amplifier on the clock input to the divider enables operation with 5. A phase/frequency comparator for the program able divider and a small swing from the output of the prescaler (CT201 0). The fixed divider outputs. Comparison frequency 2.5KHz. small prescaler output keeps radiation and, hence, interference 6. Logic for band decoding and for video time, constant switching to a low level. for audiolvlsual (AV) mode. Tune Operetlon Highway Information Order Fine Tune Operation H3 H2 H1 HO H3 H2 H1 HO TUNE CODE C1 o 0 0 1 Control code FINE TUNE C1 o 0 0 1 Control Code C2 1 1 0 1 to synthesizer CODE C2 1 1 1 0 DATA 01 o 0 0 0 DATA 01 F7 F6 F5 F4 Fine Tune 02 o 0 0 0 Unused time slots 02 F3 F2 F1 FO Number 03 o 0 0 0 FINISH CODE X X X X 04 B1 BO 09 06 05 0706 05 04 Band Frequency 06 0302 01 00 and Offset 07 o 0 0 R4 08 R3 R2 R1 RO FINISH CODE X X X X An '0' refers to an input low level and a '1' refers to an input High level. Four binary numbers define the synthesized frequency of the loop: 3. F; an 8 bit number (FH) the four least significant bits of which 1. 0; a 10 bit number (011-0) loaded into the programable divider. provide 0 to 19 steps of 50KHz each, similar to Fine Tune. The This sets the synthesized frequency to the nearest 1MHz. three most significant bits operating on the programable 2. R; a 5 bit number (R4-0) controlling the number of Fine Tune divider. Combining the effect of these two provides fine tuning modulus control pulses. Zero to 19 steps of 50KHz each reduce of -3.95MHz to +4.00MHz around the channel center. the synthesized frequency by up to 950KHz. Combining 0 and 4. B; a 2 bit number (B,.o> selecting one of 4 bands. R the frequency Is set to a resolution of 50KHz. TUNING RANGE ramping when changing from one channel to another. This could Combining the Fine Tune range with the programable divider occur for channels close in frequency but having very different range allows tuning of the local OSCillator, for all television broad- values in the more Significant bits, which are latched first. As an cast channels in Bands I, II, IV and V, to within 25KHz of channel example, consider the change from 0 = 1000000000 to 01 1111 center. In practice, all television channels are integer multiples of 1111, a shift of 1MHz, but the value will momentarily be 01 0000 50KHz and so may be received exactly apart from any crystal 0000 and 01 1111 0000 before settling to the correct value. This frequency error. This frequency error can be trimmed out. represents spurious shifts of 256 and 16M Hz. The Fine Tuning system gives a range of -3.95 to +4.00MHz around the channel frequency. REFERENCE GENERATION The crystal oscillator is based on the well known Pierce circuit BAND AND AV LOGIC providing a sine wave output of sufficient purity to avoid picture Four open drain band outputs are provided for driving external patterning from radiation. PNP band switch transistors. The circuit is chosen to prevent overtone oscillatlc.n with a 4MHz If AV Band and AV IN are both high then AV OUT will go low: this series resonant crystal, and may be driven externally, if preferred. can be used to change the time constant of the video synchro- The oscillator output drives a fixed +1600 to provide the 2.5KHz nizing circuit to suit domestiC video recorders. The AV Band pin reference or comparison frequency. By decoding various states of would be connected to the appropriate band switch transistor. the reference divider, the timing signals needed for the Fine Tun- ing and Fine Offset system are produced. PHASE COMPARATOR To aid accurate setting of the crystal trimmer capacitor, a 50KHz Outputs tfJ UP and tfJ DOWN are generated by the phase compara- output is provided. tor from the programable divider output and from the reference clock to give pulses whose length depends on the time difference POWER ON between the rising edges of these Signals. If Reference clock rises After power is applied to the chip, 16 Multiplex Clocks must be first the pulse will occur on tfJ ~OWN. These phase comparator transferred to initialize the data decoder. Tune and Fine Tune outputs control the loop integrator. codes may then be transferred. During the time used to demultiplex new tuning data, both outputs of the phase comparator are blocked in order to prevent erroneous 10-23 AY-3-2012 SIMPLIFIED TIMING DIAGRAMS NOTE: Control Codes C1, C2 are latched ( +)on the rising edge of Multiplex Clock, Data DO ... on the following edge MULTIPLEX __ ,..--, ,...-.., 1 ___1_ _1___ 1 CLOCK HIGHWAY H3.Q TUNE - TUNE DATA- DATA- CODE CODE 04 05 C1 C2 Fig. 1 HIGHWAY TIMING FOR TUNE PRESCALER OUTPUT (+N IN) 40 x REF FREQ (100KHz) REF FREQ (2.5KHz) r-, _ _ _ _ _1n L'-_I ________ .rur_-_l'--_ __ MODULUS CONTROL . FINE TUNING FINE OFFSET PULSES CONTROL PULSES Flg.2 FINE TUNING REFERENCE CLOCK I I II I L ----~I~I --~I~~I~I--~II I I PROGRAM ABLE DIVIDER I I I III UP -----~LJr----------illr----~~--------- I I III DOWN n Fig. 3 PHASE DETECTOR OUTPUTS ~tA ---.. 1--tF 1.....4t--..:...- t, ----I.~ I 1.....4t------tD------~~1 • MULTIPLEX CLOCK ~ V~ r\ ~------------~ X INSTRUCTION I'v' DATA I~ V".."'I-----+-+-i'"V"--._ ---------------' ~t's~1 -... Fig. 4 CHANNEL SWEEP - TIMING DIAGRAMS 10-24 +12V sJ 24~ ~'N' PROGRAM- +N IN 211 1 • IAMP~ ABLE DIVIDER TUNING COUNTER o VOLTS 10 BIT 5BIT 13 AVO/P MODULUS 16 t-:J L 14 AV BAND CONTROL 15 AV BAND 1 12 II III I I BAND21O~H II FINE FINE J! BAND FREQUENCY 'P OFFSET NUMBER BAND3 9 LATCH LATCH en LATCH LATCH III BAND4 11 r- 0 n ~ 1:1 > G) 21 :. .: --I ~ 2 Ho H, OUTPUT PHASE DRIVERS COMPARATOR 3 H2 YDD~ _ DOWN 23 1 4 5 H3 MPXCLOCK II ~ ~ II g Cot N 6 REF eLK 2.5KHz II + 1600 OSCILLATOR 17 MONITOR 50KHz liz i~ ~ TUNING AV-3-2012 ELECTRICAL CHARACTERISTICS Maximum Ratings * Voltage on any Pin (except Band and AV Outputs) * Exceeding these ratings could cause permanent dam- with Respect to Vss pin ............................ -0.3V to +7V age to these devices. This is a stress rating only and Voltage on Band and AV Outputs with Respect functional operation of these devices at these conditions to Vss pin ...•..•...••••..•••..•••••••••••••••••. -0.3V to +14V is not implied-operating ranges are specified in Stan- Storage Temperature Range ..•••••••••...••..••.... -55· to +125· C dard Conditions. Exposure to absolute maximum rating Ambient Operating Temperature Range •.•..•.•.••....• O·C to +70·C conditions for extended periods may affect device reliability. Standard Conditions (unless otherwise stated): Data labeled "typical" is presented for design guidance Vss=OV only and is not guaranteed. Voo = +5V ±10% TA = O·C to +70·C Nominal Reference Clock frequency = 4MHz Characteristics Sym Min Typ Max Units Conditions +Input (21) Level - 200 - - mVpp AC coupled Sine Wave CapacItance - - - 10 pf Frequency F'N 0.1 - 2.8 MHz Ho to H3 Data Inputs (1 to 4) Low Level V'L - - 0.8 V High Level V,H Voo -1 - - V Pull Up Resistance - 2 - 6 KO Note 1 Capacitance - - - 10 pf Multiplex Ciock Input (5) MPX Low Level V'L - - 0.8 V High Level V,H Voo -1 - - V Leakage - - - 10 pA V'N=VOO Capacitance - - - 10 pf Frequency - DC - 500 KHz Rise Time/Fall Time t .. tF - - 200 ns AV Inputs (14 .. 15) Low Level V'L - - 0.8 V High Level V,H Voo -1 - - V Leakage - - - 10 pA V'N=VOO Capacitance - - - 10 pf 4MHz Clock Input (18) (if driven externally) Low Level V'L - - 0.8 V High Level V,H Voo -1 - - V Input Current: Low level source I'L - - 100 pA V,N =0.8V Note 2 High level sink I'H - - 100 pA V,N =V oo -1V Band .. AV Outputs (9 to 13) Low Level VOL - - 5 V IOL = 1rnA sink Off Leakage - - - 10 pA VOUT= 13.2V Reference Clock Output (6) Low Level VOL - - 0.4 V IOL = 2mA sink High Level VOH Voo -0.5 - - V IOH = 0.5mA source Modulus Control Output (16) Low Level - - - 0.4 V IOL = 0.3mA sink High Level - Voo -0.5 - - V IOH = 0.1 rnA source t/> UP, t/> DOWN and Oscillator Monitor Outputs (22, 23 .. 17) Low Level - - - 0.4 V IOL = 0.8mA sink High Level - Voo -0.5 - - V IOH = 0.1 rnA source Supply current 100 - - 45 rnA Outputs/Inputs unloaded Data to Clock timings (See Fig. 1) Data/I nstruction ti me to. t, 1 - - ps Data/Instruction to Clock Set Up Time tos. t,S 400 - - ns Data I nstruction to Clock Hold Time t OH' t'H 100 - - ns NOTE: 1. Pull ups are configured with diffused resistors. 2. Current from the device is defined as source current. current into the device is sink current. 10-26 CT2010 1 GHz + 380/400 Prescaler FEATURES PIN CONFIGURATION • On Chip Wideband Amplifier • High Input Sensitivity Top VIew • High Input Impedance • low Output Radiation Vee +5V [ -1 '-/ 8 P Ground • Single ECl Output Modulus Control [ 2 7 P Input Reference • 5V logic level Control Input Output [ 3 6 P Not Connected • Control I ndependent of Distortion and Delay Ground [ 4 5 P UHF VHF Input DESCRIPTION The CT201 0 is a 380/400 two modulus divider which will operate at frequencies between 80M Hz and 1GHz. The device is the pre- scaler used in General Instrument Economega IV Tuning System. ing output cycle, commencing with a negative edge, is produced The input is terminated by a nominal 50 ohms and should be AC by 380 input cycles to the whole divider stage, rather than 400. This coupled to the signal source. The reference pin should be AC means that the device is highly tolerant of delay in the control loop decoupled. The decoupling should be effective over the full oper- and distortion of the control waveform. ating frequency range. To ensure that there is an output cycle produced by 380 input The divider contains a fixed divide by 20 followed by a divide by cycles for every control pulse, the rate of control pulses should not 19/20. The divide by 19/20 divides by 20 when no control pulses are exceed half the output frequency. (See timing diagrams). applied to the control input. The divide by 19/20 will divide by 19 The output source impedance is nominally 100 ohms. The output once for every positive going edge applied to the control pin. The swing is nominally 300mV and swings down from the positive control input edge is latched and synchronized so that the follow- supply. ELECTRICAL CHARACTERISTICS Maximum Ratings· Supply Voltage, Vcc ••••.••••••••••••••••••••••••••••••• +7V * Exceeding these ratings could cause permanent dam- UHF Input Voltage •••••• , ••••••••••••••••••••••••••• 2.5V p-p age to these devices. This is a stress rating only and Storage Temperature •••••••••••••••••••••••••• -55° to +125°C functional operation of these devicec at these condi- Operating Ambient Temperature •••••••••••••••••• -10°C to +65°C tions is not implied-operating ranges are specified in Standard Conditions Exposure to absolute maximum Standard Conditions (unless otherwise stated): rating conditions for extended periods may affect device Vee=5V, TAMB =25°C reliability Data labeled "typical" IS presented for design gUidance only and is not guaranteed. Characteristics Pin Min Typ Max Units Conditions Operating Voltage Range 1 4.5 - 5.5 V Supply Current 1 - 90 110 mA Input Voltage, Y'N 80MHz 8,6 17.5 - 200 mV rms, sine wave 50n 300MHz 8,6 17.5 - 200 mV rms, sine wave 50n 500MHz 8,6 17.5 - 200 mV rms, sine wave son 700MHz 8,6 17.5 - 200 mV rms, sine wave son 1000MHz 8,6 17.5 - 200 mV rms, sine wave son Output Voltage Swing 3 240 300 - mV p-p, no load Output Impedance 3 - 100 - n Control Input, High 2 2/3 Vce - - V Control Input, High - - - 50 pA Control Input, low - - - 1/3 Vee V Control Input, low - -10 - - pA Control Input Pulse Width - 0.2 3 - ps 10-27 CT2010 100 100 3 OUTPUT v, DIFFERENTIAL INPUTS t 6 250 I>----l--....J 250 _~t---oOV ~________________~2 4 CONTROL INPUT OVo---------~--. Fig. 1 CT2010 BLOCK DIAGRAM +5V - -......>----, 1n! In!--on'N ~ ! 50 50 SIGNAL " - ' SOURCE "::' "::" ":" . Fig. 2 TEST CONFIGURATION R VHFLOCAL OSCILLATOR ,nl'::~! FROM CT2012 OR SIMILAR CONTROL UHF LOCAL +5V~~-----.------~----t-~ OSCILLATOR OUTPUT~~~------------~ :r- Fig. 3 TYPICAL APPLICATION WITH COMBINED INPUT OUTPUT 1 400 ~ 380 180,.200 400 ~400 T =t INPUT CYCLES NUMBER OF 380/400 CONTROL - - - - - ! I INPUT 1101 "1-------- NOTE: I MAY BE LESS THAN OR GREATER THAN T Fig. 4 TIMING DIAGRAM 10-28 CT2017 Synthesizer Tuning Interface FEATURES PIN CONFIGURATION • Low Varicap Driver 18 PIN DUAL IN LINE • Active Filter Charge Pump • Logic Level Control • Signal Quality Detector • AFC Input Option Vee1 (+12Vj Auto Up } Control Outputs • Auto Up, Auto Down Logic Level Tuning Correction Signal Detector Enable Input Auto Down Correction Tumng • Power Low Detector COincidence Filter AFC Detector Input Lme Flyback Input Power Low DESCRIPTION -VE Video Input Power Low Detector Delay Capacitor The CT2017 is designed for use in Frequency Synthesis Tuning VCC6 (+5V) ov Systems, in particular the Economega IV System. The device contains a charge pump with a high impedance voltage follower, a signal detect circuit, a digital AFC circuit and a Power- Vancap Control Voltage Charge Pump Filter VCC12 (-33V) Up ~ I Vancap Control Inputs from CT2012 Current Reference Down...r-L or Similar Circuit On low detect circuit. The charge pump is operated by two SV logic inputs, UP (active low) and DOWN (active high). These inputs turn on a charge current and discharge current respectively. The charge pump circuit and its voltage follower operate from the +33V supply rail. The combined charge pump, external filter and voltage follower may be used as circuit, which comprises AFC level detector and correction tun- the filter and varicap driver for synthesis tuning systems. ing control, examines the AFC signal ('S' curve) produced by The signal detect circuit is used in tuning systems capable of conventional television AFC circuits. The circuit produces an automatically sweeping the received broadcast bands. The circuit AUTO UP Logic '1' output when the AFC voltage is greater than examines the line synchrOnization pulse and line flyback pulse for the upper AFC threshold, and an AUTO DOWN Logic '1' output coincidence. When a regular supply of adequate coincident line when the AFC voltage falls below the lower AFC threshold. Both synchronization pulses occurs, the filter voltage falls. This indi- outputs are Logic '0' when the AFC voltage is between the upper cates a received signal of a sufficient strength to produce a view- and lower thresholds. able picture. When the signal detect filter voltage is higher than the signal CORRECTION TUNING detectors threshold the AUTO UP and AUTO DOWN outputs are The AUTO UP and AUTO DOWN outputs may be used to adjust clamped at Logic '0'. When the filter detect voltage is below the the correction tuning number of a synthesis tuning system and level detector's threshold the AUTO UP and AUTO DOWN outputs hence produce a digitally quantized AFC. are enabled. The enabling of AUTO UP and AUTO DOWN may be The power low detector circuit compares the +SV supply and the used to indicate that a signal of adequate strength has been +12V supply against internal reference levels. When either supply received and the sweep may be stopped. falls below its relevant reference level the delay capacitor is dis- Using appropriate external components, pin S may be used as a charged and the power low detector reset output is set to logic '1'. sync pulse separator, when fed with negative video or a positive When the supplies exceed their relevant reference levels, the delay line sync pulse input. capacitor is charged to the threshold level, which turns on a tran- The signal strength recognized as adequate depends upon the sistor and the output is set to logic '0' after a delay. signal to noise ratio at the input to pin S. This will depend on the The resulting output pulse may be used for setting the logic olthe type of sync separation used, whether noise gating is used and tuning synthesizer and for protecting the memory from corruption the noise figure of the signal processing circuits. A digital AFC during power on and power off. 10-29 CT2017 6 Vee6 _ - -...- - - - - - - -...- - 0 +5V 4K 15 RESET OUTPUT --'L 11--_ _ _ _ _ _ _ _ _ _--1 Vee1 C POWER +12V LOW DETECTOR 14 '----------0 DELAY CAPACITOR 1- - ;';V- - - - - - - - - - -, AFC DETECTOR INPUT ~6 +5V II I AFC CIRCUIT I I I AUTO 18 UP } CORRECTION I I TUNING CONTROL I AFC LEVEL CORRECTION TUNING 17 AUTO DOWN OUTPUTS CONTROL I DETECTOR I L ____ _ +5V ENABLE 4K 2 DETECTOR ENABLE INPUT SIGNAL LINE FLYBACK 4 86KDETECT INPUTo---~~~---1 CIRCUIT (COINCIDENCE 3 COINCIDENCE ~-I--~ DETECTOR) ~-------O FILTER -VE VI DEO 05......----''''1''''K..--I INPUT 12 VCC12 I T +33V UP 11 li VARICAP CONTROL INPUTS { n 10 CHARGE PUMP ... VARICAP DRIVE l VARICAP VOLTAGE CONTROL OUTPUT 13 0 • 8 CHARGE PUMP REF bs FILTER Fig. 1 CT2017 BLOCK DIAGRAM 10-30 CT2017 ELECTRICAL CHARACTERISTICS Maximum Ratings· +12V Supply (Vcc ,) ••••••••••••••••••••••••••••••••••• +20V * Exceeding these ratings could cause permanent dam- +SV Supply (VCC6 ) •••••••••••••••••••••••••••••••••••• +20V age to these devices. This is a stress rating only and +33V Supply (VCC '2) • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •• +40V functional operation of these devicec at these condi- Operating Temperature Range ••••••••••••••••••• -10°C to +6SoC tions is not implied-operating ranges are speCified In Storage Temperature Range •••••••••••••••••••• -SsoC to +125°C Standard Conditions Exposure to absolute maximum rating conditions for extended periods may affect device Standard Conditions (unless otherwise stated): reliability. Tamb = 25°C, Vcc , = +12V, Vcce = +SV, VCC '2= +33V Data labelea "typical" is presented for design gUidance Test Circuil: Fig. 2 only and is not guaranteed. Characteristic Sym Min TYP Max Units Conditions Operating Voltage Range Vcc , (+12V) 1 10.8 - 13.2 V Vcce (+5V) 6 4.5 - 5.S V VCC'2 (+33V) 12 31 - 36 V Supply Current Vcc , (+12V) 1 - 8 12 mA Vcce(+SV) 6 - 12 20 mA Vs = OV, V10 = OV, V11 = +SV VCC'2 (+33V) 12 3.3 4.5 S.S mA 19= 2mA, V,o= OV, V11 = +SV Varlcap Control High Level Output Voltage 7 29.S - - V 19 = 2mA, VCC'2 = +33.0V Continuous Source Current 7 - - 1 mA VCC'2 = 33.0V Low Level Output Voltage 7 0.5 - 0.9 V Transient Sink Currents 7 1.51 - - mA 19 = 0.1 mA to 2.5mA Filter Leakage Current 8 - - 40 mA V11 = +5V, V,o = OV UP Control Input Active 11 - - 1 V UP Control Input Inactive 11 3 - - V UP Control Input Current 11 - - SO pA V11 =+SV DOWN Control Input Active 10 3 - - V DOWN Control Input Inactive 10 - - 1 V DOWN Control Input Current 10 - - 50 pA V,o= +5V AFCControl Detector High Threshold 16 7 7.S 8 V Detector Low Threshold 16 4.1 4.S 4.9 V Detector Window 16 2.8 3 3.2 V Input Current 16 - - 2.S pA V'6=+12V Correction Tuning Outputa (AUTO UP, AUTO DOWN) Voltage High 17,18 4.S - - V V'7 (high) = DOWN, V'6 (high) = UP Current Source = 50pA Voltage Low 17,18 - - O.S V Both low = Inactive current Sink = 2mA Line Flyback Threshold High 4 2 - - V Low 4 - - 0.7 V Negative Video Input Threshold 5 - 0.7 - V Sync Pulse Switching Current 5 - - 12 pA Leakage Current 5 - - 0.3 pA Vs=-SV Coincidence Detector Enable 2 4.S - - V Inhibit 2 - - 2 V Threshold 3 - 2.4 - V Power on Detector Output Voltage 15 4.S - - V Current source = 50pA Normal - - - O.S V Current sink = 2mA Detector Threshold Vcc , (+12V) 1 9.2 9.9 10.6 V See Fig 4 Vcce(+SV) 6 3.7 4 4.3 V See Fig 4 Detay CapacHor Charging Current 14 - 10 - pA Delay Threshold 14 - 9 - V 10-31 CT2017 TO CORRECTION TUNING SIGNAL I AUTO A AUTO \ DETECT ENABLE UP DOWN +12Vo----.----If-D +5V I o 1pf 220nl LINE FLYBACK fl55V 43M ""..r-I .,.. 120K [Jo---AFC PULSE-' L: o---I---~~-D I t Jl. 33nl 27K -VE VIDEO V(3Vp ,l----i H~--~~-n eT2017 -5Vo---.----~-LJ [~}-1~~_1~-OGND VARICAP LINE _--+------+--1 U - I - -............-O+33V U UP } 6~R~~~~L INPUTS L--if--+--n 9 rL.---L_ _ DOWN 6~~~2 n OR SIMILAR CIRCUIT Fig. 2 TEST CONFIGURATION 1 .,.. +12V SUPPLY r - - - - - - + 1 2 V SUPPLY +12V THRESHOLD - - - - - - - - - - - - - - - - - - - - I I r - - - J ' - - t - - - +5V SUPPLY +5V SUPPLY +5V THRESHOLD - -I- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- I I L---~:-------OV I RESET OUTPUT I i IH' w ~ : I I--T2~ (a) (b) NOTES: 1. T. period timed by delay capacitor. 2. Output is connected to +5V supply via pull-up resistor. 3. T. is set by value of capacitor, changing current, and output threshold voltage. Changing current is normally 101lA. Threshold voltage is normally 9V. Fig. 3 POWER LOW DETECTOR TIMING DIAGRAM (POWER ON) +12V ~~;:~~~~- ---:- -- -----------~-~ '" -: - m - - - - +:...1;.;;2.;..V_ _ _ _ _ _-, -0" u - - u u'==- : I RESET I ~ ~ OUTPUT --.J ~ OV ~ (a) (b) Fig. 4 POWER LOW DETECTOR TIMING DIAGRAM (POWER OFF) 10-32 PIC1650-020 ER1400 Economega IV TV PPL Tuning System Control FEATURES ER1400 Interface (Bo-B4) • 100 Channel Tuning Capability - Includes CCIR Standard To enable the ER1400 inputs to be pulled high to Vxx, PIC1650-020 Channels, Italian and German Cable Channels pins (BO-B4) have open drain outputs with external pull up resis- • 32 Favorite Program Storage in Non-Volatile Memory tors as shown in Fig. 2. (ER1400) The ER1400 contains 100 words of 14 bits. Two words are needed • Automatic Sweep Tuning Option (with Automatic Fine Tune) to store the 17 bits of information required for each program. • Fine Tune in 50KHz Steps (Manual or Automatic) CHANNEL information for PROGRAM N is stored at ER1400 • Two Digit Channel Number Display address N. The corresponding FINE TUNE NUMBER and AFT • Two Digit Program Number Display information is stored at address N +40. • Fast Lock Up Time, 10ms (typ) • Parallel Remote Control Input Address Formats • 38 9MHz IF • Easily Reprogramed for Different Channels (e gUS A.). Address MSB DATA Features and Interfaces (Inquire for Alternative Versions) N xx XXXX CT.CT.CT.CT. CU. CU. CU. CU. N+40 XXXXXAFT FT. FT. FT. FT. FT.FT.FT.FT. DESCRIPTION This specification describes a PIC1650-020 microcomputer which x Not Used is used as a control chip in a phase locked loop television tuning CT BCD digit for CHANNEL TENS data system. The microcomputer Interfaces With a number of sub- CU BCD digit for CHANNEL UNITS data systems which are detailed below. AFT AUTO/MANUAL mode. AFT = 1 = AUTO mode 1 AY-3-8475 I.R. Receiver. The PIC165O-020 accepts program FT FINE TUNE NUMBER numbers from the receiver thus allowing remote program Data is written to the ER 1400 when: selection. 1. Either the CHANNEL TENS or CHANNEL UNITS switch is 2 ER1400. Electncally Alterable ROM The ER1400 IS used to store released. Channel, Fine Tune and AFT data for each program. Informa- 2. Either the FINE TUNE UP or FINE TUNE DOWN switch is tion is stored and recalled by the PIC165O-020 as reqUired. released. 3. CT2012 Frequency Synthesizer. The PIC1650-020 sends fre- 3. AUTO switch is pressed. quency and band data to the synthesizer. This data is ultimately 4. AUTO mode is entered from CHANNEL SWEEP. used to determine the local oscillator frequency. The PIC1650- 020 also controls the AVIN signal to the synthesizer chip. Data is read from the ER1400when a new program is selected. The data is converted to a suitable format and then transferred to the 4. CT2017 Tuning Interface. Signals from this chip are monitored synthesizer. If the Channel data read from the ER1400 is not a valid by the PIC1650-020 when operating In CHANNEL SWEEP or BCD number then the channel number is set to 00. Under these AUTO MODES. The Tuning Interface chip also controls the conditions it is likely that the Fine Tune data from the ER1400 will PIC1650-020 master clear input via an external inverter. also be non-valid. No attempt is made to correct this data. It is sent 5. User controls including SN7447A, BCD to Binary decoder/ to the synthesizer as read from the ERl400. driver. (a) Four 7 segment displays which are used to display Pro- gram and Channel information. Frequency Synthesizer Interface (B6, B7, CO-C3) (b) One LED to indicate if AUTO mode is selected. AVOUT-(B6) (c) Seven push button switches for channel selection, local This output is normally low and goes high when programs 16 or 32 Program Selection, Fine Tuning and AUTO Mode are selected. It is routed via the synthesizer and can be used to selection. modify the time constant of the video synchronizing circuit of the 6. The PIC1650-020 supplies a MUTE signal to mute the TV sound television for use with video recorders. during Program and Channel change. Data Highway & Clock - (B7, CO-C3) Tune Information is transferred to the synthesizer on a 4 bit high- OPERATION way which is shared With the display decoder/driver The synthe- Program Selection (AO-AS) sizer ignores data on the highway unless a clock is present. Clock 32 remote programs can be entered via inputs (AO-A4) from the I.R. signals (SYN CLK) are generated by the PIC1650-020 as required. receiver AY-3-8475 These lines contain valid program information A timing diagram is shown in Fig. 3 only when the STROBE input (A5) is low. Information on AO-A4 is When the power is initially switched on 16 clock pulses, With ran- in the range 0-31 representing programs 1-32 respectively. dom data, are sent to initialize the synthesizer. Under normal The PIC165O-020 Will tune the TV to a new program only if the operating conditions 11 clock pulses are required to transfer Tune STROBE is low and the program data on AO-A4 is different from data and 5 clock pulses are required to transfer Fine Tune Data. the current program data. Program numbers are used to address the ER1400 allowing the user to allocate a TV channel to each program. The TV sound is muted for 600ms at each program change. Changes in program number are ignored If any of the local switches are pressed. 10-33 INsRt~M\- PIC1650-020 • ER1400 TUNE DATA FORMAT Digits are displayed in turn by enabling 1 of the 4 digit driver H3 H2 H1 HO transistors (C4-C7) and simultaneously outputting tile corres- SC1 0 0 0 1 Control Code to ponding segment code on Co-C3. Each digit is enabled for approx- SC2 1 1 0 1 } synthesizer imately 3ms in any 12ms period. . SD1 0 0 0 0 As the segment outputs share a common highway with the syn- SD2 0 0 0 0 thesizer the display is blanked, by switching off all 4 digit drivers, SD3 0 0 0 0 during a data transfer to the synthesizer. This blanking is not SD4 B1 BO 09 08 Band and noticeable d!lrmg normal operation. SD5 SDS 07 03 as 02 01 as 04 00 } Frequency Number Data It is not possible to maintain the displays when writing to the ER1400. Displays are blanked for 80ms each time a WRITE takes place. SD7 0 0 0 R4 Fine Offset SD8 R3 R2 R1 RO data } Seven push button switches are mounted on the front panel. Only SC3 X X X X Not Specified one switch IS serviced at anyone time, all other switches being inhibited until the current switch is released. NOTES: The following functions are controlled by the switches: 1. Band Information is coded as follows: 1. Increment Channel Tens 81 80 2. Increment Channel Units o 0 BAND 1 - VHF I 3. Fine Tune Up o 1 BAND 3 - VHF III 4. Fine Tune Down 1 0 BAND 4 - UHF 5. Program Step 1 BAND 2 - NOT USED S. Channel Sweep 2. 09-00 is a binary number representing the required tune fre- 7. Auto quency in MHz. The frequency is in the range 84MHz to 914MHz. 09 is the most significant bit. 3. R4-RO is a binary !"umber in the range 0-19. This is used to Increment Channel TENS or UNITS (DO, 01) These switches enable the television to be tuned to any of 100 modify the tune frequency in 20 steps of 50KHz. R4 is the most channels in the range 00-99. significant bit. An increase in the Fine Offset number means a corresponding decrease in frequency. Closure of the Channel Tens switch causes the Channel Tens display to increment one step and thereafter one step every 0.5 sec, overflowing from 9 to 0, until the switch is released. At each step the appropriate TUNE data is transferred to the synthesizer and MUTE is activated for 600ms. FINE TUNE DATA FORMAT Closure of the Channel Units switch causes the Channel Units to H3 H2 H1 HO increment similarly, there being no overflow to Channel Tens. SC1 SC2 0 1 0 1 0 1 1 0 } Control Code to Synthesizer In both cases, at every step, the Fine Tune Number is set to its mid-point (128) and transferred to the synthesizer. SD1 SD2 F7 F3 F6 F2 F5 F1 F4 FO } FINE TUNE NUMBER Data On release of either switch the current channel and Fine Tune Number are stored at the appropriate ER1400 address. SC3 X X X X Not Specified Fine Tune Up and Fine Tune Down (03, 04) Closure of a switch causes a single Fine Tune step, in the appro- NOTES: priate direction, to be executed. This is followed by a pause of 0.4 1. F7-FO is a binary coded modular 20 number which is used to se/!, thereafter steps occur at 50ms intervals. The pause allows modify the tune frequency In 1S0 steps of 50KHz. F7 is the most single step Fine Tuning to be carried out. At each step the new Fine significant bit. An increase in the Fine Tune Number means a Tune Number is transferred to the synthesizer. corresponding decrease in frequency. On release of the switch current Channel and Fine Tune Number are stored at the appropriate ER1400 address. Tuning Interface (CT2017) NOTE: Fi ne Tune Up means decrease in Fine Tune Number which UP and DOWN (A6, A7) gives a corresponding increase in frequency. These inputs are derived from an AFC circuit within the television. Fine Tune Down acts in a similar fashion. They perform two functions. They signal a Stop Sweep when in The Fine Tune Number allows tuning of +4MHz, -3.95MHz, In CHANNEL SWEEP and they control the television Fine Tuning when in AUTO mode. 50KHz steps around the allocated channel frequency. Master CLear (MCLR) Program Step (06) The PIC1S5O-020 Master Clear signal is controlled via an external Closure of the Program Step switch causes the displayed program Inverter by the POWER ON DET signal from the Tuning Inter- number to increment one step and thereafter one step every 0.5 face chip. The Master Clear signal must be held low for at least 1ms sec, overflowing from 32 to 1, until the switch Is released. At each after all power supplies become valid. When the Master Clear step the channel display is updsted and the appropriste TUNE signal goes high the PIC1650-020 will tune the TV to the channel information is sent to the synthesizer. The MUTE signal is acti- allocated to Program 1. vated for SOOms at each step. Channel Sweep (05) User Controls The Channel Sweep enables the user to sweep through each Four common anode 7 segment displays are used to display channel in turn (in order of increasing Channel Number, with roll Channel and Program information. Two digits are used to display over from 99 to 00) stopping when a valid stop signal, as indicated channel information in the range 00 to 99. Leading zeros are not by the UP and DOWN inputs, is detected. The sweep is imple- blanked. The remaining 2 digits display the selected program. mented by decrementing the Fine Tune Number in steps of 5, at Program information lies in the range 1-32. Leading zeros are 12ms intervals, which is equivalent to increasing the frequency In blanked. steps of 250KHz. 10-34 PIC1650-020 • ER1400 I~ Band 1 and Band 3 channel widths are 7MHz and are swept maximum tuning range is -3.95MHz, +4MHz around the allocated -3.45MHz, +3.3MHz around the allocated channel frequency. channel frequency. No roll over occurs when these limits are UHF band channel widths are 8MHz and are swept -3.95MHz, reached, i.e. the system Will only tune down from the +4MHz limit +3.8MHz around the allocated channel frequency and up from the -3.95MHz limit. When the switch is initially closed the sweep starts from the bot- Auto Fine Tune Indicator (07) tom of the next channel. A pause of 250ms is initiated before This is a LED which is ON when the system is operating in the continuing. On succeeding channel boundaries there is a 12ms AUTO mode. The state of the LED is determined by the AFT bit pause unless a bank change is involved in which case there is a 0.5 from the ER1400. sec pause. For normal operation the sweep switch should be closed momen- Mute-(BS) tarily and then released. If the switch is held closed and a STOP is The Mute signal is normally high but goes active (low) for 600ms detected, AUTO mode is entered where the appropriate Channel each time TUNE data is transferred to the synthesizer i.e. during a and Fine Tune data is stored in the ER1400. At this point because channel or program change or when the power is initially switched the sweep is closed, the sweep is restarted from the bottom of the on. In the Channel sweep mode the MUTE is active continuously next channel. from the start of sweep until 600ms after a STOP is detected. The The sweep mode can be terminated at any time by pressing any of Mute does not go active if only Fine Tune Information Is trans- the push buttons (other than CHANNEL SWEEP) on the front ferred to the synthesizer. panel or by selecting a new program. A STOP signal, indicating a The Mute output serves to mute the sound of the television when TV station has been found, is recognized by UP going high then disturbances are made to the tuning. low followed by DOWN going high (Fig. 4). When a TV station is found the PIC1650-020 enters the AUTO mode. OSC Auto (02) This is an RC network which provides the basic oscillator fre- Auto mode is entered either by pressing the AUTO push button or quency for the PIC1650-020. A 47K potentiometer is provided to from channel sweep when a STOP is detected. Current Channel allow accurate setting of the frequency to 1.0MHz. information is stored in the appropriate ER1400 address. The FINE TUNE number stored is the current FINE TUNE number Channel-Frequency Conversion plus 20 FINE TUNE steps. This is equivalent to off-setting the The channel data read from the ER1400 is converted by the frequency by -1MHz to give a symmetrical AFC capture range. PIC1650-020 into Frequency, Band and Offset Information. The Note: The above -1 MHz offset is a maximum value. If by off- table below lists the Frequency Number (0), Band (B) and Offset setting by -1MHz a channel boundary is crossed the offset is (R) allocated to each of the 100 channels. reduced to stay within the current channel. For example the Tune data for channel 21 is as follows:- The AFT bit is stored as a 1 to indicate Auto mode is selected. To 0=514 exit from the 'Auto' mode and cancel the AFT bit, either the Fine B= 2 Tune Up, Fine Tune Down, Channel Tens or Channel Units switch R= 17 must be operated. ThiS information is transferred to the synthesizer in the Tune Data In Auto mode if UP is high the Fine Tune number is decremented format specified earlier. If the Fine Tune data is set to 128 and by one every 12ms until UP goes low. Similarly if DOWN is high the transferred to the synthesizer then the local oscillator will be tuned Fine Tune number is incremented by one until it goes low. The to a frequency of 510.15MHz. 10-35 IIN~~I PIC1650-020 • ER1400 ELECTRICAL CHARACTERISTICS * Exceeding these ratings could cause permanent dam- age to the device. This is a stress rating only and func- Maximum Ratlngs* tional operation of this device at these conditions Is not Storage Temperature .....................••......... -55·C to +150·C implied-operating ranges are specified in Standard Voltage on any Pin with Respect to Vss ..•.•••••......... -0.3V to +12V Conditions. Exposure to absolute maximum rating con- Standard Conditions (unless otherwise noted): ditions for extended periods may affect device reliability. Operating Temperature (Ambient) TA = O·C to +70·C Data labeled "typical" is presented for design guidance only and is not guaranteed. DC CHARACTERISTICS Characteristics Sym Min Typ Max Units Conditions Supply Voltage Voo 4.5 - 7 V Output Buffer Supply Voltage Vxx 4.5 - 10 V Supply Current 100 - 30 55 mA No load Output Buffer Supply Current Ixx - 1 5 mA No load (see Note 1) Allinputl Input low Voltage V'l -0.2 - 0.8 V 1/0 Ports With Internal Pull-up Input High Voltage V'H 2.4 - Voo V MCiJi, iii"CC & OSC Input High Voltage V'H Voo -l - Voo V All Outputs Except ClK OUT Output low Voltage VOL - - 0.45 V 10l = 1.6mA (see Note 2, 3, 4) Vxx = 4.5V - - - 0.90 V 10l = 5mA (see Note 2, 3, 4) Vxx = 4.5V - - 0.50 - V IOL = 5mA (see Note 2, 3, 4) Vxx = 9V - - 0.9 - V 10l= 10mA (see Note 2,3,4) Vxx = 9V ClKOUT Output low Voltage VOL - - 0.45 V Vxx =9.0V All Outputs With Internal Pull Up 10l = 1.6mA (see Note 2, 3, 4) Output High Voltage VOH 2.4 - - V 10H = IOOIlA (see Note 2, 3. 4) All 1/0 Ports With Internal Pull Up Input low Current I'l -0.2 -0.6 -1.6 mA V'l = 0.4V (see Note 4) Input High Current I'H -0.1 -0.4 - mA V'H = 2.4V (see Note 4) MClR,RTCC Input leakage Current Ilc -10 - 10 IIA Vss';;; V'N';;; Voo (see Note 4) 1/0 Ports With Open Drain Outputs Input High Voltage V'H 2.4 - Vxx V Input leakage Current ICl -10 - 10 IIA Vss';;; V'N';;; Vxx (see Note 4) AC CHARACTERISTICS Charactertstlcs Sym Min Typ Max Units Conditions OSC Oscillator Frequency f 0.2 - 1 MHz Instruction Cycle Time tCY 4 - 20 /IS (see Note 6) ClK OUT & 1/0 Ports with Internal Pull Up Rise Time tR - - 200 ns 1 TTL load + tOOpf Fall Time tF - - 200 ns 1 TTL load + 100pf 1/0 Ports with Internal Pull Up Output Mode ClK OUT to Data Valid t po 0 500 .800 ns Input Mode Data Set Up Time ts 0 - 'A tCY ns Data Hold Time th 0 - 25ns ns RTCClnput Period tRT tCY - - /IS High Pulse Width t Rn 'h tCY - - /IS (see Note 7) low Pulse Width tRTH 'h tCY - - liS NOTES: 1. Maximum Ixx occurs when all 1/0 ports are high. 2. Totall ol for all outputs (1/0 ports + ClK OUT) must not exceed 175mA. 3. Vxx supply drives 1/0 ports. The VIUl supply drives ClK OUT. 4. Positive Current indicates current flOW into the device. Negative Current indicates current flow out of the device. 5. Oscillator circuit as shown in Fig. 1. 6. Both the instruction Cycle Time and ClK OUT period are equal to four times the oscillator freq~;r8ei.e. tCY= 411 secs. 7. Due to the synchronous timing nature between ClK OUT and the sampling circuit used on the input, ClK OUT may be directly tied to the RTcc: without any loss of counts. 10-36 PIC1650-020. ER1400 CHANNEL FREQUENCY ALLOCATIONS Band Channel Channel L.O. Freq Q (Freq) R (Offset) AY-3-2012 Channel Number Name MHz Band Number Number Output B Width 00 1 80.15 1 84 17 BAND 1 0 7MHz ! ! 01 1 80.15 1 84 02 2 87.15 VHFI 91 03 3 94.15 98 04 4 101.15 CCIR 105 05 5 214.15 218 BAND3 1 06 6 221.15 225 07 7 228.15 232 08 8 235.15 VHF III 239 09 9 242.15 CCIR 246 10 11 12 13 14 10 11 12 Al Bl 249.15 256.15 263.15 108.15 115.15 253 260 267 112 119 1 1 BAND 1 0 15 Cl 122.15 126 16 01 12915 133 17 El 136.15 140 18 19 20 21 22 Fl Gl Hl 21 22 85.15 98.15 132.15 510.15 51815 89 102 136 514 522 1 1 UHF 2 8M Hz 23 23 526.15 530 24 24 534.15 538 25 25 54215 546 26 26 550.15 554 27 27 558.15 562 28 28 566.15 UHF 570 29 29 57415 CCIR 578 30 30 58215 586 31 31 59015 594 32 32 598.15 602 33 33 60615 610 34 34 614.15 618 35 35 622.15 626 36 36 630.15 634 37 37 638.15 642 38 38 64615 650 39 39 654.15 658 40 40 662.15 666 41 41 670.15 674 42 42 678.15 682 43 43 686.15 690 44 44 694.15 698 45 45 702.15 706 46 46 710.15 714 47 47 718.15 722 48 48 726.15 730 49 49 734.15 UHF 738 50 50 742.15 CCIR 746 51 51 750.15 754 52 52 758.15 762 53 53 766.15 770 54 54 774.15 778 55 55 782.15 786 56 56 790.15 794 57 57 798.15 802 58 58 806.15 810 59 59 814.15 818 17 UHF 2 8MHz 10-37 INsrCft~~ PIC1650·020 • ER1400 CHANNEL FREQUENCY ALLOCATIONS Band Channel Channel L.O. Freq Q (Freq) R (Offset) AY·3-2012 Channel Number Name MHz Band Number Number Output B Width 60 60 822.15 826 17 UHF 2 8MHz 61 61 830.15 834 62 62 838.15 842 63 63 846.15 850 64 64 854.15 858 65 65 862.15 866 66 66 870.15 874 67 67 878.15 882 68 68 886.15 890 69 69 894.15 898 70 70 902.15 UHF 906 71 71 910.15 CCIR 914 17 2 72 A 92.65 96 7 BAND 1 0 7MHz 73 74 75 76 B C 0 101.15 121.15 214.15 ITALIAN 105 125 218 17 17 17 t BAND 3 0 0 E 222.65 226 7 77 F 231.15 235 17 78 G 240.15 244 79 H 249.15 253 80 S1 144.15 148 81 S2 151.15 155 82 S3 158.15 162 83 S4 165.15 169 84 S5 172.15 176 85 S6 179.15 183 86 S7 186.15 190 87 S8 193.15 197 88 S9 200.15 204 89 S10 207.15 GERMAN 211 90 S11 270.15 CABLE 274 91 S12 277.15 281 92 S13 284.51 288 93 S14 291,15 295 94 S15 298.15 302 95 S16 305.15 309 96 S17 312.15 316 97 S18 319.15 323 98 S19 326.15 330 99 S20 333.15 337 17 BAND3 7MHz 10-38 PIC1650-020 • ER1400 IINsr9f~~~ I 1/0 TIMING ClK OUT 1-1------, \ I -'NC",M'N'l PC 1\ mcu", 0 _AN'W,"pRITE TO _ _ II\'----~ ADDRESS ROM INSTRUCTION I/O FOR NEXT INTERNAL B~S INSTRUCTION, tpd '--- I I NOTE- OUTPUT Rise and fall times _ _:...I--JX VALID are load dependent I ts :-- th:- -------...:.,IXL.STABlEt-L INPUT I I I I TYPICAL INTERFACE-BIDIRECTIONAL 1/0 LINE ------------------, Voo ,------ I Vee I I ON I I (INTERNAL - ....-------10 I DATA BUS) WRITE I (INTERNAL SIGNAL) I I I ,------ I I I I I READ I (INTERNAL I SIGNAL) _ _ P~I/OBI~ Fig. 1 1/0 TIMING AND INTERFACE 10-39 PIC1650-020 • ER1400 47K 47K ~ +5V J /' 68PF 36 AY-3- 8475 2 OSC 20 13 PO AO 21 12 P1 3 A1 +5V 9 P2 D7 34 270 AI' 2' P3 4 A2 ..... 2' 8 6 A3 D6 33 PROGRAM STEP 2' 7 P4 7 A4 7 X SPST MOMENTARY ACTION STROBE 32 CHANNEL SWEEP --------. PUSH BUTTON SWITCHES ----- STROBE 10 5 A5 D5 04 31 FINE TUNE DOWN ----- UP 18 UP 9 A6 12 DOWN 10 03 30 FIVE TUNE-UP A7 CT 2017 +5V 22K 37 _ _ D2 29 AUTO --------. MClR D1 28 CHANNEL UNITS --------. .,~ --------. POWER 15 +. ; ONDET DO 27 CHANNEL TENS C7 26 560n p~~~~~~I~~~~S -= OV V" 4- l01'" T *01.' C6 25 5600 PROGRAM TENS +5V 37 V" C5 24 5690 CHANNEL UNITS +.yv • '~"'~ ~ ~~ +9V 40 V" ~ C4 23 5600 TENS ) -:r T- 82K ~r 4X COMMON ANODE ,I a -- -- -- bl I I 1 I I I -- -- -- 10K 10K 10K 88K 10K 7-SEGMENT 9 DISPLAYS Vg~ V" SEGMENT DRIVERS eI d cl I I1 I I 1 -- -- -- D 12 11 80 12 a, if. 9 C3 8 13 82 C2 7 x 100o C1 7 6 14 83 1KO 16 8 -= ClK 15 84 ER1400 .-1 1'3 SEG a ...§. 12 SEG b TO MUTE 16 35 C3 22 6 11 SEG c TV MUTE CCT C2 21 2 10 SEG d 17 36 C1 20 1 9 SEG e 14 ~37 2 15 SEG' CO PIC1650-20 14 SEG 9 7447 +5V 4X 1.2K +5V H3 4 H3 r---' H2 3 H2 H1 2 H1 10K 10K HO 1 HO SYNClK 5 AVOUT 15 MPXCLK AVIN AY-3-2012 NOTES: 1. 1/0's 60. 61. 62. 63. 64. 65. CO. C1. C2. C3 & D7 have open drain outputs. 2. Unless otherwise noted: a. Diodes are IN914 b. NPN Transistors are 2N3904 c. PNP Transistors are 6C327 Fig. 2 CIRCUIT DIAGRAM 10-40 PIC1650-020 • ER1400 SYNCLK SYNCLK DATA --- ts 1-4-----------TH----------~ Parameter Notes Clock Pulse Width Tp 411S Clock Period 5611S NOTES. T p' 1. Rise and Fall times are maximum values. Other times are Tp2 4411S Data Set Up Time 411S typical values with a tolerance of ± 250ns. t, Data Hold Time Tm >3611S 2. Times other than rise or fall times are based on a PIC1650 clock Clock or Data frequency of 1MHz. Rise Time t, 200ns 3. Logic Levels: '0' <0.5V; '1' >- 2.0V. Clock or Data Fall Time t, 200ns Fig. 3 PIC1650 - TIMING DIAGRAMS 10-41 PIC1650-020. ER1400 ADDRESS TRANSFER CONTROL LINES ~'-----------------------------'LJ'----------------------------'L- VALID I I I I CLOCK ADDRESS I I Lr--------!I--'-I DATA___ T e s - - - I I - T A s _ ~III----,LlJ....--- Tp _ _ _ T eH -II-TAH DATA TRANSFER Parameter Clock Period Clock Duty Cycle Control Set Up Time Tp Tes Value 72ps 50% 52ps CONTROL CLOCK ORDATA ~ _ _ TR -fr- V"-1 _,--V-'-"o...-_8_ __ - TF Control Hold Time TCH 4ps Address Set Up Time T AS Bps Address Hold Time TAH 4ps Write Data Set Up Time Logic 0 Too 16ps Logic 1 TS1 32ps Write Data Hold NOTES: Time 1. Rise and fall times are maximum values. Other times are Logic 0 THO 4ps typical values with a tolerance of ±250ms. Times are measured Logic 1 TH1 20ps to 50% values. Read Data sample 2. Times other than rise and fall times are based on Time TAD 36-40ps a PIC1650 clock frequency of 1MHz. Control or Clock Rise Time IR lps 3. Address transfer is shown for ER1400 address of 74. Control or Clock 4. ER1400 Erase/Write cycles-continuous clock pulses for la.Sms. Fall Time tF lps 5. Logic Levels: '0' «Vxx-B) Volts; '1' >(Vxx -1) Volts. Data Rise Time TR Bps Data Fall Time TF 4ps Fig. 4 PIC1650/ER1400 TIMING DIAGRAMS 10-42 GENERAL INSfRUMENT Synthesizer/Counter PART· PAGE NUMIIER NUMBlI'I 10-43 AY-5-8105 Frequency Synthesizer/Counter FEATURES • Three Display Ranges: MW 9,999KHz, FM 399.99MHz, PIN CONFIGURATION SW 39,999KHz • AM IF Offset: Five User Programable Frequencies (0, 455, 459, 460, 468KHz) v,. SE SG sOP • FM IF Offset: Five User Programable Frequencies (10.64, SF SL 10.67, 10.70,10.73, 10.76MHz) so X1 • High Voltage Capability for Direct Dnve of Fluorescent sc X2 Displays SB 1024MHz SA IFS2 • Together with PIC1650A Controller, Forms the Economega III 01 AMIF E and F Tuning Systems 02 FMIF 03 RC DESCRIPTION 0' RO The AY-5-8105 is a PMOS Integrated circuit containing a 39,999 05 IFS1 count frequency synthesizer/counter for use In radio receivers SNG CI SNF UP Three main display ranges are provided: 39,999KHz for SW, SNE DOWN 399.99MHz for FM and 9,999KHz for MW. FM irequencles can aiso SNO LOCK be displayed in the standard European channel format (0 to 99+). SNC AO The timebase is provided by an on-chip oscillator uSing a SNB A1 SNA A2 4.096MHz quartz crystal A 50Hz output derived from this oscilla- voo A3 tor is available to serve as the tlmebase for an AY-5-1200A digital clock which can share the same display. Digit and segment outputs have high voltage capability and will drive fluorescent displays. The AY-5-8105 IS configured to work In conjunction with the PIC1650 family of controllers The bidirectional SERIAL LINK provides the path for data exchange between the two devices to form a synthesized frequency-locked radio tuning system. 10-44 AY-5-8105 OPERATION AY-5-8105 Synthesizer Under PIC1650 Control 1024 Xl X2 MHz IFSl IFS2 Voo AO Al A2 A3 TIMING I SUBSTRATE BCD TO 7 SEGMENT SNA INTERNAL CLOCKS SNB SNC SEGMENT SND RC DRIVERS SNE RD IF SNF OFFSET FMIF ROM SNG AMIF Clcr-----------------4~ COUNTER UP COMPARATOR DOWN LOCK BCD TO 7 SEGMENT DECODER CONTROL FREQUENCY SL REGISTER REGISTER SA SB SC DISPLAY SO DRIVER SE SF SG SOP 01 02 03 04 05 Fig. 1 AY-5-810S BLOCK DIAGRAM 10-45 AY-5-8105 ELECTRICAL CHARACTERISTICS * Exceeding these ratings could cause permanent dam- Maximum Ratlngs* age to these devices. This is a stress rating only and Voltage on any Pin with Respect to Vss pin functional operation of these devices at these conditions (except Segment and Digit outputs) •••••••.••••••••••• +0.3 to -20V is not implied-operating ranges are specified in Stand- Voltage on Segment and Digit outputs with Respect ard Conditions. Exposure to absolute maximum rating to Vss pin •.•••••••••.••••••••••••••••••••••••••• +0.3V to -3SV conditions for extended periods may affect device Storage Temperature Range ••••••••••••••••••••••• -6SoC to +1S0°C reliability. Power Dissipation - 40 pin package •••••••••••••••••••••••• 800mW Data labeled Utypical" is presented for design guidance Standard Conditions (unless otherwise noted): only and is not guaranteed. Vss= OV Vee = -12V ±1.2V Operating Temperature range = O°C to +70°C Crystal frequency = 4.096MHz ± 0.01% Characteristic Min Max Units Conditione All Inputs Capacitance - 1S pf at1MHz CI (Note 1) Input Frequency O.OS 2 MHz Input Pulse Width (High or Low) 2 - ns Input Low Vee -4 V Input High -1 Vss V Input Source - 3 rnA V,N = -4.9V Current 0.1S - rnA V,N = -1V AM IF, FM IF (Note 2) Input Low Vee -4 V Input High -1.2 Vss V Input Sink - 0.3 rnA V'N=VSS Current 30 - /lA V,N = -S.4V AG-A3, RC, RD (Note 1) Input Low Vee -4 V Input High -1 Vss V Input Source - 0.3 rnA V,N = Vee Current 20 - /lA V,N =-1V SL (as Input) (Note 1) Input Low Vee -4 V Input High -1 Vss - Input Source - 2.S rnA V'N=Vee Current SO - /lA V,N =-1V SL (a8 output) (Note 3) High Voltage -2 Vss V ISOURCE = 0.2mA Off Current (Leakage) - 10 /lA VOUT= Vee 1.024MHz, UP, DOWN (Note 3) LOCK High Voltage -2 Vss V ISOURCE = 1rnA Off Current (Leakage) - 2 /lA VOUT = Vss -SV IFS1 (Note 3) High Voltage -O.S Vss V ISOURCE = 3mA Off Current (Leakage) - 10 /lA VOUT= Vee IFS2 (Note 3) High Voltage -O.S Vss V ISOURCE = O.SmA Low Voltage Vee -8.S V !s,NK = 0.1 rnA Segment Outputs (Note 4) High Voltage -2 Vss V ISOURCE = 2mA Off Current (Leakage) - 10 /lA VoUT =-33V Digit Outputs 02-5 (01) (Note 4) High Voltage -3 Vss V ISOURCE = 7mA (14mA) Off Current (Leakage) - 10 /lA VouT =-33V Supply Current - 40 rnA Vee =-13.2V NOTES: 1. These inputs have pull-ups to Vsg. 2. These inputs have pull-downs to VeD- 3. These are open-drain outputs. Maximum applied negative voltage = 1SV. 4. These are open-drain outputs. Maximum applied negative voltage = 33V. GENERAL INSTRUMENT EAROM ~i3I~eArulM .~1i:~O~k.il~~~'1a > «",,/' '....1..". . <. ~ .21151. , ',.l1'li .." '10-.8 10-411. .... 10-47 ER2051 ER20511R ER2051HR 512 Bit Electrically Alterable Read Only Memory .• 32 Word x 16 Bit Organization PIN CONFIGURATION • 5 Bit Binary Addressing • +5, -28 V Power Supplies 28 LEAD DUAL IN LINE .--~-y---, • Word Alterable 0' DO • 10 Year Data Storage for ER2051 (at +70°C) 02 CS 03 C2 • 1 Year Data Storage for ER20511R (at +85° C) and ER2051 HR 04 C' (at +125°C) OS VGG (-2aV) • TTL Compatibility with Pull-Up Resistors on Inputs 06 A4 • Tri-State Outputs VG1 (GND) A3 • Read Time: IllS (ER2051), 2I/s (ER20511R and ER2051HR) 07 A2 08 A' • Write/Erase Time: 50ms (ER2051), lOOms (ER2051 HR) 09 AO • No Voltage Switching Required 0'0 Clock • Chip Select on Vss (+5V) • Two Extended Temperature Ranges; 0'2 D'S -40°C to +85°C ER20511R 0'3 0'4 -55° C to +125° C ER2051 HR BLOCK DiAGRAm C2 DESCRIPTION The ER2051, ER2051I Rand ER2051 HR are fully decoded 32 x 16 electrically erasable and reprogramable ROMs, Write, erase, and read voltages are switched internally via a 2-bi1 code applied to Cl and C2, 0' 02 Data is stored by applying negative writing pulses that selectively CLOCK tunnel charge into the oxide-nitride interface of the gate insulator of the 512 MNOS memory transistors. When the writing voltage is removed the charge trapped at the interface is manifested as a 014 negative shift in the threshold voltage of the selected memory 015 transistors. The EAROM may be operated with the Vss power supply between +5V and +10Volts, as long as the VSS-VGG always equals 33 AO 0\1 1\2 0\3 "4 Volts. Thus, Vss can be +5Volts for TTL compatibility or up to +1 OVolts for CMOS compatibility, ifVGG is appropriately adjusted. The ER20511R and ER2051 HR are screened to Mil Std. 883B/ It IS Important to note two things. first, that an erase IS required method 5004.1/1evel B, pre-cap visual inspection, environmental before a wire to precondition the cell, and second, that after an testing, burn-in and external visual. They are available in 28 lead erase, both transistors will have the same threshold voltage and ceramic dual in line packages. valid data will not be present at the output. The ER2051, ER20511R and ER2051HR EAROM's use internal OPERATION dynamic, edge triggered circuits. This requires either a mode Data is stored in a two transistor memory cell After the cell is change, a clock, or a transition of the chip select between preconditioned by an erase signal (which causes a positive shift successive operations. Thus successive operations in the same in the threshold of both tranSistors), data is written into one ofthe mode must be separated by transitions of one of these four lines. transistors making its threshold more negative. A sensing flip Clock pulses are not normally required during erase or write flop is used to read the memory cell and presents a logiC high or operations, but are needed for successive operations if the chip low to the output depending upon which transistor is written. select IS held high, i.e., applications where one EAROM is used. PIN FUNCTIONS Pin No Name Function 19, 20, 21, 22 5-Bit Word Address. 1-6,8-14,28 Data input and output pins. 27 Chip Select. Chip selected at logic "1". When chip select is at logic "0", outputs are open circuit, read, write and erase are disabled. Power is reduced. 25,26 Cl, C2 Mode Control Inputs. Cl C2 o Erase Mode: stored data is erased at addressed location. Don't Care Read Mode: addressed data read after clock pulse. Output data retained at output pins until chip deselected or control lines switched. o 0 Write Mode: input data written at addressed location. Clock not required. 18 Clock input. Pulse to logic "1" for read operation. 17 Substrate supply. Normally at +5 volts. 7 Ground Input. 24 Power Supply Input. Normally at -28 volts. 10-48 ER2051 • ER20511R. ER2051HR ELECTRICAL CHARACTERISTICS Maximum Ratings· • Exceeding these ratings could cause permanent dam- All Inputs and Outputs (with Respect to VsS> .•............ -35V to +0.3V age to the device. This is a stress rating only and func- Storage Temperature ................................ -65° C to +150° C tional operation of this device at these conditions is not Soldering Temperature of Leads (10 seconds) .............•.•.. +300° C implied-operating ranges are specified in Standard Conditions. Exposure to absolute maximum rating con- Standard Conditions (for TTL compatibility) ditions for extended periods may affect device reliability. Vss= +5V±5% Data labeled "typical" is presented for design guidance VGG = -28V ±5% only and Is not guaranteed. vGI= GND Operating Temperature T. = O°C to +70°C for ER2051 T. = -40°C to +85°C for ER2051 IR T. = -55°C to +125°C for ER2051 HR Output Load = 100pf. 1 TTL load ER2051 ER2051 IR/ER2051 HR Characteristics Sym Min. Typ." Max. Min. Typ." Ma •. Units Conditions DC CHARACTERISTICS Input Logic "1" V,H Vss -1.5 - Vs. +0. Vss-1.5 - V•• +0.3 V Input Logic "0" V,L V•• -15 - 0.8 Vss-10 - 0.6 V Output Logic "1" VOH V•• -1 5 - - Vss-1.5 - - V IOH= 100liA Output Logic "0" VOL - - 0.6 - - 0.6 V IOL = 1.6mA for Vss= +5V Input Leakage IL - 2 10 - 2 10 IIA V'N=Vss -15 Output Leakage lo - 2 10 - 2 10 IIA Chip deselected Power Supply Current Read loG - - 14 - - 18 mA Write !GG - - 11 - - 15 mA ( IoG returned Erase !GG - - 11 - - 15 mA through V•• Deselected !GG - - 9 - - 12 mA AC CHARACTERISTICS Access Time tACe - - 1 - - 2 liS Clock Pulse Width tpw 2 - 20 2 - 20 liS Erase Cycle Time Ie 50 - 200 100 - 200 ms Write Cycle Time tw 50 - 200 100 - 200 ms Read Cycle Time tR 3.5 - 24 4.5 - 25 liS Address to Clock Time t.. 50 - - 50 - - ns Data Set Up Time tos 50 - - 50 - - ns Data Hold Time tOH 50 - - 50 - - ns Control toAddress& Data Change Ie 0 - - 0 - - ns Number of ReadsIWord Refresh NR• 10" - - 10" - - Number of Erase/Write Cycles Nw 10· - - 10' - - - Input Capacitance (all pins) c'o - 8 15 - 8 15 pf Unpowered Data Storage Time Is 10 - - 1 - - Years at max temperature Power Dissipation Read Cycle Po - 450 500 - 450 500 mW at 25°C V•• = +5. VGG = -29 Po not applicable - - 500 mW at 125°C V•• = +5. VGG = -29 Po not applicable - - 600 mW at -55°C V•• = +5. VGG = -29 Pulse Rise. Fall Time t"t. 10 1 -I 100 10 - 100 ns **Typical values are at +25°C and nommal voltages 10-49 IINsr~~M\-1 ER2051 • ER20511R. ER2051HR TIMING DIAGRAM V,H IERASE WRITE READ DESELECT CS ____""J.-~----i.~.--- tw-...........oofl.....t - - - - t A - -..............1 --II}J--- .... V,L • ..... ~',~" Cl ~ V,H C2 V" '----_----Il: . .. . V,H CLOCK V" ---------------------------~ fAlL.-__ -- ll~-- -----i V'H -..J~---AD-D-R-E-SS-S-T-A-BL-E------.X \---tA ~~tA~f._tA X,..------lll Ao·A., V" X ~ _______________ _J~ STABLE __ ~ ~--------~Ur---- ~ f.-tos ~ ~Ic ~ f._IoH Do-D,. V,H V'L --------. . .X S~~~~E X FLOATING FLOATING ~.\1X31)-~T-IN-G-- ~ ·~t.cc 10-50 General Information 11 Company Profile 11-3 Package Outlines 11-7 Sales Offices 11-10 11-1 11-2 A Total Technological Service "·3 and applications of Microelectronics products. A Total In addition to providing reliable sources of supply on three continents, General Instrument Technological operates each plant as a backup facility to the others, to insure uninterrupted delivery. Common Service processes and equipment are employed and major product styles are always produced in at least two separate locations. To maintain uniform standards from plant to plant, the quality assur- The Microelectronics Group of General Instrument ance and process control groups at each facility Corporation is one of the world's leading manufac- are directed by quality control policy established turers of LSI (Large Scale Integrated) microcircuits. at Group and Corporate levels. A pioneer in MOS in 1966, General Instrument is a worldwide source of microcircuits utilizing MOS and Hybrid technologies in service to the con- sumer, communications, computer, industrial and military marketplaces. The Microelectronics Group has facilities in every major market providing customers with a full spectrum of services including immediate delivery ... new product development. .. applications engineering ... and high volume circuit manufacturing. Processes Products produced by the Microelectronics Division are in accordance with technologies that are standard to the Microelectronics industry. Production capability exists for CMOS Silicon Gate, N-Channel Silicon Gate, CMOS Metal Gate, N-Channel Metal Gate, and P-Channel Metal Gate. In addition, General Instrument is the world's leading manufacturer of products in the Non-Volatile Nitride Memory technology. This broad repertoire provides you, the customer, with the best process for the job every time. Strategically Located Plants The Microelectronics Group operates four main Product Quality production facilities in the United States, Europe With a major investment in product test and in-line and Far East. Plants at Glenrothes, Scotland; quality control equipment, the Microelectronics Chandler, Arizona; and HicksvillE3, New York, have Division of General Instrument is dedicated to complete capability for product design, mask mak- achieving the reliability its customers require. All ing, diffusion, assembly, test and quality assurance. products receive final test at elevated temperature. The factory in Kaohsiung, Taiwan, is dedicated Extensive burn-in facilities exist for 100% preship- to high volume assembly, test, quality assurance ment stress to insure outgoing product quality. 11-4 GENERAL INSfRUMENT Customer Service Applications Assistance General Instrument Microelectronics believes in Around the Globe CUSTOMER SERVICE. Customer Service depart- To provide the special applications assistance ments are maintained on a worldwide basis to pro- that customers may require, General Instrument vide immediate response to questions concerning Microelectronics maintains fully staffed Appli- order service and delivery. Our customer service cations Centers at strategic locations around personnel are trained to consider our customer's the world ... needs as their most urgent requirement. Call on U.S.A. - Hicksville, New York and Los Angeles, them and let us prove that we are dedicated to California. responsive services. EUROPE - Glenrothes, Scotland; London, England; Paris, France; and Munich, Germany. ASIA - Tokyo, Japan; and Hong Kong. Arrangements can be made for immediate assistance from these centers by contacting any of the sales offices listed in this catalog. Advanced Design Centers To provide our customers with the latest in LSI Corporate Support technology, General Instrument Microelectronics General Instrument Microelectronics is backed maintains R&D centers at Glenrothes, Scotland; by the full resources of the General Instrument Hicksville, New York; and Chandler, Arizona. The Corporation, which has for over 50 years been Microelectronics activity is also supported by gen- among the leaders in the application of modern eral research in various fields carried out with such technology to entertainment, industrial, military, prestigious organizations as the Massachusetts data and communications electronics. The skills, Institute of Technology, the State University of New production know-how, and technological capability York at Stony Brook and the University of Utah. of the entire General Instrument organization are In addition to its extensive catalog of standard utilized by the Microelectronics Group to further products, General Instrument Microelectronics is improve its products and customer services. happy to provide custom design services to satisfy Among the many other electronic components special requirements. In some cases, the applica- manufactured by General Instrument are discrete tion is best served by a software or firmware mod- semiconductors, relays, miniature lamps, and TV ification of one of our standard microprocessors. components. General Instrument is a leading In other cases, a programable logic array is more manufacturer of cable TV products, off-track and cost effective. These services may be arranged on-track wagering systems, point-of-sale equip- through any of the Microelectronics sales offices. ment and apparatus for defense applications. 11-5 MANUFACTURING FACILITIES HICKSVILLE, NEW YORK ____.G.L.ENROTHES, SCOTLAND CHANDLER, ARIZONA KAOHSIUNG, TAIWAN 11-6 Package Outlines PACKAGE OUTLINES 8 LEAD TO 8 Ir:::~;~ I 'i.~I:-.I~72-M-AX­ 040 -r- -, SEAT'NG I PLANE OI9:g8~ n n n n .525 275 11 C8 PLACES) U U U U~ 14 LEAD DUAL IN LINE ..' 100% OO!5TYP NON-CUM *. .500 PLASTIC CERAMIC 16 LEAD DUAL IN LINE -----r m 240 ...." INDEX POINT ~~-L "0 7 •• t srr 020 MIN ,T-t~1.A.E '75 PLANE PlANE -J 030 .!..!Q. 020 090 '5ii" JL ~ 040 -'00 MIN PLASTIC CERAMIC 11-7 Package Outlines PACKAGE OUTLINES 18 LEAD DUAL IN LINE ~f~I]+ 1--¥o%--I9 ""NT 8a5 ,,, --I"" 020 ~~!~I~~A;;~ANE U MAX ~ J '~ J~~ 015 ~"" ~090 PLASTIC CERAMIC 22 LEAD DUAL IN LINE PLASTIC CERAMIC 24 LEAD DUAL IN PLASTIC CERAMIC 11-8 Package Outlines PACKAGE OUTLINES 28 LEAD DUAL IN LINE PLASTIC CERAMIC 40 LEAD DUAL IN LINE PLASTIC CERAMIC 64 LEAD DUAL IN LINE CERAMIC 11-9 GENERAL INSTRUMENT NORTH AMERICA EUROPE UNITED STATES: EUROPEAN SALES HEADQUARTERS: MICROELECTRONICS DIVISION GENERAL INSTRUMENT MICROELECTRONICS LTD. t"';ORTHEAST-600 vVest John Street iimes House, Ruisiip, Middlesex. HA4 8LE Hicksville, New York 11802 Tel: Ruislip, 35700, Telex: 23272 Tel: 516-733-3107, TWX: 510-221-1866 NORTHERN EUROPEAN SALES OFFICE: 20th Century Plaza Times House, Ruislip, Middlesex. HM 8LE Daniel Webster Highway Tel: Ruislip, 35700, Telex: 23272 Merrimack, New Hampshire 03054 Sandhamnsgatan 67 Tel: 603-424-3303, TWX: 710-366-0676 S-115 28, Stockholm 858 Welsh Road Tel: (08) 67 99 25, Telex: 17779 Maple Glen, Pennsylvania 19002 SOUTHERN EUROPEAN SALES OFFICE: Tel: 215-643-5326 5-7 Rue De L'Amiral Courbet SOUTHEAST-7901 4th Street. N., SUite 208 94160 Samt Mande, Pans St. Petersburg, Florida 33702 Tel: (1) 365 72 50, Telex: 213073 Tel: 813-577-4024, TWX: 810-863-0398 Piazza Novelli, 8 1616 Forest Drive 20129 Milano Annapolis, Maryland 21403 Tel: (02) 720914, Telex: 843-320348 Tel: 301-269-6250, TWX: 710-867-8566 4921C Professional Court CENTRAL EUROPEAN SALES OFFICE: Raleigh, North Carolina 27609 GENERAL INSTRUMENT DEUTSCHLAND GmbH Tel: 919-876-7380 Nordendstrasse 3, 8000 Munchen 40 Tel: (089)2724049, Telex: 528054 SOUTH CENTRAL.-5520 LBJ Frwy., Suite 330 Dallas, Texas 75240 6070 Langen Bei Frankfurt A Main Tel: 214-934-1654, TWX: 910-860-9259 Wilhelm-Leuschner Platz 8, Postf.1167 Tel: (6103) 23 051, Telex: 415000 CENTRAL-4524 S. Michigan Street South Bend, Indiana 46614 Tel: 219-291-0585, TWX: 810-299-2518 5820 West 85th Street, Suite 102 ASIA Indianapolis, Indiana 46278 HONG KONG: Tel: 317-872-7740, TWX: 810-341-3145 GENERAL INSTRUMENT HONG KONG LTD. 139 Connaught Road Central, 3/F, San-Toi Building 2355 S. Arlington Hts. Road, Suite 408 Tel: (5) 434360, Telex: 84606 Arlington Heights, Illinois 60005 Tel: 312-981-0040, TWX: 910-687-0254 JAPAN: GENERAL INSTRUMENT INTERNATIONAL CORP. 32969 Hamilton Court, Suite 210 Fukide Bldg. 8th Floor, 1-13 Toranomon 4-Chome Farmington Hills, Michigan 48018 Minato-ku, Tokyo 105 Tel: 313-391-4070 Tel. (03) 437-0281, Telex: 2423413 SOUTHWEST-201 Standard Street TAIWAN: EI Segundo, California 90245 Tel: 213-322-7745, TWX: 910-348-6296 GENERAL INSTRUMENT MICROELECTRONICS TAIWAN NORTHWEST -3080 Olcott Street, Suite 230C 77 Pao Chiao Road, Hsin Tien Santa Clara, California 95051 Taipei, Taiwan Tel: 408-496-0844, TWX: 910-379-0010 Tel: (02) 914-6234, Telex: 785-3111 MANUFACTURING FACILITIES U.S.A.-Hicksville, New York. Chandler, Arizona. EUROPE-Glenrothes, Scotland. ASIA-Kaohslung, Taiwan APPLICATIONS CENTERS U.S.A.-Hicksville, New York. Chandler, Arizona. Los Angeles, California EUROPE-Glenrothes, Scotland. London, England. Paris, France. Munich, Germany ASIA-Kaohsiung, Taiwan. Tokyo, Japan. Hong Kong 11-10 Sales Representatives UNITED STATES CANADA SALES SALES REPRESENTATIVES REPRESENTATIVE ALABAMA NEW JERSEY ONTARIO Montgomery Marketing, Inc. R.T, Reid Assoc. Pipe-Thompson Ltd. 1010 Henderson Road, 24 705 Cedar Lane 5468 Dundas Street W, Suite 206 Huntsville, AL 35805 Teaneck, NJ 07666 Islington, Ontario M9B 6E3 Tel: (205) 830-0498 Tel: (201) 692-0200 Tel: (,i 16) 236-2355 ARIZONA NEW YORK Spectrum Assoc. PI'Tronlcs, Inc. 947 South 48th, Suite 103 Pickard Building, Office 162 Tempe, AZ 85281 5858 Molloy Road Tel: (602) 966-1788 Syracuse, NY 13211 CALIFORNIA Tel: (315) 454-9346 Varlgon Asaoe. OHIO 2356 Moore Street, Suite 102 G&HSalesCo. San Diego, CA 92110 7754 Camargo Road Tel: (714) 299-5413 Cincinnati, OH 45243 Quad Rep Tel: (513) 272-0580 2713 N. First Street G&H Sales Co. San Jose, CA 95131 P.O. Box 91 Tel: (408) 946-4000 Grove City, OH 43123 COLORADO Tel: (614) 878-1128 Wm. J. Purdy Co. OREGON 1327 South I nca Street Jas. J. Backer Co. Denver, CO 80223 2035 S.W. 58th Street Tel: (303) 777-1411 Portland, OR 97221 CONNECTICUT Tel: (503) 297-3776 Gerald ROBen Co. Jas. J. Backer Co. 2505 Main Street 353 Reese Hill Road SE Stratford, CT 06497 Salem, OR 97302 Tel: (203) 375-5456 Tel: (503) 362-0717 KANSAS PENNSYLVANIA Mldtee Assoc. Knowlea Asaoc. 7702 Mize 1 Fairway Plaza, Suite 310 DeSoto, KS 66018 Huntingdon Valley, PA 19006 Tel: (913) 441-6585 Tel: (215) 947-5641 MASSACHUSETTS UTAH Gerald ROBen Co. Wm. J. Purdy Co. 247 Worcester Road 1321 South State Street Framingham, MA 01701 Salt Lake City, UT 84115 Tel: (617) 879-5505 Tel: (801) 486-8557 MISSOURI WASHINGTON Mldtec Aasoc. Jas. J. Backer Co. 110 South Highway 67 221 West Galer Street Florissant, MO 63033 Seattle, WA 98119 Tel: (314) 837-5200 Tel: (206) 285-1300 11-11 Distributors UNITED STATES DISTRIBUTORS ALABAMA KANSAS PHILADELPHIA AREA Arrow (205) 830-1103 Hall-Mark (913) 888-4747 Arrow (609) 235-1900 Hall-Mark (205) 839-8700 Hall-Mark (609) 424-0880 MARYLAND Pioneer (215) 674-4000 ARIZONA Arrow (301) 247-5200 Anthem (602) 968-6182 Hall-Mark (301) 796-9300 PITTSBURGH Hall-Mark (602) 243-6601 Arrow (412) 856-7000 MASSACHUSETTS CALIFORNIA (Northern) Arrow (617) 933-8130 TEXAS Anthem (408) 946-8000 Lionex (617) 272-9400 Arrow (512) 835-4180 (Austin) Arrow (408) 745-6600 Arrow (214) 386-7500 (Dallas) MICHIGAN Hall-Mark (408) 773-9990 Arrow (713) 491-4100 (Houston) Advent (313) 477-1650 (Detroit) Pacesetter (408) 734-5470 Hall-Mark (512) 258-8848 (Austin) Arrow (313) 971-8220 (Detroit) Hall-Mark (214) 341-1147 (Dallas) CALIFORNIA (L. A. Area) Arrow (616) 243-0912 (Grand Rapids) Hall-Mark (713) 781-6100 (Houston) Anthem (714) 730-8000 (Tustin) M!NNESOTA Anthem (213) 700-1000 (Chatsworth) UTAH Arrow (612) 830-1800 Arrow (714) 851-8961 (Orange County) Arrow (801) 539-1135 Hall-Mark (612) 854-3223 Arrow (213) 701-7500 (Chatsworth) VIRGINIA Pacesetter (714) 557-7131 (Santa Ana) MISSOURI Arrow (804) 282-0413 Arrow (314) 567-6888 CALIFORNIA (San Diego) Hall-Mark (314) 291-5350 WASHINGTON Anthem (714) 453-9008 Arrow (206) 643-4800 Arrow (714) 565-4800 NEW HAMPSHIRE Hall-Mark (714) 268-1201 Arrow (603) 668-6968 WISCONSIN Arrow (414) 764-6600 (Milwaukee) COLORADO NEW JERSEY (Northern) Arrow (608) 273-4977 (Madison) Arrow (303) 758-2100 Arrow (201) 797-5800 Hall-Mark (414) 761-3000 (Milwaukee) Hall-Mark (303) 934-3111 Hall-Mark (201) 575-4415 Lionex (201) 227-7960 CONNECTICUT Arrow (203) 265-7741 NEW MEXICO Arrow (505) 243-4566 CANADA FLORIDA Arrow (305) 776-7790 (Ft. Lauderdale) NEW YORK (Long Island) DISTRIBUTORS Arrow (305) 725-1480 (palm Bay) Arrow (516) 231-1000 Future (604) 438-5545 (Vancouver) Hall-Mark (305) 971-9280 (Ft. Lauderdale) Lionex (516) 273-1660 Future (514) 694-7710 (Montreal) Hall-Mark (305) 855-4020 (Orlando) NEW YORK (Upstate) Future (416) 663-5563 (Toronto) Hall-Mark (813) 576-8691 (St. Petersburg) Arrow (716) 275-0300 (Rochester) Future (613) 820-8313 (Ottawa) GEORGIA Arrow (315) 652-1000 (Syracuse) Future (403) 259-6408 (Calgary) Arrow (404) 449-8252 R-A-E (604) 291-8866 (Vancouver) NORTH CAROLINA Hall-Mark (404) 448-5132 R-A-E (403) 451-4001 (Edmonton) Arrow (919) 725-8711 (Winston-Salem) ILLINOIS Arrow (919) 876-3132 (Raleigh) Advent (312) 297-6200 Hall-Mark (919) 832-4465 (Raleigh) Arrow (312) 893-9420 OHIO AUSTRALIA Hall-Mark (312) 860-3800 Arrow (513) 435-5563 (Dayton) Arrow (216) 248-3990 (Cleveland) DISTRIBUTOR INDIANA Hall-Mark (216) 473-2907 (Cleveland) Daneva (03) 598-5622 Advent (317) 872-4910 Arrow (317) 243-9353 Hall-Mark (614) 891-4555 (Columbus) IOWA OKLAHOMA Advent (319) 363-0221 Hall-Mark (918) 665-3200 Arrow (319) 395-7230 11-12 Agencies & Distributors EUROPE GERMANY Intesi AGENCIES & Berlin Roederstein-Baulemente Via Le Mllanofiori Assago, Milan DISTRIBUTORS Vertriebs GmbH Tel: 8242151 Grunewaldstrasse 39a Telex: 311351 AUSTRIA 1000 Berlin 41 Elbatex GmbH Claitron Tel: 030/791 4029 Viale Certosa 269 Endrestrasse 54, Telex: 0184327 A-1238 Wien 20100 Milan Tel: 0222/885611 Hellbronn Tel: 3088506 + 3088083 Telex: 0133128 Elbatex GmbH Rome Cacilienstrasse 24 Pantronic BELGIUM 7100 Heilbronn Curijn Hasselaar Via Flaminia 219 Tel: 0 71 31/89001 00100 Rome Van Utenhoveweg 100 Telex: 728362 P.O. Box 37, Geldermalsen Tel: (06) 3284866 Tel: 03455-3150 Munchen Telex: 612406 Telex: 40259 Electronic 2000 Modena Vertriebs-GmbH Hellis Oi B. Prati Vekano Neumarkter Str. 75 J Van Hovestraat 88 Piazza Amendola 8000 Munchen 80 41049 Sassuolo 1950 Kraaynem Tel: 0 89/434061 Tel: 7209204 Modena Telex: 052 2561 Telex: 21923 Tel: 059-804104 + 802562 Welsbaden DENMARK NORWAY Elcowa J.M. Feiring A/S A/S Nordisk-Elektronik 6200 Wiesbaden Transformervej 17 Box 101, Bryn, Oslo 6 Strasse der Republik 17-19 Tel: (02) 19.62.00 OK-2730 Herlev Posfach 129409 Tel: 84.20.00 Telex: 16435 Tel: 06121 65005 Telex: 35200 Telex: 041 86202 PORTUGAL FINLAND Lisbon HOLLAND Oecada Jorma Sarkkinen Ky. Curijn Hasselaar P.O. Box 19, Rue Pedro Nunes 47C Van Utenhoveweg 100 1000 Lisboa SF-02101 Espoo 10 P.O. Box 37, Geldermalsen Tel: 046.10.88 Tel: 574984 Tel: 03455-3150 Telex: 18469 Nunio P Telex: 122028 Telex: 40259 FRANCE SPAIN ITALY Sagitron S.A. P.E.P. Milano 4 Rue Barthelemy c/, Castello, n.25, 2° 0 Adrep Sri Madrid-1. 92120 Montrouge, Via Jacopo Palma 1 Tel: 735.33.20 Tel: 4-02.60.85 20146 Milan Telex: 43.819 Telex: 204534 Tel: (02) 408.41.01 Gedis Telex: 315459 SWEDEN 53 Rue De Paris Bexab Elektronik AB International Commerce Company P.O. Box 2101 92100 Boulogne Via Jacopo Palma 9 Tel: 604.81.70 18302 Taby 20146 Milan Tel: 4687680560 Telex: 270191 Tel: 4045747 + 405197 Telex: 10912 11-13 Agencies & Distributors SWITZERLAND MIDDLE EAST AUSTRALIA EllypticAG Fellenbergerstrasse 281 ISRAEL Victoria (Rep.) . Alexander Schneider Ltd. Daneva Control Ply. Ltd. CH-8047 Zurich 44 Petach Tikva Road 66 Bay Road Tel: 01 5411 00 Tel-Aviv Telex: 56835 Tel: 3 320.89-3 346.07 Sand ring ham, 3191 Telex: 33613 Tel: (03) 598-5622 ElbatexAG Telex: 34439 Alb. Zwyssig Strasse 28 CH-5430 Wetlingen Tel: 056/26 56 41 ASIA SOUTH AFRICA Telex: 55239 INDIA Transvaal UNITED KINGDOM Bee Arosales (Exporters) Pace Electronic Components (Ply.) Ltd. Keighley 36 Eastcastle Street P.O. 701 Semicomps Ltd. London W.1. Isando 1600, Transvaal . Halifax Road Tel: 01-638-6614/01-6368211 Tel: (011) 361213 Keighley, W. Yorks PAKISTAN Telex: 83196 Tel: 053565191 Bee Arosales (Exporters) Telex: 517343 36 Eastcastle Street Oldham London W.1. Vako Electronics Ltd. Tel: 01-636-6614/01-636 8211 Pass Street KOREA (Rep.) Werneth, Oldham Lancs, Dae Ho Corp. Tel: 061-6526316 Dong Young Bldg. 903 Telex: 668250 82, 1-KA, Ulgiro, Stevenage Chungku, Seoul Campbell Collins Ltd., Tel: 777-3848, 2487 162 High Street Telex: K26264 Samin Stevenage, Hertfordshire THAILAND Tel: 043869466 Choakchai Electronic Supplies Ltd., Part. Telex: 825610 128/22 Thanon Slough Atsadang, Bangkok 2, Thailand Gothic Crellon Ltd. Tel: 221-0432, 5384 380 Bath Road SINGAPORE Slough General Electronics & Instrumentation Corp. Pte Ltd. Tel: 06286 4434 Suite 117, 1st Floor Telex: 847571 Singapore Electrical West Drayton Electronic & Hardware Centre Semiconductor Specialists Ltd. 101, Kitchener Road Carroll House Singapore, 0820 159 High Street, Yiewsley Tel: 2587633 West Drayton, Middlesex Telex: 24416 Tel: West Drayton 45522 TAIWAN Telex: 21958 President Enterprises Corp. YUGOSLAVIA 5 FL., No. 66-1 Computel Sec. 1 Chung Ching South Road Via S. Francesco 18 Taipei, Taiwan 34133 Trieste, Italy Tel: (02) 3317571 Tel: (040) 77734 Telex: 23135 Telex: 460575 11-14 ~ _______________________________ TERMSOFSALE ________________________________ ~ 1. FORMATION OF CONTRACT. Any term of Buyer's order or of releases pertaining thereto or In proceeding Seller shall not be Obligated to defend or be liable for costs and damages if the infringement any communication from Buyer, which is In any way inconsistent with or In addition to these Terms of arises out of compliance with Buyer's deslg n or speCifications or from a combination with, an addition to, Sale, shall not be applicable hereto or binding upon Seller Buyer's failure to object to any althaee Terms or modifIcation of the goods after delivery by Seller, or from use of the goods, or any part thereof, in the of Sale In writing prior to the commencement of performance by Seller or the acceptance of any of the practice of a process No license, express or Implied, IS granted under any United States or foreign patent goods or services described on the front hereof (the "Items") shall be conclusively deemed to be covering the goods manufactured and delivered by Seller, or from the use of the goods or any part thereof, acceptance of all these Terms of Sale (without regard to whether Buyer makes or may make any in the practice of a process inspection with respect to such Items) Seller's failure to object to terms contained In any commUnication If any goods manufactured and supplied by Seller to Buyer are held to directly infringe any valid from Buyer shall not be deemed to be a waiver of these Terms of Sale United States patent and Buyer IS enjOined from uSing the same, or If Seller belIeves such infringement is 2. PRICES. Prices are FOB Seller's plant, unless otherWise specified on the front hereof Prices do not likely, Seller Will exert reasonable efforts, at ItS option and at ItS expense, (I) to procure for Buyerthe right to Include any taxes or duties, nowor hereafter enacted, appllcabletothe Items ortothis transaction, all of use such goods free of any liability for patent Infringement, or (Ii) to replace (or modify) such goods with a which taxes and duties shall be Buyer's responsibility Such taxes and duties shall be added by Setter to non-infringing substItute otherWise complYing substa.,tlally with all the requirements of the contract, or the sales price hereunder, where appropriate (III) upon return of the goods, refund the purchase price and the transportation costs of such goods If the 3. PAYMENT TERMS. If Seiler extends credit to Buyer, terms of payment Will be net thirty (30) days Infringement IS alleged prior to completion of delivery of the goods, Seller has the right to decline to make after date of inVOice After the due date, the lesser of one and one~half (11h%) percent of the unpaid further shipments Without being In breach of contract. If Seller has not been enjOined balance (annual rate of 18%) orthe maximum late payment penalty charge permitted by lawwlli be added from seiling such goods to Buyer, Seller may (at Seifer's sale election), at Buyer's request, supply such for each month or part thereof that payment is delayed Seller has the right, at any time, to change the goods to Buyer, In which event Buyer ,shall be deemed to extend to Seller the same patent indemnity amount of credit or terms of payment or to withdraw credit, and to require partial or full payment In hereinabove stated advance as a condition of making further shipments If Selier delivers In Installments, each Installment The same patent indemnity shall be deemed to be extended to Seller by Buyer If any suit or shall be deemed to be a separate delivery for purposes of thiS paragraph Payment shall be made Without proceeding IS brought against Seller based on a claim that the goods manufactured by Seller In regard to whether Buyer has made or may make any inspection or tests Anything herem to the contrary compliance with Buyer's specifications infringe any valid United States patent. notWithstanding, if shipments are delayed at Buyer's request, payments shall be dueon thedateSellerls Theloregolng Itat.. the lole and exclu,lve liability 01 the parlle, hereto tor Infringement or theUke prepared to make shipments Goods held thereafter by Seller or camerfor Buyershall beat Buyer's sole of patents, trademarkS and copyrights, whether direct or contributory, and II In lieu 01 aU warrantlel, fisk and expense, expre .., Implied or ltatutOry In regard thereto, Including, without limitation, the warranty agalnl' 4. RISK OF LOSS AND SHIPMENT; TITLE. liability for loss or damage passes to Buyer when Infrlltsement specilled In the Uniform Commercial Code. Seller puts the goods Into possession of a carrier for shipment to Buyer (the carner being deemed to be 13. SOFTWARE INDEMNIFICATION AND DISCLAIMER. acting as Buyer'sagent) Seller has the nghttoship In Installments ShiPPing dates are approximate only (a) In the event any software used by Seller In the products shown on the front hereof Is furnished or Seller shall not be liable for any loss or expense (consequential or otherWise) Incurred by Buyer If Seiler created by someone other than Seller, Buyer shall I ndemnlfy and hold Seller harmless from and against falls to meet such dates for any reason, mcludlng, but not limited to, the contingencies stated In any and ail loss, claim, damages, liability, cost, expense (Including reasonable attorneys' fees) and any paragraph 7 hereof or any other unaVOidable production delays, delays In prompt approval of samples by causes of action whatsoever, arising out of or In connection With claims by thlfd parties of any description Buyer, modification of speCifications preViously agreed upon or delays In submiSSion of speCifications or nature concerning any such software, Including, but not limited to, a claim that such software Is owned acceptable to Seller Delays In shipment, non~conformlty or non~shlpment of an Installment shall not by a thIrd party relieve Buyer of Its obligations hereunder With respect to any other Installments, each Installment being (b) Seller hereby dIsclaims any and all liability for any claims or damages of anydescnptlon or nature deemed to be aseparate contract Buyer hereby authOrizes Seller to produce all or substantially all of the arising from (1) the unknOWing duplication or use of Buyer's software, In whole or In part, in products total quantity of any product set forth on the front hereof In advance of the estimate shipment date(s) and manufactured by Seller for others, or (2) alleged error In any software furnished or created by (I) any hold for shipment In accordance With such date(s) Unless speCified on the front hereof, Seller shall person other than Seller or (II) Seller If Buyer has approved such software select the mode of transportation and the carner All right, title and Interest In and to all Items covered by 14. TERMINATION. Except as prOVided In paragraph 15(a) this contract may not be terminated by Buyer Buyer's order are reserved to Seller until the full purchase price for all such Items has been paid Buyer Without Seller's prtor written consent If Seller so consents to such termination, Buyer shall be hable for hereby authOrizes Seller to execute and file, at any time ortlmas, one or more finanCing statements With termination charges including, Without limitatIOn, a price adjustment based on the quantIty of goods respect to such Items, Signed only by Seller actually delivered and all costs, direct and indIrect, Incurred and committed forthls contract together with 5. INSPECTION AND ACCEPTANCE. The electncal performance speCIfications for the product reasonable allowance for prorated expenses and antiCipated profits shall be In accord With the Seller's customer procurement speCifications referenced on the front hereof or 15. REMEDIES AND DAMAGES. In lieu thereof, Seller's published data sheet The Buyer shall Inspect and accept the products Within three (a) Where Buyer rightfully and timely rejects or Justifiably revokes acceptance of Items, or where weeks of date of Buyer's receipt or SIX weeks from the date of the Seller's Shipment, whichever IS the Buyer has accepted nonconforming Items and has timely notified Selier of a breach of warranty, Seller's shorter penod Any claim for goods nonconforming to conditions of inspection must be made In writing sole and exclUSive liablhty Will be (at Seller's option) to repair, replace or credit Buyer's account With Within thiS penod Seller has the right to examine at Buyer's premises any Items the Buyer claims are respect to any nonconforming goods returned to Seller dUring the applicable warranty period set forth nonconforming Seller has the right to Impose a rescreemng charge of not less than 25¢ per umt If above, and With respect to any nonconforming services, on condition that (I) Seller IS, promptly upon shipments returned to the Seller are found to be Within a 65% inspection level. RepairS that are the Buyer's discovery of the nonconformity, notIfIed In wntlng With a detailed explanation, (II) Seller Issues a Seller's responSibility may, at Seller's election, be made at Buyer's premises Return Matenal AuthOrization (RMA) number for return of goods, FOB Seller's deSIgnated plant, such 6. QUANTITIES. Any vanatlon In quantities shipped over or under the quantities ordered (not to RMA shalt be effective for 60 days from Issuance date, and (III) Seller's examinatIOn discloses that such exceed 5% for standard products or 10% for custom and custom~pat1erned products) shall constitute Items are nonconforming compliance With Buyer's order and the unit pnce shall continue to apply All claims for shortages In Where Seller falls to make Shipment or repudiates or breaches eny other mete rial prOVisions of this excess of such vanatlons shall be made Within ten (10) days after date of receipt of shipment contract (other than the warranty against patent Infringements), Including, without limitation, Seller's 7. CONTINGENCIES. Sellershall not be liable foranydelay In performance orfor non~performance, obligations with respect 10 nonconforming Items, Buyer shall promptly give wriUen notice 10 Seller. In the In whole or In part, caused bv a labor dispute or the occurrence of any contingency beyond the event that Seller does not cure any such lallure to ship, repudiation or breach within 60 days atter receipt of reasonable control either of Seller or Seller's suppliers, including, but not limited to, war (whether an such notice, then Buyer shall have the right, at its option, to cancel the specific quantity of goods not actual declarabon thereof IS made or not), sabotage, inSUrrection, riot or other act of Civil disobedience, shipped, or terminate this contract as to the Items as towhlch such repudiation or breach related, and that act of a public enemy, failure or delay In transportation, act of any government or any agency or shall be Buyer's sole and exclUSive remedy. It Buyer desires to exercise such right of cancellation or subdiVISion thereof affecting the terms of thiS contract or otherWise, JudiCial acllon, aCCident, fire, termination It shall give further wrltlen notice to Seller. explOSIOn, flood, storm or other act of God, shortage of labor, fuel, raw matenals, tools, dies, or Except as set forth above, In no event will SeUer be liable to anyone for direct, Indirect, speCial, eqUipment, or technical or Yield failure Any such delays shall excuse Seller from performance, and Incidental or consequential damages for breach of any 01 the provisions of thlscontract,lncludlng, but not Seller's time for performance shall be extended, for the penod of the delays and for a reasonable penod limited to, breach of provisions regarding warranties, Indemnities and patent Infringement. Such excluded thereafter If any contingency occurs, Seller may allocate productIOn and deliveries among any or all of damages Include, without limitation, cost. of removal and relnstallallon of ltems,loss 01 gOOdwill, 10.1 of Seller's customers as Seller may determine, including, Without limitation, regular customers not then profits and lou of use. under contract and Seller's (Including Seller's SubSidiaries' and affiliates') own requirements for further (b) Seller has the right to terminate thiS contract If, In SeHer's sale judgement, Buyer's finanCial manufacture or other use condItion does not Justify the terms of payment applicable from time to time, and upon demand Buyerdoes 8. SUBSTITUTION AND MODIFICATION OF GOODS. Seller has the right to modify the speclft~ not ImmedIately comply With any modifIcation of payment terms reqUired by Seller In accordance With catIons of goods deSigned by Seller and substitute substantially eqUivalent goods manufactured to such paragraph 3 modified speCifIcatIOns If Seller exercises such termination fight, Buyer shall be Ilableforthecharges referred to In paragraph 9. WARRANTIES. Seller, except as otherWise herein prOVided, warrants that the goods shall be free 14 In addition to any other remedies SeUer may have hereunder or at law from defects In matenals and workmanship (under normal use and servIces) from the earherof a) date of 16. WAIVER. In the event of any default or breach by Buyer, Seller has the right to refuse to make inVOice or b) date code indicated on the goods for the follOWing periods further shipments SeUer's failure to enforce at any time or for any period of time any of the prOVISions of A Packaged LSI DeVices ~ 1 year thiS contract shall not constItute a waIVer of such prOVISions or of the right of Seller to enforce each and B Processed Semiconductor chips ~ 30 days every provISion 17. GOVERNING LAW. The validIty, constructIon and performance of thiS contract and the transac~ Seiter's warranties shall not extend to any Items subjected to aCCident, misuse, neglect, alteration, Improper installation, Improper testing or unauthonzed repair tlons to which It relates shall be governed by the laws of the State In WhIch the chief executive offices of the Seller are located, Without regard to conflict of laws prinCIples All actIOns, claims or legal proceed~ Seller makes NO WARRANTY as to experimental or developmental goods or goods not manufac~ tured by Seller Asto goods not manufactured by Seller, at Buyer'srequest, Seller, totheextent permitted Ings In any way pertaining to thiS contract or such transactions shall be commenced and maintained In by Seller's contract With Its supplier, shall assign to Buyer any fights Seller may have under any warranty the courts of such State or In a federal court of the United States phYSically sItuated In such State and In of the supplier thereof no other court or tribunal whatsoever, and the partIes hereto each agree to submit themselves to the Seller's warranties extend to the Buyer and to no other person or entity JUriSdiction of such court 18. GOVERNMENT CONTRACTS. If the Items to be furnished hereunder are to be used In the Seller's warranties as hereinabove set forth shall not be enlarged, diminished or affected by, and no obligation or liability shall arise or grow out of, Seller's rendenng of technical adVice or service In performance of a United States Government contract or subcontract and a United States Government connection With Buyer's order of the goods furnished hereunder contract number appears on Buyer's order or other wrttten communication to Seller, those clauses of the The loregolng are In lieu 01 all warranties, express,lmplled or statutorY,lncludlng, but not limited to, applicable United States Government procurement regulation which are mandatOrily reqUired by fed- eral statute to be Included In United States Government subcontracts Will be deemed Incorporated any Implied warranty of merchantability or fitness lor a particular purpose and any other warranty obligation on the part of the Seller. herein by reference and Will control If inconsistent With any provIsions of thiS contract 19. ASSIGNMENT. Thlscontract IS binding upon and Inurestothe benefit of the parties hereto and the 10. PROPRIETARY RIGHTS AND CONFIDENTIALITY. {a} All information, know~how, programming, software, trademarks, trade secrets, plans, drawmgs, successors and assigns of the entire busmess and goodWill of either Seller or Buyer or that part of the speCifications, deSigns and patterns furnished or created by Seller or by Seller's agents or contractors busl ness of either used In the performance of thIS contract, but Will not be otherWIse aSSignable except that (other than Buyer) and any and all property nghts embodied the rem are and shall remain the sale Seller has the right to assign accounts receivable, or the proceeds of thiS contract Nothing In thiS contract shailinuretothe benefit of orbe deemed to gIve rise to any rights In any thIrd party, whether by operation property of Seller and neither Buyer nor any other party shall have or acqUire any mterest therein (b) Buyer recognizes and acknowledges that certam confidential, secret or proprietary mformatlon of law or otherWise 20. SEVERABILITY. If any of these Terms of Sale IS declared invalid by a court, agency, commiSSion or possessed by Seller ("Information") IS a valuable busmess asset of Seller and that dIsclosure of the Information would cause grave and Irreparable Injury to Seller Buyer shall at all tImes, whether dUring other tribunal or entity haVing JUrlsdlctton thereof, the applicatIOn of such provISions to partIes or cIrcumstances other than those as to which It IS held Invalid or unenforceable shall not be affected thereby, the term of thiS contract or subsequent thereto, honor, malntam and protect the confidentiality and secrecy of such of the InformatIOn as Seller may disclose to Buyer or Its agents Buyer shalj not make any and each term not so declared Invalid or unenforceable shall be valid and be enforced to the fullest extent permitted by law and the rights and obllgallOns of the partIes shall be construed and enforced as though a caples of any of the Informatton Without prior written consent of Seller and Will take appropriate action to valid commerCially reasonable term consIstent With the undertakings of the parties under thiS contract had restnct access to the Information tothose of Its employees and agents who have an actual need for such been substituted In place of the invalid prOVISion access In the course of their duties ThiS provIsion shall survive the performance, termination or cancellatIOn of thiS contract 21. SETwOFF. Buyer may not set-off any amount oWing from Seller to Buyer against any amount payable by Buyer to Seller, whether or not related to thIS contract 11. TOOLING. Unless otherWise expressly prOVided, Seller Will retain title to, possession of, and the fight to exclUSive use of, all JigS, dies, fixtures, molds, patterns, gauges, taps, eqUipment, manufacturing 22, MERGER. This contract constitutes the final written expression 01 all terms 01 the agreement relating to the transactions descrloed on the front hereot and a complete and exclusive statement of aids and SImilar deVices, made or obtained for the performance of thiS contract, Without regard to whether a separate charge IS made for the same those terms. This contract supersedes all previous communications, representations, agreements, prom~ Ises or statementa, either I)ral or written, with respe!;t 10 such transactions (Including, without limitation, 12. PATENT INDEMNITY. Seller Will defend any SUit or proceeding brought against Buyer to the any terms proposed by Buyer) and no communications, representations, agreements, promises or extent that such SUit or proceeding IS based on a claim that goods manufactured and sold by Seller to statements of any kind made oy any representative of Seller, which are not stated herein, shail be binding Buyer constitute a direct infringement of any valid United States patent and Seller shall pay all damages on Seller. No addition to or modification of any printed proviSion of this contract will be olndlng upon and costs awarded by fmal Judgment (from which no appeal may be taken) against Buyer, on condition Seller unless made In writing (referring specifically 10 Buyer's order) and signed oy an olflcer 01 Seller. No that Seller (I) IS promptly Informed and furnished a copy of each commUniCation, notice or other action course of dealing or usage of trade or course of performance will De deemed relevant to explain or relating tothe alleged infringement, (II) IS given authOrity, informatIOn and assistance necessary to defend supplement any term expressed In this contract. or settle such sUitor proceeding In such manner as Seller shall determme, and (III) IS given sote control of the defense (Including the fight to select counsel), and the sale right to compromise and settle such SUit or 8204 11-15 ~--------------------------NOTES--------------------------~ 11-16 r-------------------------NOTES--------------------------. 11-17 .---------------------------NOTES--------------------------~ 11-18