Datasheet

Section 25 D/A Converter
Page 852 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
25.3 Operation
The D/A converter includes D/A conversion circuits for two channels, each of which can operate
independently. When DAOE bit in DACR is set to 1, D/A conversion is enabled and the
conversion result is output. The operation example of D/A conversion on channel 0 is as follows.
Figure 25.2 shows the timing of this operation.
1. Write the conversion data to DADR0.
2. Set the DAOE0 bit in DACR to 1 to start D/A conversion. The conversion result is output from
the analog output pin DA0 after the conversion time t
DCONV
has elapsed. The conversion result is
continued to be output until DADR0 is written to again or the DAOE0 bit is cleared to 0. The
output value is expressed by the following formula:
DADR contents
256
× AVcc
3. If DADR0 is written to again, the conversion is immediately started. The conversion result is
output after the conversion time t
DCONV
has elapsed.
4. If the DAOE0 bit is cleared to 0, analog output is disabled.