10 KEY_ROW1 B I PU KEY Input ROW1 MCHNG O- Music change Output
11 KEY_ROW2 B I PU KEY Input ROW2 BUSY O-
12 KEY_ROW3 B I PU KEY Input ROW3 SCL I- I2C I/F Clock Input
13 KEY_ROW4 B I PU KEY Input ROW4 SDA I/O-
14 KEY_COL1 B O - KEY Input COLUMN1 A0 I-
15 KEY_COL2 B O - KEY Input COLUMN2 A1 I-
16 KEY_COL3 B O - KEY Input COLUMN3 SEL_SMANIPU(*1) H: MODE2, L: MODE3
17 TEST3 B I PU
18 DVDDIO - - -
19 SD_CON B I - SD I/F (*2) ←
20 SD_DO B I - SD I/F (*2) ←
21 SD_CLK B O - SD I/F ←
22 SD_DI B O - SD I/F ←
23 SD_CS B O - SD I/F ←
24 DVSS - - - Connect to GND ←
25 TEST4 - I PU
26 TEST5 - I PU
27 DVDD_M2 - - - Connect to 57PIN ←
28 TEST6 - I -
29 TEST7 - I -
30 TEST8 - I -
31 ATEST1 - O - OPEN (for TEST) ←
32 AVDDC - - -
33 USB_DM C I/O - USB DATA- ←
34 USB_DP C I/O- USB DATA+ ←
35 AVSSC - - - Connect to GND ←
36 REXTI D O -
37 VOREFI - O - OPEN (for TEST) ←
38 VDD_PLL - - -
39 TEST_PLL - I - OPEN (for TEST) ←
40 XIN_PLL E I - X'tal Input 16.9344MHz ←
I/O
Cir
I/O
Pull-Up/
Down
Function Signal Name I/O
H: Release RESET,
L: RESET
H: PLAY MP3 ONLY,
L: PLAY MP1,MP2 and MP3
H: ANALOG DAC Output,
L: Digital Output
H: Volume control valid,
L: Volume control invalid
H: Auto Play OFF ,
L: Auto Pla
H: Normal Operation
L: USB Test Packet Output
Device (Have 2 configuration
or more) connection’s
interruption output terminal
Pull-up to 3.3V system power
supply (for TEST
Pull-up to 3.3V system power
supply (for TEST
Connect to 3.3V
System Power Suppl
Pull-up to 3.3V system power
supply (for TEST
Pull-up to 3.3V system power
supply (for TEST
41 XOUT_PLL E O - Connect to X'tal 16.9344MHz←
42 VSS_PLL - - - Connect to GND ←
43 DAVSS - - - Connect to GND ←
44 RDACO F O - Audio DAC Line Output Rch←
45 VCDACO F O -
Audio DAC
Reference Voltage Output
46 LDACO F O - Audio DAC Line Output Lch ←
47 DAVDD - - -
48 AMUTE G O -
Connect to 3.3V
System Power Suppl
Audio Mute Output
H:Mute Cancel, L:Mute
49 LED_ERROR B O - Error LED Output TEST9 IPU
50 LED_PLAY B O - Play LED Output TEST10 IPU
51 LED_PSD B O - Play SD Card LED Output TEST11 IPU
52 LED_PUSB B O - Play USB LED Output TEST12 IPU
53(*3) LED_ACCESS B O - Memory Access LED Output
LRCK
/SPDIF(*4)
54(*3) LED_RANDOM B O - Random Play LED Output BCK(*4)
55(*3) LED_REPEAT B O - Repeat Play LED Output DATA(*4)
56 TEST13 - I PU
57 DVDD_M1 - - -
Pull-up to 3.3V system power
supply (for TEST
Connect to
Bypass Condense
I/O
(*4)
I/O
(*4)
I/O
(*4)
58 TEST14 F I - Connect to GND ←
59 TEST15 - I -
60 TEST16 - I -
61 TEST17 - I -
Pull-up to 3.3V system power
supply (for TEST
Pull-up to 3.3V system power
supply (for TEST
Pull-up to 3.3V system power
supply (for TEST
62 DVSS - - - Connect to GND ←
63 TMODE H I - Connect to GND ←
64 DVDDIO - - -
Connect to 3.3V
System Power Suppl
*1 When L is input, Pull-UP turns OFF.
*2 When SD I/F is disused, pull-up to 3.3V system power supply.
*3 Enabled/Disabled can be selected using commands.
This pin becomes output and pull-up is OFF, only when 12MHz clock output is enable.
*4 In STAND ALONE MODE (MODE1),
When ANALOG DAC output is selected (SEL_DOUT=H), LED output is enabled.
When the Digital output is selected (SEL_DOUT=L), the I2S format audio output is enabled.
In SLAVE MODE (MODE2, MODE3),
When the ANALOG DAC output is selected (SEL_DOUT=H), these pins are TEST terminals.
When the Digital output is selected (SEL_DOUT=L), you can select I2S format audio output or digital audio
interface output (SPDIF).
See Chapter Ⅴ.4 for further information.
Technical Note
←
←
←
Pull-up to 3.3V system
power suppl
Pull-up to 3.3V system
power suppl
Pull-up to 3.3V system
power suppl
Pull-up to 3.3V system
power suppl
To disable a reset signal, continue L input for more than 5 us after all of the supply voltage reach the specified value and
clock input from the oscillation I/O terminal becomes stable. (See Figure V.1.)
Power
supply
XIN_PLL
RESETX
’tal (16.9344 MHz) connection
input terminal
’tal (16.9344 MHz) connection
terminal
Oscillation stabilization
standby time
Technical Note
clk
f
Clock frequency
Reset L interval
V.2 SEL_SLAVE
MODE1/MODE2, 3 selection input signal
Signal name I/O Function Remarks
SEL_SLAVE I Selects MODE1 or MODE2, 3. H: MODE1, L: MODE2, 3
V.3 SEL_MP3
Signal name I/O Function Remarks
SEL_MP3 I MPEG Audio Layer selection
tRSTX
Figure V.1 Reset Timing
Specification
Item Symbol
f
CLK
t
RSTX
min typmax
16.9302 16.9344 16.9386 MHz
5 - - us
Unit Remarks
SEL_SLAVE selects MODE1 (STAND ALONE MODE) or MODE 2/3 (SLAVE MODE).
By selecting SEL_SLAVE, SLAVE mode terminal setting shown in Table II.2 is enabled.
SEL_SLAVE is set only at power ON. Note that change of selection after power ON is ignored.
MPEG Audio Layer 1, 2, 3 play selection signal
H: Can play MP3 only. L: Can play MP1, MP2 and
MP3.
SEL_MP3 allows you to select the layer of the MPEG audio to be played. When enabling all the files having mp1,
mp2 or mp3 as the file extension to be played, enter L. When enabling mp3 only, enter H.
SEL_MP3 is set only at power ON. Note that change of election after power ON is ignored.
SEL_DOUT I Audio output selection H: Line output, L: I2S 3 lines serial output/SPDIF
This SEL_DOUT selects audio output signal.
Table V4.1 “Audio output” shows the audio outputs for each MODE.
Also table V4.2 ”I2S_fs” shows the I2S output formats for each MODE.
For command, see Chapter VI.
"TEST terminal" needs to be pull-up to 3.3V power supply.
Technical Note
TableV.4.1 Audio output
Pin No.
44Line Out RchO OF
46Line Out LchO OF
53LED_ACCESSO OF
54LED_RANDOMO OF
55LED_REPEATO OF
V.5 SEL_VOL
MODE1MODE2,3
SEL_DOUT=HSEL_DOUT=LSEL_DOUT=H
functionI/O PUfunctionI/O PUfunctionI/O PUfunctionI/O PUfunctionI/O PU
HiZO OFFLine Out RchO OFFHiZO OFFHiZO OFF
HiZO OFFLine Out LchO OFFHiZO OFFHiZO OFF
I2S LR CLOCK O OFFTEST terminalION I2S LR CLOCKO OFFSPDIFO OFF
I2S BIT CLOCK O OFFTEST terminalI ON I2S BIT CLOCK O OFF TEST terminalI OFF
I2S LRDATAO OFFTEST terminalIONI2S LRDATAO OFF TEST terminalI OFF
SEL_DOUT=L
I2SSPDIF ON
Table V.4.2 I2S_fs
MODE1 32fs
MODE2/3 Can select 32fs, 48fs, 64fs by command.
SEL_DOUT is set only at power ON. Note that change of selection after power ON is ignored.
SEL_VOL selects whether sound volume operation is to be enabled or disabled.
Sound volume operation is enabled when SEL_VOL=H.
Initial value of audio output is -24.1dB at power ON.
Sound volume operation is disabled when SEL_VOL=L. Audio output is fixed to 0dB.
Figure V.5 shows the relationship between audio output and sound volume step.
SEL_VOL is set only at power ON. Note that change of selection after power ON is ignored.
Auto play selection signal at power ON/device recognition
Signal name I/O Function Remarks
SEL_APLAY I
SEL_APLAY selects whether the audio data in the memory is to be automatically played when a memory device
(USB memory or SD card) is inserted at power ON or when the system recognizes the memory device inserted.
SEL_APLAY can be selected only in MODE1. Since selection of SEL_APLAY is ignored in MODE2/3, select it
from Pull-up. When MODE2/3 is selected, audio data is halted after the system recognizes a device.
V.7 SEL_UTPKT
USB test packet
Signal name I/O Function Remarks
SEL_UTPKT I USB test packet send H: Disabled, L: USB test packet send
A test packet signal is output from USB_DP terminal or USB_DM terminal when L is set to SEL_UTPKT at power
ON.
Once enabled, SEL_UTPK keeps that state regardless of operation modes and sends out a test packet.
A test packet signal is continuously output until power turns OFF. Use SEL_UTPKT when evaluating the USB
terminal. In other cases, use it from Pull-up.
V.8 Audio output
Audio output
Signal name I/O Function Remarks
LDACO O Lch audio line output -
RDACO O Rch audio line output -
These signals are decoded MP3 music audio data line outputs.
They turn ON when the line output is selected by SEL_DOUT terminal.
V.9 MUTE control output
Audio MUTE
Signal name I/O Function Remarks
AMUTE O Audio mute control terminal H: At audio output, L: At mute
This is a control terminal to mute audio output at power ON or FF/FB (silence).
This terminal outputs H at audio output and L at mute.
Figure Ⅴ.9 shows the operation waveform.
Auto play selection signal at
device recognition
Technical Note
H: Stop after recognizing device, H: Play after
recognizing device
Configure a circuit for the matrix signals terminals for KEY commands as shown in the applied circuit diagram
V.10.
The operation corresponding to the key pressed over the circuit is performed.
Details of each operation are explained in Chapter VI.2.
Technical Note
-
KEY matrix I/O signal
REPEATRANDOM CHG_DEV+10
VOL+FOL-FOL+VOL-
V.11 I2C interface format
I2C serial interface
Signal name I/O Function Remarks
SCL I I2C interface clock input -
SDA I/O I2C interface data I/O -
A0 I Slave address selection terminal Slave address [0] bit setting terminal
A1 I Slave address selection terminal Slave address [1] bit setting terminal
This is an I2C serial interface terminal. By inputting L to SEL_SLAVE terminal, the interface terminal becomes
enabled.
The terminal supports slave I2C operation.
V.11.1 I2C protocol
When I2C bus is in IDLE, SDA and SCL are set to H by the external Pull-up resistance. When starting
communications, the master sets SDA to L while SCL is set to H (Start condition). When ending communications,
the master sets SDA to H while SCL is set to H (Stop condition). During transfer, SDA is changed only when SCL
is set to L. Figure V.11.1 shows Start condition, Stop condition of I2C.
An I2C bus slave address corresponds to the 7-bit addressing mode. As shown in Table V.11.2, you can select
the slave address using input of A0 terminal and A1 terminal. Figure V.11.2 shows the slave address transfer
format.
A = Acknowledge(SDA low)
A = No Acknowledge(SDA high)
S = Start Condition
P = Stop condition
Figure V.11.3 Command send protocol
V.11.4 Read protocol to master
To send reception data using an I2C bus from the slave to the master, follow the transfer protocol shown in Figure
V.11.4.1. First, transfer the status read command (step1). Then, input SCL clock of required bytes in step 2 to
read the status.
When the device is BUSY at reception of device status or memory data, the I2C bus may possibly be occupied by
the device during BUSY. This LSI transfers the bus to the master so as not to generate such bus occupation.
However, as a BUSY state still exists inside of the system, appropriate data may not be transferred during BUSY.
Therefore, the first byte of transfer data (Step2) is used to judge the transfer data is enabled/disabled. When
specifying addresses from the master to the slave and the first byte of the transfer data immediately after data
transfer is required is 0x00, transfer data from the slave is enabled. If the first byte is 0xFF, it shows the BUSY
state. Therefore, the transfer data should be disabled. If this happens, retry command transfer at Step 1 to read
out the status.
Figure V.11.4.2 shows the relationship between the transfer data and BUSY.
* For further information on BUSY, see Chapter V.17.
Figure V.11.4.2 Relationship between Transfer Data and BUSY
V.11.5 I2C Bus line electrical specification and timing
SDA and SCL bus-line characteristic (Unless specified, Ta=25℃, Vcc=3.3V)
Parameter Code Min. Max. Unit
1 SDA, SCL H input voltage VIH VDD*0.7 VDD V
2 SDA, SCL L input voltage VIL DVSS VDD*0.3 V
3 SDA H output voltage VOH VDD-0.4 VDD V
4 SDA L output voltage VOL 0 0.4 V
5 SCL clock frequency fSCL 0 400 kHz
Bus-free-time between "Stop" condition and
6
"Start" condition
Hold time for "Start" condition
7
After this, the first clock pulse is generated.
tBUF 1.3 - us
tHD;STA 0.6 - us
8 LOW status hold-time of SCL clock tLOW 1.3 - us
9 HIGH status hold-time of SCL clock tHIGH 0.6 - us
10 Data-hold-time tHD;DAT 0* - us
11 Date-setup-time tSU;DAT 100 - ns
12 Rising time of SDA and SCL signal tR 20+0.1*Cb300 ns
13 Fall time of SDA and SCL signal tF 20+0.1*Cb300 ns
14 Setup time of "Stop" condition tSU;STO 0.6 - us
15 Capacitive load of each bus-line Cb - 400 pF
The above-mentioned numerical values are all the values corresponding to V
*To exceed an undefined area on falling edged of SCL, transmission device should internally offer the hold-time of 300ns or more for SDA signal (V
signal).
Because the "Repeated Start" condition to send "Start" condition without sending "Stop" condition doesn't correspond, after sending "Start" condition, always
send "Stop" condition.
Neither terminal SCL nor terminal SDA correspond to 5V tolerant.
This is a serial audio interface terminal. By inputting L to SEL_DOUT terminal, the interface terminal becomes
enabled. When selecting the I2S serial audio output, the output format varies depending on MODE. *See
Chapter Ⅴ.4. MODE2 allows you to select 32fs, 48fs or 64fs. *See Chapter V.4.
Figures V.12.1. V12.2 and V.12.3 show the I2S format to be output.
SPDIF output becomes enabled by setting SEL_DOUT terminal to L and setting this condition using the I2C
command. *See Chapter V.4.
Figure V.13 shows the digital audio signal output format.
Source code
Synchronous
preamble
Source code(4-31)
SPDIF output
Technical Note
03411122728293031
Synchronous
preamble
Synchronous
preamble
0 0 0 0 0 0 0 0 1 0 1 1 0 1
all 0Audio data(16bit)
(B pattern)
(M pattern)
(W pattern)
LSBMSB
Figure V.13 SPDIF Output Format
V U C P
A sub-frame of SPDIF is composed of synchronous preamble, 16-bit audio data, V bit (validity flag), U bit (user
data), C bit (channel status) and P bit (parity bit).
Output rate is fixed to 1X speed.
SPDIF outputs synchronous preamble (source code 0-3) as it is and others (source code 4-31) as bi-phase output.
It outputs L while the operation is stopped.
Synchronous preamble and C bit use 32 frames (≈4.4ms) as one cycle. Table V.13.1 and Table V.13.2 show
these formats. V bit is fixed to L. U bit uses 98 frames (≈13.3ms) as one cycle.
P bit is set to 1 if the number of “1s” of source codes 4-30 is odd, and set to 0 if the number is even. Therefore,
the number of source codes which turn to 1 for one data must be an odd value, SPDIF ends with L output and
preamble output always starts in the same direction.
V.14 USB I/F
USB I/O I/F
Signal name I/O Function Remarks
USB_DP I/O USB D+I/O terminal -
USB_DM I/O USB D-I/O terminal -
REXTI O
Differential signals of USB_DP and USB_DM enable communications with USB devices.
REXTI terminals become bias resistance connection terminals of the USB-PHY block.
V.15 SD I/F
SPI interface for SD memory card I/F
Signal name I/O Function Remarks
SD_CS O SPI chip select -
SD_CLK O SPI clock -
SD_DI O SPI data input -
SD_DO I SPI data output -
SD_CON I
These I/F enable communication with SD memory cards through SD memory card slots.
Since SD memory card slot requires detecting insertion of SD memory card, use of slot equipped with SD memory
card detecting terminal and connection to SD_CON terminal are required.
SD_CON terminal is pulled up within the device and detects SD memory card connection by L input.
V.16 MCHNG
Playing sound tune number detection output
Signal name I/O Function Remarks
MCHNG O
This signal outputs change of file to be played during playing MP3 file in the memory device.
MCHNG correctly outputs "H" during MP3 decode sequence, outputs "L" during "STOP" status.
V.17 BUSY
BUSY state detection output
Signal name I/O Function Remarks
BUSY O
This signal outputs to indicate that this LSI is in BUSY.
BUSY signal analyzes commands from the master and outputs H until the operation is executed.
This LSI ignores command input during BUSY. However, only the ABORT and STOP commands can be
accepted even during BUSY, which can be executed. *See Chapter V.11.
CONFIG outputs it for two more device connection state detection.
Signal name I/O Function Remarks
IRPTO O
When the USB device is chosen, output it to show that the USB device that two USB CONFIGURATION
DESCRIPTOR or more has in this LSI is connected. The timing of an output is dependent on the connected USB
device.
V.19 TEST terminal
By the terminal setting of TEST15, TEST16 and TEST17, It is possible to following function.
TEST15 TEST16 TEST17 Function
H H H Full function effective
L L L Only WMA and MP3 can play-back. The AAC file is disregarded.
H L L The IRPTO function is invalidated.
USB CONFIG outputs it for two
more device connection state
detection.
· This function supports FAT16 and FAT32 file systems. (It does not support NTFS and FAT12.)
· The maximum number of playable files per folder
The number of files described above contains files other than AAC/WMA/MP3 and folders. If those nonAAC/WMA/MP3 files and folders exit within the folder and exceed the maximum number, all the AAC/WMA/MP3
files may not be played.
· Files less than 100 can be sorted by UNICODE in the FAT order within the folder. Files over 100 are sorted
in the FAT order. Also, the folders can be sorted in the same manner and those over 100 are sorted in the
FAT order.
· The searchable folder hierarchy is of 8 layers containing the root folder. Figure VI.1.1 shows an example of
memory layers.