Z8PE003CZ010EC ZILOG [Zilog, Inc.], Z8PE003CZ010EC Datasheet
Z8PE003CZ010EC
Related parts for Z8PE003CZ010EC
Z8PE003CZ010EC Summary of contents
Page 1
FEATURES Part ROM RAM* Number (kb) (Bytes) Z8PE003 1 Note: *General-Purpose. Microcontroller Core Features • All Instructions Execute in one 1-µs Instruction Cycle with a 10-MHz Crystal • On-Chip OTP EPROM Memory • General-Purpose ...
Page 2
Z8PE003 Z8Plus OTP Microcontroller GENERAL DESCRIPTION (Continued) Both the 8-bit and 16-bit on-chip timers, with several user- selectable modes, administer real-time tasks such as count- ing/timing and I/O data communications. Note: All signals with an overline are active Low. For ...
Page 3
ZiLOG Z8Plus Core Address Counter PGM + Test Mode Logic PGM ADCLK XTAL Figure 2. EPROM Programming Mode Block Diagram DS007500-Z8X0399 AD 9–0 AD 9–0 Address MUX AD 9–0 EPROM Option Bits ADCLR ...
Page 4
Z8PE003 Z8Plus OTP Microcontroller PIN DESCRIPTION Pin # Symbol 1–5 PB1–PB5 6–9 PA7–PA4 10–13 PA3–PA0 XTAL2 17 XTAL1 18 PB0 4 1 PB1 18 PB2 PB3 PB4 18-Pin PB5 DIP/SOIC PA7 PA6 PA5 ...
Page 5
ZiLOG Pin # Symbol 1 PGM 2–4 GND 5 ADCLR/V PP 6–9 D7–D4 10–13 D3– GND XTAL1 18 ADCLK DS007500-Z8X0399 1 PGM GND GND GND 18-Pin ADCLR/V PP DIP/SOIC ...
Page 6
Z8PE003 Z8Plus OTP Microcontroller PIN DESCRIPTION (Continued) Pin # Symbol 1–5 PB1–PB5 6 NC 7–10 PA7–PA4 11–14 PA3–PA0 XTAL2 19 XTAL1 20 PB0 6 1 PB1 20 PB2 PB3 PB4 20-Pin ...
Page 7
ZiLOG Figure 6. 20-Pin SSOP Pin Identification/EPROM Programming Mode Pin # Symbol 1 PGM 2–4 GND 5 ADCLR 7–10 D7–D4 11–14 D3– GND XTAL1 20 ADCLK DS007500-Z8X0399 PGM ...
Page 8
Z8PE003 Z8Plus OTP Microcontroller ABSOLUTE MAXIMUM RATINGS Parameter Ambient Temperature under Bias Storage Temperature Voltage on any Pin with Respect to V Voltage on V Pin with Respect Voltage on PB5 Pin with Respect to V Total ...
Page 9
ZiLOG STANDARD TEST CONDITIONS The characteristics listed below apply for standard test con- ditions as noted. All voltages are referenced to Ground. Pos- itive current flows into the referenced pin (Figure 7). CAPACITANCE T = 25º GND = ...
Page 10
Z8PE003 Z8Plus OTP Microcontroller DC ELECTRICAL CHARACTERISTICS Sym Parameter V Clock Input High CH Voltage V Clock Input Low CL Voltage V Input High Voltage IH V Input Low Voltage IL V Output High Voltage OH V Output Low Voltage ...
Page 11
ZiLOG Table 5. DC Electrical Characteristics (Continued) Sym Parameter I Supply Current CC I Standby Current CC1 I Standby Current CC2 Notes: 1. The V voltage specification of 3.0V guarantees 3.0V; the Typical values are measured at ...
Page 12
Z8PE003 Z8Plus OTP Microcontroller DC ELECTRICAL CHARACTERISTICS (Continued) V Sym Parameter V Clock Input High 4.5V CH Voltage 5.5V V Clock Input Low 4.5V CL Voltage 5.5V V Input High Voltage IH 5.5V V Input Low Voltage IL 5.5V V ...
Page 13
ZiLOG Table 6. DC Electrical Characteristics (Continued) V Sym Parameter I Standby Current 4.5V CC1 5.5V I Standby Current 4.5V CC2 5.5V Notes: 1. The V voltage specification of 4.5V and 5.5V guarantees 5.0V ±0.5V Typical values are ...
Page 14
Z8PE003 Z8Plus OTP Microcontroller AC ELECTRICAL CHARACTERISTICS Clock IRQ N No Symbol Parameter Input Clock Period C,T C Clock Input Rise and Fall Times Input Clock Width W 4 ...
Page 15
ZiLOG Z8PLUS CORE The device is based on the ZiLOG Z8Plus Core Architec- ture. This core is capable of addressing up to 64KB of pro- gram memory and RAM. Register RAM is accessed as either 8- or ...
Page 16
Z8PE003 Z8Plus OTP Microcontroller RESET (Continued) Table 8. Control and Peripheral Registers* (Continued) Register (HEX) Register Name D4 Port B Input D3 Port A Special Function D2 Port A Directional Control D1 Port A Output D0 Port A Input CF ...
Page 17
ZiLOG Clock Internal Reset 128 XTAL Clock Cycles TCTLHI D6,D5,D4 XTAL SMR (PB0) Figure 10. Reset Circuitry with POR, WDT, V DS007500-Z8X0399 10 XTAL CLOCK CYCLES Figure 9. Reset Timing 3 WDT Tap Select WDTRST ÷64 16-Bit Timer Watch-Dog Timer ...
Page 18
Z8PE003 Z8Plus OTP Microcontroller INTERRUPT SOURCES Table 10 presents the interrupt types, sources, and vectors available in the Z8Plus. Other processors from the Z8Plus family may define the interrupts differently. Name Sources IREQ Timer0 Time-out 0 IREQ PB4 High-to-Low 1 ...
Page 19
ZiLOG Table 11. Interrupt Mask Register—IMASK (FBh) Bit R/W R/W R/W R/W R/W R/W R/W R/W R/W Reset Read W = Write X = Indeterminate U = Undefined/ Undetermined Bit ...
Page 20
Z8PE003 Z8Plus OTP Microcontroller IREQ SOFTWARE INTERRUPT GENERATION can be used to generate software interrupts by spec- IREQ ifying IREQ as the destination of any instruction referencing the Z8Plus Standard Register File. These software inter- rupts ( SWI ) are ...
Page 21
ZiLOG WATCH-DOG TIMER The Watch-Dog Timer ( ) is a retriggerable one-shot WDT 16-bit timer that resets the device if it reaches its terminal count. The is driven by the WDT XTAL2 vide the longer time-out periods required in applications, ...
Page 22
Z8PE003 Z8Plus OTP Microcontroller Note: The WDT can only be disabled via software if the first in- struction out of the RESET performs this function. Logic within the device detects that the process of exe- cuting the ...
Page 23
ZiLOG STOP MODE OPERATION The mode provides the lowest possible device stand- STOP by current. This instruction turns off the on-chip oscillator and internal system clock. To enter the STOP mode, the Z8Plus only requires a instruction not ...
Page 24
Z8PE003 Z8Plus OTP Microcontroller CLOCK The Z8Plus MCU derives its timing from on-board clock circuitry connected to pins XTAL1 circuitry consists of an oscillator, a glitch filter, and a di- vide-by-two shaping circuit. Figure 12 illustrates the clock circuitry. The ...
Page 25
ZiLOG OSCILLATOR OPERATION The Z8Plus MCU uses a Pierce oscillator with an internal feedback resistor (Figure 14). The advantages of this circuit are low-cost, large output signal, low-power level in the crystal, stability with respect low impedances ...
Page 26
Z8PE003 Z8Plus OTP Microcontroller OSCILLATOR OPERATION (Continued) Circuit Board Design Rules The following circuit board design rules are suggested: • To prevent induced noise, the crystal and load capaci- tors should be physically located as close to the Z8Plus as ...
Page 27
ZiLOG V Z8Plus XTAL1 XTAL2 Figure 16. Crystal/Ceramic Resonator Oscillator XTAL1 C 1 Z8Plus L XTAL2 C 2 Figure 17. LC Clock In most cases, the is 0 Ohms and R D specifications are determined and ...
Page 28
Z8PE003 Z8Plus OTP Microcontroller LC OSCILLATOR The Z8Plus oscillator can use an inductor capacitor oscil- lator ( LC ) network to generate an XTAL The frequency stays stable over V CC oscillation frequency is determined by the equation: Frequency = ...
Page 29
ZiLOG T1ARHI T1 OSC/8 T0ARHI DS007500-Z8X0399 Internal Data Bus T1ARHI T1ARLO T1VAL (Not used 8-bit in this mode) Down Counter 8-bit (Not used Down in this mode) Counter T0ARHI T0ARLO T0VAL Internal Data Bus Figure 20. 8-Bit Standard Timers Internal ...
Page 30
Z8PE003 Z8Plus OTP Microcontroller TIMERS (Continued) 0C0 Note: Timer T01 is a 16-bit PWM Timer formed by cascading 8-bit timers T1 (MSB) and T0 (LSB). T23 is a standard 16-bit timer formed by cascading 8-bit timers T3 ...
Page 31
ZiLOG If a timer pair is defined to operate as a single 16-bit entity, the entire 16-bit value must reach generated. In this case, a single interrupt is generated, and the interrupt corresponds to the even 8-bit timer. Example: Timers ...
Page 32
Z8PE003 Z8Plus OTP Microcontroller TIMERS (Continued) 0D7 0D6 (T0 End-of-Count) 32 PTBSFR Figure 23. PortB Special Function Register PTBDIR Figure 24. Port B Directional Control ...
Page 33
ZiLOG RESET CONDITIONS After a , the timers are disabled. See Table 8 for timer RESET control, value, and auto-initialization register status after . RESET I/O PORTS The Z8Plus dedicates 14 lines to input and output. These lines are grouped ...
Page 34
Z8PE003 Z8Plus OTP Microcontroller for that bit position contains the current synchronized input value. For port bits configured as an output by means of the di- rectional control register, the value held in the correspond- ing bit of the Output ...
Page 35
ZiLOG PORT A REGISTER DIAGRAMS Register 0D0H PTAIN Register 0D1H PTAOUT Register 0D2H PTADIR PTASFR Register 0D3H DS007500-Z8X0399 ...
Page 36
Z8PE003 Z8Plus OTP Microcontroller PORT B Port B Description Port 6-bit (bidirectional), CMOS-compatible I/O port. These six I/O lines can be configured under software control input or output. Each bit is configured independently from ...
Page 37
ZiLOG PORT B—PIN 0 CONFIGURATION PTBIN Bit 0 SMR RESET PTBDIR Bit 0 PTBOUT Bit 0 PTBIN Bit 5 PTBDIR Bit 5 PTBOUT Bit 5 Note: There is no high-side protection device. The user should always place an external protection ...
Page 38
Z8PE003 Z8Plus OTP Microcontroller PORT B—PIN 1 CONFIGURATION PTBIN Bit 1 PTBDIR Bit 1 PTBOUT Bit Output X PTBSFR Bit 1 38 PTBDIR Bit 1 Figure 35. Port B Pin 1 Diagram ...
Page 39
ZiLOG PORT B—PIN 2 CONFIGURATION PTBIN Bit 2 IRQ3 PTBDIR Bit 2 PTBOUT Bit 2 DS007500-Z8X0399 PTBDIR Bit 2 Edge Detect Logic PTBSFR Bit 2 Figure 36. Port B Pin 2 Diagram ...
Page 40
Z8PE003 Z8Plus OTP Microcontroller PORT B—PINS 3 AND 4 CONFIGURATION PTBIN Bit 4 IRQ1 Edge Detect Logic IRQ4 PTBSFR Bit 4 PTBIN Bit 3 PTBDIR Bit 3 PTBOUT Bit 3 PTBDIR Bit 4 PTBOUT Bit 4 40 PTBDIR Bit 4 ...
Page 41
ZiLOG PORT B CONTROL REGISTERS Register 0D4H Register 0D5H Register 0D6H DS007500-Z8X0399 PTBIN Figure 38. Port B Input Value Register PTBOUT Figure ...
Page 42
Z8PE003 Z8Plus OTP Microcontroller PORT B CONTROL REGISTERS (Continued) Register 0D7H PTBSFR Figure 41. Port B Special Function Register ...
Page 43
ZiLOG I/O PORT RESET CONDITIONS Full Reset Port A and Port B output value registers are not affected by RESET . On , the Port A and Port B directional control reg- RESET isters are cleared to all zeros, which ...
Page 44
Z8PE003 Z8Plus OTP Microcontroller COMPARATOR OPERATION (Continued) age Protection trip point ( reached. The actual Low- LV Voltage Protection trip point is a function of process pa- rameters. V 3.00 CC (Volts) 2.80 2.60 2.40 2.20 2.00 1.80 ...
Page 45
ZiLOG INPUT PROTECTION All I/O pins feature diode input protection. There is a diode from the I/O pad to and (Figure 43 PIN V SS Figure 43. I/O Pin Diode Input Protection DS007500-Z8X0399 However, ...
Page 46
Z8PE003 Z8Plus OTP Microcontroller PACKAGE INFORMATION 46 Figure 45. 18-Pin DIP Package Diagram Figure 46. 18-Pin SOIC Package Diagram ZiLOG DS007500-Z8X0399 ...
Page 47
ZiLOG DS007500-Z8X0399 Figure 47. 20-Pin SSOP Package Diagram Z8PE003 Z8Plus OTP Microcontroller 47 ...
Page 48
... SOIC Z8PE003SZ010SC 20-Pin SSOP Z8PE003HZ010SC Extended Temperature 18-Pin DIP Z8PE003PZ010EC 18-Pin SOIC Z8PE003SZ010EC 20-Pin SSOP Z8PE003CZ010EC Example: The Z8PE003PZ010SC is a 10-MHz DIP, 0ºC to 70ºC, with Plastic Standard Flow. Z ZiLOG Prefix 8PE Z8Plus Product 003 Product Number PZ Package Designation Code ...