SBASA67 June   2023 OPT4060

PRODUCTION DATA  

  1.   1
  2. Features
  3. Applications
  4. Description
  5. Revision History
  6. Description (continued)
  7. Pin Configuration and Functions
  8. Specifications
    1. 7.1 Absolute Maximum Ratings
    2. 7.2 ESD Ratings
    3. 7.3 Recommended Operating Conditions
    4. 7.4 Thermal Information
    5. 7.5 Electrical Characteristics
    6. 7.6 Typical Characteristics
  9. Detailed Description
    1. 8.1 Overview
    2. 8.2 Functional Block Diagram
    3. 8.3 Feature Description
      1. 8.3.1 Infrared Light Rejection
      2. 8.3.2 Automatic Full-Scale Range Setting
      3. 8.3.3 Output Register CRC and Counter
        1. 8.3.3.1 Output Sample Counter
        2. 8.3.3.2 Output CRC
        3. 8.3.3.3 Threshold Detection
    4. 8.4 Device Functional Modes
      1. 8.4.1 Modes of Operation
      2. 8.4.2 Interrupt Modes of Operation
      3. 8.4.3 Light Range Selection
      4. 8.4.4 Selecting Conversion Time
      5. 8.4.5 Light and Color Measurement
        1. 8.4.5.1 Determining ADC Codes for Each Channel
        2. 8.4.5.2 Lux and Color Calculations
        3. 8.4.5.3 Threshold Detection Calculations
      6. 8.4.6 Light Resolution
    5. 8.5 Programming
      1. 8.5.1 I2C Bus Overview
        1. 8.5.1.1 Serial Bus Address
        2. 8.5.1.2 Serial Interface
      2. 8.5.2 Writing and Reading
        1. 8.5.2.1 High-Speed I2C Mode
        2. 8.5.2.2 Burst Read Mode
        3. 8.5.2.3 General-Call Reset Command
        4. 8.5.2.4 SMBus Alert Response
    6. 8.6 Register Maps
      1. 8.6.1 Register Map
  10. Application and Implementation
    1. 9.1 Application Information
    2. 9.2 Typical Application
      1. 9.2.1 Electrical Interface
        1. 9.2.1.1 Design Requirements
          1. 9.2.1.1.1 Optical Interface
        2. 9.2.1.2 Detailed Design Procedure
          1. 9.2.1.2.1 Optomechanical Design
        3. 9.2.1.3 Application Curve
    3. 9.3 Best Design Practices
    4. 9.4 Power Supply Recommendations
    5. 9.5 Layout
      1. 9.5.1 Layout Guidelines
      2. 9.5.2 Layout Example
      3. 9.5.3 Soldering and Handling Recommendations
  11. 10Device and Documentation Support
    1. 10.1 Documentation Support
      1. 10.1.1 Related Documentation
    2. 10.2 Receiving Notification of Documentation Updates
    3. 10.3 Support Resources
    4. 10.4 Trademarks
    5. 10.5 Electrostatic Discharge Caution
    6. 10.6 Glossary
  12. 11Mechanical, Packaging, and Orderable Information

Package Options

Mechanical Data (Package|Pins)
Thermal pad, mechanical data (Package|Pins)
Orderable Information

Modes of Operation

The OPT4060 has output registers which are always available to readout to get measurements, the measurements themselves are updated based on the device mode of operation listed as follows. The OPT4060 device has the following modes of operation:

  • Power-down mode: This is power-down or standby mode where the device enters a low power state. There is no active light sensing or conversion in this mode. Device still responds to I2C transactions which can be used to bring the device out of this mode.
  • Continuous mode: In this mode OPT4060 measures all four channels in a round-robin fashion continuously and updates their corresponding output registers. The conversion time register CONVERSION_TIME determines the time between each channel conversion and a hardware interrupt on pin INT is generated for every successful conversion on each channel or all four channels depending on INT_CFG register value. TI recommends to configure the INT pin in output mode using the INT_DIR register. The device active circuits are continuously kept active to minimize the interval between measurements.
  • One shot mode of operation: There are several ways in which the OPT4060 can be used in one shot mode of operation with the common theme which is that the OPT4060 stays in standby mode and a conversion is triggered either by a register write to the configuration register or a hardware interrupt on the INT pin. Every trigger generates one measurement for four channels, effectively taking four times the time set by the CONVERSION_TIME register

    There are two types of one shot modes.

    • Force auto-range one shot mode: Every one shot trigger forces a full reset on auto-ranging control logic and a fresh auto-range detection in initiated ignoring the previous measurements. This is particularly useful in situation where lighting conditions are expected to change a lot and one shot trigger frequency is not very often. There is small penalty on conversion time due for the auto-ranging logic to recover from reset state. The full reset cycle on the auto-ranging control logic takes around 500 μs which needs to be accounted for between measurements when this mode is used.
    • Regular auto-range one shot mode: Auto-range selection logic utilizes the information from the previous measurements to decide on range for the current trigger. This mode is recommended only when the device needs time synchronized measurements with frequent triggers from the controller. In other words, this mode can be used as an alternative to continuous mode the key difference being that the interval between measurements in determined by the one shot triggers.

    Users can trigger one shot mode through the following:

    • Hardware trigger: the INT pin can be configured to be an input to trigger a measurement using the INT_DIR register. The INT pin is used as input, therefore there is no hardware interrupt to indicate completion of measurement. The controller must keep time from the trigger mechanism and read out output registers.
    • Register trigger: An I2C write to the M register triggers a measurement. The register value is reset after a successful measurement. INT pin can be configured to indicate measurement completion to read out output registers using the INT_DIR register.
    TI highly recommends to set the interval between subsequent triggers to account for all the aspects involved in the trigger mechanism like the I2C transaction time, device wake-up time, auto-range time (if used) and 4 times the device conversion time.

    The device enters standby after each one shot trigger, therefore measurement interval on the one shot trigger mechanism must account for additional time TSS as specified in the specification table for the circuits to recover from standby state. However, setting the quick wake-up register QWAKE eliminates the need for this additional TSS at the cost of not powering down the active circuit with device not entering the standby mode between triggers.

GUID-20221214-SS0I-B8DH-ZSRM-SVPHV70TGTBV-low.svgFigure 8-1 Timing Diagrams for Different Operating Modes