SNOSC68C April 2012 – September 2015 LM3533
PRODUCTION DATA.
The LM3533 provides the power for two high-voltage LED strings (up to 40 V at 30 mA each) and 5 low-voltage LEDs (up to 6 V at 30 mA each). The two high-voltage LED strings are powered from an integrated boost converter. The five low-voltage LEDs are powered from an integrated 2× charge pump.
The device is programmable over an I2C-compatible interface. Additional features include a pulse width modulation (PWM) input for content adjustable brightness control, an ambient light sensor input (ALS) for ambient light current control, and 4 programmable pattern generators for RGB and indicator blinking functions on the low-voltage LEDs.
Control of the LM3533’s current sinks is not done directly, but through the programming of Control Banks. The current sinks are then assigned to the programmed Control Bank. This allows for a wide variety of current control possibilities where LEDs can be grouped and controlled via specific Control Banks (see Figure 22).
There are 2 high-voltage control banks (A and B). Both high-voltage current sinks can be assigned to either Control Bank A or Control Bank B. Assigning both current sinks to the same control bank allows for better LED current matching. Assigning each current sink to different control banks allows for each current sink to be programmed with a different current. The high-voltage control bank mapping is done via bits [1:0] of the Current Sink Output Configuration Register #1 (address 0x10).
There are 4 low-voltage control banks (C, D, E, and F). Any low-voltage current sink (LVLED1 to LVLED5) can be assigned to any of the low-voltage control banks. Assigning every low-voltage current sink to the same control bank allows for the best matching between LEDs. Assigning each low-voltage current sink to different control banks allows for each current sink to be programmed with different current levels.
The LM3533 contains 4 independently programmable pattern generators for each Control Bank. Each pattern generator can have its own separate pattern: different rise and fall times, delays from turn-on, high and low-current settings, and pattern high and low times.
The LM3533 contains an ambient light sensor interface (ALS). The ALS input is designed to connect to the output of either an analog output or PWM output ambient light sensor. The sensor output (or ambient light information) is digitized and processed by the LM3533. The light information is then compared against the LM3533’s five user-configurable brightness zones. Each brightness zone points to a brightness zone target current. Each group of target currents forms an ALS mapper. The LM3533 has three groups of ALS Mappers where each mapper can be assigned to any of the high or low-voltage control banks (see Figure 26).
The PWM input which can be assigned to any of the high- or low-voltage control banks. When assigned to a control bank, the programmed current in the control bank also becomes a function of the duty cycle at the PWM input.
HWEN is the global hardware enable to the LM3533. HWEN must be pulled high to enable the device. HWEN is a high-impedance input so it cannot be left floating. When HWEN is pulled low the LM3533 is placed in shutdown, and all the registers are reset to their default state.
The LM3533 contains a thermal shutdown protection. In the event the die temperature reaches 140°C, the boost, charge pump and current sinks shut down until the die temperature drops to typically 125°C.
The high-voltage boost converter provides power for the two high-voltage current sinks (HVLED1 and HVLED2). The boost circuit operates using a 4.7-µH to 22-µH inductor and a 1-µF output capacitor. The selectable 500-kHz or 1-MHz switching frequency allows for the use of small external components and provides for high boost-converter efficiency. Both HVLED1 and HVLED2 feature an adaptive current regulation scheme where the feedback point (HVLED1 or HVLED2) is regulated to a minimum of 400 mV. When there are different voltage requirements in both high-voltage LED strings (string mismatch), the LM3533 regulates the feedback point of the highest voltage string to 400 mV and drop the excess voltage of the lower voltage string across the lower strings current sink.
HVLED1 and HVLED2 control the current in the high-voltage LED strings. Each current sink has 5-bit full-scale current programmability and 8-bit brightness control. Either current sink can have its current set through a dedicated brightness register or be controlled via the ambient light sensor interface. Configuration of the high-voltage current sinks is done through the Control A/B Brightness Configuration Register (see Table 8).
Each high-voltage current string can be powered from the LM3533’s boost output (COUT) or from an external source. The Anode Connect Register bits [1:0] determine where the high-voltage current string anodes are connected. When set to 1 (default) the high-voltage current sink inputs are included in the boost feedback loop. This allows the boost converter to adjust its output voltage in order to maintain at least 400 mV at the current sink input.
When powered from alternate sources, bits [1:0] must be set to 0 . This removes the particular current sink from the boost feedback loop. In these configurations the application must ensure that the headroom voltage across the high-voltage current sink is high enough to prevent the current sink from going into dropout (see the Typical Characteristics for data on the high-voltage LED current vs headroom voltage).
Setting the Anode Connect Register bits also determines how the shorted high-voltage LED String Fault flag is triggered (see Fault Flags/Protection Features).
The LM3533’s boost converter can have a 1-MHz or 500-kHz switching frequency. For a 500-kHz switching frequency the inductor must be between 10 µH and 22 µH. For the 1MHz switching frequency the inductor can be between 4.7 µH and 22 µH. The boost frequency is programmed through bit [1] of the OVP/Boost Frequency/PWM Polarity Select register.
The LM3533 features an integrated (2×/1×) charge pump capable of supplying up to 150 mA. The fixed 1-MHz switching frequency allows for use of tiny 1-µF ceramic flying capacitors (CP) and output capacitor (CPOUT). The charge pump can supply the power for the low-voltage LEDs connected to LVLED1 to LVLED5 and can operate in 4 different modes: disabled, automatic gain, 1× gain, or 2× gain (see Figure 23).
With the charge pump disabled, the path from IN to CPOUT is high impedance. Additionally, with the charge pump disabled, the low-voltage current sinks can still be active, thus allowing the low-voltage LEDs to be biased from external sources (see Low-Voltage LED Biasing). Disabling the charge pump also has no influence on the state of the low-voltage current sinks. For instance, if a low-voltage current string is set to have its anode connected to CPOUT, and the charge pump is disabled, the current sink continues to try to sink current.
In Automatic Gain Mode the charge pump gain transition is actively selected to maintain LED current regulation in the CPOUT-connected, low-voltage current sinks. At higher input voltages the charge pump operates in Pass Mode (1× gain) allowing the voltage at CPOUT to track the input voltage. As VIN drops, the voltage on the low-voltage current sink(s) also drops. Once any of the active, CPOUT-connected, low-voltage current sink input voltages reach typically 100 mV, the charge pump automatically switches to a gain of 2× thus preventing dropout (see 2× Gain). Once the charge pump switches over to 2× gain it remains in 2× gain, even if the current sink input voltage goes above the switch over threshold.
In Automatic Gain Mode the LM3533 starts up and automatically detect if there is a flying capacitor (CP) connected from C+ to C−. If there is, Automatic Gain Mode operates normally. If the detection circuitry detects that there is no flying capacitor connected, the LM3533 automatically switches to 1× Gain mode.
In 1× Gain Mode the charge pump passes VIN directly through to CPOUT. There is a resistive drop between IN and CPOUT in this mode (1.1 Ω) which must be accounted for when determining the headroom requirement for the low-voltage current sinks. In forced 1× Gain Mode the charge pump does not switch; thus, the flying capacitor (CP) and output capacitor (CPOUT) can be omitted from the circuit.
In 2× Gain Mode the internal charge pump doubles VIN and post-regulate CPOUT to typically 4.4 V. This allows for biasing LEDs whose forward voltages are greater than the input supply (VIN).
Current sinks LVLED1 to LVLED5 each provide the current for a single LED. These low-voltage sinks are configurable with different blinking patterns via the 4 internal pattern generators. Each low-voltage current sink has 8-bit brightness control and 5-bit full-scale current programmability. Additionally, each low-voltage current sink can have its current set through a dedicated brightness register, the PWM input, the ambient light sensor interface, or a combination of these. Configuration of the low-voltage current sinks is done through the low-voltage Control Banks (C, D, E, or F). Any low-voltage current sink can be mapped to any of the low-voltage control banks.
Each low-voltage LED can be powered from the LM3533’s charge pump output (CPOUT) or from an external source. When powered from CPOUT the anode connect bit (Anode Connect Register bits [6:2]) for that particular low-voltage current sink must be set to '1' (default). This allows for the specific low-voltage current sink to have control over the charge pumps gain control (see Automatic Gain section).
When powered from alternate sources (such as VIN) the anode connect bit for the particular low-voltage current sink must be set to '0'. This removes the particular current sink from the charge pump feedback loop. In these configurations the application must ensure that the headroom voltage across the low-voltage current sink is high enough to prevent the low-voltage current sinks from going into dropout (see Typical Characteristics for data on the low-voltage LED current vs headroom voltage).
The LVLEDx Anode Connect bits also determine how the Shorted low-voltage LED String fault flag is triggered (see Fault Flags/Protection Features).
All control banks can be programmed for either exponential or linear mapping modes (see Figure 24). These modes determine the transfer characteristic of backlight code to LED current.
In Exponential Mapping mode the brightness code to backlight current transfer function is given by Equation 1:
where
In Exponential Mapping mode the current ramp (either up or down) appears to the human eye as a more uniform transition then the linear ramp. This is due to the logarithmic response of the eye.
In Linear Mapping Mode the brightness code to backlight current has a linear relationship and follows Equation 2:
where
The startup and shutdown ramp times are independently programmable in the Start-Up/Shutdown Transition Time Register (see Table 4). There are 8 different start-up and 8 different shutdown times. The start-up times can be programmed independently from the shutdown times, but teach Control bank is not independently programmable. For example, programming a start-up or shutdown time does not affect the already pre-programmed ramp time for each Control Bank.
The start-up ramp time is from when the Control Bank is enabled to when the LED current reaches its initial set point. The shutdown ramp time is from when the Control Bank is disabled to when the LED current reaches 0.
Current ramping from one brightness level to the next is programmed via the Run-Time Transition Time Register (see Table 5). There are 8 different ramp-up times and 8 different ramp-down times. The ramp-up time can be programmed independently from the ramp-down time, but each Control Bank cannot be independently programmed. For example, programming a ramp-up or ramp-down time is a global setting for all Control Banks.
For simple user-adjustable current control, the LM3533 features Brightness Register Current Control. This mode is selected via the Control Bank Brightness Configuration Registers (see Table 8 and Table 10). Once set for Brightness Register Current Control, the LED current is set by writing directly to the appropriate Control Bank Brightness Registers (see Table 28). In this mode the current for a particular Control Bank becomes a function of the full-scale LED current, the 8-bit code in the respective brightness register, and the PWM input duty cycle (if PWM is enabled). The Control Bank Brightness Register contains an 8-bit code which represents the percentage of the full-scale LED current. This percentage of full-scale current is different depending on the selected mapping mode (see LED Current Mapping Modes).
The LM3533 device’s PWM input can be enabled for any of the Control Banks (see Table 7). Once enabled, the LED current becomes a function of the code in the Control Bank Brightness Configuration Register and the PWM input-duty cycle.
The PWM input accepts a logic level voltage and internally filters it to an analog control voltage. This results in a linear response of duty cycle to current, where 100% duty cycle corresponds to the programmed brightness code multiplied by the Full-Scale Current setting.
The usable input frequency range for the PWM input is governed on the low end by the cutoff frequency of the internal low-pass filter (540 Hz, Q = 0.33) and on the high end by the propagation delays through the internal logic. For frequencies below 2 kHz the current ripple begins to become a larger portion of the DC LED current. Additionally, at lower PWM frequencies the boost output voltage ripple increases, causing a non-linear response from the PWM duty cycle to the average LED current due to the response time of the boost. For the best response of current vs. duty cycle, the PWM input frequency must be kept between 2 kHz and 100 kHz.
The PWM Input can be set for active low polarity, where the LED current is a function of the negative duty cycle. This is set via the OVP/Boost Frequency/PWM Polarity Register (see Table 20).
The LM3533 features Ambient Light Sensor (ALS) current control which allows the LED current to be automatically set based upon the received ambient light. To implement ambient light current control the LM3533 uses a 5 brightness zone implementation with 3 sets of Zone Targets.
The LM3533 provides for a 5 brightness zone ambient light sensor interface. This allows for the LED current in any current sink to change based upon which zone the received ambient light falls into. The brightness zones are configured via 4 ALS Zone Boundary High and 4 ALS Zone Boundary Low Registers. Each Zone Boundary register is 8 bits with a full-scale voltage of 2 V. This gives a 2 V/255 = 7.843 mV per bit. Figure 26 shows the mapping from the ALS Brightness Zone to the target backlight current.
For each Zone Boundary there are two Zone Boundary Registers: a Zone Boundary High Register and a Zone Boundary Low Register (see Table 30). The difference between the Zone Boundary High and Zone Boundary Low Registers (for a specific zone) creates the hysteresis that is required to transition between zones. This hysteresis prevents the backlight current from oscillating between zones when the ALS voltage is close to a Zone Boundary Threshold. For Zone-to-Zone transitions the increasing ALS voltage must cross the Zone Boundary High Threshold in order to get into the next higher zone. Conversely, the ALS decreasing voltage must cross below the Zone Boundary Low Threshold in order to get into the next lower zone. Figure 25 describes this Zone Boundary Hysteresis.
For each brightness zone there is a programmable brightness target which is set via the ALS Zone Target Registers (see Table 31, Table 32, and Table 33). There are 3 sets of ALS Zone Target Registers (ALSM1, ALSM2, and ALSM3). The ALSM1 Zone Target Registers are dedicated to only Control Bank 1. ALSM2 and ALSM3 registers can be assigned to any of the Control Banks (B – F) (see Table 8 and Table 10). Each of the Zone Target Registers consists of an 8-bit code which is a percentage of the programmed full-scale current. This percentage of full-scale current is dependent on the selected mapping mode. Figure 26 details the mapping of the ALS Brightness Zone to the ALSM_ Zone Target Registers.
The PWM input can be enabled for any of the 5 Brightness Zones (see Table 7). This makes the brightness target for the PWM enabled zone have its current a function of the PWM input duty cycle, the full-scale current setting for that particular bank, and the brightness target for that particular zone.
Figure 27 shows the functional block diagram of the LM3533 device ALS interface.
The ALS input is designed to connect to an analog or PWM output ambient light sensor. The ALS Configuration Register Bit [1] selects which type of sensor interface is used at the ALS input (see Table 22).
With ALS Cnfiguration Register bit [1] = 0, the ALS input is set for Analog Sensor mode. In this mode the LM3533 offers 128 programmable internal resistors at the ALS input (including a high-impedance option); see Table 21. These resistors are designed to take the output of an analog ambient light sensor and convert it into a voltage. The value of the resistor selected is typically chosen such that the ALS input voltage is 2 V at the maximum ambient light (LUX) value. The sensed voltage at the ALS input is digitized by the LM3533’s internal 8-bit ADC with a full-scale value (0xFF) corresponding to 2 V.
With the ALS Configuration Register bit [1] = 1, the ALS input is set for PWM-Sensor mode. In this mode the LM3533 offers an internal level shifter and low-pass filter (ALS PWM Input mode). With this mode enabled the ALS input accepts logic level PWM signals and converts them into a 0-to-2-V analog voltage which is then filtered. This 0-to-2-V analog representation of the PWM signal is then applied to the internal 8-bit ADC, where 2 V is the full scale (code 0xFF). The internal filter has a corner frequency of 540 Hz and provides 51 dB of attenuation (355×) at a 10-kHz input frequency.
Because the internal ADC for the ambient light sensor utilizes an 8-bit ADC, the attenuation of the ALS input signal needs to be greater than 1/255 (1 LSB = 7.843 mV) in order to realize the full 8-bit range. This forces the frequency for the PWM signal at the ALS input to be around 6 kHz or greater. For slower moving signals an external RC filter may need to be combined with the Analog Sensor Mode (see Application and Implementation).
When the ALS input is set for ALS PWM Input Mode the internal ALS resistor setting is automatically set for high impedance, no matter what the setting in the ALS Select Register.
The LM3533 digitizes the ALS voltage using an internal 8-bit ADC. The ADC is active as long as the ALS enable bit is set. Once set, the ADC begins sampling and converting the voltage at the ALS input at 7.142 ksps. The ADC output can be read back via the ADC register (address 0x37). With the ALS enable bit set, the ADC register is updated every 140 µs. Figure 28 details the timing of the ADC.
Once digitized the output of the ADC is sent into the ALS averager. The averager computes the average of the number of samples taken over the programmed average period. The ALS average times are set via bits [5:3] in the ALS Configuration Register. The output of the ALS average can be read back via the ADC Average register (address 0x38). With the ALS Enable bit set, the ADC Average register is updated after each average period (see Figure 28). After every average period the Averager Output stores the information for which brightness zone the ALS input voltage resides in (see Figure 27).
On initial start-up of the ALS Interface, the Ambient Light Zone defaults to Zone 0. This allows the ALS to start off in a predictable state. The drawback is that Zone 0 is often not representative of the true ALS Brightness Zone, as the ALS input can get to its ambient light representative voltage much faster than the LED current is allowed to change. In order to avoid a multiple average time wait for the backlight current to get to its correct state, the LM3533 switches over to a fast average period (1.1 ms) during the ALS start-up. This quickly brings the ALS Brightness Zone (and the backlight current) to its correct setting (see Figure 29).
There are three ALS algorithms that can be selected independently by each ALS Mapper (ALSM1, ALSM2, and ALSM3) (see Table 23). The ALS algorithms are: direct, up only, and down delay.
For each algorithm, the ALS follows these basic rules:
In direct ALS control the LM3533 ALS Interface can force the backlight current to either a higher zone target or a lower zone target using the rules described in ALS Rules. In the example of Figure 30, the plot shows the ALS voltage, the current average zone which is the zone determined by averaging the ALS voltage in the current average period, the Averager Output which is the zone determined from the previous full average period, and the target backlight current that is controlled by the ALS Interface. The following steps detail the Direct ALS algorithm:
The ALS Up-Only Control algorithm is similar to Direct ALS Control except the ALS Interface can only program the backlight current to a higher zone target. Referring to Figure 31:
The Down-Delay algorithm uses all the same rules from ALS Rules, except it provides for adding additional average period delays required for decreasing transitions of the Averager Output, before the LED current is programmed to a lower zone target current. The additional average period delays are programmed via the ALS Down Delay register. The register provides 32 settings for increasing the down delay from 3 extra (code 00000) up to 34 extra (code 11111). For example, if the down delay algorithm is enabled, and the ALS Down Delay register was programmed with 0x00 (3 extra delays), then the Averager Output would need to see 6 consecutive changes in decreasing Zones (or 6 consecutive average periods that changed and remained lower), before the backlight current was programmed to the lower zones target current. Referring to Figure 32, assume that Down Delay is enabled, and the ALS Down Delay register is programmed with 0x02 (5 extra delays, or 8 average period total delays for downward changes in the backlight target current):
The LM3533 contains 4 programmable pattern generators (one for each low-voltage control bank). Each pattern generator has the ability to drive a unique programmable pattern. Each pattern generator has its own set of registers available for pattern programming. The programmable patterns are : delay time, rise time, fall time, high period, low period, high current and low current (see Figure 33).
The Delay time (tDELAY) is the delay from when the pattern is enabled to when the LED current begins ramping up in the control bank's assigned current source(s). The pattern starts when bit [3] of the respective Control Bank Brightness Configuration Register is written high. There is one tDELAY register for each pattern generator (4 total). The selectable times are programmed with the lower 6 bits of the tDELAY registers. The times are split into 2 groups where codes 0x00 to 0x3C are short durations from 16.384 ms (code 0x00) up to 999.424 ms (code 0x3C) or 16.384 ms/bit. The higher codes (0x3D to 0x7F) select tDELAY from 1130.496 ms up to 9781.248 ms, or 131.072 ms/bit (see Table 35).
The LED current rise time (tRISE) is the time the LED current takes to move from the low-current brightness level (ILOW) to the high-current brightness level (IHIGH). The rise time of the LED current (tRISE) is set via the Pattern Generator Rise Time Registers. Each Pattern Generator has its own rise-time register. There are 8 available rise-time settings (see Table 42).
The LED current fall time (tFALL) is the time the LED current takes to move from the high-current brightness level (IHIGH) to the low-current brightness level (ILOW). The fall time of the LED current (tFALL) is set via the Pattern Generator Fall Time Registers. Each Pattern Generator has its own fall-time register. There are 8 available fall-time settings (see Table 43).
The LED current high period (tHIGH) is the duration that the LED pattern spends at the high LED current set point (tHIGH). The tHIGH times are programmed via the Pattern Generator tHIGH Registers. The programmable times are broken into 2 groups. The first set (from code 0x00 to 0x3C) increases the tHIGH time in steps of 16.384 ms. The second set (from code 0x3D to 0x7F) increases the tHIGH time in steps of 131.072 ms (see Table 39).
The LED current low period (tLOW) is the duration that the LED current spends at the low LED current set point (ILOW). The tLOW times are programmed via one of the Pattern Generator tLOW Registers. There are 256 tLOW settings and are broken into 3 groups of linearly increasing times. The first set (from code 0x00 to 0x3C) increases the tLOW time in steps of 16.384ms. The second set (from code 0x3D to 0x7F) increases the tLOW time in steps of 131.072 ms. The third set (from code 0x80 to 0xFF) increases the tLOW time in steps of 524.288 ms (see Table 37).
The LED current low brightness level (ILOW) is the LED current set point that the pattern rests at during the tLOW period. This level is set via the Pattern Generator Low Level Brightness Register(s). The brightness level has 8 bits of programmability. ILOW is a function of the Control Banks full-scale Current setting, the code in the Pattern Generator Low-Level Brightness Register, the Mapping Mode selected, and the PWM input duty cycle (if PWM is enabled).
For exponential mapping ILOW is:
For linear mapping ILOW is:
BREGL_X is the Pattern Generator Low-Level Brightness Register setting for the specific Control Bank (see Table 40).
The LED current high brightness level (IHIGH) is the LED current set point that the pattern rests at during the tHIGH period. This high-current level is set via the Control Banks Brightness Register (BREGCH to BREGFH). The brightness level has 8 bits of programmability. IHIGH is a function of the Control Banks Full-Scale Current setting, the code in the Control Banks Brightness Register, the Mapping Mode selected, and the PWM input duty cycle (if PWM is enabled).
For exponential mapping IHIGH is:
For linear mapping IHIGH is:
BREGH_X is the Control Banks Brightness Register setting for the specific Control Bank (see Table 28).
The current levels (IHIGH and ILOW) of the programmable pattern can also be influenced by the ALS input. All the same ALS algorithms apply to the pattern generator current levels (Direct, Up Only, and Down Delay). The difference, however, for the ALS Controlled Pattern Current is that the pattern current is not changed to zone-defined brightness targets, but is changed by a scaled factor of the existing IHIGH and ILOW levels. These scaled factors are programmable in the ALS Pattern Scaler Registers (see Table 17, Table 18, and Table 19). Each defined brightness zone has a 4-bit (16-level) scale factor, which takes the programmed pattern current code and multiplies it by the programmed scale factor. This produce a new IHIGH and ILOW current level ranging from 1/16 × BREGH and 1/16 × BREGL up to 16/16 × BREGH and 16/16 × BREGL for each ALS zone (see Figure 34). There is only one set of scale factors for all the pattern generators.
For low-voltage control banks that do not have their pattern generator enabled, ALS current control is done via the ALS Mappers. Once a pattern generator is enabled, that particular Control Bank then uses the pattern scalers for ALS Current Control.
When INT Mode is enabled (ALS Zone Information Register Bit [0] = 1), INT pin is configured as an interrupt output. INT is an open-drain output with an active pulldown of typically 66 Ω. In INT Mode the INT output pulls low if the ALS interface is enabled, and the ALS input has changed zones. Reading back the ALS Zone Information while in this mode clears the INT output and reset it to its open-drain state.
The LM3533 contains both an LED open and LED short fault detection. These fault detections are designed to be used in production level testing and not normal operation. For the fault flags to operate, they must be enabled via the LED Fault Enable Register (see Table 47).
An open LED string is detected when the voltage at the input to any active high-voltage current sink has fallen below 200 mV, and the boost output voltage has hit the OVP threshold. This test assumes that the HVLED string that is being detected for an open is connected to the LM3533 boost output (COUT+) (see Table 13). For an HVLED string not connected to the LM3533 boost output voltage, but connected to another voltage source, the boost output will not trigger the OVP flag. In this case an open LED string is not detected.
The procedure for detecting an open fault in the HVLED current sinks (provided they are connected to the boost output voltage) is:
The LM3533 features an LED short fault flag indicating one or more of the HVLED strings have experienced a short. The method for detecting a shorted HVLED strings is if the current sink is enabled and the string voltage (VOUT – VHVLED1/2) falls to below (VIN – 1 V). This test must be performed on one HVLED string at a time. Performing the test with both current sinks enabled can result in a faulty reading if one of the strings is shorted and the other is not.
The procedure for detecting a short in an HVLED string is:
The LM3533 features an open LED fault flag indicating one or more of the active LVLED strings are open. An open in an LVLED string is flagged if the voltage at the input to any active low-voltage current sink goes below 110 mV.
Because the open LED detect is flagged when any active current sink input falls below 110 mV, certain configurations can result in falsely triggering an open. These include:
The following list describes a test procedure that can be used in detecting an open in the LVLED strings:
The LM3533 features an LED short fault flag indicating when any active low-voltage LED is shorted (anode to cathode). A short in an LVLED is determined when the LED voltage (VCPOUT – VHR) falls below 1 V.
A procedure for determining a short in an LVLED string is:
The overvoltage protection threshold (OVP) on the LM3533 has 4 different programmable options (16 V, 24 V, 32 V, and 40 V). The OVP protects the device and associated circuitry from high voltages in the event the high-voltage LED string becomes open. During normal operation, the LM3533 inductive boost converter boosts the output up so as to maintain at least 400 mV at the active, high-voltage (COUT connected) current sink inputs. When a high-voltage LED string becomes open, the feedback mechanism is broken, and the boost converter overboosts the output. When the output voltage reaches the OVP threshold the boost converter stops switching, thus allowing the output node to discharge. When the output discharges to VOVP – 1 V the boost converter begins switching again. The OVP sense is at the OVP pin, so this pin must be connected directly to the inductive boost output capacitor’s positive terminal.
For high-voltage current sinks that have the Anode Connect Register setting such that the high-voltage current sinks anodes are not connected to COUT (feedback is disabled), the over-voltage sense mechanism is not in place to protect the input to the high-voltage current sink. In this situation the application must ensure that the voltage at HVLED1 or HVLED2 doesn’t exceed 40 V.
The default setting for OVP is set at 16 V. For applications that require higher than 16 V at the boost output, the OVP threshold must be programmed to a higher level after powerup.
The NMOS switch current limit for the LM3533 inductive boost is set at 1 A. When the current through the LM3533 NFET switch hits this overcurrent protection threshold (OCP), the device turns the NFET off and the inductor’s energy is discharged into the output capacitor. Switching is then resumed at the next cycle. The current limit protection circuitry can operate continuously each switching cycle. The result is that during high-output power conditions the device can continuously run in current limit. Under these conditions the LM3533’s inductive boost converter stops regulating the headroom voltage across the high-voltage current sinks. This results in a drop in the LED current.
The LM3533 charge pump's output current limit is set high enough so that the device supports 29.8 mA (maximim full-scale current) in all LVLED current sinks. This would typically be (29.5 mA × 5 = 149 mA. For 1× gain the output current limit is typically 350 mA (VIN = 3.6 V). For 2× gain the current limit is typically 240 mA (output referred), with a typical limit on the input current of 480 mA. The Typical Characteristics detail the charge pump current limit vs VIN at both 1× and 2× gain settings (see Typical Characteristics).
The LM3533 is controlled via an I2C-compatible interface. START and STOP conditions classify the beginning and the end of the I2C session. A START condition is defined as SDA transitioning from HIGH to LOW while SCL is HIGH. A STOP condition is defined as SDA transitioning from LOW to HIGH while SCL is HIGH. The I2C master always generates START and STOP conditions. The I2C bus is considered busy after a START condition and free after a STOP condition. During data transmission the I2C master can generate repeated START conditions. A START and a repeated START condition are equivalent function-wise. The data on SDA must be stable during the HIGH period of the clock signal (SCL). In other words, the state of SDA can only be changed when SCL is LOW.
The chip address for the LM3533 is 0110110 (36h) for the -40 device and 0111000 (38h) for the -40A device. After the START condition, the I2C master sends the 7-bit chip address followed by an eighth read or write bit (R/W). R/W= 0 indicates a WRITE and R/W = 1 indicates a READ. The second byte following the chip address selects the register address to which the data is written. The third byte contains the data for the selected register.
Every byte on the SDA line must be eight bits long, with the most significant bit (MSB) transferred first. Each byte of data must be followed by an acknowledge bit (ACK). The acknowledge related clock pulse (9th clock pulse) is generated by the master. The master releases SDA (HIGH) during the 9th clock pulse. The LM3533 pulls down SDA during the 9th clock pulse signifying an acknowledge. An acknowledge is generated after each byte has been received.
Table 1 lists the available registers within the LM3533.
Name | Address | Power On Reset |
---|---|---|
Current Sink Output Configuration 1 | 0x10 | 0x92 |
Current Sink Output Configuration 2 | 0x11 | 0x0F |
Start Up/Shut Down Ramp Rates | 0x12 | 0x00 |
Run Time Ramp Rates | 0x13 | 0x00 |
Control Bank A PWM Configuration | 0x14 | 0x38 |
Control Bank B PWM Configuration | 0x15 | 0x38 |
Control Bank C PWM Configuration | 0x16 | 0x38 |
Control Bank D PWM Configuration | 0x17 | 0x38 |
Control Bank E PWM Configuration | 0x18 | 0x38 |
Control Bank F PWM Configuration | 0x19 | 0x38 |
Control Bank A/B Brightness Configuration | 0x1A | 0x00 |
Control Bank C Brightness Configuration | 0x1B | 0x00 |
Control Bank D Brightness Configuration | 0x1C | 0x00 |
Control Bank E Brightness Configuration | 0x1D | 0x00 |
Control Bank F Brightness Configuration | 0x1E | 0x00 |
Control Bank A Full-Scale Current | 0x1F | 0x13 |
Control Bank B Full-Scale Current | 0x20 | 0x13 |
Control Bank C Full-Scale Current | 0x21 | 0x13 |
Control Bank D Full-Scale Current | 0x22 | 0x13 |
Control Bank E Full-Scale Current | 0x23 | 0x13 |
Control Bank F Full-Scale Current | 0x24 | 0x13 |
Anode Connect | 0x25 | 0x7F |
Charge Pump Control | 0x26 | 0x00 |
Control Bank Enable | 0x27 | 0x00 |
Pattern Generator Enable/ALS Scaling Control | 0x28 | 0x00 |
ALS Pattern Scaler #1(Zones 5, 4) | 0x29 | 0xFF |
ALS Pattern Scaler #2 (Zones 3, 2) | 0x2A | 0xFF |
ALS Pattern Scaler #3 (Zone 1) | 0x2B | 0xF0 |
OVP/Frequency/PWM Polarity | 0x2C | 0x08 |
R_ALS Select | 0x30 | 0x00 |
ALS Configuration | 0x31 | 0x20 |
ALS Algorithm Select | 0x32 | 0x00 |
ALS Down Delay Control | 0x33 | 0x00 |
Read-Back ALS Zone | 0x34 | 0x00 |
Read-Back Down Delay ALS Zone | 0x35 | 0x00 |
Read-Back Up Only ALS Zone | 0x36 | 0x00 |
Read-Back ADC | 0x37 | 0x00 |
Read-Back Average ADC | 0x38 | 0x00 |
Brightness Register A | 0x40 | 0x00 |
Brightness Register B | 0x41 | 0x00 |
Brightness Register C | 0x42 | 0x00 |
Brightness Register D | 0x43 | 0x00 |
Brightness Register E | 0x44 | 0x00 |
Brightness Register F | 0x45 | 0x00 |
ALS Zone Boundary 0 High | 0x50 | 0x35 |
ALS Zone Boundary 0 Low | 0x51 | 0x33 |
ALS Zone Boundary 1 High | 0x52 | 0x6A |
ALS Zone Boundary 1 Low | 0x53 | 0x66 |
ALS Zone Boundary 2 High | 0x54 | 0xA1 |
ALS Zone Boundary 2 Low | 0x55 | 0x99 |
ALS Zone Boundary 3 High | 0x56 | 0xDC |
ALS Zone Boundary 3 Low | 0x57 | 0xCC |
ALS M1 Zone Target 0 | 0x60 | 0x33 |
ALS M1 Zone Target 1 | 0x61 | 0x66 |
ALS M1 Zone Target 2 | 0x62 | 0x99 |
ALS M1 Zone Target 3 | 0x63 | 0xCC |
ALS M1 Zone Target 4 | 0x64 | 0xFF |
ALS M2 Zone Target 0 | 0x65 | 0x33 |
ALS M2 Zone Target 1 | 0x66 | 0x66 |
ALS M2 Zone Target 2 | 0x67 | 0x99 |
ALS M2 Zone Target 3 | 0x68 | 0xCC |
ALS M2 Zone Target 4 | 0x69 | 0xFF |
ALS M3 Zone Target 0 | 0x6A | 0x33 |
ALS M3 Zone Target 1 | 0x6B | 0x66 |
ALS M3 Zone Target 2 | 0x6C | 0x99 |
ALS M3 Zone Target 3 | 0x6D | 0xCC |
ALS M3 Zone Target 4 | 0x6E | 0xFF |
Pattern Generator 1 Delay | 0x70 | 0x00 |
Pattern Generator 1 Low Time | 0x71 | 0x00 |
Pattern Generator 1 High Time | 0x72 | 0x00 |
Pattern Generator 1 Low Level Brightness | 0x73 | 0x00 |
Pattern Generator 1 Rise Time | 0x74 | 0x00 |
Pattern Generator 1 Fall Time | 0x75 | 0x00 |
Pattern Generator 2 Delay | 0x80 | 0x00 |
Pattern Generator 2 Low Time | 0x81 | 0x00 |
Pattern Generator 2 High Time | 0x82 | 0x00 |
Pattern Generator 2 Low Level Brightness | 0x83 | 0x00 |
Pattern Generator 2 Rise Time | 0x84 | 0x00 |
Pattern Generator 2 Fall Time | 0x85 | 0x00 |
Pattern Generator 3 Delay | 0x90 | 0x00 |
Pattern Generator 3 Low Time | 0x91 | 0x00 |
Pattern Generator 3 High Time | 0x92 | 0x00 |
Pattern Generator 3 Low Level Brightness | 0x93 | 0x00 |
Pattern Generator 3 Rise Time | 0x94 | 0x00 |
Pattern Generator 3 Fall Time | 0x95 | 0x00 |
Pattern Generator 4 Delay | 0xA0 | 0x00 |
Pattern Generator 4 Low Time | 0xA1 | 0x00 |
Pattern Generator 4 High Time | 0xA2 | 0x00 |
Pattern Generator 4 Low Level Brightness | 0xA3 | 0x00 |
Pattern Generator 4 Rise Time | 0xA4 | 0x00 |
Pattern Generator 4 Fall Time | 0xA5 | 0x00 |
LED Open Fault Read Back | 0xB0 | 0x00 |
LED Short Fault Read Back | 0xB1 | 0x00 |
LED Fault Enables | 0xB2 | 0x00 |
Bit [7:6] LVLED3 Configuration |
Bits [5:4] LVLED2 Configuration |
Bits [3:2] LVLED1 Configuration |
Bit [1] HVLED2 Configuration |
Bit 0 HVLED1 Configuration |
---|---|---|---|---|
00 = LVLED3 is controlled by Control Bank C | 00 = LVLED2 is controlled by Control Bank C | 00 = LVLED1 is controlled by Control Bank C (Default) | 0 = HVLED2 is controlled by Control Bank A | 0 = HVLED1 is controlled by Control Bank A (Default) |
01 = LVLED3 is controlled by Control Bank D | 01 = LVLED2 is controlled by Control Bank D (Default) | 01 = LVLED1 is controlled by Control Bank D | 1 = HVLED2 is controlled by Control Bank B (Default) | 1 = HVLED1 is controlled by Control Bank B |
10 = LVLED3 is controlled by Control Bank E (Default) | 10 = LVLED2 is controlled by Control Bank E | 10 = LVLED1 is controlled by Control Bank E | ||
11 = LVLED3 is controlled by Control Bank F | 11 = LVLED2 is controlled by Control Bank F | 11 = LVLED1 is controlled by Control Bank F |
Bits [7:4] Not used |
Bits [3:2] LVLED5 Configuration |
Bits [1:0] LVLED4 Configuration |
---|---|---|
00 = LVLED5 is controlled by Control Bank C | 00 = LVLED4 is controlled by Control Bank C | |
01 = LVLED5 is controlled by Control Bank D | 01 = LVLED4 is controlled by Control Bank D | |
10 = LVLED5 is controlled by Control Bank E | 10 = LVLED4 is controlled by Control Bank E | |
11 = LVLED5 is controlled by Control Bank F (Default) | 11 = LVLED4 is controlled by Control Bank F (Default) |
Bits [7:6] | Bits [5:3] Startup Transition Time |
Bits [2:0] Shutdown Transition Time |
---|---|---|
Not Used | 000 = 2048µs (Default)
001 = 262ms 010 = 524ms 011 = 1.049s 100 =2.097s 101 = 4.194s 110 = 8.389s 111 = 16.78s Startup time is from when the device is enabled via I2C to when the initial target current is reached. |
000 = 2048µs (Default)
001 = 262ms 010 = 524ms 011 = 1.049s 100 =2.097s 101 = 4.194s 110 = 8.389s 111 = 16.78s Shutdown ramp time is from when the device is shutdown via I2C until the current sink ramps to 0. |
Bits [7:6] | Bits [5:3] Transition Time Ramp Up |
Bits [2:0] Transition Time Ramp Down |
---|---|---|
Not Used | 000 = 2048µs (Default)
001 = 262ms 010 = 524ms 011 = 1.049s 100 =2.097s 101 = 4.194s 110 = 8.389s 111 = 16.78s |
000 = 2048µs (Default)
001 = 262ms 010 = 524ms 011 = 1.049s 100 =2.097s 101 = 4.194s 110 = 8.389s 111 = 16.78s |
Address | Function |
---|---|
0x14 | Control Bank A PWM Configuration Register |
0x15 | Control Bank B PWM Configuration Register |
0x16 | Control Bank C PWM Configuration Register |
0x17 | Control Bank D PWM Configuration Register |
0x18 | Control Bank E PWM Configuration Register |
0x19 | Control Bank F PWM Configuration Register |
[Bit 7:6] Not Used |
Bit 5 Zone 4 PWM Enabled |
Bit 4 Zone 3 PWM Enabled |
Bit 3 Zone 2 PWM Enabled |
Bit 2 Zone 1 PWM Enabled |
Bit 1 Zone 0 PWM Enabled |
Bit 0 PWM Enabled |
---|---|---|---|---|---|---|
0 = PWM input is disabled in Zone 4 | 0 = PWM input is disabled in Zone 3 | 0 = PWM input is disabled in Zone 2 | 0 = PWM input is disabled in Zone 1 (Default) | 0 = PWM input is disabled in Zone 0 (Default) | 0 = PWM Input is disabled (Default) | |
1 = PWM input is enabled in Zone 4 (Default) | 1 = PWM input is enabled in Zone 3 (Default) | 1 = PWM input is enabled in Zone 2 (Default) | 1 = PWM input is enabled in Zone 1 | 1 = PWM input is enabled in Zone 0 | 1 = PWM Input is enabled |
Bits [7:4] Not Used |
Bit 3 Control Bank B Mapping Mode |
Bit 2 BREGB/ALSM2 Control |
Bit 1 Control Bank A Mapping Mode |
Bit 0 BREGA/ALSM1 Control |
---|---|---|---|---|
0 = Exponential Mapping (Default) | 0 = Control Bank B is configured for Brightness Register Current Control (Default) | 0 = Exponential Mapping (Default) | 0 = Control Bank A is configured for Brightness Register Current Control (Default) | |
1 = Linear Mapping | 1 = Control Bank B is configured for ALS current control via the ALSM2 Zone Target Registers | 1 = Linear Mapping | 1 = Control Bank A is configured for ALS current control via the ALSM1 Zone Target Registers |
Address | Function |
---|---|
0x1B | Control Bank C Brightness Configuration Register |
0x1C | Control Bank D Brightness Configuration Register |
0x1D | Control Bank E Brightness Configuration Register |
0x1E | Control Bank F Brightness Configuration Register |
Bits [7:4] Not Used |
Bit 3 Pattern Generator Enable |
Bit 2 Mapping Mode |
Bits [1:0] Current Control |
---|---|---|---|
0 = Pattern Generator is disabled for Control Bank_ (Default) | 0 = Exponential Mapping (Default) | 0X = Control Bank_ is configured for Brightness Register Current Control via the respective Brightness Register (Default) | |
1 = Pattern Generator is enabled for Control Bank_ | 1 = Linear Mapping | 10 = Control Bank_ is configured for ALS current control via the ALSM2 Zone Target Registers | |
11 = Control Bank_ is configured for ALS current control via the ALSM3 Zone Target Registers |
Address | Function |
---|---|
0x1F | Control Bank A Full-Scale Current Register |
0x20 | Control Bank B Full-Scale Current Register |
0x21 | Control Bank C Full-Scale Current Register |
0x22 | Control Bank D Full-Scale Current Register |
0x23 | Control Bank E Full-Scale Current Register |
0x24 | Control Bank F Full-Scale Current Register |
Bits [7:5] Not Used |
Bits [4:0] Control A Full-Scale Current Select Bits |
---|---|
N/A | 00000 = 5mA |
: | |
: | |
10011 = 20.2mA (Default) | |
: | |
: | |
11111 = 29.8mA The full-scale Current vs code is given by Equation 7: Equation 7. ILED_FULLSCALE = 5 mA + Code × 0.8 mA
|
Bits [7] Not Used |
Bit 6 LVLED5 Anode Connect |
Bit 5 LVLED4 Anode Connec |
Bit 4 LVLED3 Anode Connect |
Bit 3 LVLED2 Anode Connect |
Bit 2 LVLED1 Anode Connect |
Bit 1 HVLED2 Anode Connect |
Bit 0 HVLED1 Anode Connect |
---|---|---|---|---|---|---|---|
0 = LVLED5 LED anode is not connected to CPOUT | 0 = LVLED4 LED anode is not connected to CPOUT | 0 = LVLED3 LED anode is not connected to CPOUT | 0 = LVLED2 LED anode is not connected to CPOUT | 0 = LVLED1 LED anode is not connected to CPOUT | 0 = HVLED2 LED string anode is not connected to COUT | 0 = HVLED1 LED string anode is not connected to COUT | |
1 = LVLED5 LED anode is connected to CPOUT (Default) | 1 = LVLED4 LED anode is connected to CPOUT (Default) | 1 = LVLED3 LED anode is connected to CPOUT (Default) | 1 = LVLED2 LED anode is connected to CPOUT (Default) | 1 = LVLED1 LED anode is connected to CPOUT (Default) | 1 = HVLED2 LED string anode is connected to COUT (Default) | 1 = HVLED1 LED string anode is connected to COUT (Default) |
Bits [7:3] Not Used |
Bits [2:1] Gain Select |
Bit 0 Charge Pump Disable |
---|---|---|
N/A | 0X = Automatic gain select (Default)
10 = Gain set at 1x 11 = Gain set at 2x |
0 = Charge pump enabled (Default)
1 = Charge pump disabled; charge pump is high impedance from IN to CPOUT. |
Bits [7:6] Not Used |
Bit 5 Control F Enable |
Bit 4 Control E Enable |
Bit 3 Control D Enable |
Bit 2 Control C Enable |
Bit 1 Control B Enable |
Bit 0 Control A Enable |
---|---|---|---|---|---|---|
0 = Control Bank F is disabled (Default) | 0 = Control Bank E is disabled (Default) | 0 = Control Bank D is disabled (Default) | 0 = Control Bank C is disabled (Default) | 0 = Control Bank B is disabled (Default) | 0 = Control Bank A is disabled (Default) | |
1 = Control Bank F is enabled | 1 = Control Bank E is enabled | 1 = Control Bank D is enabled | 1 = Control Bank C is enabled | 1 = Control Bank B is enabled | 1 = Control Bank A is enabled |
Bit 7 Pattern 4 ALS Scaling Enable |
Bit 6 Pattern 4 Enable |
Bit 5 Pattern 3 ALS Scaling Enable |
Bit 4 Pattern 3 Enable |
Bit 3 Pattern 2 ALS Scaling Enable |
Bit 2 Pattern 2 Enable |
Bit 1 Pattern 1 ALS Scaling Enable |
Bit 0 Pattern 1 Enable |
---|---|---|---|---|---|---|---|
0 = Pattern 4 Scaling Disabled (Default) | 0 = Pattern 4 Disabled (Default) | 0 = Pattern 3 Scaling Disabled (Default) | 0 = Pattern 3 Disabled (Default) | 0 = Pattern 2 Scaling Disabled (Default) | 0 = Pattern 2 Disabled (Default) | 0 = Pattern 1 Scaling Disabled (Default) | 0 = Pattern 1 Disabled (Default) |
1 = Pattern 4 Scaling Enabled | 1 = Pattern 4 Enabled | 1 = Pattern 3 Scaling Enabled | 1 = Pattern 3 Enabled | 1 = Pattern 2 Scaling Enabled | 1 = Pattern 2 Enabled | 1 = Pattern 1 Scaling Enabled | 1 = Pattern 1 Enabled |
Note: If a low-voltage control bank is set to receive its brightness information from either ALSM2 or ALSM3, and then a pattern generator is enabled for that Control Bank, the Control Bank ignores the ALSM2 or ALSM3 zone target information. This prevents conflicts from ALSM2/ALSM3 zone targets and ALS controlled pattern currents.
Bits [7:4] ALS Pattern Scaler (Zone 4) |
Bits [3:0] ALS Pattern Scaler (Zone 3) |
---|---|
0000 = 1/16 | 0000 = 1/16 |
0001 = 2/16 | 0001 = 2/16 |
: | : |
1111 = 16/16 (Default) | 1111 = 16/16 (Default) |
Bits [7:4] ALS Pattern Scaler (Zone 2) |
Bits [3:0] ALS Pattern Scaler (Zone 1) |
---|---|
0000 = 1/16 | 0000 = 1/16 |
0001 = 2/16 | 0001 = 2/16 |
: | : |
1111 = 16/16 (Default) | 1111 = 16/16h (Default) |
Bits [7:4] Not Used |
Bits [3:0] ALS Pattern Scaler (Zone 0) |
---|---|
0000 = 1/16 (Default) | |
0001 = 2/16 | |
: | |
1111 = 16/16 |
Bits [7:4] Not Used |
Bit 3 PWM Polarity |
Bit [2:1] Boost OVP Select |
Bit 1 Boost Frequency Select |
---|---|---|---|
0 = Active Low Polarity 1 = Active High Polarity (Default) |
00 = 16V (Default)
01 = 24V 10 = 32V 11 = 40V |
0 = 500 kHz (Default)
1 = 1MHz |
Bit 7 Not Used |
Bits [6:0] ALS Resistor Select Code |
---|---|
0000000 = ALS input is high impedance (Default) | |
0000001 = 200kΩ (10µA at 2V full-scale) | |
0000010 = 100kΩ (20µA at 2V full-scale) | |
: | |
: | |
: | |
1111110 = 1.587kΩ (1.26mA at 2V full-scale) | |
1111111 = 1.575kΩ (1.27mA at 2V full-scale) |
The selectable codes are available which give a linear step in currents of 10 µA per code based upon 2V/R_ALS. This gives a code to resistance relationship of:
Bit [7:6] Not Used |
Bits [5:3] ALS Average Times |
Bit 2 Fast startup Enable/Disable |
Bit 1 ALS Input Mode |
Bit 0 ALS Enable/Disable |
---|---|---|---|---|
000 = 17.92 ms 001 = 35.84ms 010 = 71.68ms 011 = 143.36ms 100 = 286.72ms (Default) 101 = 573.44ms 110 = 1146.88ms 111 = 2293.76ms |
0 = ALS fast startup is enabled (Default)
1 = ALS fast startup is disabled |
0 = ALS is set for Analog Sensor Input Mode (Default)
1 = ALS is set for PWM Sensor Input Mode |
0 = ALS is disabled (Default)
1 = ALS is enabled |
Bits [7:6] ALS Pattern Generator Zone Algorithm Select |
Bits [5:4] ALSM3 zone Algorithm Select |
Bits [3:2] ALSM2 zone Algorithm Select |
Bits [1:0] ALSM1 zone Algorithm Select |
---|---|---|---|
00 = Direct Control (Default) | 00 = Direct Control (Default) | 00 = Direct Control (Default)(Default) | 00 = Direct Control (default) |
01 = Up Only Control | 01 = Up Only Control | 01 = Up Only | 01 = Up Only |
1× = Down Delay Control | 1× = Down Delay Control | 1X = Down Delay | 1× = Down Delay |
Bits [7:4] Not Used |
Bits [4:0] Down Delay Settings (# Indicates total average periods required to force a change in the down direction) |
---|---|
00000 = 6 (Default) | |
: | |
: | |
: | |
11111 = 37 |
Bits [7:5] Not Used |
Bits [4:2] Average Zone Information Bits |
Bit 1 Zone Change Bit |
Bit 0 Interrupt Enable Bit |
---|---|---|---|
000 = Zone 0 (Default)
001 = Zone 1 010 = Zone 2 011 = Zone 3 1XX = Zone 4 |
0 = no change in the ALS zone since the last read back of this register (Default)
1 = the ALS zone has changed. A read back of this |
0 = INT Mode Disabled (Default)
1 = INT Mode Enabled |
Bit 7 MSB |
Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 LSB |
---|---|---|---|---|---|---|---|
Data | Data | Data | Data | Data | Data | Data | Data |
This register contains the ADC data from the internal 8-bit ADC. This is a read-only register. When the ALS Interface is enabled this register is updated with the digitized ALS information every 140µs.
Bit 7 MSB |
Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 LSB |
---|---|---|---|---|---|---|---|
Data | Data | Data | Data | Data | Data | Data | Data |
This register is updated after each average period.
Address | Function |
---|---|
0x40 | Control Bank A Brightness Register (BREGA) |
0x41 | Control Bank B Brightness Register (BREGB) |
0x42 | Control Bank C High Brightness Register (BREGHC) |
0x43 | Control Bank D High Brightness Register (BREGHD) |
0x44 | Control Bank E High Brightness Register (BREGHE) |
0x45 | Control Bank F High Brightness Register (BREGHF) |
Brightness Code Bits[7:0} |
---|
When the Mapping Mode is set for exponential mapping (Control Bank_Brightness Configuration Register Bit [2] = 0), the current approximates the equation: Equation 9.
|
When the Mapping Mode is set for linear mapping (Control Bank_Brightness Configuration Register Bit [2] = 1), the current approximates the equation: Equation 10.
|
Address | Function |
---|---|
0x50 | ALS Zone Boundary 0 High |
0x51 | ALS Zone Boundary 0 Low |
0x52 | ALS Zone Boundary 1 High |
0x53 | ALS Zone Boundary 1 Low |
0x54 | ALS Zone Boundary 2 High |
0x55 | ALS Zone Boundary 2 Low |
0x56 | ALS Zone Boundary 3 High |
0x57 | ALS Zone Boundary 3 Low |
Note: Each Zone Boundary register is 8 bits with a maximum voltage of 2 V. This gives a step size for each Zone Boundary Register bit of:
Address | Function |
---|---|
0x60 | ALSM1 Zone Target 0 |
0x61 | ALSM1 Zone Target 1 |
0x62 | ALSM1 Zone Target 2 |
0x63 | ALSM1 Zone Target 3 |
0x64 | ALSM1 Zone Target 4 |
Address | Function |
---|---|
0x65 | ALSM2 Zone Target 0 |
0x66 | ALSM2 Zone Target 1 |
0x67 | ALSM2 Zone Target 2 |
0x68 | ALSM2 Zone Target 3 |
0x69 | ALSM2 Zone Target 4 |
Address | Function |
---|---|
0x6A | ALSM3 Zone Target 0 |
0x6B | ALSM3 Zone Target 1 |
0x6C | ALSM3 Zone Target 2 |
0x6D | ALSM3 Zone Target 3 |
0x6E | ALSM3 Zone Target 4 |
When the Mapping Mode is set for exponential mapping (Control Bank_Brightness Configuration Register Bit [2] = 0), the current approximates Equation 12:
When the Mapping Mode is set for linear mapping (Control Bank_Brightness Configuration Register Bit [2] = 1), the current approximates Equation 13:
Address | Function |
---|---|
0x70 | Pattern Generator 1 Delay Register |
0x80 | Pattern Generator 2 Delay Register |
0x90 | Pattern Generator 3 Delay Register |
0xA0 | Pattern Generator 4 Delay Register |
Bit 7 Not Used |
Bit [6:0] tDELAY times |
---|---|
0x00 = 16.384ms (16.384ms/step) (Default) | |
0x01 = 32.768ms | |
: | |
: | |
0x3B = 983.05ms | |
0x3C = 999.424ms | |
0x3D = 1130.496ms (131.072ms/step) | |
0x3E = 1261.568ms | |
: | |
: | |
0x7F = 9781.248ms |
Address | Function |
---|---|
0x71 | Pattern Generator 1 Low-Time Register |
0x81 | Pattern Generator 2 Low-Time Register |
0x91 | Pattern Generator 3 Low-Time Register |
0xA1 | Pattern Generator 4 Low-Time Register |
Bit [7:0] |
---|
tLOW times |
0x00 = 16.384ms (16.384ms/step) (Default) |
0x01 = 32.768ms |
: |
: |
0x3B = 983.05ms |
0x3C = 999.424ms |
0x3D = 1130.496ms (131.072ms/step) |
0x3E = 1261.568ms |
: |
: |
0x7F = 9781.248ms |
0x80 = 10.305536s (524.288ms/step) |
: |
: |
0xFF = 76.890112s |
Address | Function |
---|---|
0x72 | Pattern Generator 1 High-Time Register |
0x82 | Pattern Generator 2 High-Time Register |
0x92 | Pattern Generator 3 High-Time Register |
0xA2 | Pattern Generator 4 High-Time Register |
Bit 7 Not Used |
Bit [6:0] tHIGH times |
---|---|
0x00 = 16.384ms (16.384ms/step) (Default) | |
0x01 = 32.768ms | |
: | |
: | |
0x3B = 983.05ms | |
0x3C = 999.424ms | |
0x3D = 1130.496ms (131.072ms/step) | |
0x3E = 1261.568ms | |
: | |
: | |
0x7F = 9781.248ms |
Address | Function |
---|---|
0x73 | Pattern Generator 1 Low-Level Brightness Register (BREGCL) |
0x83 | Pattern Generator 2 Low-Level Brightness Register (BREGDL) |
0x93 | Pattern Generator 3 Low-Level Brightness Register (BREGEL) |
0xA3 | Pattern Generator 4 Low-Level Brightness Register (BREGFL) |
For Exponential Mapping Mode the low-level current becomes:
For Linear Mapping Mode the low-level current becomes:
Note: The Pattern Generator high level brightness setting is set through the Control Bank Brightness Registers (see Table 28).
Address | Function |
---|---|
0x74 | Pattern Generator 1 Rise-Time Register |
0x84 | Pattern Generator 2 Rise-Time Register |
0x94 | Pattern Generator 3 Rise-Time Register |
0xA4 | Pattern Generator 4 Rise-TimeRegister |
Bits [7:3] Not Used |
Bits [2:0] tRISE (from ILOW to IHIGH) |
---|---|
000 = 2048µs (Default) | |
001 = 262ms | |
010 = 524ms | |
011 = 1.049s | |
100 = 2.097s | |
101 = 4.194s | |
110 = 8.389s | |
111 = 16.78s |
Address | Function |
---|---|
0x75 | Pattern Generator 1 Fall-Time Register |
0x85 | Pattern Generator 2 Fall-Time Register |
0x95 | Pattern Generator 3 Fall-Time Register |
0xA5 | Pattern Generator 4 Fall-Time Register |
Bits [7:3] Not Used |
Bits [2:0] tFALL (from IHIGH to ILOW ) |
---|---|
000 = 2048µs (Default) | |
001 = 262ms | |
010 = 524ms | |
011 = 1.049s | |
100 = 2.097s | |
101 = 4.194s | |
110 = 8.389s | |
111 = 16.78s |
Bit 7 (Not Used) |
Bit 6 (LVLED5 Open) |
Bit 5 (LVLED4 Open) |
Bit 4 (LVLED3 Open) |
Bit 3 (LVLED2 Open) |
Bit 2 (LVLED1 Open) |
Bit 1 (HVLED2 Open) |
Bit 0 (HVLED1 Open) |
---|---|---|---|---|---|---|---|
0 = Normal Operation 1 = Open |
0 = Normal Operation 1 = Open |
0 = Normal Operation 1 = Open |
0 = Normal Operation 1 = Open |
0 = Normal Operation 1 = Open |
0 = Normal Operation 1 = Open |
0 = Normal Operation 1 = Open |
Bit 7 (Not Used) |
Bit 6 (LVLED5 Short) |
Bit 5 (LVLED4 Short) |
Bit 4 (LVLED3 Short) |
Bit 3 (LVLED2 Short) |
Bit 2 (LVLED1 Short) |
Bit 1 (HVLED2 Short) |
Bit 0 (HVLED1 Short) |
---|---|---|---|---|---|---|---|
0 = Normal Operation 1 = Short |
0 = Normal Operation 1 = Short |
0 = Normal Operation 1 = Short |
0 = Normal Operation 1 = Short |
0 = Normal Operation 1 = Short |
0 = Normal Operation 1 = Short |
0 = Normal Operation 1 = Short |
Bits [7:2] Not Used |
Bits [1] LED Short Fault Enable |
Bit 0 LED Open Fault Enable |
---|---|---|
N/A | 0 = Short Faults Disabled (Default)
1 = Short Faults Enabled |
0 = Open Faults Disabled (Default)
1 = Open Faults Enabled |