English
Language : 

TCS3404 Datasheet, PDF (26/40 Pages) TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS – DIGITAL COLOR SENSORS
TCS3404, TCS3414
DIGITAL COLOR SENSORS
TAOS137A − APRIL 2011
APPLICATION INFORMATION: SOFTWARE
When the INTEG_MODE field value is set to 11b, the device integrates from the rising edge of the first pulse
until the rising or falling edge of a subsequent pulse as specified by the SYNC_EDGE and PARAM field values.
See example timing diagrams below. ADC_EN must be toggled (i.e. from high to low and back to high again)
before the next integration cycle. With this device feature, the SYNC IN input pin can be used to synchronize
the device with an external light source (e.g. LED).
SYNC IN
Integration
Period
INTERRUPT
A
B
NOTES: 1. Rising edge of second SYNC IN pulse required to terminate integration cycle
2. ADC_EN must be toggled (i.e. from high to low and back to high again) before next integration cycle
Figure 24. Integrate Over One Pulse (SYNC_EDGE 1b, INTEG_MODE 11b, PARAM 0b) Rising Edge
1. Enable ADC_EN (= 1)
2. Set SYNC EDGE to 1
3. Set PARAM for SYNC PULSE COUNT of 1
4. Set INTEG_MODE to 11b
5. Input two external SYNC pulses
6. Disable SYNC and read channels
Copyright E 2011, TAOS Inc.
26
r
www.taosinc.com
The LUMENOLOGY r Company
r