English
Language : 

TCS3404_11 Datasheet, PDF (27/41 Pages) ams AG – 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).
lid SYNC IN
Integration
Period
a INTERRUPT
v A
B
ill NOTES: 1. Rising edge of second SYNC IN pulse required to terminate integration cycle
t 2. ADC_EN must be toggled (i.e. from high to low and back to high again) before next integration cycle
G Figure 24. Integrate Over One Pulse (SYNC_EDGE 1b, INTEG_MODE 11b, PARAM 0b) Rising Edge
s 1. Enable ADC_EN (= 1)
A t 2. Set SYNC EDGE to 1
s n 3. Set PARAM for SYNC PULSE COUNT of 1
e 4. Set INTEG_MODE to 11b
m t 5. Input two external SYNC pulses
Technicaal con 6. Disable SYNC and read channels
Copyright E 2011, TAOS Inc.
26
r
www.taosinc.com
The LUMENOLOGY r Company
r