ads8568使用问题
软件设置,并口。内部参考电压。REFIO 和 REFN 引脚通过0.47uF电容,REFN接地。配置寄存器为0X8C0083FF。
BUSY引脚监测读取数据,数据不正确。测量REFIO引脚电压为0.
看手册,REFIO引脚应该是内部参考的输出啊。请问哪儿出问题了。
手册上:
REFIO Reference voltage input/output.
The internal reference is enabled by the REFEN/WR pin in hardware mode or by CONFIG bit C15 (REFEN) in software mode. The output value is controlled by the internal DAC (CONFIG bits C[9:0]). Connect to a decoupling capacitor according to the Power Supply section.
The reference feeds a 10-bit string-DAC controlled by bits REFDAC[9:0] in the Configuration (CONFIG) Register. The buffered DAC output is connected to the REFIO pin.
看样子设置是对的. 再查查硬件方面的问题吧
硬件:STBY:1; RESET: 0; RANGE :0; HW/SW : 1; PAR/SER: 0;
REFxP 耦合1uF 电容到 REFxN, REFxN接地。
试了几个采样点,模拟输入0.5V 读取转换输出为0x7fff.
给模拟输入-0.5V 读取转换输出为0X8000,看样子是参考电压为0了啊。 给一个小采样电压就输出满量程。但内部参考电压使能了。
能否读出CONFIG寄存器验证是否正确写入?