0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
CDP1802ACD3

CDP1802ACD3

  • 厂商:

    INTERSIL(Intersil)

  • 封装:

  • 描述:

    CDP1802ACD3 - High-Reliability CMOS 8-Bit Microprocessor - Intersil Corporation

  • 数据手册
  • 价格&库存
CDP1802ACD3 数据手册
® CDP1802AC/3 Data Sheet October 17, 2008 FN1441.3 High-Reliability CMOS 8-Bit Microprocessor The CDP1802A/3 High-Reliability LSI CMOS 8-bit register oriented Central-Processing Unit (CPU) is designed for use as a general purpose computing or control element in a wide range of stored-program systems or products. The CDP1802A/3 includes all of the circuits required for fetching, interpreting, and executing instructions which have been stored in standard types of memories. Extensive input/output (I/O) control features are also provided to facilitate system design. The 1800 Series Architecture is designed with emphasis on the total microcomputer system as an integral entity so that systems having maximum flexibility and minimum cost can be realized. The 1800 Series CPU also provides a synchronous interface to memories and external controllers for I/O devices, and minimizes the cost of interface controllers. Further, the I/O interface is capable of supporting devices operating in polled, interrupt-driven, or direct memory-access modes. The CDP1802AC/3 is functionally identical to its predecessor, the CDP1802. The “A” version includes some performance enhancements and can be used as a direct replacement in systems using the CDP1802. This type is supplied in a 40 Ld dual-in-line sidebrazed ceramic package (D suffix). Features For Use In Aerospace, Military, and Critical Industrial Equipment • Minimum Instruction Fetch-Execute Time of 4.5µs (Maximum Clock Frequency of 3.6MHz) at VDD = 5V, TA = +25°C • Operation Over the Full Military Temperature Range . . . . . . . . . . . . . . . -55°C to +125°C • Any Combination of Standard RAM and ROM Up to 65,536 Bytes • 8-Bit Parallel Organization With Bi-directional Data Bus and Multiplexed Address Bus • 16x16 Matrix of Registers for Use as Multiple Program Counters, Data Pointers, or Data Registers • On-Chip DMA, Interrupt, and Flag Inputs • High Noise Immunity . . . . . . . . . . . . . . . . . . 30% of VDD • Pb-Free (RoHS compliant) Ordering Information PART NUMBER CDP1802ACD3 PART MARKING CDP1802ACD3 TEMP. RANGE (°C) -55 to +125 CLOCK FREQUENCY AT 5V Up to 3.2MHz PACKAGE 40 Ld SBDIP PKG DWG. # D40.6 NOTE: These Intersil Pb-free Hermetic packaged products employ 100% Au plate - e4 termination finish, which is RoHS compliant and compatible with both SnPb and Pb-free soldering operations. 1 CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures. 1-888-INTERSIL or 1-888-468-3774 | Intersil (and design) is a registered trademark of Intersil Americas Inc. Copyright Intersil Americas Inc. 2002, 2008. All Rights Reserved All other trademarks mentioned are the property of their respective owners. CDP1802AC/3 Pinout CDP1802AC/3 (40 LD SBDIP) TOP VIEW CLOCK WAIT CLEAR Q SC1 SC0 MRD BUS 7 BUS 6 1 2 3 4 5 6 7 8 9 40 VDD 39 XTAL 38 DMA IN 37 DMA OUT 36 INTERRUPT 35 MWR 34 TPA 33 TPB 32 MA7 31 MA6 30 MA5 29 MA4 28 MA3 27 MA2 26 MA1 25 MA0 24 EF1 23 EF2 22 EF3 21 EF4 BUS 5 10 BUS 4 11 BUS 3 12 BUS 2 13 BUS 1 14 BUS 0 15 VCC 16 N2 17 N1 18 N0 19 VSS 20 ADDRESS BUS CDP1852 INPUT PORT CS2 N0 MA0–7 MA0–7 MA0–4 CS1 MRD CDP1802 8–BIT CPU MWR DATA CDP1852 OUTPUT CLOCK PORT CS1 CS2 N1 TPB DATA TPA MRD CDP1833 1k–ROM MRD CDP1824 32 BYTE RAM MWR CEO CS DATA TPA DATA 8–BIT DATA BUS FIGURE 1. TYPICAL CDP1802A/3 SMALL MICROPROCESSOR SYSTEM 2 FN1441.3 October 17, 2008 CDP1802AC/3 CPU Block Diagram I/O REQUESTS MEMORY ADDRESS LINES I/O FLAGS EF3 EF4 DMA OUT DMA IN INT CONTROL CLEAR WAIT MA6 MA4 MA2 MA0 EF1 MA7 MA5 MA3 MA1 MUX EF2 CLOCK LOGIC CLOCK XTAL SCO SCI Q LOGIC TPA TPB MWR MRD CONTROL AND TIMING LOGIC STATE CODES SYSTEM TIMING TO INSTRUCTION DECODE A REGISTER R(0).1 R(0).0 ARRAY R(1).1 R(1).0 R R(2).1 R(2).0 R(9).1 R(9).0 R(A).1 R(A).0 R(E).1 R(E).0 R(F).1 R(F).0 8-BIT BIDIRECTIONAL DATA BUS LATCH AND DECODE B ALU DF INCR/ DECR N0 X T P I N N1 N2 BUS 0 BUS 1 BUS 2 BUS 3 BUS 4 BUS 5 BUS 6 BUS 7 I/O COMMANDS D 3 FN1441.3 October 17, 2008 CDP1802AC/3 Absolute Maximum Ratings DC Supply Voltage Range, (VDD) (All Voltages Referenced to VSS Terminal) CDP1802AC/3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5V to +7V Input Voltage Range, All Inputs . . . . . . . . . . . . . -0.5V to VDD +0.5V DC Input Current, any One Input . . . . . . . . . . . . . . . . . . . . . . ±10mA Thermal Information Thermal Resistance (Typical, Notes 1, 2) θJA (°C/W) θJC (°C/W) SBDIP Package . . . . . . . . . . . . . . . . . . 55 15 Device Dissipation Per Output Transistor TA = Full Package Temperature Range . . . . . . . . . . . . . . .100mW Operating Temperature Range (TA) Package Type D. . . . . . . . . . . . . . . . . . . . . . . . . .-55°C to +125°C Storage Temperature Range (TSTG) . . . . . . . . . . . .-65°C to +150°C Lead Temperature (During Soldering) At distance 1/16 ± 1/32 In. (1.59 ±0.79mm) from case for 10s max . . . . . . . . . . . . . . . . . . . . . . . . . . . . +265°C Pb-Free Reflow Profile. . . . . . . . . . . . . . . . . . . . . . . . .see link below http://www.intersil.com/pbfree/Pb-FreeReflow.asp CAUTION: Do not operate at or near the maximum ratings listed for extended periods of time. Exposure to such conditions may adversely impact product reliability and result in failures not covered by warranty. NOTES: 1. θJA is measured with the component mounted on a high effective thermal conductivity test board in free air. See Tech Brief TB379 for details. 2. For θJC, the “case temp” location is the center of the exposed metal pad on the package underside. Recommended Operating Conditions TA = Full Package Temperature Range. For maximum reliability, operating conditions should be selected so that operation is always within the following ranges. Parameters with MIN and/or MAX limits are 100% tested at +25°C, unless otherwise specified. Temperature limits established by characterization and are not production tested. PARAMETER DC Operating Voltage Range Input Voltage Range Maximum Clock Input Rise or Fall Time MIN 4 VSS MAX 6.5 VDD 1 UNITS V V µs Performance Specifications Parameters with MIN and/or MAX limits are 100% tested at +25°C, unless otherwise specified. Temperature limits established by characterization and are not production tested. VDD (V) 5 5 5 -55°C TO +25°C 4.5 450 DC-3.6 +125°C 5.9 340 DC-2.7 UNITS µs Kbytes/s MHz PARAMETER Minimum Instruction Time (Note 3) Maximum DMA Transfer Rate Maximum Clock Input Frequency, Load Capacitance (CL) = 50pF, fCL NOTE: 3. Equals 2 machine cycles - one Fetch and one Execute operation for all instructions except Long Branch and Long Skip, which require 3 machine cycles - one Fetch and two Execute operations. Static Electrical Specifications All Limits are 100% Tested. Parameters with MIN and/or MAX limits are 100% tested at +25°C, unless otherwise specified. Temperature limits established by characterization and are not production tested. CONDITIONS VOUT (V) 0.4 0.4 4.6 4.6 VIN, (V) 0, 5 5 0, 5 0 0, 5 VCC, VDD (V) (Note 4) 5 5 5 5 5 5 -55°C, +25°C +125°C PARAMETER Quiescent Device Current, IDD Output Low Drive (Sink) Current (Except XTAL), IOL XTAL Output High Drive (Source) Current (Except XTAL), IOH XTAL Output Voltage Low-Level, VOL MIN 1.20 185 - MAX 100 -0.30 -135 0.1 MIN 0.90 140 - MAX 250 -0.20 -100 0.2 UNITS µA mA µA mA µA V 4 FN1441.3 October 17, 2008 CDP1802AC/3 Static Electrical Specifications All Limits are 100% Tested. Parameters with MIN and/or MAX limits are 100% tested at +25°C, unless otherwise specified. Temperature limits established by characterization and are not production tested. (Continued) CONDITIONS VOUT (V) 0.5, 4.5 0.5, 4.5 Any Input 0, 5 VIN, (V) 0, 5 0, 5 0, 5 VCC, VDD (V) (Note 4) 5 5 5 5 5 -55°C, +25°C +125°C PARAMETER Output Voltage High-Level, VOH Input Low Voltage, VIL Input High Voltage, VIH Input Leakage Current, IIN Three-State Output Leakage Current, IOUT NOTE: MIN 4.9 3.5 - MAX 1.5 ±1 ±1 MIN 4.8 3.5 - MAX 1.5 ±5 ±5 UNITS V V V µA µA 4. 5V level characteristics apply to Part No. CDP1802AC/3, and 5V and 10V level characteristics apply to part No. CDP1802A/3. Timing Specifications As a Function of T (T = 1/fCLOCK), CL = 50 pF. Parameters with MIN and/or MAX limits are 100% tested at +25°C, unless otherwise specified. Temperature limits established by characterization and are not production tested. VDD (V) Time, tSU 5 5 5 5 5 LIMITS (Note 5) -55°C, +25°C 2T-450 T/2 +0 T-30 T-170 5T-300 +125°C 2T-580 T/2 +0 T-40 T-250 5T-400 UNITS ns ns ns ns ns PARAMETER High-Order Memory-Address Byte Setup to TPA High-Order Memory-Address Byte Hold After TPA Time, tH Low-Order Memory-Address Byte Hold After WR Time, tH CPU Data to Bus Hold After WR Time, tH Required Memory Access Time Address to Data, tACC NOTE: 5. These limits are not directly tested. Implicit Specifications (Note 6) TA = -55°C to +25°C. Parameters with MIN and/or MAX limits are 100% tested at +25°C, unless otherwise specified. Temperature limits established by characterization and are not production tested. PARAMETER SYMBOL f = 2MHz CIN VDR IDR VDD (V) 5 2.4 TYPICAL VALUES 4 5 7.5 2.4 10 UNITS mW pF pF V µA Typical Total Power Dissipation Idle “00” at M(0000), CL = 50pF Effective Input Capacitance any Input Effective Three-State Terminal Capacitance Data Bus Minimum Data Retention Voltage Data Retention Current NOTE: 6. These specifications are not tested. Typical values are provided for guidance only. 5 FN1441.3 October 17, 2008 CDP1802AC/3 Dynamic Electrical Specifications CL = 50pF, Timing Measurement at 0.5 VDD Point. Parameters with MIN and/or MAX limits are 100% tested at +25°C, unless otherwise specified. Temperature limits established by characterization and are not production tested. -55°C TO +25°C PARAMETERS PROGAGATION DELAY TIMES, tPLH, tPHL Clock to TPA, TPB Clock-to-Memory High Address Byte, tPLH, tPHL Clock-to-Memory Low Address Byte Valid, tPLH, tPHL Clock to MRD, tPLH, tPHL Clock to MWR, tPLH, tPHL Clock to (CPU DATA to BUS) Valid, tPLH, tPHL Clock to State Code, tPLH, tPHL Clock to Q, tPLH, tPHL Clock to N (0 to 2), tPLH, tPHL INTERFACE TIMING REQUIREMENTS (Note 7) Data Bus Input Setup, tSU Data Bus Input Hold, t H DMA Setup, tSU DMA Hold, t H Interrupt Setup, t SU Interrupt Hold, tH WAIT Setup, tSU EF1-4 Setup, tSU EF1-4 Hold, tH REQUIRED PULSE WIDTH TIMES CLEAR Pulse Width, tWL CLOCK Pulse Width, tWL NOTE: 7. Minimum input setup and hold times required by Part CDP1802AC/3. 5 5 150 140 200 185 ns ns 5 5 5 5 5 5 5 5 5 10 175 10 200 10 175 30 20 100 10 230 10 270 10 230 30 20 135 ns ns ns ns ns ns ns ns ns 5 5 5 5 5 5 5 5 5 275 725 340 340 275 430 440 375 400 370 950 425 425 370 550 550 475 525 ns ns ns ns ns ns ns ns ns VDD (V) MIN MAX +125°C MIN MAX UNITS 6 FN1441.3 October 17, 2008 CDP1802AC/3 Timing Waveforms FETCH (READ) CLOCK EXECUTE (WRITE) 00 01 10 11 20 21 30 31 40 41 50 51 60 61 70 71 00 01 10 11 20 21 30 31 40 41 50 51 60 61 70 71 00 ADDRESS HI BYTE LOW BYTE HI BYTE LOW BYTE TPA TPB MRD MWR DATA VALID INPUT DATA VALID OUTPUT DATA FIGURE 1. BASIC DC TIMING WAVEFORM, ONE INSTRUCTION CYCLE 7 FN1441.3 October 17, 2008 CDP1802AC/3 Timing Waveforms (Continued) tW CLOCK 00 0 01 10 1 11 20 2 21 30 3 31 4 40 41 5 50 51 6 60 61 7 70 71 0 00 01 TPA tPLH tPHL TPB tSU MEMORY ADDRESS MRD (MEMORY READ CYCLE) MWR (MEMORY WRITE CYCLE) DATA FROM CPU TO BUS tPLH tPHL tPLH, tPHL tPLH, tPHL tH LOW ORDER ADDRESS BYTE tPLH tPHL tPLH, tPHL HIGH ORDER ADDRESS BYTE tPHL tSU tPLH, tPHL tPLH tH tPLH tPLH tPHL tPHL tPLH tH tPLH, tPHL STATE CODES tPLH, tPHL Q tPLH N0, N1, N2 (I/O EXECUTION CYCLE) tPLH DATA LATCHED IN CPU tH DATA FROM BUS TO CPU tSU DMA SAMPLED (S1, S2, S3) DMA REQUEST tSU INTERRUPT SAMPLED (S1, S2) tSU FLAG LINES SAMPLED (IN S1) tSU tH tH INTERRUPT REQUEST tH EF 1-4 tSU WAIT tW CLEAR ANY NEGATIVE TRANSITION FIGURE 2. TIMING WAVEFORM NOTES: 8. This timing diagram is used to show signal relationships only and does not represent any specific machine cycle. 9. All measurements are referenced to 50% point of the waveforms. 10. Shaded areas indicate “Don’t Care” or undefined state. Multiple transitions may occur during this period. 8 FN1441.3 October 17, 2008 CDP1802AC/3 Machine Cycle Timing Waveforms 0 CLOCK 1 2 3 4 5 6 7 (Propagation Delays Not Shown) 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 TPA TPB MACHINE CYCLE CYCLE n CYCLE (n + 1) CYCLE (n + 2) MA HIGH ADD LOW ADDRESS HIGH ADD LOW ADDRESS HIGH ADD LOW ADDRESS FIGURE 3. GENERAL TIMING WAVEFORMS INSTRUCTION FETCH (S0) MEMORY READ CYCLE EXECUTE (S1) NON MEMORY CYCLE FETCH (S0) MEMORY READ CYCLE EXECUTE MRD MWR (HIGH) MEMORY OUTPUT ALLOWABLE MEMORY ACCESS VALID OUTPUT HIGH IMPEDANCE STATE VALID OUTPUT “DON’T CARE” OR INTERNAL DELAYS FIGURE 4. NON-MEMORY CYCLE TIMING WAVEFORMS INSTRUCTION FETCH (S0) MEMORY READ CYCLE EXECUTE (S1) MEMORY WRITE CYCLE FETCH (S0) MEMORY READ CYCLE EXECUTE MRD MWR MEMORY OUTPUT ALLOWABLE MEMORY ACCESS CPU OUTPUT TO MEMORY OFF VALID OUTPUT VALID OUTPUT OFF HIGH IMPEDANCE STATE VALID VALID DATA “DON’T CARE” OR INTERNAL DELAYS FIGURE 5. MEMORY WRITE CYCLE TIMING WAVEFORMS 9 FN1441.3 October 17, 2008 CDP1802AC/3 Machine Cycle Timing Waveforms INSTRUCTION FETCH (S0) MEMORY READ CYCLE MRD (Propagation Delays Not Shown) (Continued) EXECUTE (S1) MEMORY READ CYCLE FETCH (S0) MEMORY READ CYCLE EXECUTE MWR (HIGH) MEMORY OUTPUT ALLOWABLE MEMORY ACCESS VALID OUTPUT VALID OUTPUT HIGH IMPEDANCE STATE VALID OUTPUT “DON’T CARE” OR INTERNAL DELAYS FIGURE 6. MEMORY READ CYCLE TIMING WAVEFORMS INSTRUCTION FETCH (S0) MEMORY READ CYCLE EXECUTE (S1) MEMORY READ CYCLE EXECUTE (S1) MEMORY READ CYCLE FETCH (S0) MRD MWR (HIGH) MEMORY OUTPUT ALLOWABLE MEMORY ACCESS VALID OUTPUT VALID OUTPUT HIGH IMPEDANCE STATE VALID OUTPUT “DON’T CARE” OR INTERNAL DELAYS FIGURE 7. LONG BRANCH OR LONG SKIP CYCLE TIMING WAVEFORMS 10 FN1441.3 October 17, 2008 CDP1802AC/3 Machine Cycle Timing Waveforms 0 CLOCK TPA 1 2 3 4 (Propagation Delays Not Shown) 5 6 7 0 1 (Continued) 2 3 4 5 6 7 0 TPB MACHINE CYCLE INSTRUCTION CYCLE n CYCLE (n + 1) FETCH (S0) EXECUTE (S1) MRD N0 - N2 MWR MEMORY OUTPUT ALLOWABLE MEMORY ACCESS DATA BUS (NOTE) VALID OUTPUT VALID DATA FROM INPUT DEVICE MEMORY READ CYCLE NOTE: USER GENERATED SIGNAL MEMORY WRITE CYCLE “DON’T CARE” OR INTERNAL DELAYS HIGH IMPEDANCE STATE N=9-F FIGURE 8. INPUT CYCLE TIMING WAVEFORMS 0 CLOCK TPA 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 TPB MACHINE CYCLE CYCLE n CYCLE (n + 1) INSTRUCTION MRD FETCH (S0) EXECUTE (S1) N0 - N2 N=1-9 ALLOWABLE MEMORY ACCESS DATA BUS ALLOWABLE MEMORY ACCESS DATA STROBE (MRD ² TPB ² N) (NOTE) MEMORY READ CYCLE MEMORY READ CYCLE HIGH IMPEDANCE STATE VALID OUTPUT VALID DATA FROM MEMORY NOTE: USER GENERATED SIGNAL “DON’T CARE” OR INTERNAL DELAYS FIGURE 9. OUTPUT CYCLE TIMING WAVEFORMS 11 FN1441.3 October 17, 2008 CDP1802AC/3 Machine Cycle Timing Waveforms 0 CLOCK TPA TPB MACHINE CYCLE INSTRUCTION DMA-IN MRD MWR MEMORY OUTPUT VALID OUTPUT DATA BUS (NOTE) VALID DATA FROM INPUT DEVICE MEMORY READ CYCLE MEMORY READ, WRITE OR NON-MEMORY CYCLE “DON’T CARE” OR INTERNAL DELAYS MEMORY WRITE CYCLE CYCLE n FETCH (S0) CYCLE (n+1) EXECUTE (S1) CYCLE (n+2) DMA (S2) 1 2 3 4 5 6 (Propagation Delays Not Shown) 7 0 1 2 3 4 5 (Continued) 6 7 0 1 2 3 4 5 6 7 NOTE: USER GENERATED SIGNAL HIGH IMPEDANCE STATE FIGURE 10. DMA IN CYCLE TIMING WAVEFORMS 0 CLOCK TPA TPB MACHINE CYCLE INSTRUCTION DMA OUT (NOTE) MRD MWR MEMORY OUTPUT DATA STROBE (S2 ² TPB) (NOTE) 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 CYCLE n FETCH (S0) CYCLE (n + 1) EXECUTE (S1) CYCLE (n + 2) DMA (S2) VALID OUTPUT VALID DATA FROM MEMORY MEMORY READ CYCLE MEMORY READ, WRITE OR NON-MEMORY CYCLE “DON’T CARE” OR INTERNAL DELAYS MEMORY READ CYCLE NOTE: USER GENERATED SIGNAL HIGH IMPEDANCE STATE FIGURE 11. DMA OUT CYCLE TIMING WAVEFORMS 12 FN1441.3 October 17, 2008 CDP1802AC/3 Machine Cycle Timing Waveforms 0 CLOCK TPA TPB MACHINE CYCLE CYCLE n CYCLE (n + 1) CYCLE (n + 2) 1 2 3 4 5 6 (Propagation Delays Not Shown) 7 0 1 2 3 4 5 (Continued) 6 7 0 1 2 3 4 5 6 INSTRUCTION FETCH (S0) EXECUTE (S1) INTERRUPT (S3) MRD MWR INTERRUPT (NOTE) (INTERNAL) IE MEMORY OUTPUT VALID OUTPUT MEMORY READ, WRITE OR NON-MEMORY CYCLE MEMORY READ CYCLE NON-MEMORY CYCLE NOTE: USER GENERATED SIGNAL “DON’T CARE” OR INTERNAL DELAYS HIGH IMPEDANCE STATE FIGURE 12. INTERRUPT CYCLE TIMING WAVEFORMS Performance Curves SYSTEM MAXIMUM CLOCK FREQUENCY (fCL) (MHz) LOAD CAPACITANCE (CL) = 50pF 7 6 5 4 VDD = 5V 3 2 1 0 25 35 45 55 65 75 85 95 105 115 125 SYSTEM MAXIMUM CLOCK FREQUENCY (fCL) (MHz) 8 8 LOAD CAPACITANCE (CL) = 50pF 7 6 5 PO LA TE D TA = +25°C 4 3 EX 2 1 0 2 TR A TA = +125°C 3 4 AMBIENT TEMPERATURE (TA) (°C) 5 6 7 8 9 SUPPLY VOLTAGE (VDD) (V) 10 11 12 FIGURE 13. TYPICAL MAXIMUM CLOCK FREQUENCY AS A FUNCTION OF TEMPERATURE FIGURE 14. TYPICAL MAXIMUM CLOCK FREQUENCY AS A FUNCTION OF SUPPLY VOLTAGE 13 FN1441.3 October 17, 2008 CDP1802AC/3 Performance Curves 400 OUTPUT HIGH (SOURCE) CURRENT (IOH -mA) TRANSITION TIME (tTHL, t TLH) (ns) 350 300 250 200 150 100 50 00 25 tTHL tTLH AMBIENT TEMPERATURE (TA) = +25°C (Continued) 0 GATE TO SOURCE VOLTAGE (VGS) = -5V 1 2 3 4 AMBIENT TEMPERATURE = -40°C TO +85°C 5 6 -10 50 75 100 125 150 LOAD CAPACITANCE (CL) (pF) 175 200 -9 -2 -8 -7 -6 -5 -4 -3 DRAIN TO SOURCE VOLTAGE (VDS) (V) -1 0 FIGURE 15. TYPICAL TRANSITION TIME vs LOAD CAPACITANCE FIGURE 16. MINIMUM OUTPUT HIGH (SOURCE) CURRENT CHARACTERISTICS OUTPUT LOW (SINK) CURRENT (IOL) (mA) 35 AMBIENT TEMPERATURE = -40°C TO +85°C 30 25 20 15 10 5 0 0 1000 TYPICAL POWER DISSIPATION (PD) (mW) AMBIENT TEMPERATURE (TA) = +25°C IDLE = “00” at M (0000) BRANCH = “3707” at M (8107) 100 10 V CC = VD D =5 V =+ 5V GATE TO SOURCE VOLTAGE (VGS) = 5V 1 “ CH AN BR ” V CC D = VD ” LE “ID 1 2 3 4 5 6 7 8 DRAIN-TO-SOURCE VOLTAGE (VDS) (V) 9 10 0.1 0.01 0.1 1M CLOCK INPUT FREQUENCY (f CL) (Hz) 10M FIGURE 17. MINIMUM OUTPUT LOW (SINK) CURRENT CHARACTERISTICS FIGURE 18. TYPICAL POWER DISSIPATION AS A FUNCTION OF CLOCK FREQUENCY FOR BRANCH INSTRUCTION AND IDLE INSTRUCTION 150 Δ PROPAGATION DELAY TIME 125 (ΔtPLH, ΔtPHL) (ns) 100 75 50 AMBIENT TEMPERATURE (TA) = +25°C D VD = 5V VC C = L Δt P H V CC = V DD = 5V 25 0 0 Δt PHL ANY OUTPUT EXCEPT XTAL 50 100 150 200 Δ LOAD CAPACITANCE (Δ CL) (pF) FIGURE 19. TYPICAL CHANGE IN PROPAGATION DELAY AS A FUNCTION OF A CHANGE IN LOAD CAPACITANCE 14 FN1441.3 October 17, 2008 CDP1802AC/3 Signal Descriptions Bus 0 to Bus 7 (Data Bus) 8-bit bidirectional DATA BUS lines. These lines are used for transferring data between the memory, the microprocessor, and I/O devices. 4. acknowledging an interrupt request. The levels of state code are tabulated in Table 1. All states are valid at TPA. H = VCC, L = VSS. TABLE 1. LEVELS OF STATE CODE STATE CODE LINES STATE TYPE S0 (Fetch) S1 (Execute) S2 (DMA) S3 (Interrupt) SC1 L L H H SC0 L H L H N0 to N2 (I/O Control Lines) Activated by an I/O instruction to signal the I/O control logic of a data transfer between memory and I/O interface. These lines can be used to issue command codes or device selection codes to the I/O devices (independently or combined with the memory byte on the data bus when an I/O instruction is being executed). The N bits are low at all times except when an I/O instruction is being executed. During this time their state is the same as the corresponding bits in the N register. The direction of data flow is defined in the I/O instruction by bit N3 (internally) and is indicated by the level of the MRD signal. MRD = VCC: Data from I/O to CPU and Memory MRD = VSS: Data from Memory to I/O TPA, TPB (2 Timing Pulses) Positive pulses that occur once in each machine cycle (TPB follows TPA). They are used by I/O controllers to interpret codes and to time interaction with the data bus. The trailing edge of TPA is used by the memory system to latch the higher-order byte of the 16-bit memory address. TPA is suppressed in IDLE when the CPU is in the load mode. MA0 to MA7 (8 Memory Address Lines) In each cycle, the higher-order byte of a 16-bit CPU memory address appears on the memory address lines MA0-7 first. Those bits required by the memory system can be strobed into external address latches by timing pulse TPA. The low order byte of the 16-bit address appears on the address lines after the termination of TPA. Latching of all 8 higher-order address bits would permit a memory system of 64k bytes. EF1 to EF4 (4 Flags) These inputs enable the I/O controllers to transfer status information to the processor. The levels can be tested by the conditional branch instructions. They can be used in conjunction with the INTERRUPT request line to establish interrupt priorities. These flags can also be used by I/O devices to “call the attention” of the processor, in which case the program must routinely test the status of these flag(s). The flag(s) are sampled at the beginning of every S1 cycle. MWR (Write Pulse) A negative pulse appearing in a memory-write cycle, after the address lines have stabilized. INTERRUPT, DMA-lN, DMA-OUT (3 I/O Requests) These inputs are sampled by the CPU during the interval between the leading edge of TPB and the leading edge of TPA. Interrupt Action - X and P are stored in T after executing current instruction; designator X is set to 2; designator P is set to 1; interrupt enable is reset to 0 (inhibit); and instruction execution is resumed. The interrupt action requires one machine cycle (S3). DMA Action - Finish executing current instruction; R(0) points to memory area for data transfer; data is loaded into or read out of memory; and increment R(0). NOTE: In the event of concurrent DMA and Interrupt requests, DMA-lN has priority followed by DMA-OUT and then Interrupt. MRD (Read Level) A low level on MRD indicates a memory read cycle. It can be used to control three-state outputs from the addressed memory which may have a common data input and output bus. If a memory does not have a three-state high-impedance output, MRD is useful for driving memory/bus separator gates. It is also used to indicate the direction of data transfer during an I/O instruction. For additional information see Table 4. Q Single bit output from the CPU which can be set or reset under program control. During SEQ or REQ instruction execution, Q is set or reset between the trailing edge of TPA and the leading edge of TPB. SC0, SC1 (2 State Code Lines) These outputs indicate that the CPU is: 1. Fetching an instruction 2. Executing an instruction 3. Processing a DMA request, CLOCK Input for externally generated single-phase clock. The clock is counted down internally to 8-clock pulses per machine cycle. 15 FN1441.3 October 17, 2008 CDP1802AC/3 XTAL Connection to be used with clock input terminal, for an external crystal, if the on-chip oscillator is utilized. The crystal is connected between terminals 1 and 39 (CLOCK and XTAL) in parallel with a resistance (10MΩ typ). Frequency trimming capacitors may be required at terminals 1 and 39. For additional information, see Application Note AN6565. loaded into the register and the lower order 4 bits into the N register. The content of the program counter is automatically incremented by one so that R(P) is now “pointing” to the next byte in the memory. The X designator selects one of the 16 registers R(X) to “point” to the memory for an operand (or data) in certain ALU or I/O operations. The N designator can perform the following five functions depending on the type of instruction fetched: 1. Designate one of the 16 registers in R to be acted upon during register operations. MODE LOAD RESET PAUSE RUN WAIT, CLEAR (2 Control Lines) Provide four control modes as listed in Table 2: TABLE 2. TRUTH TABLE CLEAR L L H H WAIT L H L H 2. Indicate to the I/O devices a command code or device selection code for peripherals. 3. Indicate the specific operation to be executed during the ALU instructions, types of test to be performed during the Branch instruction, or the specific operation required in a class of miscellaneous instructions (70 - 73 and 78 - 7B). 4. Indicate the value to be loaded into P to designate a new register to be used as the program counter R(P). 5. Indicate the value to be loaded into X to designate a new register to be used as data pointer R(X). The registers in R can be assigned by a programmer in three different ways: as program counters, as data pointers, or as scratchpad locations (data registers) to hold two bytes of data. VDD, VSS, VCC (Power Levels) The internal voltage supply VDD is isolated from the Input/Output voltage supply VCC so that the processor may operate at maximum speed while interfacing with peripheral devices operating at lower voltage. VCC must be less than or equal to VDD. All outputs swing from VSS to VCC. The recommended input voltage swing is VSS to VCC. Program Counters Any register can be the main program counter; the address of the selected register is held in the P designator. Other registers in R can be used as subroutine program counters. By single instruction the contents of the P register can be changed to effect a “call” to a subroutine. When interrupts are being serviced, register R(1) is used as the program counter for the user's interrupt servicing routine. After reset, and during a DMA operation, R(0) is used as the program counter. At all other times the register designated as program counter is at the discretion of the user. Architecture The “CPU Block Diagram” is shown on page 3. The principal feature of this system is a register array (R) consisting of sixteen 16-bit scratchpad registers. Individual registers in the array (R) are designated (selected) by a 4-bit binary code from one of the 4-bit registers labeled N, P and X. The contents of any register can be directed to any one of the following three paths: 1. The external memory (multiplexed, higher-order byte first, on to 8 memory address lines). 2. The D register (either of the two bytes can be gated to D). 3. The increment/decrement circuit where it is increased or decreased by one and stored back in the selected 16-bit register. The three paths, depending on the nature of the instruction, may operate independently or in various combinations in the same machine cycle. With two exceptions, CPU instruction consists of two 8-clock-pulse machine cycles. The first cycle is the fetch cycle, and the second and third if necessary, are execute cycles. During the fetch cycle the four bits in the P designator select one of the 16 registers R(P) as the current program counter. The selected register R(P) contains the address of the memory location from which the instruction is to be fetched. When the instruction is read out from the memory, the higher order 4 bits of the instruction byte are 16 Data Pointers The registers in R may be used as data pointers to indicate a location in memory. The register designated by X (i.e., R(X)) points to memory for the following instructions (see Table 4). 1. ALU operations F1 - F5, F7, 74, 75, 77 2. Output instructions 61 through 67 3. Input instructions 69 through 6F 4. Certain miscellaneous instructions - 70 - 73, 78, 60, F0 The register designated by N (i.e., R(N)) points to memory for the “load D from memory” instructions 0N and 4N and the “Store D” instruction 5N. The register designated by P (i.e., the program counter) is used as the data pointer for ALU instructions F8 - FD, FF, 7C, 7D, 7F. During these instruction executions, the operation is referred to as “data immediate”. Another important use of R as a data pointer supports the built-in Direct-Memory-Access (DMA) function. When a FN1441.3 October 17, 2008 CDP1802AC/3 DMA-IN or DMA-Out request is received, one machine cycle is “stolen”. This operation occurs at the end of the execute machine cycle in the current instruction. Register R(0) is always used as the data pointer during the DMA operation. The data is read from (DMA-Out) or written into (DMA-IN) the memory location pointed to by the R(0) register. At the end of the transfer, R(0) is incremented by one so that the processor is ready to act upon the next DMA byte transfer request. This feature in the 1800-series architecture saves a substantial amount of logic when fast exchanges of blocks of data are required, such as with magnetic discs or during CRT-display-refresh cycles. CPU Register Summary D DF B R P X N I T lE Q 8 Bits 1-Bit 8 Bits 16 Bits 4 Bits 4 Bits 4 Bits 4 Bits 8 Bits 1-Bit 1-Bit Data Register (Accumulator) Data Flag (ALU Carry) Auxiliary Holding Register 1 of 16 Scratchpad Registers Designates which register is Program Counter Designates which register is Data Pointer Holds Low-Order Instruction Digit Holds High-Order Instruction Digit Holds old X, P after Interrupt (X is high nibble) Interrupt Enable Output Flip-Flop Data Registers When registers in R are used to store bytes of data, four instructions are provided which allow D to receive from or write into either the higher-order or lower-order byte portions of the register designated by N. By this mechanism (together with loading by data immediate) program pointer and data pointer designations are initialized. Also, this technique allows scratchpad registers in R to be used to hold general data. By employing increment or decrement instructions, such registers may be used as loop counters. CDP1802 Control Modes The WAIT and CLEAR lines provide four control modes as listed in Table 3: TABLE 3. CONTROL MODES CLEAR L L H H WAIT L H L H MODE LOAD RESET PAUSE RUN The Q Flip-Flop An internal flip-flop, Q, can be set or reset by instruction and can be sensed by conditional branch instructions. The output of Q is also available as a microprocessor output. The functions of the modes are defined as follows: LOAD Holds the CPU in the IDLE execution state and allows an I/O device to load the memory without the need for a “bootstrap” loader. It modifies the IDLE condition so that DMA-lN operation does not force execution of the next instruction. RESET Registers l, N, Q are reset, lE is set and 0’s (VSS) are placed on the data bus. TPA and TPB are suppressed while reset is held and the CPU is placed in S1. The first machine cycle after termination of reset is an initialization cycle which requires 9 clock pulses. During this cycle the CPU remains in S1 and register X, P, and R(0) are reset. Interrupt and DMA servicing are suppressed during the initialization cycle. The next cycle is an S0, S1, or an S2 but never an S3. With the use of a 71 instruction followed by 00 at memory locations 0000 and 0001, this feature may be used to reset IE, so as to preclude interrupts until ready for them. Power-up reset can be realized Interrupt Servicing Register R(1) is always used as the program counter whenever interrupt servicing is initiated. When an interrupt request occurs and the interrupt is allowed by the program (again, nothing takes place until the completion of the current instruction), the contents of the X and P registers are stored in the temporary register T, and X and P are set to new values; hex digit 2 in X and hex digit 1 in P. Interrupt Enable is automatically deactivated to inhibit further interrupts. The user's interrupt routine is now in control; the contents of T may be saved by means of a single instruction (78) in the memory location pointed to by R(X). At the conclusion of the interrupt, the user's routine may restore the pre-interrupted value of X and P with a single instruction (70 or 71). The Interrupt Enable flip-flop can be activated to permit further interrupts or can be disabled to prevent them. 17 FN1441.3 October 17, 2008 CDP1802AC/3 by connecting an RC network directly to the CLEAR pin, since it has a Schmitt triggered input; see Figure 20. VCC RS CLEAR 3 C CDP1802 THE RC TIME CONSTANT SHOULD BE GREATER THAN THE OSCILLATOR START-UP TIME (TYPICALLY 20ms) RUN-MODE STATE TRANSITIONS The CPU state transitions when in the RUN and RESET modes are shown in Figure 21. Each machine cycle requires the same period of time, 8-clock pulses, except the initialization cycle, which requires 9-clock pulses. The execution of an instruction requires either two or three machine cycles, S0 followed by a single S1 cycle or two S1 cycles. S2 is the response to a DMA request and S3 is the interrupt response. Table 5 shows the conditions on Data Bus and Memory Address lines during all machine states. INSTRUCTION SET FIGURE 20. RESET DIAGRAM PAUSE Stops the internal CPU timing generator on the first negative high-to-low transition of the input clock. The oscillator continues to operate, but subsequent clock transitions are ignored. RUN May be initiated from the Pause or Reset mode functions. If initiated from Pause, the CPU resumes operation on the first negative high-to-low transition of the input clock. When initiated from the Reset operation, the first machine cycle following Reset is always the initialization cycle. The initialization cycle is then followed by a DMA (S2) cycle or fetch (S0) from location 0000 in memory. The CPU instruction summary is given in Table 4. Hexadecimal notation is used to refer to the 4-bit binary codes. In all registers bits are numbered from the least significant bit (LSB) to the most significant bit (MSB) starting with 0. R(W): Register designated by W, where: W = N or X, or P R(W).0: Lower order byte of R(W) R(W).1: Higher order byte of R(W) OPERATION NOTATION M(R(N)) → D; R(N) + 1 → R(N) This notation means: The memory byte pointed to by R(N) is loaded into D, and R(N) is incremented by 1. . IDLE • DMA • INT FORCE S1 S1 RESET (LONG BRANCH, LONG SKIP, NOP, ETC.) DMA S1 EXECUTE S1 INIT DMA DMA DMA DMA • IDLE • INT INT • DMA S2 DMA DMA • INT S0 FETCH DMA S3 INT DMA PRIORITY: FORCE S0, S1 DMA IN DMA OUT INT INT • DMA FIGURE 21. STATE TRANSITION DIAGRAM 18 FN1441.3 October 17, 2008 CDP1802AC/3 TABLE 4. INSTRUCTION SUMMARY (See Notes 11 through 16) INSTRUCTION MEMORY REFERENCE LOAD VIA N LOAD ADVANCE LOAD VIA X LOAD VIA X AND ADVANCE LOAD IMMEDIATE STORE VIA N STORE VIA X AND DECREMENT REGISTER OPERATIONS INCREMENT REG N DECREMENT REG N INCREMENT REG X GET LOW REG N PUT LOW REG N GET HIGH REG N PUT HIGH REG N LOGIC OPERATIONS (Note 11) OR OR IMMEDIATE EXCLUSIVE OR EXCLUSIVE OR IMMEDIATE AND AND IMMEDIATE SHIFT RIGHT SHIFT RIGHT WITH CARRY RING SHIFT RIGHT SHIFT LEFT SHIFT LEFT WITH CARRY RING SHIFT LEFT ARITHMETIC OPERATIONS (Note 11) ADD ADD IMMEDIATE ADD WITH CARRY ADD WITH CARRY, IMMEDIATE SUBTRACT D SUBTRACT D IMMEDIATE SUBTRACT D WITH BORROW ADD ADl ADC ADCl SD SDl SDB F4 FC 74 7C F5 FD 75 M(R(X)) + D → DF, D M(R(P)) + D → DF, D; R(P) + 1 → R(P) M(R(X)) + D + DF → DF, D M(R(P)) + D + DF → DF, D; R(P) + 1 → R(P) M(R(X)) - D → DF, D M(R(P)) - D → DF, D; R(P) + 1 → R(P) M(R(X)) - D - (NOT DF) → DF, D OR ORl XOR XRI AND ANl SHR SHRC RSHR SHL SHLC RSHL F1 F9 F3 FB F2 FA F6 M(R(X)) OR D → D M(R(P)) OR D → D; R(P) + 1 → R(P) M(R(X)) XOR D → D M(R(P)) XOR D → D; R(P) + 1 → R(P) M(R(X)) AND D → D M(R(P)) AND D → D; R(P) + 1 → R(P) SHIFT D RIGHT, LSB(D) → DF, 0 → MSB(D) INC DEC IRX GLO PLO GHl PHI 1N 2N 60 8N AN 9N BN R(N) + 1 → R(N) R(N) - 1 → R(N) R(X) + 1 → R(X) R(N).0 → D D → R(N).0 R(N).1 → D D → R(N).1 LDN LDA LDX LDXA LDl STR STXD 0N 4N F0 72 F8 5N 73 M(R(N)) → D; FOR N not 0 M(R(N)) → D; R(N) + 1 → R(N) M(R(X)) → D M(R(X)) → D; R(X) + 1 → R(X) M(R(P)) → D; R(P) + 1 → R(P) D → M(R(N)) D → M(R(X)); R(X) - 1 → R(X) MNEMONIC OP CODE OPERATION 76 SHIFT D RIGHT, LSB(D) → DF, DF → MSB(D) (Note 12) 76 SHIFT D RIGHT, LSB(D) → DF, DF → MSB(D) (Note 12) FE SHIFT D LEFT, MSB(D) → DF, 0 → LSB(D) 7E SHIFT D LEFT, MSB(D) → DF, DF → LSB(D) (Note 12) 7E SHIFT D LEFT, MSB(D) → DF, DF → LSB(D) (Note 12) 19 FN1441.3 October 17, 2008 CDP1802AC/3 TABLE 4. INSTRUCTION SUMMARY (See Notes 11 through 16) (Continued) INSTRUCTION SUBTRACT D WITH BORROW, IMMEDIATE SUBTRACT MEMORY SUBTRACT MEMORY IMMEDIATE SUBTRACT MEMORY WITH BORROW SUBTRACT MEMORY WITH BORROW, IMMEDIATE BRANCH INSTRUCTIONS - SHORT BRANCH SHORT BRANCH NO SHORT BRANCH (See SKP) SHORT BRANCH IF D = 0 SHORT BRANCH IF D NOT 0 SHORT BRANCH IF DF = 1 SHORT BRANCH IF POS OR ZERO SHORT BRANCH IF EQUAL OR GREATER SHORT BRANCH IF DF = 0 SHORT BRANCH IF MINUS SHORT BRANCH IF LESS SHORT BRANCH IF Q = 1 SHORT BRANCH IF Q = 0 SHORT BRANCH IF EF1 = 1 (EF1 = VSS) SHORT BRANCH IF EF1 = 0 (EF1 = VCC) SHORT BRANCH IF EF2 = 1 (EF2 = VSS) SHORT BRANCH IF EF2 = 0 (EF2 = VCC) SHORT BRANCH IF EF3 = 1 (EF3 = VSS) SHORT BRANCH IF EF3 = 0 (EF3 = VCC) SHORT BRANCH IF EF4 = 1 (EF4 = VSS) SHORT BRANCH IF EF4 = 0 (EF4 = VCC) BRANCH INSTRUCTIONS - LONG BRANCH LONG BRANCH NO LONG BRANCH (See LSKP) LONG BRANCH IF D = 0 LONG BRANCH IF D NOT 0 LONG BRANCH IF DF = 1 LONG BRANCH IF DF = 0 LONG BRANCH IF Q = 1 LBR NLBR LBZ LBNZ LBDF LBNF LBQ C0 M(R(P)) → R(P). 1, M(R(P) + 1) → R(P).0 BR NBR BZ BNZ BDF BPZ BGE BNF BM BL BQ BNQ B1 BN1 B2 BN2 B3 BN3 B4 BN4 31 39 34 3C 35 3D 36 3E 37 3F IF Q = 1, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF Q = 0, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF EF1 =1, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF EF1 = 0, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF EF2 = 1, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF EF2 = 0, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF EF3 = 1, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF EF3 = 0, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF EF4 = 1, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF EF4 = 0, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) 3B IF DF = 0, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) (Note 12) 30 M(R(P)) → R(P).0 MNEMONIC SDBl SM SMl SMB SMBl OP CODE 7D F7 FF 77 7F OPERATION M(R(P)) - D - (Not DF) → DF, D; R(P) + 1 → R(P) D-M(R(X)) → DF, D D-M(R(P)) → DF, D; R(P) + 1 → R(P) D-M(R(X))-(NOT DF) → DF, D D-M(R(P))-(NOT DF) → DF, D; R(P) + 1 → R(P) 38 R(P) + 1 → R(P) (Note 12) 32 3A IF D = 0, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) IF D NOT 0, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) 33 IF DF = 1, M(R(P)) → R(P).0, ELSE R(P) + 1 → R(P) (Note 12) C8 R(P) = 2 → R(P) (Note 12) C2 CA C3 CB C1 lF D = 0, M(R(P)) → R(P).1, M(R(P) +1) → R(P).0, ELSE R(P) + 2 → R(P) IF D Not 0, M(R(P)) → R(P).1, M(R(P) + 1) → R(P).0, ELSE R(P) + 2 → R(P) lF DF = 1, M(R(P)) → R(P).1, M(R(P) + 1) → R(P).0, ELSE R(P) + 2 → R(P) IF DF = 0, M(R(P)) → R(P).1, M(R(P) + 1) → R(P).0, ELSE R(P) + 2 → R(P) IF Q = 1, M(R(P)) → R(P).1, M(R(P) + 1) → R(P).0, ELSE R(P) + 2 → R(P) 20 FN1441.3 October 17, 2008 CDP1802AC/3 TABLE 4. INSTRUCTION SUMMARY (See Notes 11 through 16) (Continued) INSTRUCTION LONG BRANCH lF Q = 0 SKIP INSTRUCTIONS SHORT SKIP (See NBR) LONG SKIP (See NLBR) LONG SKIP IF D = 0 LONG SKIP IF D NOT 0 LONG SKIP IF DF = 1 LONG SKIP IF DF = 0 LONG SKIP lF Q = 1 LONG SKIP IF Q = 0 LONG SKIP IF lE = 1 CONTROL INSTRUCTIONS IDLE NO OPERATION SET P SET X SET Q RESET Q SAVE PUSH X, P TO STACK RETURN DISABLE INPUT - OUTPUT BYTE TRANSFER OUTPUT 1 OUTPUT 2 OUTPUT 3 OUTPUT 4 OUTPUT 5 OUTPUT 6 OUTPUT 7 INPUT 1 INPUT 2 INPUT 3 INPUT 4 INPUT 5 OUT 1 OUT 2 OUT 3 OUT 4 OUT 5 OUT 6 OUT 7 INP 1 INP 2 INP 3 INP 4 INP 5 61 62 63 64 65 66 67 69 6A 6B 6C 6D M(R(X)) → BUS; R(X) + 1 → R(X); N LINES = 1 M(R(X)) → BUS; R(X) + 1 → R(X); N LINES = 2 M(R(X)) → BUS; R(X) + 1 → R(X); N LINES = 3 M(R(X)) → BUS; R(X) + 1 → R(X); N LINES = 4 M(R(X)) → BUS; R(X) + 1 → R(X); N LINES = 5 M(R(X)) → BUS; R(X) + 1 → R(X); N LINES = 6 M(R(X)) → BUS; R(X) + 1 → R(X); N LINES = 7 BUS → M(R(X)); BUS → D; N LINES = 1 BUS → M(R(X)); BUS → D; N LINES = 2 BUS → M(R(X)); BUS → D; N LINES = 3 BUS → M(R(X)); BUS → D; N LINES = 4 BUS → M(R(X)); BUS → D; N LINES = 5 lDL NOP SEP SEX SEQ REQ SAV MARK RET DlS 00 WAIT FOR DMA OR INTERRUPT; M(R(0)) → BUS (Note 13) C4 DN EN 7B 7A 78 79 70 71 CONTINUE N→P N→X 1→Q 0→Q T → M(R(X)) (X, P) → T; (X, P) → M(R(2)), THEN P → X; R(2) - 1 → R(2) M(R(X)) → (X, P); R(X) + 1 → R(X), 1 → lE M(R(X)) → (X, P); R(X) + 1 → R(X), 0 → lE SKP LSKP LSZ LSNZ LSDF LSNF LSQ LSNQ LSlE 38 R(P) + 1 → R(P) (Note 12) C8 R(P) + 2 → R(P) (Note 12) CE C6 CF C7 CD C5 CC IF D = 0, R(P) + 2 → R(P), ELSE CONTINUE IF D Not 0, R(P) + 2 → R(P), ELSE CONTINUE IF DF = 1, R(P) + 2 → R(P), ELSE CONTINUE IF DF = 0, R(P) + 2 → R(P), ELSE CONTINUE IF Q = 1, R(P) + 2 → R(P), ELSE CONTINUE IF Q = 0, R(P) + 2 → R(P), ELSE CONTINUE IF IE = 1, R(P) + 2 → R(P), ELSE CONTINUE MNEMONIC LBNQ OP CODE C9 OPERATION lF Q = 0, M(R(P)) → R(P).1, M(R(P) + 1) → R(P).0 EISE R(P) + 2 → R(P) 21 FN1441.3 October 17, 2008 CDP1802AC/3 TABLE 4. INSTRUCTION SUMMARY (See Notes 11 through 16) (Continued) INSTRUCTION INPUT 6 INPUT 7 NOTES: (For Table 4) 11. The arithmetic operations and the shift instructions are the only instructions that can alter the DF. After an add instruction: DF = 1 denotes a carry has occurred DF = 0 Denotes a carry has not occurred After a subtract instruction: DF = 1 denotes no borrow. D is a true positive number DF = 0 denotes a borrow. D is two’s complement The syntax “-(not DF)” denotes the subtraction of the borrow. 12. This instruction is associated with more than one mnemonic. Each mnemonic is individually listed. 13. An idle instruction initiates a repeating S1 cycle. The processor will continue to idle until an I/O request (INTERRUPT, DMA-lN, or DMA- OUT) is activated. When the request is acknowledged, the idle cycle is terminated and the I/O request is serviced, and then normal operation is resumed. 14. Long-Branch, Long-Skip and No Op instructions require three cycles to complete (1 fetch + 2 execute). Long-Branch instructions are three bytes long. The first byte specifies the condition to be tested; and the second and third byte, the branching address. The long-branch instructions can: a. Branch unconditionally b. Test for D = 0 or D ≠ 0 c. Test for DF = 0 or DF = 1 d. Test for Q = 0 or Q = 1 e. Effect an unconditional no branch If the tested condition is met, then branching takes place; the branching address bytes are loaded in the high-and-low order bytes of the current program counter, respectively. This operation effects a branch to any memory location. If the tested condition is not met, the branching address bytes are skipped over, and the next instruction in sequence is fetched and executed. This operation is taken for the case of unconditional no branch (NLBR). 15. The short-branch instructions are two bytes long. The first byte specifies the condition to be tested, and the second specifies the branching address. The short branch instruction can: a. Branch unconditionally b. Test for D = 0 or D ≠ 0 c. Test for DF = 0 or DF = 1 d. Test for Q = 0 or Q = 1 e. Test the status (1 or 0) of the four EF flags f. Effect an unconditional no branch If the tested condition is met, then branching takes place; the branching address byte is loaded into the low-order byte position of the current program counter. This effects a branch within the current 256-byte page of the memory, i.e., the page which holds the branching address. If the tested condition is not met, the branching address byte is skipped over, and the next instruction in sequence is fetched and executed. This same action is taken in the case of unconditional no branch (NBR). 16. The skip instructions are one byte long. There is one Unconditional Short-Skip (SKP) and eight Long-Skip instructions. The Unconditional Short-Skip instruction takes 2 cycles to complete (1 fetch + 1 execute). Its action is to skip over the byte following it. Then the next instruction in sequence is fetched and executed. This SKP instruction is identical to the unconditional no-branch instruction (NBR) except that the skipped-over byte is not considered part of the program. The Long-Skip instructions take three cycles to complete (1 fetch + 2 execute). They can: a. Skip unconditionally b. Test for D = 0 or D ≠ 0 c. Test for DF = 0 or DF = 1 d. Test for Q = 0 or Q = 1 e. Test for IE = 1 If the tested condition is met, then Long Skip takes place; the current program counter is incremented twice. Thus two bytes are skipped over, and the next instruction in sequence is fetched and executed. If the tested condition is not met, then no action is taken. Execution is continued by fetching the next instruction in sequence. MNEMONIC INP 6 INP 7 OP CODE 6E 6F OPERATION BUS → M(R(X)); BUS → D; N LINES = 6 BUS → M(R(X)); BUS → D; N LINES = 7 22 FN1441.3 October 17, 2008 CDP1802AC/3 TABLE 5. CONDITIONS ON DATA BUS AND MEMORY ADDRESS LINES DURING ALL MACHINE STATES STATE S1 I N SYMBOL RESET Initialize, Not Programmer Accessible S0 S1 0 0 1 2 3 4 5 6 6 0 1-F 0-F 0-F 0-F 0-F 0-F 0 1 2 3 4 5 6 7 9 A B C D E F 7 0 1 2 3 4 5 6 7 8 FETCH lDL LDN INC DEC Short Branch LDA STR IRX OUT 1 OUT 2 OUT 3 OUT 4 OUT 5 OUT 6 OUT 7 INP 1 INP 2 INP 3 INP 4 INP5 INP6 INP7 RET DlS LDXA STXD ADC SDB SHRC SMB SAV MRX → (X, P); RX + 1 → RX; 1 → lE MRX → (X, P); RX + 1 → RX; 0 → lE MRX → D; RX + 1 → RX D → MRX; RX - 1 → RX MRX + D + DF → DF, D MRX - D - DFN → DF, D LSB(D) → DF; DF → MSB(D) D - MRX - DFN → DF, D T → MRX MRX MRX MRX D MRX MRX Float MRX T RX RX RX RX RX RX RX RX RX 0 0 0 1 0 0 1 0 1 1 1 1 0 1 1 1 1 0 BUS → MRX, D Data from I/O Device RX 1 0 OPERATION 0 → I, N, Q, X, P; 1 → lE 0000 → R MRP → l, N; RP + 1 → RP IDLE MRN → D RN + 1 → RN RN - 1 → RN Taken: MRP → RP.0 Not Taken; RP + 1 → RP MRN → D; RN + 1 → RN D → MRN RX + 1 → RX MRX → BUS; RX + 1 → RX DATA BUS 00 00 MRP MR0 MRN Float Float MRP MRN D MRX MRX MEMORY ADDRESS XXXX XXXX RP RO RN RN RN RP RN RN RX RX MRD 1 1 0 0 0 1 1 0 0 1 0 0 MWR 1 1 1 1 1 1 1 1 1 0 1 1 N LINES 0 0 0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 1 2 3 4 5 6 7 0 0 0 0 0 0 0 0 0 NOTES 17 18 19 20, Fig. 6 Fig. 6 Fig. 4 Fig. 4 Fig. 6 Fig. 6 Fig. 5 Fig. 5 Fig. 9 Fig. 9 Fig. 9 Fig. 9 Fig. 9 Fig. 9 Fig. 9 Fig. 8 Fig. 8 Fig. 8 Fig. 8 Fig. 8 Fig. 8 Fig. 8 Fig. 6 Fig. 6 Fig. 6 Fig. 5 Fig. 6 Fig. 6 Fig. 4 Fig. 6 Fig. 5 23 FN1441.3 October 17, 2008 CDP1802AC/3 TABLE 5. CONDITIONS ON DATA BUS AND MEMORY ADDRESS LINES DURING ALL MACHINE STATES (Continued) STATE S1 I 7 N 9 A B C D E F 8 9 A B S1#1 #2 S1#1 #2 S1#1 #2 S1#1 #2 5 6 7 C D E F 4 Long Skip C 0-F 0-F 0-F 0-F 0 - 3, 8-B SYMBOL MARK REQ SEQ ADCl SDBl SHLC SMBl GLO GHl PLO PHI Long Branch OPERATION (X, P) → T, MR2; P → X; R2 - 1 → R2 0→Q 1→Q MRP + D + DF → DF, D; RP + 1 MRP - D - DFN → DF, D; RP + 1 MSB(D) → DF; DF → LSB(D) D - MRP - DFN → DF, D; RP + 1 RN.0 → D RN.1 → D D → RN.0 D → RN.1 Taken: MRP → B; RP + 1 → RP Taken: B → RP.1; MRP → RP.0 Not Taken: RP + 1 → RP Not Taken: RP + 1 → RP Taken: RP + 1 → RP Taken: RP + 1 → RP Not Taken: No Operation Not Taken: No Operation NOP DATA BUS T Float Float MRP MRP Float MRP RN.0 RN.1 D D MRP M(RP + 1) MRP M(RP + 1) MRP M(RP + 1) MRP MRP MEMORY ADDRESS R2 RP RP RP RP RP RP RN RN RN RN RP RP + 1 RP RP + 1 RP RP + 1 RP RP MRD 1 1 1 0 0 1 0 1 1 1 1 0 0 0 0 0 0 0 0 MWR 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 N LINES 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NOTES Fig. 5 Fig. 4 Fig. 4 Fig. 6 Fig. 6 Fig. 4 Fig. 6 Fig. 4 Fig. 4 Fig. 4 Fig. 4 Fig. 7 Fig. 7 Fig. 7 Fig. 7 Fig. 7 Fig. 7 Fig. 7 Fig. 7 S1#1 #2 S1 D E S1 F No Operation No Operation MRP MRP NN NN MRX MRX RP RP RN RN RX RX 0 0 1 1 0 0 1 1 1 1 1 1 0 0 0 0 0 0 Fig. 7 Fig. 7 Fig. 4 Fig. 4 Fig. 6 Fig. 6 0-F 0-F 0 1 2 3 4 5 7 6 SEP SEX LDX OR AND XOR ADD SD SM SHR N→P N→X MRX → D MRX OR D → D MRX AND D → D MRX XOR D → D MRX + D → DF, D MRX - D → DF, D D - MRX → DF, D LSB(D) → DF; 0 → MSB(D) Float RX 1 1 0 Fig. 4 24 FN1441.3 October 17, 2008 CDP1802AC/3 TABLE 5. CONDITIONS ON DATA BUS AND MEMORY ADDRESS LINES DURING ALL MACHINE STATES (Continued) STATE S1 I F N 8 9 A B C D F E S2 DMA IN DMAOUT S3 S1 NOTES: 17. lE = 1, TPA, TPB suppressed, state = S1. 18. BUS = 0 for entire cycle. 19. Next state always S1. 20. Wait for DMA or INTERRUPT. 21. Suppress TPA, wait for DMA. 22. IN REQUEST has priority over OUT REQUEST. 23. See “Timing Waveforms” beginning on page 7 and Figures 3 through 12 for “Machine Cyle Timing Waveforms beginning on page 9. INTERRUPT LOAD SYMBOL LDl ORl ANl XRl ADl SDl SMl SHL OPERATION MRP → D; RP + 1 → RP MRP OR D → D; RP + 1 → RP MRP AND D → D; RP + 1 → RP MRP XOR D → D; RP + 1 → RP MRP + D → DF, D; RP + 1 → RP MRP - D → DF, D; RP + 1 → RP D - MRP → DF, D; RP +1 → RP MSB(D) → DF; 0 → LSB(D) BUS → MR0; R0 + 1 → R0 MR0 → BUS; R0 + 1 → R0 X, P → T; 0 → lE, 1 → P; 2→X IDLE (CLEAR, WAlT = 0) Float Data from I/O Device MR0 Float M(R0 - 1) RP R0 R0 RN R0 - 1 1 1 0 1 0 1 0 1 1 1 0 0 0 0 0 Fig. 4 22, Fig. 10 22, Fig. 11 Fig. 12 21, Fig. 6 DATA BUS MRP MEMORY ADDRESS RP MRD 0 MWR 1 N LINES 0 NOTES Fig. 6 Operating and Handling Considerations Handling All inputs and outputs of Intersil CMOS devices have a network for electrostatic protection during handling. INPUT SIGNALS To prevent damage to the input protection circuit, input signals should never be greater than VDD nor less than VSS. Input currents must not exceed 10mA even when the power supply is off. UNUSED INPUTS A connection must be provided at every input terminal. All unused input terminals must be connected to either VDD or VSS, whichever is appropriate. OUTPUT SHORT CIRCUITS Shorting of outputs to VDD or VSS may damage CMOS devices by exceeding the maximum device dissipation. Operating OPERATING VOLTAGE During operation near the maximum supply voltage limit care should be taken to avoid or suppress power supply turn-on and turn-off transients, power supply ripple, or ground noise; any of these conditions must not cause VDD - VSS to exceed the absolute maximum rating. 25 FN1441.3 October 17, 2008 CDP1802AC/3 Burn-In Circuit VDD 1 2 3 4 5 6 7 8 NC 9 10 11 12 13 14 15 VDD NC 16 17 18 19 20 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 VDD NC VDD ALL RESISTORS ARE 47kΩ ±20% TYPE CDP1802AC VDD 7V TEMPERATURE +125°C TIME 160 Hours FIGURE 22. BIAS/STATIC BURN-IN CIRCUIT 26 FN1441.3 October 17, 2008 CDP1802AC/3 Ceramic Dual-In-Line Metal Seal Packages (SBDIP) c1 -A-DBASE METAL M -Bbbb S C A - B S BASE PLANE SEATING PLANE S1 b2 b AA D S2 -CQ A L DS b1 M (b) SECTION A-A (c) LEAD FINISH D40.6 MIL-STD-1835 CDIP2-T40 (D-5, CONFIGURATION C) 40 LEAD CERAMIC DUAL-IN-LINE METAL SEAL PACKAGE INCHES SYMBOL A b b1 b2 b3 c c1 D E e eA eA/2 L Q S1 S2 MIN 0.014 0.014 0.045 0.023 0.008 0.008 0.510 MAX 0.225 0.026 0.023 0.065 0.045 0.018 0.015 2.096 0.620 MILLIMETERS MIN 0.36 0.36 1.14 0.58 0.20 0.20 12.95 MAX 5.72 0.66 0.58 1.65 1.14 0.46 0.38 53.24 15.75 2.54 BSC 15.24 BSC 7.62 BSC 3.18 0.38 0.13 0.13 90o 40 5.08 1.78 105o 0.38 0.76 0.25 0.038 NOTES 2 3 4 2 3 4 4 5 6 7 2 8 Rev. 0 4/94 E eA e eA/2 c 0.100 BSC 0.600 BSC 0.300 BSC 0.125 0.015 0.005 0.005 90o 40 0.200 0.070 105o 0.015 0.030 0.010 0.0015 ccc M C A - B S D S aaa M C A - B S D S NOTES: 1. Index area: A notch or a pin one identification mark shall be located adjacent to pin one and shall be located within the shaded area shown. The manufacturer’s identification shall not be used as a pin one identification mark. 2. The maximum limits of lead dimensions b and c or M shall be measured at the centroid of the finished lead surfaces, when solder dip or tin plate lead finish is applied. 3. Dimensions b1 and c1 apply to lead base metal only. Dimension M applies to lead plating and finish thickness. 4. Corner leads (1, N, N/2, and N/2+1) may be configured with a partial lead paddle. For this configuration dimension b3 replaces dimension b2. 5. Dimension Q shall be measured from the seating plane to the base plane. 6. Measure dimension S1 at all four corners. 7. Measure dimension S2 from the top of the ceramic body to the nearest metallization or lead. 8. N is the maximum number of terminal positions. 9. Braze fillets shall be concave. 10. Dimensioning and tolerancing per ANSI Y14.5M - 1982. 11. Controlling dimension: INCH. α aaa bbb ccc M N All Intersil U.S. products are manufactured, assembled and tested utilizing ISO9000 quality systems. Intersil Corporation’s quality certifications can be viewed at www.intersil.com/design/quality Intersil products are sold by description only. Intersil Corporation reserves the right to make changes in circuit design, software and/or specifications at any time without notice. Accordingly, the reader is cautioned to verify that data sheets are current before placing orders. Information furnished by Intersil is believed to be accurate and reliable. However, no responsibility is assumed by Intersil or its subsidiaries for its use; nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Intersil or its subsidiaries. For information regarding Intersil Corporation and its products, see www.intersil.com 27 FN1441.3 October 17, 2008
CDP1802ACD3 价格&库存

很抱歉,暂时无法提供与“CDP1802ACD3”相匹配的价格&库存,您可以联系我们找货

免费人工找货