z86e63 ZiLOG Semiconductor, z86e63 Datasheet
z86e63
Available stocks
Related parts for z86e63
z86e63 Summary of contents
Page 1
... Z86E61/Z86E63 CMOS Z8 16K/32K EPROM Microcontroller Product Specification PS014401-1001 ® Copyright ©2008 by Zilog , Inc. All rights reserved. www.zilog.com ...
Page 2
Warning: DO NOT USE IN LIFE SUPPORT LIFE SUPPORT POLICY ZILOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG ...
Page 3
... Port 0 (P07-P00 Port 1 (P17-P10 UART OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 ADDRESS SPACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 FUNCTIONAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Counter/Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 PROGRAMMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Z86E61/E63 User Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Z86E63 Signal Description for EPROM Program/Read . . . . . . . . . . . . . . . 27 ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 STANDARD TEST CONDITIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 DC CHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 AC CHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 AC CHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Z8 CONTROL REGISTER DIAGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 DC CHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Supply Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 DC CHARACTERISTICS ...
Page 4
PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Z86E61/E63 iv ...
Page 5
List of Figures Figure 1. Z86E61/E63 Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . 3 Figure 2. 40-Pin DIP Pin Configuration . ...
Page 6
Figure 35. Port 3 Mode Register (F7H: Write Only Figure 36. Port 0 and 1 Mode Register (F8H: ...
Page 7
List of Tables Table 1. 40-Pin DIP Pin Identification ...
Page 8
PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Z86E61/E63 viii ...
Page 9
... Auto Latches High Voltage Protection on High Voltage Inputs • RAM and EPROM Protect • • EPROM: 16 Kbytes Z86E61 – 32 Kbytes Z86E63 – • 256 Bytes Register File 236 Bytes of General-Purpose RAM – 16 Bytes of Control and Status Registers – 4 Bytes for Ports – ...
Page 10
GENERAL DESCRIPTION The Z86E61/E63 microcontrollers are members of the Z8® single-chip microcon- troller family with 16K/32 Kbytes of EPROM and 236 bytes of general-purpose RAM. Offered in 40-pin DIP, 44-pin PLCC or 44-Pin LQFP package styles, these devices are pin-compatible ...
Page 11
Output Input Port 3 UART Counter/ Timers (2) Interrupt Control Port 2 I/O (Bit Programmable) Figure 1. Z86E61/E63 Functional Block Diagram PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller V GND XTAL AS DS R/W RESET CC Machine Timing and Instruction Control ...
Page 12
RESET 34 R Z86E61/E63 P35 LQFP GND P32 Standard P00 Mode P01 P02 R/ RESET Z86E61/E63 NC LQFP GND EPM EPROM Programming A0 Mode PS014401-1001 ...
Page 13
RESET 7 R/W DS Z86E61/E63 AS PLCC P35 GND Standard P32 Mode P00 P01 P02 R/ RESET Z86E61/E63 NC PLCC NC GND EPROM Programming EPM Mode ...
Page 14
VCC 40 1 XTAL 2 XTAL1 P30 RESET R/W Z86E61/E63 DS AS PDIP P35 Standard GND P32 Mode P00 P01 P02 ...
Page 15
PIN FUNCTIONS ROMless (Input, Active Low). Connecting this pin to GND disables the internal ROM and forces the device to function as a Z86C91 ROMless Z8 (see the Z86C91 product specification for more information). When pulled High to V Z86E61/E63 ...
Page 16
On the fifth clock after the RESET is detected, an internal RST signal is latched and held for an internal register count of 18 external clocks, or for the duration of the external RESET, whichever is longer. During the reset ...
Page 17
Port 1 can be placed in high-impedance state along with Port 0, AS, DS, and R/W, allowing the MCU to share common resources in multiprocessor and DMA appli- cations. Data transfers are controlled by assigning P33 as a Bus Acknowledge ...
Page 18
OEN Out TTL Level Shifter In Figure 7. Port 1 Configuration Port 2 (P27-P20). Port 8-bit, bit programmable, bi-directional, CM0S com- patible port. Each of these eight I/0 lines can be independently programmed as an input or ...
Page 19
Open-Drain OEN Out In Figure 8. Port 2 Configuration Port 3 (P37-P30). Port 8-bit, CMOS compatible four-fixed input and four- fixed output port. These eight I/O lines have four-fixed (P33-P30) input and four- fixed (P37-P34) output ports. ...
Page 20
Figure 9. Port 3 Configuration Port 3 is configured under software control to provide the following control func- tions: handshake for Ports 0 and 2 (DAV and RDY); four external interrupt request signals (IRQ3-IRQ0); timer input and output signals (TIN ...
Page 21
UART OPERATION Port 3 lines, P37 and P30, are programmed as serial I/0 lines for full-duplex serial asynchronous receiver/transmitter operation. The bit rate is controlled by Counter/ Timer0. The Z86E61/E63 automatically adds a start bit and two stop bits to ...
Page 22
ADDRESS SPACE Program Memory. The Z86E61/E63 can address 48 Kbytes (E61 Kbytes (E63) of external program memory (Figure 11). The first 12 bytes of program memory are reserved for the interrupt vectors. These locations contain six 16-bit vectors ...
Page 23
The state of the DM signal is controlled by the type instruction being executed. An LDC opcode references PROGRAM (DM inactive) memory, and an LDE instruction references DATA (DM active Low) memory. Register File The register file ...
Page 24
Figure 12. Data Memory Configuration PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller 65535 External Data Memory 32768 (E63) 16384 (E61) 16383 (E61) 32767 (E63) Not Addressable 0 Z86E61/E63 20 ...
Page 25
LOCATION Figure 13. Register File PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller R255 Stack Pointer (Bits 7-0) R254 Stack Pointer (Bits 15-8) Register Pointer R253 Program Control Flags R252 Interrupt Mask Register R251 R250 Interrupt Request Register R249 Interrupt Priority Register ...
Page 26
The upper nibble of the register file address provided by the register pointer specifies the active working-register group Figure 14. Register Pointer FUNCTIONAL DESCRIPTION Counter/Timers There are two ...
Page 27
The counter, but not the prescalers, are read at any time without disturbing their value or count mode. The clock source for T1 ...
Page 28
When more than one interrupt is pending, priorities are resolved by a programmable priority encoder that is controlled by the Interrupt Priority register (refer to Table 21 on page 16). All ...
Page 29
TpC cycle following the external interrupt sample point. Clock The Z86E61/E63 on-chip oscillator has a high gain, parallel resonant amplifier for connection to a crystal, LC, ceramic resonator, or any suitable external ...
Page 30
NOP (opcode = instruction. i.e PROGRAMMING Z86E61/E63 User Modes The Z86E61/E63 uses separate AC timing cycles for the different User Modes available. Table 22 on page 27 shows the Z86E61/E63 User Modes. Table ...
Page 31
... Irrelevant. Z86E63 Signal Description for EPROM Program/Read The following signals are required to correctly program or read the Z86E63 device. ADDR The address must remain stable throughout the program read cycle. DATA The I/O data bus must be stable during programming (OE High, PGM Low, VPP High) ...
Page 32
XCLK A clock is required to clock the RESET signal into the registers before program- ming. A constant clock can be applied, or the XCLK input can be toggled a minimum of 12 cycles before any programming or verify function ...
Page 33
Table 23. Timing of Programming Waveforms (Continued) Parameters Name 11 Over program Pulse Width 12 EPM Setup Time 13 PGM Setup Time 14 Address to OE Setup Time 15 Option Program Pulse Width VIH Address VIL VIH Data Invalid VIL ...
Page 34
Figure 19. EPROM Program and Verity PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Address Stable 1 Data Out Valid Data Stable Program Cycle Verify Cycle Z86E61/E63 30 10 ...
Page 35
VIH Address VIL VIH Data VIL VH VPP VIH VCC 4 VIH VIH VH VIH EPM VIL 12 VIH PGM VIL 15 Figure 20. Programming EPROM, RAM Protect, and 4K ...
Page 36
VIH Address VIL VIH Data VIL VH VPP VIH VCC 4 VIH VIH VH VIH EPM VIL 12 VIH PGM VIL 15 Figure 21. Programming EPROM, RAM Protect, and 16K ...
Page 37
Figure 22. Intelligent Programming Flowchart ABSOLUTE MAXIMUM RATINGS Table 24. Absolute Maximum Ratings Symbol Description V Supply Voltage CC T Storage Temp STG PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Start Addr = First Location VCC = 6.0 V VPP = ...
Page 38
Table 24. Absolute Maximum Ratings (Continued) Symbol Description T Operating Ambient Temperature A a. Voltages on all pins with respect to GND. b. See See “ORDERING INFORMATION” on page 62. Stresses greater than those listed under Absolute Maximum Ratings may ...
Page 39
DC CHARACTERISTICS Table 25. DC Characteristics Sym Parameter Max Input Voltage Max Input Voltage V Clock Input High Voltage 3 Clock Input Low Voltage -0 Input High Voltage IH V Input Low Voltage IL V Output ...
Page 40
R/W Port Port (Read) Port 1 DS (Write) Figure 24. External I/O or Memory Read/Write Timing PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller A7- A7-A0 D7-D0 ...
Page 41
AC CHARACTERISTICS Table 26. External I/O or Memory Read and Write Timing No Symbol Parameter 1 TdA(AS) Address Valid to AS Rise Delay 2 TdAS(A) AS Rise to Address Float Delay 3 TdAS(DR) AS Rise to Read Data Req’d Valid ...
Page 42
Table 27. Clock Dependent Formulas Number Symbol 1 TdA(AS) 2 TdAS(A) 3 TdAS(DR) 4 TwAS 6 TwDSR 7 TwDSW 8 TdDSR(DR) 10 TdDS(A) 11 TdDS(AS) 12 TdR/W(AS) 13 TdDS(R/W) 14 TdDW(DSW) 15 TdDS(DW) 16 TdA(DR) 17 TdAS(DS) 18 TdDM(AS) PS014401-1001 ...
Page 43
Clock TIN IRQN Figure 25. Additional Timing PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Z86E61/E63 3 39 ...
Page 44
AC CHARACTERISTICS Table 28. Additional Timing No Symbol Parameter 1 TpC Input Clock Period 2 TrC,TfC Clock Input Rise & Fall Times 3 TwC Input Clock Width 4 TwTinL Timer Input Low Width 5 TwTinH Timer Input High Width 6 ...
Page 45
Data In 1 DAV (Input) RDY (Output) Figure 26. Input Handshake Timing Data Out 7 DAV (Output) RDY (Input) Figure 27. Output Handshake Timing Table 29. Handshake Timing No Symbol Parameter 1 TsDI(DAV) Data In Setup Time 2 ThDI(DAV) Data ...
Page 46
Table 29. Handshake Timing (Continued) No Symbol Parameter 8 TdDAV0(RDY) DAV Fall to RDY Fall Delay 9 TdRDY0(DAV) RDY Fall to DAV Rise Delay 10 TwRDY RDY Width 11 TdRDY0d(DAV) RDY Rise to DAV Fall Delay Z8 CONTROL REGISTER DIAGRAMS ...
Page 47
R241 TMR D7 D6 Figure 29. Timer Mode Register (F1 R242 Figure 30. Counter/Timer 1 Register (F2 PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Function 1 Load T0 0 Disable ...
Page 48
R243 PRE1 D7 D6 Figure 31. Prescaler 1 Register (F3 R244 Figure 32. Counter/Timer 0 Register (F4 R245 PRE0 D7 D6 Figure 33. Prescaler 0 Register (F5 PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller ...
Page 49
R246 P2M D7 D6 Figure 34. Port 2 Mode Register (F6 R247 P3M Figure 35. Port 3 Mode Register (F7 PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller P20 - P27 I/O Definition ...
Page 50
R248 P01M Figure 36. Port 0 and 1 Mode Register (F8 PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller PO0 - PO0 Mode 00 Output 01 Input 1X A11-A8 Stack Selection 0 External 1 ...
Page 51
R249 IPR D7 D6 Figure 37. Interrupt Priority Register (F9 R250 IRQ Figure 38. Interrupt Request Register (FA PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Interrupt Group Priority IRQ1, IRQ4 Priority (Group ...
Page 52
R251 IMR D7 D6 Figure 39. Interrupt Mask Register (FB R252 SPL FLAGS D7 Figure 40. Flag Register (FC PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Read/Write ...
Page 53
R253 SPL D7 D6 Figure 41. Register Pointer Register (FD R254 SPL D7 D6 Figure 42. Stack Pointer Register (FE R255 SPL D7 D6 Figure 43. Stack Pointer Register (FF PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller ...
Page 54
DC CHARACTERISTICS Supply Current I (mA Legend: A – Vcc = 5.6V B – Vcc = 5.0V C – VCc = 4.4V Figure 44. Typical I PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller 4 ...
Page 55
Standby Current I (mA) CC1 Legend: A – Vcc = 5.6V B – Vcc = 5.0V C – VCc = 4.4V Figure 45. Typical I PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller 4 ...
Page 56
INSTRUCTION SET NOTATION Addressing Modes. The following notation is used to describe the addressing modes and instruction operations as shown in the instruction summary (Table 14). Table 30. Instruction Set Notation Symbol Meaning IRR Indirect register pair or indirect working ...
Page 57
Flags. Control register (R252) contains the following six flags: Symbol Meaning Affected flags are indicated by: Symbol Meaning CONDITION CODES Table 31. Condition Codes Value Mnemonic Meaning 1000 0111 ...
Page 58
Table 31. Condition Codes (Continued) Value Mnemonic Meaning 0001 LT 1010 GT 0010 LE 1111 UGE 0111 ULT 1011 UGT 0011 ULE 0000 F PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Flags Set Less than (S XOR Greater ...
Page 59
INSTRUCTION FORMATS OPC MODE dst/src OR OPC dst OPC VALUE OPC MODE dst src OPC MODE dst/src src/dst OPC dst/src src/dst OPC dst VALUE OPC dst/CC ...
Page 60
INSTRUCTION SUMMARY Note: Assignment of a value is indicated by the symbol “←“. For example: dst ← dst + src indicates that the source data is added to the destination data and the result is stored in the destination location. ...
Page 61
Table 32. Instruction Summary (Continued) Address Mode Instruction and Operation dst DEC dst R dst←dst -1 IR DECW dst RR dst←dst IMR(7)←0 DJNZr, dst RA r← r≠0 PC←PC + dst Range: +127, -128 EI IMR(7)←1 HALT ...
Page 62
Table 32. Instruction Summary (Continued) Address Mode Instruction and Operation dst true, PC←dst IRR JR cc, dst true, PC←PC + dst Range: +127, -128 LD dst, src r dst←src ...
Page 63
Table 32. Instruction Summary (Continued) Address Mode Instruction and Operation dst dst←dst OR src POP R dst←@SP; IR SP← PUSH src R SP←SP-1; IR @SP←src RCF C←0 RET PC←@SP; SP← dst ← 7 ...
Page 64
Table 32. Instruction Summary (Continued) Address Mode Instruction and Operation dst RP←src STOP SUB dst, src Note a dst←dst←src SWAP dst R ↓ ↑ TCM dst, src Note a (NOT dst) AND src TM dst, ...
Page 65
OPCODE MAP 6.6 6.5 6.5 0 DEC DEC ADD R1 IR1 r1, r2 6.5 6.5 6.5 1 RLC RLC ADC R1 IR1 r1, r2 6.5 6.6 6.5 INC WC SUB 2 R1 IR1 r1, r2 6.5 6.1 ...
Page 66
PACKAGE INFORMATION Figure 48. 40-Pin DIP Package Diagram Figure 49. 44-Pin PLCC Package Diagram PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Z86E61/E63 62 ...
Page 67
... Z86E61 16 MHz 40-Pin DIP Z86E6116PSC Z86E6116VSC Z86E6120PSC Z86E6120VSC Z86E63 16 MHz 40-Pin DIP Z86E6316PSC Z86E6316VSC Z86E6320PSC Z86E6320VSC For fast results, contact your local Zilog sales office for assistance in ordering the part desired. PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller 20 MHz 44-Pin PLCC 40-Pin DIP ...
Page 68
CODES • Preferred Package P = Plastic DIP V = Plastic Chip Carrier • Temperature S = 0°C to +70°C • Speeds MHz MHz Environmental • Plastic Standard Example: Z 86E61 16 ...
Page 69
PS014401-1001 CMOS Z8 16K/32K EPROM Microcontroller Z86E61/E63 65 ...