VIEW/MODIFY COMPARATOR PARAMETERS
Figure 20. View/Modify Comparator Parameters
The controls in the view/modify comparator parameters block
show the current parameters programmed for the light sensing
comparators and allow modifications using selections and drop-
down controls.
The COMP1 column selections control the Comparator 1
operation. This corresponds to Bit[4:0] in Register CCFG
(Address 0x1B).
The COMP2 column selections control the Comparator 2
operation. This corresponds to Bit[4:0] in Register CCFG2
(Address 0x1C).
The pull-down controls ALS1 Filter and ALS2 Filter
show/change the Comparator 1 and Comparator 2 filtering time
constants. This corresponds to Bit[7:5] in Register CCFG
(Address 0x1B) for Comparator 1 and Bit[7:5] in Register
CCFG2 (Address 0x1C) for Comparator 2.
The L2 Trp slider shows/changes the Comparator 1 and
Comparator 2 office/daylight tripping level and corresponds
to Register L2_TRP (Address 0x1D).
The L2 Hys slider shows/changes the Comparator 1 and
Comparator 2 office/daylight hysteresis level and corresponds
to Register L2_HYS (Address 0x1E).
The L3 Trp slider shows/changes the Comparator 1 and
Comparator 2 office/dark tripping level and corresponds
to Register L3_TRP (Address 0x1F).
The L3 Hys slider shows/changes the Comparator 1 and
Comparator 2 office/dark hysteresis level and corresponds
to Register L3_HYS (Address 0x20).
The value shown for the comparator levels can be represented
in lux or microamperes the selection is controlled by the
Comparator Unit checkbox. One LSB is equivalent to 10 lux
(or 4 μA) for the L2 levels and 1.25 lux (or 0.5 μA) for the
L3 levels.
The BL Automatic Control selection corresponds to Bit 1 in
Register MDCR (Address 0x01). When unchecked, the
backlight brightness state is controlled by Bit[4:3] in Register
CFGR (Address 0x04). When checked, the backlight brightness
is automatically controlled by the ambient light sensors.
The Phototrans. Selection checkbox corresponds to Bit[6]
in Register CFGR (Address 0x04). When the checkbox is not
checked (as shown in Figure 20), Phototrans. 1 is used to
control the backlight brightness. When the checkbox is
checked, Phototrans. 2 is used.
The Phototr1 and Phototr2 indicators show the ambient light
conversion level in raw format (as it comes out from the ADC).
The value is aligned as a 13-bit number. Enable a comparator
to display a value. The 13-bit value is calculated as follows:
Phototr1 = PH1LEVH × 0x100 + PH1LEVL
Phototr2 = PH2LEVH × 0x100 + PH2LEVL
Register PH1LEVL and Register PH1LEVH are mapped at
Address 0x21 and Address 0x22.
Register PH2LEVL and Register PH2LEVH are mapped at
Address 0x23 and Address 0x24.
VIEW/MODIFY ACTIVATIONS
The buttons in this block are used to control the backlight/
individual activation. There are three buttons: BACKLIGHT
DISABLED, NOT IN DIM STATE, and IN STANDBY.
•
The BACKLIGHT DISABLED button corresponds to
Bit[0] (BL_EN) in Register MDCR (Address 0x01). When
this button is depressed the backlight is activated according
with the programmed parameters. If released, the backlight
is turned off. This button can be reset automatically by the
ADP8860.
•
The NOT IN DIM STATE button corresponds to Bit[4]
(DIM_EN) in Register MDCR (Address 0x01). When this
button is depressed and the backlight is enabled the
backlight brightness is set at the dim level. This button can
be set/reset automatically by the ADP8860.
•
The IN STANDBY button corresponds to Bit[5] (nSTBY)
in Register MDCR (Address 0x01). When this button is
depressed, the device is not in standby mode. When
released, the device is in standby mode.
Rev. 0 | Page 11 of 24
EVAL-ADP8860
Figure 21. View/Modify Activations
Need help?
Do you have a question about the EVAL-ADP8860 and is the answer not in the manual?
Questions and answers