cop8acc7 National Semiconductor Corporation, cop8acc7 Datasheet
cop8acc7
Available stocks
Related parts for cop8acc7
cop8acc7 Summary of contents
Page 1
... X) Fully Static CMOS n Two power saving modes: HALT and IDLE n Single supply operation: 2.5V to 5.5V for COP8ACC5 n Single supply operation: 2.7V to 5.5V for COP8ACC7 n Temperature ranges: 0˚C to +70˚C, −40˚C to +85˚C Development System n Emulation and OTP devices n Real time emulation and full program debug offered by ...
Page 2
... COP8ACC728N8-XE Order Number COP8ACC728M9-XE or COP8ACC728M8-XE See NS Molded Package Number M28B www.national.com FIGURE 1. Block Diagram Note: -X Crystal Oscillator Note: -E Halt Enable DS012865-2 Order Number COP8ACC520M9 or COP8ACC520N8 Order Number COP8ACC720M9-XE or See NS Molded Package Number M20B FIGURE 2. Connection Diagrams 2 DS012865-1 DS012865-3 Top View COP8ACC720N8-XE ...
Page 3
Connection Diagrams (Continued) Pinouts for 28-Pin, 20-Pin Packages Port Type L4 I/O L5 I/O L6 I/O L7 I/O G0 I/O G1 WDOUT G2 I/O G3 I/O G4 I I/CKO ...
Page 4
Absolute Maximum Ratings If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. Supply Voltage ( Voltage at Any Pin DC Electrical Characteristics 0˚C T +70˚C unless otherwise specified [OTP ...
Page 5
DC Electrical Characteristics 0˚C T +70˚C unless otherwise specified [OTP Value] A Parameter Input Capacitance Load Capacitance Electrical Characteristics 0˚C T +70˚C unless otherwise specified [OTP Value] A Parameter Instruction Cycle Time ( Crystal, Resonator ...
Page 6
Absolute Maximum Ratings If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. Supply Voltage ( Voltage at Any Pin DC Electrical Characteristics −40˚C T +85˚C unless otherwise specified [OTP ...
Page 7
DC Electrical Characteristics −40˚C T +85˚C unless otherwise specified [OTP Value] A Parameter Input Capacitance Load Capacitance Electrical Characteristics −40˚C T +85˚C unless otherwise specified [OTP Value] A Parameter Instruction Cycle Time ( Crystal, Resonator ...
Page 8
Comparator AC and DC Characteristics V = 5V, −40˚C T +85˚ Parameter Input Offset Voltage Input Common Mode Voltage Range (Note 17) Voltage Gain V /2 Reference CC DC Supply Current For Comparator (when enabled) DC Supply Current ...
Page 9
Typical Performance Characteristics Port D Source Current (COP8ACC5 Only) Ports C/G/L Source Current Ports C/G/L Weak Pull-Up Source Current (−55˚ +125˚C) A Port D Sink Current (COP8ACC5 Only) DS012865-40 Ports C/G/L Sink Current DS012865-42 Dynamic ...
Page 10
Typical Performance Characteristics Idle — (COP8ACC5 Only Current Source Regulation at −55˚C Current Source Regulation www.national.com (−55˚ +125˚C) (Continued) A Halt — DS012865-46 Current Source Regulation ...
Page 11
Pin Descriptions V and GND are the power supply pins. All V CC pins must be connected. CKI is the clock input. This can come from an R/C generated oscillator crystal oscillator (in conjunction with CKO). See Oscillator ...
Page 12
... JID instruction, and interrupt vectors for the VIS instruction). The program memory is addressed by the 15-bit program counter (PC). All interrupts in the devices vector to program memory location 0FF Hex. The COP8ACC7 device can be configured to inhibit external reads of the program memory. This is done by programming the Security Byte. SECURITY FEATURE The program memory array has an associate Security Byte that is located outside of the program address range ...
Page 13
Oscillator Circuits (Continued) > POWER SUPPLY RISE TIME FIGURE 6. Recommended Reset Circuit Figure 7 shows the Crystal and R/C Oscillator diagrams. DS012865-54 DS012865-55 FIGURE 7. Crystal and R/C Oscillator Diagrams CRYSTAL OSCILLATOR CKI and CKO can ...
Page 14
Control Registers (Continued) LPEN L Port Interrupt Enable (Multi-Input Wakeup/ Interrupt) T0PND Timer T0 Interrupt pending T0EN Timer T0 Interrupt Enable (Bit 12 toggle) µWPND MICROWIRE/PLUS interrupt pending µWEN Enable MICROWIRE/PLUS interrupt T1PNDB Timer T1 Interrupt Pending Flag for T1B ...
Page 15
Timers (Continued) TIMER T1 The devicea have a powerful timer/counter block. The timer consists of a 16-bit timer, T1, and two supporting 16-bit autoreload/capture registers, R1A and R1B. The timer block has two pins associated with it, T1A and T1B. ...
Page 16
Timers (Continued) Mode 3. Input Capture Mode The devices can precisely measure external frequencies or time external events by placing the timer block, T1, in the input capture mode. In this mode, the timer T1 is constantly running at the ...
Page 17
Timers (Continued) Mode T1C3 T1C2 HIGH SPEED CAPTURE TIMER The devices provide a 16-bit high-speed capture timer. The timer consists of a 16-bit up-counter that is clocked with the device clock ...
Page 18
Power Save Modes (Continued) However, the clock monitor circuitry, if enabled, remains active and will cause the WATCHDOG output pin (WDOUT low. If the HALT mode is used and the user does not want to activate the WDOUT ...
Page 19
Multi-Input Wakeup (Continued) ister WKEN is an 8-bit read/write register, which contains a control bit for every L port bit. Setting a particular WKEN bit enables a Wakeup from the associated L port pin. The user can select whether the ...
Page 20
Multi-Input Wakeup (Continued) A control flag, LPEN, functions as a global interrupt enable for Port L interrupts. Setting the LPEN flag will enable inter- rupts and vice versa. A separate global pending flag is not needed since the register WKPND ...
Page 21
Analog Function Block Control Bit CMPISEL2 CMPISEL1 Reset The state of the Analog Block immediately after RESET is as follows: 1. The CMPSL Register ...
Page 22
Interrupts (Continued) MASKABLE INTERRUPTS All interrupts other than the Software Trap are maskable. Each maskable interrupt has an associated enable bit and pending flag bit. The pending bit is set to 1 when the interrupt condition occurs. The state of ...
Page 23
Interrupts (Continued) and enable bits to determine the source(s) of the interrupt. If more than one interrupt is active, the user’s program must decide which interrupt to service. Within a specific interrupt service routine, the associated pending bit should be ...
Page 24
Interrupts (Continued) ARBITRATION RANKING (1) Highest Software (2) Reserved (3) External (4) Timer T0 (5) Timer T1 (6) Timer T1 (7) MICROWIRE/PLUS (8) Reserved (9) Reserved (10) Reserved (11) High Speed Capture Timer (12) Reserved (13) Reserved (14) Reserved (15) ...
Page 25
Interrupts (Continued) FIGURE 15. VIS Operation FIGURE 16. VIS Flowchart 25 DS012865-65 DS012865-66 www.national.com ...
Page 26
Interrupts (Continued) Programming Example: External Interrupt PSW =00EF CNTRL =00EE RBIT 0,PORTGC RBIT 0,PORTGD SBIT IEDG, CNTRL SBIT EXEN, PSW SBIT GIE, PSW WAIT: JP WAIT . . . .=0FF VIS . . . .=01FA .ADDRW SERVICE . . INT_EXIT: ...
Page 27
Interrupts (Continued) NON-MASKABLE INTERRUPT Pending Flag There is a pending flag bit associated with the non-maskable interrupt, called STPND. This pending flag is not memory- mapped and cannot be accessed directly by the software. The pending flag is reset to ...
Page 28
WATCHDOG The devices contain a WATCHDOG and clock monitor. The WATCHDOG is designed to detect the user program getting stuck in infinite loops resulting in loss of program control or “runaway” programs. The Clock Monitor is used to detect the ...
Page 29
WATCHDOG Operation • The initial WATCHDOG service must match the key data value in the WATCHDOG Service register WDSVR in order to avoid a WATCHDOG error. • Subsequent WATCHDOG services must match all three data fields in WDSVR in order ...
Page 30
MICROWIRE/PLUS (Continued) TABLE 9. MICROWIRE/PLUS Master Mode Clock Select SL1 SL0 Where t is the instruction cycle clock C MICROWIRE/PLUS OPERATION Setting the BUSY bit in the PSW register causes the MICROWIRE/PLUS to start ...
Page 31
MICROWIRE/PLUS (Continued) FIGURE 18. MICROWIRE/PLUS Application 31 DS012865-64 www.national.com ...
Page 32
Memory Map All RAM, ports and registers (except A and PC) are mapped into data memory address space. Address S/ADD REG 0000 to 006F On-Chip RAM bytes (112 bytes) 0070 to 007F Unused RAM Address Space (Reads As All Ones) ...
Page 33
Addressing Modes (Continued) Immediate The instruction contains an 8-bit immediate field as the operand. Short Immediate This addressing mode is used with the Load B Immediate instruction. The instruction contains a 4-bit immediate field as the operand. Indirect This addressing ...
Page 34
Instruction Set (Continued) # ,Mem SBIT Set BIT # ,Mem RBIT Reset BIT IFBIT # ,Mem IF BIT RPND Reset PeNDing Flag X A,Mem EXchange A with Memory X A,[X] EXchange A with Memory [X] LD A,Meml LoaD A with ...
Page 35
Instruction Set (Continued) Instruction Execution Time Most instructions are single byte (with immediate addressing mode instructions taking two bytes). Most single byte instructions take one cycle time to execute. Skipped instructions require x number of cycles to be skipped, where ...
Page 36
Instruction Set (Continued) www.national.com NIBBLE LOWER 36 ...
Page 37
... Single-pin RC controlled oscillator (CKI/10 available as a HALT restart and/or general purpose input OPTION 2: HALT (HALT mode is enabled on COP8ACC7 Enable HALT mode = 2 Disable HALT mode OPTION 3: BONDING OPTIONS (Selected by package selection on COP8ACC7 28-Pin DIP = 2 28-Pin N 20-Pin SO Development Tools Support OVERVIEW ...
Page 38
... COP8-NSEVAL COP8-NSEVAL COP8-NSASM COP8-NSASM COP8-MLSIM COP8-MLSIM COP8-NSDEV COP8-NSDEV COP8-EPU Not available for this device COP8-DM Contact MetaLink Development COP8ACC7 Devices OTP PN# EDI 28D Programming (SO)/40D-Z-COP8LXC Adapters IM-COP8 Contact MetaLink COP8-EPU Not available for this device COP8-DM DM4-COP8-ACx (10 MHz), plus PS-10, plus DM-COP8/xxx (ie ...
Page 39
Development Tools Support Byte COP8C COP8C Craft Aisys DriveWay COP8 DriveWay COP8 OTP Programmers Contact vendors < Cost: Free $100 $100 - $300 $300 - $1k $1k - $3k $3k ...
Page 40
Physical Dimensions www.national.com inches (millimeters) unless otherwise noted Order Number COP8ACC528N9 or COP8ACC528N8 NS Molded Package Number N28A Order Number COP8ACC528M9 or COP8ACC528M8 NS Molded Package Number M28B 40 ...
Page 41
... Physical Dimensions inches (millimeters) unless otherwise noted (Continued) Order Number COP8ACC520M9 or COP8ACC520M8 Order Number COP8ACC728N9-XE or COP8ACC728N8-XE NS Molded Package Number M20B NS Molded Package Number N28A 41 www.national.com ...
Page 42
... Physical Dimensions Order Number COP8ACC728M9-XE or COP8ACC728M8-XE Order Number COP8ACC720M9-XE or COP8ACC720M8-XE www.national.com inches (millimeters) unless otherwise noted (Continued) NS Molded Package Number M28B NS Molded Package Number M20B 42 ...
Page 43
... NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant ...