ROHM BU94705AKV Technical data

A
AAC/WMA/MP3+SDMemory Card +CD-ROM+MP3 Record
BU94705AKV
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.
25) VQFP80pin(0.5mm pitch)
Applications
Audio products, etc.
C format I/F function contained.
2
S, EIAJ, S/PDIF) function contained.
2
S, EIAJ) function contained.
No.12080EAT07
www.rohm.com
1/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Absolute maximum ratings (Ta = 25℃)
Parameter Symbol Limits Unit Comment
Supply voltage(Analog, I/O) VDD1MAX
Input voltage VIN Storage temperature range TSTG Operating temperature range TOPR Power dissipation *1 PD 900
*1In the case of use at Ta=25 or more, 7.5mW should be reduced per 1. Radiation resistance design is not arranged.
Operating conditions (Ta = 25℃)
Parameter Symbol Limits Unit Comment
Supply voltage(Analog, I/O) VDD1
-0.34.5
DVDDIO, VDD_PLL, DAVDD, AVDDC
-0.3 VDD1 + 0.3
-55125
-4085
mW
3.03.6 V DVDDIO,VDD_PLL,
DAVDD, AVDDC
Technical Note
www.rohm.com
2/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Technical Note
1. Electrical characteristics
Unless specified, Ta=25℃、VDD1=3.3V, DVSS=AVSSC=VSS_PLL=DAVSS=0V, XIN_PLL=16.9344MHz)
Parameter Symbol
MIN. TYP. MAX.
Limits
Unit Condition
<Total > Circuit current (VDD1 USB1) IDD1USB1
- 60 90
mA *1 When USB memory is played. Circuit current (VDD1 SD1) IDD1SD1 - 35 60 mA *1 When SD card is played. <Digital block> H-Level input voltage VIH VDD1*0.7 VDD1 V *3 L-Level input voltage H-Level output voltage1 L-Level output voltage1 L-Level output voltage2 H-Level output voltage3 L-Level output voltage3 H-Level output voltage4 L-Level output voltage4
VIL DVSS VDD1*0.3 V *3
VOH1 VDD1-0.4 VDD1 V IOH=-1.6mA, *4
VOL1 0 0.4 V IOL=1.6mA. *4 VOL2 0 0.4 V IOL=3.6mA, *5
VOH3 VDD1-0.4 VDD1 V IOH=-0.6mA, *6
VOL3 0 0.4 V IOL=0.6mA, *6
VOH4 VDD1-1.0 VDD1 V IOH=-0.6mA, *7
VOL4 0 1.0 V IOL=0.6mA, *7
<USB-HOST >
H-Level input
VIHUSB VDD1*0.6 VDD1 V *8
voltage
L-Level input voltage
VILUSB AVSSC VDD1*0.3 V *8 Output impedance(H) ZOH 22.0 45.0 60.0 Ω *8 Output impedance(L) ZOL 22.0 45.0 60.0 Ω *8
H-Level output
VOHUSB VDD1-0.5 VDD1 V *8
voltage
L-Level output voltage
VOLUSB 0 0.3 V *8 Rise/Fall time Tr/Tf 11 ns *8, Output capacity 50pF Voltage of crossing point VCRS VDD1/2 V *8, Output capacity 50pF Range of differential input VDIFF 0.8 2.5 V *8 Differential input sensitivity VSENS 0.2 V *8 Pull-down resistance RPD 14.25 20.0 24.8 kΩ *8 <Audio DAC> Distortion rate THD 0.005 % 1kHz, 0dB, sine, *9 Dynamic range DR 90 dB 1kHz, -60dB, sine, *9 S/N ratio S/N 95 - dB *9 Max output level VSMAX 0.67 Vrms 1kHz, 0dB, sine, *9
*1 3.3V system I/O, Analog Power supply (VDD1), 1kHz, 0dB, sine-wave playing *3 1, 3, 4-9, 14-23, 29, 31-32, 34-35, 61-63, 71-76 pin *4 9, 11-12, 14-15, 18-20, 30, 36, 58-60, 61-67, 69-70 pin *5 2, 3, 17 pin *6 24-26, 28, 29 pin *7 49 pin *8 41, 42 pin *9 53, 55 pin
www.rohm.com
3/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
2. Block diagram
Technical Note
Block diagram
www.rohm.com
4/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Technical Note
3. Description of Terminals
STAND ALONE MODE (MODE1) SLAVE MODE (MODE2)
No Pin Name
1 RESETX A I PU
2 TEST15 I O *3
3 TEST16 I I/O *3
4 SEL_SLAVE B I
SEL_MP3/
5
INREQI
SEL_DOUT/
6
LRCKI
SEL_VOL/
7
BCKI
SEL_APLAY/
8
SDATAI
SEL_UTPKT/
9
BFULLO
10 DVSS - - - GND terminal - - GND terminal
11 IRPTO B O - OPEN O - Connection interrupt output terminal
12 SEARCH B O - OPEN O - Search flag output terminal
13 DVDDIO - - IO power (VDD1) terminal - - IO power (VDD1) terminal
KEY_ROW1/
14
MCHNG
KEY_ROW2/
15
BUSY
KEY_ROW3/
16
SCL
KEY_ROW4/
17
SDA
KEY_COL1/
18
A0
KEY_COL2/
19
A1
KEY_COL3/
20
SEL_I2C
21 SD_WP B I PU SD card I/F WP detection terminal
22 SD_CON B I PU
23 SD_DO B I - SD card I/F data input terminal
24 SD_CLK B O - SD card I/F clock output terminal
25 SD_DI B O - SD card I/F data output terminal
26 SD_CS B O - SD card I/F chip select output terminal
27 DVSS - - - GND terminal - - GND terminal
28 FL_CS B O -
TEST/
29
CLK12MO
30 TEST5 B O - Test mode terminal. Use it as OPEN.
31 TEST6 H I -
32 TEST7 H I -
33 DVDDIO - - - IO power (VDD1) terminal - - IO power (VDD1) terminal
IO
IO PU Function IO PU Function
Cir
H: Release RESET, L: RESET
Test mode terminal Pull it up at VDD1 power.
Test mode terminal Pull it up at VDD1 power.
PU
H: STAND ALONE, L:SLAVE
*1
B I
B I
B I
B I
B I
B PU KEY ROW key command input O - File play end flag output terminal
B PU KEY ROW key command input O -
I *3 KEY ROW key command input I *3 I2C slave clock input terminal
I *3 KEY ROW key command input I/O *3 I2C slave data I/O terminal
B -
B -
B -
B I PU
PU *1H: PLAY MP3 ONLY,
L: PLAY MP1,MP2 and MP3
PU *1H: ANALOG DAC Output,
L: Digital Output
PU *1H: Volume controll valid,
L: Volume control invalid
PU *1H: Auto Play OFF ,
L: Auto Play
PU *1H: Normal Operation
L: USB Test Packet Output
KEY COLUMN1 Key command output
KEY COLUMN2 Key command output
KEY COLUMN3 Key command output
SD card I/F connection detection terminal
Serial Flash ROM chip select output terminal
Test mode terminal. Pull it up at VDD1 power.
Test mode terminal Pull it up at VDD1 power.
Test mode terminal Pull it up at VDD1 power.
O *3
I/O *3
I - Input data valid terminal
I -
I - Digital Audio bit clock input terminal
I -
O - Input buffer full flag output terminal
I - I2C slave address setting terminal
I - I2C slave address setting terminal
I -
O - 12MHz CLK Output.
Digital Audio channel clock input terminal
Digital Audio channel data input terminal
Command analysis BUSY output temrinal
Test mode terminal. Pull it up at VDD1 power.
www.rohm.com
5/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Technical Note
34 TEST8 H I -
35 TEST9 H I -
36 TEST10 B O -
37 DVSS - - - GND terminal - - GND terminal
38 DVDD_M2 - - -
39 ATEST1 - O - USB test terminal (OPEN)
40 AVDDC - - - USB power (VDD1) terminal
41 USB_DM C I/O - USB D-I/O terminal
42 USB_DP C I/O - USB D+ I/O terminal
43 AVSSC - - - USB GND terminal
44 REXTI D O -
45 VOREFI - O - USB test terminal (OPEN)
46 VSS_PLL - - - PLL GND terminal.
47 TEST_PLL1 - I - PLL test terminal. (OPEN)
48 XIN_PLL E I -
49 XOUT_PLL E O -
50 TEST_PLL2 - I -
51 VDD_PLL - - - PLL power (VDD1) terminal.
52 DAVSS - - - Audio DAC GND terminal
53 RDACO F O - Audio DAC Rch line output terminal
54 VCDACO F O -
55 LDACO F O - Audio DAC Lch line output terminal
56 DAVDD - - - Audio DAC power (VDD1) terminal
57 DVSS - - - GND terminal - - GND terminal
58 AMUTE G O -
59 TEST11 B O - Test mode terminal. Use it as OPEN.
60 TEST12 B O - Test mode terminal. Use it as OPEN.
LED_ERROR/
61
SS_CS
LED_PLAY/
62
SS_DI
LED_PSD/
63
SS_CLK
LED_PUSB/
64
SS_DO
LED_ACCESS/
65
LRCKO
LED_RANDO
66
M/BCKO
LED_REPEAT/
67
SDARAO
68 DVDDIO - - - IO power (VDD1) terminal - - I/O power (VDD1) terminal
69 TEST13 B O - Test mode terminal Use it as OPEN.
70 TEST14 B O - Test mode terminal Use it as OPEN.
B O - [LED] Error LED ON output PU SIO Slave CS input terminal
B O - [LED] Play LED ON output I - SIO Slave DATA input terminal
B O - [LED] SD device select LED ON output I - SIO Slave clock input terminal
B O -
B O - [LED] Device access LED blink output O -
B O - [LED] Randum play LED ON output O - [BCKO] Digital Audio bit clock output
B O - [LED] Repeat LED ON output O - [DATAO] Digital Audio data output
Test mode terminal Pull it up at VDD1 power.
Test mode terminal Pull it up at VDD1 power.
Test mode terminal (IPL ERROR status). Use it as OPEN.
CORE power (VDD2) monitor terminal Short-circuit to DVDD_M1. Connect bypass capacitor.
USB reference voltage output terminal Connect to AVSSC terminal using USB bias resistor (12kΩ).
X'tal (16.9344MHz) connection input terminal.
X'tal (16.9344MHz) connection output
terminal.
PLL test terminal. Pull it up at VDD1 power.
Audio DAC reference voltage output terminal
Audio mute output (H: Mute OFF, L: Mute ON) terminal
[LED] USB device select LED ON output
CORE power (VDD2) monitor
- -
O - SIO Slave DATA output terminal
terminal Short-circuit to DVDD_M1. Connect bypass capacitor.
/Master Clock output(16.9344MHz)
[LRCKO] Digital Audio channel clock
output, SPDIF output
www.rohm.com
6/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Technical Note
71 SEL_USB B I
72 TEST4 H I -
PU *1Preference detection device select
(H: USB, L: SD)
Test mode terminal Pull it up at VDD1 power.
Test mode terminal
73 TEST3 H I -
(IPL WRITE MODE1)
Pull it up at VDD1 power.
Test mode terminal
74 TEST2 H I -
(IPL WRITE MODE2)
Pull it up at VDD1 power.
75 TEST1 H I -
76 TMODE H I -
Test mode terminal Pull it up at VDD1 power.
Test mode terminal Connect it to GND.
77 DVSS - - - GND terminal - - GND terminal
78 DVDD_M1 - - -
CORE power (VDD2) monitor terminal Connect it to bypass capacitor.
79 DVDDIO - - - IO power (VDD1) terminal - - IO power (VDD1) terminal
80 TEST0 - I -
Test mode terminal Connect it to GND.
*1 Pull-Up turns OFF when L is input. *2 In STAND ALONE MODE (MODE1):
It turns OFF when ANALOG DAC output is selected (SEL_DOUT=H).
It performs I2S format audio output when Digital output is selected (SEL_DOUT=L).
*3 An external pull-up resistor is required because of Open Drain IO.
4. Terminal equivalent circuit diagram
A B C D
DVDDIO
DVDDIO
DVDDIO
DVDDIO
D P
D M
AVDDC
AVDDC
XIN
DVSSIO
VDD_PLL
VSS_PLL
15KΩ
AVSSCAVSSC
AVSSC
DVSSIO
DVSSIO
15KΩ
E F G H
VDD_PLL
XOUT
VSS_PLL
DAVDD
DVDDIO
DAVSS
DVSSIO
DVDDIO
DVSSIO
I
I/O terminal equivalent circuit diagram
www.rohm.com
7/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
5. I/O Signal Specifications
5.1 Clock and Reset
Clock
Clock name I/O Function Remarks
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.
www.rohm.com
8/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
p
5.4 SEL_DOUT
Audio output selection signal
Signal name I/O Function Remarks
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 Rch HiZ HiZ
55 Line Out Lch HiZ Line Out Lch HiZ HiZ
65 LED_ACCESS I2S LR CLOCK TEST terminal LR CLOCK SPDIF
66 LED_RANDOM I2S BIT CLOCK TEST terminal BIT CLOCK TEST terminal
67 LED_REPEAT I2S LRDATA TEST terminal LRDATA 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.
Table 5.4.1 Audio Output
MODE1 MODE2
SEL_DOUT=H SEL_DOUT=L ANALOG
Table 5.4.2 I2S_fs
MODE1 32fs I2S
MODE2 Selectable by commands
Technical Note
DIGTAL
SPDIF OFF SPDIF ON
0
-10
-20
-30
Initial value: -25.6dB
-40
Audio output (dB)
-50
(when SEL_VOL=H)
-
-60 02468101214161820222426283032
Volume ste
Figure 5.5 Volume Step Function
www.rohm.com
9/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
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
H: SD write-protect valid, L: SD write-protect invalid
www.rohm.com
10/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Technical Note
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 play At 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.
LRCK
BCK(32fs)
DATA
LRCK Left Channel Right Channel
BCK(48fs)
DATA
LRCK
BCK(64fs)
DATA
Left Channel
0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 11 0
Figure 5.12.1 I2S Output Timing (32fs)
15 14 12 11 10 9 8 7 6 5 4 3 2 1 0 15 1413
Figure 5.12.2 I2S Output Timing (48fs)
Left Channel Right Channel
13 1215 14 11 8 710 9 6 3 25 4 1 0 13 1215 14
Figure 5.12.3 I2S Output Timing (64fs)
23 ms at 0dB
Right Channel
15
www.rohm.com
11/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Technical Note
LRCK
BCK(32fs)
DATA
Left Channel
Right Channel
1415 14 13 12 11 10 9 8 7 6 5 4 3 2 10 0
15
Figure 5.12.4 EIAJ Output Timing (32fs)
LRCK Left Channel Right Channel
BCK(48fs)
DATA
15 14 12 11 10 9 8 7 6 5 4 3 2 1 01 0 13
Figure 5.12.5 EIAJ Output Timing (48fs)
LRCK
BCK(64fs)
DATA
Left Channel Right Channel
13 1215 14 11 8 710 9 6 3 25 4 1 01 02
Figure 5.12.6 EIAJ Output Timing (64fs)
5.13 SPDIF output Digital audio interface
Signal Name I/O Function Remarks
SPDIF O Digital audio output -
SPDIF output become enabled by setting it in MODE2 using the appropriate command. Figure 5.13 shows the digital audio signal output format.
034 1112 2728293031
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 0 Audio data(16bit)
(B pattern)
(M pattern)
(W pattern)
LSB MSB
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.
www.rohm.com
12/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Table 5.13.1 Synchronous Preamble Pattern
L0 R0 L1 R1 L2 R2 L3 R3 L4 R4 L5 R5
0 B W M W M W M W M W M W
1 M W M W M W M W M W M W
: : : : : : : : : : : : :
31 M W M W M W M W M W M W
Table 5.13.2 C Bit Format
L0 R0 L1 R1 L2 R2 L3 R3 L4 R4 L5 R5
0 0 0 Copy 0 0 0
1 0 0 1 0 0 0
2 0 0 0 Lbit 0 0
3 0 0 1 0 0 1 0 0
4 0 0 0 0 0 0
5 0 0 0 0 0 0
: : : : : : :
31 0 0 0 0 0 0
Table 5.13.3 U Bit Format
L0 R0 L1 R1 L2 R2 L3 R3 L4 R4 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
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.
Technical Note
www.rohm.com
13/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
5.14 KEY input I/F
3x4 matrix command I/O
Signal name I/O Function Remarks
KEY_ROW1 I
KEY_ROW2 I -
KEY_ROW3 I External pull-up resistor is required.
KEY_ROW4 I External pull-up resistor is required.
KEY_COL1 O -
KEY_COL2 O -
KEY_COL3 O -
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.
KEY_
ROW1
REPEAT RANDOM CHG_DEV+10
VOL+ FOL- FOL+VOL-
KEY_
ROW2
PLAY/ PAUSE
STOP
KEY_
ROW3
KEY_
ROW4
FFFB
KEY_
COL1
KEY_
COL2
KEY_
COL3
Figure 5.14 KEY Matrix Application Circuit Diagram
SCL
SDA
Start condition
12
MSB
8
LSB ACK
9 1
ACK
9
Stop condition
Figure 5.15.1 I2C Start and Stop Conditions
www.rohm.com
14/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
5.15.2 Slave address
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.
S A6 A5 A4 A3 A2 A1 A0 R/W ACK
Start
condition
Slave Address
R / W = Read / Write Pulse
ACK = Acknowledge
sent by
slave
Figure 5.15.2 Slave Address Transfer Format
Table 5.15.2 Settable Slave Addresses
MSB
A6
A5 A4 A3 A2
A1
terminal
LSB
A0
terminal
1 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0 1 1
S Slave Address A Data(8bit)R/W A Data(8bit) A Data(8bit) PA/A
"0"(write)
From Master to Slave
From Slave to Master
A = Acknowledge(SDA low) A = No Acknowledge(SDA high) S = Start Condition P = Stop condition
Figure 5.15.3 Command Send Protocol
Technical Note
www.rohm.com
15/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Figure 5.15.4.2 shows the relationship between the transferred data and BUSY. * For details on BUSY, see 5.16.
Table 5.15.4 BUSY Byte Structure
bit STATUS
7 0 6 0 5 0 4 PRECOM 3 IRPTO 2 SEARCH 1 MCHNG 0 BUSY
Step1
S Slave Address A Data(8bit)R/W A Data(8bit) PA/A
Step2
S Slave Address A BUSY(8bit)R/W A Data(8bit) P A
From Master to Slave
From Slave to Master
"0"(write)
Data(8bit) A
"1"(read)
A = Acknowledge(SDA low) A = No Acknowledge(SDA high) S = Start Condition P = Stop condition
Figure 5.15.4.1 Status Reception Protocol
Technical Note
Step1 command S Slave Address A 0xFF A Data(8bit) P AData(8bit) AR
I2C
BUSY
Step1 command S Slave Address A 0x00 A Data(8bit) P AData(8bit) AR
BUSY byte
BUSY byte for Status
Figure 5.15.4.2 Relationship between Transferred Data and BUSY
www.rohm.com
16/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Technical Note
5.15.5 I2C Bus line 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*Cb 300 ns
13 Fall time of SDA and SCL signal tF 20+0.1*Cb 300 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.
SDA
t
BUF
t
LOW
t
t
R
F
SCL
t
HD;STA
SP
t
HD;DAT
t
HIGH
t
SU;DAT
t
SU;STO
P
www.rohm.com
17/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
5.16 BUSY BUSY status detection output
Signal name I/O Function Remarks
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.
Technical Note
www.rohm.com
18/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
Technical Note
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.
LRCK
BCK(48fs)
DATA
INREQI
Tlrck1
Tda1
Tinreqi1
Tbck1 Tbck2
Tda2
15 14 12 11 10 9 8 7 6 5 4 3 2 1 0 15 1413
Left Channel Right Channel
Tbck
Tlrck2
5.21.1.1 I2S Input Timing (48fs)
LRCK Left Channel Right Channel
Figure
BCK(48fs)
DATA
15 14 12 11 10 9 8 7 6 5 4 3 2 1 01 0 13
Figure 5.21.1.2 EIAJ Input Timing (48fs)
timing(ns)
Item sign MIN TYP MAX
LRCKI
BCKI
SDATAI
setup Tlrck1 41 Tbck/2 ­hold Tlrck2 41 Tbck/2 ­L section Tbck1 41 Tbck/2 ­H section Tbck2 41 Tbck/2 ­setup Tda1 41 Tbck/2 ­hold Tda2 41 Tbck/2 -
INREQI setup Tinreqi1 200 - -
CD I/F input timing regulation
www.rohm.com
19/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
5.21.2 INREQI INREQI inputs H from the microcomputer when the input data is valid. When INREQIH and BFULLOL, 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 INREQIH and BFULLOL, 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.
Technical Note
Figure 5.22.1 SPI MODE0 Serial Timing
timing(ns)
Item sign MIN TYP MAX setup Tcs1 500 - -
SS_CS
hold Tcs2 250 - ­H section Tcsh 0 - ­L section Tclk1 250 - -
SS_CLK
H section Tclk2 250 - ­pulse width controlled - - - 100
SS_DI
SS_DO
www.rohm.com
20/86
© 2012 ROHM Co., Ltd. All rights reserved.
setup Tdi1 100 - ­hold Tdi2 100 - ­output delay Tdo1 - 150 ­output delay Tdo2 - 150 -
SPI I/F input timing regulation
2012.04 - Rev.
BU94705AKV
A
Technical Note
5.23 SEL_USB
Signal name I/O Function Remarks
Figure 5.22.2 SPI MODE1 Serial Timing
Preference device detection selection signal
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.
www.rohm.com
21/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
6Functions and Operations
6.1 File search
6.1.1 Function
- 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
one.
Technical Note
Table6.1.1 Maximum Playable Files per Folder
Root folder Sub folder
FAT12 512 65534 FAT16 512 65534 FAT32 65536 65534
www.rohm.com
22/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
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
www.rohm.com
23/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
y
y
Technical Note
Table 6.1.3 File Play Sequence for Folder/File Structure in Figure 6.1.3
Play order
1 A.mp3 2 B.mp3
3 C.mp3
4 D.mp3 5 E.mp3 6 F.mp3 7 G.mp3 8 H.mp3
9 I.mp3 10 J.mp3 11 K.mp3 12 L.mp3 13 M.mp3 14 N.mp3 15 Q.mp3 -Unplayable files are ignored. 16 U.mp3 17 V.mp3 18 W.mp3 19 X.mp3 20 Y.mp3
21 Z.mp3
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
Remarks
.
www.rohm.com
24/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
6.2 Playing files
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.
Technical Note
www.rohm.com
25/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
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].
REPEAT_ALL REPEAT_FOL REPEAT_TUN RANDOM_ALL RANDOM_FOL PLAY_NEXT PLAY_ALL_STOP × × × × PLAY_FOL_STOP × × × PLAY_TUN_STOP
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.
beginning of the memory.
memory.
folder in process.
www.rohm.com
26/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
BU94705AKV
A
6.3 MODE1
6.3.1 KEY command operation
6.3.1.1 KEY SCAN (signal mode)
KEY_COL1
KEY_COL2
KEY_COL3
Technical Note
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
20ms 20ms 20ms 20ms 20ms 20ms
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-.
www.rohm.com
27/86
© 2012 ROHM Co., Ltd. All rights reserved.
2012.04 - Rev.
Loading...
+ 61 hidden pages