NJRC NJU26124

NJU26124
■ General Description
Digital Signal Processor for TV
■Package
The NJU26124 is a high performance 24-bit digital signal processor.
The NJU26124 provides 512TAP FIR Filter, PEQ and Time Alignment Delay.
These kinds of sound functions are suitable for TV, mini-component, CD
radio-cassette, speakers system and other audio products.
■ FEATURES
NJU26124VC2
- Software
• 512TAP FIR Filter x 2 channels
• PEQ : NJU26124 supports a multi channel product
2ch output : 26 Band / ch, 6ch output : 8 Band / ch
Either FIR Filter or PEQ is selected.
• Filters : PEQ, LPF, HPF, LSF, HSF
• Time Alignment Delay
• Master Volume
• WatchDog Clock Output
- Hardware
• 24bit Fixed-point Digital Signal Processing
• Maximum System Clock Frequency : 12.288MHz Max. built-in PLL Circuit
• Digital Audio Interface
: 3 Input ports / 3 Output ports
• Digital Audio Format
: I2S 24bit, Left- justified, Right-justified, BCK : 32/64fs
• Master / Slave Mode
- Master Mode, MCK : 384fs @32kHz, 256fs @48kHz
• Host Interface
: I2C bus (Fast-mode/400kbps)
• Power Supply
: 3.3V
• Input terminal
: 5V Input tolerant
• Package
: SSOP24-C2 (Pb-Free)
Ver.2008-12-03
-1-
NJU26124
■ Function Block Diagram
24Bit Fixed-point DSP Core
SCL
SDI0-2
2
I C INTERFACE
SDA
24Bit x 24Bit
MULTIPLIER
RESETb
MCK
CLKOUT
SDO0-2
PROGRAM
CONTROL
ALU
BCK
SERIAL AUDIO
INTERFACE
LR
TIMING
GENERATOR /
PLL
CLK
ADDRESS GENERATION UNIT
SLAVEb
Internal Pow er
(1.8V)
Built-in LDO
VREGO
External
Low -ESR
Capacitors
Required
WDC
DATA RAM
FIRMWARE
ROM
GPIO
INTERFACE
PROC
MODE
AD1
1.8V level terminal
Fig. 1 NJU26124 Block Diagram
-2-
Ver.2008-12-03
NJU26124
■ DSP Block Diagram
After Reset, function is selected by MODE terminal.
SDI0(L/R)
SDO0(L/R)
512TAP
FIR Filter
SDI1(C/SW)
3 Band PEQ
Master Volume &
Channel Trimmer
Input Trimmer
SDI2(LS/RS)
Time Alignment
Delay
PEQ
SDO1(C/SW)
SDO2(LS/RS)
Fig. 2-1 NJU26124 Function Diagram
SDI0(L/R)
Input Trimmer
512TAP
FIR Filter
3 Band PEQ
Master Volume &
Channel Trimmer
SDO0(L/R)
Fig. 2-2 FIR Filter + 3 Band PEQ Block Diagram
SDI0 L
SDI0 R
SDI1 C or SW
SDI1 C or SW
SDI2 LS
SDI2 RS
PEQ
8 Band
Time Alignment
Delay
SDO0 L
PEQ
8 Band
Time Alignment
Delay
SDO0 R
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
SDO2 LS
PEQ
8 Band
Time Alignment
Delay
SDO2 RS
Input Trimmer
SDO1 C or SW
Master Volume &
Channel Trimmer
SDO1 C or SW
Fig. 2-3 PEQ + Time Alignment Delay Block Diagram
Ver.2008-12-03
-3-
NJU26124
Fig. 2-4 PEQ + Time Alignment Delay Block Diagram Input : 2ch
SDI0 L
SDI0 L
SDI0 R
PEQ
26 Band
Time Alignment
Delay
PEQ
26 Band
Time Alignment
Delay
Input Trimmer
SDO0 L
Master Volume &
Channel Trimmer
SDI0 R
SDO0 R
Fig. 2-4-1 Output : 2ch
SDI0 R
PEQ
12 Band
Time Alignment
Delay
PEQ
12 Band
Time Alignment
Delay
PEQ
12 Band
Time Alignment
Delay
PEQ
12 Band
Time Alignment
Delay
Time Alignment
Delay
PEQ
17 Band
Time Alignment
Delay
PEQ
17 Band
Time Alignment
Delay
SDO0 L
Input Trimmer
SDI0 R
PEQ
12 Band
Time Alignment
Delay
SDO0 L
PEQ
12 Band
Time Alignment
Delay
SDO0 R
SDO0 R
Master Volume &
Channel Trimmer
Master Volume &
Channel Trimmer
SDO1 C or SW
SDO1 C or SW
PEQ
12 Band
Fig. 2-4-3 Output : 3.1ch
SDI0 R
PEQ
10 Band
SDO0 L
Time Alignment
Delay
Time Alignment
Delay
PEQ
10 Band
Time Alignment
Delay
SDO0 R
SDO1 C or SW
Master Volume &
Channel Trimmer
SDI0 R
SDO2 L for LS
Time Alignment
Delay
SDO2 R for RS
SDI0 L
SDI0 R
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
SDO0 L
Input Trimmer
SDO0 R
SDO1 C or SW
Master Volume &
Channel Trimmer
SDO1 C or SW
PEQ
10 Band
Time Alignment
Delay
SDO2 L for LS
PEQ
8 Band
Time Alignment
Delay
SDO2 L for LS
PEQ
10 Band
Time Alignment
Delay
SDO2 R for RS
PEQ
8 Band
Time Alignment
Delay
SDO2 R for RS
Fig. 2-4-5 Output : 4.1ch or 5ch (2.1ch or 3ch)
SDI0 L
Time Alignment
Delay
Fig. 2-4-4 Output : 4ch (2ch)
Input Trimmer
PEQ
10 Band
SDO0 R
SDO1 C or SW
Input Trimmer
PEQ
12 Band
SDI0 L
SDO0 L
Master Volume &
Channel Trimmer
Fig. 2-4-2 Output : 2.1ch or 3ch
SDI0 L
SDI0 L
PEQ
17 Band
Input Trimmer
PEQ
8 Band
Time Alignment
Delay
SDO0 L
PEQ
8 Band
Time Alignment
Delay
SDO0 R
PEQ
8 Band
Time Alignment
Delay
Input Trimmer
Fig. 2-4-6 Output : 5.1ch (3.1ch)
SDO1 L
Master Volume &
Channel Trimmer
SDO1 R
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
SDO2 L for LS
PEQ
8 Band
Time Alignment
Delay
SDO2 R for RS
Fig. 2-4-7 Output : 6ch (2ch)
-4-
Ver.2008-12-03
NJU26124
Fig. 2-5 PEQ + Time Alignment Delay Block Diagram Input : 2.1ch or 3ch
SDI0 L
SDI0 L
SDI0 R
Input Trimmer
SDI1 C or SW
PEQ
17 Band
Time Alignment
Delay
PEQ
17 Band
Time Alignment
Delay
PEQ
17 Band
Time Alignment
Delay
SDO0 L
SDI0 R
Master Volume &
Channel Trimmer
SDO0 R
Input Trimmer
SDI1 C or SW
SDO1 C or SW
Fig. 2-5-1 Output : 2.1ch or 3ch
SDI0 L
SDI0 R
Input Trimmer
SDI1 C or SW
Time Alignment
Delay
SDO0 L
PEQ
12 Band
Time Alignment
Delay
SDO0 R
PEQ
12 Band
Time Alignment
Delay
PEQ
12 Band
Time Alignment
Delay
Master Volume &
Channel Trimmer
SDO1 C or SW
SDO1 C or SW
Fig. 2-5-2 Output : 3.1ch
PEQ
10 Band
Time Alignment
Delay
SDO0 L
SDI0 L
PEQ
10 Band
Time Alignment
Delay
SDO0 R
SDI0 R
PEQ
10 Band
Time Alignment
Delay
PEQ
10 Band
Time Alignment
Delay
SDO2 L for LS
Time Alignment
Delay
SDO2 R for RS
PEQ
10 Band
PEQ
12 Band
SDO1 C or SW
Input Trimmer
SDI1 C or SW
Master Volume &
Channel Trimmer
PEQ
8 Band
Time Alignment
Delay
SDO0 L
PEQ
8 Band
Time Alignment
Delay
SDO0 R
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
SDO2 L for LS
Time Alignment
Delay
SDO2 R for RS
PEQ
8 Band
Fig. 2-5-3 Output : 4.1ch or 5ch (2.1ch or 3ch)
SDO1 C or SW
Master Volume &
Channel Trimmer
SDO1 C or SW
Fig. 2-5-4 Output : 5.1ch (3.1ch)
Fig. 2-6 PEQ + Time Alignment Delay Block Diagram Input : 4ch
SDI0 L
SDI0 R
PEQ
12 Band
Time Alignment
Delay
SDO0 L
SDI0 L
PEQ
12 Band
Time Alignment
Delay
SDO0 R
SDI0 R
Master Volume &
Channel Trimmer
Input Trimmer
SDI2 LS
SDI2 RS
PEQ
12 Band
Time Alignment
Delay
SDO2 LS
SDI2 LS
PEQ
12 Band
Time Alignment
Delay
SDO2 RS
SDI2 RS
PEQ
8 Band
SDI0 R
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
Input Trimmer
SDI2 LS
SDI2 RS
Ver.2008-12-03
SDO0 L
SDO0 R
SDI0 L
Time Alignment
Delay
PEQ
10 Band
Time Alignment
Delay
PEQ
10 Band
Time Alignment
Delay
SDO2 LS
PEQ
10 Band
Time Alignment
Delay
SDO2 RS
SDO1 C or SW
Master Volume &
Channel Trimmer
SDO1 C or SW
Master Volume &
Channel Trimmer
Time Alignment
Delay
SDO0 L
PEQ
8 Band
Time Alignment
Delay
SDO0 R
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
SDI0 R
Input Trimmer
SDO1 C or SW
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
SDO2 LS
SDI2 LS
PEQ
8 Band
Time Alignment
Delay
SDO2 RS
SDI2 RS
Fig. 2-6-3 Output : 5.1ch
PEQ
10 Band
Fig. 2-6-2 Output : 4.1ch or 5ch
Time Alignment
Delay
PEQ
8 Band
SDO0 L
SDO0 R
Input Trimmer
Fig. 2-6-1 Output : 4ch
SDI0 L
Time Alignment
Delay
PEQ
10 Band
SDO1 L
Master Volume &
Channel Trimmer
SDO1 R
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
SDO2 LS
PEQ
8 Band
Time Alignment
Delay
SDO2 RS
Fig. 2-6-4 Output : 6ch (4ch)
-5-
NJU26124
Fig. 2-7 PEQ + Time Alignment Delay Block Diagram Input : 4.1ch or 5ch
SDI0 L
SDI0 R
SDI1 C or SW
PEQ
10 Band
Time Alignment
Delay
PEQ
10 Band
Time Alignment
Delay
PEQ
10 Band
Time Alignment
Delay
Input Trimmer
SDI2 LS
SDI2 RS
SDO0 L
SDO0 R
SDO1 C or SW
SDI0 L
SDI0 R
SDI1 C or SW
Master Volume &
Channel Trimmer
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
SDO2 LS
PEQ
8 Band
Time Alignment
Delay
SDO2 RS
Input Trimmer
PEQ
10 Band
Time Alignment
Delay
SDO2 LS
SDI2 LS
PEQ
10 Band
Time Alignment
Delay
SDO2 RS
SDI2 RS
Fig. 2-7-1 Output : 4.1ch or 5ch
SDO0 L
PEQ
8 Band
SDO0 R
SDO1 C or SW
Master Volume &
Channel Trimmer
SDO1 C or SW
Fig. 2-7-2 Output : 5.1ch
Fig. 2-8 PEQ + Time Alignment Delay Block Diagram Input : 6ch
SDI0 L
SDI1 C or SW
SDI1 C or SW
SDI2 LS
SDI2 RS
Time Alignment
Delay
SDO0 L
PEQ
8 Band
Time Alignment
Delay
SDO0 R
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
PEQ
8 Band
Time Alignment
Delay
SDO2 LS
PEQ
8 Band
Time Alignment
Delay
SDO2 RS
PEQ
8 Band
SDI0 R
Input Trimmer
SDO1 C or SW
Master Volume &
Channel Trimmer
SDO1 C or SW
Fig. 2-8-1 Output : 6ch
-6-
Ver.2008-12-03
NJU26124
■ Pin Configuration
RESETb
1
24
TEST
LR
2
23
SCL
BCK
3
22
SDA
SDI2
4
21
SDO2
SDI1
5
20
SDO1
19
SDO0
18
WDC
NJU26124
SDI0
6
MCK
7
VDD
8
17
MODE
VSS
9
16
AD1
STBYb
10
15
SLAVEb
VSS
11
14
CLK
VREGO
12
13
CLKOUT
SSOP24
Fig. 3 NJU26124 Pin Configuration
■ Pin Description
Table 1 Pin Description
No. Symbol
I/O Description
No. Symbol
I/O Description
1
RESETb I
RESET (active Low)
13
CLKOUT
O
OSC Output
2
LR
I/O LR Clock
14
CLK
I
OSC Clock Input
3
BCK
I/O Bit Clock
15
SLAVEb
I
Slave select
4
SDI2
I
Audio Data Input 2 LS/RS
16
AD1
I
I2C Address
5
SDI1
I
Audio Data Input 1 C/SW
17
MODE
I
Function Select (FIR or PEQ)
6
SDI0
I
Audio Data Input 0 L/R
18
WDC
OD Clock for Watch Dog Timer
7
MCK
I/O Master Clock
19
SDO0
O
Audio Data Output 0 L/R
8
VDD
Power Supply +3.3V
20
SDO1
O
Audio Data Output 1 C/SW
9
VSS
GND
21
SDO2
O
Audio Data Output 2 LS/RS
10
STBYb
I
For TEST (Connected to VDD)
22
SDA
OD I2C I/O
11
VSS
GND
23
SCL
I
I2C Clock
12
VREGO PI
Built-in Power Supply Bypass
24
TEST
I
For TEST(Connected to VSS)
* I : Input, O : Output, I/O: Bi-directional, OD: Open-Drain I/O, PI: Power Supply Bypass
AD1 (No.16) pin and MODE (No.17) pin are input pins. WDC (No.18) pin is open-drain pin with pull-up resistance.
However, these pins operate as bi-directional pins. No.16pin and No.17pin connect with VDD or VSS through 3.3kΩ
resistance. No.18pin do not connect or connect with VDD through 3.3kΩ resistance when unused.
VREGO (No.12) pin is a built-in power supply bypass pin. Connect low-ESR capacitor of 4.7uF and 0.01uF in parallel
between VSS (No.11) pin. A built-in power supply is used only for NJU26124 operation. Be not short-circuited of this pin.
Do not take out the current, and connect other power supplies.
Ver.2008-12-03
-7-
NJU26124
■
Absolute Maximum Ratings
( VSS=0V=GND, Ta=25°°C )
Rating
Units
Table 2 Absolute Maximum Ratings
Parameter
Symbol
Supply Voltage *
Supply Voltage Bypass *
VDD
VREGO
-0.3 to 4.2
-0.3 to 2.3
In
Vx(IN)
I/O, OD
Vx(I/O) ,Vx(OD)
-0.3 to 5.5 (VDD ≥ 3.0V)
-0.3 to 4.2 (VDD < 3.0V)
Out
Vx(OUT)
CLK
Vx(CLK)
CLKOUT
Vx(CLKOUT)
Pin Voltage *
V
V
V
-0.3 to 4.2
Power Dissipation
Operating Voltage
Storage Temperature
565
mW
PD
-40 to 85
TOPR
°C
TSTR
-40 to 125
°C
* The LSI must be used inside of the “Absolute maximum ratings”. Otherwise, a stress may cause permanent
damage to the LSI.
* VDD
: 8 pin
* VREGO
: 12 pin
* Vx(IN)
: 1, 4, 5, 6, 10, 15, 23, 24 pin
* Vx(OD)
: 22 pin
* Vx(I/O)
: 2, 3, 7, 16, 17, 18 pin
* Vx(OUT)
: 19, 20, 21 pin
* Vx(CLK)
: 14 pin
* Vx(CLKOUT)
: 13 pin
■ Terminal equivalent circuit diagram
VDD
VDD(1.8V)
CLK
CLKOUT
VDD
VDD(1.8V)
PAD
RPD
VSS
V
SS
Input, I/O (Input part)
(1 to 7, 22, 23pin)
(with RPU : 18pin , With RPD: 15, 16, 17, 24pin)
CLK/CLKOUT
(13, 14pin)
VDD
RPU
VDD
PAD
PAD
Output Disable
VSS
Output, I/O (Output part)
(2, 3, 7, 16, 17, 19, 20, 21pin )
( Open Drain Output with RPU : 18pin)
( Open Drain Output: 22pin )
VSS
STBYb
(10pin)
Fig. 4 NJU26124 Terminal equivalent circuit diagram
-8-
Ver.2008-12-03
NJU26124
■ Electric Characteristics
( VDD=3.3V, fOSC=12.288MHz, Ta=25°°C )
Table 3 Electric Characteristics
Parameter
Operating Voltage
Symbol
*1
Test Condition
Min.
Typ.
Max.
Units
3.0
3.3
3.6
V
-
20
35
mA
VDD
VDD pin
Operating Current
IDD
At no load
High Level Input Voltage
VIH
VDD x 0.7
-
VDD
Low Level Input Voltage
VIL
0
-
VDD x 0.3
High Level Output Voltage
Low Level Output Voltage
*3
Clock Frequency
Clock Jitter
*5
Clock Duty Cycle
*4
V
VOH
(IOH= -1mA)
VDD x 0.8
-
VDD
VOL
(IOL= 1mA)
0
-
VDD x 0.2
-10
-
10
-120
-
10
IIN(PD)
-10
-
120
fOSC
10
12.288
13
MHz
0
-
3.0
ns
45
50
55
%
IIN
Leakage Current
*2
IIN(PU)
fJIT(CC)
rEC
VIN = VSS to VDD
CLK, MCK
*6
µA
*1 Please use the VDD within the electric characteristics. VDD is monotonous increase. Don’t drop voltage under the electric
characteristics after booting VDD to regulation voltage. When it turns off DSP and turns on DSP again, it is necessary to drop VDD
to GND level. Then it turns on DSP again.
*2 Input pin, Output pin and Open-Drain input/output pin are +5.0V tolerant except CLK input pin.
*3 Except No.18pin: WDC (Open-Drain output) and No.22: SDA (Open-Drain input/output).
*4 I IN(PU) : 18pin, I IN(PD) : 15, 16, 17, 24 pin
*5 Clock Jitter shows Cycle-to-cycle period jitter (JEDEC JESD65).
*6 Provide clock frequency for fOSC spec. NJU26124 needs clock frequency 12.288MHz when sampling rate is 48kHz.
Ver.2008-12-03
-9-
NJU26124
1. Power Supply, Input/Output terminal, Clock, Reset
1.1 Power Supply
The NJU26124 has a power supply VDD. To setup good power supply condition, the decoupling capacitors
should be implemented at the all power supply terminals.
Please use the VDD within the electric characteristics. VDD is monotonous increase. Don’t drop voltage under
the electric characteristics after booting VDD to regulation voltage. When it turns off DSP and turns on DSP
again, it is necessary to drop VDD to GND level. Then it turns on DSP again.
The NJU26124 include a built-in power supply (LDO) for internal logic. A built-in power supply generates
1.8V (-10% to +10%). VREGO (No.12) pin is a built-in power supply bypass pin. Connect low-ESR
capacitor of 4.7uF and 0.01uF in parallel between VSS (No.11) pin.
A built-in power supply is used only for NJU26124 operation. Be not short-circuited of this pin. Do not take
out the current, and connect other power supplies.
1.2 Input/Output terminal
It restricts, when the input terminals (AD1, MODE, RESETb, SDI0, SDI1, SDI2, STBYb, SLAVEb, SCL,
TEST pins), the input/output terminals (LR, BCK, MCK pins) and the bi-directional Open-drain terminal
(SDA pin) of NJU26124, and VDD are supplied on regular voltage (VDD=3.3V), and it becomes +5V Input
tolerant.
1.3 Clock
The NJU26124 CLK pin requires the system clock that should be related to the sample frequency 256 Fs.
(For example : Fs=48kHz CLK=12.288MHz )
It is possible to be generated the system clock by connecting a crystal oscillator between CLK and
CLKOUT. CLK/CLKOUT pins are not 5V tolerant, so check the voltage level of these pins.
When SLAVEb pin is fixed on Low level, NJU26124 supplies the system clock from MCK pin. Fix the clock
input pin not used to Low level because either the CLK pin or the MCK pin is supplied in NJU26124.
The frequency divider for Master mode matched to the clock 256 times of Fs is installed in NJU26124.
When clock except 256 times of Fs is used by Master mode, be careful to use because a dividing
frequency of Master mode changes. Please check enough and decide parameter.
- 10 -
Ver.2008-12-03
NJU26124
1.4 Reset
To initialize the NJU26124, RESETb pin should be set Low level during some period. After some period of
Low level, RESETb pin should be High level. This procedure starts the initialization of the NJU26124. After
the power supply and the oscillation of the NJU26124 becomes stable, RESETb pin must be kept
Low-level more than tRESETb period. (Fig.5)
After RESETb pin level goes to "High" (after reset release), a setup of the internal hardware of a Serial
Host Interface completes NJU26124 within 10msec. Then, it will be in the state which can communicate.
VDD
tVREGO
VREGO
CLK
OSC unstable
OSC stable
tRESETb
RESETb
Fig. 5 Reset Timing
Table 4 Reset Time
Symbol
Time
tVREGO
≥ 10msec
tRESETb
≥ 1.0msec
Note :
Don’t stop the supply of a clock while operating. NJU26124 installs PLL circuit internally. If the supply of a
clock is stopped, PLL circuit cannot be sent a clock to the inside and NJU26124 does not operate normally.
If supply of a clock is stopped or the NJU26124 is reset again, putting a normal clock into CLK terminal, the
period RESETb terminal of tRESETb is kept “Low” level.(Table 4) Next, the NJU26124 is reset. Then redo
from initial setting.
Ver.2008-12-03
- 11 -
NJU26124
2. Digital Audio Clock
Digital audio data needs to synchronize and transmit between digital audio systems.
The NJU26124 - master mode / slave mode - both of the modes are supported.
- In Master mode;
Use the clock of BCKO and a LRO pin output clock for digital audio data transfer.
- In Slave mode;
The clock output from a master device is needed for the input terminal of BCKI and LRI.
A device in the system generates the transmitted clock become a standard. The other devices are set
according to the transmitted clock. The device generating transmitted clock is called Master Device. The
device according to the transmitted clock is called Slave Device. NJU26124 usually operates Slave Device.
However, NJU26124 becomes Master Device in case of SLAVEb set the High level and NJU26124 is set
Master mode by firmware command. In Slave mode, clock inputted to the BCK pin and the LR pin is used
to digital audio signal transmission. In Master mode, clock outputted to the BCK pin and the LR pin is used
to digital audio signal transmission.
2.1 Audio Clock
Three kinds of clocks are needed for digital audio data transfer.
(1) LR clock (LR) is needed by serial-data transmission. It is the same as the sampling
frequency of a digital audio signal.
(2) Bit clock (BCK) is needed by serial-data transmission. It becomes the multiple of LR clock.
(3) Master clock (MCK) is needed by A/D, D/A converter, etc. It becomes the multiple of LR
clock. It is not related to serial audio data transmission.
In SLAVEb is High level, the MCK pin becomes buffer output pin for input clock to the CLK pin after
NJU26124 resets. The MCK output is able to be stopped by firmware command.
In SLAVEb is Low level, MCK pin becomes system clock input pin. It is not insure to change the logical
switch of SLAVEb pin during operating. If it is necessary to change SLAVEb pin setting, reset NJU26124
every time.
Table 5 SLAVEb, BCK, LR, MCK
SLAVEb and firmware
LR pin
setting
SLAVEb=”Low”
LR clock input
Firmware: each
DSP
slave operating
SLAVEb=”H”
Firmware: Slave
SLAVEb=”H”
Firmware: Master
LR clock output
DSP Master operating
BCK pin
Bit clock input
DSP slave operating
Bit clock output
DSP Master
operating
MCK pin
NJU26124 operating clock input
(MCK or CLK)
Master clock output
(Buffer of CLK)
In NJU26124 is used by 256 times of Maximum sampling frequency, NJU26124 is able to output LR clock
of same sampling rate and two-third times of sampling rate, and output BCK clock of 32 times sampling
rate and 64 times sampling rate in Master mode.
- 12 -
Ver.2008-12-03
NJU26124
Table 6 Input clock (In Slave mode)
Mode
Clock Signal
Multiple Frequency
32kHz
44.1kHz
48kHz
LR
1fs
32kHz
44.1kHz
48kHz
BCK (32fs)
32fs
1.024MHz
1.4112MHz
1.536MHz
BCK (64fs)
64fs
2.048MHz
2.822MHz
3.072MHz
DSP
MCK
Slave
Input terminal: Clock is generated by MCK or CLK
(SLAVEb=”L”)
MCK
Buffer output of CLK
12.288MHz
(SLAVEb=”H”)
Table 7 Output clock (In Master mode)
Mode
Clock Signal
Multiple Frequency
DSP
Master
LR
BCK (32fs)
BCK (64fs)
MCK
1fs
32fs
64fs
Buffer output of CLK
Ver.2008-12-03
32kHz
32kHz
1.024MHz
2.048MHz
CLK pin frequency
44.1kHz
48kHz
48kHz
1.536MHz
3.072MHz
12.288MHz
- 13 -
NJU26124
3. Digital Audio Interface
3.1 Digital Audio Data Format
The NJU26124 can use three kinds of formats hereafter as industry-standard digital audio data format.
: MSB is put on the 2nd bit of LR clock change rate.(1 bit is delayed to left stuffing)
(1) I2S
(2) Left-justified : LR clock -- MSB is placed for changing.
(3) Right-justified : LSB is placed just before LR clock change rate.
The main differences among three kinds of formats are in the position relation between LR clock (LR) and
an audio data (SDI, SDO).
- In every format:
: a left channel is transmitted previously.
- In Right/Left-justified : LR clock ='High' shows a left channel.
- I2S
: LR clock=”Low” shows a left channel.
- The Bit clock BCK is used as a shift clock of transmission data. The number of clocks more than
the number of sum total transmission bits of a L/R channel is needed at least.
- One cycle of LR clock is one sample of a stereo audio data. The frequency of LR clock becomes
equal to a sample rate (Fs).
- The NJU26124 supports serial data format which includes 32(32fs) or 64(64fs) BCK clocks.
This serial data format is applied to both MASTER and SLAVE mode.
3.2 Serial Audio Data Input/output
The NJU26124 audio interface includes 3 data input lines: SDI0, SDI1 and SDI2 (Table 8). 3 data output
lines: SDO0, SDO1 and SDO2. (Table 9).
Table 8 Serial Audio Input Pin Description
Pin No. Symbol
Description
6
SDI0
Audio Data Input 0 L/R
5
SDI1
Audio Data Input 1 C/SW
4
SDI2
Audio Data Input 2 LS/RS
Table 9 Serial Audio Output Pin Description
Pin No. Symbol
Description
19
SDO0
Audio Data Output 0 L/R
20
SDO1
Audio Data Output 1 C/SW
21
SDO2
Audio Data Output 2 LS/RS
Please refer to the “Fig.2-1 NJU26124 Function Diagram.”
- 14 -
Ver.2008-12-03
NJU26124
The NJU26124 can use three kinds of formats hereafter as industry-standard digital audio data format; (1)
I2S (2) Left-Justified (3) Right-justified and 16 / 18 / 20 / 24bits data length. (Fig.6-1 to Fig6-12)
An audio interface input and output data format become the same data format.
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
LSB
MSB
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDI, SDO
LSB
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
32 Clocks
Left Channel
Right Channel
Fig. 6-1 I2S Data Format 64fs, 24bit Data
LRI, LRO
BCKI, BCKO
MSB
LSB
MSB
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDI, SDO
LSB
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
23
32 Clocks
Fig. 6-2 Left-Justified Data Format 64fs, 24bit Data
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
SDI, SDO 2 1 0
LSB
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSB
LSB
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
32 Clocks
Fig. 6-3 Right-Justified Data Format 64fs, 24bit Data
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
LSB
MSB
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDI, SDO
LSB
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
32 Clocks
Fig. 6-4 I2S Data Format 64fs, 20bit Data
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
SDI, SDO
LSB
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSB
LSB
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
19
32 Clocks
Fig. 6-5 Left-Justified Data Format 64fs, 20bit Data
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
SDI, SDO 2 1 0
LSB
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
MSB
LSB
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
Fig. 6-6 Right-Justified Data Format 64fs, 20bit Data
Ver.2008-12-03
- 15 -
NJU26124
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
LSB
MSB
17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDI, SDO
LSB
17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
32 Clocks
Fig. 6-7 I2S Data Format 64fs, 18bit Data
LRI, LRO
Left Channel
Right Channel
BCKI, BCKO
MSB
SDI, SDO
LSB
MSB
17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LSB
17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
17
32 Clocks
Fig. 6-8 Left-Justified Data Format 64fs, 18bit Data
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
SDI, SDO 2 1 0
LSB
MSB
17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LSB
17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
32 Clocks
32 Clocks
Fig. 6-9 Right-Justified Data Format 64fs, 18bit Data
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
SDI, SDO
LSB MSB
LSB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
16 Clocks
16 Clocks
Fig. 6-10 I2S Data Format 32fs, 16bit Data
LRI, LRO
Left Channel
Right Channel
BCKI, BCKO
MSB
SDI, SDO
LSB MSB
LSB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
16 Clocks
16 Clocks
Fig. 6-11 Left-Justified Data Format 32fs, 16bit Data
Left Channel
LRI, LRO
Right Channel
BCKI, BCKO
MSB
SDI, SDO
LSB MSB
LSB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
16 Clocks
16 Clocks
Fig. 6-12 Right-Justified Data Format 32fs, 16bit Data
- 16 -
Ver.2008-12-03
NJU26124
3.3 Serial Audio Input Timing
Table 10 Serial Audio Input Timing Parameters
Parameter
Symbol Test Condition
Min
( VDD=3.3V, Ta=25°°C )
Typ.
Max
Units
BCK Frequency *
BCK Period
*
Low Pulse Width
High Pulse Width
BCK to LR Time **
fBCK
-
-
6.5
MHz
tSIL
tSIH
tSLI
75
75
40
-
-
ns
-
-
ns
LR to BCK Time **
tLSI
40
-
-
ns
Data Setup Time
tDS
15
-
-
ns
Data Hold Time
tDH
15
-
-
ns
* It is the regulation of absolute maximum ratings. Maximum frequency of BCK is limited.
** It is the regulation in slave mode.
LR
tSIH
tSIL
tSLI
tDS
tDH
tLSI
BCK
SDI
Fig. 7 Serial Audio Input Timing
Table 11 Serial Audio Output Timing Parameters
Parameter
Symbol
Test Condition
BCK to LR Time *
tSLO
Data Output Delay
tDOD
CL=25pF
Min
( VDD=3.3V, Ta=25°°C )
Typ.
Max
Units
-15
-
15
ns
-
-
15
ns
* It is the regulation in Master mode.
LR
tSLO
BCK
tDOD
SDO
Fig. 8 Serial Audio Output Timing
Ver.2008-12-03
- 17 -
NJU26124
■ Host Interface
The NJU26124 can be controlled via Serial Host Interface (SHI) using I2C bus. Data transfers are in 8 bit
packets (1 byte) when using either format. Refer to serial Host Interface Pin Description.(Table 12)
Table 12 Serial Host Interface Pin Description
Symbol
Pin No.
I2C bus Format
(I2C bus)
16
AD1
I2C bus address Bit
Serial Data Input/Output
22
SDA
(Open Drain Input/Output)
23
SCL
Serial Clock
Note : SDA pin (No.22) is a bi-directional open drain terminal. This pin requires a pull-up resister.
AD1 (No.16) pin is input pin with pull-down. AD1 (No.16) pin is connected with VDD or VSS through 3.3kΩ
resistance.
When NJU26124 is stopped by power supply VDD, SDA pin and SCL pin become Hi-Z. But these pins are not
5V tolerant when VDD stops.
■ I2C bus
I2C bus interface transfers data to the SDA pin and clocks data to the SCL pin. SDA pin is a bi-directional open
drain and requires a pull-up resister.
AD1 pin is used to configure the seven-bit SLAVE address of the serial host interface. (Table 13) This offers
additional flexibility to a system design by two different SLAVE addresses of the NJU26124. An address can be
arbitrarily set up by the AD1 pin. The I2C address of AD1 is decided by connection of AD1 pin.
Table 13 I2C bus SLAVE Address
bit7
0
0
bit6
0
0
Start
bit
bit5
1
1
bit4
1
1
bit3
1
1
Slave Address ( 7bit )
bit2
0
0
AD1
bit1
0
1
R/W
bit
R/W
bit0
R/W
ACK
* SLAVE address is 0 when AD1 is “Low”. SLAVE address is 1 when AD1 is “High”.
* SLAVE address is 0 when R/W is “W”. SLAVE address is 1 when R/W is “R”.
Note : The serial host interface supports “Standard-Mode (100kbps)” and “Fast-Mode (400kbps)” I2C bus data
transfer.
- 18 -
Ver.2008-12-03
NJU26124
Table 14 I2C bus Interface Timing Parameters
Parameter
( VDD=3.3V, fOSC=12.288MHz, Ta=25°°C )
Symbol
Min
Max
Units
fSCL
tHD:STA
tLOW
tHIGH
tSU:STA
tHD:DAT
tSU:DAT
tR
tF
tSU:STO
tBUF
0
0.6
1.3
0.6
0.6
0
250
0.6
1.3
400
0.9
1000
300
-
kHz
µs
µs
µs
µs
µs
ns
ns
ns
µs
µs
SCL Clock Frequency
Start Condition Hold Time
SCL “Low” Duration
SCL “High” Duration
Start Condition Setup Time
Data Hole Time *1
Data Setup Time
Rising Time
Falling Time
Stop Condition Setup Time
Bus Release Time *2
SDA
tR
tBUF
tF
tHD:STA
SCL
tHD:STA t LOW
P
tHD:DAT
tHIGH
tSU:STA
tSU:DAT
tSU:STO
Sr
S
P
2
Fig. 9 I C bus Timing
Note :
*1 tHD:DAT: Keep data 100ns hold time to avoid indefinite state by SCL falling edge.
*2 This item shows the interface specification. The interval of a continuous command is
specified separately.
Ver.2008-12-03
- 19 -
NJU26124
■ Pin setting
The NJU26124 selects function after resetting the NJU26124 by setting MODE pin (No.17) (Table 15). This pin
is input pin. However, this pin operates as bi-directional pin. Connect with VDD or VSS through 3.3kΩ resistance.
Table 15 Pin setting
Pin No. Symbol
Setting
“High”
17
MODE
“Low”
Function
The NJU26124 selects FIR Filter + 3Band PEQ after reset.
The NJU26124 selects PEQ + Time Alignment Delay after reset.
■ WatchDog Clock
The NJU26124 outputs clock pulse through WDC (No.18) pin during normal operation.
The NJU26124 generates a clock pulse through the WDC terminal after resetting the NJU26124. The WDC
clock is useful to check the status of the NJU26124 operation. For example, a microcomputer monitors the
WDC clock and checks the status of the NJU26124. When the WDC clock pulse is lost or not normal clock cycle,
the NJU26124 does not operate correctly. Then reset the NJU26124 and set up the NJU26124 again.
Watchdog clock output cycle is about 100msec.
Note: If input and output of an audio signal stop and an audio interface stops, WDC can’t output.
That is because it has controlled based on the signal of an audio interface.
■ Vocabulary of Filters
Parameters
F0
Q
Gain
Fig. 10-1 PEQ (Parametric Equalizer)
Parameters
F0
Q
Fig. 10-2 LPF (Low Pass Filter)
Parameters
F0
Q
Parameters
F0
Q
Gain
Fig. 10-3 HPF (High Pass Filter)
Fig. 10-4 LSF (Low Shelf Filter)
Parameters
F0
Q
Gain
Fig. 10-5 HSF (High Shelf Filter)
- 20 -
Ver.2008-12-03
NJU26124
■ NJU26124 Command Table
Table 16 NJU26124 Command (Mode terminal (High), FIR Filter + 3 Band PEQ Mode)
No.
Command
No.
Command
1
Set Task
13
Fs=32kHz FIR Filter New Coefficient Lch
2
System State
14
Fs=32kHz FIR Filter New Coefficient Rch
3
Sample Rate Select
15
FIR Filter Coefficient Update Command
4
Smooth Control
16
PEQ F0 for FIR Filter
5
Master Volume
17
PEQ Q for FIR Filter
6
Channel Trim
18
PEQ Gain for FIR Filter
7
Input Trim
19
PEQ Mode Config for FIR Filter
8
Bypass Trim
20
PEQ Smooth Config
9
Fs=48kHz FIR Filter New Coefficient Lch
21
Firmware Revision Number Request
10
Fs=48kHz FIR Filter New Coefficient Rch
22
Software Reset
11
Fs=44.1kHz FIR Filter New Coefficient Lch
23
Start Command
12
Fs=44.1kHz FIR Filter New Coefficient Rch
24
No Operation (Nop)
Table 17 NJU26124 Command (Mode terminal (Low), PEQ + Time Alignment Delay Mode)
No.
Command
No.
Command
1
Set Task
11
PEQ Q
2
System State
12
PEQ Gain
3
Sample Rate Select
13
PEQ Mode Config
4
Smooth Control
14
Time Alignment Delay
5
Master Volume
15
PEQ Smooth Config
6
Channel Trim
16
Firmware Revision Number Request
7
Input Trim
17
Software Reset
8
Center Mix Trim
18
Start Command
9
Input / Output Channel Select
19
No Operation (Nop)
10
PEQ F0
Notes : In respect to detail command information, request New Japan Radio Co., Ltd.
■ Response of status
NJU26124 returns the response of 4 types to the host controller.
Table 18 Response of status
Response
Status : Command Accepted
Status : Command Error
Status : Command Process
Status : Not Ready
Ver.2008-12-03
Command
0x80
0x81
0x82
0x83
Remark
Reception OK
Reception ERROR
Command processing
Initialization
- 21 -
NJU26124
■ Package
SSOP24-C2, Pb-Free
[CAUTION]
The specifications on this databook are only
given for information , without any guarantee
as regards either mistakes 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.
- 22 -
Ver.2008-12-03