TSL2301
102
×
1 LINEAR OPTICAL SENSOR ARRAY
WITH ANALOG TO DIGITAL CONVERTER
TAOS007 – JULY 2000
APPLICATION INFORMATION
Serial I/O
SCLK
SDIN
Start
B0
B1
B2
B3
B4
B5
B6
B7
Stop
Start
Serial Input Data Format
SCLK
SDOUT
Start
B0
B1
B2
B3
B4
B5
B6
B7
Stop
Start
Serial Output Data Format
Command description
The TSL2301 is a slave device that reacts strictly to commands received from the controller. There are three
types of commands, reset commands, pixel action commands and register commands. These commands
cause the device to perform functions such as: reset, integrate, sample, etc. Each command is described in
more detail in Table 3. All commands are single-byte except for the register write command, which is two bytes.
There is a requirement for delay of 8 clocks after each command to allow for processing of the command.
Table 3. TSL2301 Command Set
COMMAND
IRESET
RESET
STARTInt
SAMPLEInt
READPixel
ABORTPixel
READHold
READHoldNStart
REGWrite
REGRead
Interface Reset
Reset Integration and Read blocks
Start pixel integration
Stop integration and sample results
Dump serial the contents of each sampled integrator
Abort any READPixel operation in progress
Combination of SAMPLEInt and READPixel commands
Combination of SAMPLEInt, READPixel and STARTInt commands
Write a gain, offset or mode register
Read a gain, offset or mode register
DESCRIPTION
Copyright
E
2000, TAOS Inc.
t
www.taosinc.com
6
t