TSL2301
102 × 1 LINEAR OPTICAL SENSOR ARRAY
WITH ANALOGĆTOĆDIGITAL CONVERTER
TAOS007 – JULY 2000
Normal programming sequence
This section describes a typical programming sequence that can be used with the TSL2301 device:
30 clocks with SDIN high
Send(RESET);
Send(RESET);
Send(RESET);
Calibration Cycle
*
*
while(1)
for(i=0;i<=2;i++) {/* for each pixel page */
Write page gain register
Write page offset register
Read page gain register and verify (optional)
Read page offset register and verify (optional)
}
}
Send(STARTInt) ;
DelayIntegrationTime( ); /* wait for appropriate time interval to elapse */
Send(SAMPLEInt);
Send(READPixel);
Copyright E 2000, TAOS Inc.
www.taosinc.com
t
t
9