Datasheet
Section 19 D/A Converter
Page 1100 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
19.4 Operation
The D/A converter includes D/A conversion circuits for two channels, each of which can operate
independently. When DAOE bit in DACR23 is set to 1, D/A conversion is enabled and the
conversion result is output. The following shows an example of D/A conversion on channel 2.
Figure 19.2 shows the timing of this operation.
1. Write the conversion data to DADR2.
2. Set the DAOE2 bit in DACR23 to 1. D/A conversion is started. The conversion result is output
from the analog output pin DA2 after the conversion time t
DCONV
has elapsed. The conversion
result is continued to output until DADR2 is written to again or the DAOE2 bit is cleared to 0.
The output value is expressed by the following formula:
DADR contents
256
× Vref
3. If DADR2 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 DAOE2 bit is cleared to 0, analog output is disabled.