Operation - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
27.3

Operation

When the DACR.DAOE0 bit is set to 1, D/A converter is enabled and the conversion result is output.
An operation example of D/A conversion is shown below. Figure 27.2 shows the timing of this operation.
(1) Set the data for D/A conversion in the DADPR.DPSEL bit and the DADR0 register.
(2) Set the DACR.DAOE0 bit to 1 to start D/A conversion. The DA0 output settles to the voltage corresponding to the
setting value after the conversion time tDCONV has elapsed. The DA0 output voltage is held at this level until the
DADR0 register is updated or the DAOE0 bit is set to 0. The output voltage (reference) is expressed by the
following formula:
Value of DADR0 register
(3) When the DADR0 register is updated, the conversion starts. The DA0 output settles at the new output voltage after
the conversion time tDCONV has elapsed.
(4) When the DAOE0 bit is set to 0, D/A conversion is disabled.
DADR0 register
DACR.DAOE0 bit
DA0 output
t
Figure 27.2
Example of 8-Bit D/A Converter Operation
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
27. D/A Converter for Generating Comparator C Reference Voltage (DA)
× AVCC0
256
Write to
Write to
DADR0 register
DACR register
Conversion data (1)
High-impedance state
t
: D/A conversion time. Refer to the electric characteristics for the value.
DCONV
Write to
DADR0 register
Conversion
result (1)
t
DCONV
DCONV
Write to
DACR register
Conversion data (2)
Conversion
result (2)
Page 886 of 1041

Advertisement

Table of Contents
loading

Table of Contents