
NCP5623C
B7
B6
B5
B4
B3
B2
B1
B0
Byte#1 : I 2 C Physical Address, based 7 bits : % 011 1001 3 $39 *
0
1
1
1
0
0
1
R/W
Byte#2 : DATA register
RLED2
RLED1
RLED0
BLED4
BLED3
BLED2
BLED1
BLED0
*Note: according to the I 2 C specifications, the physical address is based on 7 bits out of the SDA byte, the 8 th bit representing the R/W command.
Since the NCP5623C is a receiver only, the R/W command is 0 and the hexadecimal byte send by the MCU is %0111 0010 = $72
B[7:5] : Internal Register Selection:
B7
0
0
0
0
1
1
1
1
B6
0
0
1
1
0
0
1
1
B5
0
1
0
1
0
1
0
1
Function
Chip Shut Down 3 all LED current = zero
Set up the maximum Output LED Current
PWM1 : LED1 control
PWM2 : LED2 control
PWM3 : LED3 control
Set the Upward Iend target
Set the Downward Iend target
Set the number of steps and activate the Gradual Dimming
The contain of bits B[4:0] depends upon the type of function selected by bits B[7:5] as depicted in Table 1
Table 1. Internal Register Bits Assigmen t
B7
0
0
0
0
1
1
B6
0
0
1
1
0
0
B5
0
1
0
1
0
1
B4
X
16
BPWM16
BPWM16
BPWM16
GDIM5
B3
X
8
BPWM8
BPWM8
BPWM8
GDIM4
B2
X
4
BPWM4
BPWM4
BPWM4
GDIM3
B1
X
2
BPWM2
BPWM2
BPWM2
GDIM2
B0
X
1
BPWM1
BPWM1
BPWM1
GDIM1
Comments
Shut down
Output LED Step, see Figure 4 (Note 11)
PWM1
PWM2
PWM3
Set Gradual Dimming
16
8
4
2
1
Upward Iend Target (Note 12)
1
1
0
GDIM5
GDIM4
GDIM3
GDIM2
GDIM1
Set Gradual Dimming
16
8
4
2
1
Downward Iend Target (Note 12)
1
1
1
GDIM5
GDIM4
GDIM3
GDIM2
GDIM1
Gradual Dimming
128 ms
64 ms
32 ms
16 ms
8 ms
Step Number & run
11. The programmed current applies to the three LED simultaneously, the gradual dimming is not engaged
12. The bit values represent the steps count, not the ILED current: see equations 1 & 2, page 7, to derive the ILED value.
GRADUAL DIMMING
The purpose of that function is to gradually Increase or
Decrease the brightness of the backlight LED upon
command from the external MCU. The function is activated
and controlled by means of the I 2 C protocol.
In order to avoid arithmetic division functions at silicon
level, the period (either upward or downward) is equal to the
time defined for each step, multiplied by the number of
steps.
To operate such a function, the MCU will provide three
information:
1 – The target current level (either upward or downward)
2 – The time per step
3 – The Upward or Downward mode of operation
When a new gradual dimming sequence is requested, the
output current increases, according to an exponential curve,
from the existing start value to the end value. The end current
value is defined by the contain of the Upward or Downward
registers, the width of each step is defined by the third
register, the number of step being in the 1 to 30 range. In the
event of software error, the system checks that neither the
maximum output current (30 mA), nor the zero level are
forced out of their respective bounds. Similarly, software
errors shall not force the NCP5623C into an uncontrolled
mode of operation.
http://onsemi.com
8