欢迎访问ic37.com |
会员登录 免费注册
发布采购

TSL2563 参数 Datasheet PDF下载

TSL2563图片预览
型号: TSL2563
PDF下载: 下载PDF文件 查看货源
内容描述: 低压灯 - 数字转换器 [LOW-VOLTAGE LIGHT-TO-DIGITAL CONVERTER]
分类和应用: 转换器
文件页数/大小: 38 页 / 432 K
品牌: TAOS [ TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS ]
 浏览型号TSL2563的Datasheet PDF文件第14页浏览型号TSL2563的Datasheet PDF文件第15页浏览型号TSL2563的Datasheet PDF文件第16页浏览型号TSL2563的Datasheet PDF文件第17页浏览型号TSL2563的Datasheet PDF文件第19页浏览型号TSL2563的Datasheet PDF文件第20页浏览型号TSL2563的Datasheet PDF文件第21页浏览型号TSL2563的Datasheet PDF文件第22页  
TSL2562, TSL2563  
LOW-VOLTAGE  
LIGHT-TO-DIGITAL CONVERTER  
TAOS066J MAY 2007  
APPLICATION INFORMATION: SOFTWARE  
Basic Operation  
After applying V , the device will initially be in the power-down state. To operate the device, issue a command  
DD  
to access the CONTROL register followed by the data value 03h to power up the device. At this point, both ADC  
channels will begin a conversion at the default integration time of 400 ms. After 400 ms, the conversion results  
will be available in the DATA0 and DATA1 registers. Use the following pseudo code to read the data registers:  
// Read ADC Channels Using Read Word Protocol RECOMMENDED  
Address = 0x39  
//Slave addr – also 0x29 or 0x49  
//Address the Ch0 lower data register and configure for Read Word  
Command = 0xAC  
//Set Command bit and Word bit  
//Reads two bytes from sequential registers 0x0C and 0x0D  
//Results are returned in DataLow and DataHigh variables  
ReadWord (Address, Command, DataLow, DataHigh)  
Channel0 = 256 * DataHigh + DataLow  
//Address the Ch1 lower data register and configure for Read Word  
Command = 0xAE  
//Set bit fields 7 and 5  
//Reads two bytes from sequential registers 0x0E and 0x0F  
//Results are returned in DataLow and DataHigh variables  
ReadWord (Address, Command, DataLow, DataHigh)  
Channel1 = 256 * DataHigh + DataLow  
//Shift DataHigh to upper byte  
// Read ADC Channels Using Read Byte Protocol  
Address = 0x39  
//Slave addr also 0x29 or 0x49  
//Address the Ch0 lower data register  
//Result returned in DataLow  
//Address the Ch0 upper data register  
//Result returned in DataHigh  
Command = 0x8C  
ReadByte (Address, Command, DataLow)  
Command = 0x8D  
ReadByte (Address, Command, DataHigh)  
Channel0 = 256 * DataHigh + DataLow  
//Shift DataHigh to upper byte  
Command = 0x8E  
ReadByte (Address, Command, DataLow)  
Command = 0x8F  
ReadByte (Address, Command, DataHigh)  
Channel1 = 256 * DataHigh + DataLow  
//Address the Ch1 lower data register  
//Result returned in DataLow  
//Address the Ch1 upper data register  
//Result returned in DataHigh  
//Shift DataHigh to upper byte  
Copyright E 2007, TAOS Inc.  
The LUMENOLOGY r Company  
r
r
18  
www.taosinc.com  
 复制成功!