SN8P1700
8-bit micro-controller build-in 12-bit ADC
D/A CONVERTER OPERATION
When the DAENB = 0, the DAO pin is output floating status. After setting DAENB to “1”, the DAO output value is
controlled by DAB bits.
ꢃExample: Output 1/2 VDD from DAO pin.
MOV
B0MOV
A, #00111111B
DAM, A
; Set DAB to a half of the full scale.
; Enable D/A function.
B0BSET
FDAENB
The DAB’s data v.s. DAO’s output voltage as following:
DAB6
DAB5
DAB4
DAB3
DAB2
DAB1
DAB0
DAO
0
0
0
0
.
0
0
0
0
.
0
0
0
0
.
0
0
0
0
.
0
0
0
0
.
0
0
1
1
.
0
1
0
1
.
VSS
Idac
2 * Idac
3 * Idac
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
1
1
1
1
1
1
1
1
1
1
1
0
1
126 * Idac
127 * Idac
Table 13-1. DAB and DAO Relative Table
Note: Idac = IFSO / (2 -1) (IFSO: Full-scale Output Current)
7
ꢂ
SONiX TECHNOLOGY CO., LTD
Page 127
Revision 1.94