5秒后页面跳转
AN114 PDF预览

AN114

更新时间: 2024-10-29 03:18:47
品牌 Logo 应用领域
XICOR 微控制器
页数 文件大小 规格书
12页 252K
描述
Interfacing the X9408/X9418 XDCP to 8051 Microcontrollers

AN114 数据手册

 浏览型号AN114的Datasheet PDF文件第2页浏览型号AN114的Datasheet PDF文件第3页浏览型号AN114的Datasheet PDF文件第4页浏览型号AN114的Datasheet PDF文件第5页浏览型号AN114的Datasheet PDF文件第6页浏览型号AN114的Datasheet PDF文件第7页 
Application Note  
AN 114  
Interfacing the X9408/X9418 XDCP to 8051 Microcontrollers  
by Applications Staff,  
This application note describes the routines for the  
control of an X9408 or X9418 digitally controllable  
potentiometer. The X9408/X9418 devices have a variety  
of different instructions that provide flexibility to the  
designer. Additionally, the nonvolatile nature of the  
device allows for stored wiper positions that can be  
retrieved after power cycles.  
For those instructions which program the nonvolatile  
data registers (XFR_WCR, GXFR_WCR, &  
WRITE_DR), acknowledge polling has been imple-  
mented to determine an early completion of the internal  
write cycle. Although this is automatically handled by  
the routines, a word or two regarding the procedure  
should be informative.After issuing a start condition, the  
master sends a slave address and receives an acknowl-  
edge. It then issues an instruction byte to the X9408/  
X9418 and again receives an acknowledge. If necessary,  
it now transmits the data byte and receives a final  
acknowledge. The master must then initiate a stop condi-  
tion which will cause the X9408/X9418 to begin an  
internal write cycle. The X9408/X9418 pins go to high  
impedance until this internal cycle is complete. The  
The following code implements all of the available  
X9408/X9418 instructions using a standard bi-direc-  
tional bus protocol. Although the subroutines occupy  
about 300 bytes of program memory, designers who  
won't need to implement all of the instructions can  
shorten the code by removing any unnecessary routines.  
However, this will necessitate the reassembly of the  
code.  
+5V  
R2  
10K  
R1  
10K  
U1  
U2  
39  
38  
37  
36  
35  
34  
33  
32  
1
2
3
4
5
6
7
8
17  
7
3
4
2
P0.0  
P0.1  
P0.2  
P0.3  
P0.4  
P0.5  
P0.6  
P0.7  
P1.0  
P1.1  
P1.2  
P1.3  
P1.4  
P1.5  
P1.6  
P1.7  
SCL  
SDA  
VH0  
VW0  
VL0  
10  
11  
9
VH1  
VW1  
VL1  
15  
14  
16  
VH2  
VW2  
VL2  
12  
13  
17  
10  
14  
15  
11  
16  
21  
22  
23  
24  
25  
26  
27  
28  
INT0  
INT1  
RD  
RXD  
T0  
T1  
TXD  
WR  
P2.0  
P2.1  
P2.2  
P2.3  
P2.4  
P2.5  
P2.6  
P2.7  
18  
5
8
22  
21  
23  
A3  
A2  
A1  
A0  
VH3  
VW3  
VL3  
20  
1
24  
13  
VCC  
V+  
V-  
19  
18  
30  
29  
19  
X1  
X2  
ALE/P  
PSEN  
VSS  
31  
9
X940  
EA/VP  
RST  
8
80C51  
-5V  
Figure 1. Connecting the X9408 to an 80C51 microcontroller  
REV 1.1 11/12/02  
1 of 12  
www.xicor.com  

与AN114相关器件

型号 品牌 获取价格 描述 数据表
AN1149-3 LUMILEDS

获取价格

Electrical Design Considerations for SuperFlux LEDs
AN1149-3A LUMILEDS

获取价格

Advanced Electrical Design Models
AN1149-3B LUMILEDS

获取价格

SuperFlux & SnapLED Emitter Forward Voltage Data
AN1149-4 LUMILEDS

获取价格

Thermal Management Considerations for SuperFlux LEDs
AN1149-5 LUMILEDS

获取价格

Secondary Optics Design Considerations for SuperFlux LEDs
AN1149-6 LUMILEDS

获取价格

Reliability Considerations for SuperFlux LEDs
AN1149FHK PANASONIC

获取价格

Switching Regulator, PQCC48, TQFP-48
AN1149NFHK ETC

获取价格

General-Purpose Linear IC - Voltage Regulater - DC-AC Switching Regulator
AN115 ETC

获取价格

AN115锁相环调频立体声解码电路:
AN1150S PANASONIC

获取价格

Switching Controller, PDSO8, 0.225 INCH, PLASTIC, SOP-8