Z86C83/C84/E83
Zilog CMOS Z8
®
MCU
DS97DZ80700 P R E L I M I N A R Y 8-37
1
Digital-to-Analog Converters
The Z86C84 has two Digital-to-Analog Converters
(DACs). Each DAC is an 8-bit resistor string, with a pro-
grammable 0.25X, 0.5X, or 1X gain output buffer. The
DAC output voltage settles after the internal data is latched
into the DAC Data register. The top and bottom ends of the
resistor ladder are register-selected to be connected to ei-
ther the analog supply rails, AV
CC
and A
GND
, or two exter-
nally-provided reference voltages, VDHI and VDLO. Exter-
nal references are recommended to explicitly set the DAC
output limits. Since the gain stage cannot drive to the sup-
ply rails, VDHI and VDLO must be within ranges shown in
the specifications. If either reference approaches the ana-
log supply rails, the output will be unable to span the refer-
ence voltage range. The externally provided reference
voltages should not exceed the supply voltages. The DAC
outputs are latch-up protected and can drive output loads
(Figure 28).
Note: The AV
CC
must be the same value as V
CC
and
A
GND
must be the same value as GND
Figure 28. DAC Block Diagram
Programmable
Gain
Data
Bus
8-Bit
Resistor
Ladder
8
8
DACn
Data
Register
DACRn
Control
Register
8
Analog
+
-
AVCC
DAC1
or
DAC2
* Bits 0, 1
AGND
PAD
PAD
VDLO
High
PAD
VDHI
Note:
* DACRn Control Register Bits
Low
(n = 1 or 2)
Z86C83/C84/E83
CMOS Z8
®
MCU Zilog
8-38 P R E L I M I N A R Y DS97DZ80700
FUNCTIONAL DESCRIPTION (Continued)
The D/A conversion for DAC1 is driven by writing 8-bit data
to the DAC1 data register (Bank C, Register 06H). The
D/A conversion for DAC2 is controlled by the DAC2 data
register (Bank C, Register 07H). Each DAC data register
is initialized to midrange 80H on power-up.
There are two DAC control registers: DACR1 (Bank C,
Register 04H) for DAC1, and DACR2 (Bank C, Register
05H) for DAC2. Control register bits 0 and 1 set the DAC
gain. When DAC data is 80H, the DAC output is constant
for any gain setting (Figure 29 and Figure 31).
Figure 29. D/A 1 Control Register
Figure 30. D/A 1 Data Register
D7 D6 D5 D4 D3 D2 D1 D0
DAC1 Gain
0 0 1 X
0 1 1/2 X
1 0 1 Not Used
1 1 1/4 X
DACR1 Bank C, Register 4
DAC1 Enable
0 Disable
1 Enable
Reserved (Must be 0)
D7 D6 D5 D4 D3 D2 D1 D0
DAC1 Bank C, Register 6
0 = Low Level
1 = High Level
Figure 31. D/A 2 Control Register
Figure 32. D/A 2 Data Register
D7 D6 D5 D4 D3 D2 D1 D0
DAC2 Gain
0 0 1 X
0 1 1/2 X
1 0 1 Not Used
1 1 1/4 X
DACR2 Bank C, Register 5
DAC2 Enable
(Must be 0 for C83)
0 Disable
1 Enable
Reserved (Must be 0)
D7 D6 D5 D4 D3 D2 D1 D0
DAC2 Bank C, Register 7
0 = Low Level
1 = High Level
Z86C83/C84/E83
Zilog CMOS Z8
®
MCU
DS97DZ80700 P R E L I M I N A R Y 8-39
1
Power-On Reset (POR). A timer circuit clocked by a ded-
icated on-board RC oscillator or by the XTAL oscillator is
used for the POR timer function. The POR time allows V
CC
and the oscillator circuit to stabilize before instruction exe-
cution begins. The POR timer circuit is a one-shot timer
triggered by one of three conditions:
Power Fail to Power OK Status
Stop-Mode Recovery (If D5 of SMR Register = 1)
WDT Time-Out (Including from STOP Mode)
The POR time is T
POR
minimum. Bit 5 of the STOP Mode
Register determines whether the POR timer is bypassed
after Stop-Mode Recovery (typical for external clock and
LC oscillators with fast start up time).
HALT. Turns off the internal CPU clock but not the XTAL
oscillation. The counter/timers and external interrupts
IRQ0, IRQ1, and IRQ2 remain active. The device is recov-
ered by interrupts, either externally or internally generated
(a POR or a WDT time-out). An interrupt request must be
executed (enabled) to exit HALT Mode. After the interrupt
service routine, the program continues from the instruction
after the HALT. In case of a POR or a WDT time-out, pro-
gram execution will restart at address 000CH.
STOP. This instruction turns off the internal clock and ex-
ternal crystal oscillation and reduces the standby current
to 10 µA (typical) or less. The STOP Mode is terminated by
a reset of either WDT time-out, POR, or Stop-Mode Re-
covery. This causes the processor to restart the applica-
tion program at address 000CH.
Figure 33. Gain Control on DAC
3.5
3.05
2.6
2.15
2% accuracy
1.7
1.26
.8VDLO
0 80H
FFH
3.5V
VDHI
1/4X
1/2X
1X
DAC Output in Volts
2.15
DAC Data Register Value
Notes:
Vcc = 5.0V ±10%
VDHI = 3.5V
VDLO = 0.8V

Z86E8316PEC

Mfr. #:
Manufacturer:
ZiLOG
Description:
8-bit Microcontrollers - MCU 4K OTP 16MHz W/ADC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union