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¤ 
9L
7?3
6F
íi  b
16.2 ?? D/AD ?
DAC0832
DAC0832
^B? 8ê D/AD b?è÷èV +5 Vj+15
V ( V?èyTbèa¥S?1 10 V è
@y ?
H W 1
0 s CMOSy\??{ 20 mWb
DAC0832D ?
1 20??
°?
T
 ??
m ?m 16.1
Ub DAC0832
=?2 m ?m 16.2
Ub ?
D ?
{ ?7i  DAC7i ?
)

{ ?
íib
P¨
H

{ ? V[?¨
)
íi
íi?
T?)
íi

B)
íiB)°Y?
T°¤
{ ?
)°Y?
Tb
DAC
0832
1
2
3
4
5
6
7
8
9
10
CS VCC
ILE
WR2
XFER
DI4
DI5
DI6
DI7
Iout2
Iout1
WR1
AGND
DI3
DI2
DI1
DI0
Vref
Rfb
DGND 11
12
13
14
15
16
17
18
19
20
mm 16.1 DAC0832??m??m
DI0
DI7
8ê
7i 
DAC
8ê
D/A
D 
8ê
{ ?
7i 
&
&
&
ILE
CS
WR1
WR2
XFER
LE1 LE2
Iout1
Iout2
Vref
Rfb
AGND
DGND
VCC

m
m
16.2 DAC0832
=?2 m
N? ? ??D
êè
^F?7i 
{ e?
 è
^?
 è
^ ¥?
^ é?

íi e?? =0
H
{ ?
$
í
i ? =1
H
íi ¥
{?
{ ?¥
b
D/ADè
^
^B? R-2R T?èE?

LC 8ê
¥
Dbò???|
a
ü
?/
(1)DI7jDI0D

{ ?b
(2) 
ê?|
{ ??è
üμrb
(3) ILE

íi
??|
{ ?úè
üμrb
(4) ? 1?|
{ ??è
üμrb
1
WR
CS

??| e?
{ ?7i 
^
°YZ
T
^

í
iZ
T? ILE=1 =0
H1
{ ?7i °YZ
T ?
ILE=1 =1
H1
{ ?7i 
íiZ
Tb
(5) ? 2?|
{ ??è
üμrb
(6) 
.
e??|
{ ??è
üμrb

??| e? DAC7i 
^
°YZ
T
^

í
iZ
T? =0 =0
H1 DAC7i °YZ
T
? =1 =0
H1 DAC7i 
íiZ
Tb
1WR
1WR
2WR
XFER
2WR
XFER
2WR XFER
(7)?Iout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A,#80H  T?
T?
MOVX @DPTR,A
ACALL DELAY
MOV DPTR,#0A000H
MOV A,#40H  Q
MOVX @DPTR,A
ACALL DELAY
MOV DPTR,#0A000H
MOV A,#00H  QF
QF
MOVX @DPTR,A
ACALL DELAY
SJMP $
END
L?
{ ?7i 1?1 7FFFHá
3 o¥÷?? b?
?/
ORG 0200H
DASAW MOV DPTR #7FFFH 
{ ?7i 1?
L? P2.7¤
MOV A #00H  D′
WW,MOVX @DPTR A  D/AD
INC A
NOP  ü
H
NOP
NOP
AJMP WW
3?

?? 
bv ¥
{

¤? ?m 16.6
U¥ ob
 o¥á
3T ?/+?
a
ü
(1) ??
?ìBQ AF 1yN
L=
 o¥

6H
^? 256?l¨0?¥???¨0l
[4
 A ü
^ ?m 16.6?
V
U¥L?9é ob
(2) VYV?ì??
¥ ?
ù
9
 o¥?
ùi V? 31YVü
H¥÷E ??Mo??
ùb?üt
HW?
H V¨ NOP·
7 ?
LC
'??ü
^ ?N ?3
1üt
HW?é
H V[
P¨B?ü
H0??bü t
H W ?
]o??
ù?] o¥|
qü?]b
mm 16.6 D/ADá
3¥ oDá
3¥ o
(3) YV AF 1 V¤??_¥ o ?1¤?μ_¥ 
o?1h 1·
7' V
LCb
(4) ??? A¥MS?
^ 0j255yN¤?¥ o
^
?¥b ?1 p¤?d
? o VYV9
p¤
3
¥
′?′ ?a???YV?′
?′¥÷E' V
LC b
¨]"¥ZE9 V[á
3 ??oa ?oa0?o h
?1?I??b
16.4

Z
T¥¤ gD?¨
1,

Z
T ?¤


Z
Tü
^ü DAC0832¥
 ?
íi ?¤?
s e
íiZ
Tb

DAC0832¥ ?¤ ?m 16.7
Ub
1

LC7i ¥ V e??ó7i s
¥B?1?
[ L
? 1?é??Tbm 16.7?¨1?r
{sY¤
?
LC ?aó4êY?|?"ü??

?
í
i ? V e¥

¤ gZ
Tb
í
i

r

WR
P0.7~P0.0
8031
ALE
EA
WR1
WR2
XFER
CS
ILE
DI7~DI0
DAC0832
 5 V
mm 16.7 DAC 0832¥

Z
T ?¤¥

Z
T ?¤
2,

Z
T?¨  è

Z
T¨?
^ D/AD"d[
LC
^

E?|]
?
{¥
"¥b è ?
P¨?
 e? X-YmNb X-YmN?
XaY
 ?Z_¥?éè z? ?B?è e?m3 X
Z_?
6B?è e?m3 YZ_?V7m? b
yN X-YmN¥ e?μ
?'1 pB
^31

^ D/A
D sYó XY? YY?4

E?|=
^

^

E
1
]?
{b

^

E

{
^1

Pm3
 X-YàT
ü
?7

E
]?
{5
^1

P?¥ wL;á ?5? ¥ w
Lü
^
¨¥¥ wL ?m 16.8
Ub1Nü1
P¨

DAC0832i?¨

Z
T ?¤ ?m 16.9
Ub
m 16.9è
^?[r
Eá
31?

DAC0832
] ?
??í1? ?
?
{ ?7i ò]B?1?7
? DAC
7i 5¨B?1?b
I?
H5¨BH.

7ü XUS

? X_D ¥
{
?7 i   ¨BH.

7ü YUS

? Y_D ¥
{
?7i  Ka¨BH.

7]
Hu 7
?D ¥ DAC
7i  é?
D' V
LC XaY
?Z_US
¥]?
{b
(a) b) (c)
mm 16.8 ?
 e??
 e? X-YmNmN
(a) ]?
{ ]?
{ (b) 5 Xaa Y (c) 5 Yaa X
í
i

r

CS
XFER
DI7~DI0
WR1
WR2
Rfb
Iout1
Iout2 

CS
XFER
DI7~DI0
Rfb
Iout1
Iout2 

0832
0832
P0.7~P0.0
WR
0831
V
x
V
y
mm 16.9 e? e? X-YmN¥
mN¥
DAC 0832 ¤ g¤ g
L? XZ_ DAC 0832
{ ?7i 1?1 F0H YZ_ DAC
0832
{ ?7i 1?1 F1H
? DAC7i ¨1?1
F2H XUS
i? DATA?í? YUS
i? DATA+1
?í?5mN¥ z???1
MOV R1 #DATA  XUS
?í1?
MOV R0 #0F0H  X_
{ ?7i 1?
MOV A @R1  XUS

A
 2
 2
MOVX @R0 A  XUS

{ ?7i 
INC R1  ·_ YUS
?í1?
INC R0  ·_ Y_
{ ?7i 1?
MOV A @R1  YUS

A
MOVX @R0 A  YUS

{ ?7i 
INC R0  ·_
? DAC7i 1?
MOVX @R0 A  XaYD
]?
{
L
? TLC5615μl?
μl?
 DIP
 DIP
¥
TLC5615?
??
 ?m
?
??
 ?m
1
Ub
? ???
a
ü ?/???
a
ü ?/
? ——?? 1DIN1?

{ ?
 1?

{ ?

? ——?? 2SCLK1?
Hò
{ ?
 1?
Hò
{ ?

? ——?? 3CS?
ê¨Y
?è
üμr
? ——?? 4DOUT¨?) ó
H¥1?

{
 ¨?) ó
H¥1?

{

? ——?? 5AGND

E1
? ——?? 6REFINèa
{ ?
 èa
{ ?

? ——?? 7OUT DAC

Eèa
{


Eèa
{

? ——?? 8VDD?è÷
b
TLC5615¥
H?m
¥
H?m
L


%"
Lá
3 o ?¨?
5-$
//p3.2---DIN
//p3.7--SCLK
//p3.6--CS
org 0000h
mov r1,#0h
tlc5615:
clr p3.7
clr p3.2
setb p3.6 ;
S cs1úè
ü
nop
nop
inc r1
mov r0,#0h
clr p3.6
mov a,r1
mov r3,#08h ;high 8 bit
lcall cuso
mov a,r0
mov r3,#04h
lcall cuso ;low 4 bit
setb p3.6
sjmp TLC5615
ret
cuso:
nop
loop,
rlc a
mov p3.2,c
nop
setb p3.7
nop
clr p3.7
djnz r3,loop
ret
end