English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (438/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 11 D/A CONVERTER (μ PD78F150xA only)
(3) D/A conversion value setting registers W0, W1 (DACSW0, DACSW1)
These registers are used to set an analog voltage value to be output to the ANO0 and ANO1 pins, when the D/A
converter is used.
DACSW0 and DACSW1 can be read by a 16-bit memory manipulation instruction.
Reset signal generation clears these registers to 0000H.
Figure 11-4. Format of D/A Conversion Value Setting Registers W0, W1 (DACSW0, DACSW1)
Address: FFF58H, FFF59H (DACSW0), FFF5AH, FFF5BH (DACSW1) After reset: 0000H R/W
Symbol 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
DACSWn 0
0
0
0 DACS DACS DACS DACS DACS DACS DACS DACS DACS DACS DACS DACS
Wn11 Wn10 Wn9 Wn8 Wn7 Wn6 Wn5 Wn4 Wn3 Wn2 Wn1 Wn0
Caution Rewriting DACSWn during A/D conversion is prohibited when both the positive reference voltage of
the A/D converter (ADREFP) and the positive reference voltage of the D/A converter (DAREFP) are the
voltage reference output (VREFOUT) (VRSEL = 1 and DAREF = 1). Rewrite it when conversion operation
is stopped (ADCS = 0).
Remarks 1. The relations between the resolutions and analog output voltages (VANOn) of the D/A converter are as
follows.
• 8-bit resolution (DARESn = 0) :
VANOn = Reference voltage for D/A converter × (DACSWn7 to DACSWn0) /256
• 12-bit resolution (DARESn = 1) :
VANOn = Reference voltage for D/A converter × (DACSWn11 to DACSWn0) /4096
2. n = 0, 1
(4) D/A conversion value setting registers 0, 1 (DACS0, DACS1)
These registers are used to set the analog voltage values to be output to the ANO0 and ANO1 pins when the D/A
converter is used at 8-bit resolution.
DACS0 and DACS1 can be read by an 8-bit memory manipulation instruction.
Reset signal generation clears these registers to 00H.
Figure 11-5. Format of D/A Conversion Value Setting Registers 0, 1 (DACS0, DACS1)
Address: FFF58H (DACS0), FFF5AH (DACS1) After reset: 00H R/W
Symbol
7
6
5
4
3
DACSn
DACSn7
DACSn6
DACSn5
DACSn4
DACSn3
2
DACSn2
1
DACSn1
0
DACSn0
Remarks 1. The relations between the resolutions and analog output voltages (VANOn) of the D/A converter are as
follows.
• 8-bit resolution (DARESn = 0) :
VANOn = Reference voltage for D/A converter × (DACSn7 to DACSn0) /256
2. n = 0, 1
R01UH0004EJ0501 Rev.5.01
422
Jun 20, 2011