background image

 

EVAL-ADP5520

 

Rev. 0 | Page 7 of 24 

5.

 

To turn off and fade out the backlight, clear Bit 6 in 
Register 0x00 and program this setting by clicking the 

Program 0x00 

button. 

The backlight begins to turn off and fade out to zero 
current.  

The fade timers can be used with the off and dim timers for 
fade transitions among on to dim, dim to on, and dim to off. 
You can try different fade laws and fade-in/fade-out times to 
decide which ones you want. 

BACKLIGHT ZONE ADJUSTMENT (MANUAL) 

First press the reset button (S17) on the evaluation board to put 
the device in a known state; then do the following on the 

BackLight Config

 tab: 

1.

 

In the 

Daylight Max Current 

drop-down box, select a 

daylight zone backlight maximum current setting (for 
example, 30 mA); then program this setting by clicking the 

Program 0x05

 button.  

2.

 

In the 

Office Max Current

 drop-down box, select an office 

zone backlight maximum current setting (for example,  
10 mA); then program this setting by clicking the 

Program 

0x07

 button. 

3.

 

In the 

Dark Max Current

 drop-down box, select a dark 

zone backlight maximum current setting (for example,  
3 mA); then program this setting by clicking the 

Program 

0x09 

button.  

4.

 

Set Bit 6 and Bit 7 in Register 0x00 high and then program 
these settings by clicking the 

Program 0x00

 button. 

The backlight begins to turn on in the daylight operating 
zone and is driven by the current chosen in Step 1.  

5.

 

In the 

Backlight Level Control

 drop-down box, select the 

office operating zone; then program this setting by clicking 
the 

Program 0x02

 button. 

The backlight changes to the office operating zone and is 
driven by the current chosen in Step 2. 

6.

 

In the 

Backlight Level Control

 drop-down box, select the 

dark operating zone; then program this setting by clicking 
the 

Program 0x02

 button. 

The backlight changes to the dark operating zone and is 
driven by the current chosen in Step 3. 

You can also enable the fade timers for smooth transition 
between operating zones. 

BACKLIGHT ZONE ADJUSTMENT (AUTOMATIC VIA 
AMBIENT LIGHT SENSING) 

The ADP5520 contains an ambient light sensor that measures 
the output current of an external photosensor. The ADP5520 
can switch between backlight operating zones based on ambient 
light conditions. You can set threshold points for switching 
among the operating zones. 

To control automatic backlight adjustment based on ambient 
light conditions, first press the reset button (S17) on the evalu-
ation board to put the device in a known state; then do the 
following on the 

BackLight Config

 tab: 

1.

 

In the 

Daylight Max Current 

drop-down box, select a 

daylight zone backlight maximum current setting (for 
example, 30 mA); then program this setting by clicking the 

Program 0x05

 button.  

2.

 

In the 

Office Max Current

 drop-down box, select an office 

zone backlight maximum current setting (for example,  
10 mA); then program this setting by clicking the 

Program 

0x07

 button. 

3.

 

In the 

Dark Max Current

 drop-down box, select a dark 

zone backlight maximum current setting (for example,  
3 mA); then program this setting by clicking the 

Program 

0x09 

button. 

4.

 

In the 

L2 (Office) Comparator Trip Point

 drop-down 

box, select a threshold for switching between daylight and 
office operation (for example, 32 μA

1

); then program this 

setting by clicking the 

Program 0x0D

 button. 

5.

 

In the 

L2 (Office) Comparator Hysteresis

 drop-down 

box, select a hysteresis level for switching between daylight 
and office operation (for example, 4 μA); then program 
this setting by clicking the 

Program 0x0E

 button. 

6.

 

In the 

L3 (Dark) Comparator Trip Point

 drop-down box, 

select a threshold for switching between office and dark 
operation (for example, 15 μA

1

); then program this setting 

by clicking the 

Program 0x0F

 button. 

7.

 

In the 

L3 (Dark) Comparator Hysteresis

 drop-down box, 

select a hysteresis level for switching between daylight and 
office operation (for example, 4 μA); then program this 
setting by clicking the 

Program 0x10

 button. 

8.

 

Set Bit 0 and Bit 1 in Register 0x0C high and then program 
these settings by clicking the 

Program 0x0C

 button. 

9.

 

Set Bit 3 in Register 0x02 high; then program this setting 
by clicking the 

Program 0x02

 button. 

Summary of Contents for ADP5520

Page 1: ...IOs GENERAL DESCRIPTION The ADP5520 evaluation board allows the user to exercise the main features and functionality of the ADP5520 backlight driver with I O expander IC A daughterboard houses the act...

Page 2: ...light Zone Adjustment Automatic via Ambient Light Sensing 7 Aux LEDs Config Tab 9 Auxiliary LED Turn On Turn Off 9 Auxiliary LED Turn On Turn Off with Fade In Fade Out 9 Auxiliary LED Blinking 10 GPIO...

Page 3: ...10 The jumper settings should be moved to EXT if an external power supply is used See the ADP5520 data sheet for the supply ranges of VBAT and VDDIO VBOARD should be supplied with 3 3 V 3 Supply okay...

Page 4: ...PC 07651 002 SOFTWARE GUI OVERVIEW The GUI begins to run automatically when it is opened You can stop the program without closing it by clicking the STOP button in the bottom right corner To restart t...

Page 5: ...backlight maximum current setting for example 30 mA then program this setting by clicking the Program 0x05 button 2 In the Daylight Dim Current drop down box select a backlight dim current setting fo...

Page 6: ...ab 1 In the Daylight Max Current drop down box select a backlight maximum current setting for example 30 mA then program this setting by clicking the Program 0x05 button 2 In the Daylight Dim Current...

Page 7: ...s BACKLIGHT ZONE ADJUSTMENT AUTOMATIC VIA AMBIENT LIGHT SENSING The ADP5520 contains an ambient light sensor that measures the output current of an external photosensor The ADP5520 can switch between...

Page 8: ...2 If you move your finger even closer to the photosensor D2 on the daughterboard the backlight automatically switches to the dark operating zone1 and is driven by the current chosen in Step 3 11 To ad...

Page 9: ...Program 0x11 button 3 On the BackLight Config tab set Bit 7 in Register 0x00 high then program this setting by clicking the Program 0x00 button All three auxiliary LEDs turn on 4 To turn off an LED c...

Page 10: ...J8 to the LED 2 position b Move the jumper on Block J4 to the LED 3 position 2 On the BackLight Config tab set Bit 7 in Register 0x00 high then program this setting by clicking the Program 0x00 button...

Page 11: ...program this setting by clicking the Program 0x1A button LED D1 through LED D8 on the motherboard reflect the data programmed into Register 0x1A GPIO INPUTS First press the reset button S17 on the ev...

Page 12: ...t an interrupt has triggered 5 On the GPIO Config tab do the following a Read back Register 0x19 by clicking the Read 0x19 button b The readback value should indicate that the LSB is set to 1 and ther...

Page 13: ...button This configures Pin R0 through Pin R3 as keypad matrix rows c Set Bit 4 through Bit 7 in Register 0x17 high then program this setting by clicking the Program 0x17 button This configures Pin C0...

Page 14: ...ndicating that Key A was released 7 On the BackLight Config tab read Register 0x00 by clicking the Read 0x00 button Bit 0 and Bit 1 the master key press release interrupt bits should be set indicating...

Page 15: ...ight Config tab set Bit 7 in Register 0x00 high then program this setting by clicking the Program 0x00 button This takes the ADP5520 out of standby mode 6 On the motherboard press and release the S1 s...

Page 16: ...he red Disabled button it changes to a green Enabled button As you write data to and read data from the ADP5520 each event is displayed in the Command History box You can save the command history list...

Page 17: ...T VBAT SDA SCL R2 R1 R0 INT J1 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 VBAT L1 4 7u H C1 1UF 16V LK2 C2 1UF 50V TP1 D1 LK1 1 2 1 2 CMP_IN RST ILED SDA SCL R2 VBoard R1 R0 C0 C1 C2 C3 VDDIO...

Page 18: ...D J12 J11 1 3 2 USB_VBOARD 2 7V 3 3V VBAT VBAT USB_VDDIO USB_VBAT EXT_VBOARD EXT_VDDIO EXT_VBAT 4 5V 1 3 2 VBAT VDDIO VBOARD C20 2 2 uF R24 10k U5 ADP1715 16 EN IN OUT ADJ SS TRK GND GND GND GND R21 1...

Page 19: ...BOARD VBOARD VBOARD ILED RST VDDIO J9 R10 0 D10 4 R11 0 VBOARD R9 0 D9 D11 S17 2 1 R12 10k R3 R0 R1 R2 C0 C1 C2 C3 J7 J5 J2 J1 J6 J4 J8 J3 4 5 6 1 2 3 1 2 4 5 6 1 2 3 3 4 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6...

Page 20: ...D6 LED R4 681 D2 LED U1 ADG712 IN1 S1 3 D1 2 IN2 IN3 IN4 D2 15 S2 14 D3 10 S3 11 D4 7 S4 6 GND 5 V DD 13 NC 4 NC 12 R2 681 VDDIO Row0_GPI Row1_GPI VDDIO Row2_GPI VDDIO Row3_GPI VDDIO Col0_GPI VDDIO V...

Page 21: ...XTALOUT XTALIN AGND1 AVCC2 D AGND2 VCC1 GND1 IFCLK RES SCL SDA VCC2 PB0 FD0 PB1 FD1 PB2 FD2 PB3 FD3 PB4 FD4 PB5 FD5 PB6 FD6 PB7 FD7 GND2 VCC3 GND3 CTL0 CTL1 CTL2 VCC4 PA0 INT1 PA1 INT1 PA3 WU2 PA4 FI...

Page 22: ...r MLCC 47 F 16 V 1210 X5R Murata GRM32ER61C476K 2 C10 C16 Capacitor MLCC 6 2 pF 50V 0603 X5R Murata GRM1885C1H6R2DZ01D 6 J1 J2 J3 J5 J6 J7 Connector 3 2 Sullins Electronics PEC36DAAN 2 J4 J8 Connector...

Page 23: ...Vishay or equivalent CRCW08052K21FKE 12 R1 R2 R3 R4 R5 R6 R7 R8 R13 R15 R16 R18 Resistor 681 0603 Vishay or equivalent CRCW0603681RFKE 4 R9 R10 R11 R14 Resistor 0 0603 Vishay or equivalent CRCW060300...

Page 24: ...EVAL ADP5520 Rev 0 Page 24 of 24 NOTES 2008 Analog Devices Inc All rights reserved Trademarks and registered trademarks are the property of their respective owners EB07651 0 10 08 0...

Reviews: