Cautions For D/A Converter - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P

10.5 Cautions for D/A Converter

Observe the following cautions when using the D/A converter.
(1) The digital port I/O function, which is the alternate function of the ANO0 and ANO1 pins, does not operate if the
ports are set to analog pins by using the ADPC register (port configuration register). When the P2 register is read
while the ports are set to analog pins by using the ADPC register, 0 is read in the input mode and the set value of
the P2 register is read in the output mode. If the digital output mode is set, no output data is output to pins.
(2) The operation of the D/A converter continues in the HALT and STOP modes. To lower the power consumption,
therefore, clear the DACEi bit to 0, and execute the HALT or STOP instruction after stopping the operation of the
D/A converter.
Remark
i = 0, 1
(3) To stop the real-time output mode (including when changing to normal mode), one of the following procedures must
be used:
 Wait for at least three clocks after stopping the trigger output source and then set bits DACEi and DAMDi to 0.
 After setting bits DACEi and DAMDi, set the DACEN bit of the PER1 register to 0 (DAC stop).
 When the DACEN bit is set to 0, all the registers in the DAC are cleared, so the settings of the SFRs are
required to start the operation again.
(4) When D/A conversion operation is enabled, do not perform A/D conversions from the analog input pins multiplexed
with the ANO0 and ANO1 pins.
(5) In the real-time output mode, set the value of the DACSi register before a timer trigger is generated. Do not change
the set value of the DACSi register while the trigger signal is output.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
CHAPTER 10 D/A CONVERTER
307

Advertisement

Table of Contents
loading

Table of Contents