commodore semiconductor group Valley Forge Corp. Center Contents 950 Rittenhouse Rd. Norristown, PA 19403 (215) 666-7950 Section 1 Numerical and Functional Indexes Replacement Part Cross Listings Section 2 NMOS Section 3 CMOS Section 4 LCD Section 5 Packaging and Reliability Information Sales Offices (=: NMOS CMOS LCD Component Data Catalog 1981 I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I ---- --------- Section 1 Numerical and Functional Indexes Replacement Part Cross Listings I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I NUMERICAL AND FUNCTIONAL INDEX NUMERICAL INDEX 2114 Static RAM (1024 X 4) ......................................................................... 2-102 2316 Static ROM (2048 X 8) ......................................................................... 2-106 2332 Static ROM (4096 X 8) ......................................................................... 2-109 2364 Static ROM (8192 X 8) ......................................................................... 2-112 6500 ............................................................................................... 2-1 6500/1 One-Chip, 8-Bit Microcomputer ................................................................ 2-15 6502 Microprocessor ................................................................................ 2-11 6503 Microprocessor ................................................................................ 2-11 6504 Microprocessor ................................................................................ 2-11 6505 Microprocessor ................................................................................ 2-12 6506 Microprocessor ................................................................................ 2-12 6507 Microprocessor ................................................................................ 2-12 6508 Microprocessor ................................................................................ 2-18 6512 Microprocessor ................................................................................ 2-13 6513 Microprocessor ................................................................................ 2-13 6514 Microprocessor ................................................................................ 2-14 6515 Microprocessor ................................................................................ 2-14 6520 Peripheral Adapter ............................................................................. 2-27 6522 Versatile Interface Adapter (VIA) .................................................................. 2-35 6523 Tri-Port Interface ............................................................................... 2-48 6525 Tri-Port Interface ............................................................................... 2-53 6530 Memory-I/O-Timer Array ........................................................................ 2-61 6532 Memory-I/O-Timer Array ........................................................................ 2-67 6560 Video Interface Chip (VIC) ........................................................................ 2-73 6561 Video Interface Chip (VIC) ........................................................................ 2-73 6562 Video Interface Chip (VIC) ........................................................................ 2-86 6563 Video Interface Chip (VIC) ........................................................................ 2-86 65245 Octal Bus Transceiver with 3-State Outputs ....................................................... 2-100 FUNCTIONAL INDEX Microprocessors 6500 ............................................................................................. 2-1 6500/1 One-Chip, 8-Bit Microcomputer .............................................................. 2-15 6502 Microprocessor .............................................................................. 2-11 6503 Microprocessor .............................................................................. 2-11 6504 Microprocessor .............................................................................. 2-11 6505 Microprocessor .............................................................................. 2-12 6506 Microprocessor .............................................................................. 2-12 6507 Microprocessor .............................................................................. 2-12 6508 Microprocessor .............................................................................. 2-18 6512 Microprocessor .............................................................................. 2-13 6513 Microprocessor .............................................................................. 2-13 6514 Microprocessor .............................................................................. 2-14 6515 Microprocessor .............................................................................. 2-14 Peripheral Devices 6520 Peripheral Adapter ........................................................................... 2-27 6522 Versatile Interface Adapter (VIA) ................................................................ 2-35 6523 Tri-Port Interface ............................................................................. 2-48 6525 Tri-Port Interface ............................................................................. 2-53 6530 Memory-I/O-Timer Array ...................................................................... 2-61 6532 Memory-I/O-Timer Array ...................................................................... 2-67 6560 Video Interface Chip (VIC) ...................................................................... 2-73 6561 Video Interface Chip (VIC) ...................................................................... 2-73 6562 Video Interface Chip (VIC) ...................................................................... 2-86 6563 Video Interface Chip (VIC) ...................................................................... 2-86 65245 Octal Bus Transceiver with 3-State Outputs ..................................................... 2-100 1-1 NUMERICAL AND FUNCTIONAL INDEX RaiKIom Access Memories 2114 Static RAM (1024 X 4) ....................................................................... 2-102 Read-Only Memories 2316 Static ROM (2048 X 8) ..•.................................................................... 2-106 2332 Static ROM (4096 X 8) ....................................................................... 2-109 2364 Static ROM (8192 X 8) ....................................................................... 2-112 1-2 PRODUCT CROSS REFERENCE GUIDE STATIC RAM PART NUMBER REPLACE WITH PART NUMBER REPLACE WITH PART NUMBER REPLACE WITH IntersiJ MOS Technology Intel MOS Technology P2114 MPS2114-45 P2332 MPS2332 AMD MOS Technology P2114L MPS2114L-45 C2332 MCS2332 AM9114BPC MPS2114-45 P21143 MPS2114-30 AM9114BDC MCS2114-45 Motorola MOS Technology P2114L3 MPS2114L-30 AM91L 14BPC MPS2114L-45 MCM68316B MPS2316 P21142 MPS2114-20 AM91L 14BDC MCS2114L-45 MCM68332 MPS2332 P2114L2 MPS2114L-20 AM9114CPC MPS2114-30 National MOS Technology AM9114CDC MCS2114-30 Motorola MOS Technology MPS2114L-30 MM2316B MPS2316 AM91L 14CPC MCM2114P-45 MPS2114-45 MM52132 MPS2332 AM91L 14CDC MCS2114L-30 MCM2114C-45 MCS2114-45 MPS2114-20 MM52164 MPS2364 AM9114EPC MCM21L 14P-45 MPS2114L-45 AM9114EDC MCS2114-20 MCM21L 14C-45 MCS2114-45 NEC MOS Technology MCM2114P-30 MPS2114-30 UPD2316B MPS2316 AMI MOS Technology MCM2114C-30 MCS2114-30 UPD2332 MPS2332 52114-3 MP52114-30 MCM21L 14P-30 MPS2114L-30 UPD2364 MPS2364 52114L-3 MP52114L-30 MCM21L 14C-30 MCS2114L-30 52114-2 MP52114-20 Signetics MOS Technology MCM2114P-20 MPS2114-20 52114L-2 MP52114L-20 2632N MPS2332 MCM2114C-20 MCS2114-20 2664N MPS2364 EMM MOS· Technology MCM21L 14P-20 MPS2114L-20 2114UCB MPS2114-45 MCM21L 14C-20 MCS2114L-20 T.I. MOS Technology 2114UCA MCS2114-45 TMS4732NL MPS2332 T.I. MOS Technology L2114UCB MP52114L-45 TMS4732jL MCS2332 TMS4045-45NL MPS2114-45 L2114UCA MC52114L-45 TMS4764NL MPS2364 TMS4045-45jL MCS2114-45 2114-3CB MPS2114-30 TMS4764jL MCS2364 TMS40L45-45NL MPS2114L-45 2114-3CA MCS2114-30 TMS40L45-45jL MCS2114L-45 Mostek MOS Technology L2114-3CB MP52114L-30 TMS4045-30NL MPS2114-30 MK31000N-3 MCS2316 L2114-3CA MCS2114L-30 TMS4045-30jL MCS2114-30 MK31000P-3 MPS2316 2114-2CB MPS2114-20 TMS40L45-30NL MPS2114L-30 MK36000P-5 MPS2364 2114-2CA MCS2114-20 TMS40L45-30jL MCS2114L-30 MK36000N-5 MCS2364 L2114-2CB MPS2114L-20 TMS4045-20NL MPS2114-20 L2114-2CA MCS2114L-20 MICROPROCESSORS TMS4045-20jL MC52114-20 Fujitsu MOS Technology Synertek MOS Technology ROM MB8114N MPS2114-30 SYP = Plastic MPS = Plastic MB8114NL MPS2114L-30 AMD MOS Technology SYC = Ceramic MCS = Ceramic MB8114E MPS2114-20 AM9217BPC MPS2316 SYP/C6502 MPS/CS6502 MB8114EL MPS2114L-20 AM9217BDC MCS2316 SYP/C6503 MPS/CS6503 AM9232BPC MPS2332 SYP/C6504 MPS/CS6504 Hitachi MOS Technology AM9232BDC MCS2332 SYC/C6505 MPS/C56505 HM472114-4 MCS2114L-45 AMI MOS Technology SYP/C6506 MPS/CS6506 Intel MOS Technology SYP/C6507 MPS/CS6507 568316A MPS2316 P2114 MPS2114-45 SYP/C6512 MPS/CS6512 568332 MPS2332 C2114 MCS2114-45 SYP/C6513 MP5/CS6513 P2114L MPS2114L-45 EA MOS Technology SYP/C6514 MPS/CS6514 C2114L MCS2114L-45 EA2316B MPS2316 SYP/C6515 MPS/CS6515 P2114-3 MPS2114-30 EA2332 MPS2332 C2114-3 MCS2114-30 A = 2MHz A = 2MHz P2114L-3 MPS2114L-30 G.I. MOS Technology B = 3MHz B = 3MHz RO-3-9316B MPS2316 5YP/C6502A MPS/CS6502A C2114L-3 MCS2114L-30 RO-3-9332B MPS2332 SYP/C6502B MPS/CS6502B P2114-2 MPS2114-20 C2114-2 MCS2114-20 Intel MOS Technology SYP/C6503A MPS/CS6503A P2114L-2 MPS2114L-20 P2316B MPS2316 SYP/C6503B MPS/CS6503B C2114L-2 MCS2114L-20 C2316B MCS2316 SYP/C6504A MPS/CS6504A 1-3 PRODUCT CROSS REFERENCE GUIDE MICROPROCESSORS (CONT.) PART NUMBER REPLACE WITH PART NUMBER REPLACE WITH PART NUMBER REPLACE WITH Rockwell MOS Technology Rockwell MOS Technology R6502P MPS6502 R6514P MPS6514 Synertek MOS Technology R6502AP MPS6502A R6514AP MPS6514A SYP/C6504B MPS/CS6504B R6502C MCS6502 R6514C MCS6514 SYP/C6505A MPS/CS6505A R6502AC MCS6502A R6514AC MCS6514A SYP/C6505B MPS/CS6505B R6503P MPS6503 R6515P MPS6515 SYP/C6506A MPS/CS6506A R6503AP MPS6503A R6515AP MPS6515A SYP/C6506B MPS/CS6506B R6503AC MCS6503A R6515C MCS6515 SYP/C6507A MPS/CS6507 A R6504P MPS6504 R6515AC MCS6515A SYP/C6507B MPS/CS6507B R6504AP MPS6504A SYP/C6512A MPS/CS6512A R6520P MPS6520 R6504C MCS6504 SYP/C6512B MPS/CS6512B R6520AP MPS6520A R6504AC MCS6504A SYP/C6513A MPS/CS6513A R6520C MCS6520 R6505P MPS6505 SYP/C6513B MPS/CS6513B R6520AC MCS6520A R6505AP MPS6505A SYP/C6514A MPS/CS6514A R6522P MPS6522 R6505C MCS6505 SYP/C6514B MPS/CS6514B R6522AP MPS6522A R6505AC MCS6505A SYP/C6515A MPS/CS6515A R6522C MCS6522 R6506P MPS6506 SYP/C6515B MPS/CS6515B R6522AC MCS6522A R6506AP MPS6506A SYP6520 MPS6520 R6506C MCS6506 R6530P MPS6530 SYP6520A MPS6520A R6506AC MCS6506A R6530C MCS6530 SYC6520 MCS6520 R6507P MPS6507 R6532P MPS6532 SYC6520A MCS6520A R6507AP MPS6507A R6532AP MPS6532A SYP6522 MPS6522 R6507C MCS6507 R6532C MCS6532 SYP6522A MPS6522A R6507AC MCS6507A R6532AC MCS6532A SYC6522 MCS6522 R6512P MPS6512 R6500/IP MPS6500/1 SYC6522A MCS6522A R6512AP MPS6512A R6500/IAP MPS6500/IA SYP6530 MPS6530 R6512C MCS6512 R6500/IC MCS6500/1 SYC6530 MCS6530 R6512AC MCS6512A R6500/IAC MCS6500/IA SYP6532 MPS6532 R6513P MPS6513 SYP6532A MPS6532A R6513AP MPS6513A SYC6532 MCS6532 R6513C MCS6513 SYC6532A MCS6532A R6513AC MCS6513A 1-4 Section 2 NMOS commodore semiconductor group NMOS 6500 Microprocessors • Single +5V Supply • 13 Addressing Modes • N-Channel, Silicon-Cate, Depletion-Load Technology • Programmable Stack Pointer and Variable-Length Stack • 8-Bit Parallel Processing • Usable With Any Type or Speed Memory • 56 Instructions • 1 or 2 MHz Operation • Decimal and Binary Arithmetic • Pipelined Architecture DESCRIPTION The 6500 Series microprocessors represent the first totally software-compatible microprocessor family. This family of products includes a range of software-compatible microprocessors which provide a selection of addressable memory range, interrupt input options and on-chip clock oscillators and drivers. All of the microprocessors in the 6500 group are software-compatible within the group and are bus compatible with the M6800 product offering. The family includes five microprocessors with on-board clock oscillators and drivers and four microprocessors driven by external clocks. The on-chip clock versions are aimed at high-performance, low-cost applications where single-phase inputs, c~ystal or RC inputs provide the time base. The external clock versions are geared for multi-processor system applications where maximum timing control is mandatory. All versions of the microprocessors are available in 1 MHz and 2 MHz CA" suffix on product numbers) maximum operating frequencies. MEMBERS OF THE FAMILY Part Numbers Plastic Ceramic Clocks Pins IRQ NMI ROY Addressing MPS6502 MCS6502 On-Chip 40 V V V 16 (64 K) MPS6503 MCS6503 " 28 V V 12 (4 K) MPS6504 MCS6504 " 28 V 13 (8 K) MPS6505 MCS6505 " 28 V V 12 (4 K) MPS6506 MCS6506 " 28 V 12 (4 K) MPS6507 MCS6507 " 28 V 13 (8 K) MPS6512 MCS6512 External 40 V V V 16 (64 K) MPS6513 MCS6513 " 28 V V 12 (4 K) MPS6514 MCS6514 " 28 V 13 (8 K) MPS6515 MCS6515 " 28 V V 12 (4 K) PIN FUNCTIONS Data Bus (00-07) Eight pins are used for the data bus. This is a bi-directional Clocks (<1>1 and <1>2) bus, transferring data to and from the device and The 651X requires a two-phase, non-overlapping clock peripherals. The outputs are three-state buffers capable of that runs at the Vee voltage level. driving one standard TTL load and 130pF. The 650X clocks are supplied with an internal clock gener- ator. The frequency of these clocks is externally con- Data Bus Enable (DBE) trolled. Details of this feature are discussed in the 6502 This TTL-compatible input allows external control of the portion of this data sheet. three-state data output buffers and will enable the microprocessor bus driver when in the high state. In nor- Address Bus (AO-A 15) mal operation, DBE would be driven by the phase two (<1>2) (See sections on each processor for respective address clock, thus allowing data input from microprocessor only lines on those devices.) during <1>2. During the read cycle, the data bus drivers are internally disabled, becoming essentially an open circuit. These outputs are TTL-compatible, capable of driving one To disable data bus drivers externally, DBE should be held standard TTL load and 130pF. low. 2-1 6500 Ready (RDY) NMI also requires an external 3KO register to Vee for This input signal allows the user to single-cycle the proper wire-QR operations. microprocessor on all cycles except write cycles. A nega- tive transition to the low state during or coincident with Inputs IRQ and NMI are hardware interrupts lines that are phase one ({{I1) will halt the microprocessor with the out- sampled during {{I2 and will begin the appropriate interrupt put address lines reflecting the current address being routine on the {{I1 following the completion of the current fetChed. This condition will remain through a subsequent instruction. phase two ({{I2) in which the Ready signal is low. This feature allows microprocessor interfacing with low-speed Set Overflow Flag (S.O.) PROMS as well as fast (max. 2 cycle) Direct Memory Ac- A NEGATIVE-going edge on this input sets the overflow bit cess (DMA). If Ready is low during a write cycle, it is in the Status Code Register. This signal is sampled on the ignored until the following read operation. trailing edge of {{I1. Interrupt Request (IRQ) This TIL-compatible signal requests that an interrupt se- SYNC quence begin within the microprocessor. The This output line is provided to identify those cycles during microprocessor will complete the current instruction being which the microprocessor is doing an OP CODE fetch. The executed before recognizing the request. At that time, the SYNC line goes high during {{I1 of an OP CODE fetch and interrupt mask bit in the Status Code Register will be exam- stays high for the remainder of that cycle. If the RDY line is ined. If the interrupt mask flag is not set, the pulled low during the {{I1 clock pulse in which SYNC went microprocessor will begin an interrupt sequence. The Pro- high, the processor will stop in its current state and will gram Counter and Processor Status Register are stored in remain in the state until the RDY line goes high. In this the stack. The microprocessor will then set the interrupt manner, the SYNC signal can be used to control RDY to mask flag high so that no further interrupts may occur. At cause single instruction execution. the end of this cycle, the program counter low will be loaded from address FFFE, and program counter high from Reset location FFFF, transferring program control to the memory This input is used to reset or start the microprocessor from vector located at these addresses. The RDY signal must be a power down condition. During the time that this line is in the high state for any interrupt to be recognized. A 3KO held low, writing to or from the microprocessor is inhibit- external resistor should be used for proper wire-OR ed. When a positive edge is detected on the input, the operation. microprocessor will immediately begin the reset sequence. Non-Masleable Interrupt (NMI) A negative-going edge on this input requests that a non- After a system initialization time of six clock cycles, maskable interrupt sequence be generated within the the mask interrupt flag will be set and the microprocessor microprocessor. will load the program counter from memory vector loca- tions FFFC and FFFD. This is the start location for program NMI is an unconditional interrupt. Following completion of control. the current instruction, the sequence of operations de- fined for IRQ will be performed, regardless of the state of After Vee reaches 4.75 volts in a power up routine, reset the interrupt mask flag. The vector address loaded into the must be held low for at least two clock cycles. At this time program counter, low and high, are locations FFFA and the R/W and (SYNC) signal will become valid. FFFB respectively, transferring program control to the memory vector located at these addresses. The instruc- When the reset signal goes high following these two clock tions loaded at these locations cause the microprocessor cycles, the microprocessor will proceed with the normal to branch to a non-maskable interrupt routine in memory. reset procedure detailed above. ,~- 2-2 6500 INTERNAL ARCHITECTURE _ REGISTER SECTION CONTROL SECTION _ AD' .... r - - ill ADI .... INDEX REGISTER Y f INTERRUPT LOGIC .... J; rc ADZ INDEX REGISTER AD] .... X RDY AB4 .... ... <== . co ~~ .~~ t:: ABS .... . ... ~ REGISTER (S) '--- ~~ INSTRUCTION AB6 .... I'n DECODE ~ ALU AB' "'L..-.. ~ ~ C ADDRESS IT S BUS AB8 .... r - - = ... CO ... ACCU~LATOR F TIMING J .... CONTROL AB9 ~ ... r- ~ ABIO .... Ie: PCL ~ ~I I - - h 'IUN)16512'13'14'15 ABII ... F :::: PCH j¢:: H J r-- hUN) ~ } 6502,3,4,5,6 ABI2 ... .'" F= co PRg:A~R REGJ:TER CLOCK GENERATOR ... F ~ ~ INPUT ABU DATA LATCH (DL) L.. 'IOUT hOUT ABI4 ... II R/W DBE ~L J , DATA BUS INSTRUCTION BUFFER REGISTER ABIS .... L - - ttt Doe LEGEND. 11' = 8 BIT LINE rli1 DBI DDI DB] DATA BUS DB4 DBS I = I BIT LINE OB6 DB' NOTES 1. Clock Generator is not included on 6512,13,14,15 2. Addressing Capabilkv and control options vary with each of the 6500 Products. 2-3 6500 Mnemonic Operation OPN OPN OPH 'OPN 'OPN ' O P N ' OPN 'OPN IOPN 'OPN IOPN IOPN 'OPN' N Z C I D V A 0 C A+M+C-A (4)U) 69 2 2 6D 4 ] 65 3 2 61 6 2 71 5 2 75 4 2 70 .. 3 79 4 3 AND AAM-A III 29 2 2 2D" 3 2S 3 2 21 6 2 ]1 5 2 35 4 2 3D 4 3 ]9 4 3 A 5 l eE6306510A21 16 6 2 1E 7 3 Bee BRANCHONC-0 (2) .. 2 2 B C 5 BRANCH ON C-' (2) .. 2 2 B E Q BRANCHONZ-' (2) F0 2 2 BIT AAM 2C .. 3 24 3 2 M, ... B M I BRANOION N-l III 302 2 B N E BRANCH ON z-e (2) DO 2 2 B P L BRANCH ON N-0 (2) 102 2 B R K (,See fig. 1) .. 7 1 ., B V C BRANCH ON v-e 121 502 2 B V S BRANQI ON V-l (2) 70 2 2 - ., C L C 0-( 18 2 1 C L 0 0-D DB 2 1 - eLI 0-1 58 2 1 - C L V a-v BB 2 1 - C M P A-M (1)C92 2eD4 3CSl 2 .(16201520542004 ]094] c P X X-M E0 2 2 EC 4 3 E4 3 2 C P Y V-M (022((43(432 DEC M-l-M CE 6 3 C6 5 2 06 6 2 DE 7 1 o E X X-l-X CA DEY Y-l-V BB E 0 R AV M-A (1) 49 2 2 40 4 3 45 3 2 41 6 2 S1 5 2 55 4 2 SO 4 ] 59 4 J INC M+ l-M EE 6 3 E6 5 2 F6 6 2 FE 7 ] INXX+l-X E8 2 1 I N Y Y+ l-Y co 2 1 M P IUMPTOI"eVLOC 4e J 3 6C 5 3 S R (See FIB 2) JUMP SUB 20 6 3 lOA M-A (11 A9 2 2 AD 4 3 A5 3 2 Al 6 2 B1 5 2 B5 4 2 BD .. 3 B9 4 3 immediate Absolute Zero 'age Actum. implied (N), X) (N)), Y Z, '.e, X ABS. X AIS, Y ReWive indirect z.,., Y ConcItIon Codes Mnemonic Operation OPN IOPN OPN IOPN 'OPN 'OPN 'OPN IOPN IOPN lorN 'OPN 'OPN IOPN' N Z C I D V . LOX M-X (1) A2 2 2 AE 4 3 A6 3 2 BE 4 3 B6 4 2 L D Y M- Y (I) A0 2 2 AC 4 3 A4 3 2 B442BC43 L 5 R 0-7 4E6346524A21 56 6 2 SE 7 3 ... ... N 0 P NO OPERATION EA 2 1 o R- A AVM - A e9 2 2 0D 4 3 05 3 2 01 6 2 11 5 2 15 4 2 10 4 3 19 4 3 P H A A-M. 5-1-5 48 3 1 P H P P-M. 5-1-S .. 3 1 P L A 5+1-5 Ms-A .. 4 1 P L P 5+1-5 M.-P 28 4 1 (RESTORED) R 0 L o-C- 2E 6 3 26 5 2 2A 2 1 J6 6 2 3E 7 3 R 0 R -C 7 6E6366526A21 76 6 2 7E 7 3 R T I (See F"18. 1) RTRN INT 40 6 1 (RESTORED) R T 5 (See F18. 2) Rl'RN SUB 60 6 1 5 B C A-M-C-A (I) E9 2 2 ED 4 3 E5 3 2 E1 6 2 F1 5 2 FS 4 2 FD 4 3 F9 4 3 5"" 5"" (3) SEC 1-C 38 2 1 1 - 5 E D 1-0 F8 2 1 - 1 5 E I 1-1 782 1 - 1 5 T A A-M 8D 4 3 85 3 2 81629162954290539953 5 T X X-M BE 4 3 86 3 2 .. 4 2 5 T Y Y-M 8C438432 94 4 2 T A X A-X AA 2 1 T A Y A-V A0 2 1 T S X 5-X 0A 2 1 T X A X-A 8A 2 1 T X S X-S 9A 2 1 T Y A V-A 98 2 1 NOTES 1. Add 1 to -N- if Page Boundary is Crossed M Memory Per Effective Address ... Modified 2. Add 1 to -N- if Branch Occurs to Same Page Add 2 to -N- if Branch Occurs to Different Page Ms Memory Per Stack Pointer - Not Modified 3. Carry Not - Borrow + Add M7 Memory Bit 7 4. If in Decimal Mode Z Flag is Invalid Subtract M(; Memory Bit 6 Accumulator Must be Checked for Zero Result 1\ AND N NoCydes X Index X V OR 1# No Bytes Y Index Y A Accumulator '" Exclusive OR 2-4 6500 INSTRUCTION SET-ALPHABmCAL SEQUENCE PLA Pull Accumulator from Stack ADC Add Memory to Accumulator with Carry PlP Pull Processor Status from Stack AND -AND- Memory with Accumulator ASl Shift left One Bit (Memory or Accumulator) ROl Rotate One Bit left (Memory or Accumulator) ROR Rotate One Bit Right (Memory or Accumulator) BCC Branch on Carry Clear RTI Return from Interrupt BCS Branch on Carry Set RTS Return from Subroutine BEQ Branch on Result Zero BIT Test Bits in Memory with Accumulator SBC Subtract Memory from Accumulator with Borrow BMI Branch on Result Minus SEC Set Carry Flag BNE Branch on Result not Zero SED Set Decimal Mode BPl Branch on Result Plus SEI Set Interrupt Disable Status BRK Force Break STA Store Accumulator in Memory BVC Branch on Overflow Clear STX Store Index X in Memory BVS Branch on Overflow Set STY Store Index Y in Memory ClC Clear Carry Flag TAX Transfer Accumulator to Index X ClD Clear Decimal Mode TAY Transfer Accumulator to Index Y ClI Clear Interrupt Disable Bit TSX Transfer Stack Pointer to Index X ClV Clear Overflow Flag TXA Transfer Index X to Accumulator CMP Compare Memory and Accumulator TXS Transfer Index X to Stack Pointer CPX Compare Memory and Index X TVA Transfer Index Y to Accumulator CPY Compare Memory and Index Y DEC Decrement Memory by One ADDRESSING MODES DEX Decrement Index X by One DEY Decrement Index Y by One Accumulator Addressing. This form of addressing is repre- sented with a one-byte instruction, implying an operation EOR -Exc\usive-or- Memory with Accumulator on the accumulator. INC Increment Memory by One Immediate Addressing. In immediate addressing, the INX Increment Index by One operand is contained in the second byte of the instruction, INY Increment Index Y by One with no further memory addressing required. JMP Jump to New location JSR Jump to New location Saving Return Address Absolute Addressing. In absolute addressing, the second byte of the instruction specifies the eight low-order bits lDA load Accumulator with Memory of the effective address while the third byte specifies lDX load Index X with Memory the eight high-order bits. Thus, the absolute addressing lDY load Index Y with Memory mode allows access to the entire 65K bytes of addressable lSR Shift One Bit Right (Memory or Accumulator) memory. NOP No Operation Zero Page Addressing. The zero page instructions allow ORA -OR" Memory with Accumulator for shorter code and execution times by only fetching the second byte of the instruction and assuming a zero high- PHA Push Accumulator on Stack address byte. Careful use of the zero page can result in PHP Push Processor Status on Stack significant increase in code efficiency. 2-5 6500 Indexed Zero Page Addressing. (X, Y indexing) - This form order eight bits of the effective address. The next memory of addressing is used in conjunction with the index register location in page zero contains the high-order eight bits of and is referred to as 'Zero Page, X" or 'Zero Page, Y". The the effective address. Both memory locations specifying effective address is calculated by adding the second byte the high and low-order bytes of the effective address must to the contents of the index register. Since this is a form of be in page zero. 'Zero Page" addressing, the content of the second byte references a location in page zero. Additionally due to the Indirect Indexed Addressing. In indirect indexed address- 'Zero Page" addressing nature of this mode, no carry is ing (referred to as Indirect, V), the second byte of the added to the high order 8 bits of memory and crossing of instruction points to a memory location in page zero. The page boundaries does not occur. contents on this memory location is added to the contents of the Y index register, the result being the low-order eight Indexed Absolute Addressing. (X, Y indexing) - This form bits of the effective address. The carry from this addition is of addressing is used in conjunction with X and Y index added to the contents of the next page zero memory register and is referred to as 'Absolute, X", and 'Absolute, location, the result being the high-order eight bits of the Y·. The effective address is formed by adding the contents effective address. of X or Y to the address contained in the second and third bytes of the instruction. This mode allows the index regis- Absolute Indirect. The second byte of the instruction con- ter to contain the index or count value and the instruction tains the low-order eight bits of a memory location. The to contain the base address. This type of indexing allows high-order eight bits of that memory location is contained any location referencing and the index to modify multiple in the third byte of the instruction. The contents of the fully fields resulting in reduced coding and execution time. specified memory location is the low-order byte of the effective address. The next memory location contains the Implied Addressing. In the implied addressing mode, the high-order byte of the effective address which is loaded address containing the operand is implicitly stated in the into the 16-bit program counter. operation code of the instruction. ABSOLUTE MAXIMUM RATINGS Relative Addressing. Relative addressing is used only with Rating Symbol Value Unit branch instructions and establishes a destination for the conditional branch. The second byte of the instruction Supply Voltage Vee -0.3 to +7.0 Vdc becomes the operand which is an offset added to the Input Voltage V1N -0.3 to +7.0 Vdc contents of the lower eight bits of the program counter when the counter is set at the next instruction. The range Operating Temperature TA o to +70 °C of the offset is -128 to +127 bytes from the next instruc- Storage Temperature TSTG -55 to +150 °C tion. Indexed Indirect Addressing. In indexed indirect address- CAUTION ing (referred to as Indirect, X), the second byte of the This device contains input protection against damage due instruction is added to the contents of the X index register, to high static voltages or electric fields; however, precau- discarding the carry. The result of this addition points to a tions should be taken to avoid application of voltages memory location on page zero whose contents is the low- higher than the maximum rating. 2-6 6500 ElfCTRICAL CHARACTERISTICS (Vee = 5.0V ± 5%, Vss = 0, TA = 25°q 0 1, 02 applies to 6512, 13, 14, 15, 00 (in) applies to MCS6502, 03, 04, 05 and 06 Symbol Parameter Min Typ Max Unit Test Condition VIH Input High Voltage Vss + 2.4 Vee Vdc Logic, 00 (in) Vee - 0.2 Vee + 0.25 01,02 VIL Input Low Voltage Vss - 0.3 Vss + 0.4 Vdc Logic, 00 (in) Vss - 0.3 Vss + 0.2 01, O2 VIHT Input High Threshold Vss + 2.0 Vdc RES, NMI, RDY, IRQ, Data, S.O. Voltage VILT Input Low Threshold Vss + 0.8 Vdc RES, NMI, RDY, IRQ, Data, S.O. Voltage liN Input Leakage Current (VIN = 0 to 5.25V, Vee = 0) 2.5 p.A Logic (Excl. RDY, S.O.) 100 p.A 01, O2 10.0 p.A 00 (in) ITSI Three-State (Off State) 10 p.A (VIN = 0.4 to 2.4V, Vee = 5.25V) Input Current Data Lines VOH Output High Voltage Vss + 2.4 Vdc (ILOAD = -1oop.Adc, Vee = 4.75V) SYNC, Data, AO-A15, R/W VOL Output Low Voltage Vss + 0.4 Vdc (ILOAD = 1.6mAdc, Vee = 4.75V) SYNC, Data, AO-A15, R/W PD Power Dissipation .25 .70 W C Capacitance pF (VIN = 0, TA = 25°C, f = 1MHz) CIN 10 Logic 15 Data COUT 12 AO-A 15, R/W, SYNC C00 (in) 50 00 (in) C01 30 50 01 C02 50 80 O2 NOTE IRQ and NMi require 3K pull-up resistors. CLOCK TIMING- 6502, 03, 04, 05, 06 00 (IN) ~T<00 O.4V- - - ~-P-W-H-0-0-L---.J.. V,::_O I.. \ --J '-. PWH00H 2.4 V _....:.'-'!4..:..V_ _ __ _ f- 1.5V=\:._~/ , ~ PW H01 -----l '\ .4 V 2-7 6500 CLOCK TIMING- 6512, 13, 14, 15 _ AEF"A" ,, 1TD 1lvcc, o.~v I O.2V . . . - REF "s" TIMING FOR READ!NG DATA FROM MEMORY OR PERIPHERALS \---REF "AU --REF "B" .4V .4 V R/W ADDRESS FROM MPU DATA FROM MEMORY ROY. S. 0 SYNC TIMING FOR WRITING DATA TO MEMORY OR PERIPHERALS 0oClN) 0, (OUT) ~5V ~--"5V 't-["""'4'-':-E-F-"A-.-.--'-·4'-V-'I',J:-:F~.:~·2 ~ '------ - \ NOTE 'REF: means Reference Points on clocks. 2-8 6500 1 MHz TIMING CLOCK nMING- 6512, 13, 14, 15 Symbol Characteristic Min Typ Max Unit Tcyc Cycle Time 1000 nsec PWHI{>1 Clock Pulse Width I{> 1 430 nsec PWHI{>2 (Measured at Vcc - 0.2 V) 1{>2 470 TF Fall Time (Measured from 0.2 V to Vcc - 0.2 V) 25 nsec To Delay Time Between Clocks (Measured at 0.2 V) 0 nsec CLOCK nMING- 6502, 03, 04, OS, 06 Symbol Characteristic Min Typ Max Unit TCYC Cycle Time 1000 ns PWHl{>o I{>o (IN) Pulse Width (measured at 1.5 V) 460 520 ns TRl{>o' TFl{>o I{>o (IN) Rise, Fall Time 10 ns To Delay Time Between Clocks (measured at 1.5 V) 5 ns PWHI{>1 1{>1 (OUT) Pulse Width (measured at 1.5 V) PWHl{>oL-20 PWHl{>oL ns PWHI{>2 1{>1 (OUT) Pulse Width (measured at 1.5 V) PWHl{>oH-40 PWHl{>oH-10 ns TR, TF 1{>1 (OUT). 1{>2 (OUT) Rise, Fall Time 25 ns (measured .8 V to 2.0 V) (Load = 30pF + 1 TTL) READIWRITE nMING Symbol Characteristic Min Typ Max Unit TRws Read/Write Setup Time From MCS6500 100 300 ns TAOS Address Setup Time From MCS6500 100 300 ns TACC Memory Read Access Time 575 ns Tosu Data Stability Time Period 100 ns THR Data Hold Time - Read 10 ns THW Data Hold Time - Write 30 60 ns TMos Data Setup Time From MCS6500 150 200 ns TROY RDY, S.O. Setup Time 100 ns TSYNC SYNC Setup Time From MCS6500 350 ns THA Address Hold Time 30 60 ns THRw R/W Hold Time 30 60 ns 2-9 6500 2 MHz TIMING CLOCK TIMING- 6512, 13, 14, 15, 16 Symbol Characteristic Min Typ Max Unit Tcyc Cycle Time 500 nsec PWHt/l1 Clock Pulse Width 1/>1 215 nsec PWHt/l2 (Measured at Vcc - 0.2 V) 1/>2 235 TF Fall Time (Measured from 0.2 V to Vcc - 0.2 V) 12 nsec To Delay Time Between Clocks (Measured at 0.2 V) 0 nsec CLOCK TlMING- 6502,03,04,05, 06 Symbol Characteristic Min Typ Max Unit Tcyc Cycle Time 500 ns PWHt/lo t/lo (IN) Pulse Width (measured at 1.5 V) 240 260 ns TRt/lo' TFI/>o t/lo (IN) Rise, Fall Time 10 ns To Delay Time Between Clocks (measured at 1.5 V) 5 ns PWHt/l1 t/l1 (OUT) Pulse Width (measured at 1.5 V) PWHt/lol-20 PWHt/lol ns PWHt/l2 t/l2 (OUT) Pulse Width (measured at 1.5 V) PWHt/loH-40 PWHt/loH-10 ns TR, TF t/l1 (OUT). t/l2 (oun Rise, Fall Time 25 ns (measured .8 V to 2.0 V) (Load = 30pF + 1 TTL) READIWRITE TIMING Symbol Characteristic Min Typ Max Unit TRWS Read/Write Setup Time From 6500A 100 150 ns TAOS Address Setup Time From 6500A 100 150 ns TACC Memory Read Access Time 300 ns Tosu Data Stability Time Period 50 ns THR Data Hold Time - Read 10 ns THW Data Hold Time - Write 30 60 ns TMDS Data Setup Time From 6500A 75 100 ns TROY RDY, S.O. Setup Time 50 ns TSYNC SYNC Setup Time From 6500A 175 ns THA Address Hold Time 30 60 ns THRW R/W Hold Time 30 60 ns 2-10 SPECIFIC VERSION FEAlURES (40 Pin Package) 6502 Y" I 40 RES ROY 2 39 "'2lO UT) FEATURES "'I (OUT) 3 38 S.O. IRQ • 65K Addressable Bytes of Memory 4 37 "'O(IN) N.C 5 36 N.C. • IRQ Interrupt NMI 6 35 N. C. • NMI Interrupt SYNC 7 34 R/W Yee 8 33 DBO • On-the-chip Clock ABO 9 32 OBI ..... TTL Level Single Phase Input ABI 10 31 o B2 ..... RC Time Base Input AB2 II 301- DB3 AB3 12 29 DB4 ..... Crystal Time Base Input AB4 13 28 DB5 • SYNC Signal AB5 14 27 DB6 (can be used for single instruction execution) AB6 15 26 DB7 AB7 16 25 ABI5 • ROY Signal ABB 17 24 ABI4 (can be used for single cycle execution) AB9 18 23 ABI3 ABIO 19 22 ABI2 • Two Phase Output Clock for Timing of Support Chips ABII 20 21 Yss (28 Pin Package) 6503 RES - I 28 t-- Q!2(OUT) Vss - 2 27 t-- Q!O( IN) IRQ - 3 26 t-- R/W NMI- 4 25 I- DBO Vee - 5 24 I- DB I FEATURES ABO- 6 23 t-- DB2 • 4K Addressable Bytes of Memory (ABOO-AB11) AB I - 7 22 t-- DB3 • On-the-chip Clock AB2 8 21 I- DB4 • IRQ Interrupt AB3- 9 20 t-- DB5 • NMI Interrupt AB4- 10 19 I- D B6 • 8 Bit Hi-Directional Data Bus AB5 - II 18 t-- DB7 AB6 - 12 17 I- ABII AB7 - 13 16 t--ABIO ABS - 14 151-AB9 (28 Pin Package) 6504 RES - I 28 I- Q!2(OUT) Vss - 2 27 -Q!O(IN) IRQ - 3 26 - R/W Vee - 4 25 - DBO ABO- 0 24 - DBI FEATURES AB I - 6 23 - DB2 • 8K Addressable Bytes of Memory (ABOO-AB12) AB2 - 7 22 - DB3 • On-the-chip Clock AB3- S 21 - DB4 AB4 - 9 • IRQ Interrupt 20 - D85 AB5 - 10 • 8 Bit Bi-Directional Data Bus 19 - DB6 AB6 - II 18 - DB7 AB7- 12 17 - ABI2 AS8- 13 16 - ASII AB9 - 14 15 - ABIO 2-11 SPECIFIC VERSION FEATURES (28 Pin Package) 6505 RES - I 28 I- 02(OUT) Vss - 2 27 I-IIJO(IN) RDY - 3 26 I- R/W IRQ - 4 25 I- DBO FEATURES Vee - 5 24 I- DBI • 4K Addressable Bytes of Memory (ABOO-AB11) ABO - 6 23 I- D B2 AB 1- 7 • On-the-chip Clock 22 I- DB3 AB2- 8 21 I- DB4 • IRQ Interrupt AB3 - 9 20 I- DB5 • ROY Signal AB4- 10 • 8 Bit Bi-Directional Data Bus 19 I- DB6 AB5 - II 18 I- DB7 AB6 - 12 17 - ABII AB7- 13 16 ... ABIO AB8 - 14 15 I- AB9 (28 Pin Package) 6S06 RES - I 28 I- 02(OUT) Vss - 2 27 1-1IJ0(lN) QJI (OUT)- 3 26 I- R/W IRQ - 4 25 I- OBO Vee - 5 24 I- OBI FEATURES ABO- 6 23 I- DB2 • 4K Addressable Bytes of Memory (ABOO-AB11) ABI - 7 22 I- DB3 • On-the-chip Clock AB2- 8 21 -DB4 • IRQ Interrupt AB3- 9 20 I- DB5 • Two phases off AB4- 10 19 I- DB6 • 8 Bit Bi-Directional Data Bus AB5- II 18 I- DB7 ABS 12 17 I- ABII AB7- 13 16 I-ABIO AB 8- 14 15 I- AB9 (28 Pin Package) 6507 RES ~(OUT) vss 410 liN) RIW vee DO AO 01 FEATURES A1 02 • 81( Addressable Bytes of Memory (AO-A 12) A2 03 • On-the-chip Clock A3 04 • ROY Signal A4 05 • 8 Bit Bi-Directional Data Bus AS 06 A6 07 A7 A12 A8 A1l All Al0 2-12 SPECIFIC VERSION FEAlURES (40 Pin Package) 6512 Vss 40 RES ROY 2 39 021OU T) 01 3 38 5.0. IRQ - 4 37 02 Vss 5 36 DBE FEATURES NMI - 6 35 N.C • 65K Addressable Bytes of Memory SYNC - 7 34 R/W Vee B 33 DBa • IRQ Interrupt ABO 9 32 DB I • NMI Interrupt ABI 10 31 DB2 • RDY Signal AB2 II 30 DB3 AB3 12 29 DB4 • 8 Bit Bi-Directional Data Bus AB4 13 28 DB5 • SYNC Signal AB5 14 27 DB6 • Two phase input AB6 15 26 DB7 A B7- 16 25 ABI5 • Data Bus Enable AB8 17 24 ABI4 AB9 18 23 ABI3 ABIO 19 22 ABI2 ABII~ Vss (28 Pin Package) 6513 Vss - I 28 f.- RES 01 - 2 27 '-- 02 IRQ - 3 26 - R/W NMI - 4 25 - DBO Vce - 5 24 I- DB I FEATURES ABO- 6 23 I- DB2 • 4K Addressable Bytes of Memory (ABOO-AB11) AB I - 7 22 I- DB3 • Two phase clock input AB2 - 8 21 DB4 • IRQ Interrupt AB3- 9 20 I- DB5 • NMI Interrupt AB4- 10 19 I- DB 6 • 8 Bit Bi-Directional Data Bus AB5- II 18 I- DB7 AB6 - 12 17 I- ABII AB7 - 13 16 I-ABIO AB8 - 14 15 I- AB9 2-13 SPECIFIC VERSION FEAlURES (28 Pin Package) 6514 - Vss - I 28 f- RES "'I - 2 27 I- "2 IRQ - 3 26 I- R/W Vee - 4 25 I- DBO ABO - 5 24 r- DB I FEATURES ABI - 6 23 I- D B2 • UK Addressable Bytes of Memory (ABOO-AB12) AB2 - 7 22 I- DB3 • Two phase clock input AB3 - 8 21 I- DB4 • IRQ Interrupt AB4 - 9 20 I- DB5 • 8 Bit Bi-Directional Data Bus AB5 - 10 19 I- DB 6 AB6 - II 18 I- DB7 AB7 - 12 17 I-ABI2 AB8 - 13 16 I-ABII AB9 - 14 15 I- AB 10 (28 Pin Package) 6515 Vss - I 28 .... RES ROY - 2 27 - 02 01 - 3 26 - R/W IRQ - 4 25 - DBO Vee - 5 24 - DBI FEATURES ABO - 6 23 - DB2 • 4K Addressable Bytes of Memory (ABOO-AB11) ABI - 7 22 - DB3 • Two phase clock input AB2 - 8 21 - DB4 • IRQ Interrupt AB3 - 9 20 -, D B5 • 8 Bit Bi-Directional Data Bus AB4 - 10 19 - DB6 AS5 - II 18 - DB7 AB6 - 12 17 - ABII AS7 - 13 16 I-ABIO AB8....., 14 15 I- AB 9 2-14 commodore semiconductor group NMOS 6500/1 One-Chip 8-Bit Microcomputer • Single +5 Volt Power Supply. • Pipeline Architecture for High-Performance. • 2048 Bytes of ROM. • Thirteen Address Modes With True Indexing • 64 Bytes of RAM. Capability. • 32 Bi-Directionall/O Lines. • Variable Length Stack. • 16-Bit Programmable Interval Timer/Event Counter. • Two Index Registers. • Software-Compatible with MCS6502. Description The 6500/1 is a completely self-contained single-chip microcomputer system. Included in the 6500/1 are 2048 bytes of mask-programmable ROM, 64 bytes of RAM, 321/0 lines, a 16-bit timer/counter, and an on-chip clock oscillator. The internal processor architecture is identical to the 6502 to provide software compatibility and to assure high-performance operation. PIN CONFIGURATION BLOCK DIAGRAM I-----XTO CLOCK OSCILLATION vee (RAM) NMI I----XTI P07 RES POG PAo IRQ I POs PAl I I P04 PA, I P03 PA3 I PO, PA4 I PO, PAs I I 1 - - - - Vee (RAM) POo PAG I XTI PA7 I XTO Vee ~­ GNO PBo I 1 - - - - - - CNTR PC7 PB, I PCG PB, I PCs PB3 I L_ PC4 PB4 PC3 PBs 32 PC, PBG I/O PC, PB7 LINES PCo CNTR L _ _ _J'r----,/ PB o-PB7 Note MCS = Ceramic package MPS = Plastic package 2-15 6500/1 INTERNAL ARCHITECTURE into the Instruction Register then decoded along with tim- ing and interrupt signals to generate control signals for the Index Registers various registers. There are two 8-bit index registers (X and V), which may be used to count program steps or to provide an index Timing Control value to be used in generating an effective address. The Timing Control Unit keeps track of the instruction cycle being executed. This unit is set to To each time an When executing an instruction which specifies indexed instruction fetch is executed and is advanced at the begin- addressing, the CPU fetches the op code and the base ning of each Phase One clock pulse for as many cycles as address, and modifies the address by adding the index are required to complete the instruction. Each data trans- register to it prior to performing the desired operation. fer which takes place between the registers depends on Indexing simplifies many types of programs, especially decoding the contents of both the instruction register and those which make extensive use of tables. timing control unit. Stack Pointer Interrupt Logic The Stack Pointer is an 8-bit register used to control the The interrupt logic controls the processor interface to the addressing of the variable-length Stack. It is automatically interrupt inputs to ensure proper timing, enabling and decremented and incremented by the CPU when the sequencing of the interrupt signals which the processor Stack is accessed. recognizes and services. The Stack is used automatically by the CPU for interrupt Clock Oscillator processing and subroutine calling and may also be used by The Clock Oscillator provides all the timing signals used by the programmer for other temporary storage functions. the CPU. A 2MHz crystal must be used with the 1MHz MCS6500/1 and a 4MHz crystal for the 2MHz Arithmetic and Logic Unit (ALU) MCS65OO/1A. All arithmetic and logical operations are done in the ALU. The ALU has no internal memory and is used only to 21< x 0 ROM perform transient numerical operations. The 2048-byte Read Only Memory (ROM) usually contains the program instructions and other fixed data. These pro- Accumulator gram instructions and constants are permanently stored in The Accumulator is a special-purpose 8-bit register which the ROM by metal mask programming during fabrication is used to hold the results of most arithmetic and logical of the 6500/1. operations. 64xORAM Program Counter The 64-byte Random Access Memory (RAM) contains the The 16-bit Program Counter provides the addresses which user program stack and is used as scratchpad memory. step the processor through sequential instructions in a pro- This RAM is completely static, requiring no clock or dy- gram. Each time the processor fetches an instruction from namic refresh. A standby power pin allows RAM memory program memory, the lower byte of the Program Counter to be maintained at a reduced operating power. In the (PCL) is placed on the low-order bits of the Address Bus event that power is lost and execution stops, this standby and the higher byte of the Program Counter (PCH) is power retains RAM data until execution resumes. placed on the high-order 8 bits. The Counter is incre- mented each time an instruction or data is fetched from Status/Control Register program memory. The 8-bit Status/Control Register controls and reports the status of eight signals - five control signals and three status Instruction Register and Instruction Decode signals. Instructions are fetched from ROM or RAM and gated onto the internal data bus. These instructions are latched 2-16 6500/1 Counter/Latch ABSOLUTE MAXIMUM RATINGS The Counter/Latch consists of a 16-bit counter and a 16- Allowable bit latch register. The counter contains either a count of cb2 Rating Symbol Range Unit clock periods or a selected external event, depending on the counter mode selected in the Status/Control Register. Supply Voltage Vee -0.3 to The counter initialization value is stored in the latch. +7.0 V Input/Output Voltage V IN -0.3 to Input/Output (I/O) Ports +7.0 V The 6500/1 provides four 8-bit I/O ports-PA, PB, PC, and PD. The 321/0 lines of these ports are bidirectional; all Operating Temp. Top o to 70 °C signals may be used for either input or output. Storage Temp. TSTG -55 to +150 °C INSTRUCTION SET The 6500/1 instruction set is identical to that of the 6502 Note All inputs contain protection circuitry to prevent damage due to static dis- described in the preceding data sheet. charge. Care should be exercised to prevent unnecessary application of voltages in excess of the allowable limits. COMMENT Stresses above those listed under 'Absolute Maximum Rat- ings'may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated in the operational sections of this specification is not implied and exposure to absolute maximum rating conditions for extended periods may affect device reliability. DC ELECTRICAL CHARACTERISTICS (Vee = 5.0V ±5%, TA = D-70°C, unless otherwise noted) Symbol Parameter Min Typ Max Unit V IH Input High Voltage 2.0 Vee V V IL Input Low Voltage -0.3 0.8 V V IHXT Input High Voltage (XTL 1) 2.4 Vee V V ILXT Input Low Voltage (XTL 1) -0.3 0.4 V liN Input Leakage (RES, NMI) 2.5 JlA ITSI Three-State Input Leakage (PAo-PAl , PBo-PBl , PCO-PCl , PDo-PDl, CNTR), V IN = 0.4 to 2.4V 10.0 JlA V OH Output High Voltage, ILOAD = 100JlA 2.4 V VOl Output Low Voltage, ILOAD = 1.6mA 0.4 V PD Power Dissipation SOO mW IRR Standby Current (RAM only) 10 rnA CIN Input Capacitance (RES, NMI) 10.0 pF CTSI Three-State Input Capacitance (PAo-PAl , PBo-PBl , PCO-PCl , PDo-PDl, CNTR) 10.0 pF C INX Input Capacitance (XTL 1) 50.0 pF COUT Output Capacitance: V 1N = OV, TA = 25°C, f = 1.0 MHz 10.0 pF 2-17 commodore semiconductor group NMOS 6508 Microprocessor With RAM and 1/0 • 8-Bit Bi-directional 1/0 Port • Variable length stack • 256 Bytes fully Static RAM (internal) • Interrupt capability • Single +5 volt supply • 8 BIT Bi-directional Data Bus • N channel, silicon gate, depletion load technology • Addressable memory range of up to 65K bytes • Eight bit parallel processing • Direct memory access capability • 56 Instructions • Bus compatible with M6800 • Decimal and binary arithmetic • Pipeline architecture • Thirteen addressing modes • 1 MHz and 2 MHz operation • True indexing capability • Use with any type or speed memory • Programmable stack pointer DESCRIPTION The 6508 is a low-cost microcomputer system capable of solving a broad range of small-systems and peripheral-control problems at minimum cost to the user. One full page (256 bytes) of RAM is located (on chip) concurrently at Page 0 and Page 1, allowing Zero Page Addressing and stack operations with no additional RAM. PIN CONFIGURATION BLOCK DIAGRAM ~n 6508 P, AEC RES 40 0, IN 0, IN 39 RIW iRQ 38 DB. AEC 37 DB, VDD 5 36 DB, A, A. 6 35 DB, A, A, 7 34 DB. A, A, 8 33 DB. A, A, 9 32 DB. A. 10 31 DB, A. 0: W A. 11 30 p. A, LL LL A. 12 29 p, => CIl INSTRUCTION A, en DECODE A, 13 28 p, en A, w A. 14 27 p, 0: C> C> A. 15 26 p. A. « w A.. 16 25 p. ~ A.. Au 17 18 24 23 p. p, A. ~ w A" 0: Au J: 19 22 A.. I- A" VSS 20 21 A.. An Au A" A" 0, 0, fi"SBITLINE OJ 0, 0, DATA BUS 0, I ",1BITLINE 0, 0, 2-18 6508 DESCRIPTION (cont.) An 8-bit Bi-Directionall/O Port is located on-chip with the Output Register at Address 0 0 0 1 and the Data-Direction Register at Address 0 0 0 0. The 1/0 Port is bit-by-bit programmable. The Three-State sixteen-bit Address Bus allows Direct Memory Accessing (DMA) and multi-processor systems sharing a common memory. The internal processor architecture is identical to the 6502 to provide software compatibility. ABSOLUTE MAXIMUM RATINGS Parameter Symbol Value Unit Supply Voltage Vee -0.3 to +7.0 Vdc Input Voltage Yin -0.3 to +7.0 Vdc COMMENT Operating Temperature This device contains input protection against damage due Range TA o to +70 °C to high static voltages or electric fields; however, precau- Storage Temperature tions should be taken to avoid application of voltages Range TSls -55 to +150 °C higher than the maximum rating. ELECTRICAL CHARACTERISTICS (Vee = 5.0 V ± 5%, Vss = 0, TA =0° to +70 o q Symbol Parameter Min Typ Max Unit V IH Input High Voltage tP1, tP2(in) Vee - 0.2 Vee + 1.0 V Vdc Input High Voltage RES, PO-P7 IRQ, Data Vss + 2.0 Vdc V IL Input low Voltage P.J:.. tP2(in) Vss - 0.3 Vss + 0.2 Vdc RES, PO-P7 IRQ, Data Vss + 0.8 Vdc liN Input leakage Current (VIN = 0 to 5.25 V, Vee = 5.25 V) logic 2.5 /LA tP1, tP2(in) 100 /LA ITSI Three State (Off State) Input Current (VIN = 0.4 to 2.4 V, Vee = 5.25 V) 10 /LA Data lines V OH Output High Voltage (IOH = -100 /LAdc, Vee = 4.75 V) Data, AO-A 15, R/W, PO-P7 Vss + 2.4 Vdc VOL Out low Voltage (IOL = 1.6 mAdc, Vee = 4.75 V) Data, AO-A 15, R/W, PO-P7 Vss + 0.4 Vdc PD Power Dissipation W C Capacitance pF (VIN = 0, TA = 25°C, f = 1 MHz) CIN logic, PO-P7 10 Data 15 COUT AO-A15, R/W 12 C"'1 tP1 30 50 C"'2 tP2 50 80 2-19 6508 TIMING DIAGRAMS CLOCK TIMING TIMING FOR READING DATA FROM MEMORY OR PERIPHERALS ~--- _ _ _ _ _ _ _ _ _ Teye _ _ _ _ _ _ _ _ _ _ _- . j ~--_ PWH0, - - - - - . j vee -O,2V VCC-O.2V 0,(in) ~T D 1"- TD f-- ----", vee - D.2V I I 0.{in) --. 1\ TF * I I I I --. / :=-ffl"O~ TA \ I~TAWS THAW - i- ~ 2.0V AIW I THA --. -.- x== ADDRESS ~ FROM 2.0V MPU a.8V - TAOS ---- TAEW - TeOR .1 DATA 2.ov7 i'.. FROM MEMORY O.8V ~ V TAce T TOSU I - THA I-- - TpDSU PERIPHER AL DATA X ~. ~ ADDRESS ENABLE ~vee-D.2V CONTROL 2-20 6508 TIMING DIAGRAMS (cant.) CLOCK TIMING TIMING FOR WRITING DATA TO MEMORY OR PERIPHERALS ~ ____________________ ~TCYC ______________________ ~ ~________ PWH0, ---------'J.--II vee -O.2V VCC-O.2V 0,(jn) _ _ _......;;;r ~ TO ~ To I- --, VCC-02V 1 ~ r- 1\: V 1\ 0. (in) - - . - O.2V TF -I I TAWS - -'" TR ~PWH0, _ _ +- -',= 1 1 RIW \ ~O.8V TAEW TWE ADDRESS )< FROM - 2.0V MPU a.BV TAOS ~ 2.0V r-- DATA FROM MEMORY ~TMOS J 08~ __ ~ THW TpDW '" V PERIPHERA L DATA )1$1·; +T< k fsr'!;'I?:!:tf"I'" "';:/::.M. r',' r, In· I' 1'1' ,'I: ~.~ii B M I BRANCHONN=l 311 2 2 I'';}''~'~~'' ~'-!*"H:4i~h8j!i?'ll(II.:)}'i'~i;1~~P~PI;;Jf":FI::::~"I~: 2 InpvtLatch PB7 CSl RS. D"'P" Po" CBl CS2 (OR8) • CB2 R/W OataOlr. (DORB) vcc iRcl Note MCS = Ceramic package MPS = Plastic package 2-35 6522 INTERFACE TO THE PROCESSOR Read/Write Line (RIW). The direction of data transfers This section contains a description of the buses and control between the 6522 and the system processor is controlled lines which are used to interface the 6522 to the system by the R/W line. If R/W is low, data will be transferred out processor. of the processor into the selected 6522 register (write operation). If R/W is high and the chip is selected, data will Phase Two Clock (cf>2). Data transfers between the 6522 be transferred out of the 6522 to the data bus (read oper- and the system processor take place only while the Phase ation). Two Clock is high. In addition, cf>2 acts as the time base for the various timers and shift registers on the chip. Data Bus (DBO - DB7). The 8 bi-directional data bus lines are used to transfer data between the 6522 and the sys- Chip Select Lines (CS1, CS2). The two chip select inputs tem processor. The internal drivers will remain in the high- are normally connected to processor address lines either impedance state except when the chip is selected (CS 1 = directly or through decoding. The selected 6522 register = 1, CS2 0), Read/Write is high and the Phase Two Clock will be accessed when CS1 is high and CS2 is low. is high. At this time, the contents of the selected register are placed on the data bus. When the chip is selected, with Read/Write low and cf>2 = 1, the data on the data bus will Register Select Lines (RSO, RS1, RS2, RS3). The four Regis- be transferred into the selected 6522 register. ter select lines are normally connected to the processor address bus lines to allow the processor to select the internal 6522 register which is to be accessed. The six- Reset (RES). The Reset input clears all internal registers teen possible combinations access the registers shown in (except T1, T2, and SR) to logic O. This places all peripheral Table 1. interface lines in the input state, disables the timers, shift register, and interrupts from the chip. Table 1. Register Select Line Definitions Interrupt Request (IRQ). The Interrupt Request output RS3 RS2 RS1 RSO Register Remarks goes low whenever an internal interrupt flag is set arid the L L L L ORB correspondeing interrupt enable bit is a logic 1. This output is 'open drain" to allow the interrupt request signal to be L L L H ORA Controls wire-ORed with other equivalent signals in the system. Handshake L L H L DDRB INTERFACE TO THE PERIPHERAL. This section contains a brief description of the buses and control lines used to L L H H DDRA drive peripheral devices under control of the MCS6522 L H L L T1L-L Write Latch registers. T1C-L Read Counter Peripheral A Port (PAO - PA7). The Peripheral A port L H L H T1C-H Trigger T1L-l/ consists of 8 lines which can be individually programmed T1C-L Transf. to act as input or output under control of a Data Direction L H H L T1L-L Register. The polarity of output pins is controlled by an Output Register and input data can be latched into an L H H H T1L-H internal register under control of the CA 1 line. All of these H L L L T2L-L Write Latch modes of operation are controlled by the system proces- T2C-L Read Counter sor through the internal control registers. These lines re- present one standard TTL load in the input mode and will H L L H T2C-H Triggers T2L-l/ drive one standard TTL load in the output mode. T2C-L Transfer H L H L SR Peripheral A Control Lines (CAl, CA2). The two periph- eral A control lines act as interrupt inputs or as handshake H L H H ACR outputs. Each line controls an internal interrupt flag with a H H L L PCR corresponding interrupt enable bit. In addition, CA 1 con- trols the latching of data on Peripheral A Port input lines. H H L H IFR The various modes of operation are controlled by the H H H L IER system processor through the internal control registers. CA 1 is a high-impedance input only while CA2 represents H H H H ORA No Effect one standard TTL load in the input mode. CA2 will drive on Handshake one standard TTL load in the output mode. 2-36 6522 Peripheral B Port (PRO - PB7). The Peripheral B port con- data on the PA pins. With input latching enabled, IRA will sists of 8 bi-directionallines controlled by an output regis- reflect the contents of the Port A prior to setting the CA 1 ter and a Data Direction Register in much the same manner Interrupt Flag (IFR1) by an active transition on CA1. as the PA port. In addition, the polarity of the PB7 output signal can be controlled by one of the interval timers while The IRB register operates in a similar manner. However, for the second timer can be programmed to count pulses on output pins, the corresponding IRB bit will reflect the con- the PB6 pin. These lines represent one standard TTL load in tents of the Output Register bit instead of the actual pin. the input mode and will drive one standard TTL load in the This allows proper data to be read into the processor if the output mode. output pin is not allowed to go to full voltage. With input latching enabled on Port B, setting CB1 interrupt flag will Peripheral B Control Lines (CB1, CB2). The Peripheral B cause IRB to latch this combination of input data and ORB control lines act as interrupt inputs or as handshake out- data until the interrupt flag is cleared. puts. As with CA 1 and CA2, each line controls an interrupt flag with a corresponding interrupt enable bit. In addition, Handshake Control these lines act as a serial port under control of the Shift The 6522 allows positive control of data transfers be- Register. These lines represent one standard TTL load in tween the system processor and peripheral devices the input mode and will drive one standard TTL load in the through the operation of 'handshake" lines. Port A lines output mode. (CA 1, CA2) handshake data on both a read and a write operation while the Port B lines (CB1, CB2) handshake on a OPERATION write operation only. This section contains a discussion of the various blocks of logic shown in the block diagram. In addition, the internal Read Handshake. Positive control of data transfers from operation of the 6522 is described in detail. peripheral devices into the system processor can be ac- complished using 'Read" handshaking. In this case, the peripheral device must generate 'Data Ready" to signal Chip Access Control. the processor that valid data is present on the peripheral The Chip Access Control contains the necessary logic to port. This signal normally interrupts the processor, which detect the chip select condition and to decode the Regis- then reads the data, causing generation of a 'Data Taken" ter Select inputs to allow access to the desired register. In signal. The peripheral device responds by making new addition, the R/W and <1>2 signals are utilized to control the data available. This process continues until the data trans- direction and timing of data transfers. When writing into fer is complete. the 6522, data is first latched into a data input register during <1>2. Data is then transferred into the desired internal In the 6522, automatic 'Read" handshaking is possible on register during <1>2 - Chip Select. This allows the peripheral the Peripheral A port only. The CA 1 interrupt input pin I/O line to change without 'glitching: When the proces- accepts the 'Data Ready" signal and CA2 generates the sor reads the 6522, data is transferred from the desired 'Data Taken" signal. The Data Ready signal will set an internal register directly onto the Data Bus during <1>2. internal flag which may either interrupt the processor or be polled by software. The Data Taken signal can be either Port A Registers, Port B Registers a pulse or a DC level which is set low by the system Three registers are used in accessing each of the 8-bit processor and cleared by the Data Ready signal. These peripheral ports. Each port has a Data Direction Register options are shown in Figure 1 which illustrates the normal (DDRA, DDRB) for specifying whether the peripheral pins Read handshaking sequence. are to act as inputs or outputs. A 0 in a bit of the Data Direction Register causes the corresponding peripheral pin Write Handshake. The sequence of operations which al- to act as an input. A 1 causes the pin to act as an output. lows handshaking data from the system processor to a peripheral device is very similar to that described for Read Each peripheral pin is also controlled by a bit in the Output Handshaking. However, for 'Write" handshaking, the pro- Register (ORA, ORB) and an Input Register (IRA,IRB). When cessor must generate the 'Data Ready"signal (through the the pin is programmed to act as an output, the voltage on 6522) and the peripheral device must respond with the the pin is controlled by the corresponding bit of the Out- 'Data Taken" signal. This can be accomplished on both the put Register. A 1 in the Output Register causes the pin to PA port and the PB port on the 6522. CA2 or CB2 acts as a go high, and a 0 causes the pin to go low. Data Ready output in either the DC level or pulse mode and CA 1 or CB 1 accepts the 'Data Taken" signal from Reading a peripheral port causes the contents of the Input the peripheral device, setting the interrupt flag and clear- Register (IRA, IRB) to be transferred onto the Data Bus. ing the 'Data Ready" output. This sequence is shown in With input latching disabled, IRA will always reflect the Figure 2. 2-37 6522 READ HANDSHAKE TIMING SEQUENCE Phase Two Clock Data Available (CAl) -- 1 IRQ Output Read ORA 2 ________________________ ~r--l~ ____________________ Operation oata Taken- Handshake Mode (CA2) Data Taken- Pulse Mode (CA2) NOTES 1. Signals -data available- to the system processor. 2. R/W = 1, CS2 = 0, CS1 = 1, RS3 = 0, RS2 = 0, RS1 = 0, RSO =1. Figure 1. WRITE HANDSHAKE TIMING SEQUENCE Phase Two Clock Write ORA 1 ~~-- ________________________ ~r--l~ ___ Operation Data AVailable- Handshake Mode (CA2,CB21 Data Available- Pulse Mode (CA2,CB2) Data Taken (CAl,CBl) -- 2 IRQ Output NOTES 1. R/W = 0, CS2 = 1, RS3 - 0, RS2 = 0, RS1 = 0, RSO ~ 1. 2. Signals -data taken- to the system processor. Figure 2. Timer 1 (Tl) Table 2. Writing to 11 Registers Interval Timer T1 consists of two 8-bit latches and a 16-bit RS3 RS2 RSl RSO Operation (R/W = L) counter. The latches are used to store data to be loaded into the counter. After loading, the counter decrements at L H L L Write into low order latch. system clock rate. Upon reaching zero, an interrupt flag L H L H Write into high order latch. will be set, and IRQ will go low. The timer will then disable Write into high order counter. any further interrupts, or automatically transfer the con- Transfer low order latch into tents of the latches into the counter and continue to low order counter. decrement. In addition, the timer can be instructed to Reset T1 interrupt flag. invert the output signal on a peripheral pin each time it L H H L Write low order latch. -times-out". Each of these modes is discussed separately below. L H H H Write high order latch. Reset T1 interrupt flag. Writing 11. Operations which take place when writing to each of the four T1 addresses are shown in Table 2. 2-38 6522 Note that the processor does not write directly into the low. PB7 will return high when Timer 1 times out. The low order counter (T1C-L).lnstead, this half of the counter result is a single programmable width pulse. is loaded automatically from the low order latch when the NOTE processor writes into the high order counter. PB7 will act as an output if DORB7 = 1 or if ACR7 = 1. However, if both DDRB7 and ACR7 are logic 1, PH7 will The second set of addresses allows the processor to write be controlled from Timer 1 and ORB7 will have no effect into the latch register without affecting the count-down in on the pin progress. This is discussed in detail below. In the one-shot mode, writing into the high order latch has Reading 11 Registen. For reading the Timer 1 registers, no effect on the operation of T1. However, it will be the four addresses relate directly to the four registers as necessary to assure that the low order latch contains the shown in Table 3. proper data before initiating the count-down with a "write T1C-H" operation. When the processor writes into the Table 3. Reading T1 Registen high-order counter, the Tl interrupt flag will be cleared, the contents of the low-order latch will be transferred into Rs] RS2 RS1 RSO Operation (R/W = H) the low-order counter, and the timer will begin to L H L L Read T110w order counter. decrement at system clock rate. If the PB7 output is en- Reset T1 interrupt flag. abled, this signal will go low on the phase two following the write operation. When the counter reaches zero, the L H L H Read T1 high order counter. T1 interrupt flag will be set, the IRQ pin will go low (inter- L H H L Read T1 low order latch. rupt enabled), and the signal on PB7 will go high. At this time the counter will continue to decrement at system L H H H Read T1 high order latch. clock rate. This allows the system processor to read the contents of the counter to determine the time since inter- Timer 1 Operating Modes. Two bits are provided in the rupt. However, the T1 interrupt flag cannot be set again Auxiliary Control Register to allow selection of the Tl op- unless it has been cleared. erating modes. These bits and the four possible modes are shown in Table 4. Free-Running Mode. The most important advantages as- sociated with the latches in T1 are the ability to produce a Table 4. T1 Operating Modes continuous series of evenly spaced interrupts and the abili- ty to produce a square wave on PB7 whose frequency is ACR7 ACR6 not affected by variations in the processor interrupt re- Output "Free-Run" sponse time. This is accomplished in the "free-running" Enable Enable Mode mode. 0 0 Generate a single time-out in- terrupt each time T1 is loaded. In the free-running mode (ACR6 = 1), the interrupt flag is PB7 disabled. set and the signal on PB7 is inverted each time the counter reaches zero. However, instead of contining to decrement 0 1 Generate continuous inter- from zero after a time-out the timer automatically transfers rupts. PB7 disabled. the contents of the latch into the counter (16 bits) and 1 0 Generate a single interrupt and continues to decrement from there. The interrupt flag can an output pulse on PB7 for be cleared by writing TlC-H, by reading TlC-L, or by each Tl load operation. writing directly into the flag as described below. However, it is not necessary to rewrite the timer to enable setting the 1 1 Generate continouos inter- interrupt flag on the next time-out rupts and a square wave out- put on PB7. All interval timers in the 6500 family devices are "re- triggerable: Rewriting the counter will always re-initialize One-Shot Mode. The interval timer one-shot mode allows the time-out period. In fact, the time-out can be prevented generation of a single interrupt for each timer load oper- completely if the processor continues to rewrite the timer ation. As with any interval timer, the delay between the before it reaches zero. Timer 1 will operate in this manner "write TlC-H" operation and generation of the processor if the processor writes into the high order counter (T1C-H). interrupt is a direct function of the data loaded into the However, by loading the latches only, the processor can timing counter. In addition to generating a single interrupt, access the timer during each down-counting operation Timer 1 can be programmed to produce a single negative without affecting the time-out in process. Instead, the data pulse on the PB7 peripheral pin. With the output enabled loaded into the latches will determine the length of the (ACR7=1) a "write T1C-H" operation will cause PB7 to go next time-out period. 2-39 6522 Timer 2 (T2) ter. These bits can be set and cleared by the system pro- Timer 2 operates as an interval timer (in the 'one-shot" cessor to select one of the operating modes. mode only), or as a counter for negative pulses on the PB6 peripheral pin. A single control bit is provided in the Auxil- SR Input Modes. Bit 4 of the Auxiliary Control Register iary Control Register to select between these two modes. selects the input or output modes. There are three input This timer is comprised of a 'write only" low-order latch modes and four output modes, differing primarily in the (T2L-L), a 'read-only" low-order counter and a read/write source of the pulses which control the shifting operation. high-order counter. The counter registers act as a 16-bit With ACR4 = 0 the input modes are selected by ACR3 and counter which decrements at cf>2 rate. ACR2 as shown in Table 6. Timer 2 addressing is summarized in Table 5. Table 6. SR Input Mode Selection ACR4 ACR3 ACR2 Mode Table 5. T2 Addressing 0 0 0 Shift Register Disabled RS3 RS2 RS1 RSO R/W=O R/W =1 0 0 1 Shift in under control of Timer 2 H L L L Write T2L-L Read T2-L Clear Interrupt 0 1 0 Shift in at System Clock Rate flag 0 1 1 Shift in under control of H L L H Write T2C-H Read T2C-H external input pulses Transfer T2L -L to T2C-L SR Output Modes. The four Shift Register Output Modes Clear Interrupt are selected by setting the Input/Output Control Bit flag (ACR4) to a logic 1 and then selecting the specific output mode with ACR3 and ACR2. In each of these modes the T21nterval Timer Mode. As an interval timer, T2 operates Shift Register shifts data out of Bit 7 to the CB2 pin. At the in the 'one shot" mode similar to T1. In this mode, T2 same time the contents of Bit 7 are shifted back into Bit o. provides a single interrupt for each 'write T2C-H" oper- As in the input modes, CB1 is used either as an output to ation. After timing out, the counter will continue to provide shifting pulses out or as an input to allow shifting decrement. However, setting of the interrupt flag will be from an external pulse. The four modes are shown in disabled after initial time-out so that it will not be set by the Table 7. counter continuing to decrement through zero. The pro- cessor must rewrite T2C -H to enable setting of the inter- Table 7. SR Output Mode Selection rupt flag. The interrupt flag is cleared by reading T2C-L or ACR4 ACR3 ACR2 Mode by writing T2C-H 1 0 0 Shift out - Free-running mode. T2 Pulse-Counting Mode. In the pulse-counting mode, T2 Shift rate controlled by T2. serves primarily to count a predetermined number of neg- 1 0 1 Shift out - Shift rate controlled ative-going pulses on PB6. This is accomplished by first by T2. loading a number into T2. Writing into T2C-H clears the Shift pulses generated on CB1. interrupt flag and allows the counter to decrement each time a pulse is applied to PB6. The interrupt flag will be set 1 1 0 Shift out at system clock rate. when T2 reaches zero. At this time the counter will con- 1 1 1 Shift out under control of an tinue to decrement with each pulse on PB6. However, it is external pulse. necessaryu to rewrite T2C -H to allow the interrupt flag to set on subquent down-counting operations. The pulse must be low on the leading edge cf>2. Interrupt Control Shift Register (SR) Controlling interrupts within the 6522 involves three prin- The Shift Register (SR) performs serial data transfers into cipal operations. These are flagging the interrupts, en- and out of the CB2 pin under control of an internal abling interrupts and signalling to the processor that an modul0-8 counter. Shift pulses can be applied to the CB1 active interrupt exists. Interrupt flags are set by interrupting pin from an external source or, with the proper mode conditions which exist within the chip or on inputs to the selection, shift pulses generated internally will appear on chip. These flags normally remain set until the interrupt has the CB1 pin for controlling shifting in external devices. The been serviced. To determine the source of an interrupt, control bits which allow control of the various shift register the microprocessor must examine these flags in order operating modes are located in the Auxiliary Control Regis- from highest to lowest priority. This is accomplished by 2-40 6522 reading the flag register into the processor accumulator, Table 9. Bits 6-0 of IFR shifting this register either right or left and then using condi- Bit # Set by Cleared by tional branch instructions to detect an active interrupt. 0 Active transition of the Reading or writing the Associated with each interrupt flag is an interrupt enable signal on the CA2 pin. A Port Output Register bit. This bit can be set or cleared by the processor to (ORA) using address enable interrupting the processor from the corresponding 0001. interrupt flag. If an interrupt flag is set to a logic 1 by an 1 Active transition of the Reading or writing the interrupting condition, and the corresponding interrupt signal on the CA 1 pin. A Port Output Reigster enable bit is set to a 1, the Interrupt Request Output (IRQ) (ORA) using address will go low. IRQ is an 'open-collector" output which can 0001. be 'wire-ORed" with other devices in the system to inter- rupt the processor. 2 Completion of eight Reading or writing the shifts Shift Register. In the 6522, all the interrupt flags are contained in one 3 Active transition of the Reading or writing the B register (see Table 8). In addition, Bit 7 of this register will signal on the CB2 pin. Port Output Register. be read as a logic 1 when an interrupt exists within the 4 Active transition of the Reading or writing the B chip. This allows convenient polling of several devices signal on the CB1 pin. Port Output Register within a system to locate the source of an interrupt. 5 Time-out of Timer 2. Reading T2 low order Table 8. Interrupt Flags counter. Writing T2 high order counter. 7 6 5 4 3 2 1 0 6 Time-out of Timer 1. Reading T110w order Interrupt counter. Writing T1 Flag IRQ T1 T2 CB1 CB2 SR CA1 CA2 high order latch. Register Interrupt Set! Setting selected bits in the IER is accomplished by writing to Enable clear T1 T2 CB1 CB2 SR CA1 CA2 the same address with Bit 7 in the data word set to a logic Register control 1. In this case, each 1 in Bits 6 through 0 will set the corresponding bit. For each zero, the corresponding bit Interrupt Flag Register (IFR). The IFR is a read/bit-clear will be unaffected. This individual control of the setting and register. When the proper chip select and register signals clearing operations allows convenient control of interrupts are applied to the chip, the contents of this register are during system operation. placed on the data bus. Bit 7 indicates the status of the IRQ In addition to setting and clearing IER bits, the processor output. This bit corresponds to the logic function: IRQ :; can read the contents of this register by placing the proper IFR6 X IER6 + IFR5 X IER5 + IFR4 X IER4 + IFR3 X IER3 + address on the register select and chip select inputs with IFR2 X IER2 + IFR1 X IER1 + IFRO X IERO, where X = logical the R/W line high. Bit 7 will be read as a logic O. = AND, + logical OR. Function Control Bits six through zero are latches which are set and cleared Control of the various functions and operating modes as shown in Table 9. within the 6522 is accomplished primarily through two IFR Bit 7 is not a flag. Therefore, this bit is not directly registers, the Peripheral Control Register (PCR), and the cleared by writing a logic 1 into it. It can only be cleared by Auxiliary Control Register (ACR). The PCR is used primarily clearing all the flags in the register or by disabling all the to select the operating mode for the four peripheral con- active interrupts. trol pins. The Auxiliary Control Register selects the operat- ing mode for the interval timers (T1, T2), and the Shift Interrupt Enable Register (IER). For each interrupt flag in Register (SR). IFR, there is a corresponding bit in the Interrupt Enable Register. The system processor can set or clear selected Peripheral Control Register (PCR). The Peripheral Con- trol Register is organized as shown in Figure 3. bits in this register to facilitate controlling individual inter- rupts without affecting others. This is accomplished by Figure 3. PCR Organization writing to address 1110 (IER address). If Bit 7 of the data placed on the system data bus during this write operation Bit # 7 16 15 4 3 1 2 11 0 is a 0, each 1 in Bits 6 through 0 clears the corresponding Function CB2 Control CB1 CA2 Control CA1 bit in the Interrupt Enable Register. For each zero in bits 6 Control Control through 0, the corresponding bit is unaffected. 2-41 6522 Each of these functions is discussed in detail below. Table 10. CAl Operating Mode Selection PCR3 PCR2 PCRl Mode 1. CAl Control Bit 0 of the PCR selects the active transition of the input 0 0 0 Input mode. Set CA2 interrupt signal applied to the CA 1 interrupt input pin. If this bit is a flag (IFRO) on a negative transition logic 0, the CA 1 interrupt flag will be set by a negative of the input signal. Clear IFRO on a transition (high to low) of the signal on the CA 1 pin. If PCRO read or write of the Peripheral A is a logic 1, the flag will be set by a positive transition. Output Register. 0 0 1 Independent interrupt input 2. CA2 Control mode. Set IFRO on a negative tran- The CA2 pin can be programmed to act as an interrupt sition of the CA2 input signal. input or as a peripheral control output. As an input, CA2 Reading or writing ORA does not operates in two modes, differing primarily in the methods clear the CA2 interrupt flag. available for resetting the interrupt flag. Each of these two input modes can operate with either a positive or a nega- 0 1 0 Input mode. Set CA2 interrupt tive active transition as described above for CA 1. flag on a positive transition of the CA2 input signal. Clear the IFRO In the output mode, the CA2 pin combines the operations with a read or write of the Periph- performed on the CA2 and CB2 pins of the 6520. This eral A Output Register. added flexibility allows the processor to perform a normal 0 1 1 Independent interrupt input 'write" handshaking in a system which uses CB1 and CB2 mode. Set IFRO on a positive tran- for the serial operations described above. The CA2 oper- sition of the CA2 input signal. ating modes are selected as shown in Table 10. Reading or writing ORA does not clear the CA2 interrupt flag. In the independent input mode, writing or reading the 1 0 0 Handshake output mode. Set ORA register has no effect on the CA2 interrupt flag. This CA2 output low on a read or write flag must be cleared by writing a logic 1 into the appropri- of the Peripheral A Output Regis- ate IFR bit. This mode allows the processor to handle ter. Reset CA2 high with an active interrupts which are independent of any operations taking transition on CA1. place on the peripheral 110 ports. 1 0 1 Pulse Output mode. CA2 goes low for one cycle following a read 3. CBl Control or write of the Peripheral A Out- Control of the active transition of the CB1 input signal put Register. operates in exactly the same manner as that described above for CA 1. If the Shift Register function has been 1 1 0 Manual output mode. The CA2 enabled, CB1 will act as an input or output for the shift output is held low in this mode. register clock signals. In this mode the CB1 interrupt flag 1 1 1 Manual output mode. The CA2 will still respond to the selected transition of the signal on output is held high in this mode. the CB1 pin. 2-42 6522 4. CB2 Control Each of these functions is described in detail below. With the serial port disabled, operation of the CB2 pin is a function of the three high-order bits of the PCR. The CB2 1. PA Latch Enable modes are very similar to those described previously for The 6522 provides input latching on both the PS and PB CA2, and are selected as shown in Table 11. ports. In this mode, the data present on the peripheral A input pins will be latched within the chip when the CA 1 Table 11. CB2 Operating Mode Selection interrupt flag is set. Reading the PA port will result in these latches being transferred into the processor. As long as the PCR7 PCR6 PCR5 Mode CA 1 interrupt flag is set, the data on the peripheral pins 0 0 0 Interrupt input mode. Set CB2 in- can change without affecting the data in the latches. This terrupt flag (IFR3) on a negative input latching can be used with any of the CA2 input or transition of the CB2 input signal. output modes. Clear IFR3 on a read or write of the Peripheral B Output Register. It is important to note that on the PA port, the processor always reads the data on the peripheral pins (as reflected 0 0 1 Independent interrupt input in the latches). For output pins, the processor still reads the mode. Set IFR3 on a negative tran- latches. This mayor may not reflect the data currently in sition of the CB2 input signal. the ORA. Proper system operation requires careful plan- Reading or writing ORB does not ning on the part of the system designer if input latching is clear the CA2 interrupt flag. combined with output pins on the peripheral ports. 0 1 0 Input mode. Set CB2 interrupt flag Input latching is enabled by setting Bit 0 in the Auxiliary on a positive transition of the CB2 Control Register to a logic 1. As long as this bit is a 0, the input signal. Clear the CB2 inter- latches will directly reflect the data on the pins. rupt flag on a read or write of ORB. 2. PB Latch Enable Input latching on the PB port is controlled in. the same 0 1 1 Independent input mode. Set IFR3 manner as that described for the PS port. However, with on a positive transition of the CB2 the Peripheral B port, the input latch will store either the input signal. Reading or writing voltage on the pin or the contents of the Output Register ORB does not clear the CB2 inter- (ORB), depending on whether the pin is programmed to rupt flag. act as an input or an output. As with the PA port, the 1 0 0 Handshake output mode. Set CB2 processor always reads the input latches. low on a write ORB operation. Reset CB2 high with an active tran- 3. Shift Register (SR) Control sition of the CB1 input signal. The Shift Register operating mode is selected as shown in Table 12. 1 0 1 Pulse output mode. Set CB2 low for one cycle following a write Table 12. SR Operating Mode Selection ORB operation. ACR4 ACR3 ACR2 Mode 1 1 0 Manual output mode. The CB2 0 0 0 Shift Register Disabled. output is held low in this mode. 0 0 1 Shift in Under Control of Timer 2. 1 1 1 Manual output mode. The CB2 output is held high in this mode. 0 1 0 Shift in Under Control of System Clock. Auxiliary Control Register (ACR). Many of the functions 0 1 1 Shift in Under Control of External in the Auxiliary Control Register have been discussed pre- Clock Pulses. viously. However, a summary of this register is presented 1 0 0 Free-running Output at Rate here as a convenient reference. ARC organization is Determined by Timer 2. shown in Figure 4. 1 0 1 Shift Out Under Control of Figure 4. ACR Organization Timer 2. Bit # 7 I6 5 4 I3 I2 1 0 1 1 0 Shift Out Under Control of the System Clock. T1 T2 Shift Register PB PA Function Control Control Control Latch Latch 1 1 1 Shift Out Under Control of Enable Enable External Clock Pulses. 2-43 6522 4. 12 Control Table 13. 11 Mode Selection If ACR5 = 0, T2 acts as an interval timer in the one-shot ACR7 ACR6 Mode mode. If ACR5 = 1, Timer 2 acts to count a predetermined number of pulses on pin PB6. 0 0 One-shot Mode- Output to PB7 Disabled. 5. T1 Control Timer 1 operates in the one-shot or free-running mode 0 1 Free-running Mode- Output to PB7 with the PB7 output control enabled or disabled. These Disabled. modes are selected as shown in Table 13. 1 0 One-shot Mode- Output to PB7 Enabled. ABSOLUTE MAXIMUM RATINGS 1 1 Free-running Mode. Output to PB7 Parameter Symbol Value Unit Enabled. Supply Voltage Vee -0.3 to +7.0 Vdc Input Voltage Vin -0.3 to +7.0 Vdc CAUTION Operating Temperature Range o to +70 °C This device contains drcuitry to protect the inputs against TA Storage Temperature damage due to high static voltages. However, it is advised Range -55 to +150 °C that normal precautions be taken to avoid application of TSIs any voltage higher than maximum rated voltages. DC CHARACTERISTICS Vee = 5.0 V ± 5%, Vss = 0, TA = 0 to +70 °C (unless otherwise noted) Symbol Parameter Min Typ Max Unit Test Conditions V IH Input High Voltage +2.4 Vee Vdc (normal operation) V IL Input Low Voltage -0.3 +0.4 Vdc (normal operation) liN Input Leakage Current ±1.0 ±2.5 ItAdc = Vin 0 to 5 Vdc R/VV,RES,RSO,RS1,RS2,RS3,CS1,CS2, CA1, 4> 2 ITSI Off-State Input Current ±2.0 ±10 ItAdc = Vin .4 to 2.4 V = Vee Max, DO to D7 IIH Input High Current -100 -250 ItAdc VIH = 2.4 V PAO - PA7, CA2, PBO - PB7, CB1, CB2 IlL Input low Current -1.0 -1.6 mAdc = VIL 0.4 Vdc PAO - PA7, CA2, PBO - PB7, CB1, CB2 V eH Output High Voltage 2.4 Vdc = = Vee min, lload -100 IlAdc PAO - PA7, CA2, PBO - PB7, CB1, CB2 VOL Output low Voltage +0.4 Vdc Vee = min, lload = 1.6 mAdc IoH Output High Current -100 -1000 #lAde V OH = 2.4 V (sourcing) -3.0 -5.0 mAdc VOH = 1.5 V, PBO - PB7, CB1, CB2 IOL Output low Current 1.6 mAdc VOL = 0.4 Vdc. (sinking) loff Output leakage Current 1.0 10 IlAdc IRQ (off state) C in Input Capacitance TA = 25°C, f = 1 Mhz 7.0 pF R/W, RES, REO, RS1, RS2, RS3, CS1, CS2 10 pF DO - D7, PAO - PA7, CA2, PBO - PB7, CB1, CB2 20 pF 4> 2 input COOl Ouput Capacitance 10 pF TA = 25°C, f = 1 Mhz Pd Power Dissipatioh 1000 MVV 2-44 ------- ~~------- 6522 READ TIMING CHARACTERISTICS Phase Two Clock --------+---'1 2.4 V Address 0.4 V 2.4 V Peripheral Data 0.4 V ir-----"I--------------------- 2.4 V Data Bus 1'-_ _ _ _ _-'1 __ - - - - - - - - - - - - - - - - - - - - 0.4 V Figure 21. WRITE TIMING CHARACTERISTICS Phase Two _________________-J Clock ,----------------------------2.4V Address ~--------------O.4 V rt-------------------------- 2.4 V Read/write 0.4 V Data Bus - - - - - - - - - - - - - - - - - 0.4 V per~~~:ral Vee 2.4 V _________________________________________T - ' , > [ = - - - - - - - - - - - - - - - Figure 22. 2-45 6522 1/0 TIMING CHARACTERISTICS ~ PB6 Input TIPW V Pulse Counting 2.4 V Mode _ _ _ _ _ _ _ _ _ _ _ 0.4 V 2.4 V ~ j2.4V CB2 Serial Data In 0.4 V r--- TSR3 TICW CBI Clock \ - - - 0.4 V ~"m~ -'", 2.4 V CB2 Serial Data Out 0.4 V Figure 23. AC CHARACTERISTICS TA = O°C to +17°C, Vcc = 5V ± 5% (unless otherwise specified) Symbol Parameter Min Typ Max Unit READ CYCLE (Figure 22, loading 130 pF and one TTL load) TACR Delay Time, Address Valid to Clock Positive Transition 180 nS TCDR Delay Time, Clock Positive Transition to Data Valid on Bus 395 nS TPCR Peripheral Data Setup Time 300 nS THR Data Bus Hold Time 10 nS TRc Rise and Fall Time For Clock Input 25 nS TRF WRITE CYCLE (Figure 22) Tc Enable Pulse Width 0.47 25 TAcw Delay Time, Address Valid to Clock Positive Transition 180 nS Tocw Delay Time, Data Valid to Clock Negative Transition 300 nS Twcw Delay Time, Read/Write Negative Transition to Clock 180 nS Positive Transition THw Data Bus Hold Time 10 nS Tcpw Delay Time, Enable Negative Transition to Peripheral Data Valid 1.0 Jt5 TCMos Delay Time, Clock Negative Transition to Peripheral Data Valid 2.0 /lS CMOS (Vcc - 30%) 2-46 6522 Peripheral Interface Characteristics Symbol Parameter Min Typ Max Unit TRF Rise and Fall Time For CA 1, CB1, CA2 and CB2 Input Signals. 1.0 ,.tS TCA2 Delay Time, Clock Negative Transition to CA2 Negative 1.0 ,.tS Transition (Read Handshake or Pulse Mode). TRS1 Delay Time, Clock Negative Transition to CA2 Positive 1.0 ,.tS Transition (Pulse Mode). TRS2 Delay Time, CA 1 Active Transition to CA2 Positive Transition 2.0 ,.tS (Handshake Mode). ., TWHS Delay Time, Clock Positive Transition to CA2 or CB2 1.0 ,.tS Negative Transition (Write Handshake). Toc Delay Time, Peripheral D~ta Valid to CB2 Negative 0 1.5 ,.tS Transition. TRS3 Delay Time, Clock Positive Transition to CA2 or CB2 1.0 ,.tS Positive Transition (Pulse Mode). \ TRS4 Delay Time, CB1 Active Transition to CA2 or CB2 Positive 2.0 ,.tS Transition (Handshake Mode). TIL Delay Time, Peripheral Data Valid to CA 1 or CB1 Active 300 nS Transition (Input latching). TSR1 Delay Time, CB1 Negative Transition to CB2 Data Valid 300 nS (Internal SR Clock, Shift Out). TSR2 Delay Time, Negative Transition of CB1 Input Clock to 300 nS CB2 Data Valid (External Clock, Shift Out). TSR3 Delay Time, CB2 Data Valid to Positive Transition of 300 nS CB1 Clock (Shift In, Internal or External Clock). TIPW Pulse Width - PB6 Input Pulse 2 ,.tS TlCw Pulse Width-CB1lnput Clock 2 ,.tS lips Pulse Spadng - PB6 Input Pulse 2 ,.tS IICS Pulse Spadng-CB1lnput Pulse 2 ,.tS 2-47 commodore semiconductor group NMOS 6523 Tri-Port Interface • 24 Individually Programmable 1/0 Lines • 6 Directly Addressable Registers • Completely Static Operation • 1 MHz, 2 MHz • Two TTL Drive Capability DESCRIPTION The 6523 TRI-PORT Interface (TPI) is designed to simplify the implementation of complex liD operations in microcomputer systems. The 6523 can provide 24 individually programmable liD lines. 6523 ADDRESSING 6523 Registers (Direct Addressing) *000 RO PRA - Port Register A 001 Rl PRB - Port Register B 010 R2 PRC - Port Register C 011 R3 DDRA - Data Direction Register A 100 R4 DDRB - Data Direction Register B 101 R5 DDRC - Data Direction Register C 110 Illegal State 111 Illegal State Note *RS2, RS1, RSO respectively ORDER NUMBER PIN CONFIGURATION 6523 Vss 40 DB7 PAO 2 39 DB6 MXS6525 _.-- PAl 3 38 DBS PA2 4 37 DB4 PA3 5 36 DB3 PM 6 35 DB2 PAS 7 34 DBl PA6 8 33 DBO PA7 9 32 PC7 Frequency Range PBO 10 31 PC6 _ No Suffix = 1 MHz PBl 11 30 PCS A=2MHz PB2 12 29 PC4 B=3MHz PB3 13 28 PC3 PB4 14 27 PC2 Package Designator PBS 15 26 PCl C = Ceramic PB6 16 25 PCO P = Plastic PB7 17 24 RSO CS 18 23 RSl WRITE 19 22 RS2 VDD 20 21 RST 2-48 6523 INTERNAL ARCHITECTURE PERIPHERAL DATA DATA DATA BUS 0 DO-D7 BUS BUFFERS / A "'" DIRECTION ,../ DATA A "- / '" PA BUFFERS P PORT PAO-P A7 A PERIPHERAL DATA ITE- "" J B DATA DIRECTION / "- '" / PB BUFFERS P PORT PBO-P B7 B B S - CHIP ACCESS CONTROL RS O - RS 1 --- PERIPHERAL RS 2 _ DATA ---./ C """ DIRECTION DATA C '" / "\ / PC BUFFERS <=> PORT PCO-P C7 C ET 2-49 6523 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Voltage Unit Supply Voltage Vee -0.3 to +7.0 Vdc Input Voltage V in -0.3 to +7.0 Vdc Operating Temperature Range TA o to +70 °C Storage Temperature Range Tstg -55 to +150 °C CAUTION This device contains circuitry to protect the inputs against damage due to high static voltages, however, it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this circuit. ELECTRICAL CHARACTERISTICS (Vee = 5.0 V ± 5%, Vss = 0 V, TA = 0° to 70 q 0 Symbol Characteristic Min Typ Max Unit V IH Input High Voltage (Normal Operating Levels) +2.0 Vee Vde V il Input Low Voltage (Normal Operating Levels) -0.3 +.8 Vdc Input Leakage Current liN V IN = 0 to 5.0 Vdc 0 ±1.0 ±2.5 ~Ade WRITE RST, CS, RSo-RS 2 Three-State (Off State Input Current) ITSI (Vin = 0.4 to 2.4 Vdc, Vee max) = 0 ±2.0 ±10 ~Ade 00-07 Output High Voltage V OH (Vee = min, Load = 200 ~Adc) 2.4 3.5 Vee Vdc Output Low Voltage VOl (Vee = min, Load 3.2 mAdc)= Vss .2 +0.4 Vdc Output High Current (Sourcing) IOH (VOH = 2.4 Vdc) -200 -1000 ~Adc Output Low Current (Sinking) IOl (VOl = 0.4 Vdc) 3.2 mAdc lee Supply Current 55 100 mA Input Capacitance C in = (V in 0, TA = 25°C, f = 1.0 MHz) 7 10 pF 00-07, PAo-PA7, PBo-PB7, PCo-PC?, WRITE RST, RSo-RS 2, CS Output Capacitance C out (Vin = 0, TA = 25°C, f = 1.0 MHz) 7 10 pF Note Negative sign indicates outward current flow, positive indicates inward flow. 2-50 6523 TIMING DIAGRAMS READ CYCLE READ CYCLE ASo·ASz • • tAce 'RC .. .. I cs ill; 111m I· 'co .. 'IIIIIIIII11111111/; _'OTD_ 0 1 .0 0 I 'OHA+--.J -- I INPUT ~ tpDS - - tpDH V -- --- - -----.J 'AWR 'WAR WRITE '\ WRITE CYCLE WRITE CYCLE RSo-RS, =t 'we --------------------------~ :~ ~------ VVRIT~ -----Ivtrc,..,..,J 2-51 6523 WRITE CYCLE 1 MHz 2 MHz Symbol Parameter Min Max Min Max Units tws Write Cycle Time 700 350 1'5 tAW Address to write set-up time 0 0 p.S tw Write Pulse Width 450 225 p.S tWR Write Release Time 250 150 p.S tow Data to Write Overlap 150 75 1'5 tOH Data Hold 50 40 1'5 two Write to Peripheral Output 1000 500 1'5 READCYUE 1 MHz 2 MHz Symbol Parameter Min Max Min Max Units tRC Read Cycle Time 700 350 1'5 tACC Access time 450 225 p.S tco Chip Select to Output Valid 450 225 1'5 toTO Chip Deselected to Output Off 0 100 0 100 p.S tOHA Output Hold From Address Change 50 50 1'5 tpos Peripheral Data Setup Time 120 60 1'5 tpOH Peripheral Data Hold Time 0 0 p.S tAWR Write to Address Setup 0 0 p.S tWAR Write to Address Hold 0 0 p.S 2-52 commodore semiconductor group NMOS 6525 Tri-Port Interface • 24 Individually Programmable 1/0 Lines or 16 1/0 • Completely Static Operation Lines, 2 Handshake Lines and 5 Interrupt Inputs • Two TTL Drive Capability • Priority or Non-Priority Interrupts • 8 Directly Addressable Registers • Automatic Handshaking • 1 MHz, 2 MHz and 3 MHz Operation DESCRIPTION The 6525 TRI-PORT Interface (TPI) is designed to simplify the implementation of complex liD operations in microcomputer systems. It combines two dedicated 8-bit liD ports with a third 8-bit port programmable for eitber normal 110 operation or priority interrupt/handshaking control. Depending on the mode selected, the 6525 can provide 24 individually programmable liD lines or 16 liD lines, 2 handshake lines and 5 priority interrupt inputs. 6525 ADDRESSING 6525 Registers (Direct Addressing) *000 RO PRA - Port Register A 001 R1 PRB - Port Register B 010 R2 PRC - Port Register C 011 R3 DDRA - Data Direction Register A 100 R4 DDRB - Data Direction Register B 101 R5 DDRC - Data Direction Register CI Interrupt Mask Register 110 R6 CR - Control Register 111 R7 AIR - Active Interrupt Register Note *RS2, RSl, RSO respectively ORDER NUMBER PIN CONFIGURATION 6525 vss 1 40 DB7 PAO 2 39 DB6 MXS6525 _~ PAl 3 38 DBS PA2 4 37 DB4 PA3 5 36 DB3 PA4 6 35 DB2 PAS 7 34 DBl PA6 8 33 DBO Frequency Range PA7 9 32 PC7 PBO 10 31 PC6 ' - - - No Suffix = 1 MHz PBl 11 30 PCS A=2MHz PB2 12 29 PC4 B=3MHz PB3 13 28 PC3 PB4 14 27 PC2 Package Designator PBS 15 26 PCl C = Ceramic PB6 16 25 PCO P = Plastic PB7 17 24 RSO CS 18 23 RSl WRITE 19 22 RS2 VDD 20 21 RST 2-53 6525 6525 INTERNAL ARCHITECTURE PERIPHERAL , DATA DATA BUS Do-D, <=> DATA BUS BUFFERS K " ,/ A A DATA DIRECTION I'. ) PA BUFFERS PPAO-PA7 PORT A PERIPHERAL DATA P B CONTROL REGISTER K '"" ,/ DATA DIRECTION B V I" " PB BUFFERS PBO-PB7 PORT B CHIP ~ ACCESS ~ ~ CONTROL WRIT E __ ~ ~ ~ V ~ g; r; ~ S __ INTERRUPT ~ ~ INPUT LATCHES ~ 1"-- ~ HANDSHAKE -- I7-T7 IRQ GENERATOR RSO f-+ V V- 1 __ RS V ~ PC BUFFERS 2 __ V RS RESE T v: ; PERIPHERAL DATA [1 PCO-PC7 PORT C ACTIVE INTERRUPT V '" C V- REGISTER ~ DATA DIRECTION C/MASK 2-54 6525 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Voltage Unit Supply Voltage Vee -0.3 to +7.0 Vdc Input Voltage Vin -0.3 to +7.0 Vde Operating Temperature Range TA o to +70 °C Storage Temperature Range Tstg -55 to +150 °C CAUTION This device contains circuitry to protect the inputs against damage due to high static voltages, however, it is advised that normal precautions be taken to avoid application of any voltage higher than maximum rated voltages to this circuit. ELECTRICAL CHARACTERISTICS (Vee = 5.0 V ± 5%, Vss = 0 V, TA = 0° to 70 0 q Symbol Characteristic Min Typ Max Unit VIH Input High Voltage (Normal Operating Levels) 1.5 +2.0 Vee Vde Vll Input low Voltage (Normal Operating levels) -0.3 1.2 +.8 Vde Input leakage Current liN VIN = 0 to 5.0 Vde 0 ±1.0 ±2.5 !LAde WRITE RST, CS, RSo-RS2 Three-State (Off State Input Current) ITSI (V in = 0.4 to 2.4 Vde, Vee = max) 0 ±2.0 ±10 !LAde DD-D7, PAD-PA7, PBD-PB7, PCD-PC7 Output High Voltage VOH (Vee = min, load = 200 !LAde) 2.4 3.5 Vee Vde Output low Voltage VOL (Vee = min, load = 3.2 mAde) Vss 0.2 +0.4 Vde Output High Current (Sourcing) IOH (VOH = 2.4 Vde) -200 -1000 !LAde Output low Current (Sinking) 10l (VOl = 0.4 Vde) 3.2 mAde lee Supply Current 55 100 mA Input Capacitance Cin (V in = 0, TA = 25°C, f = 1.0 MHz) 7 10 pF DD-D7, PAD-PA7, PBD-PB7, PCD-PC7, WRITE RST, RSo-RS 2, CS Output Capacitance Cout (V in = 0, TA = 25°C, f = 1.0 MHz) 7 10 pF Input low Current IlL (VIL = 0.4 Vde) -2.0 -3.2 mA Input High Current IIH (VIH = 2.4 Vde) -200 -500 !LA Note Negative sign indicates outward current flow, positive indicates inward flow. 2-55 6525 TIMING DIAGRAMS READ CYCLE READ CYCLE RS.·RS, .'" lAce 'RC ~ ~ I Cs- I/ / / / I//m 1fliiL 1/illilllLilL I'" 'co ~ _'OTD_ I 'OH~ D7-Dg -- -- I tpDS tpDH INPUT ~ y -- - - ~ 'AWR 'WAR WRITE '\ WRITE CYCLE WRITE CYCLE RS.·RS, =to 'wc :~ ----------------------------- ~-------- WRIT~ ---,.."....,.,...,... 2-56 6525 WRITE CYCLE 1 MHz 2 MHz 3 MHz Symbol Parameter Min Max Min Max Min Max Units tw Write Cycle Time 700 350 220 nS tAW Address to write set-up time 0 0 0 nS twp Write Pulse Width 450 225 160 nS tWR Write Release Time 0 0 0 nS tow Data to Write Overlap 150 75 75 nS tOH Data Hold 50 40 40 nS two Write to Peripheral Output 1000 500 330 nS READ CYCLE 1 MHz 2 MHz 3 MHz Symbol Parameter Min Max Min Max Min Max Units tRC Read Cycle Time 700 350 220 nS tAcc Access time 450 225 160 nS tco Chip Select to Output Valid 450 225 160 nS toTO Chip Deselected to Output Off 0 100 0 100 0 100 nS tOHA Output Hold From Address Change 50 50 50 nS tpos Peripheral Data Before Read 120 60 40 nS tpOH Peripheral Data After Read 0 0 0 nS tAWR Write to Address Setup 0 0 0 nS tWAR Write to Address Hold 0 0 0 nS 6525 Control Registers CR ICB11CBoICA11CAoIIE4 IE3 IP IMC AIR I A41 A3 A2 A1 lAo DDRC I M 41 M 3 M2 M11 M o When MC = 1 PRC I CB I CA IIRQ I 14 13 12 11 10 When MC = 1 2-57 6525 CA, CB Functional Description CA OUTPUT MODES CAl CAo Mode Description 0 0 'Handshake- CA is set high on an active transition of the 13 interrupt input signal on Read and set low by a microprocessor 'Read A Data- operation. This allows positive control of data transfers from the peripheral de- vice to the microprocessor. 0 1 Pulse Output CA goes low for 1 lIS after a 'Read A Data- operation. This pulse can be used to signal the peripheral device that data was taken. 1 0 Manual CA set low. Output 1 1 Manual CA set high. Output CB OUTPUT MODES CB, Clio Mode Description 0 0 'Handshake- CB is set low on microprocessor 'Write B Data- operation and is on Write set high by an active transition of the 14 interrupt input signal. This allows positive control of data transfers from the microprocessor to the peripheral device. 0 1 Pulse Output CB goes low for 1 lIS after a microprocessor 'Write B Data- operation. This can be used to signal the peripheral device that data is available. 1 0 Manual CB set low. Output 1 1 Manual CB set high. Output INTERRUPT MASK REGISTER DESCRIPTION PRC When MC = 0: When the Interrupt Mode is selected (MC = 1), the Data Direction Register for Port C (DDRC) is used to enable or I PC? I PC I PCs I PC4 I PC3 I PC2 PC, PCo 6 disable a corresponding interrupt input. For example: If Mo = 0 then 10 is disabled and any 10 interrupt latched in the PRC When MC = 1: interrupt latch register will not be transferred to the AIR and will not cause IRQ to go low. The interrupt latch can I CB I CA I IRQ I 14 13 12 I, 10 be cleared by writing a zero to the appropriate bit in PRe. INTERRUPT EDGE CONTROL PORT REGISTER C DESCRIPTION Bits IE4 and IE3 in the control register (CR) are used to Port Register C (PRC) can operate in two modes. The determine the active edge which will be recognized by the mode is controlled by bit MC in register CR. When interrupt latch. MC = 0, PRC is a standard 1/0 port, operating identically to PRA & PRB. If MC =1, then port register C is used for If IE4 (IE3) = 0 then 14 (13) latch will be set on a negative handshaking and priority interrupt input and output. transition of 14 (13) input. 2-58 6525 If IE4 (IE 3) = 1 then 14 (13) latch will be set on a positive A. The first case is the simplest. A single interrupt occurs transition of the 14 (13) input. and the processor can service it completely before another interrupt request is received. All other interrupt latches (12, 11, 10) are set on a negative transition of the corresponding interrupt input. 1. Interrupt 11 is received. 2. Bit 11 is set high in Interrupt Latch Register. 3. IRQ is pulled low. 4. A1 is set high. 5. Processor recognizes IRQ and reads AIR to deter- Interrupt Latch Register mine which interrupt occurred. Clears on Read of AIR Using Following Equation 6. Bit 11 is reset and IRQ is reset to high. 7. Processor Services Interrupt and signals completion ILR +- ILR (±) AIR of Service routine by writing to AIR. 8. A1 is reset low and interrupt sequence is complete. B. The second case occurs when an interrupt has been received and a higher priority interrupt occurs. (See Active Interrupt Register Note) Clears following Read of AIR 1. Interrupt 11 is received. Interrupt Priority Select 2. Bit 11 is set high on the Interrupt Latch Register. IP = 0 No Priority 3. IRQ is pulled low and A1 is set high. IP = 1 Interrupts Prioritized 4. Processor recognizes IRQ and reads AIR to deter- mine which interrupt occurred. 5. Bit 11 is reset and IRQ is reset high. 6. Processor begins servicing 11 interrupt and the 12 in- terrupt is received. 7. A2 is set, A1 is reset low and IRQ is pulled low. FUNCTIONAL DESCRIPTION 8. Processor has not yet completed servicing 11 inter- rupt so this routine will be automatically stacked in = 1. IP 0 No Priority 6500 stack queue when new IRQ for 12 of interrupt is All interrupt information latched into interrupt latch regis- received. ter (ILR) is immediately transferred into active interrupt 9. Processor reads AIR to determine 12 interrupt occur- register (AIR) and IRQ is pulled low. Upon read of interrupt rence and bit 12 of interrupt latch is reset. register the IRQ is reset high and the appropriate bit(s) of 10. Processor services 12 interrupt, clears A2 by writing the interrupt latch register is cleared by exclusive OR-ing. AIR and returns from interrupt. Returning from inter- The ILR with AIR (ILR (f) AIR). After the appropriate inter- rupt causes 650X processor to resume servicing 11 rupt request has been serviced a Write to the AIR will clear interrupt. it and initiate a new interrupt sequence if any interrupts 11. Upon clearing A2 bit in AIR, the A1 bit will not be were received during previous interrupt servicing. In this restored to a one. Internal circuitry will prevent a non-prioritized mode it is possible for two or more inter- lower priority interrupt from interrupting the re- rupts to occur simultaneously and be transferred to the sumed 11, AIR. If this occurs it is a software effort to recognize this and respond accordingly. C. The third case occurs when an interrupt has been received and a lower priority interrupt occurs. 2. IP = 1 Inte"upts Prioritized In this mode the Interrupt Inputs are prioritized in the 1. Interrupt 11 is received and latched. following order 14 > 13 > 12 > 11 > 10 2. IRQ is pulled low and A1 is set high. / 3. Processor recognizes IRQ and reads AIR to deter- In this mode only one bit of the AIR can be set at anyone mine that 11 interrupt occurred. time. If an interrupt occurs it is latched into the interrupt 4. Processor logic servicing 11 interrupt during which 10 latch register, the IRQ line is pulled low and the appropri- interrupt occurs and is latched. ate bit of the AIR is set. To understand fully the operation 5. Upon completion of 11 interrupt routine the proces- of the priority interrupts it is easiest to consider the follow- sor writes AIR to clear A1 to signal 6525 that interrupt ing examples. service is complete. 2-59 6525 6. Latch 10 interrupt is transferred to AIR and IRQ is pulled low to begin new interrupt sequence. NOTE It was indicated that the 6525 will maintain Priority Interrupt information from previously serviced interrupts. This is achieved by the use of an Interrupt Stack. This stack is pushed when- ever a read of AIR occurs and is pulled whenever a write to AIR occurs. It is therefore important not to perform any extraneous reads or writes to AIR since this will cause extra and unwanted stack operations to occur. The only time a read of AIR should occur is to respond to an interrupt request. The only time a write of AIR should occur is to signal the 6525 that the interrupt service is complete. 2-60 commodore semiconductor group NMOS 6530 Memory, 110, Timer Array • 8-Bit Bidirectional Data Bus • Programmable Interval Timer .1024x8ROM • TTL & CMOS Compatible Peripheral Lines • 64 x 8 Static RAM • Programmable Timer Interrupt • 2 &-Bit Bidirectional Data Ports • High-lmpedance Three-State Data Pins • 2 Programmable Peripheral Data Direction Registers • Allows Up To 7K Contiguous Bytes of ROM Without Extemal Decoding DESCRIPTION The 6530 is designed to operate in conjunction with a member of the 6500 microprocessor family. It is comprised of a mask-programmable 1024 x 8 ROM, a 64 x 8 static RAM, two software-controlled, 8-bit, bidirectional data ports and a software-programmable interval timer with interrupt. The two ports allow direct interfacing between the microprocessor and the peripheral device(s) while the timer is capable of timing in various intervals from 1 to 262, .144 clock periods. PIN CONRGURATION BLOCK DIAGRAM v.s PAl PAO PA2 02 PA3 RSO PA4 A9 PA5 PAC AS PA6 A7 PA7 A6 OBO R/W OBI A5 OB2 A4 OB3 A3 OB4 A2 OB5 AI OB6 AO OB7 DO 01 RES PBO . I RQ/PB7 PBI CSI/PB6 PB2 CS21 PB5 PB3 Vee PB4 Note MCS = Ceramic package MPS = Plastic package 2-61 ·6530 INTERFACE SIGNAL DESCRIPTION ripheral device gets information from the 6530, it receives data stored in the data register. The microprocessor will Reset (RES) read correct information if the peripheral lines are greater During system initialization a Logic 0 on the RES input will than 2.0 volts for a 1 and less than 0.8 volts for a 0 as the cause a zeroing of all four 1/0 registers. This will cause all peripheral pins are all TTL compatible. 1/0 buses to act as inputs, protecting external components from possible damage and erroneous data while the sys- tem is being configured under software control. The Data Address Lines (AO-A9) Bus Buffers are put into an OFF state during Reset. Interrupt There are 10 address pins. In addition to these 10, there is capability is disabled with the RES signal. The RES signal the ROM SELECT pin. The above pins, AO-A9 and ROM must be held low for at least one clock period when reset SELECT, are always used as addressing pins. There are two is required. additional pins which are mask-programmable and can be used either individually or together as CHIP SELECTS. They Input Clock are pins PB5 and PB6. When used as peripheral data pins The input clock is a system Phase Two clock which can be they cannot be used as chip selects. either a low level clock (V'l < 0.4, V'H > 2.4) or high level clock (V'l < 0.2, V'H =Vcc :!J). INTERNAL ORGANIZATION ReadlWrite (R/W) The 6530 is divided into four basic sections, RAM, ROM, The RIW signal is supplied by the microprocessor and is 1/0 and timer. The RAM and ROM interface directly with used to control the transfer of data between the micro- the microprocessor through the system data bus and ad- processor and the 6530. A high on the RIW pin allows the dress lines. The 1/0 section consists of two 8-bit ,halves. processor to read (with proper addressing) the data sup- Each half contains a Data Direction Register (DDR) and an plied by the 6530. A low on the RIW pin allows a write by 1/0 Register. the processor (with proper addressing) to the 6530. ROM 1K Byte (8K Bits) Interrupt Request (IRQ) The 8K ROM is in a 1024 x 8 configuration. Lines Ao-A9 The IRQ pin is an interrupt pin from the interval timer. This and RSO are needed to address the entire ROM. With the same pin, if not used as an interrupt, can be used as a addition of CS1 and CS2, seven 6530's may be addressed, peripheral 1/0 pin (PB7). When used as an interrupt, the giving up to 7168 x 8 bits of available contiguous ROM. pin should be set up as an input by the data direction register. The pin will be normally high with a low indicating RAM - 64 Bytes (512 Bits) an interrupt from the 6530. An external pull-up device is A 64 x 8 static RAM is contained in the 6530. It is addressed not required; however, if collector-ORed with other de- by AD-A5 (Byte Select), RSO, A6, A7, A8, A9and, depend- vices, the internal pull up may be omitted with a mask ing on the number of chips in the system, CS1 and CS2. option. Data Bus (OO-D7) Internal Peripheral Registers The 6530 has eight bi-directional data pins (Do-D7). These There are four internal registers, two data direction regis- pins connect to the system's data lines and allow transfer ters and two peripheral 1/0 data registers. The two data of data to and from the microprocessor. The output buff- direction registers (A side and B side) control the direction ers remain in the off state except when a Read operation of the data into and out of the peripheral pins. A 1 written occurs. into the Data Direction Register sets up the corresponding peripheral buffer pin as an output. Anything then written Peripheral Data Ports into the 1/0 Register will appear on that corresponding The 6530 has 16 pins available for peripheral 1/0 oper- peripheral pin. A 0 written into the DDR inhibits the output ations. Each pin is individually programmable to act as buffer from transmitting data to or from the 1/0 Register. either an input or an output. The 16 pins are divided into 2 For example, a 1 loaded into DDRA Bit 3 sets up peripheral 8-bit ports, PAo-PA7 and PBo-PB7. PB5, PB6 and PB7 also pin PA3 as an output. If a 0 had been loaded, PA3 would have other uses which are discussed later. The pins are set be configured as an input and remain in the high state. The up as an input by writing a 0 into the corresponding bit of two data 1/0 registers are used to latch data from the Data the data direction register. A 1 into the data direction Bus during a Write operation until the peripheral device register will cause its corresponding bit to be an output. can read the data supplied by the microprocessor. When in the input mode, the peripheral output buffers are in the 1 state and a pull-up device acts as less than one TTL During a read operation the microprocessor is not reading load to the peripheral data lines. On a Read operation, the the 1/0 Registers but is actually reading the peripheral data microprocessor reads the peripheral pin. When the pe- pins. For the peripheral data pins which are programmed 2-62 6530 When reading the timer after an interrupt, A3 should be address line is RSO. The 6502 and 6530 in a two chip low so as to disable the IRQ pin. This is done to avoid system would use RSO to distinguish between ROM and future interrupts until after another Write timer operation. non-ROM sections of the 6530. With the addressing pins available, a total of 7K contigous ROM may be addressed ADDRESSING with no external decode. Addressing of the 6530 offers many variations. The user may configure a system with RAM in lower memory, ROM in higher memory, and 1/0 registers with interval timers 1/0 Register - Timer Addressing between the extremes. There are 10 address lines (AO-A9). Figure 2 illustrates the address decoding for the· internal In addition, there is the possibility of three additional ad- elements and timer programming. Address line A2 distin- dress lines to be used as chip-selects and to distinguish guishes 1/0 registers from the timer. When A2 is high and between ROM, RAM, 1/0 and interval timer. Two of the 1/0 timer select is high, the 1/0 registers are addressed. additional lines are chip-selects (CS1 and CS2). The chip- Once the 1/0 registers are addressed, address lines A 1 and select pins can also be PB5 and PB6. Whether the pins are AO decode the desired register. used as chip-selects or peripheral 1/0 pins is a mask option and must be specified when ordering the part. Both pins When the timer is selected, A 1 and AO decode the divide- act independently of each other in that either or both pins by matrix. This decoding is defined in Figure 2. In addition, may be designated as a chip-select. The third additional A3 is used to enable the interrupt flag to PB7. Figure 2. Addressing Decode for 1/0 Register and Timer ROM SELECT RAM SELECT 1/0 TIMER SELECT R/W A3 A2 Al AO Read ROM 1 0 0 1 X X X X Write RAM 0 1 0 0 X X X X Read RAM 0 1 0 1 X X X X Write DDRA 0 0 1 0 X 0 0 1 Read DDRA 0 0 1 1 X 0 0 1 Write DDRB 0 0 1 0 X 0 1 1 Read DDRB 0 0 1 1 X 0 1 1 Write Per. Reg. A 0 0 1 0 X 0 0 0 Read Per. Reg. A 0 0 1 1 X 0 0 0 Write Per. Reg. B 0 0 1 0 X 0 1 0 Read Per. Reg. B 0 0 1 1 X 0 1 0 Write Timer +1T 0 0 1 0 * 1 0 0 + 8T 0 0 1 0 * 1 0 1 +64T 0 0 1 0 * 1 1 0 + 1024T 0 0 1 0 * 1 1 1 Read Timer 0 0 1 1 * 1 X 0 Read Interrupt Flag 0 0 1 1 X 1 X 1 NOTES • A3 = 1 Enables IRQ to PB7 A3 = 0 Disables IRQ to PB7 2-63 6530 as outputs, the microprocessor will read the correspond- At the same time data is being written to the Interval ing data bits of the 1/0 Register. The only way the 1/0 Timer, the counting intervals of 1, 8, 64 and 1024 clock Register data can be changed is by a microprocessor Write periods are decoded from address lines AO and A 1. During operation. The 1/0 Register is not affected by a Read of a Read or Write operation, address line A3 controls the the data on the peripheral pins. = interrupt capability of PB7, i.e., A3 1 enables IRQ on PB7, = A3 0 disables IRQ on PB7. When PB7 is to be used as an interrupt flag with the interval timer, it should be pro- Interval Timer grammed as an input. If PB7 is enabled by A3 and an The Timer section of the 6530 contains three basic parts: interrupt occurs, PB7 will go low. When the timer is read preliminary divide-down register, programmable 8-bit reg- prior to the interrupt flag being set, the number of time ister and interrupt logic. There are illustrated in Figure 1. intervals remaining will be read. The interval timer can be programmed to count up to 256 On the next count time after the timer has counted down time intervals. Each time interval can be 1,8, 64 or 1024 to zero, an interrupt will occur and the counter will read system clock periods. When a full count is reached, an 1 1 1 1 1 1 1 1. After interrupt, the timer register interrupt flag is set to a logic 1. After the interrupt flag is decrements at a divide by 1 rate of the system clock. After set, the internal clock begins counting down to a maximum interrupt, if the timer is read and shows a value of 1 1 1 0 of - 255 clock periods. Thus, after the interrupt flag is set, o 1 0 0, the time since interrupt is 28 clock periods, since a Read of the timer will tell how long since the flag was set values are in two's complement form. up to this maximum. After the interrupt, whenever the timer is written or read, The 8-Qit system Data Bus is used to transfer data to and the interrupt is reset. However, the reading of the timer at from the Interval Timer. If a count of 52 time intervals were the same time the interrupt occurs will not reset the inter- to be counted, the pattern 0 0 1 1 0 1 0 0 would be put on rupt flag. When the interrupt flag is read on DB7 all other the Data Bus and written into the Interval Timer register. DB outputs (DBO thru DB6) go to O. BASIC ELEMENTS OF INTERVAL TIMER RIW A3 07 06 05 04 03 02 01 00 RIW AI AO IRQ PROGRAMMABLE OIVIOE 02 REGISTER OOWN D7 06 05 04 03 02 01 DO Figure 1 2-64 6530 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Voltage Unit Supply Voltage Vee -.3 to +7.0 V Input/Output Voltage VIN -.3 to +7.0 V Operating Temperature Range Top o to 70 °C Storage Temperature Range TSlG -55 to +150 °C CAUTION All inputs contain protection circuitry to prevent damage due to high static charges. Care should be exercised to prevent unnecessary application of voltage outside the specification range. ELECTRICAL CHARACTERISTICS (Vee = 5.0V ± 5%, Vss = OV, TA = 0 - 70 0 q Symbol Parameter Min Typ Max Unit Test Conditions VIH Input High Voltage Vss +2,4 Vee V VIL Input Low Voltage Vss-·3 Vss +,4 V liN Input Leakage Current 0 1.0 2.5 p.A VIN = Vss-5V AO-A9,RS, R/VV,RES,02,PB6*, PB5* ITS! Input Leakage Current for ±1.0 ±10.0 p.A VIN = ,4V to 2.4V; DO-D7 High Impedance State (Three State) IIH Input High Current -100. -300. p.A VIN = 2,4V PAO-PA7, PBO-PB7 IlL Input Low Current -1.0 -1.6 MA VIN = .4V PAO-PA7, PBO-PB7 VOH Output High Voltage Vss+2,4 Vss +3.5 Vee V Vee = MIN, ILOAD ::5 -100 p.A (PAO-PA7, PBO-PB7, DO-D7) VOL Output Low Voltage Vss Vss+·2 Vss +,4 V Vee = MIN, ILOAD::5 1.6 MA IOH Output High Current VOH ;::: 2,4V (PAO-PA7, PBO-PB7, DO-D7) (Sourcing) -100 -1000 p.A ;::: 1.5V Available for other than TTL -3.0 -5.0 MA (Darlingtons) (pAO, PBO) IOL Output Low Current (Sinking) 1.6 MA VOL ::5 ,4V (PAO-PA7) (PBO-PB7) Celk Clock Input Capacitance 20 30 pF CIN Input Capacitance 7 10 pF COUl Output Capacitance 7 10 pF PD Power Dissipation 500 1000 MW NOTE 'When programmed as address pins All values are D.C. readings 2-65 6530 Symbol Parameter Min Typ Max Unit READ CYCLE Tcyc Clock Period 1 10 p5 TR, TF Rise and Fall Times 10 25 NS TC Clock Pulse Width 470 NS TWCW R/W Valid Before Positive Transition of Clock 180 NS TACW Address Valid Before Positive Transition of Clock 180 NS mcw Data Bus Valid Before Negative Transition of Clock 300 NS THW Data Bus Hold Time 10 NS TCPW Peripheral Data Valid After Negative Transition 1 p5 of Clock TCMOS Peripheral Data Valid After Negative Transition 2 p5 of Clock Driving CMOS (Level=Vcc -30%) WRITE CYCLE TWCR R/W Valid Before Positive Transition of Clock 180 NS TACR Address Valid Before Positive Transition of Clock 180 NS TPCR Peripheral Data Valid Before Positive Transition 300 NS of Clock TCDR Data Bus Valid After Positive Transition of Clock 395 NS THR Data Bus Hold Time 10 NS TIC IRQ (Interval Timer Interrupt) Valid Before 200 NS Positive Transition of Clock NOTES Loading = 30 pF + 1 TTL load TIMING DIAGRAMS WRITE TIMING CHARACTERISTICS READ TIMING CHARACTERISTICS CLOCK INPUT _ _ _J CLOCK INPUT --~ "IW "IW ADDRESS ADDRESS PERIPHERAL DATA DATA BUS DATA BUS --~~::±~t=~jJ;;':"=":=-=="=':: PERIPHERAL DATA PB7(T"Q) ________-.l TIC '"'{",Oo::...v'--_ _ __ Figure 2 Figure 3 2-66 commodore semiconductor group NMOS 6532 Memory, 110, Timer Array • 8-Bit Bidirectional Data Bus • Programmable Interval Timer • 128 x 8 Statis RAM • TTL & CMOS Compatible Peripheral Unes • 2 8Bit Bidirectional Data Ports • High-lmpedance, Three-State Data Pins • 2 Programmable P~ripheral Data Direction Registers DESCRIPTION The 6532 is functionally nearly identical to the 6530 (described in this section of the Data Catalog). Like the 6530, the 6532 is designed to operate in conjunction with a member of the 6500 microprocessor family. Instead of having 1024 bytes of ROM and 64 bytes of static RAM, the 6532 has 128 bytes of static RAM and no ROM. In virtually all other respects, the 6532 operates identically to the 6530 and the reader is referred to the detailed data sheet on the 6530 contained in this section of the Data Catalog for further information. PIN CONFIGURAnON BLOCK DIAGRAM MCS6532 VSS A6 A5 02 A4 CSI PAD p,o pa7 A3 CS2 A2 RS AI R/W AO RES PAO DBO PAl OBI PA2 DB2 PA3 DB3 PA4 DB4 PA5 DB5 PA6 DB6 PA7 DB7 00 aI PB7 IRQ PB6 PBO PBS PBI PB4 PB2 VDD PB3 Note MSC = Ceramic package MPS = Plastic package 2-67 6532 INTERFACE SIGNAL DESCRIPTION are set up as an input by writing a '0- into the correspond- ing bit of the data direction register. A '1' into the data Reset (RES) direction register will cause its corresponding bit to be an During system initialization a Logic '0- on the RES input will output. When in the input mode, the peripheral output cause a zeroing of all four I/O registers. This in turn will buffers are in the '1' state and a pull-up device acts as less cause all I/O buses to act as inputs thus protecting external than one TTL load to the peripheral data lines. On a Read components from possible damage and erroneous data operation, the microprocessor unit reads the peripheral while the system is being configured under software con- pin. When the peripheral device gets information from the trol. The Data Bus Buffers are put into an OFF-STATE dur- 6532 it receives data stored in the data register. The ing Reset. Interrupt capability is disabled with the RES microprocessor will read correct information if the periph- signal. The RES signal must be held low for at least one erallines are greater than 2.0 volts for a '1- and less than clock period when reset is required. 0.8 volts for a '0- as the peripheral pins are all TTL com- patible. Pins PBo-PB7 are also capable of sourcing 3 ma at Input Clock 1.5V, thus making them capable of Darlington drive. The input clock is a system Phase Two clock which can be either a low level clock (V1L < 0.4, V 1H > 2.4) or high level clock (V1L < 0.2, V 1H = Vee :!:j). Address Lines (AO-A6) There are 7 address pins. In addition to these 7, there is the Read/Write (R/W) RAM SELECT pin. The above pins, AO-A6 and RAM SELECT, The R/W signal is supplied by the microprocessor array are always used as addressing pins. There are two addi- and is used to control the transfer of data to and from the tional pins which are used as CHIP SELECTS. They are pins microprocessor array and the 6532. A high on the R/W pin CS1 and CS2. allows the processor to read (with proper addressing) the data supplied by the 6532. A low on the R/W pin allows a write (with proper addressing) to the 6532. INTERNAL ORGANIZATION A block diagram of the internal architecture is shown in Interrupt Request (IRQ) Figure 1. The 6532 is divided into four basic sections, RAM, The IRQ pin is an interrupt pin from the interrupt control I/O, TIMER, and Interrupt Control. The RAM interfaces logic. The pin will be normally high with a low indicating an directly with the microprocessor through the system data interrupt from the 6532. An external pull-up device is re- bus and address lines. The I/O section consists of 2 8-bit quired. The IRQ pin may be activated by a transition on halves. Each half contains a Data Direction Register (DDR) PA7 or timeout of the interval timer. and an I/O Register. Data Bus (00-D7) RAM - 128 Bytes (1024 Bits) The 6532 has eight bi-directional data pins (Do-D7). These The 128 X 8 Read/Write memory acts as a conventional pins connect to the system's data lines and allow transfer static RAM. Data can be written into the RAM from the of data to and from the microprocessor array. The output microprocessor by selecting the chip (CS1 = 1, CS2 = 0) buffers remain in the off state except when a Read oper- and by setting RS to a logic 0 (O.4V). Address lines AO ation occurs. through A6 are then used to select the desired byte of storage. Peripheral Data Ports The 6532 has 16 pins available for peripheral I/O oper- Internal Peripheral Registers ations. Each pin is individually software programmable to The Peripheral A I/O port consists of eight lines which can act as either an input or an output. The 16 pins are divided be individually programmed to act as either an input or an into 2 8-bit ports, PAo-PA7 and PBo-PB7. PA7 also has output. A logic zero in a bit of the Data Direction Register other uses which are discussed in later sections. The pins (DDRA) causes the corresponding line of the PA port to act 2-68 6532 as an input. A logic one causes the corresponding PA line The operation of the Peripheral B Input/Output port is to act as an output. The voltage on any line programmed exactly the same as the normal 110 operation of the Pe- to be an output is determined by the corresponding bit in ripheral A port. The eight lines can each be programmed the Output Register (ORA). to act as either an input or as an output by placing a 0 or a 1 into the Data Direction register (DDRB). In the output Data is read directly from the PA pins during any read mode, the voltage on a peripheral pin is controlled by the operation. For any output pin, the data transferred into the Output Register (ORB). processor will be the same as that contained in the Output Register if the voltage on the pin is allowed to go to 2.4V The primary difference between the PA and the PB ports is for a logic one. Note that for input lines, the processor can in the operation of the output buffers which drive these write into the corresponding bit of the Output Register. pins. The buffers are push-pull devices which are capable This will not affect the polarity on the pin until the corre- of sourcing 3 ma at 1.5V. This allows these pins to directly sponding bit of DDRA is set to a logic one to allow the drive transistor switches. To assure that the peripheral pin to act as an output. microprocessor will read proper data on a 'Read PB- oper- ation, sufficient logic is provided in the chip to allow the microprocessor to read the Output Register instead of In addition to acting as a peripheral 110 line, the PA7 line reading the peripheral pin as on the PA port. can be used as an edge-detecting input. In this mode, an active transition will set the internal interrupt flag (bit 6 of Interval Timer the Interrupt Flag register). Setting the interrupt flag will The Timer section of the 6532 contains three basic parts: cause IRQ output to go low if the PA7 interrupt has been preliminary divide down register, programmable 8-bit reg- enabled. The PA71ine should be set up as an input for this ister and interrupt logic. mode. The interval timer can be programmed to count up to 255 Control of the PA7 edge detecting mode is accomplished time intervals. Each time interval can be either 1T, 8T, 64T by writing to one of four addresses. In this operation, AO or or 1024T increments, where T is the system clock pe- controls the polarity of the active transition and A 1 acts to riod. When a full count is reached, an interrupt flag is set to enable or disable interrupting of the processor. The data a logic '1'. After the interrupt flag is set the internal clock which is placed on the Data Bus during this operation is begins counting down to a maximum of -255T. Thus, discarded and has no effect on the control of PA7. after the interrupt flag is set, a Read of the timer will tell how long since the flag was set up to a maximum of 255T. Setting of the PA7 interrupt flag will occur on an active transition even if the pin is being used as a normal input or The 8 bit system Data Bus is used to transfer data to and as a peripheral control output. The flag will also be set by from the Interval Timer. If a count of 52 time intervals were an active transition if interrupting from PA7 is disabled. The to be counted, the pattern 0 0 1 1 0 1 0 0 would be put on reset signal (RES) will disable the PA7 interrupt and will set the Data Bus and written into the Interval Timer register. the active transition to negative (high to low). During the system initialization routine, it is possible to set the inter- At the same time that data is being written to the, Interval rupt flag by a negative transition. It may also be set by Timer, the counting intervals of 1, 8, 64 and 1024T are changing the polarity of the active interrupt. It is therefore decoded from address lines AO and A 1. During a Read or recommended that the interrupt flag be cleared before Write operation, address line A3 controls the interrupt enabling interrupting from PA7. capability, i.e., A3=1 enables IRQ, A3 =0 disables IRQ. When the timer is read prior to the interrupt flag being set, Clearing of the PA7 Interrupt Flag occurs when the the number of time intervals remaining will be read, i.e., microprocessor reads the Interrupt Flag Register. 51, 50, 49, etc. . 2-69 6532 When the timer has countedthru. 00000000 on the Thus, to arrive atthe total elapsed time, merely do a two's next count time an interrupt will occur and the counter will complement add to the original time written into the timer. read 1 1 1 1 1 1 1 1. After interrupt, the timer register Again, assume time written as 00 1 1 0 1 00 (= 52). With a decrements at a divide by '1- rate of the system clock. If divide by 8, total time to interrupt is (52 X 8) + 1 = 417T. after interrupt, the timer is read and a value of 1 1 1 0 0 1 0 Total elapsed time would be 416T + 28T = 444T, assum- ois read, the time since interrupt is 27T. The value read is in ing the value read .after interrup was 1 1 1 0 0 1 0 O. two's complement, but remember that interrupt occurred on count number. Therefore, we must subtract 1. Value read 11100100 After the interrupt, whenever the timer is written or read the interrupt is reset. However, the reading of the timer at Complement 00011011 the same time the interrupt occurs will not reset the inter- ADD 1 00011100=28Equalstwo's rupt flag. When the interrupt flags are read (DB7 for the complement of register timer, DB6 for edge detect) data bus lines DO-D5 to go SUB 1 o0 0 1 1 0 1 1 = 27 to O. BASIC ELEMENTS OF INTERVAL TIMER . R/W A3 07 06 0504 03 02 01 DO R/W AI AO IRQ 02 CONTROL REGI STE R DOWN 07 06 05 04 03 02 01 DO Figure 1 2-70 6532 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Voltage Unit Supply Voltage Vee -.3 to +7.0 V Input/Output Voltage VIN -.3 to +7.0 V Operating Temperature Range Top o to 70 °C Storage Temperature Range TSTG -55 to +150 °C CAUTION All inputs contain protection circuitry to prevent damage due to high static charges. Care should be exercised to prevent unnecessary application of voltage outside the specification range. ELECTRICAL CHARACTERISTICS (Vee = 5.0V ± 5%, Vss = OV, TA = 25°q Symbol Parameter Min Typ Max Unit Test Conditions V IH Input High Voltage V ss +2.4 Vee V V IL Input Low Voltage V ss -·3 V ss +.4 V liN Input Leakage Current 1.0 2.5 p.A VIN = Vss +5V AO-A6,RS, R/VV,RES,02,CS1,CS2 ITSI Input Leakage Current for ±1.0 ±10.0 p.A VIN = .4V to 2.4V; 00-07 High Impedance State (Three State) IIH Input High Current -100. -300. p.A VIN = 2.4V PAO-PA7, PBO-PB7 IlL Input Low Current -1.0 -1.6 MA VIN = .4V PAO-PA7, PBO-PB7 V OH Output High Voltage V ss +2.4 V Vee = MIN, ILOAD ::; -100 p.A Vss +1.5 (PAO-PA7, PBO-PB7, 00-07) ILOAD ::; -3 MA (PAO, PBO) VOL Output Low Voltage V ss +.4 V Vee = MIN, ILOAD ::; 1.6 MA IoH Output High Current V OH ;::: 2.4V (PAO-PA7, PBO-PB7, 00-07) (Sourcing) -100 -1000 p.A ;::: 1.5V Available for other than TTL -3.0 -5.0 MA (Darlingtons) (PBO, PB7) IOL Output Low Current (Sinking) 1.6 MA VOL ::; AV (PAO-PA7) (PBO-PB7) Celk C10ek Input Capacitance 30 pF CIN Input Capacitance 10 pF C OUT Output Capacitance 10 pF PD Power Dissipation 500 1000 MVV 2-71 6532 Symbol Parameter Min Typ Max Unit WRITE CYCLE Tcyc Clock Period 1 p5 TR, TF Rise and Fall Times 25 'NS TC Clock Pulse Width 470 NS TWCW R/W Valid Before Positive Transition of Clock 180 NS TACW Address Valid Before Positive Transition of Clock 180 NS mcw Data Bus Valid Before Negative Transition of Clock 300 NS THW Data Bus Hold Time 10 NS TCPW Peripheral Data Valid After Negative Transition 1 p5 of Clock TCMOS Peripheral Data Valid After Negative Transition 2 p5 of Clock Driving CMOS (Level=Vcc -30%) READ CYCLE TWCR R/W Valid Before Positive Transition of Clock 180 NS TACR Address Valid Before Positive Transition of Clock 180 NS TPCR Peripheral Data Valid Before Positive Transition 300 NS of Clock TCDR Data Bus Valid After Positive Transition of Clock 395 NS THR Data Bus Hold Time 10 NS TIC IRQ Valid Before Positive Transition of Clock 200 NS NOTES loading = 30 pF + 1 TTL load for PAO-PA7, PBO-PB7 = 130 pF + 1 TTL load for 00-D7 TIMING DIAGRAMS WRITE TIMING CHARACTERI5nCS READ TIMING CHARACTERI5nCS CLOCK INPUT _ _ _J CLOCI( INPUT --~ RtW RtW ADDRESS ADDRESS PERIPHERAL -,lr.-;;;:;"'-i---I'-----+---- DATA DATA BUS DATA BUS PERIPHERAL --~~::±!:::::!~~:lA;;;'~:::':::":'::-= _______--1 Trc DATA PB1(TRQ) "1.",0,:::..8V'--_ _ __ Figure 2 Figure 3 2-72 commodore semiconductor group NMOS 6560/6561 Video Interface Chip (VIC) • Fully Expandable System Wrth 16K Byte Address Space • Two Selectable Graphic Character Sizes • Mask-Programmable Sync Generation (NTSC-6560 or • On-Chip Sound System PAL-6561) • On-Chip DMA And Address Generation • On-Chip Color Generation • 16 Addressable Control Registers • Up to 600 Independently Programmable And Movable • Light GunlPen For Target Games Background Locations • Screen Grid Size Up to 192 x 200 DESCRIPTION The 6560/6561 Video Interface Chip (VIC) is designed to implement color video graphics applications such as low-cost CRT terminals, biomedical monitors, control system displays and arcadelhome video games. It provides all circuitry necessary for generating color programmable charcter graphics with high-screen resolution. VIC also incorporates sound effects and AID converters for use in a video game environment. Its on-chip sound system includes three independent, programmable tone generators, a white-noise generator and an amplitude modulator. It is designed so that no CPU wait states are required during screen refresh and offers the option of interlaced or non-interlaced operation via a switch which is programmable. The 6560/6561 provides two modes of color operation. PIN CONFIGURATION BLOCK DIAGRAM 6560 ,N.c:. VDD COMP COLOR 411 IN "z IN R/W OPTION DBII PCl2 DBIP pel DB9 AI~ DBa AI2 DBT All DB6 AIO DU Ag DB4 Aa DB3 AT DB2 AS OBI As DBO A4 POT X A~ "'., SOUND POTY COM' .TIIe • lUMIN co.... CDLM POT Y A2 COMP SND AI VSS AO Note MCS = Ceramic package MPS = Plastic package 2-73 6560/6561 6560 SIGNAL DESCRIPTION System Clocks-(P01 and ~. These clocks are the mas- ter timing generator for the VIC System. They are +5V, Address Bus (Ao-A13) non-overlapping 1.02 MHz clocks capable of driving the The 14-bit address bus (Ao-A n ) is bidirectional. During P02 capacitance of the 6512 microprocessor. = 1, the address pins are in the input mode. In this mode the microprocessor can access any of the sixteen VIC Memory Clock-(Optional, 4>M). This is a single-phase, Control Registers. The high order pins of the Address Bus 2.04 MHz clock used when memories in the VIC System (As thru An) act as Chip Select pins in this input mode. A require a strobe after the address bus is valid. It is one of = true chip select condition occurs when An All A 10 = = the options available on Pin 37. A9 = = As 0 and An = 1, which equates to a VIC chip select address of 1000 in HEX. The lower order 4 bits of the address bus (Ao thru A3) are used as the control register Analog to Digital Converten (POT)( and POTY). select portion of the input address. These input pins are used to convert potentiometer posi- tion into a microprocessor-readable 8-bit hex number. This = During POl 1, the VIC address pins will be in the output is accomplished by a simple RC time constant integration technique. The potentiometer is used to charge an exter- mode if data (either Character Pointer or Character Cell) is to be fetched. In this mode, VIC will output the address of nal capacitor tied to the pot pin. the memory location to be fetched. The address from VIC will be valid 50ns after the rising edge of POl and remain Composite Sound (COMP SND). valid until the rising edge of P02 • This pin provides the output of the sound synthesizer portion of the 6560 shown in the VIC Block Diagram. It is a ReadlWrite (RIW) high-impedance output (approximately 1Kn) and must be This signal is an input only and controls the flow of data buffered and amplified externally to drive a speaker. between VIC and the microprocessor. When the R/W signal is low and the VIC chip select conditions have been Composite Sync and Luminance (SYNC & LUMIN). satisfied, the microprocessor can write data into the se- This pin is an open-drain output which provides all neces- lected VIC Control Register. If the R/W signal is high and sary video synchronization and luminance information re- the chip select conditions have been met, the quired by a standard television. microprocessor can read data from the selected VIC Con- trol Register. Composite Color (COMP COLOR). This signal provides the necessary color information re- It is important to note that all VIC/microprocessor data quired by a standard television to receive a full-color pic- = transfers can only occur when P02 1. During POl' the VIC ture. The composite color pin is a high-impedance output will be fetching data from memory for display and the buffer which provides the reference burst signal plus the R/W signal must be held high to insure that VIC will not color-encoded phase and amplitude information at the write into any memory location. proper 3.579545 MHz frequency. Data Bus (D80-0Bll) Reset The 12-bit data bus, DBa - DB 11 , is divided into two sec- This optional Pin 37 input signal is used to synchronize the tions. The low-order eight bits, DBa thru DB7, are used horizontal and vertical sync counter to an external signal. both to interface to the microprocessor and to fetch data needed for display, while the high-order four bits are used exclusively for retrieving color and mode information. The Bus Available operation of the low-order eight bits (DBa thru D~) can This optional Pin 37 output signal indicates the state of the also be separated into two categories: microprocessor VIC with respect to the video memory fetch. The pin will interface and video data interface. During P02 = 1, DB7 go low 2 "sec before VIC performs any memory access thru DBo are used exclusively for data transmission be- and will remain low until the entire screen has been tween the microprocessor and VIC. During POl = 1, DB7 refreshed. thru DBa are used for fetching display data. Light GunlPen nocKS The optional Pin 37 input signal causes the current dot position being scanned onto the screen to be latched onto Master Oscillatoi Oock liiputs-( 'U -i l> > o o !D ~--::o C I--I ......._ _ _ ~ VI VI la~~~~~ COLOR oS:: .j> 010 () OBO 01 VI OB3 DATA o OB7 OJ CD '---y----J KEYBOARD 110 ·NOTE ROM 1 or ROM 2 is optional. since either can be cartridge loaded. ROM 1 is accessed by the processor only. ROM 2 can be accessed by the processor or VIC. Figure 3 2-80 6560/6561 The tasks involved in a complete game are divided and for holding the screen organization and color ma- between the ~P and VIC. The ~P controls the game logic trices. They may be modified by the ~P at any time. Note and VIC controls the video display as well as the sound that to achieve a full bit-map display, a minimum of 4K generation. bytes of character RAM are necessary. 6512 Microprocessor Program/Graphics ROM(s) The 6512 is a member of the 6500 microprocessor family, These chips normally contain the game logic and/or coded which has gained wide acceptance in the video game graphic data. There is no need for a resident ROM in a industry. The 6512 architecture and addressing capability minimum system. A cartridge ROM can contain all the are well suited to graphic data manipulation. Alternately, a relevant information. 6502 processor can be used by feeding VIC P02 OUT into the 6502 00 IN; however, tri-state buffers must then be added to the data bus as well as the address bus. ABSOLUTE MAXIMUM RATINGS 6560 Video Interface Chip Ambient Temperature under Bias -10° to 80°C The 6560 is a video display device which reads data that Storage Temperature -65°C to 150°C has been formatted by the ~P and supplies the appropriate Voltage on any Pin* -0.5V to +7V color graphic signals to the RF modulator. To accomplish Power Dissipation 1.0W this, the 6560 does a transparent DMA of the ~P' s memory NOTE space, accessing ROM and/or RAM. ·With respect to Ground 6520 Peripheral Interface Adapter COMMENT This chip is used for keyboard scanning and joystick multi- Stresses above those listed under "Absolute Maximum Rat- plexing. ings'may cause permanent damage to the device. This is a stress rating only and functional operation of the device at = Resident RAM 2 (2114) and (2111) these or any other conditions above those indicated in the These RAM chips are used as working storage by the ~P operational sections of this specification is not implied. DC CHARACTERISTICS TA = O°C to +50°C, VDD = 5V ± 5% (unless otherwise specified) Parameter Min Max Typ Units ReadIWrite, Reset (Option) Address and Data-Input State VIL -0.2 0.4 Volts V1H 2.4 5.6 Volts Input Capacitance 8.0 5.0 pF Input Leakage (all outputs in high impedance state) 10.0 1.0 ~A Address and Data-Output State VOL 0.4 Volts V OH 2.4 Volts = IOL - Sink current VOL 0.4 2.4 rnA IOH - Source current V OH 2.4= 200 ~A Impedance in Three State Condition 1 x 1()6 Ohms Clock Input (q,1 and q,2 Input) Frequency 14.31818 MHz Capacitance 10.0 pF V1L -0.2 0.3 Volts V1H 4.5 5.0 Volts Oock Outputs (Pq,1' Pq,z) VOL O.3V Volts h @ 0.3 Volts VOL 1.6 rnA V OH V DD -·2 Volts IOH @ 4.7 Volts V OH 200 ~A Loading 120.0 pF Frequency 1.02 MHz 2-81 6560/6561 DC CHARACfERISTICS TA = O°C to +50°C, Voo = 5V ± 5% (unless otherwise specified) Parameter Min Max Typ Units Composite Sound Output Impedance 2000 1000 n Max. Current (Sink or Source) 500 /loA Output Offset Voltage 2.2 2.8 2.5 Volts VOH (Max. Amplitude) 3.2 3.5 Volts VodMax. Amplitude) 1.8 1.5 Volts VOH (Min. Amplitude) 2.55 2.6 Volts VodMin. Amplitude) 2.45 2.4 Volts Pot Inputs VTRlcGER (Rising Edge) 2.2 2.8 2.5 Volts Pot Reset VOL 0.2 Volts IOL @ VOl = 0.2 500 /loA Ught Pen Input (Option) VTRIGGER (Falling Edge) 2.8 2.2 2.5 Volts cf>M(Option) VOL 0.4 Volts IOL @ 0.3 Volts VOL 1.6 mA VOH Voo -.7 Volts IOH @ 4.7 Volts VOH 100 p.A Loading 60 pF Frequency 2.04 MHz Bus Available (Option) VOL 0.3 Volts IOL 1.6 mA VOH 2.4 Volts IOH 100 /loA Voo 4.75 5.25 5.00 Volts 100 150 120 mA VIC INPUT CLOCKS TCYCI .1 IN TPWLI 1)2 IN 14.31818 MHz CLOCK IN PUT 2-82 6560/6561 VIC OUTPUT CLOCKS ;:-{r- !'~;, i1----J/ \ _ _ _ _ 4.OV I~ jT _ _ _ _ O.. 4V TOl2 TOH2 T CYC3 ...l l"" ~I'- .... ----- 4 .. SV pel \-r- L \-'r----- O.4V ' TF R~ TOH3 =1_ TOL! _TCO _F--4.!1V _____ ---_O.4V ~ T OL3 _ MICROPROCESSOR READIWRITE TIMING TO VIC P'2 UPROCESSOR II PROCESSOR AOORESS AOORESS DATA FROM UPROCESSOR I ~ DATA FROM viC VIC READ TIMING FROM MEMORY P.I VIC ,.--------, \ ADDRESS CHARACTER ACCESS DATA FROM MEMORY 2-83 6560/6561 VIC SYSTEM TIMING Symbol Characteristic Min Typ Max Units VIC Input Clock Timing TCYC1 Input Clock Cycle Time 69.82 69.84 ns TpwH1 Clock High 20 ns TpWL1 Clock Low 20 ns TR, TF Rise and Fall Time 10 ns VIC Output Clock Timing TCYC2 Two MHz Clock Cycle Time 480 500 ns TOL2 1 and <1>2 Input) Frequency - - 14.31818 MHz Capacitance - 10.0 - pF V IL -0.2 0.3 - Volts V IH 4.5 - 5.0 Volts Clock Outputs (Pl, P2) VOL - 0.3 V - Volts IOL @ 0.3 Volts VOL 1.6 - - mA V OH V OO -·2 - - Volts IOH @ 4.7 Volts V OH 200 - - J.LA Loading - 120.0 - pF Frequency - - 1.8 MHz 2-93 6562/6563 MCS6562 ELECTRICAL SPECIFICATIONS (Continued) CHARACTERISTIC MIN. MAX. TYP. UNITS Composite Sound Output Impedance - 2000 1000 n Max. Current (Sink or Source) - 500 - /LA Output Offset Voltage 2.2 2.8 2.5 Volts VOH (Max. Amplitude-all oscillators) 3.7 - 4.0 Volts VOL (Max. Amplitude-all oscillators) - 1.3 1.0 Volts VOH (Min. Amplitude-one oscillator) 2.55 - 2.6 Volts VOl (Min. Amplitude-one oscillator) - 2.45 2.4 Volts Pot Inputs VTRIGGER (Rising Edge) 2.2 2.8 2.5 Volts Pot Reset VOl - 0.2 - Volts IOl @ VOL = 0.2 500 - - /LA Light Pen Input (Option) VTRIGGER (Falling Edge) 2.8 2.2 2.5 Volts Bus Available (Option) VOl - 0.3 - Volts 10l 1.6 - - rnA VOH 2.4 - - Volts IOH 10 - - /LA Voo 4.75 5.25 5.00 Volts 100 - 150 120 rnA VIC INPUT CLOCKS Teyel .1 IN TPWLI 112 IN 14.31818 MHz CLOCK INPUT VIC OUTPUT CLOCKS T CYC3 P~I ""'r- I-~ -' -----4 \ .- -i \-'Ir -- - - O.4V =l_ T, TR TOl3 I-- TOH! _F-_4.5V TCD _ ___... __ -_O.4V TOL! ~ _ 2-94 6562/6563 MICROPROCESSOR READ/WRITE TIMING TO VIC pa2 UPROCESSOR LI PROCESSOR ADDRESS ADDRESS DATA FROM UPROCESSOR I TAce ~ DATA FROM VIC VIC READ TIMING FROM MEMORY VIC . ,- I - - - - -- - """"\ \ ADDRESS \~~C==S~R_A~R.:.sS--11 CHARACTER ACCESS DH DATA FROM MEMORY 2-95 6562/6563 VIC SYSTEM TIMING VIC INPUT CLOCK TIMING SYMBOL CHARACTERISTIC MIN. TYP. MAX. UNITS Tcyc1 Input Clock Cycle Time 69.82 - 69.84 ns TpwH1 Clock High 20 - - ns TpWL1 Clock Low 20 - - ns TR, TF Rise and Fall Time - - 10 ns VIC OUTPUT CLOCK TIMING TCYC3 1.8 MHz ItProcessor Clocks Cycle Time 548 - 566 ns TOL3 P4>1, P4>2 Clocks Low 240 - 286 ns TOH3 P4>1, P4>2 Clocks High 240 - 286 ns TCD Delay Time Between Clocks At .4 V 5 - 20 ns TR Rise Time, Max. CL - - 40 ns TF Fall Time, Max. CL - - 20 ns MICROPROCESSOR READ/WRITE TIMING TO VIC TAs Address Set Up Time 210 - - ns TAH Address Hold Time 5 - - ns TRS Read Set Up Time 210 - - ns Tws Write Set Up Time 150 - - ns Tos Data In Set Up Time 100 - - ns TAcc Data Access Time - - 200 ns TOH Data Hold Time 10 - - ns VIC READ TIMING FROM MEMORY TVA Time to Valid Address From P4>1 - - 30 ns TAH Address Hold Time 10 - 20 ns Tosu Data Set Up Time 30 - - ns DH Data Hold Time 20 - - ns COMPOSITE SYNC, COLOR AND LUMINANCE TIMING BLANKING Blanking Period (No Video) 10.0 11.0 12.0 itS Bs Breeze Way .3 .5 .7 itS BURST Color Burst Reference Signal 4.0 5.0 6.0 itS Note The color burst signal is the 3.579545 MHz color phase reference from which all other color information is measured. For Example: Full intensity blue is a 3.579545 MHz signal which has a relative delay of 135 ns from burst if the burst signal was available throughout the entire HL period. 2-96 6562/6563 COMPOSITE SYNC OUTPUT TIMING SYMBOL CHARACTERISTIC MIN. TYP. MAX. UNITS HS Horizontal Sync Pulse 4.0 5.0 6.0 p's HL Horizontal Line Period 63.0 63.5 64.0 p's HLI2 One Half Horizontal Line Period 30.0 31.5 32.5 p.s E Equalization Pulse 2.0 2.5 3.0 p's EL Equalization Time Period 188.0 190.5 192.0 p's Vs Vertical Sync Period 188.0 190.5 192.0 p.s Vs to Vs Vertical Sync to Vertical Sync Time Period - 16.66 - ms Notes: 1. The number of Hl periods between Vs periods is 262.5 in the interlace mode. 2. The number of Hl periods between Vs periods in the non-interlace mode is 262 per frame. 3. NTSC only. COMPOSITE SYNC, COLOR AND LUMINANCE OOMPOSITE COLOR FULL INTENSITY COLOR BLACK LOW INTENSITY COLOR I WHITE COMPOSITE SYNC 6 LUMIN COMPOSITE SYNC OUTPUT FRAME TWO 2-97 6562/6563 STANDARD SYSTEM CONFIGURATION A typical VIC System would consist of a microprocessor, effective to place only that RAM needed for video infor- VIC, ROM, RAM and 110. The tasks involved in a system mation in the high-speed subsystem and all other RAM are divided between the IlP and VIC. The IlP controls the outside. system functions (such as games) and VIC controls the Video Display. Refering to the Standard System Diagram, the Tri-state buffers on the Address and Data busses allow the shared VIC is designed to operate with 65XX microprocessors, section to be isolated from the system busses during PcP2, generating the IlP clocks directly (or through external the VIC busses tri-state and the buffers allow the IlP to dividers for slower systems). This allows the IlP and VIC to access the shared RAM or VIC registers. alternate memory access through interleaved DMA. During PcP1 the Color RAM is accessed in parallel with the A VIC System is divided into two sections; a standard Video Matrix, therefore, any VIC access of the Video Ma- speed section containing system RAM (optional), system trix also accesses the Color RAM. During PcP2 the tri-state ROM and system 110; and a high-speed section, contain- buffer on the Color RAM allows the IlP to access the Color ing the shared high-speed (200 ns) RAM. RAM as a block of memory separate from the Video Ma- trix, (the Color RAM, therefore, resides in two different The shared subsystem must be isolated from the system locations; at the same location as the Video Matrix during busses via tri-state buffers whenever VIC takes control of PcP1 and at some unique location during PcP2)' the high-speed bus. Since the system busses are unaffect- ed when VIC accesses the shared subsystem, all devices The 4052 CMOS MUX allows four joysticks to be connect- external to the shared subsystem can run at a slower ed to VIC. The 110 section determines which joystick will speed, allowing standard speed system design. be digitized at anyone time. Although it is possible to incorporate all system RAM into the high-speed section of the system, it may be more cost 2-98 6562/6563 STANDARD SYSTEM DIAGRAM DBO DBO S YST EM DA T A r-B_U.:..S_______'1--l -'-TT-r-::.L"""'-"-'-'-I~ g -r-n-T¥-n-T" ~-'-TT""-¥:""-r-~ ~r'-w...J....I.~""" r'Ao....1..J...J..J-l...u..., I I RlW SYSTEM SYSTEM r- - - - __ J AI3 HIGH SPEED ROM RAM ..... .---- (OPTIONAL) I SHARED /'-- RAM I I I (J) "1l m __ J Ao uP/VIC ACCESS m (J) o );> ~B7n o -0 rn -i rn ~ _ _ _ _ _ _~ l> (J) o -< (J) (J) -i ::r: CD m l> C ~ ::u (J) rn AO HIGH SPEED l> o SHARED o l> SUBSYSTEM ,0 o ::u o m ::u (J) rn (J) (J) (J) A9 CD CD R/W .---------'~ C (J) STD SPEED COl-OR TYPICAL DATA uP SYSTEM '------y-----' '-v-' TO POTS KEYBOARD I/O 2-99 commodore semiconductor group NMOS 65245 Octal Bus Transceiver With 3-State Outputs DESCRIPTION The 65245 is an octal bus transceiver designed for asynchronous, bi-directional communication between data busses. The level of the Direction input (DIR) allows data transmission from bus A to bus B or from bus B to bus A. The Enable input (E) can be used to provide isolation between the busses. The device is fully TTL and CMOS compatible, and is pin-for-pin compatible with the 74LS245. PIN CONFIGURATION TRUTH TABLE E DIR Output L L B data to A bus 65245 L H A data to B bus DIR 20 VDD H X Isolation NOTES AO 2 19 E l = lOW level H = HIGH level A1 3 18 60 = X Irrelevant A2 4 17 61 ABSOLUTE MAXIMUM RATINGS A3 5 16 62 Parameter Symbol Value Unit Supply Voltage Vce -0.3 to +7.0 Vdc A4 6 15 63 Input Voltage Vin -0.3 to +7.0 Vdc AS 7 14 64 Operating Temperature Range TA o to +70 °C A6 8 13 65 Storage Temperature Range Tstg -55 to +150 °C A7 9 12 66 Vss 10 11 67 COMMENT This device contains input protection against damage due to high static voltages or electric fields; however, precau- tions should be taken to avoid application of voltages higher than the maximum rating. 2-100 65245 ELECTRICAL CHARACTERISTICS (Vee = 5.0 V ± 5%, Vss = 0, TA = 0° to + 70 0 q Symbol Parameter Min Typ Max Unit V IH Input High Voltage 2.0 V V il Input Low Voltage 0.8 V VOH Output High Voltage = Vee MIN, VIH = 2.0 V IOH = -3 mA 2.4 V = IOH -15 mA 2.0 VOL Output Low Voltage = = Vee MIN, V il 0.8 V = 1m 12 mA 0.4 V = 1m 24 mA 0.5 IozH High-Impedance Output Current 50 J.lA = = E 2.0 V, Vee MAX, VOUT 2.7 V = lozl High-Impedance Output Current -50 J.lA = = E 2.0 V, Vee MAX, VOUT -0.4 V= IIH High-Level Input Current 100 nA = Vee MAX, V IH 2.7 V= 20 III Low-Level Input Current -100 nA = = vee MAX, V il 0.4 V 20 IOH High-Level Output Current mA = Vee NOM, VOUT = 2.4 V -15 1m Low-Level Output Current mA = Vee NOM, VOUT 0.4 V = 24 lee Power Supply Current mA Outputs High 47 64 Outputs Low 44 100 Outputs Hi- Z 56 105 AC CHARACTERISTICS (Vee = 5.0 V, Vss = 0 V, TA = +25°q Symbol Parameter Min Typ Max Unit Test Conditions tplH Propagation Delay 40 ns tpHl Data to Output 40 ns tpzH 40 ns Test Circuit Output Enable Time tpZl 40 ns tpHZ 40 ns Output Disable Time tplZ 40 ns AC TEST CIRCUIT 330n 2-101 commodore semiconductor group NMOS 2114 Static RAM (1024 x 4) 2114 2114L Access Time (ns) 450, 300, 200 450, 300 Supply Current/Tolerance 100mA ±5% 70 mA ±5% • 450, 300, Maximum Access Time • Single 5 V Supply • Three-state Outputs for OR-Ties • No Clocks or Strobes Required • Directly TTL Compatible: All Inputs, Outputs and • High-Density 18-Pin Package Power Supply • Identical Cycle and Access Times • 400 mV Noise Immunity on Inputs DESCRIPTION The MOS Technology 2114 is a 4096-bit Static Random Access Memory organized as 1024 words by 4 bits. It is fabricated using N-channel Silicon Gate technology. Because it is designed using fully DC stable (static) circuitry in both the memory array and the decoding, it requires no clock or refresh. Address setup times are not required and data is read nondestructively with the same polarity as the input data. Common Input/Output pins are provided to simplify design of bus-oriented systems. Drive capability is 2 TTL loads. The 2114 is designed for memory applications where high performance, low cost, large bit storage and simple interfacing are important design objectives. It is totally TTL compatible in all respects. A separate Chip Select (CS) input allows easy selection of an individual device when outputs are OR-tied. Available in ceramic or molded packaging, the 2114 is offered in eight models. The 2114-45 (ceramic) and 2114-45 (molded) devices require a supply current of 100 mA, with a tolerance of ± 5%. A 10% tolerance is obtained using the MCT (ceramic) and MPT (molded) 2114-45. Low-power models include the 2114L-45 (ceramic) and 2114L-45 (molded) devices with 70 mA supply current reuirements and ± 5% tolerance as well as the ± 10%-tolerance versions. PIN CONFIGURATION BLOCK DIAGRAM 2114 AO A6 Vee A, A2 A5 A7 A, A4 AS A, A, A3 A9 1/°1 Ao ,/° , 1/°2 AI 1/°2 1/°3 A2 1/°3 1/°4 cs 1/°4 cs Vss WE WE 2-102 2114 DC CHARACTERISTICS TA = O°C to +70°C, Vee = 5 V ± 5% (unless otherwise specified) MCS2114L-45 MCS2114-45 MCT2114L-45 MPT2114-45 MPS2114L-45 MPS2114-45 MPT2114L-45 MPT2114-45 Symbol Parameter Min Max Min Max Min Max Min Max Unit Test Conditions III Input Load Current 10 10 10 10 J.lA V IN = 0 to 5.2SV (all input Pins) ILO 1/0 Leakage Current 10 10 10 10 J.lA CS = 2.0 V, = Vila 0.4 V to Vee lee1 Power Supply Current 65 95 rnA Vee = 5.25 V, = 1110 0 rnA, TA = 25°C leC2 Power Supply Current 70 100 rnA Vee = 5.25 V, 1110 = 0 rnA, TA = O°C leC3 Power Supply Current 65 95 rnA Vee = 5.5 V, 1110 = 0 rnA, TA = 25°C lee4 Power Supply Current 70 100 rnA Vee = 5.5 V, 1110 = 0 rnA, TA = O°C V IL Input Low Voltage -0.5 0.8 -0.5 0.8 -0.5 0.8 -0.5 0.8 V V IH Input High Voltage 2.0 Vee 2.0 Vee 2.0 Vee 2.0 Vee V VOL Output Low Voltage 0.4 0.4 0.4 0.4 V IOL = 3.2 rnA V OH Output High Voltage 2.4 Vee 2.4 Vee 2.4 Vee 2.4 Vee V 10H = -400 J.lA AC CHARACTERISTICS TA = O°C to +70°C, Vee = 5 V ±5% (unless otherwise specified) MCS2114-45 MCT2114-45 MPS2114-45 MPT2114-45 MCS2114L-45 MCT2114L-45 MPS2114L-45 MPT2114L-45 Symbol Parameter Min Max Min Max Unit READ CYCLE tRe Read Cycle Time 450 450 ns tAee Access Time 450 450 ns teo Chip Select to Output Valid 120 120 ns tex Chip Select to Output Off 0 0 ns tom Chip Deselect to Output Off 0 100 0 100 ns tOHA Output Hold from Address Change 50 50 ns WRITE CYCLE twe Write Cycle Time 450 450 ns tAW Address to Write Setup Time 0 0 ns tw Write Pulse Width 200 200 ns tWR Write Release Time 0 0 ns tOTW Write to Output Off 0 100 0 100 ns tDW Data to Write overlap 200 200 ns tDH Data Hold 0 0 ns 2-103 2114 CAPACITANCE TA = 25°C, f = 1.0 MHz Symbol Test Min Max Unit Note Conditions CliO Input/Output Capacitance 10 pF This parameter is periodically Vila = OV C 1N Input Capacitance 7 pF sampled and not 100% tested VIN=OV AC CONDITIONS OF TEST ABSOLUTE MAXIMUM RATINGS Input Pulse levels .................. 0.8 V to 2.0 V Ambient Temperature under Bias -10°C to +80°C Input Rise and Fall Time ..................... 10 ns Storage Temperature -65°C to +150°C Timing Measurement levels: Voltage on any Pin* -0.5 V to +7 V Input .................................. 1.5 V Power Dissipation 1.0W Output ....................... 0.8 V and 2.0 V 'With respect to ground Output load ............... 1 TTL Gate and 100 pF COMMENT Stresses above those listed under "Absolute Maximum Rat- ings- may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. TIMING DIAGRAMS READ CYCLE(I) t RC \4------ t ACC ------_~~I ADDRESS _-Jl'--_ _ _ _ _ _ _ _ _ _ _ _ _ _~_ __JII~------ CS tco tcx WRITE CYCL E ADDRES S =f-------- ----------------------- t WC - - - - - - - - - 1 " ' 1 --------- cs I 1 4 - - - - t W -,(.::;2-'..)--_~ WE NOns 1. WE is high for a Read Cycle 2. TW is measured from the latter of CS or WE going low to the earlier of CS or WE going high 2-104 2114 TYPICAL CHARACTERISTICS ACCESS TIME VS SUPPLY CURRENT CAPACITIVE LOAD VS TEMPERATURE 500 100 \i\:;e=5.25V 450 80 fA Icc (nSEC) (rnA) 400 60 350 ~--4----+----r---~ 40 300 20 o 150 300 450 600 o 20 40 60 80 CL (pF) INPUT VOLTAGE LIMITS ACCESS TIME VS VS TEMPERATURE VOLTAGE 2.0 500 1.5 450 I TA =25°C - V IN I fA 2114 2114L __ (V) 1.0 (nSEC) 400 Vee = 5V 0.5 350 o 300 o 20 40 60 eo 4.0 4.5 5 5.5 6.0 TA (OC) Vee (V) ACCESS TIME VS SUPPLY CURRENT TEMPERATURE VSVOLTAGE 500 100 Vee = 4. 75V fA 450 I I eo Icc (nSEC) 400 ~ 2 114,2 (rnA) 60 350 40 300 20 o 20 40 60 80 2 3 4 5 6 TA (oG) Vee (V) 2-105 commodore semiconductor group NMOS 2316 Static ROM (2048 x 8) • Access Time 450 ns and 350 ns (mioomum) • Single 5 V Power Supply • Totally Static Operation • Pin Compatible With 2716 EPROM • Fully TTL Compatible • 400 mV Noise Immunity on Inputs • Three-State Outputs for Wire-QR Expansion • 2708/2716 EPROMs Accepted as Program Data Inputs • Three Programmable Chip Selects DESCRIP"OON The MOS Technology 2316 is a 16,384-bit Static; Read-Only Memory organized as 2048 x 8 bits. It features a fast access time (350 ns, maximum)., It is designed to be compatible with all microprocessor and similar applications where high performance, large bit storage capadty and simple interfadng requirements are important design considerations. The 2316 operates totally asynchronously; no clock input is required. With three programmable chip select inputs, eight 16K ROMs can be OR-tied with no need for external decoding logic. Designed to replace two 2708 8K EPROMs, the 2316 can eliminate the need to redesign printed drcuit boards for volume mask-programmed ROMs after prototyping is completed with EPROMs. PIN CONRCURAnON BLOCK DIACRAM 01 2316 A3 02 A7 VCC A4 ct: w 163 S 4 As Aa A5 0 0 BIT Ag II °4 A5 A6 w CS3/CS3 0 CELL °5 A4 A7 A3 CS1/CSI 3: ARRAY 06 AS 0 ct: A2 AIO 07 Ag AI CS2/CS2 Os Ao Oa 01 07 02 Os 03 05 C52 GND 04 Aa AI A2 Ala 2-106 2316 DC CHARACTERISTICS TA = O°C to +70°C, Vee = 5.0 V ±5% (unless otherwise specified) Symbol Parameter Min Max Units Test Conditions leel Power Supply Current 100 rnA VIN = Vee, Va = Open, TA = O°C leC2 Power Supply Current 95 rnA VIN = Vee, Va = Open, TA = 25°C 10 Output Leakage Current 10 }LA Chip Deselected, Va = 0 to Vee II Input Load Current 10 }LA Vee = Max. VIN = 0 to Vee Val Output Low Voltage 0.4 Volts Vee = Min. 10l = 2.1 rnA VOH Output High Voltage 2.4 Volts Vee = Min. 10H = -400 }LA Vll Input Low Voltage -0.5 0.8 Volts See note 1 VIH Input High Voltage 2.0 Vee +1 Volts AC CHARACTERISTICS TA = O°C to +70°C, Vee = 5.0 V ±5% (unless otherwise specified) Symbol Parameter Min Max Units Test Conditions tAee Address Access Time 450 ns teo Chip Select Delay 200 ns See Note 2 tOF Chip Deselect Delay 175 ns tOH Previous Data Valid After 40 ns Address Change Display CAPACITANCE TA = 25°C, f = 1.0 MHz, See Note 3 Symbol Parameter Min Max Units Test Conditions YN Input Capacitance 8 pF All Pins except Pin under Test Tied to COUT Output Capacitance 10 pF AC Ground Notes 1. Input levels that swing more negative than -0.5 V will be clamped and may cause damage to the device. 2. loading 1 TIL + 100 pF, input transition time: 20 ns. Timing measurement levels: input 1.5V, output 0.8V and 2.0V. 3. This parameter is periodically sampled and is not 100% tested. ABSOLUTE MAXIMUM RATINGS Ambient Temperature Under Bias 0° to +70°C COMMENT Storage Temperature -65°C to +150°C Stresses above those listed under "Absolute Maximum Rat- Supply Voltage to Ground Potential -O.5v to +7.0V ings- may cause permament damage to the device. This is Applied Output Voltage -0.5V to +7.0V a stress rating only and functional operation of the device Applied Input Voltage -O.5V to +7.0V at these or any other conditions above those indicated in Power Dissipation 1.0W the operational sections of this specification is not implied. 2-107 2316 TIMING DIAGRAM f t ADDRESS INVALID VALID INVALID INPUTS CHIP I I SE LEC T DISABLED I 1/ ENABLED I DISABLED - INPUTS I tco _ -.j tOHI+- ... tDF I+-- DATA OUTPUTS HIGH I (INVALID)'" VALID KINVALID HIGH IMPEDANCE IMPEDANCE ~ t ACC TYPICAL CHARACTERISTICS ACCESS TIME vs. ACCESS TIME vs. SUPPLY VOLTAGE CAPACITATIVE LOAD 500 500 400 400 300 ~ 231111 ../" IACC 300 (nS) (n S) TA, 25°C VCC,4.75V I TTL LOAD TA,25°C 200 200 I TTL LOAD r - CL,IOOPF, 100 100 3 4 5 6 7 100 200 300 400 500 Vee (V) C L (pF) SUPPLY WRRENT vs. SUPPLY WRRENT vs. AMBIENT TEMPERAlURE SUPPLY VOLTAGE 140 100 120 .0 ICC ICC Vee = 5.25V 100 aD (mA) (mA) 80 70 ~ ~ ...... 60 60 a 20 40 60 80 3 4 5 6 7 TA AMBIENT TEMPERATURE °C Vce (V) 2-108 commodore semiconductor group NMOS 2332 Static ROM (4096 x 8) 2332 2332A 2332B Maximum Access Time 450 ns 350 ns 300 ns • Access Time Less Than 350ns • Single 5V Power Supply • Totally Static Operation • Pin Compatible With 2716 & 2732 EPROMs • Fully TTL Compatible • 400mV Noise Immunity on Inputs • Three-State Outputs for Wire-OR Expansion • 270812716 EPROMs Accepted as Program Data Inputs • Two Programmable Chip Selects DESCRIPTION The MOS Technology 2332 is a 32,76B-bit Static Read-Only Memory organized as 4096 x B bits. It features fast access time (450 ns maximum with the 2332, 350 ns maximum with the 2332A). The 2332 is designed to be compatible with all microprocessor and similar applications where high performance, large bit storage capacity and simple interfacing requirements are important design considerations. The 2332 operates totally asynchronously; no clock input is required. With two programmable chip select inputs, four 32K ROMs can be OR-tied with no need for external decoding logic. Designed to replace two 2716 16K EPROMs, the 2332 can eliminate the need to redesign printed circuit boards for volume mask-programmed ROMs after prototyping is completed with EPROMs. PIN CONFIGURATION BLOCK DIAGRAM A4 01 2332 02 A5 Il:: A7 VCC Il:: w AS w 32768 u. 03 u. As As 0 ~ A5 Ag A7 0 u w BIT In °4 AS 0 CELL °5 A4 CS2/CS2 f- OJ CSI/CSI A9 3 ARRAY CI. 06 A3 0 f- Il:: ~ A2 AIO A IO 0 °7 AI All Al1 08 AO 08 °1 07 CSI CS2 02 Os 03 °5 GND 04 AO AI A2 A3 2-109 2332 DC CHARACTERISTICS TA = O°C to +70°C, Vee = 5.0 V ± 5% (unless otherwise specified) Symbol Parameter Min Max Units Test Conditions lee1 Power Supply Current 125 rnA VIN= Vee, Va = Open, TA = O°C leo Power Supply Current 120 rnA VIN= Vee, Va = Open, TA = 25°C 10 Output Leakage Current 10 pA Chip Deselected, Va = 0 to Vee II Input Load Current 10 p.A Vee = Max. VIN = 0 to Vee VOL Output Low Voltage 0.4 Volts Vee = Min. IOL = 2.1 rnA VOH Output High Voltage 2.4 Volts Vee = Min. 10H = -400 pA V IL Input Low Voltage -0.5 0.8 Volts See note 1 V IH Input High Voltage 2.0 Vee +1 Volts AC CHARACTERISTICS TA = O°C to +70°C, Vee = 5.0 V ± 5% (unless otherwise specified) 2332 2332A Symbol Parameter Min Max Min Max Units Test Conditions tAee Address Access Time 450 350 ns teo Chip Select Delay 200 200 ns See Note 2 tOF Chip Deselect Delay 175 175 ns tOH Previous Data Valid After Address Change Display 40 40 ns CAPACITANCE TA = 25°C, f = 1.0 MHz, See Note 3 Symbol Parameter Min Max Units Test Conditions CIN Input Capacitance B pF All Pins except Pin under Test Tied to Cour Output Capacitance 10 pF AC Ground Noles 1. Input levels that swing more negative than -0.5 V will be damped and may cause damage to the device. 2. Loading 1 m + pF. input transition time: 20 ns. Timing measurement levels: input 1.SV. output 0.8V and 2.0V. ~ = 100pF. 3. This parameter is periodically sampled and is not 100% tested. ABSOLUTE MAXIMUM RATlNCiS Ambient Operating Temperature 0° to +70°C COMMENT Storage Temperature -65°C to +150°C Stresses above those listed under "Absolute Maximum Rat- Supply Voltage to Ground Potential -0.5V to +7.0V ings'may cause permament damage to the device. This is Applied Output Voltage -0.5V to +7.0V a stress rating only and functional operation of the device Applied Input Voltage -0.5V to +7.0V at these or any other conditions above those indicated in Power Dissipation 1.0W the operational sections of this specification is not imp/ied. 2-110 2332 TIMING DIAGRAM ADDRESS INPUTS __'_N_V_A_L'_D___ ~~_______V_A_L_'_D_________~~____'N_V_A_L_'_D_________ CH IP I SELECT DISABLED I V ENABLED I ~I'.. DISABLED - INPUTS I fCO ~fOH~. f D F i DATA HIGH I {INVALID> VALID KINVALID ,. HIGH OUTPUTS IMPEDANCE IMPEDANCE ~ f ACC TYPICAL CHARACTERISTICS ACCESS TIME vs. ACCESS TIME vs. SUPPLY VOLTAGE CAPACITATIVE LOAD 500 500 400 400 300 t".... t Ace 300 ~~ TA'25O~~ (nS) (nS) ",- VeC,4.75V I TTL LOAD TA'Z5°C 200 ~ CL,'00PF 200 I TTL LOAD - 1 100 100 I I 3 4 5 6 7 100 zoo 300 400 500 Vee (V) SUPPLY CURRENT vs. SUPPLY CURRENT vs. AMBIENT TEMPERATURE SUPPLY VOLTAGE 140 IZO 120 110 _ I TA '25°C V ICC (mA) 100 80 -- "'"- Vee' 5.25V 2332 ICC (mA) 100 90 V ./ V ~?>?>'2. ./' 60 89 o 20 40 60 80 3 4 5 6 7 TA AMBIENT TEMPERATURE °c Vee (V) 2-111 commodore semiconductor group NMOS 2364 Static ROM (8192 x 8) 2364 2364A 2364B Maximum Access Time 450 ns 350 ns 300 ns • Access Time 450 ns and 350 ns • Single 5V Power Supply • Totally Static Operation • Pin Compatible With 2716 & 2732 EPROMs • Fully TTL Compatible • 400 mV Noise Immunity on Inputs • Three-State Outputs for Wire-OR Expansion • 271612732 EPROMs Accepted as Program Data Inputs • Programmable Chip Select DESCRIPTION The MOS Technology 2364 is a 65, 536-bit Static Read-Only Memory organized as 8192 x 8 bits. It features fast access time (350 ns maximum). It is designed to be compatible with all microprocessor and similar applications where high performance, large bit storage capacity and simple interfacing requirements are important design considerations. The 2364 operates totally asynchronously; no clock input is required. With one programmable chip select input, two 64K ROMs can be OR-tied with no need for external decoding logic. Designed to replace two 2732 EPROMs, the 2364 can eliminate the need to redesign printed circuit boards for volume mask-programmed ROMs after prototyping is com- pleted with EPROMs. PIN CONFIGURATION BLOCK DIAGRAM AS 01 2364 A6 0:: 02 A7 VCC 0:: LIJ A7 w 65536 LL 03 A6 AS 0 LL ::J 0 BIT A5 Ag AS u CD °4 LIJ A4 Ag 0 CELL °5 A12 I- ::J A3 CS,/CS, A 10 ~ ARRAY 11. 06 0 I- 0:: ::J A2 A,O A11 0 °7 A, All A12 08 AO Os 0, 07 02 06 CSI 03 °5 GND 04 AO A1 A2 A3 A4 2-112 2364 DC CHARACTERISTICS TA = O°C to +70°C, Vee = 5.0 V ± 5% (unless otherwise specified) Symbol Parameter Min Max Units Test Conditions lee1 Power Supply Current 125 mA V IN = Vee, Vo = Open, TA = O°C leG Power Supply Current 120 mA VIN = Vee, Vo = Open, TA = 25°C 10 Output Leakage Current 10 /LA Chip Deselected, V0 = 0 to Vee II Input Load Current 10 /LA Vee = Max. VIN = 0 to Vee VOl Output Low Voltage 0.4 Volts Vee = Min. 10l = 2.1 mA VOH Output High Voltage 2.4 Volts Vee = Min. 10H = -400 /LA V il Input Low Voltage -0.5 0.8 Volts See note 1 VIH Input High Voltage 2.0 Vee +l Volts AC CHARACTERISTICS TA = O°C to + 70°C, Vee = 5.0 V ± 5% (unless otherwise specified) 2364 2364A Symbol Parameter Min Max Min Max Units Test Conditions tAce Address Access Time 450 350 ns tco Chip Select Delay 200 200 ns See Note 2 tOF Chip Deselect Delay 175 175 ns tOH Previous Data Valid After Address Change Display 40 40 ns CAPACITANCE TA = 25°C, f = 1.0 MHz, See Note 3 Symbol Parameter Min Max Units Test Conditions CIN Input Capacitance 8 pF All Pins except Pin under Test Tied to COUT Output Capacitance 10 pF AC Ground Notes 1. Input levels that swing more negative than -0.5 V will be clamped and may cause damage to the device. 2. Loading 1 TTL + pF, input transition time: 20 ns. Timing measurement levels: input l.SV, output O.BV and 2.0V. CL = 1OOpF. 3. This parameter is periodically sampled and is not 100% tested. ABSOLUTE MAXIMUM RATINGS Ambient Operating Temperature 0° to +70°C COMMENT Storage Temperature -65°C to +150°C Stresses above those listed under 'Absolute Maximum Rat- Supply Voltage to Ground Potential -O.5V to +7.0V ings'may cause permament damage to the device. This is Applied Output Voltage -0.5V to +7.0V a stress rating only and functional operation of the device Applied Input Voltage -0.5V to +7.0V at these or any other conditions above those indicated in Power Dissipation 1.0W the operational sections of this specification is not implied. 2-113 2364 TIMING DIAGRAM ADDRESS INPUTS __ 1_N_V_AL_I_D~>tC____~___V_A_L_ID__________~______IN_V_A_L_ID__________ CHIP I SELECT IN PU T S DISABLED I "\V ENABLED I "\" DISABLED I - I ICO ~IOH~. I D F j DATA HIGH HIGH OUTPUTS /INVALID )< VALID KINVALID ... IMPEDANCE ~ IMPEDANCE I ACC TYPICAL CHARACTERISTICS ACCESS TIME vs. ACCESS TIME vs. SUPPLY VOLTAGE CAPACITATIVE LOAD 500 500 ...--- '4 - ~ 400 400 tAee ~~ t Aee 300 300 ( "S) (nS) i I TA: 25·C vCC: 4.75V I TTL LOAD TA: 25·C 200 ~ CL 100PF 200 I TTL LOAD -- 100 100 I I 3 4 5 6 7 100 200 300 400 500 VCC (V) C L (pF) SUPPLY CURRENT vs. SUPPLY CURRENT vs. AMBIENT TEMPERATURE SUPPLY VOLTAGE 140 110 120 110 I f--- TA : 25° C ICC VCC' 5.25V ICC / --- 100 100 ./ "- -p'Of>. (rnA) 80 2364 (rnA) 90 V' / 60 S9 0 20 40 60 80 3 4 5 6 7 TA AM81ENT TE MPERATURE ·c Vce (V) 2-114 Section 3 CMOS commodore semiconductor group CMOS FR2060 Alarm Watch With Snooze Stopwatch And Timer • 24 Hours Settable Countdown Timer or ... • 32768 Hz Quartz Crystal Operation • 6 to 8 Digit Stopwatch (Autorange Capability in 6D • Power-Up Reset Versions) • On-Chip Oscillator Resistors • Daily Alarm with Snooze-5 Minute Repeatable • High Speed Test Capability ReminderITimer • Designed For Use with Industry Standard Biplexed LCD • Executive Alarm Warning Displays • Alarm Feature Can be Set to Any Minute of the Day • Multi-Tone Sound Outputs • Many Display Formats Available with 6 to 8 Digits and • Lithium Battery Supply Option Day Flags • Chime Option • 4 Year "Smart" Calendar • 7 Flag Day of the Week Indicators and Timer, • Two Button Control of All Alarm Time, Normal Func- Stopwatch and Alarm Flags tions and Backlight • Alarm and Lamp Test (Simultaneous Switch • Third Button Used ONLY When Accessing Timer or Depression) Stopwatch • Efficient Voltage Doubler • One Touch ± 30 Second Error Correction • Option for 12 or 24 Hour Time Display • Simple Setting Procedures • Option for Month Date or Date Month Display • Single 1.5 V Battery Operation • Backlight/Function Switch Combination Option • Low Power Dissipation DESCRIPTION The FR2060 is a programmable CMOS/LSI circuit which contains all the logic necessary to implement a multi-function 6 or 8 digit biplexed liquid crystal display alarm watch with countdown timer and stopwatch. This device is fabricated with low-threshold, lon-implanted CMOS metal gate technology for low voltage, low power operation. The circuit contains an oscillator-amplifier with an internal feedback resistor for use with 32768 Hz quartz crystals. The circuit operates from a single 1.5 volt battery and contains internal voltage multiplying circuitry that can be connected as a voltage doubler with a minimum of external components. Three switch inputs are required to control all operations. These switch inputs have pull-down resistors and debounce by internal circuitry. Date/Month and 24 Hour mode options are also provided. Switch control and display functions have been designed for flexibility and ease of operation. WATCH OPERATION: B. Within any of the above states, 52 (,Set Button-) is The FR2060 has been designed with sufficient program- basically used to select the information to be ming in its display circuitry to allow interfacing with almost changed: any common 6 to 8 Digit dual backplane multiplexed LCD 1. In the Normal display state 52 is used to select display including Day of Week and numerous indicator Alarm or Real time for setting. flags. 2. In the Timer state, 52 is used for selecting the timer counters to be set. The following discussion outlines the operation of a 6-digit 3. In the Chronograph state, 52 controls the display multi-function watch followed by a description of an of the stopwatch vs. lap/Split time. 8-digit multifunction version. The programmability of the C. 51 ('Display Button-) is used to control the display FR2060 switch and display controls allows this diversity. options in the Normal display state as well as to con- trol the actual changing of watch date as follows: Referring to Figure 1, note the following basic guidelines 1. In the Normal display state 51 controls the for the operation of the FR2060 6 Digit version: arming/disarming of the Alarm as well as the incrementing of timekeeping counters when A. 53 (,Select Button-) is used as a selection switch to setting. choose between the following states: 2. In the Timer state 51 is used for setting the de- 1. Normal time display with Alarm sired countdown time as well as for start/stop. 2. Countdown Timer set/display 3. In the Stopwatch state 51 is used for controlling 3. Chronograph (Lap or Split Mode) start/ stop. 3-1 FR2060 NORMAL DISPLAY STATE-6 DIGIT WATCH The next push of the Set Button will cause the display of The normal display for the watch is: Hours: Minutes Sec- Hours: Minutes Seconds with Seconds flashing. 51 depres- onds or Hours: Minutes Date. sion will zero seconds; if Sec 2::: 30, Minutes will also ad- vance by 1. One push and release of the 'Display" Button (51) will display Month and Date for 3 seconds. If the display but- The next push of the Set Button causes the display of ton is held depressed for longer than 3 seconds, Hours: Hours: Minutes (actual time) with an 'K or 'P" signifying Minutes Date will replace Hours: Minutes Seconds, or vice AM or PM. The hour flashes and is advanced in the same versa. way as other data. One of the seven day flags will indicate day of the week in The next push of the Set Button causes units of Minutes to all of the above modes. flash with seconds counting. Units of minutes are ad- vanced as above. Two sequential depressions of 51 will display Alarm time, and three depressions will alternately arm/disarm the The next push of the Set Button causes units of Minutes to Alarm. flash with seconds counting. Units of minutes are ad- vanced as above. SETTING (Normal Display State) Depressing the Set Button (52) one time will cause no The last push of the Set Button places the watch in the action, however two successive depressions of the 52 will normal display without altering the seconds count. place the watch in the Alarm set mode. Alarm Hours: Minutes will appear with an 'K (AM) or 'P" (PM) indication Note that Alarm time is always distinguishable from actual in the right most position. The Alarm Hours will be flashing time by the fact that ALL Alarm time displays have a and will advance with each depression of the 'Display" 3 second timeout feature which returns the watch to nor- Button or at a 2 Hz rate if the button is held. The display will mal time mode. return to normal mode 3 seconds after the last Set or Display input. ALARM OPERATION (Normal Display State) Two presses of the display button within 3 seconds will The next push of the Set Button before the 3 second cause the Alarm Time (Hours: Minutes, AM or PM) to be timeout will cause the Alarm tens of Minutes to flash. displayed for 3 seconds. Alarm tens of Minutes are advanced as above. The display will return to normal 3 seconds after the last Set or Display A third push of the display button within 3 seconds will input. cause the alarm to change state from armed to disarmed or disarmed to armed. When the alarm is armed a flag The next push of the Set Button before the 3 second appears in the display. timeout will cause the Alarm units of minutes to flash. Alarm units of minutes are advanced as above. The display When the alarm is armed and the real time matches the will return to normal 3 seconds after the last Set or Display' alarm time, the alarm output will 'beep" once; 3 and % input. seconds later the alarm will beep at 1 Hz intervals for 26 seconds. A single push of the 51 button will cause the The next push of the Set Button will cause 'CH" to display. alarm to enter a 5 minute 'snooze" mode. The snooze If flashing, the Chime option is enabled, otherwise it is off. may be repeated as many times as desired. Once the Depressing 51 will alternate the Chime status. The display Alarm turns on, the Snooze feature may thus be used as a will retum to normal 3 seconds after the last Set or Display 5 minute reminder/timer until disarmed. Two pushes of input. the display button (within 3 seconds) while the alarm is sounding will cancel the alarm. The alarm stays armed and The next push of the Set Button before the 3 second will sound again in 24 hours. timeout will display Month Date Day with Month flashing. The month is advanced with 51 as above. There is NO TIMER STATE automatic timeout return from this or any of the following Depressing the Select Button (53) one time will place the set states. watch in the last timer mode used. The timer will be in whatever state it was left in when this mode .was last The next push of the Set Button will cause the Date to exited. flash; the Date is advanced as above. Timer state is indicated by the presence of the Timer flag. The next push of the Set Button will cause the Day to flash. The Day of the week is advanced in the same manner as In Timer state one push and release of the Set Button (52) the month. will place the watch in the Timer Set mode. Timer Hours: 3-2 FR2060 Minutes Seconds will be displayed. The Timer Hours will again will transfer the current Stopwatch time to the dis- be flashing and will advance with each depression of the play and restart the internal counter from zero. If the display button or at a 2 Hz rate if the button is held. Stopwatch is stopped, pushing 52 will zero its contents. The next push of the Set Button will cause the Timer tens The colon is used as a stopwatch running/stopped indica- of minutes to flash. Timer tens of minutes are advanced as tor. The colon flashes at a 1 Hz rate when the internal above. stopwatch is running and is steady when the counter is stopped. After the next push of the Set Button Timer units of min- utes will flash. Timer units of minutes can then be ad- Exit the Stopwatch state by 53 button depression to return vanced as above. to normal display. The next push of the Set Button will cause Timer tens of WATCH OPERATlON-8 Digit Display seconds to flash. The timer tens of seconds are advanced The normal display for the 8-digit watch is: Hours: Minutes as above. Seconds Date and Day Flags (Refer to Figure 2). Also active in this state are the following flags: PM, Alarm, Timer, After the next push of the Set Button Timer units of sec- Chrono, Date and Chime. onds will flash. Timer units' of seconds can then be ad- vanced as above. A single depression of 51 will display the Alarm Hour: Minutes with the letters -AL- to denote that Alarm infor- The next push of the Set Button will stop the flashing. The mation is being displayed. A double depression of 51 will timer is then ready to count down from the time displayed. toggle the Alarm status between armed and disarmed. The Pushing the Display Button will start the timer. When the Alarm Flag is on when the Alarm is armed. The automatic timer reaches zero the alarm -beep- will be activated. 3 second return will occur in each of the above cases. While the timer is displayed and counting down the Dis- play Button can be used to stop and restart the timer. When the timer reaches zero and beeps the Display But- SETTING ton is used to deactivate the timer. If there is no deactiva- The switch controls operate in a manner similar to the tion the timer will automatically go into SW mode and 6 digit version previously described. Depressing 52 twice begin counting up from zero. This will occur even if the will place the watch in the alarm set mode with Hours: timer mode has been exited and the watch is displaying Minutes -K or -P- and -AL- showing. Hour and -K or -P- normal time. Exit timer state by 53 Button depression. will be flashing and Alarm Hours will advance with each 51 depression. The watch will return to normal mode 3 sec- STOPWATCH STAIE onds after the last 51 or 52 input. Stopwatch state is indicated by the flashing of the Stopwatch flag. In Lap mode the word -LAP- will be dis- Another push of 52 before the timeout will cause the played, and in the Split mode -SPL- will be displayed. Upon Alarm tens of Minutes of flash. This data is advanced by entering this state, by holding 53 depressed the watch will 51 as above. toggle between LAP and SPLIT modes. Release 53 for de- sired mode. The next push of 52 will cause the Alarm units of Minutes to flash. This is advanced as above. Upon entering the Stopwatch state, the contents of the Stopwatch are displayed. The mode of the Stopwatch The next push of 52 before the timeout will cause -CH' to (LAP vs. SPLIT) is that of the previol.!s control sequence. In display. Depressing 51 will alternate the Chime status be- this state 51 (Display Button) is used to start or stop the tween on and off. Flashing -CH- indicates Chime enabled. Stopwatch and 52 (Set Button) is used to control Stopwatch vs. Lap/Split time display as well as Stopwatch The next push of 52 before the timeout will display Hour: reset. Minutes, Seconds with Seconds flashing. 51 depression will zero Seconds; if Seconds equal or exceed 30, Minutes will In the SPLIT mode if the stopwatch is running pushing 52 also advance by 1. will freeze the displayed time in the display. Internally the stopwatch continues to count; pushing 52 again will cause Subsequent pushes of 52 access the Real Time Hours, the display to show the counting stopwatch. If the Minutes (tens and units), Month, Date, then Day of Week Stopwatch is stopped pushing 52 will zero the Stopwatch. set states. In each case the data to be set flashes and is incremented by 51 depressions. In the LAP mode if the Stopwatch is running, pushing 52 will freeze the display time in the display. Internally the From the Set Day mode, 52 causes the return of normal Stopwatch will zero and start counting again, pushing 52 time display. 3-3 FR2060 From the normal time display mode, 53 is used to select also similar excepting that Hours: Minutes Seconds 11100 either the Timer or Stopwatch state as described previ- are shown in the 8 digit version and no auto ranging is ously. The operation within the Timer state is essentially required. identical to the 6 digit version. The stopwatch operation is FR2060 STATE DIAGRAM NORMAL DISPLAY STATE (INeL ALARM 'CO) , " ~ I ,. ... ALARM DAYS FLAGS ALWAYS ACTIVE (NOT ALWAYS SHOWN IN DIAGRAMS) ON S~l____~---.~.~.~.~.~.~.L-~ r------- ------1'- - - -----1' I L -__,.-.~__~ I I I AL FLAG IF ARMEL MO DATE C> HR: MIN HR: MIN A/P SNOOZE AL DISPLAY AL ARM/DISARM I I I \ ,, - _-l- 'A~LA~R~M~~S~l-----L------,-----~ ON S2 (1ST) DASHED LINES S2 (2ND) SHOW 3 SECOND S2 USABLE FOR BACKLIGHT AUTOMATIC FLASHING TIMEOUT AL HR 1------- - - - - - - - ,/ ALMIN MONTH S2 CHANGES MODE DATE DAY Sl REAL HR S2 ,10- REAL MIN HR: MIN SECS (TENS) Sl (UNITS) Sl DEPRESS S3 TO GO TO TIMER STATE 3-4 FR2060 TIMER STATE S3 FROM NORMAL DISPLAY STATE TIMER S2 HR: MIN SEC (TIMER RUN) ZEROED S1 S1 5MIN TIMER S2 HR: MIN SEC (TIMER STOP) DISARM TIMER S1 S1 (TENS) SET TIMER S3 TO STOPWATCH STATE NOTE Either Timer or Stopwatch May Be Active But Not Simultaneously. 3-5 FR2060 STOPWATCH STATE S3 FROM TIMER STATE HOLD S3 3 SECS LAP SPL HOLD S3 3 SECS S1 S1 S1 S3 RElURN TO NORMAL DISPLAY STAlE NOTES 1. The NPN pad may be used to drive the base of an NPN transistor when used with a coil for amplified sound output. Direct drive on the piezo is accomplished using Al an Ai: (Ref. Fig. 2) 2. Al+ and Al- define the sense of the alarm input, i.e., if the alarm is normally low but goes high when the alarm sounds, connect Al + to the alarm output from the watch chip. If Al is normally high, then connect Al-. 3-6 FR2060 FR2060 STATE DIAGRAM 8-DIGIT ....... ....... ....... DAY FLAGS ALARM TIME ALARM TIME HR: MIN SEC S1 HR: MIN AlP S1 HR~ MIN AlP ~ FLAGS DATE [CD AL AL L ___ - NORMAL DISPLAY STATE - - --~~ - -- - - - - \--;~~ AL STATUS S2 S2 S2 ALHR SET ,\J.,.. , \ • i;- AlP ;---- AUTO ... .... \'U AlP REAL TIME MIN (TENS) SET HR: MIN TIMEOUT HR: MiN AL I / S1 SI ....,I,·.. S2 S2 ALMIN ,\I~ AlP (TENS) SET 1-------') HR: MIN HR: MIN AlP I AL / S1 S1 S2 ....... S2 AL MIN ,I, AlP I- - --j ,\ I I , (UNITS) SET HR: MIN MO /' AL / DT S1 S1 S2 S2 .... .. . CHIME STATUS /H I----~ MO , \ ' .t... D~ S1 S1 S2 52 REAL TIME ....... ,,\ I", DAY . .. · ., .. , , , , , SEC SYNC HR: MINSE~ MO ~ I- S1 DT 51 S2 REAL TIME ...,. ...' .'" .... '" 52 HR SET HR: MIN ....AlP / S3 ) S~ TO OTHER STAT ES AS IN 6D VERSI ON Figure 2 3-7 commodore semiconductor group CMOS FR2080 Low Power CMOS Musical Tune Chip • Gate Programmable up to 254 Notes of Tune (s) • Oscillator Tuning Capacitors • Prolonged Note Capability • Low Standby Cur;ent • 3 Octave Range • Interfaceable with Many Common Alarm Watch Chips • Direct Piezo Transducer Drive or Drive for NPN • Small Size Transistor-Coil DESCRIPTION The FR2080 is a low power 1.5 volt CMOS/LSI circuit which contains all the logic necessary to implement a musical alarm for an electronic watch, music box, or other musical application. The circuit is designed to drive a piezo electric transducer or a coil-transducer combination directly from the chip. In addition to the sound generation circuitry the chip includes a selection of bonding pads with fixed capacitor values which may be used to tune a 32KHZ crystal oscillator. FUNCTIONAL DESCRIPTION A selection of on-chip caps surround the oscillator pins The FR2080 is a small musical tune chip which has been allowing the user to selectively eliminate discrete fixed designed to operate utilizing a 32KHZ time base. In an tuning capacitors and perhaps even the trim cap. Signifi- alarm watch, the chip derives its timing by accepting a cant module cost and size savings may be realized by 32KHZ oscillator waveform from the timekeeping chip. utilizing this circuitry. While in a stand-alone application such as a music box, the timing is generated by using a 32KHZ crystal. MUSICAL DETAILS The FR2080 uses a 32KHZ time base to generate its notes. In an alarm watch the musical alarm may be implemented The range of notes available are: by as few as 7 signals as shown in Figure 2. Whenever the main chip energizes its Alarm Output, that signal enters the Bc _ _ _ _ _ bc' _ _ _ _ _ b'c· _ _ _ _ _ a' FR2080 and causes the chip to begin sequencing through its programmed tune (s). C IN SECOND OCT AVE BELOW MIDDLE C The user shuts the alarm off via a single or multiple switch depression (s). If no switch is energized during the tune, MIDDLE A F MIDDLE A f: 431 Hz the entire melody will be played to conclusion and the chip will return to its quiescent state. Note that the quiescent TOTAL OF 36 NOTES SPANS IDD is quite low. APPROXIMATELY 3 OCTAVES Once triggered the entire tune will be played unless inter- Buffers on the chip allow for direct driving of a piezo rupted by a switch input which will reset the circuit. device. This is advantageous in that piezo voltage feedback to the main timekeeping circuit is eliminated. A tentative pinout is shown in Figure 1. 3-8 FR2080 '"w Ol OJ . .. PINOUT OF 2080 OJ !" ~ '" '" :.. Ol '" Ol '"to .... .... 'f I 'I"" '" ex> I '" ~~~~ 20p![;;] B [m~G lOp! 4 pi 3 p! 2p! IN IN 83.3 83.3 I-vssl 76.0 73.8 ITE2STI B 68.9 66.5 losCI 61.6 IN INPNI B 54.4 FR 2080 90 MILS X 90 MILS 42.3 losc OUT I 35.5 ~30p! 28.2 ~20 p! 21 ~lOp! 13.7 B 6.5 I1 TES +0 ~ 6.7 0 5.7 84.5 MILS NOTES 1. The NPN pad may be used to drive the base of an NPN transistor when used with a coil for amplified sound output. Direct drive on the piezo is accomplished using Al an Ai: (Ref. Fig. 2) 2. Al + and Al- define the sense of the alarm input, i.e., if the alarm is normally low but goes high when the alarm sounds, connect Al + to the alarm output from the watch chip. If Al is normally high, then connect AL-. Figure 1 TYPICAL INTERCONNECTION OF 2080 WITH A WATCH CURCUIT I ~ PIEZO 0 Sl ALARM OUTPUT 0 I o AL+ ITI ODD 0 .1 OPTIONAL LOUD ALARM CKT f~I'w I OR Sl VSSAL AI WATCH CIRCUIT I L __ OAL- 0 - - 2080 NPN + V - O+VDD OSC OSC OUT +VDD OUT 0 -VSS 0 I I Figure 2 3-9 FR2080 ABSOLUTE MAXIMUM RATINGS Operating Temperature 00 to 70°C Storage Temperature 25°C to 85°C Voltage Any Pin V DD +.3VtoV ss -.3 V Supply Voltage (VDD - V SS) 2.0 V ELECTRICAL SPECIFICATIONS TA = 25°C; Fosc = 32,768 KHz; V DD = 1.6 V (Unless otherwise indicated) Symbol Parameter Min Typ Max Unit Test Conditions V DD Power Supply Voltage 1.30 1.5 1.7 Volt IDD Power Supply Current 0.2 0.5 IlA Standby mode IAL Alarm Output Current ±2 MA V DD = 1.5 V, V SAT = 7 V (push-pull) liN Switch Input Current -5 -25 IlA V IN = V DD VStart Oscillator start Voltage 1.3 Volt osc. (Stand alone mode) Switch Debounce 62.5 mS INPN NPN Output Buffer current ±20 Il A V DD = 1.5 V, VS AT = -7 V 3-10 commodore semiconductor group CMOS FR2222 5 Function 3~ Digit Biplex LCD Watch Circuit • 5 Function Watch-Hours, Minutes, Seconds, Month • Efficient Voltage Doubler and Date • Simple Operating and Setting • Biplex LCD Display Drive • Single Input High Speed Test Capability • On Chip Oscillator Components • 32768 Hz Quartz Crystal Operation • Low Power Dissipation • Small Die Size • 4 Year Calendar • Date Flag DESCRIPTION The FR2222 is a CMOS/LSI circuit containing all the logic necessary to implement a five function watch interfaceable with a dual backplane mUltiplexed LCD display. The unique arrangement of the signals and the small die size allow for design and manufacture of extremely thin and compact watch modules. The device is fabricated with low threshold, lon-implanted CMOS metal gate technology for proven and reliable low power operation. The circuit contains an oscillator amplifier with internal feedback resistor elements for interfacing to 32768 Hz quartz crystals. The chip operates from a single 1.5 volt battery and contains an internal voltage doubler which operates with minimal external circuitry. OPERATION The next push of the Set Button causes the Date to Flash. The normal continuous display of the watch is Hours: Date is advanced in the same manner as Month. Minutes. The next push of the Set Button displays the Hour, with an If the Display Button is pushed and released, Month and -A" or -P' signifying AM or PM. Hour is advanced in the Date will be displayed for approximately 1.5 seconds, then same manner as Month. return to Hours: Minutes. If the button is pushed twice, Month and Date will be replaced by: Seconds. One further The next push of the Set Button displays Hours: Minutes, depression of the Display Button will return Hours: Minutes with the Minutes flashing. The Display Button advances to the display. Minutes in the same way as previously described. If Min- utes are advanced, the watch stops counting, all displays SETTING retain the numbers as set, with the exception of Seconds, To set one or more timekeeping modes of the watch, the which is reset to -00'. The last push of the Set Button Set Button must be depressed. Month Date will now be restores normal counting from zero seconds. In this way, displayed with Month flashing. To change the Month, the the watch may be synchronized with a time standard by Display Button is pushed and held; Month will automati- the user. If Minutes were not advanced, the last push of cally increment at a 2Hz rate. If the Display Button is the Set Button restores the normal Hours: Minutes display pushed and not held, the Month will be incremented each without altering the seconds count. time the button is pushed. 3-11 FR2222 COORDINATES OF PADS FOR FR2222IN MICRONS 83 432 714 900 1182 1368 1643 1836 2237 1985 1985 1978 I1J [j]] 1798 SEG PIN 13 --~. 1612 W-SEG PIN 1 1612 1426 ~ FR2222 ~ 1426 108 !QI] - 93 X 83 MILS 466 IVEEI ~ 466 279 ~ (SPARE S2) [g 279 / 93 ~ ~ ffiZI 93 O~+---r-------+---+-----~--r---~ 83 179 938 1124 1179 2065 2251 (MICRONS) TO DISPLAY 2 BP & 13 SEGMENTS LCD SEG PIN BP1 BP2 1 K 1E 2 1F 10 FR2222 3 1G 1C 4 1A 1B +V OSCIN 5 COL 2E 6 2F 2D c:::J +V-j OSC OUT 7 2G 2C 8 2A 2B VEE S1 9 OFF 3E CAP 10 11 3F 3G 3D 3C T +vee C2 2 S2 12 3A 3B vee 13 FLAG (MO-DT) OFF NOTE e1 CI C2 .05 I'f TYP. -1.5V+ SEGMENT ASSIGNMENTS FR2222 SYSTEM DIAGRAM 3-12 FR2222 ABSOLUTE MAXIMUM RATINGS Operating Temperature O°C to 70°C Storage Temperatures 25°C to 85°C Voltage Any Pin Voo +3VtoVss - .3V Supply Voltage (Voo - Vss ) 2.0V ELECTRICAL SPECIFICATIONS TA = 25°C; Fosc = 32,768 KHz; Voo = 1.6 V (Unless Otherwise Indicated) Symbol Parameter Min Typ Max Unit Test Conditions Voo Power Supply Voltage 1.35 1.5 1.7 Volt 100 Total Power Supply Current 1.8 3.0 J.lA Doubler connected but unloaded VEE Double Output Voltage -1.15 -1.35 Volt lEE = 0.5 J.lA Voo = 1.35 liN Switch Input Current -5 -25 J.lA VIN = Voo VStart Oscillator Start Voltage 1.4 Volt osc. Switch Debounce 62.5 mS t---@@@@@@® 114- ~OOOOOOOOOOOOOOOOOOO l~JJ~~~~JJ~~~~~~~~J ... N N M M In ID ~ ,... co co ~ ~... ~ FR FR FR AN 2568 2268 2368 CD Gs - MON @ Fs - SUN Q) Hs - - @) AS - TUE ® Bs - WED ® F6 - - (J) A6 - - ® B6 AM - ® G6 PM - @ C6 - - @ )6 - PM @ D6 - - @ E6 - - @J Cs - SAT @ Ds - FRI @ )5 - - @ Es - THUR 3-17 commodore semiconductor group CMOS FR2668 LCD Watch Circuit • Display of Hours: Minutes-Seconds or • 32,768 Hz Quartz Crystal Operation Month-Date-Day • Power-Up Reset • 4 Year "Smart" Calendar • On-Chip Oscillator Resistors • Two Button Control of All Functions • High Speed Test Capability • Simple Setting Procedures • Designed For Use with Industry Standard 5 Y2 Digit • Single 1.5 V Battery Operation LCD Displays • Low Power Dissipation DESCRIPTION The FR2668 is a CMOS/LSI circuit which contains all the logic necessary to implement a six function, 5 1/2 digit liquid crystal display watch. This device is fabricated with low threshold, Ion implanted CMOS metal-gate technology for low voltage, low power operation. The circuit contains an oscillator-amplifier with an internal feedback resistor for use with 32,768 Hz quartz crystals. All die operate from a single 1.5 volt battery and contain internal voltage doubler circuitry which operate with a minimum of external components. Only two switch inputs are required to control all operations. These switch inputs have internal pull-down resistors and are debounced by internal circuitry. TIME AND DISPLAY SETTING week to flash. The day of the week is advanced in the The normal display for the watch is: Hours, Minutes, Sec- same manner as the month. onds. One push of the 'Display- button will display Month, Date, Day for 3 seconds before returning the watch to The next push of the 'Set- Button displays Hours, Minutes normal display. with an 'K or 'P- signifying AM or PM. The hour is ad- vanced in the same way as the month. Depressing the 'Set- Button will place the watch in the month set mode. Month, Date and Day will be display The next push of the 'Set- button displays Hours, Minutes with Month flashing. The month will advance with each with seconds counting and Minutes flashing. The 'Display- depression of the 'Display- Button at a 2 Hz rate if the button advances the minutes in the same way as the 'Display- button is held. month. If minutes are advanced, the seconds become '00- and hold until the last push of the 'Set- button which returns the watch to the normal time of day display with The next push of the 'Set- button causes the date to flash. seconds starting at the push of the 'Set- button. If minutes The date is advanced in the same manner as the month. were not advanced, the last push of the 'Set- button places the watch in the time of day display without altering The next push of the 'Set- Button causes the day of the the seconds count. ABSOLUTE MAXIMUM RATINGS Operating Temperature O°C to 70°C Storage Temperature 25°C to 85°C Voltage Any Pin V DD + .3 V to Vss - .3 V Supply Voltage (V DD - Vss) 2.0 V 3-18 FR2668 Electrical Specifications TA = 25°C; Fosc = 32,768 KHz; Voo = 1.6 V (Unless otherwise indicated) Symbol Parameter Min Typ Max Unit Test Conditions Voo Power Supply Voltage 1.35 1.5 1.7 Volt- 100 Power Supply Current 1.5 3 p,A Doubler Connected but unloaded = Voo 1.6 V VEE Doubler Output Voltage -1.3 Volt lEE = lilA Voo = 1.5 V liN Switch Input Current -5 -25 p,A VIN = Voo ('Display' or 'Sen VStart Oscillator Start Voltage 1.3 Volt osc. Switch Debounce 62.5 mS FR2668 SYSTEM r-----1>-----\ OSC OUT 32768 D HZ SEGMENTS OUTPUTS TO & LCD +---::::I---t'=---4-----t OSC IN BACKPLANE DISPLAY C2 FR2X68 CAP 120 x 134 MILS· 1 S1 DISPLAY C3 S2 CAP SET 2 C31 C4 = .02 Uf typo VDD + VEE 1.5V (NOM) '----------;VSS TC4 VDD NOTES L C, and C2 Match Chosen Crystal. 2. Care should be taken to insure that no light is allowed to strike die. Light wll increase 100 and may cause malfunction. A non-transparent black coating is typically used and recommended. 3-19 FR2668 PINOUT DIAGRAM N {.1 "I HR: MIN =CCCI I. § PM I 51 J 'I HR: MIN ~ _ DJ:,PM I 60 SEC HOLD SII _ . ALARM I DISPLAY ALARM I ARM-DISARM ALARM OFF 3 S~CS 1 r I " ALARM SOUND I 51 TIME OUT l ~-------' = :SEes ~ CD~' 1<- ----- _1 __ I~A.!'IM..!:D_ _ _ _ _1 PM I I ALARM OFF 5 MINUTE SNOOZE I S2 /I NORMAL ENABLED SET J, ALARM HR. \\"'\\"',, __ [[D - - - - --'l 1 HR:AorPj§ PM I MO DATE !§ CID I Sil SET S2 ALARM MIN SI 1 HR: MIN "", ~ ClJJ ~ PM I '-- DISABLE ALARM SNOOZE SI S2 ~ ~1 NOTES SET MONTH 1 HR:MIN I. All dashed lines represent 3 second timeout ,'''- = I:D:, 1 MODATE ~ J 2. 3. "'\~" CID Indicates flashing information Indicates alarm disarmed 51 ALAR~ DISARM ALARM 51 S2 an Indicates alarm armed (alarm flag is on) all Indicates alarm in either state I ~I 4. In normal mode 5'1 controls states HR:MIN § I "",,=co::'J' MODATE ~ S. In set mode 52 advances states and 51 increments flashing data 6. PM flag optionable; never on in any MO-DT-DAY state 7. Day flags always present; all day flags on except one for actual day 51 52 SET DAY which is OFF. l MO DATE ~ ,",I]JJ I II£] S2 51 SET TIME HR ISUNI l "I_,,,,,,,,=IJ~=' 1 HR: A orP § PM IMONI SI SET TIME MIN ITUEI CLEAR FOR IWEDI WEDNESDAY ~1 52 ITHUI I 52 RELEASES I SECS I F ZEROED 1 L ________ ......"'_______--+, !lill • I SAT I 3-22 FR2368 FRONTIER FR2X68 SERIES SYSTEM DIAGRAM f--~~----1 OSC OUT 32768 OUTPUTS TO OHZ SEGMENTS LCD DISPLAY & BACKPLANE OSCIN NOTE 3 C2 AL1 ALARM PIEZO c=J FR2X68 NOTE 2 120 x 134 MILS AL2 CAP 11---~ S1 DISPLAY C3 S2 SET CAP2 C3 1C4 = 02 uf typo VDD VEE + 1.5V (NOM) C4 VSS T VDD NOTES 1. C1 and C2 Match chosen. Crystal. For faster oscillator startup C2 should be adjusted to minimum capacitance setting. a 2. For louder alarm output the following circuit may be used to drive a ceramic resonator or magnetic speaker. Note frequency of alarm is 4 KHz. 3. Recommended commodore LCD displays: H J ,~ ~~ VDD VDD AL1 NPN \ \ Ii::] OR typ 0 ---------0-- vss FR2268 5017.5018 FR2368 5038 FR2568 5015.5040,5050. 4. As with all semiconductor devices, care should be taken to insure that no light is allowed to strike the die. Predictably light will increase IoD leakage and may cause malfunction. A non-transparent black coating is typically used and is recommended. FR2X68 ALARM OUTPUT NOTE applied to the piezo. For best results, AL 1 should be used The FR2X68 series CMOS includes a number of alarm to drive the NPN. This transistor should have a high collec- models which operate in an identical manner. All such die tor-base breakdown voltage (e.g. 25 - 30 V) such as have been designed to drive typical piezo transducers 2SC1623. directly from the chip. The basic circuit is shown in Figure 1. Figure 3 illustrates the use of a similar NPN transistor as a It should be noted that ultimate loudness is, to a great voltage clamping device to suppress externally generated extent, dependent upon such factors as appropriate voltage spikes from a piezo. Note that such spikes, when mounting of the piezo, resonant frequency and other great enough in amplitude, may be able to overcome the acoustic factors. chip protection circuity and possibly cause loss of data. The above circuit should not be needed in most cases, For applications requiring a significantly louder alarm, the however if a very high degree of shock immunity is re- circuit in Figure 2 has been used to amplify the voltage quired, it has been effective in direct drive applications. 3-23 FR2368 Direct Drive Loud Driven AL1 1-----, AL1 2X68 D 2X68 AL2 r-----' Figure 1 Figure 2 Shock Protection ALl I---~------, 2X68 AL2r--~----~ f Figure 3 3-24 FR2368 FR 2 X 68 PINOUTS .. .. re co coco en 0.. ..0 .... ....~ en ,.... ,.... M M N co en ~ II) 0 M N II) o ~-='"'==~Id&2F;= r\l ~t![ ,;;:.,,,,. Ii 'B~BD ~-, i ,~1" '~--I-- J r-Ll lin VIEWING AREA I, 4 I I 5 .060 .559 0FG Qu (1,52) (14,20) I t :-- .20a;;x~8) f Q~O-' (~~~O) 08 GDoc:=::20 0c:=::20 ~ t .. -(~ +--I~-I- ~ _ t j ~ : lEe ~ CO 0 1_/·/_1_1_2_ \- - ~--1--'1 I c::::::!l e::::::::J 1 I I I ~ ,=::: '025=0'6~4)J -, ,637 (16.18) Jj ,072 (1.83) - - r - j T T T I I 1T1TlinTl-rnrrnTIiilTTTITTiYl."-TII~ t I I I III III/II I ," 1/111 I, I ' 1/1111\1 11I11I111 I' 'I Iq .039 (0,99) l"0805~(o~~~)d~tj LO~7 ~'j"" "I Lo~: .003 , 020" (2,04) i;, PLCS. (0,69) ,0045 MAX.(0.56) !,003 - I (~"'I'tO,076) .~ /-.117 .027(0.69) (0,114) ,020 .- (2.97) (O. 5I!O·076 ) I -.. ..-.553 (14,05)- ... -_. I Noles: I .714(;8,14) 1). Dimensions in parentheses are millimeters. .. MIN. VIEWING AREA • 2). Tolerance unless specified: xxx = ± .005 (0,13). - - - - . 8 0 6 (20,47) 3). Alarm frame is permanently printed on display. PIN SCHEDULE 1 BLANK 14 Seg E4 27 Seg B4 40 ALARM 2 BLANK 15 Seg )4 28 Seg A4 41 BLANK 3 Seg K 16 Seg D4 29 Seg H4 42 BLANK 4 Seg E1 17 Seg C4 30 Seg F4 43 BLANK 5 Seg D1 18 Seg Es 31 Seg G4 44 Seg B1 6 Seg C1 19 Seg Ds 32 Seg B3 45 Seg A1 7 SegCOLON 20 Seg Ls 33 Seg A3 46 Seg F1 8 Seg E2 21 Seg Cs 34 Seg F3 47 Seg G 1 9 Seg Ab D2 22 Seg Gs 35 Seg G3 48 BLANK 10 Seg C2 23 BACKPLANE 36 Seg B2 49 BLANK 11 Seg E3 24 Seg Bs 37 BLANK 50 BLANK 12 Seg D3 25 Seg As 38 Seg F2 13 Seg C3 26 Seg Fs 39 Seg G2 4-16 commodore semiconductor group LCD Model 5051 Ladies' 6 Digit Direct Drive Watch Display With Chrono, Run, Auto Range and Lap/Split Flags Outside Dimensions .488 (12,40) x .618 (15,70) Digit Height .141 (3,58) .102 (2,59) .056 - REV 01 11,42) .030 R. ~ ---"rTTT!'TT!'!TT'rrrTrn;m,r..,-rn-n..,.,.,-mTTm'1'T.-rr!:i----, _--'-_ _ _ _ _ _---,- 10.76) ~.- .0:6 Lt =-=~;-;- 12.44) .029 (0.71) f .417 (10.60) -c.c.,:.t.035510.90) .0725 11.94) .537 113.64 Noles: MIN. VI EWING AREA 1) . Dimensions in parentheses are millimeters. •618 (15.70) 2). Tolerance unless specified: xxx = ± .004 (0,10). 3). Indicator frame is permanently printed on display. PIN SCHEDULE 1 Seg Fl 14 Seg D4 27 Seg A6 40 Seg F3 2 Seg G, 15 Seg C4 28 Seg F6 41 Seg G3 3 Seg E, 16 Seg Es 29 Seg Bs 42 Autorange 4 Seg A1, Dl 17 Seg 15 30 Seg As 43 Lap/Split 5 Sege1 18 Seg Ds 31 Seg Hs 44 Run 6 Seg E2 19 Seg Cs 32 Seg Fs 45 Chrono 7 Seg D2 20 Seg E6 33 Seg Gs 46 Seg B2 8 Seg C2 21 Seg D6 34 Seg B4 47 SegA2 9 Colon 22 Seg4 35 Seg A4 48 Seg F2 10 Seg E3 23 Seg C6 36 Seg F4 49 Seg G 2 11 SegD3 24 Seg G6 37 Seg G4 50 Seg Bl 12 Seg C3 25 Backplane 38 Seg B3 13 Seg E4 26 Seg 86 39 Seg A3 4-17 commodore semiconductor group LCD Model5052 Men's Biplexed 31h Digit Watch Display Outside Dimensions .410 (10,41) x .862 (21,89) Digit Height .186 (4,72) r - - - - . a . B 6 2 (21.89) - - - - - - - - - - - - i REV 01 .050~ r------.764(19.4I)MIN. VIEWING AREA,--~'" .00 (1.27) R. ~ .030 - f- (0 (0.76) 1-'----1-. , - 11 2(2.84) 1- 1-.020 (0.51) MAX . • r-r---------------r+--~--------~ .O~ ~fc=~-©~1r~---- -@~~i-- ----~ - - f rf=: a~8 V 0 k!CJ~ 0 0 oc::l Q~ Ol'1:70'( o~ ~I n .29 o U 186 I 8 (7.5 .410 (4.72) : ';0 : '(~~008) VI~~ L (10.41) ~ I I MAX. ARE 028 (0.71l -l\--k-~ // 9 ~ ) j~ I '---1---------- ------------/- ---~ Iii III III i II II! 1:1 II UH I II II I II~ (O'56)I~IDI igJ~,J L .022 PADS-li II~.025 ~I I-"" 5° .155,3.94) l= SPACES .. 4 (0.64) -. .552 ( l 4 . ' 0 2 ) - - - - - i - - ..---.680(17.271-----......., .0 (0 Noles: 1). Dimensions in parentheses are in millimeters. 2). Tolerance unless specified: xxx = ± .005 (0.13). PIN SCHEDULE ~ !! ~ ~ 1 Backplane Seg E1 9 Seg A2 Seg B2 2 Half Digit SegD1 10 -OFF- Seg E3 3 Seg F1 Seg C 1 11 Seg F3 Seg 0 3 4 SegG 1 Seg B1 12 Seg G3 Seg C 3 5 Seg A1 Seg E2 13 Seg A3 Seg B3 6 Colon Seg O2 14 Month-Date -OFF- 7 Seg F2 Seg C 2 15 Backplane 8 Seg G 2 4-18 commodore semiconductor group LCD Model5053 Ladies Biplexed 31h Digit Display Outside Dimensions .530 (13,46) x .389 (9,88) Digit Height .165 (4,19) fl35(11.05)~ 0.206) .050 R."""" (1.27) .0475, 2 PLCS " ~.o15 (0.38) PADS a SPACESlr2' I L- lfr' .o20,.e03(0.:llo.076) tDOZ O" I (0.28 !O,0!51 ) III I~I I .039 (0.99) ----rr " 111 I I I L I I I I L I I I 111 I I I I I I I 1 I ""~~...i..j.....w...r.....J...!.....L..Ll.Ll.L.l-I....L...l.J...Lt..;LJ....Ll.J....L..!....EI_ _ .035(0.89) MIN. I " II y- IT i~'~~ 7K--~-----:-r -:--\ "r'l : .38'.0041 riO ,:~,', QJ! D~O [f' I .28~;) 19 I I ~,r"'~ i~~~) L __:_O ~~ p [bq (1;0 dl}~~) rv::l) 0 0 I I 1 _ _UVIONTH 1,,1 I 1-'-- -II I I i I DATE I I r - Ii /1 ---Ii - ) t~ .020 (0.5I)k ~ (~%}}l J • L25 (0.64) ~ - .020(0.51) MAX. r- JL.010(0.25)MAX. .026(0.66) ~ i- ig~~) .030(0.761 - ~ I- .034(0.86) .022 2 PLCS. (0.56) I fl0600.31l ---~ to----,M~~2V~~'~~b AREA 1o--_ _ _ _ _ .53d00403.4~0.IO)----__1 NOTE Dimensions in parentheses are in millimeters. Tolerance unless specified: XXX = ± .005 (0,13). PIN SCHEDULE 6. ~ 6. ~ 1 Backplane 9 Seg A2 Seg B2 2 Half Digit Seg El 10 -OFF- Seg E3 3 Seg Fl Seg Dl 11 Seg F3 Seg D3 4 SegG 1 Seg C1 12 Seg G3 Seg C3 5 Seg Al Seg Bl 13 Seg A3 Seg B3 6 Colon Seg E2 14 Month-Date -OFF- 7 Seg F2 Seg D2 15 Backplane 8 Seg G2 Seg C2 4-19 commodore semiconductor group LCD Model5056 Men's 5% Digit Watch Display with Melody Outside Dimensions .555 (14,10) x .941 (23,90) Digit Height .210 (5,33) .140 (3,56) REV 01 i~;gg5) llJ - ~;: ,~~) :.J 1~~im5' - -J575(19.241)------- _ _ _ _ _ .847 (21.51) MIN. VIEWING AREA ~~.~9) ~ . .020 (0.51) ,...-- . .941 ( 2 3 . 9 0 ) - - - - - - - - - - - 1 NOTES 1. Dimensions in parentheses are in millimeters. 2. Tolerance unless specified: XXX = ± .DOS (0,13). 3. Treble clef and scale are permanently printed on display. PIN SCHEDULE 1 Half Digit 12 Seg E4 23 Seg Bs 34 Seg G3 2 Seg E1 13 Seg J4 24 Seg As 35 Seg B2 3 Seg D1. 14 Seg D4 25 Seg Fs 36 Seg A2 4 Seg C1 15 Seg C4 26 Seg B4 37 Seg F2 5 Colon 16 Seg Es 27 Seg A4 38 Seg G2 6 Seg E2 17 Seg Ds 28 Seg H4 39 Seg B1 7 Seg D2 18 Seg Ls 29 Seg F4 40 Seg A1 8 Seg C2 19 Seg Cs 30 Seg G4 41 Seg F1 9 Seg EJ 20 Seg Gs 31 Seg B3 42 Seg G1 10 Seg D3 21 Backplane 32 Seg A3 11 Seg C3 22 Melody 33 Seg F3 4-20 commodore semiconductor group LCD Model5059 Ladies 5% Digit Multipurpose Watch Display With Melody Flag. Outside Dimensions .488 (12,40) x .618 (15,69) Digit Height .141 (3,58) .102 (2,59) REV 01 .417 110.59) ! ~I J !J .086 12.18) tJ L0275lo04 (0,698) (0,10) • ig,~~) .020 ,.o.o,~ :J lIrJ l .0355(0,90) ~~29J .020 10.511 ig~~~) - - (0.51 !O,O a, t003 .020' to,oe 10.51 ) !414(IO.52) --,450(11.43) - - - - - I .~37 1 1 3 , 6 . 4 ) - - - - - - - 1 MIN. VIEWING AREA - .. - --_. _.- .618115.69) ------_~ NOTES 1. Dimensions in parentheses are in millimeters. 2. Tolerances unless specified: XXX = ± .004 (0,10). 3. Treble clef and scale are permanenlly printed on display. PIN SCHEDULE 1 Seg K 12 Seg E4 23 Seg As 34 Seg B2 2 Seg E1 13 Seg J4 24 Seg Fs 35 Seg Az 3 Seg D1 14 Seg D4 25 Seg B4 36 Seg F2 4 Seg C 1 15 Seg C4 26 Seg A4 37 Seg G2 5 Colon 16 Seg Es 27 Seg H4 38 Melody 6 Seg E2 17 Seg Ds 28 Seg F4 39 Seg B1 7 Seg D2 18 Seg Ls 29 Seg G4 40 Seg A1 8 Seg C2 19 Seg Cs 30 Seg B3 41 Seg F1 9 Seg E3 20 Seg Gs 31 Seg A3 42 Seg G1 10 Seg D} 21 Backplane 32 Seg F3 11 Seg C3 22 Seg B5 33 Seg G3 4-21 commodore semiconductor group LCD Model5060 Ladies Biplexed 31h Digit Display Outside Dimensions .354 (8,99) x .590 (14,99) Digit Height .159 (4,04) REV. 01 .034 R. (0.861~ i%~I-l - r 132 ( 1 0 . 9 7 1 - · l .016 (0.41 1 iPADS a SPACES I ~ 2' l lr· I r-.o08 (0.201 MAX . OIO (0.2el MAX. Till 0 G f (Jj) "1'7 _:1..1 w !_u ll:JJ llliJll LU llUJ~L __ iI .354 (S.991 150 (~AS~) ~ I I -- - - - - T- - - - -.-:-\--I---=-----r---.l (tlA 0 :DOc 0 f=fi 0 I: I .159 (4041 .219 (5.561 . -·-n .276 (7.011 9~ II 9~ ,~O~;=~~L TA ---u MIN. VIEWING L 1- !, I-:-=-~----=-R_F-=--H}=-F_F I .039 (0.991 .015 (0,381 MAX. ,OS05(2.041 J~LI I I J tIJ~~.~~IJ I ~g~~41 .oS7 I- (2.211 l028 i0,711 ~~29(10.901--~~CS L---.515(13.0S1 MIN. VIEWING A. REA ~ Jrr ~pO.3 :::.00:°·51 (0.71 !O.076) ~O.076 1 --.590 (14.9GI - - --- NOTES 1. Dimensions in parentheses are in millimeters. 2. Tolerance unless specified: XXX = ±.OOS (0.13). PIN SCHEDULE 6. ~ 6. ~ 1 Backplane 9 Seg A2 Seg B2 2 Half Digit Seg El 10 -OFF- Seg E3 3 Seg Fl Seg Dl 11 Seg F3 Seg D3 4 Seg G 1 Seg C 1 12 Seg G3 Seg C3 5 Seg Al Seg Bl 13 Seg A3 Seg B3 6 Colon Seg E2 14 Backplane 7 Seg F2 Seg D2 8 Seg G2 Seg C 2 4-22 commodore semiconductor group LCD Model 5061 Men's Biplexed 3% Digit Watch Display Outside Dimensions .520 (13,21) x .805 (20,45) Digit Height .186 (4,72) REV. 01 .420 (10,67) Ll .028 11f' 'o,,'"-I! - (('l, 71!O.076) I i?~~) .1,)201:003 (0, 51!:u, U 'G) ... . - .724118.391 MIN. vIEWING t.REA -~ ----------.805120.451 -- PIN SCHEDULE 6 ~ 6 B 1 Backplane 9 Seg A2 Seg B2 2 Half Digit Seg E1 10 -OFF- Seg E3 3 Seg F1 Seg 0 1 11 Seg F3 Seg 0 3 4 Seg G1 Seg C1 12 Seg G3 Seg C 3 5 Seg A1 Seg B1 13 Seg A3 Seg B3 6 Colon Seg E2 14 Month-Date -OFF- 7 Seg F2 Seg O 2 15 Backplane 8 Seg G2 Seg C2 4-23 commodore semiconductor group LCD Model 5063 Ladies Biplexed 3% Large Digit Watch Display Outside Dimensions .488 (12,40) x .618 (15,69) Digit Height .187 (4,75) .030 R. -.rr.o19510.495;::::I'l2.4Ir) - r·01410.36)SPACES I ~-;"O --l 006 MAX iO.20) 'lr~r'OIO I ~ MAX . 10.25) (O.76~ - ~T I --rr-n --rr-n -;-rTl'T'T'I-rT"T'TT"T''''''---,-----------. . "'" I II , I , I I I I I I I I I I 1,/, I I ' I I I I I I I I I~I r-'~(ou·~~~~~~;"~o-~~"~:: ~"" 1 "I .3 ~ ~:61) VIEWINr, I I V LJ G ~ "'--" I 1 .197 15.00) ,16714,75) I I ~17 cO' U AREA 1 E MAX. I 110,59) ~;~~~~r-_[»_ii\n~-_-_-"~=: ~~o"." ,:,j~:" CTn-nTfI---- -TT--"-iT"· i .035510.90) ~~0504)d{l.02510,64.) j L.025 .... .023 1-10.56) !'OO'1Lt .o2PO.07~I (0.51 ) .020 t ".003 , 10,64) MAX. IO,5f 0.076) .026(0,66) 4 PLCS. ~--- .470111.94) --------<"1 1-------:-:-:MI~.3~1~~(~b-:A-=R::-EA:------.., 1+-------,616115,69) - - - - - - - - 1 Noles: 1). Dimensions in parentheses are in millimeters. 2). Tolerances unless specified: xxx = ± .004 (0.'0). PIN SCHEDULE ~ !! ~ B 1 Backplane 9 Seg A2 Seg B2 2 Half Digit Seg E, 10 -OFF- Seg E3 3 Seg F, Seg D, 11 Seg F3 Seg D3 4 Seg G, Seg C, 12 Seg G3 Seg C3 5 Seg A, Seg B, 13 Seg A3 Seg B3 6 Colon Seg E2 14 Month-Date -OFF- 7 Seg F2 Seg D2 15 Backplane 8 Seg G2 Seg C2 4-24 commodore semiconductor group LCD Model 5064 Men's Biplexed 3112 Large Digit Watch Display Outside Dimensions .806 (20,47) x .637 (16,18) Digit Height .260 (6,60) 1+-------.806 (20,47)------------1 Notes: 1). Dimensions in parentheses are in millimeters. 2). Tolerances unless specified: xxx = ± .005 (0,13). PIN SCHEDULE ~ ~ ~ ~ 1 Backplane 9 Seg B2 2 Half Digit Seg E1 10 Seg A2 Seg E3 3 Seg F1 SegD1 11 -OFF- Seg 0 3 4 SegD1 Seg C 1 12 Seg F3 Seg C3 5 Seg A1 Seg B1 13 Seg G 3 Seg B3 6 Colon Seg E2 14 SegA3 -OFF- 7 Seg F2 Seg O2 15 Month-Date Backplane 8 SegG 2 Seg C2 4-25 commodore semiconductor group LCD Model5065 Ladies 5% Digit Watch Display With Alarm Flag Outside Dimensions .488 (12,40) x .618 (15,69) Digit Height .141 (3,58) .102 (2,59) 417 lio.59) jr ~ '085 12.18) L0275 10.698) ~004l 10.10) -0 .02310.58) MAX. (21,~~)~ .02010.51) ;g~ir flI4110.52l---------I MI~3v~~I~;~~ A:;;R-;:EA:-----~ t - - - - - - - .618(15.59) - - - - - - - - - - - - 1 Noles: 1}. Dimensions in parentheses are in millimeters. 2). Tolerances unless specified xxx = ± .004 (0.10). 3). Alarm is permanently printed on display. PIN SCHEDULE 1 BLANK 13 Seg C 3 25 Seg As 37 Seg A2 2 BLANK 14 Seg E4 26 Seg Fs 38 Seg F2 3 Seg K 15 Seg J4 27 Seg B4 39 Seg G 2 4 Seg El 16 Seg D4 28 Seg A4 40 ALARM 5 Seg Dl 17 Seg C 4 29 Seg H4 41 Seg Bl 6 Seg C 1 18 Seg Es 30 Seg F4 42 Seg Al 7 COLON 19 Seg Ds 31 Seg G 4 43 Seg Fl 8 Seg E2 20 Seg Ls 32 Seg B3 44 Seg G 1 9 Seg D2 21 Seg C s 33 Seg A3 45 BLANK 10 Seg C 2 22 Seg G s 34 Seg F3 46 BLANK 11 Seg E3 23 BACKPLANE 35 Seg G 3 12 Seg D3 24 Seg Bs 36 Seg B2 4-26 commodore semiconductor group LCD Model5066 Men's 51h Digit Watch Display With Melody Flag Outside Dimensions .637 (16,18) x .806 (20,47) Digit Height .181 (4,60) .130 (3,30) .553 ( 14.05) Noles: .702117.83) 1). Dimensions in parentheses are in millimeters. MIN. VIEWING AREA 2). Tolerance unless specified: xxx = ± .005 (0.13) . .806 (20.47) 3). Treble clef and staff are permanently printed on display. PIN SCHEDULE 1 BLANK 14 Seg E4 27 Seg B4 40 MELODY 2 BLANK 15 Seg '4 28 SegA4 41 BLANK 3 Seg K 16 SegD4 29 Seg H4 42 BLANK 4 Seg E, 17 Seg C4 30 Seg F4 43 BLANK 5 SegD, 18 Seg Es 31 Seg G4 44 Seg B, 6 SegC, 19 Seg Ds 32 Seg B3 45 SegAl 7 SegCOLON 20 Seg Ls 33 Seg A3 46 Seg F, 8 Seg E2 21 Seg Cs 34 Seg F3 47 SegG, 9 SegAz, D2 22 Seg Gs 35 Seg G3 48 BLANK 10 Seg C3 23 BACKPLANE 36 Seg B2 49 BLANK 11 Seg E3 24 Seg Bs 37 BLANK 50 BLANK 12 SegD3 25 Seg As 38 Seg Fz 13 Seg C3 26 Seg Fs 39 SegG 2 4-27 commodore semiconductor group LCD Model 5067 Ladies' 3th Digit Direct Drive Watch Display With Melody Alarm and PM Flags Outside Dimensions .488 (12,40) x .618 (15,70) Digit Height .180 (4,57) 1- 003 ~_1tL ~g,~) (8.~~~~~L1_ --'----l-----'020. (0.66)4 PLCS 2!!O (O,5I'OPo) 1..-_ _ _ _ 44601.33) I..... 023(0,56) 020'003 MAX. (0,51'0.08) ~_ _ _-:-::-:.,--.537 (13,64) MIN. VIEWING AREA .616 (15,70) Noles '). Dimensions in parentheses are in millimeters. 2). Tolerances unless speCified: xxx = ± .004 (0.'0). 3). Treble clef and staff are permanently prinled on display. PIN SCHEDULE 1 Backplane 8 Seg D2 15 Seg B3 22 Seg G2 2 Half Digit 9 Seg C2 16 Seg A3 23 Seg B, 3 Seg E , 10 Seg E3 17 Seg F3 24 Seg A, 4 SegD, 11 Seg D3 18 Seg G 3 25 Seg F, 5 Seg C, 12 Seg C 3 19 Seg B2 26 Seg G, 6 Colon 13 PM 20 Seg A2 7 Seg E2 14 Melody 21 Seg F2 4-28 commodore semiconductor group LCD Model5076 Unisex 31h Digit Biplexed Watch Display Outside Dimensions .454 (11,53) x .690 (17,53) Digit Height .164 (4,17) .059R. ~ (1.50) r. r- -fr'020(0'51l --I PA: O 020 (0.51l SPACES .022 (0.56) (14.73)1 r'Oi~~~) .454 .250 .354 (6.35) (8.99) (11.53) MAX. l__= t J -'-1 .050 (1.27) Ul JL .020'003(0.51 '0.08) .028'D03(0.7I'o.oe) ~--------------. 609------------~ 1--.04050.028) (15.47) MIN. VIEWING AREA .015 (0.38) ..... 1+-------------- .690 07.53) - - - - - - - - - - - 1 Notes: 1). Dimensions in parentheses are in millimeters. 2). Tolerance unless specified: xxx = ± .005 (0.13) PIN SCHEDULE ~ !! A !! 1 Backplane Seg E, 9 Seq A2 Seg B2 2 Half Digit ~eg D, 10 -OFF- Seg E3 3 Seg F, Seg C, 11 Seg F3 Seg D3 4 Seg G, Seg B, 12 Seg G3 Seg C3 5 Seg A, Seg E2 13 Seg A3 Seg B3 6 Colon Seg D2 14 Month-Date -OFF- 7 Seg F2 Seg C 2 15 Backplane 8 Seg G 2 4-29 Section 5 Packaging and Reliability Information PACKAGING INFORMATION 18-PIN PACKAGE Ceramic Molded .~J::::::::: Ii T1.310) Uiiifl 'rrr-~~""'-'+r-TT"T'...L Plf.lNO.l IOENT I - - "'0' 11901 II 10Ii01 :::::j tL ft,or;::~:-I ~~-~~ II .Q~M~ ---l f-- ---If-- ::::: /....1 ~ ~+ '023' /.0201 ~ 'O'SI~IF- ----+- U ~ "50' r--::::--i 1.110) t0211 (.2901 :::: :!:: :::: 11251 f.0901 (.015) 032 REF 032 REF. 24-PIN PACKAGE Ceramic Molded 4O-PIN PACKAGE IOomax. . Do. or To Locafe N0'cD Pin No. I 40 L: q21 ~ ------r ,600max. JO(~ 115.~ (15.87) .625 .155max. 2.020 mox. (393mm) (51.30mm) .ISOmax. (4.S2mm) 1I.01l 11.65) .040 .065 Typ ml J m-t--"--r-t-~ 'Jt ~ 1.55) .022 Typ .OIOmin. (.45) .01S . l2!Q (4S.5Imm) (.25mm) I.S90 (4S.00mm) 19 Equal Spaces .100 ~ Tol. Noncum. (2.54mm) 5-1 RELIABILITY INFORMATION Device reliability is a function of design, of wafer process- Immersion ing and of packaging. MOS Technology products are char- This test is performed to determine the effectiveness of acterized electrically and physically for an in-house the seal on microelectronic devices. qualification. Device reliability is verified by long-term, ac- celerated life testing. Life testing and characterization are Procedure then continuously checked in an ongoing monitor of reli- This evaluation consisted of: 1) 24-hour soak in salt solution ability. at room temperature; 2) rinse in tap water; 3) bake dry. Sample Size: 100 Parts ENVIRONMENTAL TESTING Evaluation: Electrical Test No formal universal set of qualification standards exists for Results: 0 Failures plastic encapsulated devices designed for non-military ap- plications. However, modeled after the Military Standard Moisture Resistance 883, a series of environmental and general reliability tests The moisture resistance test is performed for the purpose were established to evaluate device reliability prior to new of evaluating in an accelerated manner the resistance of product introduction. These tests were as follows: component parts and constituent materials to the deterio- rative effects of high humidity and heat conditions. MIL STD. 883 Procedure TEST METHOD BASIS This evaluation consisted of two tests: Thermal Shock 1011.1 (a) The sample was subjected to 4 hours at 150°C 15 PSI Immersion (Salt Solution) 1002 saturated water vapor in a pressure chamber. Moisture Resistance 1004.1 Sample Size: 100 Parts Steam High Pressure 1004.1 Evaluation: Electrical Test Results: 0 Failures Centrifuge 2001.1 Burn-in and Long Term Life 1015.1 (b) The sample was subjected to 85°C 95% R.H. for 24 hours. Sample Size: 100 Parts ThennalShock Evaluation: Electrical Test The purpose of this test is to determine the resistance of Results: 0 Failures the device 'to sudden exposure to extreme changes in temperature. Constant Acceleration This test is used to determine the effects of constant accel- eration on microelectronic devices. It is an accelerated test Procedure designed to indicate types of structural and mechanical This evaluation consisted of 1) preconditioning the sample weaknesses not necessarily detected in shock and vibra- for >5 minutes immersed in a liquid at -55°C; 2) transfer- tion tests. ring the sample rapidly « 10 seconds) to a second liquid at +1OO°C and allowing stabilization for >5 minutes; 3) Procedure transfer of the sample back to the original container. The Parts were subjected to one-minute centrifuge at 30,000 G cycle was repeated 15 times. in y 1 orientation. Sample Size: 200 pieces, multiple lots, chosen at Sample Size: 100 Parts random. Evaluation: Electrical Test Evaluation: Electrical Test Results: 1 Failure, open contact AO address lead Results: o Failures due to open bond. 5-2 RELIABILITY INFORMATION LONG TERM LIFE and ongoing procedure in order to detect any subtle reli- ability changes. Millions of device hours have been accu- Elevated temperature is used to accelerate failure mecha- mulated. The data presented in Figure 10 are typical 1000 nisms such as mobile contamination, slow trapping and hour performance characteristics at 125°C., 5.5v. Extrapo- oxide pin holes. Burn-in ovens capable of continuously e lating to a 70 0 operating ambient, the N-channel process exercising devices are used to stress product at high volt- demonstrates a reliability of .056%/1000 hours. age and temperature. long term life testing is a continuous LONG TERM RELIABIlITY 100 90 80 ROM LONG TERM f- LIFE PERFORMANCE Z OJ . <.> 0: D.. SAMPLE N173-01 - N201-13 100 PIECES/SAMPLE 125°C 1 100 200 300 400 500 600 TOO 800 900 1000 HOURS 100 90 80 RAM LONG TERM LIFE PERFORMANCE f- Z OJ <.J a: SAMPLE Nl66-02 - N171-01 OJ I D.. 100 PEICES/SAMPLE 125°C 100 200 300 400 500 600 TOO 800 900 1000 HOURS Figure 10 5-3 RELIABILITY INFORMATION MANUFACTURING PROCEDURES are burned-in and a constant monitor is made of losses. A high drop out at burn-in is an indication of a potential The manufacturing process used at MOS Technology fol- problem which can be immediately addressed. Any part lows strictly documented procedures to ensure consisten- shipped is traceable to burn-in, final test and fabrication cy in performance and reliability. Figure 11 is the product yields. Quality assurance monitors prior to shipment verify flow at the "back end- of the process. All production lots electrical performance and mechanical standards. POST ASSEMBLY PRODUCTION FLOW All product is 100% electrically Tested. Every Production Lot is Burned-in To Minimize Infant Mortality. Post Bum-in Electrical Test Guarantees Product To Specifications of Various Speed Sorts. Outgoing Quality Level is Verified On All Production Lots. Figure 11 5-4 commodore semiconductor group commodore semiconductor group Pennsylvania and South Jersey 950 Rittenhouse Road Representatives Campbell/French Associates Norristown, Pennsylvania 19403 Central Region 530 Street Road Southampton', Pennsylvania 18966 Western Regional Office Illinois and Wisconsin Phone: 215-322-6630 3330 Scott Boulevard Janus Santa Clara, CA 95050 3166 Des Plaines Avenue Virginia Phone: (408) 727-4862 Des Plaines, Illinois 60018 R. W. Mitscher Company, Incorporated Phone: 312-298-9330 6031 Newington Drive Western District Office Richmond, Virginia 23224 1701 East Edinger, Suite 15E Texas, Louisiana, Arkansas, Oklahoma Phone: 804-745-4346 Santa Ana, CA 92708 W. Pat Fralia Company, Incorporated 600 Avenue H. East Maryland, Delaware, Virginia Eastern Regional Office Suite 210 R. W. Mitscher Company, Incorporated 950 Rittenhouse Road Arlington, Texas 76011 9206 Ethan Court Norristown, PA 19403 Phone: 817-640-9101 Laurel. Maryland 20811 Phone: (215) 666-7950 TWX#: 910-890-5112 Phone: 301-498-6090 Ext. 292 W. Pat Fralia Company, Incorporated Western Virginia, Tennessee, Eastern District Office 300 East Huntland Drive North Carolina 950 Rittenhouse Road Austin, Texas 78752 R. W. Mitscher Company, Incorporated Norristown, PA 19403 Phone: 512-451-3325 P.O. Box 4105, CRS Phone: (215) 666-7950 Johnson City, Tennessee 37601 Ext. 293 W. Pat Fralia Company, Incorporated Phone: 615-282-6240 6420 Hillcroft commodore semiconductor group Suite 113 Metro New York, Long Island, New Jersey Representatives Houston, Texas 77081 J2 Marketing Western Region Phone: 713-772-1572 P.O. Box 103 Northern California Jericho, New York 11753 Criterion Sales, Incorporated commodore semiconductor group Phone: 516-997-6210 3350 Scott Boulevard Representatives TWX#: 510-222-1048 Building Number 44 Eastern Region Eastern Region (Continued) Santa Clara, California 95051 New England, Connecticut, Phone: 408-988-6300 Kentucky Massachusetts, Rhode Island, TWX#: 910-338-7352 R. W. Mitscher Company, Incorporated Vermont, Maine, New Hampshire, 8013 Brush Lane Arizona Puerto Rico Fern Creek, Kentucky 40291 EI Repco Sales Engineering Company Phone: 502-239-8927 10333 North Scottsdale Road 25 Main Street Suite One Salem, New Hampshire 03079 North Carolina Scottsdale, Arizona 85253 Phone: 603-893-5521 R. W. Mitscher Company, Incorporated Phone: 602-996-0293 P.O. Box '10541 Upstate New York Raleigh, North Carolina 27605 Washington R. W. Mitscher Company, Incorporated Phone: 919-828-0575 Desco Northwest Sales 8555 Main Street 16460 Northeast Eighth Street Buffalo, New York 14221 Southern Carolina Redmond, Washington 98052 Phone: 716-633-7970 R. W. Mitscher Company, Incorporated Phone: 206-883-6336 P.O. Box 210296 Western Tennessee, Alabama Columbia, South Carolina 20221 Southern California R. W. Mitscher Company, Incorporated Phone: 803-772-1907 S.C3 .1004 Sharpsburg Drive, Southeast 7144 Mockingbird Way Huntsville, Alabama 35803 Anaheim Hills, California 92807 Phone: 205-883-0506 Phone: 714-974-7758 Florida Southern California HAl SC3 11471 West Sample Road 11833 Quartz Circle Coral Springs, Florida 33065 Fountain Valley, California 92708 Phone: 305-752-7520 Phone: 714-839-2851 TWX#: 510-956-9874 Southern California Georgia S.C3 R. W. Mitscher Company, Incorporated 2853 Coneflower Street 3417 Stanford Circle Thousand Oaks, California 91360 Lawrenceville, Georgia 30245 Phone: 805-492-0340 Phone: 404-923-3239 I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I ( =: commodore semiconductor group Valley Forge Corp. Center 950 Rittenhouse Rd. , Norristown, PA 19403