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 ←
41 XOUT_PLL E O - Connect to X'tal 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
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
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
SEL_DOUT=HSEL_DOUT=LSEL_DOUT=H
functionI/O PUfunctionI/O PUfunctionI/O PUfunctionI/O PUfunctionI/O PU
SEL_DOUT is set only at power ON. Note that change of selection after power ON is ignored.
V.5 SEL_VOL
Sound volume operation selection signal
Signal name I/O Function Remarks
SEL_VOL I Sound volume operation
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.
MODE1MODE2,3
SEL_DOUT=L
I2SSPDIF ON
HiZO OFFLine Out RchO OFFHiZO OFFHiZO OFF
HiZO OFFLine Out LchO OFFHiZO OFFHiZO OFF
I2S LR CLOCKO OFFTEST terminalION I2S LR CLOCKO OFFSPDIFO OFF
I2S BIT CLOCK O OFFTEST terminalION I2S BIT CLOCK O OFF TEST terminalI OFF
I2S LRDATAO OFFTEST terminalIONI2S LRDATAO OFF TEST terminalI OFF
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
REPEATRANDOMCHG_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
Digital audio interface
03411122728293031
Synchronous
preamble
Synchronous
preamble
all 0Audio data(16bit)
(B pattern)
(M pattern)
(W pattern)
0 0 0 0 0 0 0 0 1 0 1 1 0 1
LSBMSB
Figure V.13 SPDIF Output Format
Technical Note
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
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.
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.
Technical Note
Table V.13.3 U Bit Format
L0 R0 L1 R1 L2 R2 L3 R3 L4R4 L5 R5
0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0 0
2 1 0 0 0 0 0 0 0 0 0 0 0
3 1 0 0 0 0 0 0 0 0 0 0 0
: : : : : : : : : : : : :
97 1 0 0 0 0 0 0 0 0 0 0 0
USB bias resistance connection
terminal
SD card connect detection
terminal
These I/F enable communication with SD memory cards through SD memory card slots.
SD_CON terminal is pulled up within the device and detects SD memory card connection by L input.
· 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.
2-a) When character-code that appears first is ≧0x80 ,It’s treated as the first byte of two byte character. Byte
Technical Note
The playable file extensions are *.M4A, *.3GP and *.MP4 for AAC files, *.WMA and *.ASF for WMA files, *.MP3,
*.MP2 and *.MP1 for MP3 files. (Upper case letters and lower case letters are not distinguished.) Note that
the file operation differs in the following cases:
(1) SEL_MP3: See SEL_MP3 for details.
(2) Attribute: A AAC/WMA/MP3 file whose attribute is masked can be played. A file with system attributes
cannot be played.
(3) Data destroyed file: When the data section of AAC/WMA/MP3 file is destroyed, the music data of the file
can be played as much as possible rather than disabling to play the entire file. The section which cannot
be played is muted. However, AMUTE terminal remains the H output level. When the header section of
WMA and AAC file is destroyed, it plays next.
(4) File name: A file name and its size do not depend on playing.
(5) Extension: When file data is configured in the non-AAC format and its file extension is *.M4A, *.3GP and
*.MP4 the state is play next. When file data is configured in the non-WMA format and its file extension is
*.WMA, or *.ASF, the state is play next. When file data is configured in the non-MP3 format and its file
extension is *.MP3, *.MP2 or *.MP1, the state is silent playing basically. If playable data can be read, only a
part of the file can be played. The information on time required to output serial status also becomes
uncertain. Then, partial output is done but the correct time information is not output.
(6) File size: When file size is “0”, the file do not recognize at AAC/WMA/MP3 files.
(7) This LSI corresponds to the AAC file encoded by iTunes. The versions of iTunes checked operation are 4.*,
5.*, 6.*, and 7.0 to 7.5. The AAC file encoded with other software may cause fault, such as being in the
middle of reproduction and skipping to next.
(8) When the extension of WMA file is *.ASF, this LSI corresponds to the ASF file of only an audio stream.
The playing sequence of AAC/WMA/MP3 files is determined based on the following rules. See Figure VI.1.3.
(1) Folders are sorted in the order written in FAT (in the order of FAT), and files 1 to 100 are sorted in the order
of UNICODE. (*See Chapter VI. 1.4.) Files over 100 are sorted in the order of FAT. Folders over 100
are sorted in the same manner.
AAC/WMA/MP3 files are sorted by AAC/WMA/MP3 following SEL_MP3. Folders are sorted including null
folders and those in which AAC/WMA/MP3 files are not written. Within each folder, AAC/WMA/MP3 files
over 100 and folders over 100 are played in the order written to the FAT directory entry.
Since how to write to the directory entry depends on the OS (Operating System) processing to write to the
memory, you cannot understand the file playing sequence.
(2) When AAC/WMA/MP3 file exists in the root folder (the highest layer), the AAC/WMA/MP3 file is played first.
(3) When all the AAC/WMA/MP3 files in the root folder have been played, those in the folder under the root
folder, if any, are played.
(4) When a folder is layered under that, AAC/WMA/MP3 files in the folder are played. When not, the master
searches any other folders at the same layer and plays the one, if any.
(5) After playing all the files, the master returns to the root folder as described in (2) and start playing with the
first sorted file.
Folders and files are sorted in the following sequence using this LSI.
(1) Obtain up to 100 files and 100 folders in the order written to FAT.
(2) Compare the obtained folder/file names up to 14 characters (including filename extensions) and sort them
in the ascending order.*
(3) When the same strings are generated, follow the order written to FAT. When the same strings are
generated and the extension is different, MP3 file is first, WMA file is second, and AAC file is last.
(4) For 101 or more folders and files, follow the order written to FAT.
*The processing of the file name and the folder name is shown in the following.
1)When the LFN(long file name) entry exists, folder/filename is processed as one character in two bytes.
2)When the LFN entry doesn't exist, the SFN(short file name) entry is processed as follows.
data afterwards is treated as the second byte of two byte character-code, and treated by two bytes as one
character.
2-b) When the case that doesn't apply to 2-a) ,that is, the character-code appears first is installed within
the range of 0x00-0x7F(US-ASCII) One byte is treated as one character. '0x00' is added and
enhanced to Unicode.
Please confirm the specification of the FAT filesystem about details of LFN and SFN.