<& .1981.6#)'<162 /+%41%10641..'49+6*#&% 2$+44 2TQFWEV$NQEM&KCITCO -G[(GCVWTGU • 32K bytes of OTP EPROM • 256 bytes of executable RAM • 8-bit sigma delta A/D converter with external voltage references (not available in the 28-pin configuration) <%QTG • Two independent analog comparators $KV5KIOC&GNVC#&% YKVJ'ZVGTPCN4GHGTGPEG • VDD power filter (40/44-pin configuration only) • Constant current source (100 mA) -$[VGU162'241/ $[VGU )GPGTCN2WTRQUG4#/ $KV%6 6 $[VGU 'ZGEWVCDNG4#/ $KV%6 6 $KV)2%6 6 %QWPVGT6KOGT5VTWEVWTG • Programmable 8-bit counter/timer (T8) with two 8-bit capture registers and two 8-bit load registers • Programmable 16-bit counter/timer (T16) with one 16-bit capture register pair and one 16-bit load register pair The Z86D99 is a low-voltage general-purpose one-time programmable Z8 microcontroller with an integrated four-channel 8-bit sigma delta analog-to-digital converter. • General-purpose 8-bit counter/timer (T1) with 6-bit prescaler The Z86D99 is designed to be used in a wide variety of embedded control applications, such as appliances, battery chargers, IR remotes, keyboards, and security systems. +PRWV1WVRWVCPF+PVGTTWRVU • Twenty-nine bidirectional I/Os with programmable resistive pull-up transistors (Twenty-one I/Os are available in the 28-pin configuration.) 1RGTCVKPI%JCTCEVGTKUVKEU • Sixteen I/Os are selectable as stop-mode recovery sources. • Six interrupt vectors with nine interrupt sources 2QTV 2QTV 2QTV 2QTV )GPGTCN&GUETKRVKQP s • 8-MHz operation • 3.0 V to 5.5 V operating voltage • Low power consumption (40 mW typical) with three standby modes: Stop (2 µA typical) Halt (0.8 mA typical) Low voltage standby Low-battery detection flag - • • Low-voltage protection circuit (VBO) • Watchdog timer and power-on reset circuits - Three external sources Two comparator interrupts Three timer interrupts One low-voltage detector <K.1)914.&9+&'*'#&37#46'45 '*#/+.610#8'07' %#/2$'..%# 6'.'2*10' (#: +06'40'6*662999<+.1)%1/ $NQEM&KCITCOQH<& Expanded Register File Register File 256 x 8-bit 8 7 Port 2 0 Program Memory 32 KB OTP Power Z8 Core Machine Timing and Instruction Control 256 Bytes EXE RAM 7 * Port 4 VDD, AVDD VSS, AVSS XTAL 1 XTAL2 Two Analog Comparators 0 8 7 Port 5 0 7 Port 6 8-Bit C/T (Carrier) 8-Bit C/T (General) 16-Bit C/T (Modulation) 8-Bit A/D VRef VRef MUX ADC0/P44 ADC1/P45 ADC2/P46 ADC3/P47 0 *Constant Current Source (100 mA) <K.1)914.&9+&'*'#&37#46'45 '*#/+.610#8'07' %#/2$'..%# 6'.'2*10' (#: +06'40'6*662999<+.1)%1/ 2KP1WVUCPF2KP&KTGEVKQP 31 29 27 23 22 21 20 19 18 17 16 15 14 13 12 11 25 <& 6QR8KGY RKP3(2 7 RC/other (LC, resonator, or crystal) • Watchdog timer default state • 32-kHz crystal • Port 6 enable • Ports 20-27 pull-up transistor • Ports 40-42 pull-up transistor V HG && && 4 7UGT5GNGEVCDNG1RVKQP$KVU • 9 P57 NC P55/COUT2 P67 P66 P65 P64 P54/COUT1 P53/CREF2 P52/CIN2/T1 Timer Input P51/CIN1/Capture Timer Input XTAL2 XTAL1 5 AV 55 HG 4 3 4. P43 is a constant current (100 mA) output source. P54, P55, P56, and P57 are high drive outputs. In the 28-pin configuration, Port 6 and the ADC (VRef+, VRef–, AVDD, and AVSS) are not available. NC means no connection. 55 P44/ADC0 P45/ADC1 P46/ADC2 P47/ADC3 V AV 33 34 35 36 37 38 39 40 41 42 43 44 1 1. 2. 3. P42 P41/T16 Output NC P40/T8 Output P50/CREF1 P56 /T1 Timer Output 55 V P21 P22 P23 P24 P60 P61 P62 P63 P25 P26 P27 P20 P43/Combined T8 T16 Output NC V V Notes: • Ports 44-47 pull-up transistor • Ports 50-51 pull-up transistor • Ports 54-57 pull-up transistor • Ports 60-63 pull-up transistor • Ports 64-67 pull-up transistor <K.1)914.&9+&'*'#&37#46'45 '*#/+.610#8'07' %#/2$'..%# 6'.'2*10' (#: +06'40'6*662999<+.1)%1/ &GXGNQROGPV5WKVG The following development tools are available for the programming and debugging of this device: • Z86L9900ZEM Emulator/Programmer • ZiLOG Developer Studio (ZDS) • ZiLOG C-Compiler 4GNCVGF2TQFWEVU Z8 microcontrollers of interest are as follows: Z86L99 ROM equivalent of Z86D99 (16K ROM, 2 V to 3.6 V operation) Z86L88 Low-voltage IR Controller (16K ROM, 28 pin) Z86L87 Low-voltage IR Keyboard Controller (16K ROM, 40 pin) 'NGEVTKECN(GCVWTGU5WOOCT[ • 50 µA Maximum Supply Current • 3.0 V to 5.5 V Operating Range 1TFGTKPI+PHQTOCVKQP 2CTV 25+ &GUETKRVKQP <& <&25% RKP2&+2 <& <&(5% RKP3(2 <& <&55% RKP51+% #&%PQVCXCKNCDNG 'OWNCVQT <.<'/ 'OWNCVQT2TQITCOOGT Document Disclaimer lD[<K.1)+PE#NNTKIJVUTGUGTXGF+PHQTOCVKQPKPVJKURWDNKECVKQPEQPEGTPKPIVJGFGXKEGUCRRNKECVKQPUQTVGEJPQNQI[ FGUETKDGFKUKPVGPFGFVQUWIIGUVRQUUKDNGWUGUCPFOC[DGUWRGTUGFGF<K.1)+0%&1'5016#557/'.+#$+.+6;(1414 2418+&'#4'24'5'06#6+101(#%%74#%;1(6*'+0(14/#6+10&'8+%'5146'%*01.1);&'5%4+$'&+06*+5 &1%7/'06<K.1)#.51&1'5016#557/'.+#$+.+6;(14+06'..'%67#.2412'46;+0(4+0)'/'064'.#6'&+0#0; /#00'46175'1(+0(14/#6+10&'8+%'5146'%*01.1);&'5%4+$'&*'4'+01416*'49+5''ZEGRVYKVJVJG GZRTGUUYTKVVGPCRRTQXCN<K.1)WUGQHKPHQTOCVKQPFGXKEGUQTVGEJPQNQI[CUETKVKECNEQORQPGPVUQHNKHGUWRRQTVU[UVGOUKU PQVCWVJQTK\GF0QNKEGPUGUQTQVJGTTKIJVUCTGEQPXG[GFKORNKEKVN[QTQVJGTYKUGD[VJKUFQEWOGPVWPFGTCP[KPVGNNGEVWCN RTQRGTV[TKIJVU <K.1)914.&9+&'*'#&37#46'45 '*#/+.610#8'07' %#/2$'..%# 6'.'2*10' (#: +06'40'6*662999<+.1)%1/