Z8PE002 Zilog, Inc., Z8PE002 Datasheet

no-image

Z8PE002

Manufacturer Part Number
Z8PE002
Description
Manufacturer
Zilog, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
Z8PE002HZ010EC
Manufacturer:
Zilog
Quantity:
67
Part Number:
Z8PE002HZ010SC
Manufacturer:
Zilog
Quantity:
33
Part Number:
Z8PE002SZ010SC
Manufacturer:
ZILOG
Quantity:
20 000
FEATURES
Part
Number
Z8PE002
Note:
Microcontroller Core Features
Peripheral Features
GENERAL DESCRIPTION
The Z8PE002 is the newest member of the Z8Plus Micro-
processor (MPU) family. Similar to the Z8E000 and
Z8E001, the Z8PE002 offers easy software development,
debug, prototyping, and an attractive One-Time Program-
mable (OTP) solution.
DS008700-Z8X0799
All Instructions Execute in one 1-µs Instruction Cycle
with a 10-MHz Crystal
512 bytes x 8 On-Chip OTP EPROM Memory
64 x 8 General-Purpose Registers (SRAM)
Six Vectored Interrupts with Fixed Priority
Operating Speed: DC—10 MHz
Six Addressing Modes:
14 Total Input/Output Pins
One 8-Bit I/O Port (Port A)
One 6-Bit I/O Port (Port B)
One Analog Comparator
*General-Purpose.
I/O Bit Programmable
Each Bit Programmable as Push-Pull or Open-Drain
I/O Bit Programmable
Includes Special Functionality: Stop-Mode Re-
covery Input, Comparator Inputs, Selectable Edge
Interrupts, and Timer Output
(Bytes)
ROM
512
R
,
IR
(Bytes)
,
RAM*
X
64
,
D
,
RA
, and
*This document is considered preliminary until the completion of full characterization.
Speed
(MHz)
IM
10
Z8PE002
F
ROM O
(OTP) M
Additional Features
CMOS/Technology Features
For applications demanding powerful I/O capabilities, the
Z8PE002’s dedicated input and output lines are grouped
into two ports, and are configurable under software control.
EATURE
16-Bit Programmable Watch-Dog Timer (
Software Programmable Timers Configurable as:
On-Chip Oscillator that accepts External Crystal
(
or External Clocks
External Resistor Capacitor (
Voltage Brown-Out/Power-On Reset (
Programmable Options:
Power Reduction Modes:
Low-Power Consumption
3.0V to 5.5V Operating Range @ 0 C to +70 C
4.5V to 5.5V Operating Range @ –40 C to +105 C
18-Pin DIP, SOIC, and 20-Pin SSOP Packages
P
XTAL
RELIMINARY
Two 8-Bit Standard Timers and One 16-Bit Stan-
dard Timer
One 16-Bit Standard Timer and One 16-Bit Pulse
Width Modulator (
EPROM Protect
RC
HALT
STOP
), Ceramic Resonator, Inductor Capacitor (
Oscillator
NE
-E
ICROCONTROLLER
Mode with Peripheral Units Active
Mode for Minimum Power Dissipation
-T
NHANCED
IME
P
RODUCT
P
PWM
ROGRAMMABLE
Z8P
) Timer
RC
), an Oscillator Option
S
PECIFICATION
LUS
V
BO
0.5K
WDT
/
POR
)
)
LC
*
),

Related parts for Z8PE002

Z8PE002 Summary of contents

Page 1

... Interrupts, and Timer Output • One Analog Comparator GENERAL DESCRIPTION The Z8PE002 is the newest member of the Z8Plus Micro- processor (MPU) family. Similar to the Z8E000 and Z8E001, the Z8PE002 offers easy software development, debug, prototyping, and an attractive One-Time Program- mable (OTP) solution. ...

Page 2

... Z8PE002 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 exam- W ple which WORD is active Low; ...

Page 3

... Counter PGM + Test Mode Logic PGM ADCLK XTAL Figure 2. EPROM Programming Mode Block Diagram DS008700-Z8X0799 AD 9–0 AD 9–0 Address MUX AD 9–0 EPROM Option Bits ADCLR Z8Plus OTP Microcontroller D7–0 Data MUX D7–0 PP Z8PE002 Port A 3 ...

Page 4

... Z8PE002 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 9 10 PA4 Figure 3. 18-Pin DIP/SOIC Pin Identification Table 1 ...

Page 5

... Table 2. EPROM Programming Mode Function Program Mode Ground Clear Clock/Program Voltage Data 7,6,5,4 Data 3,2,1,0 Power Supply Ground No Connection 1-MHz Clock Address Clock Z8Plus OTP Microcontroller 18 ADCLK XTAL1 NC GND Direction Input Input Input/Output Input/Output Input Input Z8PE002 5 ...

Page 6

... Z8PE002 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 PB5 SSOP NC PA7 PA6 PA5 10 11 PA4 Figure 5. 20-Pin SSOP Pin Identification Table 3 ...

Page 7

... Function Program Mode Ground Clear Clock/Program Voltage No Connection Data 7,6,5,4 Data 3,2,1,0 No Connection Power Supply Ground No Connection 1-MHz Clock Address Clock Z8Plus OTP Microcontroller ADCLK XTAL1 NC GND Direction Input Input Input/Output Input/Output Input Input Z8PE002 7 ...

Page 8

... Z8PE002 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 Power Dissipation Maximum Allowable Current out of V Maximum Allowable Current into V ...

Page 9

... V = GND = 0V 1.0 MHz, unmeasured pins returned to GND Parameter Input capacitance Output capacitance I/O capacitance DS008700-Z8X0799 From Output Under Test Min Max Z8Plus OTP Microcontroller Figure 7. Test Load Diagram Z8PE002 150 pF 9 ...

Page 10

... Z8PE002 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 OL1 V Output Low Voltage OL2 V Comparator Input OFFSET Offset Voltage ...

Page 11

... External protection is recommended level Z8Plus OTP Microcontroller 2 Units Conditions 2 MHz 3 MHz 1.0 mA HALT mode MHz CC 2.5 mA HALT mode MHz CC 150 nA STOP mode Z8PE002 Notes 5,6 5,6 5,6 5 ...

Page 12

... Z8PE002 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 Output High 4.5V OH Voltage 5.5V V Output Low 4.5V OL1 Voltage 5.5V V Output Low 4.5V OL2 Voltage 5.5V V Comparator Input 4.5V OFFSET Offset Voltage 5 ...

Page 13

... GND External protection is recommended level Z8Plus OTP Microcontroller 2 Units Conditions 1.0 mA HALT mode MHz CC 1.0 mA HALT mode MHz CC 250 nA STOP mode 0V,V CC 250 nA STOP mode 0V,V CC Z8PE002 Notes 5,6 5 ...

Page 14

... Z8PE002 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 Int. Request Input Low Time Int. Request Input High Time ...

Page 15

... All interrupts masked by RESET. 0 All interrupt requests cleared by RESET. Virtual copy of the current working register set. 0 Deactivates all port special functions after RESET. 0 Defines all bits as inputs in PortB after RESET. U Output register not affected by RESET. Z8PE002 for more clock XTAL 15 ...

Page 16

... Z8PE002 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 Reserved CE Reserved CD T1VAL CC T0VAL CB T3VAL CA T2VAL C9 T3AR C8 T2AR C7 T1ARHI C6 T0ARHI C5 T1ARLO C4 T0ARLO C3 WDTHI ...

Page 17

... DS008700-Z8X0799 10 XTAL CLOCK CYCLES Figure 9. Reset Timing 3 WDT Tap Select WDTRST ÷64 16-Bit Timer Watch-Dog Timer SMR Logic V /POR Z8PE002 Z8Plus OTP Microcontroller First Machine Cycle First Instruction Fetch 64 SCLK POR Delay , and SMR BO 17 ...

Page 18

... Z8PE002 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 Transition IREQ Timer1 Time-out ...

Page 19

... R/W R/W R/W R/W R/W R/W R/W R R/W Value Description R/W Reserved, must R/W Reserved, must R/W IRQ5 reset 0 IRQ5 set 1 R/W IRQ4 reset 0 IRQ4 set 1 R/W IRQ3 reset 0 IRQ3 set 1 R/W IRQ2 reset 0 IRQ2 set 1 R/W IRQ1 reset 0 IRQ1 set 1 R/W IRQ0 reset 0 IRQ0 set 1 Z8PE002 ...

Page 20

... Z8PE002 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 controlled in the same manner as hardware generated requests. In other words, the ...

Page 21

... Disabled 65,536 TpC 131,072 TpC 262,144 TpC 524,288 TpC 1,048,576 TpC 2,097,152 TpC 8,388,608 TpC (XTAL clocks to time-out WDT enabled in HALT mode WDT disabled in HALT mode Z8PE002 registers to WDT time- WDT mode oc- 21 ...

Page 22

... Z8PE002 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 first instruction after the processor leaves . During the execution of this instruction, the upper ...

Page 23

... All inputs (digital and analog) are at the Low or High rail voltages 2. For detailed information about flag settings, see the Z8Plus User’s Manual Z8PE002 Z8Plus OTP Microcontroller . To use this mode, SMR mode is entered. The Low ...

Page 24

... Z8PE002 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 oscillator’s input is XTAL1 XTAL2 ...

Page 25

... It should not be shared with any other SS pin. The objective is to prevent differential sys start-up time is excessive, or varies and capacitors require reduc ’s are too large. R The signal at the amplifier output should to indicate adequate gain in the V CC Z8PE002 ...

Page 26

... Z8PE002 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 possible. • Signal lines should not run parallel to the clock oscil- lator inputs ...

Page 27

... Z8Plus OTP Microcontroller XTAL1 Z8Plus V SS N/C XTAL2 Figure 18. External Clock pin of the Z8Plus. This requirement assures that no pin of the Z8Plus. specifies a load capacitor value that is a series combination of and , including all parasitics (PCB and holder Z8PE002 can be in ...

Page 28

... Z8PE002 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 = 2 LC where is the total inductance including parasitics, and L is the total series capacitance including parasitics. ...

Page 29

... Down Counter T0ARLO T0VAL Internal Data Bus Figure 21. 16-Bit Standard PWM Timer Z8Plus OTP Microcontroller OSC/8 IRQ2 (T1) Enable TCTLL0 (D2–D0) Enable TCTLL0 (D2–D0) IRQ2 (T0) OSC/8 IRQ0 Edge Detect PWM Logic IRQ2 Low Side T OUT Z8PE002 29 ...

Page 30

... Z8PE002 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 (MSB) and T2 (LSB). A pair of registers is utilized for each 8-bit READ/WRITE timer ...

Page 31

... In order for to function OUT PTBDIR is capable of being a clock PB1 T0 , toggling the PB1 output pin on each . In all cases, when T0 reaches its end-of-count Continuous Counting Mode, PB1 Z8PE002 T1ARLO . When T0ARHI T1 PWM_LO reg- , the interrupt T0 registers oc Figure 0D7H for ...

Page 32

... Z8PE002 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 Register IRQ0 2 Figure 25. Timer T0 Output Through Enable Bit 0 as SMR input ...

Page 33

... Each port features an Output Value Register and an input value register. For port bits configured as an input by means of the directional control register, the input value register Z8PE002 Z8Plus OTP Microcontroller include push-pull CMOS outputs. In PA0–PA7 PIN Address Identifi ...

Page 34

... Z8PE002 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 Value Register is driven directly onto READ/WRITE OPERATIONS The control for each port is done on a bit-by-bit basis ...

Page 35

... Figure 29. Port A Output Value Register Bit n set as an output 0 = Bit n set as an input Figure 30. Port A Directional Control Register Bit n in open-drain mode 0 = Bit n in push-pull mode Figure 31. Port A Special Function Register Z8PE002 Z8Plus OTP Microcontroller 35 ...

Page 36

... Z8PE002 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 the other bits. That is, one bit may be set to while another bit is set to ...

Page 37

... Note: There is no high-side protection device. The user should always place an external protection diode as shown. DS008700-Z8X0799 PTBDIR Bit 0 PTBSFR Bit 0 SMR Flag Figure 33. Port B Pin 0 Diagram PTBDIR Bit 5 approx 200 kOhms Figure 34. Port B Pin 5 Diagram Z8PE002 Z8Plus OTP Microcontroller PB0 PIN V CC See Note PB5 PIN 37 ...

Page 38

... Z8PE002 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 ZiLOG PB1 PIN DS008700-Z8X0799 ...

Page 39

... ZiLOG PORT B—PIN 2 CONFIGURATION PTBIN Bit 2 IRQ3 PTBDIR Bit 2 PTBOUT Bit 2 DS008700-Z8X0799 PTBDIR Bit 2 Edge Detect Logic PTBSFR Bit 2 Figure 36. Port B Pin 2 Diagram Z8PE002 Z8Plus OTP Microcontroller PB2 PIN 39 ...

Page 40

... Z8PE002 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 PTBSFR Bit 3 PTBDIR Bit 3 Figure 37. Port B Pins 3 and 4 Diagram ...

Page 41

... Z8Plus OTP Microcontroller Port B Bit n current input value (only updated for pins in input mode) Reserved (must Port B Bit n current output value Reserved (must Bit n set as output 0 = Bit n set as input Reserved (must be 0) Z8PE002 41 ...

Page 42

... Z8PE002 Z8Plus OTP Microcontroller PORT B CONTROL REGISTERS (Continued) Register 0D7H PTBSFR Figure 41. Port B Special Function Register Enable PB0 as SMR Input Special Functionality 1 = Enable PB1 as T0 Output Special Functionality 1 = Enable PB2 as IRQ3 Input ...

Page 43

... Port A and Port B special function registers , which deactivates all port special func- 00h not SMR and WDT time-out events are are enabled when the comparator PB4 HALT mode. HALT STOP An on-board Voltage Compar the required level to ensure CC Z8PE002 full device mode. If mode. The 43 ...

Page 44

... Z8PE002 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 1.60 –60 –40 –20 44 Low-Voltage Protection is active in only, but is disabled Figure 42. Voltage vs. Temperature ...

Page 45

... For better noise immunity in applications that are exposed to system EMI, a clamping diode to be used to prevent entering the OTP programming mode or to prevent high voltage from damaging this pin Z8PE002 Z8Plus OTP Microcontroller (Figure 44 ...

Page 46

... Z8PE002 Z8Plus OTP Microcontroller PACKAGE INFORMATION 46 Figure 45. 18-Pin DIP Package Diagram Figure 46. 18-Pin SOIC Package Diagram ZiLOG DS008700-Z8X0799 ...

Page 47

... ZiLOG DS008700-Z8X0799 Figure 47. 20-Pin SSOP Package Diagram Z8PE002 Z8Plus OTP Microcontroller 47 ...

Page 48

... SSOP Z8PE002HZ010SC Extended Temperature 18-Pin DIP Z8PE002PZ010EC 18-Pin SOIC Z8PE002SZ010EC 20-Pin SSOP Z8PE002CZ010EC Example: The Z8PE002PZ010SC is a 10-MHz DIP, 0ºC to 70ºC, with Plastic Standard Flow. Z ZiLOG Prefix 8PE Z8Plus Product 002 Product Number PZ Package Designation Code 010 Speed ...

Related keywords