datasheetbank_Logo
Технический паспорт Поисковая и бесплатно техническое описание Скачать

TSL2569CS Просмотр технического описания (PDF) - austriamicrosystems AG

Номер в каталоге
Компоненты Описание
Список матч
TSL2569CS
AmsAG
austriamicrosystems AG AmsAG
TSL2569CS Datasheet PDF : 37 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
TSL2568, TSL2569
LIGHT-TO-DIGITAL CONVERTER
TAOS091D − DECEMBER 2008
APPLICATION INFORMATION: SOFTWARE
Configuring the Timing Register
The command, timing, and control registers are initialized to default values on power up. Setting these registers
to the desired values would be part of a normal initialization or setup procedure. In addition, to maximize the
performance of the device under various conditions, the integration time and gain may be changed often during
operation. The following pseudo code illustrates a procedure for setting up the timing register for various
options:
lid // Set up Timing Register
//Low Gain (1x), integration time of 402ms (default value)
Address = 0x39
Command = 0x81
Data = 0x02
a WriteByte(Address, Command, Data)
v //Low Gain (1x), integration time of 101ms
Data = 0x01
ill WriteByte(Address, Command, Data)
//Low Gain (1x), integration time of 13.7ms
t Data = 0x00
WriteByte(Address, Command, Data)
G s //High Gain (16x), integration time of 101ms
Data = 0x11
A t WriteByte(Address, Command, Data)
s n //Read data registers (see Basic Operation example)
e //Perform Manual Integration
m t //Set up for manual integration with Gain of 1x
Data = 0x03
a n //Set manual integration mode – device stops converting
WriteByte(Address, Command, Data)
o //Begin integration period
Data = 0x0B
c WriteByte(Address, Command, Data)
l //Integrate for 50ms
Sleep (50)
//Wait for 50ms
a //Stop integrating
ic Data = 0x03
WriteByte(Address, Command, Data)
Techn //Read data registers (see Basic Operation example)
Copyright E 2008, TAOS Inc.
18
r
www.taosinc.com
The LUMENOLOGY r Company
r

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]