7705芯片

合集下载

AD7705中文资料

AD7705中文资料

ad7706,ad7705中文资料,工作原理,C语言接口程序,引脚图,管脚工作原理:AD7705/06以及AD7707是比较典型的一种16位A/D转换芯片。

AD7705/06芯片是带有自校正功能的Σ-Δ于A/D转换器。

其内部由多路模拟开关、缓冲器、可编程增益放大器(PGA)、Σ-Δ调制器、数字滤波器、基准电压输入、时钟电路及串行接口组成。

其中串行接口包括寄存器组,它由通讯寄存器、设置寄存器、时钟寄存器、数据输出寄存器、零点校正寄存器和满程校正寄存器等组成。

该芯片还包括2通道差分输入(AD7705)和3种伪差分通道输入(AD7706)。

AD7705/06的PGA可通过指令设定,对不同幅度的输入信号实现1、2、4、8、16、32、64和128倍的放大,因此AD7705/ 06芯片既可接受从传感器送来的低电平输入信号,亦可接受高电平(10V)信号,它运用Σ―Δ技术实现16位无误码性能;它的输出速度同样可由指令设定,范围由20Hz到500Hz;它能够通过指令设定对零点和满程进行校正;AD7705/06与微处理器的数据传送通过串行方式进行,采用了节省端口线的通讯方式,最少只占用控制机的两条端口线。

AD7705引脚图(管脚图):AD7706引脚图(管脚图):AD7705与68HC系列单片机的C语言接口程序:/* This program has read and write routines for the 68 HC11 to interface to the AD7705 and the sample progra m sets the variousregisters and then reads 1000 samples from one chann el. */#include <math.h>#include <io6811.h>#define NUM_SAMPLES 1000 /* change the number of data samples */#define MAX_REG_LENGTH 2 /* this says that the max length of a register is 2 bytes */Writetoreg (int);Read (int,char);char *datapointer = store;char store[NUM_SAMPLES*MAX_REG_LENGTH + 30]; void main(){/* the only pin that is programmed here from the 68HC 11 is the /CS and this is why the PC2 bit of PORTC is made asan output */char a;DDRC = 0x04; /* PC2 is an output the rest of the port bits are inputs */PORTC | = 0x04; /* make the /CS line high */ Writetoreg(0x20); /* Active Channel is Ain1(+)/Ain1(-), next operation as write to the clock register */Writetoreg(0x0C); /* master clock enabled, 4.9512MHzClock, set output rate to 50Hz*/Writetoreg(0x10); /* Active Channel is Ain1(+)/Ain1(-),next operation as write to the setup register */ Writetoreg(0x40); /* gain = 1, bipolar mode, buffer off, clear FSYNC and perform a Self Calibration*/while(PORTC & 0x10); /* wait for /DRDY to go low */for(a=0;a<NUM_SAMPLES;a++);{Writetoreg(0x38); /*set the next operation for 16 bit read from the data register */Read(NUM_SAMPES,2);}}Writetoreg(int byteword);{int q;SPCR = 0x3f;SPCR = 0X7f; /* this sets the WiredOR mode(DWOM= 1), Master mode(MSTR=1), SCK idles high(CPOL=1), /S S can be lowalways (CPHA=1), lowest clock speed(slowest speed which is master clock /32 */DDRD = 0x18; /* SCK, MOSI outputs */q = SPSR;q = SPDR; /* the read of the staus register and of thedata register is needed to clear the interrupt which tells the user that thedata transfer is complete */PORTC &= 0xfb; /* /CS is low */SPDR = byteword; /* put the byte into data register */while(!(SPSR & 0x80)); /* wait for /DRDY to go low */ PORTC |= 0x4; /* /CS high */}Read(int amount, int reglength){int q;SPCR = 0x3f;SPCR = 0x7f; /* clear the interupt */DDRD = 0x10; /* MOSI output, MISO input, SCK outpu t */while(PORTC & 0x10); /* wait for /DRDY to go low */ PORTC & 0xfb ; /* /CS is low */for(b=0;b<reglength;b++){SPDR = 0;while(!(SPSR & 0x80)); /* wait until port ready before r eading */*datapointer++=SPDR; /* read SPDR into store array vi a datapointer */}PORTC|=4; /* /CS is high */}。

tl7705a原理

tl7705a原理

tl7705a原理
TL7705A是一种用于电源管理的集成电路,可以广泛应用于电子设备中。

本文将从原理的角度来介绍TL7705A的工作原理和应用。

TL7705A是一种电源管理IC,它主要用于监测和控制电源电压,并提供过电流和过温度保护。

它可以在电源电压超出设定范围时进行报警或自动断电,以保护电子设备的安全运行。

TL7705A的工作原理基于反馈控制的思想。

它通过对电源电压进行采样和比较,根据比较结果来控制输出电路。

当电源电压低于设定值时,TL7705A会通过比较器产生一个低电平信号,从而触发控制电路,使输出电路断开。

当电源电压恢复到设定值以上时,TL7705A会停止产生低电平信号,输出电路恢复正常工作。

TL7705A还具有过电流和过温度保护功能。

当电流超出设定范围或温度超过限定值时,TL7705A会发出警报信号或自动断开电路,以防止电子设备损坏或发生故障。

TL7705A的应用非常广泛。

它可以用于电源管理系统中的电压监测和控制,保证电源的稳定输出。

它还可以用于电池管理系统,监测和控制电池的电压,防止电池过放或过充。

此外,TL7705A还可以用于电源逆变器和开关电源中,提供电源保护和控制。

TL7705A是一种功能强大的电源管理IC,具有电压监测、过电流保
护和过温度保护等功能。

它的工作原理基于反馈控制,可以有效地保护电子设备的安全运行。

同时,它的应用范围广泛,可以用于各种电源管理系统和电子设备中。

通过使用TL7705A,可以提高电子设备的可靠性和稳定性。

AD7705 及其应用

AD7705 及其应用

为此, 我们选用 AD7705 作为模数转换器。AD7705
1 闸位荷重仪的基本原理
在 闸 位 荷 重 仪 中 ,最 基 本 的 测 量 参 数 包 括 开 度 和荷重。闸位编码传感器与闸门启闭机主轴相连, 把闸门的提升高度转换为数字编码后可直接送入微 处 理 器;而 测 量 荷 重 我 们 采 用 压 力 传 感 器 。起 吊 闸 门时,传感器受力,输出电压信号。此信号经 A/D 转换后,由微处理器读入、处理并显示输出,进行 报警控制。图 1所示为闸位荷重仪的原理框图。
在我们的系统中,由于89C51的串行口用于扩展 RS-485 接口。因此,采用另一种方法,即用 89C51的 并行口模拟串行口的时序,完成对 AD7705的操作, 详细的连接方法如图 1 所示。把 89C51 的 P1.7、P1.6、
P1.5、P1.4 分别与 AD7705 的 DIN、SCLK、DOUT、CS
程增益 (具有 1、 2、 4、 8、 16、 32、 64、 128 八种
的 24 位并行输入口完全可以满足不同位数的编码
放 大 倍 数 )、可 编 程 输 出 数 据 更 新 率 及 自 校 准 和 系
器需要 ; 另一片 8255 用作键盘显示接口。
统 校 准 功 能;同 时 具 有 三 线 串 行 接 口 ,与 微 处 理 器
AD7705 是 AD 公司新推出的 16 位 Σ - Δ A/D 转换器。器件包括由缓冲器
图1 闸位荷重仪的原理框图
和 增 益 可 编 程 放 大 器( PGA )组 成 的 前 端来自拟调节电路、Σ - Δ调制器、可编
综 合 考 虑 仪 器 的 功 能 、运 行 环 境 及 经 济 效 益 等
程数字滤波器等部件。能直接将传感器测量到的 2

tm7705

tm7705

16 bit 模数转换器一、概述TM7705TM7705 是应用于低频测量的 2/3 通道的模拟前端。

该器件可以接受直接来 自传感器的低电平的输入信号,然后产生串行的数字输出。

利用 Σ-∆ 转换技术 实现了 16 位无丢失代码性能。

选定的输入信号被送到一个基于模拟调制器的增 益可编程专用前端。

片内数字滤波器处理调制器的输出信号。

通过片内控制寄存 器可调节滤波器的截止点和输出更新速率, 从而对数字滤波器的第一个陷波进行 编程。

TM7705 只需 2.7~3.3V 或 4.75~5.25V 单电源。

TM7705 是双通道全差分模 拟输入,带有一个差分基准输入。

当电源电压为 5V、基准电压为 2.5V 时,该器 件都可将输入信号范围从 0~+20mV 到 0~+2.5V 的信号进行处理。

还可处理 ±20mV~±2.5V 的双极性输入信号, 对于 TM7705 是以 AIN (-) 输入端为参考点。

当电源电压为 3V、基准电压为 1.225V 时,可处理 0~+10mV 到 0~+1.225V 的 单极性输入信号, 它的双极性输入信号范围是±10mV 到±1.225V。

因此, TM7705 可以实现 2/3 通道系统所有信号的调理和转换。

TM7705 是用于智能系统、微控制器系统和基于 DSP 系统的理想产品。

其 串行接口可配置为三线接口。

增益值、信号极性以及更新速率的选择可用串行输 入口由软件来配置。

该器件还包括自校准和系统校准选项,以消除器件本身或系 统的增益和偏移误差。

CMOS 结构确保器件具有极低功耗,掉电模式减少等待时的功耗至 20µW (典型值) 。

TM7705 采用 16 脚塑料双列直插(DIP)和 16 脚宽体(0.3 英寸) SOIC 封装和 16 脚 TSSOP 封装。

二、特点TM7705:2 个全差分输入通道的 ADC 16 位无丢失代码 0.003%非线性 可编程增益前端 增益:1~128 三线串行接口 有对模拟输入缓冲的能力 2.7~3.3V 或 4.75~5.25V 工作电压 3V 电压时,最大功耗为 1mW 等待电流的最大值为 8µA 16 脚 DIP、SOIC 和 TSSOP 封装三、功能方框图©Titan Micro Electronics-1-16 bit 模数转换器TM7705四、引脚排列与功能TM7705 的引脚排列TM7705五、引脚功能©Titan Micro Electronics -2-16 bit 模数转换器编号 名 称 功 能TM77051SCLK串行时钟,施密特逻辑输入。

tl7705a 芯片说明

tl7705a 芯片说明

1POST OFFICE BOX 655303 •DALLAS, TEXAS 75265DExternally Adjustable Pulse Durationdescription/ordering informationORDERING INFORMATION {T APACKAGE }ORDERABLEPART NUMBER TOP-SIDE MARKING PDIP (P)Tube of 50TL7702ACP TL7702ACP SOIC (D)Tube of 75TL7702ACD SOIC (D)Reel of 2500TL7702ACDR 7702AC PDIP (P)Tube of 50TL7705ACP TL7705ACP SOIC (D)Tube of 75TL7705ACD SOIC (D)Reel of 2500TL7705ACDR 7705AC SOP (PS)Reel of 2000TL7705ACPSR T7705A °°PDIP (P)Tube of 50TL7709ACP TL7709ACP 0C to 70CSOIC (D)Tube of 75TL7709ACD SOIC (D)Reel of 2500TL7709ACDR 7709AC PDIP (P)Tube of 50TL7712ACP TL7709ACP SOIC (D)Tube of 75TL7712ACD SOIC (D)Reel of 2500TL7712ACDR 7712AC PDIP (P)Tube of 50TL7715ACP TL7715ACP SOIC (D)Tube of 75TL7715ACD 7715AC PDIP (P)Tube of 50TL7702AIP TL7702AIP SOIC (D)Tube of 75TL7702AID SOIC (D)Reel of 2500TL7702AIDR 7702AI −40°C to 85°PDIP (P)Tube of 50TL7705AIP TL7705AIP 40CSOIC (D)Tube of 75TL7705AID SOIC (D)Reel of 2500TL7705AIDR 7705AI SOIC (D)Reel of 2500TL7712AIDR7712AI†For the most current package and ordering information, see the Package Option Addendum at the end of this document, or see the TI web site at .‡Package drawings, thermal data, and symbolization are available at /packaging.PRODUCTION DATA in ormation is current as o publication date.Products conform to specifications per the terms of Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters.Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.TL7702A, TL7705A, TL7709A, TL7712A, TL7715A SUPPLY-VOLTAGE SUPERVISORSSLVS028I − APRIL 1983 − REVISED JULY 20092POST OFFICE BOX 655303 •DALLAS, TEXAS 75265description/ordering information (continued)The TL77xxA family of integrated-circuit supply-voltage supervisors is designed specifically for use as reset controllers in microcomputer and microprocessor systems. The supply-voltage supervisor monitors the supply for undervoltage conditions at the SENSE input. During power up, the RESET output becomes active (low)when V CC attains a value approaching 3.6 V. At this point (assuming that SENSE is above V IT+), the delay timer function activates a time delay, after which outputs RESET and RESET go inactive (high and low, respectively).When an undervoltage condition occurs during normal operation, RESET and RESET go active. T o ensure that a complete reset occurs, the reset outputs remain active for a time delay after the voltage at the SENSE input exceeds the positive-going threshold value. The time delay is determined by the value of the external capacitor C T : t d = 1.3 × 104 × C T , where C T is in farads (F) and t d is in seconds (s).During power down and when SENSE is below V IT−, the outputs remain active until V CC falls below 2 V. After this, the outputs are undefined.An external capacitor (typically 0.1 µF) must be connected to REF to reduce the influence of fast transients in the supply voltage.functional block diagramThe functional block diagram is shown for illustrative purposes only; the actual circuit includes a trimming network to adjust the reference voltage and sense-comparator trip point.RESINSENSEGNDV CCCT REFNOTES: A.TL7702A: R1 = 0 Ω, R2 = openTL7705A: R1 = 7.8 k Ω, R2 = 10 k ΩTL7709A: R1 = 19.7 k Ω, R2 = 10 k ΩTL7712A: R1 = 32.7 k Ω, R2 = 10 k ΩTL7715A: R1 = 43.4 k Ω, R2 = 10 k ΩB.Resistor values shown are nominal.RESETRESETTL7702A, TL7705A, TL7709A, TL7712A, TL7715ASUPPLY-VOLTAGE SUPERVISORSSLVS028I − APRIL 1983 − REVISED JULY 20093POST OFFICE BOX 655303 •DALLAS, TEXAS 75265timing diagramOutput UndefinedV CC and SENSEV CC ≈CC ≈ 2 Vabsolute maximum ratings over operating free-air temperature range (unless otherwise noted)†Supply voltage, V CC (see Note 1) 20 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Input voltage range, V I , RESIN −0.3 V to 20 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Input voltage range, V I , SENSE:TL7702A (see Note 2) −0.3 V to 6 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TL7705A −0.3 V to 20 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TL7709A −0.3 V to 20 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TL7712A, TL7715A −0.3 V to 20 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . High-level output current, I OH , RESET −30 mA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Low-level output current, I OL , RESET 30 mA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Package thermal impedance, θJA (see Notes 3 and 4):D package 97°C/W. . . . . . . . . . . . . . . . . . . . . . . . . . . . P package 85°C/W . . . . . . . . . . . . . . . . . . . . . . . . . . . . PS package 95°C/W. . . . . . . . . . . . . . . . . . . . . . . . . . . Operating virtual junction temperature, T J 150°C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lead temperature 1,6 mm (1/16 inch) from case for 10 seconds 260°C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Storage temperature range, T stg −65°C to 150°C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . †Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.NOTES: 1.All voltage values are with respect to GND.2.For proper operation of the TL7702A, the voltage applied to the SENSE terminal should not exceed V CC − 1 V or 6 V, whicheveris less.3.Maximum power dissipation is a function of T J (max), θJA , and T A . The maximum allowable power dissipation at any allowableambient temperature is P D = (T J (max) − T A )/θJA . Operating at the absolute maximum T J of 150°C can affect reliability.4.The package thermal impedance is calculated in accordance with JESD 51-7.TL7702A, TL7705A, TL7709A, TL7712A, TL7715A SUPPLY-VOLTAGE SUPERVISORSSLVS028I − APRIL 1983 − REVISED JULY 20094POST OFFICE BOX 655303 •DALLAS, TEXAS 75265recommended operating conditionsMINMAX UNIT V CC Supply voltage3.518V V IH High-level input voltage at RESIN 2V V ILLow-level input voltage at RESIN0.6VTL7702A 0See Note 2TL7705A010V Input voltage, SENSE TL7709A 015VIp gTL7712A 020TL7715A020I OH High-level output current, RESET −16mA I OL Low-level output current, RESET 16mA Operating free air temperature range TL77xxAC 070T AOperating free-air temperature rangeTL77xxAI−4085°C NOTE 2:For proper operation of the TL7702A, the voltage applied to the SENSE terminal should not exceed V CC − 1 V or 6 V , whichever is less.electrical characteristics over recommended operating conditions (unless otherwise noted)TEST CONDITIONS TL77xxACTL77xxAI PARAMETER†MIN TYPMAXUNIT V OH High-level output voltage, RESET I OH = −16 mA V CC −1.5V V OL Low-level output voltage, RESET I OL = 16 mA 0.4V V refReference voltageT A = 25°C2.48 2.53 2.58VTL7702A 2.48 2.53 2.58N ti i i t th h ld lt TL7705A4.54.55 4.6Negative-going input threshold voltage,TL7709A = 25°7.57.67.7V IT−SENSETL7712A T A 25C10.610.811VTL7715A 13.213.513.8TL7702A 10TL7705A15− V TL7709A = 25°20V hysHysteresis, SENSE (V IT+ V IT−)TL7712A T A 25C35mVTL7715A45RESIN V I = 2.4 V to V CC 20V I = 0.4 V−100I I Input currentSENSETL7702AV ref < V I < V CC − 1.5 V 0.52µAI OH High-level output current, RESET V O = 18 V 50µA I OL Low-level output current, RESET V O = 0−50µA I CCSupply currentAll inputs and outputs open1.83mA †All electrical characteristics are measured with 0.1-µF capacitors connected at REF, CT, and V CC to GND.TL7702A, TL7705A, TL7709A, TL7712A, TL7715ASUPPLY-VOLTAGE SUPERVISORSSLVS028I − APRIL 1983 − REVISED JULY 20095POST OFFICE BOX 655303 •DALLAS, TEXAS 75265switching characteristics over recommended operating conditions (unless otherwise noted)TEST CONDITIONS TL77xxAC TL77xxAI PARAMETER†MIN TYP MAX UNIT Output pulse duration C T = 0.1 µF0.65 1.22.6msec Input pulse duration at RESIN0.4µs t w(S)Pulse durationat SENSE input to switch outputs V IH = V IT− + 200 mV,V IL = V IT− − 200 mV2µs t pd Propagation delay time, RESIN to RESET V CC = 5 V 1µs Rise time RESET 5V See Note 50.2t r Rise timeRESET V CC = 5 V,See Note 53.5µs Fall time RESET 5VSee Note 5 3.5t fFall time RESETV CC = 5 V,See Note 50.2µs†All switching characteristics are measured with 0.1-µF capacitors connected at REF and V CC to GND.NOTE 5:The rise and fall times are measured with a 4.7-k Ω load resistor at RESET and RESET.PARAMETER MEASUREMENT INFORMATION0 V V IHV ILSENSERESETRESINRESETV OH(RESET)V OL(RESET)Figure 1. Voltage WaveformsTL7702A, TL7705A, TL7709A, TL7712A, TL7715A SUPPLY-VOLTAGE SUPERVISORSSLVS028I − APRIL 1983 − REVISED JULY 20096POST OFFICE BOX 655303 •DALLAS, TEXAS 75265TYPICAL CHARACTERISTICS †Figure 2302622182463438ASSERTION TIMEvsLOAD RESISTANCE42810t − A s s e r t i o n T i m e − n sR L − Load Resistance − k ΩFigure 343210246t − D e a s s e r t i o n T i m e −56DEASSERTION TIMEvsLOAD RESISTANCE7810sµR L − Load Resistance − kΩFigure 43228242002550751001253640ASSERTION TIMEvsLOAD CAPACITANCE44150175200t − A s s e r t i o n T i m e − n sC L − Load Capacitance − pFFigure 52.421.61.22.83.2DEASSERTION TIMEvsLOAD CAPACITANCE3.60255075100125150175200C L − Load Capacitance − pF0.8t − D e a s s e r t i o n T i m e −sµ†For proper operation, both RESET and RESET should be terminated with resistors of similar value. Failure to do so may cause unwanted plateauing in either output waveform during switching.TL7702A, TL7705A, TL7709A, TL7712A, TL7715ASUPPLY-VOLTAGE SUPERVISORSSLVS028I − APRIL 1983 − REVISED JULY 20097POST OFFICE BOX 655303 •DALLAS, TEXAS 75265APPLICATION INFORMATIONSystem ResetΩ5 V 12 V−12 VGNDΩFigure 6. Multiple Power-Supply System Reset Generation5 VGNDC T (F )+t d (s )1.3 104Figure 7. Reset Controller for TMS7000 SystemTL7702A, TL7705A, TL7709A, TL7712A, TL7715A SUPPLY-VOLTAGE SUPERVISORSSLVS028I − APRIL 1983 − REVISED JULY 20098POST OFFICE BOX 655303 •DALLAS, TEXAS 75265APPLICATION INFORMATION5 VSystem RESETInputFigure 8. Eliminating Undefined States Using a P-Channel JFETSystem RESETV CCSENSE InputFigure 9. Eliminating Undefined States Using a pnp TransistorPACKAGING INFORMATIONOrderable Device Status (1)Package Type PackageDrawing Pins Package Qty Eco Plan (2)Lead/Ball FinishMSL Peak Temp (3)Samples(Requires Login)TL7702ACD ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702ACDE4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702ACDG4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702ACDR ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702ACDRE4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702ACDRG4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702ACP ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales Office TL7702ACPE4ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales Office TL7702AID ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7702AIDE4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7702AIDG4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7702AIDR ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702AIDRE4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702AIDRG4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7702AIP ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales OfficeTL7702AIPE4ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales OfficeTL7702AMFKB OBSOLETE LCCC FK20TBD Call TI Call TI Samples Not Available TL7702AMJG OBSOLETE CDIP JG8TBD Call TI Call TI Samples Not AvailableAddendum-Page 1Orderable Device Status (1)Package Type PackageDrawing Pins Package Qty Eco Plan (2)Lead/Ball FinishMSL Peak Temp (3)Samples(Requires Login)TL7702AMJGB OBSOLETE CDIP JG8TBD Call TI Call TI Samples Not AvailableTL7705ACD ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705ACDE4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705ACDG4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705ACDR ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705ACDRE4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705ACDRG4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705ACP ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales OfficeTL7705ACPE4ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales OfficeTL7705ACPSLE OBSOLETE SO PS8TBD Call TI Call TI Replaced by TL7705ACPSRTL7705ACPSR ACTIVE SO PS82000Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705ACPSRE4ACTIVE SO PS82000Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705ACPSRG4ACTIVE SO PS82000Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705AID ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7705AIDE4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7705AIDG4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7705AIDR ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705AIDRE4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7705AIDRG4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeAddendum-Page 29-Jul-2010Orderable Device Status (1)Package Type PackageDrawing Pins Package Qty Eco Plan (2)Lead/Ball FinishMSL Peak Temp (3)Samples(Requires Login)TL7705AIP ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales Office TL7705AIPE4ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales OfficeTL7709ACD ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7709ACDE4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7709ACDG4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7709ACDR ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7709ACDRE4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7709ACDRG4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7709ACP ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales OfficeTL7709ACPE4ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales Office TL7709AID OBSOLETE SOIC D8TBD Call TI Call TI Samples Not Available TL7709AIP OBSOLETE PDIP P8TBD Call TI Call TI Samples Not Available TL7712ACD ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7712ACDE4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7712ACDG4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase SamplesTL7712ACDR ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7712ACDRE4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7712ACDRG4ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7712ACP ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales Office9-Jul-2010Orderable Device Status (1)Package Type PackageDrawing Pins Package Qty Eco Plan (2)Lead/Ball FinishMSL Peak Temp (3)Samples(Requires Login)TL7712ACPE4ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales OfficeTL7712AID OBSOLETE SOIC D8TBD Call TI Call TI Replaced by TL7712ACD TL7712AIDR ACTIVE SOIC D82500Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Purchase Samples TL7712AIP OBSOLETE PDIP P8TBD Call TI Call TI Replaced by TL7712ACPTL7715ACD ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7715ACDE4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7715ACDG4ACTIVE SOIC D875Green (RoHS& no Sb/Br)CU NIPDAU Level-1-260C-UNLIM Contact TI Distributoror Sales OfficeTL7715ACP ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales Office TL7715ACPE4ACTIVE PDIP P850Pb-Free (RoHS)CU NIPDAU N / A for Pkg Type Contact TI Distributoror Sales Office TL7715AID OBSOLETE SOIC D8TBD Call TI Call TI Samples Not Available TL7715AIP OBSOLETE PDIP P8TBD Call TI Call TI Samples Not Available(1) The marketing status values are defined as follows:ACTIVE: Product device recommended for new designs.LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.PREVIEW: Device has been announced but is not in production. Samples may or may not be available.OBSOLETE: TI has discontinued the production of the device.(2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check /productcontent for the latest availability information and additional product content details.TBD: The Pb-Free/Green conversion plan has not been defined.Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above.Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material)(3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.9-Jul-2010 Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.TAPE AND REELINFORMATION *All dimensionsare nominal Device Package Type Package DrawingPinsSPQ Reel Diameter (mm)Reel Width W1(mm)A0(mm)B0(mm)K0(mm)P1(mm)W (mm)Pin1Quadrant TL7702ACDR SOICD 82500330.012.4 6.4 5.2 2.18.012.0Q1TL7702AIDR SOICD 82500330.012.4 6.4 5.2 2.18.012.0Q1TL7705ACDR SOICD 82500330.012.4 6.4 5.2 2.18.012.0Q1TL7705ACPSR SOPS 82000330.016.48.2 6.6 2.512.016.0Q1TL7705AIDR SOICD 82500330.012.4 6.4 5.2 2.18.012.0Q1TL7709ACDR SOICD 82500330.012.4 6.4 5.2 2.18.012.0Q1TL7712ACDR SOICD 82500330.012.4 6.4 5.2 2.18.012.0Q1TL7712AIDR SOIC D 82500330.012.4 6.4 5.2 8-Jul-2011*All dimensionsare nominal DevicePackage Type Package Drawing Pins SPQ Length (mm)Width (mm)Height (mm)TL7702ACDRSOIC D 82500346.0346.029.0TL7702AIDRSOIC D 82500340.5338.120.6TL7705ACDRSOIC D 82500340.5338.120.6TL7705ACPSRSO PS 82000346.0346.033.0TL7705AIDRSOIC D 82500340.5338.120.6TL7709ACDRSOIC D 82500340.5338.120.6TL7712ACDRSOIC D 82500340.5338.120.6TL7712AIDR SOIC D 82500340.5338.120.6 8-Jul-2011IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries(TI)reserve the right to make corrections,modifications,enhancements,improvements, and other changes to its products and services at any time and to discontinue any product or service without notice.Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty.Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty.Except where mandated by government requirements,testing of all parameters of each product is not necessarily performed.TI assumes no liability for applications assistance or customer product design.Customers are responsible for their products and applications using TI components.To minimize the risks associated with customer products and applications,customers should provide adequate design and operating safeguards.TI does not warrant or represent that any license,either express or implied,is granted under any TI patent right,copyright,mask work right, or other TI intellectual property right relating to any combination,machine,or process in which TI products or services are rmation published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement e of such information may require a license from a third party under the patents or other intellectual property of the third party,or a license from TI under the patents or other intellectual property of TI.Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties,conditions,limitations,and notices.Reproduction of this information with alteration is an unfair and deceptive business practice.TI is not responsible or liable for such altered rmation of third parties may be subject to additional restrictions.Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice.TI is not responsible or liable for any such statements.TI products are not authorized for use in safety-critical applications(such as life support)where a failure of the TI product would reasonably be expected to cause severe personal injury or death,unless officers of the parties have executed an agreement specifically governing such use.Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications,and acknowledge and agree that they are solely responsible for all legal,regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications,notwithstanding any applications-related information or support that may be provided by TI.Further,Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications.TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or"enhanced plastic."Only products designated by TI as military-grade meet military specifications.Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk,and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS16949requirements.Buyers acknowledge and agree that,if they use any non-designated products in automotive applications,TI will not be responsible for any failure to meet such requirements.Following are URLs where you can obtain information on other Texas Instruments products and application solutions:Products ApplicationsAudio /audio Communications and Telecom /communicationsAmplifiers Computers and Peripherals /computersData Converters Consumer Electronics /consumer-appsDLP®Products Energy and Lighting /energyDSP Industrial /industrialClocks and Timers /clocks Medical /medicalInterface Security /securityLogic Space,Avionics and Defense /space-avionics-defense Power Mgmt Transportation and /automotiveAutomotiveMicrocontrollers Video and Imaging /videoRFID Wireless /wireless-appsRF/IF and ZigBee®Solutions /lprfTI E2E Community Home Page Mailing Address:Texas Instruments,Post Office Box655303,Dallas,Texas75265Copyright©2011,Texas Instruments Incorporated。

[设计]AD转换芯片7705

[设计]AD转换芯片7705

[设计]AD转换芯片7705AD7705 性价比比较高的 16位 ad 使用比较简单用做单通道的时候基本不怎么需要设置做双通道的时候,发现的点问题,而这几点问题在网上的前辈那也没有特别说明这里提出来供用的着 AD7705 的参考下1. 关于时钟寄存器 AD7705 只有一个时钟寄存器而不是两个。

2.4576MHZ 是标准频率,如果用 4.9152MHZ的时候,要将 CLKDIV位置位也就是 2 分频到 2.4576 具体设置看手册2. 关于数据寄存器 AD7705 也只有一个数据寄存器,一段时间内只能对一路AD输入做数据转换。

数据转换范围单极性 0 -- Vref/Gain 对应 0 -- 0xffff(65535)双极性 -Vref/Gain -- 0 对应 0 -- 0x8000(32768) 0 - Vref/Gain 对应0x8000(32768) -- 0xffff(65535)3. 关于设置寄存器同样也只有一个,要用哪个通道就要先设置这个通道对应的寄存器值4. 校准寄存器虽然有 4对但只是对应外部校准的所以在用自校准,通道切换的时候也要重新自校准一下,校准的时候 DRDY 为高电平,校准完后为低电平校准完后第一次读的数据不怎么准应该读第二次转换出来的数据。

下边是我单通道切换转换的程序:#include <iom16v.h>//SPI 引脚定义 PB 口#define CS_DRDY 3#define CS_CS 4#define CS_MOSI 5#define CS_MISO 6#define CS_SCK 7extern void SpiInit(void); // SPI 初始化 M16extern void InitAD7705(void); // AD7705 初始化extern unsigned int ReadDataCH1(void); //读取转换数据extern unsigned int ReadDataCH2(void); //读取转换数据#include "AD7705.H"//定义位操作#define SET_BIT(x,y) ((x) |= (0x0001 << (y))) #define CLR_BIT(x,y) ((x) &= ~(0x0001 <<(y))) #define CPL_BIT(x,y) ((x) ^= (0x0001 << (y))) #define GET_BIT(x,y) (((x) & (1 << (y))) == 0? 0:1)#define LET_BIT(x,y,z) ((x) = (x) & (~(1 << (y))) | ((z) << (y))) //**********************短延时程序50us**************************// void delay50us(unsigned int t) {unsigned int j;for(;t>0;t--)for(j=0;j<70;j++);}// SPI 初始化 M16void SpiInit(void){//cs 置为输出方可不影响 SPI 总线DDRB|=(1<<CS_MOSI)|(1<<CS_SCK)|(1<<CS_CS);//使能 spi 设置为主机时钟极性为空闲时高平上升沿采样下降沿设置分频系数为128分频SPCR|=(1<<SPE)|(1<<MSTR)|(1<<SPR0);SPSR = 0x00; //setup SPISET_BIT(PORTB,CS_DRDY); //设置 REDY 信号输入端口上拉电阻使能SET_BIT(PORTB,CS_MISO); //设置 MISO 信号输入端口上拉电阻使能 }// SPI 发送接收数据unsigned char TransmitterSpi(unsigned char cData){SPDR = cData;while(!(SPSR&(1<<SPIF)));return SPDR;}//复位 AD7705void ResetAD(void){unsigned char i ;for(i = 10;i>0;i--) //持续DIN高电平写操作,恢复AD7705接口{TransmitterSpi(0xff);}}// AD7705 初始化void InitAD7705(void){CLR_BIT(PORTB,CS_CS); //CS置为输出低电平,使能 AD7705ResetAD() ;TransmitterSpi(0x20); //通讯寄存器 //通道 1,下一个写时钟寄存器自校准TransmitterSpi(0x00); //时钟寄存器 //写时钟寄存器设置 2.459Mhz更新速率为20hzTransmitterSpi(0x10); //通讯寄存器 //通道 1,下一个写设置寄存器TransmitterSpi(0x48); //设置寄存器 //自校准,增益 1,双极 ,缓冲delay50us(100); //延时TransmitterSpi(0x21); //通讯寄存器 //通道 2,下一个写时钟寄存器自校准TransmitterSpi(0x00); //时钟寄存器 //写时钟寄存器设置 2.459Mhz更新速率为20hzTransmitterSpi(0x11); //通讯寄存器 //通道 2,下一个写设置寄存器TransmitterSpi(0x48); //设置寄存器 //自校准,增益 1,双极,缓冲delay50us(100);}//*************************** 按照通道 1 读取****************************//unsigned int ReadDataCH1(void) {unsigned int getData = 0;unsigned char bufR[5];TransmitterSpi(0x10); //通讯寄存器 //通道 1,下一个写设置寄存器TransmitterSpi(0x48); //设置寄存器 //自校准,增益 1,双极 ,缓冲while(PINB&(1<<CS_DRDY)); //等待校准完成 READY 信号变为低电平TransmitterSpi(0x38); //发送 0x38 读取 CH1 数据寄存器while(PINB&(1<<CS_DRDY)); //等待 READY 信号变为低电平bufR[0]=TransmitterSpi(0xff); //转换结果高位bufR[1]=TransmitterSpi(0xff); //转换结果低位getData=(bufR[0]<<8)|bufR[1]; //获得数据 16 位return getData ; //返回数据}//***************************按照通道 2 读取****************************//unsigned int ReadDataCH2(void) {unsigned int getData = 0;unsigned char bufR[5];TransmitterSpi(0x11); //通讯寄存器 //通道 1,下一个写设置寄存器TransmitterSpi(0x48); //设置寄存器 //自校准,增益 1,双极 ,缓冲while(PINB&(1<<CS_DRDY)); //等待校准完成 READY 信号变为低电平TransmitterSpi(0x39); //发送 0x01 读取 AD7705 数据寄存器while(PINB&(1<<CS_DRDY)); //等待 READY 信号变为低电平bufR[0]=TransmitterSpi(0xff); //转换结果高位bufR[1]=TransmitterSpi(0xff); //转换结果低位getData=(bufR[0]<<8)|bufR[1]; //读取数据前 16 位return getData ;}void main(void){unsigned char adi ;unsigned int getData,getData2;SpiInit();InitAD7705();while(1){if(adi++ >=1) adi = 0;if(adi == 0) getData = ReadDataCH1(); if(adi == 1) getData2 = ReadDataCH2(); }}。

复位芯片7705ac

复位芯片7705ac

PACKAGING INFORMATIONOrderable Device Status(1)PackageType PackageDrawingPins PackageQtyEco Plan(2)Lead/Ball Finish MSL Peak Temp(3)5962-88685012A OBSOLETE LCCC FK20TBD Call TI Call TI TL7702ACD ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDG4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDRG4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACP ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7702ACPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7702AID ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDG4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDRG4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIP ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7702AIPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg Type TL7702AMFKB OBSOLETE LCCC FK20TBD Call TI Call TITL7702AMJG OBSOLETE CDIP JG8TBD Call TI Call TITL7702AMJGB OBSOLETE CDIP JG8TBD Call TI Call TITL7705ACD ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDG4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDRG4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACP ACTIVE PDIP P850Pb-Free CU NIPDAU N/A for Pkg TypeOrderable Device Status(1)PackageType PackageDrawingPins PackageQtyEco Plan(2)Lead/Ball Finish MSL Peak Temp(3)(RoHS)TL7705ACPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7705ACPSLE OBSOLETE SO PS8TBD Call TI Call TITL7705ACPSR ACTIVE SO PS82000Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACPSRE4ACTIVE SO PS82000Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AID ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDG4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDRG4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIP ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7705AIPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg Type TL7705AMFKB OBSOLETE LCCC FK20TBD Call TI Call TITL7705AMJG OBSOLETE CDIP JG8TBD Call TI Call TITL7705AMJGB OBSOLETE CDIP JG8TBD Call TI Call TITL7709ACD ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7709ACDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7709ACDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7709ACDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7709ACP ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7709ACPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg Type TL7709AID OBSOLETE SOIC D8TBD Call TI Call TITL7709AIP OBSOLETE PDIP P8TBD Call TI Call TITL7712ACD ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7712ACDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7712ACDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7712ACDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIM TL7712ACP ACTIVE PDIP P850Pb-Free CU NIPDAU N/A for Pkg TypeOrderable Device Status (1)PackageTypePackage Drawing Pins Package Qty Eco Plan (2)Lead/Ball Finish MSL Peak Temp (3)(RoHS)TL7712ACPE4ACTIVE PDIPP 850Pb-Free (RoHS)CU NIPDAU N /A for Pkg Type TL7712AID OBSOLETE SOICD 8TBD Call TI Call TI TL7712AIP OBSOLETE PDIPP 8TBD Call TI Call TI TL7715ACD ACTIVE SOICD 875Green (RoHS &no Sb/Br)CU NIPDAU Level-1-260C-UNLIM TL7715ACDE4ACTIVE SOICD 875Green (RoHS &no Sb/Br)CU NIPDAU Level-1-260C-UNLIM TL7715ACP ACTIVE PDIPP 850Pb-Free (RoHS)CU NIPDAU N /A for Pkg Type TL7715ACPE4ACTIVE PDIPP 850Pb-Free (RoHS)CU NIPDAU N /A for Pkg Type TL7715AID OBSOLETE SOICD 8TBD Call TI Call TI TL7715AIPOBSOLETE PDIP P 8TBD Call TI Call TI (1)The marketing status values are defined as follows:ACTIVE:Product device recommended for new designs.LIFEBUY:TI has announced that the device will be discontinued,and a lifetime-buy period is in effect.NRND:Not recommended for new designs.Device is in production to support existing customers,but TI does not recommend using this part in a new design.PREVIEW:Device has been announced but is not in production.Samples may or may not be available.OBSOLETE:TI has discontinued the production of the device.(2)Eco Plan -The planned eco-friendly classification:Pb-Free (RoHS),Pb-Free (RoHS Exempt),or Green (RoHS &no Sb/Br)-please check /productcontent for the latest availability information and additional product content details.TBD:The Pb-Free/Green conversion plan has not been defined.Pb-Free (RoHS):TI's terms "Lead-Free"or "Pb-Free"mean semiconductor products that are compatible with the current RoHS requirements for all 6substances,including the requirement that lead not exceed 0.1%by weight in homogeneous materials.Where designed to be soldered at high temperatures,TI Pb-Free products are suitable for use in specified lead-free processes.Pb-Free (RoHS Exempt):This component has a RoHS exemption for either 1)lead-based flip-chip solderbumps used between the die and package,or 2)lead-based die adhesive used between the die and leadframe.The component is otherwise considered Pb-Free (RoHS compatible)as defined above.Green (RoHS &no Sb/Br):TI defines "Green"to mean Pb-Free (RoHS compatible),and free of Bromine (Br)and Antimony (Sb)based flame retardants (Br or Sb do not exceed 0.1%by weight in homogeneous material)(3)MSL,Peak Temp.--The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications,and peak solder temperature.Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided.TI bases its knowledge and belief on information provided by third parties,and makes no representation or warranty as to the accuracy of such information.Efforts are underway to better integrate information from third parties.TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.TI and TI suppliers consider certain information to be proprietary,and thus CAS numbers and other limited information may not be available for release.In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s)at issue in this document sold by TI to Customer on an annual basis.PACKAGE OPTION ADDENDUM 31-Oct-2006Addendum-Page 3IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. T esting and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed.TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. T o minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards.TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation.Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions:Products ApplicationsAmplifiers Audio /audioData Converters Automotive /automotiveDSP Broadband /broadbandInterface Digital Control /digitalcontrolLogic Military /militaryPower Mgmt Optical Networking /opticalnetwork Microcontrollers Security /securityLow Power Wireless /lpw Telephony /telephonyVideo & Imaging /videoWireless /wirelessMailing Address:Texas InstrumentsPost Office Box 655303 Dallas, Texas 75265Copyright 2006, Texas Instruments Incorporated。

16位_模数转换器AD7705及其校准

16位_模数转换器AD7705及其校准

16位 模数转换器AD7705及其校准陈勇钢,吴伯农(北方工业大学机电工程学院 北京 100041)摘 要:A D7705是A D 公司推出的16位高性能、低功耗 A /D 转换器,具有增益可编程放大器,可通过编程直接测量传感器输出的微弱信号。

介绍了A D7705的基本特点、结构以及常用片上寄存器的格式与编程注意事项。

自校准和系统校准可消除偏置和增益误差,由于现场条件变化不定,还详细介绍了适用于特定条件的现场校准与手动校准,最后给出了数据手册中没有的手动校准实例。

关键词:A D7705;模/数转换;校准;现场校准;手动校准中图分类号:T P352 文献标识码:B 文章编号:1004373X(2006)0412403Introduction and Calibration of the 16b Sigma Delta A/D Converter AD7705CH EN Y ong gang,WU Bonong(Co llege o f Electrom echanical Eng i neeri ng,No rt h China Universi t y o f T echnolog y,Beij ing,100041,China)Abstract :A D7705is a high per for mance and low pow er 16b Sig ma Delta A /D convert er which is intr oduced by the A D Company.It employ s a P rog rammable Ga in A mplif ier (PG A )and accepts low lev el signals directly fr om a t ransducer.T his paper int roduces its feat ur es and structur e.T he bit desig nations o f the co mmon on chip r egister s ar e outlined as well as the co nsiderations in pr og ramming.Self calibration and sy st em calibr ation on the AD7705remov es offset and g ains er ro rs fr om the dev ice.F iled calibration and manual ca-l ibr atio n ar e discussed ex haustively to deal w ith the uncert ain conditio ns,and an ex ample which can t be found in t he datasheet is presen -ted.Keywords :A D7705;A /D co nv ersion;calibration;field calibration;manua l calibr atio n收稿日期:200509161 AD7705简介AD7705是A D 公司推出的16位 (电荷平衡式)A/D 转换器。

输入24v输出正负15v的芯片非隔离

输入24v输出正负15v的芯片非隔离

输入24v输出正负15v的芯片非隔离下载提示:该文档是本店铺精心编制而成的,希望大家下载后,能够帮助大家解决实际问题。

文档下载后可定制修改,请根据实际需要进行调整和使用,谢谢!本店铺为大家提供各种类型的实用资料,如教育随笔、日记赏析、句子摘抄、古诗大全、经典美文、话题作文、工作总结、词语解析、文案摘录、其他资料等等,想了解不同资料格式和写法,敬请关注!Download tips: This document is carefully compiled by this editor. I hope that after you download it, it can help you solve practical problems. The document can be customized and modified after downloading, please adjust and use it according to actual needs, thank you! In addition, this shop provides you with various types of practical materials, such as educational essays, diary appreciation, sentence excerpts, ancient poems, classic articles, topic composition, work summary, word parsing, copy excerpts, other materials and so on, want to know different data formats and writing methods, please pay attention!题目:输入24V输出正负15V的非隔离型芯片在电子电路设计中,经常会遇到需要将高电压转换为对称的正负电压的需求。

AD7705中文资料_数据手册_参数

AD7705中文资料_数据手册_参数
片上寄存器AD7705/AD7706包含8个片上寄存器,可以通过部件的串口访问。第一个是通信寄存器,它控制信道选择,决定下一个操作 是读操作还是写操作,还决定下一个读操作或写操作访问哪个寄存器。对部件的所有通信都必须从通信寄存器的写操作开始。开机或 复位后,设备期望对其通信寄存器进行写操作。写入到该寄存器的数据决定部件的下一个操作是读操作还是写操作,还决定发生该读 操作或写操作的寄存器。因此,对部分上任何其他寄存器的写访问都是从对通信寄存器的写操作开始,然后是对所选寄存器的写操 作。从部分上的任何其他寄存器(包括通信寄存器本身和输出数据寄存器)开始的读操作从对通信寄存器的写操作开始,然后从所选寄 存器开始的读操作。通信寄存器还控制备用模式和通道的选择,并且还可以通过从通信寄存器读取数据来获得drdy状态。第二寄存器 是aSetup寄存器,它决定校准模式、增益设置、双极/单极操作和缓冲模式。第三个寄存器标记为时钟寄存器,并包含筛选器选择位和 时钟控制位。第四个寄存器是数据寄存器,从该寄存器可以访问部件的输出数据。最后的寄存器是存储通道校准数据的校准寄存器。 下面几节将更详细地讨论寄存器。通信寄存器(RS2, RS1, RS0 = 0,0,0)通信寄存器是一个8位寄存器,可以从中读取数据,也可以从中写 入数据。对部件的所有通信都必须从通信寄存器的写操作开始。写入通信登记程序的数据决定下一个操作是读操作还是写操作,以及 该操作发生在哪个寄存器。对所选寄存器的后续读或写操作完成后,接口返回到它期望对通信寄存器执行写操作的位置。这是接口的 默认状态,在启动或设置之后,AD7705/AD7706处于此默认状态,等待通信寄存器的写操作。在接口序列丢失的情况下,如果使用 DIN high执行足够长时间的写操作(至少包含32个串行时钟周期),AD7705将返回到这个默认状态。表V概述了通信寄存器的位名称。表 V.通信寄存器0/DRDY (0)RS2 (0)RS1 (0)RS0 (0)R/W (0)STBY (0)CH0 (0)如果将“1”写入该位,则该部分将不计时到寄存器中的后续 位。它将保持在这个位的位置,直到一个“0”被写到这个位。一旦将“0”写入该位,接下来的7位将加载到通信寄存器。对于读取操 作,此位提供来自部分的drdy标志的状态。该位的状态与drdy输出引脚相同。RS2-RS0Register选择位。这三个位选择下一个读或写操作 发生在8个片上寄存器中的哪一个,如表VI所示,同时选择寄存器大小。当对受连接寄存器的读或写操作完成时,该部分返回到它正 在等待对CommunicationsRegister的写操作的位置。它不处于将继续访问寄存器的状态。

7705芯片

7705芯片

利用ADD7705采样数据,与51单片机通讯,硬件连接是:P3.1提供数据脉冲,与AD7705的SCLK管脚连接,P3.0与DOUT,DIN相连,并接上拉电阻,利用51串口方式1工作,程序如下:#include<stc89c58.h>#include<intrins.h>sbit AD7705_DATA=P3^0; // AD7705 input & output datasbit AD7705_CLK=P3^1; // AD7705 CLKsbit AD7705_DRDY=P2^7; // AD7705 data readysbit DIS= P4^1;unsigned int data_out;unsigned char rearrange(unsigned char a){unsigned char i,b;b=a&0x01;for(i=1; i<8; i++){b=b<<1;a=a>>1;b=b+(a&0x01);}return(b);}/*******************************************************/void Delayms(unsigned char ms)// relay ms{ unsigned char i;while(ms--){for(i=0; i<124; i++);}}/****************************************************************/void WriteToReg_ADC(unsigned char a){SBUF=a;while(!TI);TI=0;}/*************************************************************/void AD7705_Init(){WriteToReg_ADC(0x04); //write 0x20 to communication register to choose channel 0//and clock register for the next one to writeWriteToReg_ADC(0x20); //0x04 to CLR,2.4576MHz,50Hz.WriteToReg_ADC(0x08); //write 0x10 to communication register to choose channel 0//and setup register for the next one to writeWriteToReg_ADC(0x62); //0x44,1, buffer off, FSYNC=0, and self-calibration}/*************************************************************/unsigned int ReadWord(){unsigned char high8,low8;unsigned int out;while(AD7705_DRDY);SCON=0x10;while(!RI);high8=SBUF;RI=0;while(!RI);low8=SBUF;REN=0;out=rearrange(high8);out=out<<8;out=out+rearrange(low8);return(out);}main(){AD7705_Init();while(1){DIS=0;Delayms(80);DIS=1;Delayms(80);WriteToReg_ADC(0x1c);data_out=ReadWord();}}问题是,AD7705好象没有工作,管脚DRDY一直处于高电平,希望高手指点先谢谢了!问题补充:串口方式是采用方式0,是我打错了,这个程序是最先的现在改为AD7705的复位引脚和片选引脚都用I/O口控制,采用模拟时钟,不过结果还是那样,DRDY没有低电平,AD7705似乎没有工作:我来帮他解答满意回答检举| 2008-11-14 19:171.51串口方式1有停止位,每次发送一个字节,将产生至少九个时钟脉冲。

7705的使用方法

7705的使用方法

/*驱动IC:TM7705MCU:STC12C5620AD晶振11.0592MHz功能:读写IC寄存器程序,仅供参考*/#include "reg51.h"#include "intrins.h"sbit SCLK = P2^7;sbit DIN = P2^6;//对应TM7705的DIN sbit DOUT = P2^5;//对应TM7705的DOUT sbit DRDY = P2^4;void TM7705_write(unsigned char dd) {unsigned char i;SCLK=1;for(i=8;i>0;i--){SCLK=0;_nop_();if(dd&0x80)DIN=1;elseDIN=0;_nop_();SCLK=1;_nop_();dd<<=1;}DIN=1;SCLK=1;}unsigned char TM7705_read(void){unsigned char dd=0,i;SCLK=1;for(i=0;i<8;i++){SCLK=0;_nop_();dd=dd<<1;if(DOUT)dd=dd+1;SCLK=1;_nop_();}SCLK=1;return dd;}void main(){unsigned char i,temp1,temp2;unsigned char gain,freq;unsigned char num;DRDY=1;//设置DRDY为输入DOUT=1;//设置DOUT为输入//TM7705初始化DIN=1;for(i=0;i<40;i++)//DIN口高电平持续至少32个时钟后芯片复位{SCLK=0;_nop_();SCLK=1;_nop_();}//设置TM7705TM7705_write(0x22);//写通信寄存器,选择下一步写时钟寄存器TM7705_write(0x04|freq);//选择输出更新率分别为50(0x00),60(0x01),250(0x02),50 TM7705_write(0x12);//写通信寄存器,选择下一步写设置寄存器TM7705_write(0x42|(gain<<3)); //双极性,自校准//增益1(0x00),2(0x08),4(0x10),8(0x18),16(0x20), /*计数值500,待数据稳定*/num=0xff;while(num--){while(DRDY);TM7705_write(0x3A); //写通信寄存器,选择下一步读通道0temp1 = TM7705_read();//读数据16位temp2 = TM7705_read();while(!DRDY);}/*读取数据*/num=0;while(1){while(DRDY);TM7705_write(0x3A); //写通信寄存器,选择下一步读通道0 temp1 = TM7705_read();//读数据16位temp2 = TM7705_read();//add you codewhile(!DRDY);}}。

TL7705 芯片手册

TL7705 芯片手册

PACKAGING INFORMATIONOrderable Device Status(1)PackageType PackageDrawingPins PackageQtyEco Plan(2)Lead/Ball Finish MSL Peak Temp(3)5962-88685012A OBSOLETE LCCC FK20TBD Call TI Call TI TL7702ACD ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDG4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACDRG4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702ACP ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7702ACPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7702AID ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDG4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIDRG4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7702AIP ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7702AIPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg Type TL7702AMFKB OBSOLETE LCCC FK20TBD Call TI Call TITL7702AMJG OBSOLETE CDIP JG8TBD Call TI Call TITL7702AMJGB OBSOLETE CDIP JG8TBD Call TI Call TITL7705ACD ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDG4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACDRG4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACP ACTIVE PDIP P850Pb-Free CU NIPDAU N/A for Pkg TypeOrderable Device Status(1)PackageType PackageDrawingPins PackageQtyEco Plan(2)Lead/Ball Finish MSL Peak Temp(3)(RoHS)TL7705ACPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7705ACPSLE OBSOLETE SO PS8TBD Call TI Call TITL7705ACPSR ACTIVE SO PS82000Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705ACPSRE4ACTIVE SO PS82000Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AID ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDG4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIDRG4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7705AIP ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7705AIPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg Type TL7705AMFKB OBSOLETE LCCC FK20TBD Call TI Call TITL7705AMJG OBSOLETE CDIP JG8TBD Call TI Call TITL7705AMJGB OBSOLETE CDIP JG8TBD Call TI Call TITL7709ACD ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7709ACDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7709ACDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7709ACDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7709ACP ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg TypeTL7709ACPE4ACTIVE PDIP P850Pb-Free(RoHS)CU NIPDAU N/A for Pkg Type TL7709AID OBSOLETE SOIC D8TBD Call TI Call TITL7709AIP OBSOLETE PDIP P8TBD Call TI Call TITL7712ACD ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7712ACDE4ACTIVE SOIC D875Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7712ACDR ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIMTL7712ACDRE4ACTIVE SOIC D82500Green(RoHS&no Sb/Br)CU NIPDAU Level-1-260C-UNLIM TL7712ACP ACTIVE PDIP P850Pb-Free CU NIPDAU N/A for Pkg TypeOrderable Device Status (1)PackageTypePackage Drawing Pins Package Qty Eco Plan (2)Lead/Ball Finish MSL Peak Temp (3)(RoHS)TL7712ACPE4ACTIVE PDIPP 850Pb-Free (RoHS)CU NIPDAU N /A for Pkg Type TL7712AID OBSOLETE SOICD 8TBD Call TI Call TI TL7712AIP OBSOLETE PDIPP 8TBD Call TI Call TI TL7715ACD ACTIVE SOICD 875Green (RoHS &no Sb/Br)CU NIPDAU Level-1-260C-UNLIM TL7715ACDE4ACTIVE SOICD 875Green (RoHS &no Sb/Br)CU NIPDAU Level-1-260C-UNLIM TL7715ACP ACTIVE PDIPP 850Pb-Free (RoHS)CU NIPDAU N /A for Pkg Type TL7715ACPE4ACTIVE PDIPP 850Pb-Free (RoHS)CU NIPDAU N /A for Pkg Type TL7715AID OBSOLETE SOICD 8TBD Call TI Call TI TL7715AIPOBSOLETE PDIP P 8TBD Call TI Call TI (1)The marketing status values are defined as follows:ACTIVE:Product device recommended for new designs.LIFEBUY:TI has announced that the device will be discontinued,and a lifetime-buy period is in effect.NRND:Not recommended for new designs.Device is in production to support existing customers,but TI does not recommend using this part in a new design.PREVIEW:Device has been announced but is not in production.Samples may or may not be available.OBSOLETE:TI has discontinued the production of the device.(2)Eco Plan -The planned eco-friendly classification:Pb-Free (RoHS),Pb-Free (RoHS Exempt),or Green (RoHS &no Sb/Br)-please check /productcontent for the latest availability information and additional product content details.TBD:The Pb-Free/Green conversion plan has not been defined.Pb-Free (RoHS):TI's terms "Lead-Free"or "Pb-Free"mean semiconductor products that are compatible with the current RoHS requirements for all 6substances,including the requirement that lead not exceed 0.1%by weight in homogeneous materials.Where designed to be soldered at high temperatures,TI Pb-Free products are suitable for use in specified lead-free processes.Pb-Free (RoHS Exempt):This component has a RoHS exemption for either 1)lead-based flip-chip solderbumps used between the die and package,or 2)lead-based die adhesive used between the die and leadframe.The component is otherwise considered Pb-Free (RoHS compatible)as defined above.Green (RoHS &no Sb/Br):TI defines "Green"to mean Pb-Free (RoHS compatible),and free of Bromine (Br)and Antimony (Sb)based flame retardants (Br or Sb do not exceed 0.1%by weight in homogeneous material)(3)MSL,Peak Temp.--The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications,and peak solder temperature.Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided.TI bases its knowledge and belief on information provided by third parties,and makes no representation or warranty as to the accuracy of such information.Efforts are underway to better integrate information from third parties.TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.TI and TI suppliers consider certain information to be proprietary,and thus CAS numbers and other limited information may not be available for release.In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s)at issue in this document sold by TI to Customer on an annual basis.PACKAGE OPTION ADDENDUM 31-Oct-2006Addendum-Page 3IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. T esting and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed.TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. T o minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards.TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation.Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions:Products ApplicationsAmplifiers Audio /audioData Converters Automotive /automotiveDSP Broadband /broadbandInterface Digital Control /digitalcontrolLogic Military /militaryPower Mgmt Optical Networking /opticalnetwork Microcontrollers Security /securityLow Power Wireless /lpw Telephony /telephonyVideo & Imaging /videoWireless /wirelessMailing Address:Texas InstrumentsPost Office Box 655303 Dallas, Texas 75265Copyright 2006, Texas Instruments Incorporated。

AD7705_最好的中文资料

AD7705_最好的中文资料
—— ——
CS
择,或在与 AD7705/7706 通信时,CS可用作帧同步信号 复位输入。低电平有效的输入,将器件的控制逻辑、接口逻辑、校准系 5 RESET 数、数字滤波器和模拟调制器复位至上电状态 对于 AD7705,差分模拟输入通道 2 的正输入端。对于 AD7706,模拟输入 6 AIN2(+)[AIN1] 通道 1 的输入端 对于 AD7705,差分模拟输入通道 1 的正输入端;对于 AD7706,模拟输入 7 AIN1(+)[AIN2] 通道 2 的输入端 对于 AD7705,差分模拟输入通道 1 的负输入端;对于 AD7706,COMMON 输 8 AIN1(-)[COMMON] 入端,模拟通道 1、2、3 的输入以此输入端为基准 基准输入端。AD7705/7706 差分基准输入的正输入端。基准输入是差分 9 REFIN(+) 的,并规定 REFIN(+)必须大于 REFIN(-)。REFIN(+)可以取 VDD 和 GND 之 间的任何值 基准输入端。AD7705/7706 差分基准输入的负输入端。REFIN(-)可以取 10 REFIN(-) VDD 和 GND 之间的任何值,且满足 REFIN(+)大于 REFIN(-) 对于 AD7705,差分模拟输入通道 2 的负输入端。对于 AD7706,模拟输入 11 AIN2(-)[AIN3] 通道 3 输入端 逻辑输出。这个输出端上的逻辑低电平表示可从 AD7705/7706 的数据寄存 器获取新的输出字。完成对一个完全的输出字的读操作后, DRDY引脚立即 回到高电平。如果在两次输出更新之间,不发生数据读出, DRDY将在下一 12
———— ————
————
13
DOUT
14 15 16

常用的AD芯片

常用的AD芯片

常用的A/D芯片1. AD公司AD/DA器件AD公司生产的各种模数转换器(ADC)和数模转换器(DAC)(统称数据转换器)一直保持市场领导地位,包括高速、高精度数据转换器和目前流行的微转换器系统(MicroConvertersTM )。

1.1带信号调理、1mW功耗、双通道16位AD转换器:AD7705AD7705是AD公司出品的适用于低频测量仪器的AD转换器。

它能将从传感器接收到的很弱的输入信号直接转换成串行数字信号输出,而无需外部仪表放大器。

采用Σ-Δ的ADC,实现16位无误码的良好性能,片内可编程放大器可设置输入信号增益。

通过片内控制寄存器调整内部数字滤波器的关闭时间和更新速率,可设置数字滤波器的第一个凹口。

在+3V电源和1MHz主时钟时, AD7705功耗仅是1mW。

AD7705是基于微控制器(MCU)、数字信号处理器(DSP)系统的理想电路,能够进一步节省成本、缩小体积、减小系统的复杂性。

应用于微处理器(MCU)、数字信号处理(DSP)系统,手持式仪器,分布式数据采集系统。

1.2 3V/5V CMOS信号调节AD转换器:AD7714AD7714是一个完整的用于低频测量应用场合的模拟前端,用于直接从传感器接收小信号并输出串行数字量。

它使用Σ-Δ转换技术实现高达24位精度的代码而不会丢失。

输入信号加至位于模拟调制器前端的专用可编程增益放大器。

调制器的输出经片内数字滤波器进行处理。

数字滤波器的第一次陷波通过片内控制寄存器来编程,此寄存器可以调节滤波的截止时间和建立时间。

AD7714有3个差分模拟输入(也可以是5个伪差分模拟输入)和一个差分基准输入。

单电源工作(+3V或+5V)。

因此,AD7714能够为含有多达5个通道的系统进行所有的信号调节和转换。

AD7714很适合于灵敏的基于微控制器或DSP的系统,它的串行接口可进行3线操作,通过串行端口可用软件设置增益、信号极性和通道选择。

AD7714具有自校准、系统和背景校准选择,也允许用户读写片内校准寄存器。

常用的AD芯片

常用的AD芯片

常用的A/D芯片1、 AD公司AD/DA器件AD公司生产的各种模数转换器(ADC)与数模转换器(DAC)(统称数据转换器)一直保持市场领导地位,包括高速、高精度数据转换器与目前流行的微转换器系统(MicroConvertersTM )。

1、1带信号调理、1mW功耗、双通道16位AD转换器:AD7705AD7705就是AD公司出品的适用于低频测量仪器的AD转换器。

它能将从传感器接收到的很弱的输入信号直接转换成串行数字信号输出,而无需外部仪表放大器。

采用Σ-Δ的ADC,实现16位无误码的良好性能,片内可编程放大器可设置输入信号增益。

通过片内控制寄存器调整内部数字滤波器的关闭时间与更新速率,可设置数字滤波器的第一个凹口。

在+3V电源与1MHz主时钟时, AD7705功耗仅就是1mW。

AD7705就是基于微控制器(MCU)、数字信号处理器(DSP)系统的理想电路,能够进一步节省成本、缩小体积、减小系统的复杂性。

应用于微处理器(MCU)、数字信号处理(DSP)系统,手持式仪器,分布式数据采集系统。

1、2 3V/5V CMOS信号调节AD转换器:AD7714AD7714就是一个完整的用于低频测量应用场合的模拟前端,用于直接从传感器接收小信号并输出串行数字量。

它使用Σ-Δ转换技术实现高达24位精度的代码而不会丢失。

输入信号加至位于模拟调制器前端的专用可编程增益放大器。

调制器的输出经片内数字滤波器进行处理。

数字滤波器的第一次陷波通过片内控制寄存器来编程,此寄存器可以调节滤波的截止时间与建立时间。

AD7714有3个差分模拟输入(也可以就是5个伪差分模拟输入)与一个差分基准输入。

单电源工作(+3V或+5V)。

因此,AD7714能够为含有多达5个通道的系统进行所有的信号调节与转换。

AD7714很适合于灵敏的基于微控制器或DSP的系统,它的串行接口可进行3线操作,通过串行端口可用软件设置增益、信号极性与通道选择。

AD7714具有自校准、系统与背景校准选择,也允许用户读写片内校准寄存器。

AD7705的操作

AD7705的操作

AD7705的操作
AD7705是由Analog Devices公司推出的一款基于模拟/数字混合技
术的通用称重接口单元,其将模拟信号转换成数字信号,便于数字系统进
行处理,可以将传感器集成到数字系统中,实现多功能的称重系统。

AD7705有两种型号:AD7705-1和AD7705-2,其中,AD7705-1具有单
路输入,4种模拟量输入类型(电阻、电容、电压、电流),可定义的模
式和参考电压,2倍长量程和可编程滤波器,而AD7705-2则具有双路输入,其他参数相同。

采用的控制和数据通信接口包括UART,SPI,I2C和PWM/INTEGER。

一、精度高:以电流输入(TARA补偿)为例,其满量程误差最小可
达0.08%(最大满量程100克),实测偏差不大于0.2%,所以可以用于
仪表和计量定量计量应用。

二、模式多样性:AD7705可定制4种模式,分别是SCALE,
SCALE&HOLD,CONTINUOUS,CONTINUOUS&HOLD,可根据仪器的不同应用来
设置合适的模式,以提高AD7705的灵活性。

三、可编程参数:AD7705可编程参数,包括量程、模式,参考电压,滤波器等参数,可以根据实际应用需要,编程满足应用需求。

四、安全功能:AD7705具有3种安全功能,可以有效保护被测设备
的安全,它们分别是超载保护,超电压保护和超电容保护。

AD7705在起重机控制器中的应用

AD7705在起重机控制器中的应用

河南科技上河南职业技术学院机电系赵玉剑在起重机智能控制器中,限重拉力传感器采用应变式传感器,输出的是比较微弱的模拟信号,抗干扰能力差。

若用传统的电路设计方法,则需在A/D 之前增加一级或多级高精度放大器,这样不仅增加了成本和提高了系统的复杂性,而且还会出现外部低频(如工频)干扰和放大器漂移的情况。

为此,该控制器的A/D 芯片选用AD7705,避免了上述问题的出现,且转换精度也能满足系统的要求。

一、AD7705简介AD7705是AD 公司推出的应用于低频测量的2通道模拟前端。

该器件可以接受直接来自传感器的低电平输入信号,然后产生串行的数字输出。

利用∑-△转换技术实现了16位无丢失代码的性能。

1.AD7705的特点。

2个全差分输入通道,16位无丢失代码,0.003%非线性。

可编程增益为1~128。

三线串行接口SPITM 、QS PITM 、MICROWIRETM 和DS P 兼容。

有对模拟输入缓冲的能力。

2.7~3.3V 或4.75~5.25V 工作电压。

在3V 电压时,最大功耗为1Mw 。

等待电流的最大值为8μA 。

16脚DIP 、S OIC 和TS SOP 封装。

2.AD7705的引脚排列与功能。

AD7705的引脚排列如图1所示,各引脚的功能说明如下。

S CLK :串行时钟,施密特逻辑输入。

MCLK IN :转换器提供主时钟信号。

可以是晶振时钟或外部时钟,其频率范围为500kHz ~5MHz 。

M LK OUT :时钟信号输出。

当用晶振作为芯片的工作时钟时,晶振接在M LK IN 和M LK OUT 之间。

如果采用外部时钟时,则MCLK OUT 将提供一个反向时钟信号。

该时钟的输出可以通过编程来关闭从而节省能耗。

/CS :片选端,低电平有效。

/RES ET :复位输入端。

低电平有效的输入,将器件的控制逻辑、接口逻辑、校准系数、数字滤波器和模拟调制器复位至上电状态。

AIN1(+)、A IN1(-):为第1个差分输入通道的正端与负端。

AD7705_AD7706的原理与应用

AD7705_AD7706的原理与应用

●新特器件应用AD7705/AD7706的原理与应用华南理工大学朱延钊Princi p le and A pp lication of AD7705/AD7706Zhu Y anzhao摘要:AD7705/AD7706是AD 公司新推出的16位Σ-Δ型AD 转换器,它带有增益可编程放大器,可通过软件编程来直接测量传感器输出的各种微小信号。

文中介绍了AD7705/AD7706的特点、结构和使用方法,给出了它与AT 89C51进行接口的应用电路和软件程序清单。

关键词:Σ-ΔA/D ;单片机;增益;校准;AD7705/AD7706分类号:T N79+2文献标识码:B文章编号:1006-6977(2002)06-0059-03AD7705/AD7706是AD 公司新推出的16位Σ-ΔA/D 转换器,可用于测量低频模拟信号。

这种器件带有增益可编程放大器,可通过软件编程来直接测量传感器输出的各种微小信号。

AD7705/AD7706具有分辨率高、动态范围广、自校准等特点,因而非常适合于工业控制、仪表测量等领域。

其中,AD7705具有两个全差分输入通道,而AD7706则具有三个准差分输入通道。

本文主要介绍AD7705的原理及应用,AD7706的应用与AD7705基本相同。

AD7705的主要特点如下:●具有16位无丢失代码;●非线性度为0.003%;●增益可编程,其可调整范围为1~128;●输出数据更新率可编程;●可进行自校准和系统校准;●带有三线串行接口;●采用3V 或5V 工作电压;●功耗低。

1引脚排列和功能AD7705的引脚排列如图1所示。

各引脚的功能说明如下:SC L K:串行接口时钟输入端。

M C L K IN:芯片工作时钟输入。

可以是晶振或外部时钟,其频率范围为500kH z 到5MH z 。

M C L K OUT:时钟信号输出。

当用晶振作为芯片的工作时钟时,晶振必须接在M C L K IN 和M C L KOUT 之间。

AD7705调试注意事项

AD7705调试注意事项

AD7705应用总结:最近用到了AD7705,先将AD7705的应用经验以及注意要点总结如下,这些经验同样适用于AD7799、AD7706等AD公司的拥有校准功能的AD芯片。

1.时序注意要点:数字接口迷失的时候可以通过ADIN输入持续32个脉冲周期(DCLK)以上的高电平将复位AD7705的数字接口,复位之后要等待500us 以上才能访问AD7705芯片,这种复位方式不会影响AD7705内部的任何寄存器,所有的寄存器将保持复位之前的内容,但所有的寄存器在数字接口迷失的状态下内容是不确定的,因此强烈建议在复位之后重新设置AD7705内部所有的寄存器,防止错误。

而芯片管脚RESET的复位将使片内所有的寄存器恢复到上电的默认值。

时钟输入信号DCLK是一种施密特出发信号,能够适应光耦合器的慢速边沿,其他数字输入信号的上升和下降时间不应超过1us。

2.AD7705时钟大于2M时,时钟设置寄存器的CLK位应置1,小于2M时应置0。

DCLK的脉冲宽度要满足最小的脉宽要求。

在时钟DCLK下降之后的低电平期间读取数据ADOUT。

在时钟DCLK的低电平期间设置要写入数据ADIN,然后在DCLK的上升沿写入到7705。

写入数据以及读取数据的时钟DCLK的数目要与(被写入或被读取的寄存器)的位数长度一致,多于或少于(寄存器位长度)的时钟DCLK数目都将导致操作错误。

在两次写操作之间,ADIN应最好保持在高电平:因为任何(读或写)操作都必须从写通信寄存器开始,而且写入通信寄存器的8个位中的第1位必须为0,后续的位才能被写入到通信寄存器。

所以当ADIN为0的时候,万一时钟DCLK受到干扰导致0写入通信寄存器,AD7705会误认为是写通信寄存器的操作开始而等待后续的7位位串,发生这种干扰之后会导致AD7705的数字接口迷失,从而导致内部寄存器的内容也许会变得未知状态。

此外,时钟信号DCLK在两次操作AD7705之间要保持高电平。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

利用ADD7705采样数据,与51单片机通讯,硬件连接是:P3.1提供数据脉冲,与AD7705的SCLK管脚连接,P3.0与DOUT,DIN相连,并接上拉电阻,利用51串口方式1工作,程序如下:
#include<stc89c58.h>
#include<intrins.h>
sbit AD7705_DATA=P3^0; // AD7705 input & output data
sbit AD7705_CLK=P3^1; // AD7705 CLK
sbit AD7705_DRDY=P2^7; // AD7705 data ready
sbit DIS= P4^1;
unsigned int data_out;
unsigned char rearrange(unsigned char a)
{
unsigned char i,b;
b=a&0x01;
for(i=1; i<8; i++)
{
b=b<<1;
a=a>>1;
b=b+(a&0x01);
}
return(b);
}
/*******************************************************/
void Delayms(unsigned char ms)
// relay ms
{ unsigned char i;
while(ms--)
{
for(i=0; i<124; i++);
}
}
/****************************************************************/
void WriteToReg_ADC(unsigned char a)
{
SBUF=a;
while(!TI);
TI=0;
}
/*************************************************************/
void AD7705_Init()
{
WriteToReg_ADC(0x04); //write 0x20 to communication register to choose channel 0
//and clock register for the next one to write
WriteToReg_ADC(0x20); //0x04 to CLR,2.4576MHz,50Hz.
WriteToReg_ADC(0x08); //write 0x10 to communication register to choose channel 0
//and setup register for the next one to write
WriteToReg_ADC(0x62); //0x44,1, buffer off, FSYNC=0, and self-calibration
}
/*************************************************************/
unsigned int ReadWord()
{
unsigned char high8,low8;
unsigned int out;
while(AD7705_DRDY);
SCON=0x10;
while(!RI);
high8=SBUF;
RI=0;
while(!RI);
low8=SBUF;
REN=0;
out=rearrange(high8);
out=out<<8;
out=out+rearrange(low8);
return(out);
}
main()
{
AD7705_Init();
while(1)
{
DIS=0;
Delayms(80);
DIS=1;
Delayms(80);
WriteToReg_ADC(0x1c);
data_out=ReadWord();
}
}
问题是,AD7705好象没有工作,管脚DRDY一直处于高电平,希望高手指点先谢谢了!问题补充:串口方式是采用方式0,是我打错了,这个程序是最先的现在改为AD7705的复位引脚和片选引脚都用I/O口控制,采用模拟时钟,不过结果还是那样,DRDY没有低电平,AD7705似乎没有工作:我来帮他解答
满意回答检举| 2008-11-14 19:171.51串口方式1有停止位,每次发送一个字节,将产生至少九个时钟脉冲。

而AD7705每发送或接收一个字节只需要八个时钟脉冲(多一个就乱了),多发的脉冲将破坏通信的同步,应该用串口方式0吧。

2.强烈建议用一个I/O口线去控制AD7705的RESET脚,每当通信没能同步时,发一个复位脉冲即可实现同步通信。

3.P3.0与DOUT,DIN相连”,如果一切正常的话,这样设计挺好的;但是,一旦通信没能同步,出现AD7705与51单片机同时往数据线上发数据,引起冲突。

可能会损害芯片。

建议DOUT、DIN分开走线(尽管线多了点)。

我是用AVR单片机做的AD7705测试程序,A VR直接有SPI接口。

//ad7705.h
#ifndef _7705_h_
#define _7705_h_
#include"89c51rd2.h"
#include"intrins.h"
#include"delay.h"
sbit sclk = P2^4;
sbit drdy = P2^5;
sbit din = P2^6;
sbit dout = P2^7;
//内部函数
//void Write(unsigned char dat);
//void Writee(unsigned dat); //写入寄存器8位数据
unsigned int Read(void); //从数据寄存器中读出16位数据
void Reset7705(void);
unsigned Read8bit(void); //测试函数从寄存器中读出8位数据
//用户函数
unsigned int Adc7705(void); //返回一次采样值
unsigned int AverAdc7705(void); //数字平均值滤波后的转化值
void Adc7705Init(unsigned char range);
#endif
//ad7705.c
#include"ad7705.h"
void Reset7705(void)
{
unsigned char i;
sclk=1;
for(i=0;i<40;i++) /
unsigned Read8bit(void) //从寄存器中读出8位数据//低电平拉下t5后出数据
{
unsigned rtval=0;
unsigned i;
while(drdy==1);
Write(0x28); //修改此处值可从不同寄存器中读数sclk=1;
for(i=0;i<8;i++)
{
sclk=0;
rtval<<=1;
//if(dout)rtval|=0x01;
rtval+=(0x01&(unsigned)dout);//保证t5
sclk=1; //程序执行完后sclk仍为高电平
}
sclk=1;
din=1;
return rtval;
}
//////////////////////////////////////////////////////
void Adc7705Init(unsigned char range)
{
range<<=3;
Reset7705(); //复位
//写时钟寄存器
Write(0x20); //0x20:00100000 下一个时钟寄存器;写;正常工作模式;通道AN1
Write(0x07); //0x07:00000111 主时钟打开;晶振2M;不分频;500Hz;
//写设置寄存器
Write(0x10); //0x10:00010000 下一个设置寄存器;写;正常工作模式;通道AN1
Write(0x46|range); //0x46:01000110 自校准;单极性;接缓冲,允许处理高阻电源;非复位}
//返回一次采样值
unsigned int Adc7705(void)
{
while(drdy==1);
Write(0x38); //0x38:00111000 下一个16位数据寄存器;读;正常工作模式;通道AN1 return Read();
}
unsigned int AverAdc7705(void)
{
unsigned long rtval=0;
unsigned int i;
for(i=0;i<100;i++)
{
rtval+=(unsigned long)Adc7705();
}
return (unsigned int)(rtval/100);
}。

相关文档
最新文档