TLV5616(For_MSP430)
代码说明:
1、本程序的前提是CS引脚接地,基准电压设定为1.372V 2、“data=temp*4096/2.745”语句是为了实现将所需输出的模拟值直接转化为编码,减少计算量 3、TLV5616最大输出电压是基准电压的两倍,输出电压最大范围是0~Vdd-0.1V,另外基准电压的输入范围为0~Vdd-1.5V(TLV5616文档中有注明,使用时请注意) (1, the premise of this program the CS pin grounded, the reference voltage is set to 1.372V 2, "data = temp* 4096/2.745" statement is in order to achieve the desired output of the analog values are converted directly to the coding, to reduce the amount of calculation 3, TLV5616 maximum output voltage is twice the reference voltage, the output voltage range is 0 to Vdd-0.1V, another reference voltage input range of 0 to Vdd-1.5V (of the TLV5616 document has stated, use note ))
下载说明:请别用迅雷下载,失败请重下,重下不扣分!