Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

TCS3413 View Datasheet(PDF) - austriamicrosystems AG

Part Name
Description
MFG CO.
TCS3413
AMSCO
austriamicrosystems AG AMSCO
'TCS3413' PDF : 56 Pages View PDF
TCS3404, TCS3414 − Application Information: Software
A synchronization input (SYNC IN) is supported to precisely
start/stop sensor integration and synchronize with the light
source. The TIMING Register (01h) provides two
synchronization modes of operation. The first mode of
operation synchronizes the SYNC IN pin for one integration
cycle as specified in the Timing Register (01h). When the rising
edge of the signal is detected, the TCS3404/14 begins
integration. The second mode accumulates a specified number
of SYNC IN pulses (see Timing Register (01h)) in which the
minimum pulse width is 50μs. A pulse counter is used to count
the rising and falling edges of the pulse(s) and precisely
integrate the light level when the SYNC IN pulse is high.
The following pseudo code illustrates a procedure for reading
the TCS3404/14 device using the synchronization feature:
// Synchronize one integration cycle
// See ”Basic Operation” to power−on and start device
// See ”Configuring the Timing Register” to setup environment
Address = 0x39
Command = 0x81
Data = 0x21
//Slave addr − also 0x29 or 0x49
//Set Command bit and address Timing Register
//Sync one 100ms integration period
//External SYNC IN pulse initiates 100ms integration
Sleep (100)
// See ”Basic Operation” to read Data Registers using Byte or Word Protocol
// Synchronize N number of SYNC IN pulses
// See ”Basic Operation” to power−on and start device
// See ”Configuring the Timing Register” to setup environment
Address = 0x39
Command = 0x81
Data = 0x30
//Slave addr − also 0x29 or 0x49
//Set Command bit and address Timing Register
//Integrate one SYNC IN pulse
//External SYNC IN pulse synchronizes integration
// See ”Basic Operation” to read Data Registers using Byte or Word Protocol
Page 40
Document Feedback
ams Datasheet
[v1-00] 2015-Nov-11
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]