Hitachi H8/3008 Hardware Manual page 439

16-bit microcomputer
Table of Contents

Advertisement

An example of D/A conversion on channel 0 is given next. Timing is indicated in figure 15.2.
1. Data to be converted is written in DADR0.
2. Bit DAOE0 is set to 1 in DACR. D/A conversion starts and DA
converted result is output after the conversion time.
The output value is
Output of this conversion result continues until the value in DADR0 is modified or the DAOE0
bit is cleared to 0.
3. If the DADR0 value is modified, conversion starts immediately, and the result is output after
the conversion time.
4. When the DAOE0 bit is cleared to 0, DA0 becomes an input pin.
DADR0
write cycle
φ
Address
DADR0
DAOE0
DA
0
High-impedance state
Legend:
t
: D/A conversion time
DCONV
DADR contents
256
DACR
write cycle
Conversion data 1
t
DCONV
Figure 15.2 Example of D/A Converter Operation
× V
REF
DADR0
write cycle
Conversion
result 1
becomes an output pin. The
0
DACR
write cycle
Conversion data 2
Conversion
result 2
t
DCONV
423

Advertisement

Table of Contents
loading

Table of Contents