COP8ACC720M9-RE NSC [National Semiconductor], COP8ACC720M9-RE Datasheet
COP8ACC720M9-RE
Related parts for COP8ACC720M9-RE
COP8ACC720M9-RE Summary of contents
Page 1
COP8ACC7 8-Bit CMOS OTP Microcontroller with 16k Memory and High Resolution A/D General Description The COP8ACC7 OTP (One Time Programmable) microcon- trollers are highly integrated COP8 Feature core devices ™ with 16k memory and advanced features including a High- Resolution ...
Page 2
... Block Diagram Connection Diagrams DS012869-3 Top View Order Number COP8ACC720M9–XE/RE or COP8ACC720N8–XE/RE See NS Molded Package Number M20B Note: -X Crystal Oscillator -R R/C Oscillator -E Halt Enable www.national.com FIGURE 1. Block Diagram Top View Order Number COP8ACC728N9–XE/RE or COP8ACC728N8–XE/RE See NS Molded Package Number N28A Order Number COP8ACC728M9– ...
Page 3
Connection Diagrams (Continued) Pinouts for 28-Pin, 20-Pin Packages Port Type L4 I/O MIWU L5 I/O MIWU L6 I/O MIWU L7 I/O MIWU G0 I/O INT G1 WDOUT G2 I/O T1B G3 I/O T1A ...
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 A ...
Page 5
DC Electrical Characteristics 0˚C T +70˚C unless otherwise specified A Parameter Input Capacitance (Note 6) Load Capacitance on D2 (Note 6) AC Electrical Characteristics 0˚C T +70˚C unless otherwise specified A Parameter Instruction Cycle Time (Note 8) Crystal, Resonator R/C ...
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 A ...
Page 7
DC Electrical Characteristics −40˚C T +85˚C unless otherwise specified A Parameter Input Capacitance (Note 14) Load Capacitance on D2 (Note 14) AC Electrical Characteristics −40˚C T +85˚C unless otherwise specified A Parameter Instruction Cycle Time (Note 16) Crystal, Resonator R/C ...
Page 8
Comparator AC and DC Characteristics = 5V, −40˚ +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 = +125˚C) (Continued) (−55˚ DS012869-28 DS012869-30 DS012869-32 9 DS012869-29 DS012869-31 DS012869-33 www.national.com ...
Page 10
Typical Performance Characteristics 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 ...
Page 11
Pin Descriptions (Continued) Configuration Data Port Set-Up Register Register 0 0 Hi-Z Input (TRI-STATE Output Input with Weak Pull- Push-Pull Zero Output 1 1 Push-Pull One Output Please note: The lower 4 L-bits read all ones ...
Page 12
Functional Description will fail Blank Check and will fail Verify operations. A Read operation will fill the programmer’s memory with 00(hex). The Security Byte itself is always readable with value of 00(hex) if unsecure and FF(hex) if secure. DATA MEMORY ...
Page 13
Oscillator Circuits (Continued) DS012869-7 DS012869-8 FIGURE 7. Crystal and R/C Oscillator Diagrams Control Registers CNTRL Register (Address X'00EE) T1C3 T1C2 T1C1 T1C0 MSEL IEDG Bit 7 The Timer1 (T1) and MICROWIRE/PLUS control register contains the following bits: T1C3 Timer T1 ...
Page 14
Timers (Continued) ITMR Register (Address X’0xCF) Reserved ITSEL2 Bit 7 Bit 3 TABLE 3. Idle Timer Window Length Idle Timer Period ITSEL2 ITSEL1 ITSEL0 (Instruction Cycles FIGURE 8. Functional Block Diagram ...
Page 15
Timers (Continued) per PWM period on either the rising or falling edge of the PWM output. Alternatively, the user may choose to interrupt on both edges of the PWM output. Mode 2. External Event Counter Mode This mode is quite ...
Page 16
Timers (Continued) TIMER CONTROL FLAGS The control bits and their functions are summarized below. T1C3 Timer mode control T1C2 Timer mode control T1C1 Timer mode control T1C0 Timer Start/Stop control in Modes 1 and 2 (Pro- cessor Independent PWM and ...
Page 17
Timers (Continued) Capture Overflow interrupt and Capture Pending interrupt share the same interrupt vector. CAPCNTL Register (Address (X’CE) Reserved CAPMOD CAPRUN CAPOVL CAPPND Bit 7-5 Bit 4 The CAPCNTL register contains the following bits: Reserved These bits are reserved and ...
Page 18
Power Save Modes (Continued) The IDLE timer cannot be started or stopped under software control, and it is not memory mapped cannot be read or written by the software. Its state upon Reset is unknown. Therefore, if the ...
Page 19
Multi-Input Wakeup (Continued) An example may serve to clarify this procedure. Suppose we wish to change the edge select from positive (low going high) to negative (high going low) for L Port bit 5, where bit 5 has previously been ...
Page 20
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 21
Interrupts (Continued) Each of the 8 maskable inputs has a fixed arbitration ranking and vector. 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 ...
Page 22
Interrupts (Continued) The interrupt service routine stored at location 00FF Hex should use the VIS instruction to determine the cause of the interrupt, and jump to the interrupt handling routine corre- sponding to the highest priority enabled and active interrupt. ...
Page 23
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 24
Interrupts (Continued) www.national.com DS012869-29 FIGURE 15. VIS Operation DS012869-30 FIGURE 16. VIS Flowchart 24 ...
Page 25
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 26
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 27
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 28
WATCHDOG Operation • Subsequent WATCHDOG services must match all three data fields in WDSVR in order to avoid WATCHDOG er- rors. • The correct key data value cannot be read from the WATCHDOG Service register WDSVR. Any attempt to read ...
Page 29
MICROWIRE/PLUS (Continued) MICROWIRE/PLUS OPERATION Setting the BUSY bit in the PSW register causes the MICROWIRE/PLUS to start shifting the data. It gets reset when eight data bits have been shifted. The user may reset the BUSY bit by software to ...
Page 30
MICROWIRE/PLUS (Continued) www.national.com FIGURE 18. MICROWIRE/PLUS Application 30 DS012869-17 ...
Page 31
Memory Map All RAM, ports and registers (except A and PC) are mapped into data memory address space. Address Contents S/ADD REG 0000 to On-Chip RAM bytes (112 bytes) 006F 0070 to Unused RAM Address Space (Reads As 007F All ...
Page 32
Addressing Modes (Continued) Immediate The instruction contains an 8-bit immediate field as the oper- and. Short Immediate This addressing mode is used with the Load B Immediate in- struction. The instruction contains a 4-bit immediate field as the operand. Indirect ...
Page 33
Instruction Set (Continued) SBIT # ,Mem Set BIT RBIT # ,Mem Reset BIT # ,Mem IFBIT 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 34
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 35
Instruction Set (Continued) NIBBLE LOWER 35 www.national.com ...
Page 36
Development Tools Support OVERVIEW National is engaged with an international community of inde- pendent 3rd party vendors who provide hardware and soft- ware development tool support. Through National’s interac- tion and guidance, these tools cooperate to form a choice of ...
Page 37
Development Tools Support (Continued) COP8 Real-Time Emulation Tools • COP8-DM: MetaLink Debug Module. A moderately priced real-time in-circuit emulation tool, with COP8 de- vice programmer. Includes COP8-NSDEV, DriveWay COP8 Demo, MetaLink Debugger, power supply, emula- tion cables and adapters. • ...
Page 38
Development Tools Support WHERE TO GET TOOLS Tools are ordered directly from the following vendors. Please go to the vendor’s web site for current listings of distributors. Vendor Home Office Aisys U.S.A.: Santa Clara, CA 1-408-327-8820 fax: 1-408-327-8830 Byte Craft ...
Page 39
Physical Dimensions inches (millimeters) unless otherwise noted Order Number COP8ACC728N9–XE/RE or COP8ACC728N8–XE/RE Order Number COP8ACC728M9–XE/RE or COP8ACC728M8–XE/RE NS Molded Package Number N28B NS Molded Package Number M28B 39 www.national.com ...
Page 40
... Physical Dimensions inches (millimeters) unless otherwise noted (Continued) Order Number COP8ACC720M9–XE/RE or COP8ACC720M8–XE/RE LIFE SUPPORT POLICY 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 ...