Datasheet
Section 20 D/A Converter
Rev. 3.00 Mar 21, 2006 page 582 of 788
REJ09B0300-0300
Table 20.2 D/A Channel Enable
Bit 7 Bit 6 Bit 5
DAOE1 DAOE0 DAE Description
0 — Disables D/A conversion
Enables D/A conversion for channel 00
Disables D/A conversion for channel 1
0
1
1 Enables D/A conversion for channels 0 and 1
Disables D/A conversion for channel 00
Enables D/A conversion for channel 1
0
1 Enables D/A conversion for channels 0 and 1
1
1 — Enables D/A conversion for channels 0 and 1
20.4 Operation
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 20.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
DCONV
,
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:
DADR contents/256 × AVref
3. Conversion starts immediately after DADR0 is modified. After the interval of t
DCONV
,
conversion results are output.
4. When the DAOE0 bit is cleared to 0, analog output is disabled.