●Description
BU94705AKV is MP3 encoder + WAV/AAC/WMA/MP3 decoder IC which contains
program download function from external serial Flash ROM and contains USB host, SD card I/F,
CD-ROM I/F, audio DAC, system controller, regulator for internal CORE power supply.
For using of this LSI, it is necessary to become a licensee of Apple Inc. regarding "Made for iPod/iPhone/iPad License".
●Features
1) USB2.0 Full Speed host I/F function contained.
2) SD card I/F function contained.
2
3) I
4) MP3 encode function contained. (available for MPEG1, Layer3, support up to 2X input speed)
5) MP3 decode function contained. (available for MPEG1, 2 and 2.5, Layer 1, 2 and 3)
6) WMA decode function contained. (available for WMA9 standard and not available for DRM)
7) AAC decode function contained. (available for MPEG4 AAC-LC and not available for DRM)
8) WAV format file playing function contained.
9) Sample Rate Converter contained.
10) System Controller contained.
11) FAT analysis function contained.
12) CD-ROM I/F function and CD-ROM decode function contained.
13) Browsing function of other File Names, Folder Names on music playing contained.
14) ID3TAG and WMATAG and AACTAG Analysis.
15) Fast forward playing and fast backward playing function contained.
16) KEY function can control. (STAND ALONE MODE)
17) External processor can control. (SLAVE MODE)
18) Resume function contained.
19) Audio DAC contained.
20) Sound Effect function contained.
21) Digital Audio Out(I
22) Digital Audio Input(I
23) Program download function from external serial Flash ROM contained.
24) Regulator for internal CORE power supply contained.
XIN_PLL I X'tal (16.9344MHz) connection input terminal
XOUT_PLL O X'tal (16.9344MHz) connection terminal
Reset
Signal name I/O Function Remarks
RESETX I System reset input terminal
Please release the reset signal continue L input for more than 100 us after clock input from the oscillation I/O terminal
becomes stable. (See Figure 5.1.)
Power
supply
XIN_PLL
RESETX
Item Code
W aitin g tim e fo r
oscillation stabilization
min typ max
clk
f
tRS T X
Figure 5.1 Reset Timing
Rating
Technical Note
Unit Remarks
Clock frequency f
Reset L interval t
16.9302 16.9344 16.9386 MHz
CLK
100 - - us
RSTX
5.2 SEL_SLAVE
MODE1/MODE2 selection input signal
Signal name I/O Function Remarks
SEL_SLAVE I Selection between MODE1 and MODE2 H: MODE1, L: MODE2
SEL_SLAVE allows you to select MODE1 (Stand-alone Mode) or MODE2 (Slave Mode).
SEL_SLAVE is set only at power ON. Note that selection change will be ignored after power ON.
5.3 SEL_MP3
MPEG Audio Layer 1, 2 and 3 play selection signal
Signal name I/O Function Remarks
SEL_MP3 I MPEG Audio Layer selection H: Only MP3 is playable. L: MP1,MP2 and MP3 are playable.
SEL_MP3 allows you to select the layer of MPEG audio to be played. It is available in MODE1 only.
Enter L to make all the files having file extensions of mp1, mp2 and mp3 playable.
Enter H to play mp3 file only.
SEL_MP3 is set only at power ON. Note that selection change will be ignored after power ON.
SEL_DOUT I Audio output selection H: Line output, L: I2S three-line serial output
SEL_DOUT selects the audio output signal. It is available in MODE1 only.
Audio outputs in each MODE are shown in Table 5.4.1 “Audio Output”.
Output formats used in each MODE are shown in Table 5.4.2 “I2S_fs”.
See Chapter 6 for commands.
Because TEST terminal is an output terminal, use it as OPEN.
Pin.
53 Line Out Rch HiZ Line Out RchHiZ HiZ
55 Line Out Lch HiZ Line Out LchHiZ HiZ
65 LED_ACCESS I2S LR CLOCKTEST terminalLR CLOCK SPDIF
66 LED_RANDOM I2S BIT CLOCKTEST terminalBIT CLOCK TEST terminal
67 LED_REPEAT I2S LRDATA TEST terminalLRDATA TEST terminal
SEL_DOUT is set only at power ON. Note that selection change will be ignored after power ON.
5.5 SEL_VOL
Volume control selection signal
Signal name I/O Function Remarks
SEL_VOL I Volume control selection H: Volume control ON, L: Volume control OFF
SEL_VOL allows you to select volume control ON/OFF. It is available in MODE1 only.
When SEL_VOL=H, volume control becomes enabled.
The initial value is –25.6dB at power ON.
When SEL_VOL=L, volume control becomes disabled. Audio output is fixed to 0 dB.
Figure 5.5 shows the relationship between audio outputs and volume steps.
SEL_VOL is set only at power ON. Note that selection change will be ignored after power ON.
5.6 SEL_APLAY
Auto play selection signal at power ON and at 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
is selectable in MODE1 only.
In MODE2, the operation stops after device recognition. Use a command to select the operation.
5.7 SEL_UTPKT
USB test packet
Signal name I/O Function Remarks
SEL_UTPKT I USB test packet send H: Invalid, L: USB test packet send
When L is input in SEL_UTPKT at power ON, test packet signals are output from USB_DP and USB_DM terminals.
SEL_UTPKT is available in MODE1 only.
Test packet signals are continuously output until the power is turned OFF. You can use this signal to evaluate the
USB terminal. In other cases, you can use it with Pull-up.
5.8 USB I/F
USB I/O interface
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 USB bias resistor connection terminal Connect a resistor of 12 kΩ±1% to GND.
This interface communicates with the USB device using USB_DP and USB_DM differential signals.
REXTI terminal is used to connect to the bias resistor in the USB-PHY block.
5.9 SD I/F
SD memory card SPI interface
Signal name I/O Function Remarks
FL_CS O Serial flash ROM chip select -
SD_CS O SD chip select -
SD_CLK O SPI clock -
SD_DI O SPI data input -
SD_DO I SPI data output -
SD_CON I SD card connect detection terminal
SD_WP I SD card write-protect detection terminal
This interface connects to the SD memory card slot to communicate with the SD memory device.
Since the SD memory card slot needs to detect the insertion status of the SD memory device and the write-protect
status, be sure to use the slot having the SD memory card insertion status detection terminal and the WP terminal and
connect it to the terminals. The SD_CON terminal is pulled up within the device and detects “SD card connect” when
L is input. The SD_WP terminal is pulled up within the device and detects “SD card no-write-protect” when L is input.
SD I/F is also used as an external serial flash ROM I/F.
5.10 Audio line output
Audio line output
Signal name I/O Function Remarks
LDACO O Lch audio line output -
RDACO O Rch audio line output -
This is a line output of decoded music data.
Auto play selection at device
recognition
Technical Note
H: Stop after device recognition,
L: Play after device recognition
H: Do not detect SD card connect,
L: Detect SD card connect
In MODE1, the output turns ON when SEL_DOUT terminal is selected. In MODE2, it turns ON when line output is
selected by a command.
5.11 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 control terminal is used to mute audio output when power is ON or in the silence mode such as FF or FB.
It outputs H at audio output and L at mute.
Figure 5.11 shows the operation waveforms.
At start of playAt stop of play
AMUTE
23 ms at 0dB
LDACO, RDACO
Figure 5.11 Waveform at Audio Mute
5.12 Serial audio output
Three-line serial audio interface
Signal name I/O Function Remarks
LRCK O LR clock output (fs=44.1kHz) -
BCK O Bit clock output -
DATA O Data output -
This is a serial audio output interface terminal. In MODE1, it becomes enabled by inputting L to SEL_DOUT terminal.
In MODE2, it becomes enabled by using the appropriate command.
When serial audio output is selected, the data is output in I2S format of 32fs in MODE1. In MODE2, the output format
can be selected from the EIAJ format or I2S format of 32fs, 48fs or 64fs.
Figures 5.12.1, 5.12.2, 5.12.3, 5.12.4, 5.12.5 and 5.12.6 show the output formats.
SPDIF output become enabled by setting it in MODE2 using the appropriate command.
Figure 5.13 shows the digital audio signal output format.
03411122728293031
Source code
Synchronous
preamble
Source code(4-31)
SPDIF output
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
V U C P
Figure 5.13 SPDIF Output Format
One sub frame of SPDIF consists of synchronous preambles, 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 preambles (source code 0-3) as they are, and other elements (source code
4-31) as the biphase output. While the operation stops, L output is enabled.
Synchronous preambles and C bit use 32 frames (≈4.4 ms) for one cycle. The data formats are shown in
Tables 5.13.1 and 5.13.2. V bit is fixed to L. U bit uses 98 frames (≈13.3 ms) for one cycle.
P bit is set to 1 if the number of “1” contained in source codes 4-30 is odd, and set to 0 if the number is even.
Therefore, the number of source codes to be set to 1 for one data must be even, SPDIF ends with L output,
and preamble output always starts in the same direction.
Configure the circuit of the matrix signal terminal for KEY commands as shown in Application Circuit Diagram in
Figure 5.14.
The interface performs the operations for KEY pressed in this circuit.
Chapter 6 in this document details each operation.
Technical Note
-
KEY matrix I/O signals
5.15 I2C command interface
Slave I2C serial interface
Signal name I/O Function Remarks
SCL I I2C interface clock input External pull-up resistor is required.
SDA I/O I2C interface data I/O External pull-up resistor is required.
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 to communicate with the microcomputer (master).
The interface becomes enabled by inputting L in SEL_SLAVE terminal (in MODE2).
It supports slave I2C operations.
5.15.1 I2C protocol
When the I2C bus is in the IDLE state, SDA and SCL are set to H by the external Pull-up resistor.
To start communications, the master sets SDA to L while SCL set to H (Start condition). To finish
communications, the master sets SDA to H while SCL set to H (Stop condition). During transfer, the master
changes SDA only while SCL is L. Figure 5.15.1 shows Start condition, Stop condition of I2C.
I2C bus slave addresses support the 7-bit addressing mode. By inputting to terminals A0 and A1, the bus slave
address can be selected as shown in Table 5.15.2. Figure 5.15.2 shows the slave address transfer format.
5.15.3 Protocol to write from the master
When sending commands from the master using the I2C bus, be sure to conform to the transfer protocol shown
in Figure 5.15.3. For details on each command, see Chapter 6.
5.15.4 Protocol to read to the master
When sending the received data from the slave to the master using the I2C bus, be sure to conform to the transfer
protocol shown in Figure 5.15.4.1. First, transfer the status read command (step1). Then, input SCL clock of
required bytes in step2 to read the status.
If the device status is BUSY when receiving the device status or the data within the memory, the I2C bus may be
occupied by the device in BUSY. This LSI transfers the data to the master to avoid such occupation of the bus.
However, as the BUSY status still exists internally, the proper data may not be transferred in BUSY. To cope with
this situation, the first byte of the transfer data (step2) is used to judge whether the transferred data is valid or
invalid. After addressing from the master to the slave, if the 0 bit of the first byte of the transfer data immediately
after requiring the data transfer is 0, the data transferred from the slave is valid. If the 0 bit of the first byte is 1, it
shows the BUSY status. Thus, judge all the transferred data to be invalid. If this happens, retry Step1 to send
commands to read the status.
The first byte of the transferred data (step2) can be readable as the BUSY byte even without sending the status
read command (step1). In addition, internal statuses other than BUSY shown in Table 5.15.4 can be read.
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
IH min
and V
IL max
level.
*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
of SCL signal).
IH min
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.
BUSY O BUSY status detection output signal H: Busy, L: Not Busy
This is output to indicate that the LSI is in the BUSY status.
A BUSY signal outputs H untill analyzing a command from the master and starting the command operation.
This LSI ignores command input during BUSY.
5.17 MCHNG
Tune number change detection output
Signal name I/O Function Remarks
MCHNG O Tune number change detection output signal H: During playing, L: At the end or stop of tune
This signal outputs the information which tells that the file within the memory is being played or the file to be
played is changed.
Precisely, the signal outputs H during the internal decode sequence operation, and L at stop of the operation.
5.18 SEARCH
SEARCH status detection output
Signal name I/O Function Remarks
SEARCH O SEARCH status detection output signal H: SEARCH, L: Not SEARCH
This is output to indicate that the LSI is in the SEARCH status.
A SEARCH signal becomes H at the time of memory mount, file search, TAG analysis and TOC analysis.
The LSI ignores command input during SEARCH. However, it can accept only ABORT, STOP and staus read
commands even during SEARCH and can execute them command.
5.19 IRPTO
Interrupt output to microcomputer
Signal name I/O Function Remarks
IRPTO O Interrupt output to microcomputer H: Interrupt, L: Not Interrupt
This is output to indicate that the LSI is now requiring interruption to the microcomputer.
Change from L to H shows that an interruption has occurred.
5.21 CD INPUT interface
Three-line serial audio input interface
Signal name I/O Function Remarks
LRCKI I LR clock input -
BCKI I BIT clock input -
SDATAI I Data input -
INREQI I Input data valid H: Input data valid, L: Input data invalid
BFULLO O Internal buffer FULL output H: Internal buffer FULL, L: Not FULL
This is a three-line serial audio input interface terminal from a CD.
The interface is available in MODE2.
The data input from the interface is encoded in the MP3 or WAV format and written to the memory.
4X max input speed supports. However, since encoding speed is 2X max, more than in 2X input speed, handling
of a buffer FULL output generates it.
(Buffer FULL outputs depend also on a write-in speed for every memory.)
5.21.1 Input format
You can select the input format from the EIAJ format and I2S format of 16 bits.
You can select the BIT clock from 32fs, 48fs and 64fs.
You can select the input sampling frequency from 32 kHz, 44.1 kHz and 48 kHz.
Perform the required settings using commands before inputting data.
5.21.2 INREQI
INREQI inputs H from the microcomputer when the input data is valid.
When INREQI=H and BFULLO=L, the IC fetches the input data to the internal buffer.
5.21.3 BFULLO
BFULLO outputs H when the internal buffer becomes FULL because the data input speed is too fast to manage
the internal encoding.
When BFULLO=H, the microcomputer obtains the current play position of the CD and set to INREQI=L. After
finding BFULLO=L, reduce the CD rotation speed and then perform comparison connection or retry encoding
starting from the top of the tune.
When INREQI=H and BFULLO=L, the IC fetches the input data to the internal buffer.
5.22 Serial interface
Slave SPI serial interface
Signal name I/O Function Remarks
SS_CS I Slave SPI chip select input -
SS_CLK I Slave SPI clock input -
SS_DI I Slave SPI data input -
SS_DO O Slave SPI data output -
This is a slave serial SPI interface terminal.
The interface is available in MODE2. It supports the SPI format (MODE0,1,2 and 3).
You can select the data width from 8, 16 and 32 bit.
An input clock is 2MHz at the maximum.
The interface is available to read and write the specific file data from/to the memory.
SEL_USB I Preference device detection selection signal H: USB, L: SD
The signal selects which device should be detected with the highest priority at power ON.
When SEL_USB=H, the microcomputer detects the preference device from USB. When SEL_USB=L, it detects
the preference device from SD.
SEL_USB is set only at power ON only. Note that selection change will be ignored after power ON.
- The file search function supports file system of FAT32, FAT16 and FAT12. (NTFS is not supported.)
- The number of maximum playable files per folder follows the specification of FAT.
The number of files described above includes folders and files other than playable files (WAV/AAC/WMA/MP3).
Thus, if non-playable files or folders contain in the above folders and the number of total files exceeds the
maximum limit, all the playable files may not be played.
- Less than 100 files in the order of FAT within each folder are sorted according to UNICODE. More than 100
files, if any, will be sorted in the FAT order. The same rule is applied when sorting sub-folders. More than 100
sub-folders, if any, will be sorted in the FAT order. In MODE2, a sorting function can be selected valid or invalid
with a command. In MODE1, a sorting function is always effective.
- The folder hierarchies up to 16 hierarchies whose full path including the file name is within 260 characters can be
searched.
6.1.2 Playable file
The playable file extension is *.WAV for the WAV file, *.M4A, *.3GP and *.MP4 for the AAC file, *.ASF and *.WMA
for the WMA file, and *.MP3, *.MP2 and *.MP1 for the MP3 file. (There is no distinction between upper case
letters and lower case letters.) Note that the file operation differs in the following cases
[1] SEL_MP3: For details, see SEL_MP3.
[2] Attribute: Files with hidden attributes are also playable. Files with system attributes cannot be played.
[3] File name: The file name, including its size, does not depend on playability.
[4] File size: A file with file size "0" is not recognized as a playable file.
6.1.3 File playing sequence
The file playing sequence depends on the following rules when sort function valid. See Figure 6.1.3.
[1] Files of 1 to 100, in the order written to FAT (FAT order) in each folder, are sorted in the order of UNICODE (see
6.1.4). Files more than 100 are played in the FAT order. The same rule is applied when sorting sub-folders.
MP3 files are sorted for MP3 which conforms to SEL_MP3. All the folders including null ones and those to
which no playable file is written are sorted. If over 100 playable files or sub-folders are contained in the folder,
they are played in the order written to the FAT directory entries.
The writing method of directory entries will not help understand the file play order because the method depends
on the OS operation at writing.
[2] When a playable file exists in the root folder (the top hierarchy), the file is to be played first.
[3] After all the playable files within the root folder have been played, playable files in the folder in the lower
hierarchy, if any, are played.
[4] If another folder exists in the lower hierarchy, playable files within this folder are played. If not, the LSI searches
other folders in the same hierarchy. If another folder exists there, the LSI plays that folder.
[5] After playing all the files, the LSI returns to the root folder as in [2] and play the files starting with the top sorted
6.1.4 Folder/File sort
The LSI sorts the sub-folders and files in the following sequence:
[1] Obtain up to 100 sub-folders and files each in the order written to FAT within selected folder.
[2] Compare the obtained folder/file names for 14 characters (28 bytes) from the beginning in UNICODE (2-byte
character) and sort them in the ascending order. *
[3] If there are files/folders with same character strings: follow the order of MP3, WMA, AAC and WAV when the
extension is different; and, otherwise, follow the order written to FAT.
[4] 101 or more files or sub-folders follow the order written to FAT.
* The processing of the file name and the folder name is shown in the following.
1) When a LFN (long file name) entry exists, 2 bytes are treated as one character.
2) When no LFN entry exists, the SFN(short file name) entry is processed as follows.
2-a) When the first appeared character code is within the range of 0x00-0x7F (US-ASCII), the LSI treats one byte
2-b) For a case other than 2-a), practically, the LSI treat these 2 bytes as one character.
*For details on LFN and SFN, see the FAT file system specifications.
Technical Note
as one character, and adds '0x00' to the upper of the character to expand the entire character to an
UNICODE.
[Root
Folder]
E.mp3
F.mp3
G.mp3
H.mp3
J.mp3
L.mp3
M.mp3
N.mp3
O.doc
P.xls
Q.mp3
S.txt
T.txt
V.mp3
W.mp3
X.mp3
Y.mp3
Z.mp3
A.mp3
B.mp3
C.mp3
D.mp3
A_FOLDER
B_FODER
C_FOLDER
R.txt
D_FOLDER
E_FOLDER
I.mp3
K.mp3
U.mp3
Figure 6.1.3 Example of Folder/File Structure within the Memory Device
6.1.5 Search within multi-drive and multi-partition
If a device is a multi-drive type, the LSI recognizes the drive having the smaller LUN (Logical Unit Number) for the
supporting FAT.
Only one drive is recognized and the other drive is not.
For the multi-partition, the LSI recognizes only the first read FAT-supported partition.
Files in other partitions cannot be read.
6.1.6 External HUB search
When the USB connector is connected to a HUB, and a FAT-supported drive is connected ahead of the HUB at
mounting the USB for this LSI, only one drive is recognized.
The LSI does not support external HUBs, it cannot detect plugging/unplugging of the drive ahead of the HUB after
the USB is mounted.
File to be
ed
pla
-The LSI first starts playing the playable
files in the root folder, if any.
-The files are played in the ascending
order of UNICODE given to each file
name.
-After playing all the playable files in the
root folder, the LSI searches folders in
the lower hierarchy.
-The folders are searched in the
ascending order of UNICODE given to
each folder name.
-After playing all the playable files
including those in A_FOLDER and in its
lower hierarchy, the LSI moves to the
hierarchy in which A FOLDER exists and
searches files.
-In this case, since no playable file exists
in D FOLDER, which is in the same
hierarchy of A_FOLDER, the LSI plays
the playable files in E FOLDER in the
further lower hierarch
6.2.1 Function
For the files judged to be playable through the file search function, the LSI automatically switches the decoder
using the file extension and decodes these files.
Fast forward play and rewinding play operations are available.
Also, repeat play and random play are available.
6.2.2 Playable file formats
6.2.2.1 MP3 file format
This format supports MPEG Audio 1, 2, 2.5 and Layer 1, 2, 3.
It supports sample rates of 8 kHz, 16 kHz, 32 kHz, 11.025 kHz, 22.05 kHz, 44.1 kHz, 12 kHz, 24 kHz and 48kHz.
It supports bit rates of 8 to 320kbps and VBR (Variable Bit Rate).
6.2.2.2 WMA file format
This format supports WMA Ver.9 Standard.
It supports sample rates of 8 kHz, 16 kHz, 32 kHz, 11.025 kHz , 22.05 kHz, 44.1 kHz, 12 kHz, 24 kHz and 48
kHz.
It supports bit rates of 5 to 384kbps and VBR (Variable Bit Rate).
It does not support DRM.
It supports ASF files including audio streams only.
6.2.2.3 AAC file format
This format supports MPEG4 AAC-LC.
It conforms to ITunes and 3GPP TS 26.244.
It supports file types of m4a, mp42 and 3gpX. (X is an arbitrary numeric value.)
ITunes is validated in the following versions: 4.*, 5.*, 6.* and 7.0-7.5.
It supports sample rates of 8 kHz, 16 kHz, 32 kHz, 11.025 kHz, 22.05 kHz, 44.1 kHz, 12 kHz, 24 kHz and 48
kHz.
It supports bit rates of 8 to 320kbps and VBR (Variable Bit Rate).
It does not support DRM.
6.2.2.4 WAV file format
This format supports RIFF WAVE.
It supports sample rates of 8 kHz, 16 kHz, 32 kHz, 11.025 kHz, 22.05 kHz, 44.1 kHz, 12 kHz, 24 kHz and 48k
Hz.
If you try to play a file created in any format other than above, the LSI immediately terminates decoding it.
6.2.3 Playing files having damaged data
If the data section of the MP3 file is damaged, the LSI plays the music data in the possible range instead of
ceasing to play the entire file. It mutes the unplayable section. However, AMUTE terminal remains H output.
If the data section of the WAV file is damaged, noises are output.
The LSI executes other files within the playable range and stops playing. Then, it skips to the next tune.
If a part of the data header is damaged, the LSI immediately terminates playing and skips to the next tune.
If the file’s extension is playable but its file’s data does not have a format supporting to the extension, the LSI
immediately terminates playing and skips to the next tune.
If the file does not have a file format, the LSI immediately terminates playing and skips to the next tune.
However, when the file data is structured in a format other than MP3 and its file extension is *.MP3, *.MP2 or
*.MP1, the LSI plays it in the silence mode basically. However, if the LSI can read any playable data, it plays the
file partially.
In this case, the time information which is output as the serial status also becomes unstable. The time information
is then partially output but you cannot obtain the correct information.
6.2.4 NEXT playing mode and Repeat playing mode
You can select the operation as shown below depending on the next playing mode, repeat mode and random
mode.
Next playing mode
[1] PLAY_NEXT: Automatically searches the next tune after the tune being played ends and starts playing
[2] PLAY_ALL_STOP: After the last tune being played within the memory ends, stops upon completion of search
[3] PLAY_FOL_STOP: After the last tune being played within the folder ends, stops upon completion of
[4] PLAY_TUN_STOP: After the tune being played ends, stops upon completion of search for the next tune.
Repeat mode
[1] REPEAT_ALL: After playing all the tunes within the memory in process, starts playing them from the
[2] REPEAT_FOL: Repeats playing tunes within the folder in process.
[3] REPEAT_TUN: Repeats playing the tune in process.
[4] RANDOM_ALL: Plays the range of 128 files from the current tune being played at random within the
[5] RANDOM_FOL: Plays the range of 128 files from the current tune being played at random within the
Select one operation from next play mode and repeat mode respectively to determine the operation.
When repeat mode is REPEAT_FOL, the PLAY_ALL_STOP becomes invalid, and serves as PLAY_NEXT.
When repeat mode is [3][4][5], the PLAY_ALL_STOP and PLAY_FOL_STOP becomes invalid, and serves as
PLAY_NEXT.
In MODE1, the Next playing mode is fixed to [1] and you cannot select others.
In MODE1, you cannot select the repeat mode [5].
6.2.5 resume playing function
The LSI can read the resume information to the microcomputer in MODE2, the resume playing will be enabled
using this information.
The resume information includes the playing time when it has been read. Thus, in MODE2, the LSI resumes from
previous playing time of the tune.
Resume playing is not supported in MODE1.
Technical Note
the next tune.
for the next tune.
Starts playing the next tune by the play command issued subsequently.
search for the next tune.
Starts playing the next tune by the play command issued subsequently.
Starts playing the next tune by the play command issued subsequently.
KEY SCAN operates in the following sequence on the circuit configuration as shown in Figure 5.14.
[1] KEY_COL1 to 3 output waveforms at timing as shown in Figure 6.3.1.
[2] By pressing the KEY switch, KEY_ROW 1 to 4 are set to L at timing when KEY_COL 1 to 3 are L.
[3] When detecting L input from KEY_ROW 1 to 4 three times, the master judges that KEY has been pressed.
Then, the master starts the KEY operation.
Figure 6.3.2 shows the waveforms when PLAY KEY has been pressed.
1us
1us
1us
20ms
Figure 6.3.1 KEY SCAN Waveforms
20ms20ms20ms20ms20ms20ms
PLAY
KEY_ROW1
KEY_ROW2
KEY_ROW3
KEY_ROW4
KEY_COL1
Determine that the KEY has been pressed and
start the corresponding KEY command.
Figure 6.3.2 Operation Waveforms when KEY is Pressed
6.3.1.2 KEY SCAN (Hold Mode)
KEY SCAN operates in the following sequence on the circuit configuration as shown in Figure 5.14.
[1] KEY_COL1 to 3 output waveforms at timing as shown in Figure 6.3.1.
[2] By pressing KEY switch, KEY_ROW 1 to 4 are set to L at timing when KEY_COL 1 to 3 are L.
[3] When detecting L input from KEY_ROW 1 to 4 three times, the master judges that KEY has been pressed.
Then, the master starts judging status of holded KEY.
[4] When pressed KEY’s decision (L input from KEY_ROW 1 to 4 three times) is detected consecutive 15
times, the master judges that KEY Mode is Hold Mode.
[5] When KEY release is detected in judging status of holded KEY, the master judges that KEY Mode is Single
Mode. Then, the master starts the KEY operation.
[6] When Hold Mode is detected, the master starts the KEY operation in Hold Mode. When KEY release is
detected in Hold Mode, the master finish the KEY operation.
KEYS corresponding to Hold Down operations are FF, FB, VOL+ and VOL-.