-1-
NJU6060
Ver.2004-04-16
Full Color LED Controller Driver with PWM Control
! GENERAL DESCRIPTION
The NJU6060 is an RGB LED driver with PWM control. It
contains PWM (pulse width modulation) controller, LED
drivers, 8-bit serial interface, etc. Each of the R (red), G (green)
and B (blue) outputs produces 32 levels individually so that the
RGB LED emits 32,768 colors (32 x 32 x 32).
It requires only four external components such as three
resistors for LED current adj ustment and the o ne for oscillatio n,
which enables the NJU6060 to save PCB space. The NJU6060
is suited for a large number of applications such as cellular
phones, car stereo sets, household appliances, illumination
equipment, etc.
! FEATURES
# Controls the 3-color LED Separately (ILED=10mA x 3 outputs)
# Built-in P WM Lumina nce Control (32 st eps x 3)
# Built-in 8bit serial Interface Circuit
# Built-in Oscillatio n Cir c uit
# Operating Voltage for Step-up Circuits : 2.4V to 5.5V
# Package : SSOP-10
# CMOS T echnology
!PACKAGE OUTLINE
NJU6060V
- 2 -
NJU6060
Ver.2004-04-16
! PIN CONNECTIONS (TOP VIEW)
! PIN DESCRIPTIO NS
No. PIN NAME TYPE DESCRIPTIONS
1 V
DD
Power V
DD
Power Supply terminal
2 RSTb Input Reset terminal - Active “L”.
3 CSb Input Chip Select terminal
The serial data is fixed on the rising edge of CSb clock.
4 CLK Input Shift Clock terminal
5 DATA Input Serial Data terminal
6 OSC Input Oscillating terminal
External resistor connecting
7 V
SS
Power Ground terminal
8 LED1 Output
9 LED2 Output
10 LED3 Output
LED Connect terminals (Open drain output)
Output level are 32 steps P WM b y instruction control.
Connecting cathode of LED.
V
DD
RSTb
CSb
CLK
DATA OSC
V
SS
LED1
LED2
LED3
-3-
NJU6060
Ver.2004-04-16
! BLOCK DIAGRAM
! FUNCTIONAL DESCRIPTIONS
(1) Description for each blocks
(1-1) PWM Luminance Control
The NJU6060 incorporates three channel of 32 steps PWM Luminance Control circuits. 32 steps of Luminance
Control b y setting up DUTY. The relation between a register and DUTY is shown below:
REGISTER DUTY REGISTER DUTY REGISTER DUTY REGISTER DUTY
0,0,0,0,0 1/32 0,1,0,0,0 9/32 1,0,0,0,0 17/32 1,1,0,0,0 25/32
0,0,0,0,1 2/32 0,1,0,0,1 10/32 1,0,0,0,1 18/32 1,1,0,0,1 26/32
0,0,0,1,0 3/32 0,1,0,1,0 11/32 1,0,0,1,0 19/32 1,1,0,1,0 27/32
0,0,0,1,1 4/32 0,1,0,1,1 12/32 1,0,0,1,1 20/32 1,1,0,1,1 28/32
0,0,1,0,0 5/32 0,1,1,0,0 13/32 1,0,1,0,0 21/32 1,1,1,0,0 29/32
0,0,1,0,1 6/32 0,1,1,0,1 14/32 1,0,1,0,1 22/32 1,1,1,0,1 30/32
0,0,1,1,0 7/32 0,1,1,1,0 15/32 1,0,1,1,0 23/32 1,1,1,1,0 31/32
0,0,1,1,1 8/32 0,1,1,1,1 16/32 1,0,1,1,1 24/32 1,1,1,1,1 32/32
(1-2) Oscillator
The NJU6060 Oscillation circuit is generated cloc k which generates PWM by connecting external resistor.
The oscillation circuit with the external register generate the clock for PWM. The PWM frequency (f
PWM
) is finely
adjusted by value of the external register. In addition, the ON/OFF o f osci llation circuit is contro lled by the instruction,
and the current consumption is decreased when it was OFF of the oscillation circuit.
If PWM was high when the oscillation circuit became OFF, the situation of PWM was kept. Input OFF command of
the output port.
OSC
32step
PWM
32step
PWM
32step
PWM
Driver
Driver
Driver
Instruction
Decoder
OSC
V
DD
RSTb
CSb
CL
K
DAT
A
V
SS
LED1
LED2
LED3
V
DD
C
P
U
I
/
F
V
LED
- 4 -
NJU6060
Ver.2004-04-16
(2) Instructions
3 line type serial interface using a setup of PWM data, ON/OFF of Light Emitting Diode, etc. are made.
The input data and latched at rising edge of chip shi ft clock (CLK) and the 8-bit data are fetched into the NJU6060 at
the rising edge of chip select (CS). The data to input is MSB first.
Table.1 shows the instruction codes of the NJU6060.
Table 1. Instru cti on Code
Code
Instruction D7 D6 D5 D4 D3 D2 D1 D0 Discription
LED1
PWM Data Set 0 0 0 D D D D D 5-bit PWM data is set.
LED2
PWM Data Set 0 0 1 D D D D D 5-bit PWM data is set.
LED3
PWM Data Set 0 1 0 D D D D D 5-bit PWM data is set.
PWM Frequency set
/ OSC ON/OFF
/Output port ON/OFF
0 1 1 f
PWM
OSC LED1 LED2 LED3
f
PWM
0:(fosc/2)/32
1:(fosc/2)/64
OSC 0:OFF
1:ON
LED1 to 3 0:OFF
1:ON
LED1
PWM Pha se set 1 0 0 * * * Phase value
LED2
PWM Pha se set 1 0 1 * * * Phase value
LED3
PWM Pha se set 1 1 0 * * * Phase value
0,0: Same phase
0,1: 4-step shift
1,0: 8-step shift
1,1: 16-step shift
Test 1 1 1 Test Data Inhibited command
* : Don’t Care
Note) The “PWM data set”, the “PWM Frequency set” and the “PWM phase set” commands are executed, asynchronously
to the PWM counter, thus the users command setting is executed after execution time, which is about 128/fosc if
{“f
PWM
=(fosc/2)/2”} is set up. During that execution time, the IC may execute an unexpected setting. For this
reason, it is recommended to make sure actual performance is the users practical application.
(2-1) Explanation of instruction code
(a) LED1 to 3 P WM Data Set
This instruction set the PWM luminance control Duty data. It sets up for every LED port.
LED1 PWM Data Set
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
0 0 0 D D D D D
LED2 PWM Data Set
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
0 0 1 D D D D D
LED3 PWM Data Set
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
0 1 0 D D D D D
D :DUTY
0,0,0,0,0 to 1,1,1,1,1
-5-
NJU6060
Ver.2004-04-16
(b)
PWM Frequency set / OSC ON/OFF / Output port ON/OFF
This instruction set the PWM Frequency, Oscillator ON/OFF and Output port ON/OFF.
PWM Frequency set / OSC ON/OFF / Output port ON/OFF
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
0 1 1
f
PWM
OSC LED
1 LED
2 LED
3
PW M Frequency set
f
PWM
0 : fsys / 32 frequenc y(Default)
1 : fsys / 64 frequenc y
(fsys : S ystem clock = fosc / 2)
OSC ON/OFF
OSC 0 : Oscillator OFF( Default)
1 : Oscillator ON
Output port ON/OFF
LED1 to 3 0 : Output port OFF(Default)
1 : Output port ON
It sets up for every LED port.
(c) LED1 to 3 PWM Phase set
This instruction set the PWM wavefor m Phase of output LED ports.
LED1 PWM Phase set
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
1 0 0 * * * Phase
*: Don’t Care
LED2 PWM Phase set
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
1 0 1 * * * Phase
*: Don’t Care
LED3 PWM Phase set
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
1 1 0 * * * Phase
*: Don’t Care
D
1
D
0
Shift Phase Value
0 0 Same Phase
0 1 4-step shift
1 0 8-step shift
1 1 16-step shift
- 6 -
NJU6060
Ver.2004-04-16
Example ) Set Output PWM waveform of LED1 to LED3 terminal, shown below:
- LED1 PWM Phase set D
1
=0, D
0
=0
- LED2 PWM Phase set D
1
=1, D
0
=0
- LED3 PWM Phase set D
1
=1, D
0
=1
- PWM Frequency set / OSC ON/OFF / Output port ON/OFF D
4
=0, D
3
=1, D
2
=1, D
1
=1, D
0
=1
- LED1 to 3 PWM Data Set
(
PWM
4,
PWM
3,
PWM
2,
PWM
1,
PWM
0
) = (1,0,0,0,0)
PW M Frequency (f
PWM
) = 195Hz(typ.)
LED1 terminal 1 17 18 32
LED2 terminal 1 17 18 32
LED3 terminal 1 17 18 32
8-steps 8-steps
(d) Maker Testing
Thi s i nstruc tio n i s using for device testing mode (only for ma ker).
If it's absolute necessary in the user's command sequence, the only one command data (1,1,1,0,0,0,0,0) to release the
test mode can be accepted.
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
1 1 1 Test Data
2
Internal
PWM counter
31 0 1 15 16 17 18 30 31 0 1
-7-
NJU6060
Ver.2004-04-16
(3) Serial Interface
The NJU6060 interface with MPU by Serial Interface, control for LED.
Note1) Data is not concerned with the signal of CSb but is read into the internal shift register by the rising edge of CLK.
Note2) The contents of a shift register are read into the internal instruction d ecoder by the rising ed ge of CSb.
note3) An instruction and data should surely input 8 bits. In case of entering over than 8 bits data, valid data is last 8 bits
data.
(4) Reset Circuit
Reset Circuit ini tializes the LSI to the following status by using of the more 1µs reset si gnal into the RES termina l
Reset status using the RES terminal
1, f
PWM
0: (fosc/2)/32
2, OSC 0: Oscillation OFF
3, LED1 to 3 0: OFF
4, Phase 0,0: Same Phase
5, PWM data 0,0,0,0,0: 1/32
* D7 D6 D5 D4 D3 D2 D1 D0 *
CSb
SIO
CLK
- 8 -
NJU6060
Ver.2004-04-16
! ABSOLUTE MAXIMUMN RATINGS
Ta=25
°C
PARAMETERS SYMBOL CONDITIONS RATINGS UNIT
VDD Pow e r Supply
V
DD
VDD terminal -0.3 to +6.0 V
Driver Off Break Down Voltage
V
offmax
LED1, LE D2, LED3 ter minals 7.0 V
Driver On Break Down Voltage
V
onmax
LED1, LE D2, LED3 ter minals 5.5 V
Input Voltage
V
IN1
CSb, DATA, CLK, RSTb, OSC
Terminals -0.3 to V
DD
+0.3 V
Power Dissipation
Pd
max
Ta=25°C 250 mW
Operating Temperature
T
opr
-40 to +85 °C
Storage Temperature
T
stg
-55 to +125 °C
Note1) V
SS
= 0V to all conditions
Note2) If the LSI was used out of the absolute maximum ratings, LSI is damaged completel y and the riliability beco me
poor. The LSI is used on the electrical characteristics is recommended strongly for normal operation.
-9-
NJU6060
Ver.2004-04-16
! DC ELECTRICAL CHARACTERISTICS
V
DD
=2.4 to 5.5V, Ta=-40 to 85
°C
PARAMETERS SYMBOL CONDITIONS MIN. TYP. MAX.
Unit
V
DD
Powe r Supply
V
DD
2.4 5.5 V
Input “H” Lev el Voltage
V
IH
RSTb, CSb, CLK, DATA
0.8V
DD
V
DD
V
Input “L” Level Voltage
V
IL
RSTb, CSb, CLK, DATA
0 0.2V
DD
V
Input “H” Level Current
I
IH
RSTb, CSb, CLK, DATA,
V
IN
= V
DD
5.0
µA
Input “L” Level Current
I
IL
RSTb, CSb, CLK, DATA,
V
IN
=0V
-5.0
µA
Output Off Leak Current
I
OFFH
LED1, LE D2, LED3: V
O
=5.5V,
Output OFF
6.0
µA
Output “L” Level Vo ltage
V
OL
LED1, LE D2. LED3, I
O
=10mA
0.5 V
Oscillation Frequency
f
OSC
V
DD
=3V, R
OSC
=910k,
T
a
=25°C
10.23 12.48 14.72 kHz
Reset “L” Level
Pulse Width
t
RW
RSTb
1.0
µs
Operating Current
I
DD
VDD=3V, PWM DUTY: 17/32,
Output terminal open,
R
OSC
=910k, T
a
=25°C
6.0 12.0
µA
Note1): Input Terminal Structure
RSTb, CSb, CLK, DATA terminals LED1, LED2, LED3 terminals
V
DD
- 10 -
NJU6060
Ver.2004-04-16
Relation between oscilla tion frequency and LCD frame frequency
Set Output PWM waveform of LED1 to LED3 terminal, shown below:
- LED1 PWM Phase set D
1
=0, D
0
=0
- LED2 PWM Phase set D
1
=1, D
0
=0
- LED3 PWM Phase set D
1
=1, D
0
=1
- PWM Frequency set / OSC ON/OFF / Output port ON/OFF D
4
=0, D
3
=1, D
2
=1, D
1
=1, D
0
=1
- LED1 to 3 PWM Data Set (
PWM
4,
PWM
3,
PWM
2,
PWM
1,
PWM
0
) = (1,0,0,0,0)
PW M Frequency (f
PWM
) = 195Hz(typ.)
LED1 terminal 1 17 18 32
LED2 terminal 1 17 18 32
LED3 terminal 1 17 18 32
8-steps 8-steps
Set Output PWM waveform of LED1 to LED3 terminal, shown below:
- LED1 PWM Phase set D
1
=0, D
0
=0
- LED2 PWM Phase set D
1
=1, D
0
=0
- LED3 PWM Phase set D
1
=1, D
0
=1
- PWM Frequency set / OSC ON/OFF / Output port ON/OFF D
4
=1, D
3
=1, D
2
=1, D
1
=1, D
0
=1
- LED1 to 3 PWM Data Set (
PWM
4,
PWM
3,
PWM
2,
PWM
1,
PWM
0
) = (1,0,0,0,0)
PW M Frequency (f
PWM
) = 97.5Hz(typ.)
LED1 terminal 1 17 18 32
LED2 terminal 1 17 18 32
LED3 terminal 1 17 18 32
8-steps 8-steps
3
32 1 2 16 17 18 19 31 32 1 2
Tsys
Tsys=1/fsys=2/fosc
(fsys: Internal System Clock Freqency)
3
32 1 2 16 17 18 19 31 32 1 2
Tsys
Tsys=2/fsys=4/fosc
(fsys: Internal System Clock Freqency)
fosc = 12.48kHz
fsys = fosc/ 2 = 6.24 kHz
f
PWM
=: fs
y
s / 32 = 195Hz
fosc = 12.48kHz
fsys = fosc/ 2 = 6.24 kHz
f
PWM
=
:
f
sys
/
64 =
97.
5Hz
-11-
NJU6060
Ver.2004-04-16
! AC E LECTR ICAL CHARACTERISTIC S
VDD=2.4 to 5.5V, Ta=-40 to 85°C
PARAMETERS SYMBOL Terminal MIN. TYP. MAX. UNIT
“L” Level CLK Clock Width
t
WCLL
CLK
160 ns
“H” Level CLK Clock Width
t
WCLH
CLK
160 ns
Data Set-Up Ti me
t
DS
CLK, DATA
150 ns
Data Hold Time
t
DH
CLK, DATA
150 ns
CSb Set-Up Time
t
CS
CSb, CLK
160 ns
CSb Hold Time
t
CH
CSb, CLK
640 ns
CLK Wait Time
t
WCH
CSb
640 ns
Rising Time
t
r
15 ns
Falling Time
t
f
15 ns
Serial Input Timing
Note) All timing based on 20% and 80% of V
DD
voltage level.
CSb
CLK
DATA
t
CS
D7 D0
t
f
t
r
t
DS
t
DH
t
WCLL
t
WCLH
t
CH
t
WCH
- 12 -
NJU6060
Ver.2004-04-16
! APPLICATION CI RCUIT
Resisto r Selection
R
LED
=
R
LED
: LED Current Control Resistor
V
LED
: LED Voltage
V
F
: LED Forward Voltage (@I
LED
)
V
OL
: Output “L” Level Voltage (@I
LED
)
I
LED
: LED Forward Current
Example) I
LED
= 10mA, V
LED
= 5.0V, V
F
= 2.0V(@I
LED
= 10mA), V
OL
=0.5V
R
LED
= = 250
Note)
VF and VOL are depended on the situation. And decide the optimum values by the actual test when RLED is
selected.
[CAUTION]
The specifications on this databook are only
given for information , without any guarantee
as regards either mi stakes or omissions. The
application circuits in this databook are
described only to show representative usages
of the product and not intended for the
guarantee or permission of any right including
the industrial rights.
The products on this databook may not be
appropriate for use in certain equipment where
reliability is critical or where the products ma
y
be subjected to extreme conditions. Thus, you
should consult our sales office before using the
products in vehicle control equipment.
NJU6060
V
DD
RSTb
CPU CSb
CLK
DATA OSC
V
SS
LED1
LED2
LED3
V
LED
V
DD
V
SS
+ R
LED
R
LED
R
LED
R
OSC
V
LED
- V
F
- V
OL
I
LED
10mA
5.0V – 2.0V – 0.5V
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
NJR:
NJU6060V-TE1