English
Language : 

SN8P1700 Datasheet, PDF (127/145 Pages) SONiX Technology Company – 8-Bit Micro-Controller
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
B0BSET
FDAENB
; Set DAB to a half of the full scale.
; Enable D/A function.
The DAB’s data v.s. DAO’s output voltage as following:
DAB6
0
0
0
0
.
.
.
1
1
DAB5
0
0
0
0
.
.
.
1
1
DAB4
0
0
0
0
.
.
.
1
1
DAB3
0
0
0
0
.
.
.
1
1
DAB2
0
0
0
0
.
.
.
1
1
DAB1
0
0
1
1
.
.
.
1
1
DAB0
0
1
0
1
.
.
.
0
1
Table 13-1. DAB and DAO Relative Table
Note: Idac = IFSO / (27-1) (IFSO: Full-scale Output Current)
DAO
VSS
Idac
2 * Idac
3 * Idac
.
.
.
126 * Idac
127 * Idac
SONiX TECHNOLOGY CO., LTD
Page 127
Revision 1.94