h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 746

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 21 D/A Converter
21.4
The D/A converter incorporates two channels of the D/A circuits and can be converted
individually.
When the DAOE bit in DACR is set to 1, D/A conversion is enabled and conversion results are
output.
An example of D/A conversion of channel 0 is shown below. The operation timing is shown in
figure 21.2.
1. Write conversion data to DADR0.
2. When the DAOE0 bit in DACR is set to 1, D/A conversion starts. After the interval of t
3. Conversion starts immediately after DADR0 is modified. After the interval of t
4. When the DAOE bit is cleared to 0, analog output is disabled.
Rev. 3.00 Jan 25, 2006 page 694 of 872
REJ09B0286-0300
conversion results are output from the analog output pin DA0. The conversion results are
output continuously until DADR0 is modified or the DAOE0 bit is cleared to 0. The output
value is calculated by the following formula:
conversion results are output.
Legend:
t
Address
DADR0
DAOE0
DA 0
DCONV
Operation
: D/A conversion time
DADR0 contents/256 AV
DADR0
write cycle
High impedance state
Figure 21.2 D/A Converter Operation Example
DACR
write cycle
Conversion data (1)
t
DCONV
ref
Conversion result (1)
DADR0
write cycle
t
DCONV
Conversion data (2)
Conversion
result (2)
DACR
write cycle
DCONV
,
DCONV
,

Related parts for h8s-2158