SBOSA84 December   2022 OPT4048

PRODUCTION DATA  

  1. Features
  2. Applications
  3. Description
  4. Revision History
  5. Description (continued)
  6. Pin Configuration and Functions
  7. 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
  8. Detailed Description
    1. 8.1 Overview
    2. 8.2 Functional Block Diagram
    3. 8.3 Feature Description
      1. 8.3.1 Spectral Matching to CIE
      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.3.4 Device Functional Modes
        1. 8.3.4.1 Modes of Operation
        2. 8.3.4.2 Interrupt Modes of Operation
        3. 8.3.4.3 Light Range Selection
        4. 8.3.4.4 Selecting Conversion Time
        5. 8.3.4.5 Light and Color Measurement
        6. 8.3.4.6 Light Resolution
        7. 8.3.4.7 Programming
          1. 8.3.4.7.1 I2C Bus Overview
            1. 8.3.4.7.1.1 Serial Bus Address
            2. 8.3.4.7.1.2 Serial Interface
          2. 8.3.4.7.2 Writing and Reading
            1. 8.3.4.7.2.1 High-Speed I2C Mode
            2. 8.3.4.7.2.2 Burst Read Mode
            3. 8.3.4.7.2.3 General-Call Reset Command
            4. 8.3.4.7.2.4 SMBus Alert Response
    4. 8.4 Register Maps
      1. 8.4.1 ALL Register Map
  9. Application and Implementation
    1. 9.1 Application Information
    2. 9.2 Typical Application
      1. 9.2.1 Electrical Interface
      2. 9.2.2 Design Requirements
        1. 9.2.2.1 Optical Interface
      3. 9.2.3 Detailed Design Procedure
        1. 9.2.3.1 Optomechanical Design
      4. 9.2.4 Application Curves
    3. 9.3 Do's and Don'ts
    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
  10. 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
  11. 11Mechanical, Packaging, and Orderable Information

Package Options

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

Modes of Operation

OPT4048 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 below. The OPT4048 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 utilized to bring the device out of this mode.
  • Continuous mode: In this mode OPT4048 measures all 4 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 4 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 OPT4048 can be used in one shot mode of operation with one common theme which is that OPT4048 stays in standby mode and a conversion is triggered by a register write either by a register write to configuration register or hardware interrupt on the INT pin. Every trigger generates one measurement for 4 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.

    One Shot can be triggered using by the following:

    • Hardware trigger: INT pin can be configured to be an input to trigger a measurement using INT_DIR register. Since INT pin is used as input, there is no hardware interrupt to indicate completion of measurement. The controller needs to 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.

    Since the device enters standby after each one shot trigger, measurement interval on the one shot trigger mechanism needs to 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.

Figure 8-1 Timing Diagrams for different Operating modes