Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

OPT3004DNPR Datasheet(PDF) 12 Page - Texas Instruments

Click here to check the latest version.
Part # OPT3004DNPR
Description  OPT3004 Ambient Light Sensor (ALS) With Excellent Angular IR Rejection
PDF  47 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI - Texas Instruments

OPT3004DNPR Datasheet(HTML) 12 Page - Texas Instruments

Back Button OPT3004DNPR Datasheet HTML 8Page - Texas Instruments OPT3004DNPR Datasheet HTML 9Page - Texas Instruments OPT3004DNPR Datasheet HTML 10Page - Texas Instruments OPT3004DNPR Datasheet HTML 11Page - Texas Instruments OPT3004DNPR Datasheet HTML 12Page - Texas Instruments OPT3004DNPR Datasheet HTML 13Page - Texas Instruments OPT3004DNPR Datasheet HTML 14Page - Texas Instruments OPT3004DNPR Datasheet HTML 15Page - Texas Instruments OPT3004DNPR Datasheet HTML 16Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 47 page
background image
8.3.4 I2C Bus Overview
The OPT3004 offers compatibility with both I2C and SMBus interfaces. The I2C and SMBus protocols are
essentially compatible with one another. The I2C interface is used throughout this document as the primary
example with the SMBus protocol specified only when a difference between the two protocols is discussed.
The OPT3004 is connected to the bus with two pins: an SCL clock input pin and an SDA open-drain bidirectional
data pin. The bus must be controlled by a controller device that generates the serial clock (SCL), controls the
bus access, and generates start and stop conditions. To address a specific device, the controller initiates a start
condition by pulling the data signal line (SDA) from a high logic level to a low logic level while SCL is high. All
targets on the bus shift in the target address byte on the SCL rising edge, with the last bit indicating whether
a read or write operation is intended. During the ninth clock pulse, the target being addressed responds to the
controller by generating an acknowledge bit by pulling SDA low.
Data transfer is then initiated and eight bits of data are sent, followed by an acknowledge bit. During data
transfer, SDA must remain stable while SCL is high. Any change in SDA while SCL is high is interpreted as
a start or stop condition. When all data are transferred, the controller generates a stop condition, indicated by
pulling SDA from low to high while SCL is high. The OPT3004 includes a 28-ms timeout on the I2C interface to
prevent locking up the bus. If the SCL line is held low for this duration of time, the bus state machine is reset.
8.3.4.1 Serial Bus Address
To communicate with the OPT3004, the controller must first initiate an I2C start command. Then, the controller
must address target devices via a target address byte. The target address byte consists of seven address bits
and a direction bit that indicates whether the action is to be a read or write operation.
Four I2C addresses are possible by connecting the ADDR pin to one of four pins: GND, VDD, SDA, or SCL.
Table 8-1 summarizes the possible addresses with the corresponding ADDR pin configuration. The state of the
ADDR pin is sampled on every bus communication and must be driven or connected to the desired level before
any activity on the interface occurs.
Table 8-1. Possible I2C Addresses with Corresponding ADDR Configuration
DEVICE I2C ADDRESS
ADDR PIN
1000100
GND
1000101
VDD
1000110
SDA
1000111
SCL
8.3.4.2 Serial Interface
The OPT3004 operates as a target device on both the I2C bus and SMBus. Connections to the bus are made via
the SCL clock input line and the SDA open-drain I/O line. The OPT3004 supports the transmission protocol for
standard mode (up to 100 kHz), fast mode (up to 400 kHz), and high-speed mode (up to 2.6 MHz). All data bytes
are transmitted most-significant bits first.
The SDA and SCL pins feature integrated spike-suppression filters and Schmitt triggers to minimize the effects
of input spikes and bus noise. See the Electrical Interface section for further details of the I2C bus noise
immunity.
OPT3004
SBOS929A – DECEMBER 2018 – REVISED DECEMBER 2021
www.ti.com
12
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
Product Folder Links: OPT3004



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com