BU94601KV-E2

BU94601KV-E2

  • 厂商:

    ROHM(罗姆)

  • 封装:

    LQFP-64

  • 描述:

    IC DECODER USB AUDIO 64-VQFP

  • 数据手册
  • 价格&库存
BU94601KV-E2 数据手册
BU94601KV Functional Specifications 1/56 BU94601KV Functional Specifications Target Spec ROHM System Audio Team Confidential Target Spec 0.11 BU94601KV Functional Specifications 2/56 Table of Contents I. FEATURES ....................................................................................................................4 I.1 USB HOST I/F ............................................................................................................................................................ 4 I.2 SD CARD I/F............................................................................................................................................................... 4 I.3 I2C I/F....................................................................................................................................................................... 4 I.4 AUDIO OUTPUT............................................................................................................................................................ 4 I.5 FAT ANALYSIS ............................................................................................................................................................. 4 I.6 MP3 DECODER ........................................................................................................................................................... 5 I.7 SAMPLE RATE CONVERTER ........................................................................................................................................... 5 I.8 SYSTEM CONTROLLER ................................................................................................................................................. 5 I.9 KEY MATRIX CONTROLLER ........................................................................................................................................... 5 I.10 LED CONTROLLER .................................................................................................................................................... 5 I.11 CONTROL FROM THE MASTER MICROCOMPUTER ............................................................................................................ 5 I.12 FUNCTION SELECTION ................................................................................................................................................ 5 I.13 FILE READ FUNCTION IN USB MEMORY ........................................................................................................................ 5 II. OVERVIEW ...................................................................................................................6 II.1 TERMINAL LAYOUT DRAWING ........................................................................................................................................ 6 II.2 TERMINAL SPECIFICATIONS .......................................................................................................................................... 7 II.3 TERMINAL EQUIVALENT CIRCUIT DIAGRAM ...................................................................................................................... 9 III. ABSOLUTE MAXIMUM RATING AND OPERATING CONDITIONS.........................10 III.1 ABSOLUTE MAXIMUM RATING..................................................................................................................................... 10 III.2 OPERATING CONDITIONS.......................................................................................................................................... 10 IV. ELECTRICAL SPECIFICATIONS.............................................................................. 11 V. I/O SIGNAL SPECIFICATIONS ..................................................................................12 V.1 CLOCK AND RESET ................................................................................................................................................... 12 V.2 SEL_SLAVE .......................................................................................................................................................... 12 V.3 SEL_MP3 .............................................................................................................................................................. 12 V.4 SEL_DOUT ........................................................................................................................................................... 13 V.5 SEL_VOL .............................................................................................................................................................. 13 V.6 SEL_APLAY .......................................................................................................................................................... 14 V.7 SEL_UTPKT.......................................................................................................................................................... 14 V.8 AUDIO OUTPUT......................................................................................................................................................... 14 V.9 MUTE CONTROL OUTPUT ......................................................................................................................................... 14 V.10 KEY INPUT FORMAT................................................................................................................................................ 15 V.11 I2C INTERFACE FORMAT .......................................................................................................................................... 15 V.11.1 I2C protocol ................................................................................................................................................. 15 V.11.2 Slave address.............................................................................................................................................. 16 V.11.3 Write protocol from master .......................................................................................................................... 16 V.11.4 Read protocol to master .............................................................................................................................. 16 V.12 I2S FORMAT .......................................................................................................................................................... 17 V.13 SPDIF FORMAT ..................................................................................................................................................... 18 V.14 USB I/F................................................................................................................................................................ 19 V.15 SD I/F .................................................................................................................................................................. 19 V.16 MCHNG............................................................................................................................................................... 19 V.17 BUSY .................................................................................................................................................................. 19 Confidential Target Spec 0.11 BU94601KV Functional Specifications VI. 3/56 FUNCTION/OPERATION EXPLANATION ................................................................20 VI.1 FILE DETECTION...................................................................................................................................................... 20 VI.1.1 Function ....................................................................................................................................................... 20 VI.1.2 Playable file.................................................................................................................................................. 21 VI.1.3 Playing sequence......................................................................................................................................... 21 VI.1.4 Folder/file sort .............................................................................................................................................. 21 VI.2 MODE1 ................................................................................................................................................................ 23 VI.2.1 KEY command operation ............................................................................................................................. 23 VI.2.1.1 KEY SCAN (Single Mode) .................................................................................................................... 23 VI.2.1.2 KEY SCAN (Hold Mode) ....................................................................................................................... 23 VI.2.1.3 KEY operation....................................................................................................................................... 25 VI.2.2 LED operation .............................................................................................................................................. 26 VI.3 MODE2 ................................................................................................................................................................ 27 VI.3.1 Command operation .................................................................................................................................... 27 VI.3.3 Equalizer ...................................................................................................................................................... 41 VI. 3.4 Resume information.................................................................................................................................... 44 VI. 3.5 Language Code Information........................................................................................................................ 44 VI.4 MODE3 ................................................................................................................................................................ 45 VI.4.1 Command operation .................................................................................................................................... 45 VI.4.2 Status output ................................................................................................................................................ 50 VI.4.3 Folder information/File information............................................................................................................... 54 VI. 4.4 Language Code Information........................................................................................................................ 54 VI.5 WATCHDOG TIMER .................................................................................................................................................... 55 VII. REVISION HISTORY ................................................................................................56 Confidential Target Spec 0.11 BU94601KV Functional Specifications I. 4/56 Features ◊ ◊ ◊ ◊ ◊ ◊ BU94601KV is MP3 decoder IC in which a USB host I/F, SD memory card I/F, audio DAC and system control functions are built. Using a KEY or I2C interface command, the IC reads out a MP3 file written to a memory device having a USB I/F or a SD memory card. All the operations required before the data can be output to audio devices are incorporated into one chip. BU94601KV supports STAND ALONE MODE which is enabled by commands entered from the keyboard (hereinafter referred to as MODE1), AUTO SLAVE MODE which is enabled by commands entered from the master microcomputer, same as those entered from the keyboard, via the built-in I2C interface (hereinafter referred to as MODE2) and MANUAL SLAVE MODE which can send the memory device information to the master microcomputer via the I2C interface and completely control sequences such as a play sequence by the master microcomputer (hereinafter referred to as MODE3). BU94601KV supports fast forward playing and fast backward playing with music. BU94601KV outputs folder names, file names and ID3TAG (V1.0, V1.1 V2.2 V2.3 and V2.4) information via the I2C interface. This function is enabled only in MODE 2 and MODE 3. BU94601KV supports audio line output, audio serial three-line (I2S) output and digital audio interface (SPDIF) output. Reading a specified file data is possible from USB memory. *Only a file that exists in root folder corresponds. I.1 USB host I/F · Builds in the USB Full speed (12 Mbps) HOST control function. · Supports the USB mass storage class. . It doesn't correspond to external HUB. I.2 SD card I/F · Supports the SPI mode. · Supports the MMC and mini-SD cards. · Supports the SDHC cards. · Supports the SD ver1.01 (file system). · Does not support CPRM. I.3 I2C I/F · Communicates with the master microcomputer using an I2C interface format. · Supports the standard mode (100 kbps) and fast mode (400 kbps). · Supports a 7-bit address. · Can select four types of slave addresses. I.4 Audio output · 1bit-DAC output · Builds in the digital soft mute function. · Supports the I2C format and digital audio interface (SPDIF) audio output. · Builds in sound effects of POPS, JAZZ, ROCK, CLASSIC, R&B and BassBoost.* * Only audio line output is enabled. I.5 FAT analysis · Supports FAT16 and FAT 32. · Supports VFAT (long file name). · Supports multi-partition up to 1. · The maximum number of playable folders within each folder is 65534. · The maximum number of playable files within each folder is 65534. · The maximum number of playable folders within each device is 65534. · The playable folder hierarchy is up to 8 layers containing the root directory. · The playable file extension supports *.mp3, *.mp2, and *.mp1. For *.mp2 and *.mp1, play enabled/disabled can be selected. Upper case letters and lower case letters are not distinguished in the file extension. · Sorts and plays up to 100 folders and 100 files in the order of UNICODE. · Can obtain up to 64 bytes as the folder name or file name. · Supports 1 sector of 512, 1024, 2048 and 4096 bytes. · Supports up to 2G-1 bytes as the file size. Confidential Target Spec 0.11 BU94601KV Functional Specifications 5/56 I.6 MP3 decoder · Supports MPEG audio 1, 2 and 2.5. · Supports Layer 1, 2 and 3. · Supports sample rates 8k, 16k, 32k, 11.025k, 22.05k, 44.1k, 12k, 24k and 48kHz. · Supports bit rate 8 to 320 kbps and VBR (Variable Bit Rate). *Except free format. · Supports ID3TAG V1.0, V1.1, V2.2, V2.3 and V2.4. (Up to 64 bytes can be obtained for the names of album, artist, and title.) I.7 Sample rate converter · Converts all the supported sample rates to 44.1 kHz using a poly-phase operation. I.8 System controller · Controls all the system operations including KEY input, LED output, interface control with the master microcomputer, USB device access, SD card access, FAT analysis, sort function, MP3 decode and audio output. I.9 KEY matrix controller · Controls 12 types of KEY inputs: play/pause, stop, tune forward/fast forward playing, tune backward/fast backward playing, folder forward, folder backward, 10-tune forward, volume up, volume down, repeat play, random play and device selection. I.10 · I.11 LED controller Controls 7 types of LED outputs: play/pause, error, memory accessing, random playing, repeat playing, USB selection and SD selection Control from the master microcomputer Control from the master microcomputer is enabled using the I2C interface. Through the command operations, the following can be controlled: play, pause, stop, tune forward, tune backward, fast forward playing, fast backward playing, folder forward, folder backward, 10-tune forward, 10-tune backward, volume up, volume down, device selection, volume setting, repeat selection, random play, digital audio output setting, sound effect setting, resume data setting and direct tune selection data setting. · Controls the following: playing status output, pause, stop, searching, error, folder number, file number within folder, play time information, number of total folders, number of total files, name of folder being played, name of file being played, ID3TAG (title, artist and album), resume data and direct tune selection data (MODE3). · · I.12 · · · · · · I.13 Function selection Selects MODE1 or MODE2/3 (SEL_SLAVE=H: MODE1, L: MODE2/3). Selects MPEG Audio Layer (SEL_MP3=H: play MP3 only, L: play MP1/MP2/MP3) Digital audio output selection (SEL_DOUT=H: output OFF, L: output ON) Sound volume operation selection (SEL_VOL=H: volume adjustable, L: volume not adjustable MAX output) Selects operation at power ON to check device (SEL_APLAY=H: stop, L: play). *Enabled in MODE 1 only. Selects MODE2 or MODE3 (SEL_SMAN=H: MODE2, L: MODE3). *Enabled in MODE 2/3 only. File Read function in USB memory · The specified data of file that exists in the root folder of the USB memory reading is possible. * The file name corresponds only by 8.3 forms. (The wild-card cannot be used.) Confidential Target Spec 0.11 BU94601KV Functional Specifications Overview LDACO VCDACO RDACO DAVSS VSS_PLL XOUT_PLL XIN_PLL TEST_PLL VDDPLL VOREFI REXTI AVSSC USB_DP USB_DM Terminal layout drawing DAVDD II.1 AMUTE II. 6/56 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 LED_ERROR/TEST9 49 Audio DAC LED_PLAY/TEST10 50 32 AVDDC USB PHY PLL 31 ATEST1 LED_PSD/TEST11 51 30 TEST8 USB Controller LED_PUSB/TEST12 52 Sound Effecter LED_ACCESS 53 29 TEST7 28 TEST6 LED_RANDOM 54 27 DVDD_M2 LED_REPEAT 55 26 FAT File system TEST13 56 DVDD_M1 57 TEST14 58 25 TEST4 MP3 Decoder LDO 24 DVSS 23 SD_CS SD I/F Controller TEST15 59 22 SD_DI TEST16 60 21 SD_CLK TEST17 61 20 SD_DO System Controller DVSS 62 I2C I/F Controller TMODE 63 19 SD_CON 18 DVDDIO DVDDIO 64 11 12 13 14 15 KEY_COL2/A1 KEY_COL3/ SEL_SMAN 10 KEY_COL1/A0 9 KEY_ROW4/SDA 8 KEY_ROW3/SCL SEL_DOUT 7 KEY_ROW1/ MCHNG KEY_ROW2/ BUSY SEL_MP3 6 TEST2 SEL_SLAVE 5 TEST1 4 SEL_UTPKT 3 SEL_APLAY 2 SEL_VOL 1 RESETX 17 TEST3 Figure II.1 Confidential TEST5/ CLKOUT12 Terminal layout drawing Target Spec 0.11 16 BU94601KV Functional Specifications II.2 7/56 Terminal specifications Table II.2 Terminal specifications STAND ALONE MODE(MODE1) I/O I/O Pull-Up/ Cir Down SLAVE MODE(MODE2,MODE3) Pin No. Signal Name 1 RESETX A I - 2 SEL_SLAVE B I PU(*1) 3 SEL_MP3 B I PU(*1) 4 SEL_DOUT B I PU(*1) 5 SEL_VOL B I PU(*1) 6 SEL_APLAY B I PU(*1) 7 SEL_UTPKT B I PU(*1) 8 TEST1 - I - 9 TEST2 - I - 10 KEY_ROW1 B I PU H: Release RESET, L: RESET H: STAND ALONE, L:SLAVE 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 Play 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) KEY Input ROW1 11 KEY_ROW2 B I PU KEY Input ROW2 BUSY 12 KEY_ROW3 B I PU KEY Input ROW3 SCL 13 KEY_ROW4 B I PU KEY Input ROW4 SDA 14 KEY_COL1 B O - KEY Input COLUMN1 A0 15 KEY_COL2 B O - KEY Input COLUMN2 A1 16 KEY_COL3 B O - KEY Input COLUMN3 Pull-up to 3.3V system supply (for TEST) Connect to 3.3V System Power Supply SD I/F SD I/F SD I/F SD I/F SD I/F Connect to GND Pull-up to 3.3V system supply (for TEST) Pull-up to 3.3V system supply (for TEST) Connect to 57PIN Pull-up to 3.3V system supply (for TEST) Pull-up to 3.3V system supply (for TEST) Pull-up to 3.3V system supply (for TEST) OPEN (for TEST) Connect to 3.3V System Power Supply USB DATAUSB DATA+ Connect to GND Connect Bias Resistor to GND OPEN (for TEST) Connect to 3.3V System Power Supply 17 TEST3 B I - 18 DVDDIO - - - 19 20 21 22 23 24 SD_CON SD_DO SD_CLK SD_DI SD_CS DVSS B I B I B O B O B O - - PU - 25 TEST4 - PU 26 TEST5/ CLKOUT12M DVDD_M2 27 28 29 TEST6 TEST7 I - I PU - - - - I I - 30 TEST8 - I - 31 ATEST1 - O - 32 AVDDC - - - 33 34 35 USB_DM USB_DP AVSSC C I/O C I/O - - - 36 REXTI D O - 37 VOREFI - O - 38 VDD_PLL - - - Confidential Signal Name I/O Pull-Up/ Down Function Function ← ← ← ← ← ← ← ← ← MCHNG SEL_SMAN O - Music change Output Command O Operation Busy Flag I I2C I/F Clock Input I2C I/F Data I/O Input/Output I/F Slave I PU(*1) I2C Address Set0 I/F Slave I PU(*1) I2C Address Set1 I PU(*1) H: MODE2, L: MODE3 power ← ← ← ← ← ← ← ← power power CLKOUT12(*2) O ← - 12MHz CLK Output. ← power ← power ← power ← Target Spec 0.11 ← ← ← ← ← ← ← ← BU94601KV Functional Specifications 8/56 39 40 41 TEST_PLL XIN_PLL XOUT_PLL - I E I E O - OPEN (for TEST) X'tal Input 16.9344MHz Connect to X'tal 16.9344MHz ← ← ← 42 43 44 VSS_PLL DAVSS RDACO - - F O - ← ← ← 45 VCDACO F O - 46 LDACO F O - 47 DAVDD - - - 48 AMUTE G O - Connect to GND Connect to GND Audio DAC Line Output Rch Audio DAC Reference Voltage Output Audio DAC Line Output Lch Connect to 3.3V System Power Supply Audio Mute Output (H:Mute Cancel, L:Mute) 49 LED_ERROR B O - Error LED Output TEST9 I - 50 LED_PLAY B O - Play LED Output TEST10 I - 51 LED_PSD B O - Play SD Card LED Output TEST11 I - 52 LED_PUSB B O - Play USB LED Output TEST12 I - 53(*3) LED_ACCESS B O - Memory Access LED Output LRCK(*4) O - 54(*3) LED_RANDOM B O 55(*3) LED_REPEAT B O - Random Play LED Output Repeat Play LED Output Pull-up to 3.3V system power supply (for TEST) Connect to Bypass Condenser Connect to GND 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) Connect to GND Connect to GND Connect to 3.3V System Power Supply BCK DATA O O - 56 TEST13 - I - 57 DVDD_M1 - - - 58 TEST14 F I - 59 TEST15 - I - 60 TEST16 - I - 61 TEST17 - I - 62 63 DVSS TMODE H I - 64 DVDDIO - - - ← ← ← ← Pull-up to 3.3V system power supply Pull-up to 3.3V system power supply Pull-up to 3.3V system power supply Pull-up to 3.3V system power supply I2S Output LR Clock / SPDIF Output I2S Output Bit Clock I2S Output LR DATA ← ← ← ← ← ← ← ← ← *1 When L is input, Pull-UP turns OFF. *2 Enabled/Disabled can be selected using commands. *3 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. Confidential Target Spec 0.11 BU94601KV Functional Specifications II.3 Terminal equivalent circuit diagram A B DVDDIO DVDDIO DVDDIO DVDDIO 9/56 C D D P AVDDC AVDDC D M 15KΩ AVSSC 15KΩ AVSSC DVSSIO E VDD_PLL XIN AVSSC DVSSIO F VDD_PLL DAVDD G DVDDIO H DVDDIO XOUT VSS_PLL VSS_PLL DAVSS DVSSIO DVSSIO Figure II.3 Confidential I/O terminal equivalent circuit diagram Target Spec 0.11 BU94601KV Functional Specifications III. 10/56 Absolute Maximum Rating and Operating Conditions III.1 Absolute maximum rating (Ta=25°C) Item Power voltage (analog, IO) Terminal voltage Storage temperature range Operating temperature range Power dissipation *1 *1 Symbol V DD1MAX V IN T stg T opr PD Rating 4.5 − 0.3 ~ V DD1 +0.3 − 55 ~ +125 − 40 ~ 85 750 Unit V V °C °C mW When using the product at Ta=25°C or higher temperature, 7.5 mW per 1°C should be subtracted. III.2 Operating Conditions Item Symbol Rating Unit Applicable terminal Power voltage (analog, IO) V DD1 3.0 ~ 3.6 V DVDDIO,VDD_PLL DAVDD,AVDDC * Not designed to be radiation-proof. Confidential Target Spec 0.11 BU94601KV Functional Specifications IV. 11/56 Electrical Specifications (Ta=25°C, VDD1=3.3V, VDD2=1.5V, XIN_PLL=16.9344MHz unless otherwise specified.) Item General Operating power consumption (VDD1USB) Operating power consumption (VDD1SD) Logic H input voltage L input voltage H output voltage 1 L output voltage 1 H output voltage 2 L output voltage 2 H output voltage 3 L output voltage 3 H output voltage 4 L output voltage 4 USB interface H input voltage L input voltage Output impedance (H) Output impedance (L) H output voltage L output voltage Rise/Fall time Cross point voltage Differential input range Differential input sensitivity Pull-down resistance Symbol Speciation Condition Applicable terminal Unit MIN. TYP. MAX. IDD1USB - 70 81 mA IDD1SD - 45 60 mA VIH VIL VOH1 VOL1 VOH2 VOL2 VOH3 VOL3 VOH4 VOL4 VDD1*0.7 DVSS VDD1-0.4 0 VDD1-0.4 0 VDD1-0.4 0 VDD1-1.0 0 - VDD1 VDD1*0.3 VDD1 0.4 VDD1 0.4 VDD1 0.4 VDD1 1.0 V V V V V V V V V V VIHUSB VILUSB ZOH ZOL VOHUSB VOLUSB Tr/Tf VCRS Vdiff Vsens RPD VDD1*0.6 AVSSC 22.0 22.0 VDD1-0.5 0 0.8 0.2 10.0 45.0 45.0 11 VDD1/2 15.0 VDD1 VDD1*0.3 60.0 60.0 VDD1 0.3 2.5 20.0 V V Ω Ω V V nS V V V kΩ *1, *1, When playing USB memory When playing SD memory card *3 *3 IOH=-1.6mA, *4 IOL=1.6mA, *4 IOH=-3.6mA, *5 IOL=3.6mA, *5 IOH=-0.6mA, *6 IOL=0.6mA, *6 IOH=-0.6mA, *7 IOL=0.6mA, *7 *8 *8 *8 *8 *8 *8 *8, Output capacity 50pF *8, Output capacity 50pF *8 *8 *8 Audio DAC Distortion THD 0.03 % 1kHz, 0dB, sine, *9 D range DR 88 dB 1kHz, -60dB, sine, *9 S/N ratio S/N 93 dB *9 Maximum output level Vsmax 0.67 Vrms 1kHz, 0dB, sine, *9 *1 3.3V system I/O, analog power supply (DVDDIO, VDD_PLL, DAVDD, AVDDC), When playing 1kHz, 0dB, sinewave. *3 1-17, 19-20, 25-26, 40, 49-52, 56,58-61, 63 pin *4 10-11, 14-16, 48-55 pin *5 13 pin *6 21-23, 26 pin *7 41 pin *8 33, 34 pin *9 44, 46 pin Confidential Target Spec 0.11 BU94601KV Functional Specifications V. 12/56 I/O Signal Specifications V.1 Clock and reset Clock Signal name I/O XIN_PLL XOUT_PLL Function (16.9344 MHz) connection I X’tal input terminal (16.9344 MHz) connection O X’tal terminal Remarks Reset Signal name I/O RESETX I Function Remarks System reset input terminal To disable a reset signal, continue L input for more than 5 us after clock input from the oscillation I/O terminal becomes stable. (See Figure V.1.) Oscillation stabilization standby time fclk Power supply XIN_PLL RESETX tRSTX Figure V.1 min Specification typ max fCLK 16.8921 16.9344 16.9767 MHz tRSTX 5 - - us Item Symbol Clock frequency Reset L interval V.2 Reset Timing Unit Remarks SEL_SLAVE MODE1/MODE2, 3 selection input signal Signal name I/O SEL_SLAVE I Function Remarks Selects MODE1 or MODE2, 3. H: MODE1, L: MODE2, 3 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. V.3 SEL_MP3 MPEG Audio Layer 1, 2, 3 play selection signal Signal name I/O SEL_MP3 I Function MPEG Audio Layer selection H: Can play MP3 only. MP3. Remarks L: Can play MP1, MP2 and 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. Confidential Target Spec 0.11 BU94601KV Functional Specifications V.4 13/56 SEL_DOUT Audio output selection signal Signal name I/O SEL_DOUT I Function Remarks 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" describes that this terminal is pulled-up in device. TableV.4.1 Audio output MODE1 Pin No. SEL_DOUT=H 44 46 53 Line Out Rch Line Out Lch LED_ACCESS 54 LED_RANDOM 55 LED_REPEAT MODE2,3 SEL_DOUT=L SEL_DOUT=L SEL_DOUT=H SPDIF OFF SPDIF ON HiZ Line Out Rch HiZ HiZ HiZ Line Out Lch HiZ HiZ I2S LR CLOCK TEST terminal I2S LR CLOCK SPDIF TEST I2S BIT CLOCK TEST terminal I2S BIT CLOCK terminal TEST I2S LRDATA TEST terminal I2S LRDATA terminal Table V.4.2 I2S_fs MODE1 MODE2/3 32fs Can select 32fs, 48fs, 64fs by command. SEL_DOUT is set only at power ON. Note that change of selection after power ON is ignored. V.5 SEL_VOL Sound volume operation selection signal Signal name I/O SEL_VOL I Function Remarks H: Sound volume operation enabled, L: Sound volume operation disabled 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. 0 -10 Audio output (dB) -20 -30 -40 ↓ -∞ Initial value: -24.1 dB (when SEL_VOL=H) -50 -60 0 2 4 6 8 10 12 14 16 18 20 22 24 Volume step Figure V.5 Volume Step Function Confidential Target Spec 0.11 26 28 30 32 BU94601KV Functional Specifications V.6 14/56 SEL_APLAY Auto play selection signal at power ON/device recognition Signal name I/O SEL_APLAY I Function Auto play selection signal at device recognition Remarks H: Stop after recognizing device, H: Play after recognizing device 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 SEL_UTPKT I Function Remarks 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 AMUTE Function Remarks 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. Figure V.9 Waveform at Audio Mute Confidential Target Spec 0.11 BU94601KV Functional Specifications V.10 15/56 KEY input format 3x4 matrix command input Signal name I/O Function Remarks KEY_ROW1 I - KEY_ROW2 I - KEY_ROW3 I KEY_ROW4 I KEY_COL1 O - KEY_COL2 O - KEY_COL3 O - KEY matrix I/O signal - 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. +10 REPEAT VOL- VOL+ FB PLAY/ PAUSE KEY_ ROW1 KEY_ ROW2 RANDOM CHG_DEV FOL- FOL+ FF STOP KEY_ ROW3 KEY_ ROW4 KEY_ COL1 KEY_ COL2 KEY_ COL3 Figure V.10 KEY Matrix Applied Circuit Diagram V.11 I2C interface format I2C serial interface Signal name I/O SCL SDA I Function Remarks I2C interface clock input 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). Even before sending Stop condition at the end of communications, transfer of Start condition allows restart of communications (Repeated Start Condition). During transfer, SDA is changed only when SCL is set to L. Figure V.11.1 shows Start condition, Stop condition, Repeated Start condition of I2C. Confidential Target Spec 0.11 BU94601KV Functional Specifications SCL 1 SDA 2 MSB 8 9 LSB ACK 16/56 1 9 ACK Start or Repeated start condition Stop or Repeated start condition Figure V.11.1 I2C start, stop, repeated start condition V.11.2 Slave address 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. S A6 A5 A4 Start condition A3 A2 A1 A0 R/W ACK sent by slave Slave Address R / W = Read / Write Pulse ACK = Acknowledge Figure V.11.2 Slave Address Transfer Format Table V.11.2 Settable Slave Addresses MSB A6 A5 A4 A3 A2 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LSB A1 A0 terminal terminal 0 0 0 1 1 0 1 1 V.11.3 Write protocol from master To send a master command using an I2C bus, follow the transfer protocol shown in Figure V.11.3. For details on each command, see Chapter VI. S Slave Address R/W A Data(8bit) A Data(8bit) A Data(8bit) A/A P "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 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. Confidential Target Spec 0.11 BU94601KV Functional Specifications 17/56 Step1 S Slave Address R/W A Data(8bit) A A Data(8bit) A Data(8bit) A/A P "0"(write) Step2 S Slave Address R/W Data(8bit) A Data(8bit) A/A P "1"(read) From Master to Slave A = Acknowledge(SDA low) A = No Acknowledge(SDA high) From Slave to Master S = Start Condition P = Stop condition Figure V.11.4.1 Status Reception Protocol I2C Step1 command S Slave Address R A 0xFF BUSY A Data(8bit) A Data(8bit) A/A P Dummy byte for Busy Step1 command S Slave Address R A 0x00 A Data(8bit) A Data(8bit) A/A P Dummy byte for Busy Figure V.11.4.2 Relationship between Transfer Data and BUSY V.12 I2S format I2S serial audio interface Signal name I/O LRCK Function Remarks O I2S Bit clock output (fs=44.1kHz) - BCK O I2S Bit clock output - DATA O I2S data output - 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. LRCK Right Channel Left Channel BCK(32fs) DATA 1 0 15 14 13 12 11 10 Figure V.12.1 Figure V.12.2 LRCK 9 8 7 6 5 4 3 2 1 0 15 I2S Output Timing (32fs) I2S Output Timing (48fs) Left Channel Right Channel BCK(48fs) DATA 15 14 13 12 11 10 9 8 7 6 Figure V.12.3 LRCK 5 4 3 2 1 0 15 14 I2S Output Timing (64fs) Left Channel Right Channel BCK(64fs) DATA Confidential 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Target Spec 0.11 15 14 13 12 BU94601KV Functional Specifications V.13 18/56 SPDIF format Digital audio interface Signal name I/O SPDIF Function Remarks O Digital audio 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. 0 34 11 12 Synchronous preamble Source code all 0 27 28 29 30 31 Audio data(16bit) LSB MSB V U C P (B pattern) Synchronous preamble (M pattern) (W pattern) Source code(4-31) 0 0 0 0 0 0 0 0 1 0 1 1 0 1 Synchronous preamble SPDIF output Figure V.13 SPDIF Output Format 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. Table V.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 R4 L5 Table V.13.2 L0 Confidential R0 L1 R1 L2 C Bit Format R2 L3 R3 L4 R5 0 0 0 0 0 0 0 1 0 0 1 0 0 0 2 0 0 0 0 0 0 3 0 0 0 0 4 0 0 0 0 0 0 5 0 0 0 0 0 0 : : : : : : : 31 0 0 0 0 0 0 1 0 0 Target Spec 0.11 1 BU94601KV Functional Specifications Table V.13.3 19/56 U Bit Format L0 R0 L1 R1 L2 R2 L3 R3 L4 R4 L5 R5 0 1 0 0 0 0 0 0 0 0 0 0 0 0 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 “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 bias resistance connection O USB terminal - REXTI Connect resistance of 12kΩ ± 1% to GND. 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 SD_CS SD_CLK Function Remarks O SPI chip select - O SPI clock - SD_DI O SPI data input - SD_DO I SD_CON I H: Not detecting SD card connection. L: Detecting SD card connection. SPI data output SD card connect detection terminal These I/F enable communication with SD memory cards through SD memory card slots. Since SD memory card slot requires detecting insertion of SD memory card, use of slot equipped with SD memory card detecting terminal and connection to SD_CON terminal are required. SD_CON terminal is pulled up within the device and detects SD memory card connection by L input. V.16 MCHNG Playing sound tune number detection output Signal name I/O MCHNG Function tune number change O Music detection output signal Remarks H: Playing, L: Tune completed/stopped 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 BUSY Function BUSY state detection output O signal Remarks H: Busy, L: Not Busy 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. Confidential Target Spec 0.11 BU94601KV Functional Specifications VI. 20/56 Function/Operation Explanation VI.1 File detection VI.1.1 Function · This function supports FAT16 and FAT32 file systems. (It does not support NTFS and FAT12.) · The maximum number of playable files per folder Table VI.1.1 Maximum Number of Playable Files FAT16 FAT32 Root folder Sub folder 512 65536 65534 65534 The number of files described above contains files other than MP3 and folders. If those non-MP3 files and folders exit within the folder and exceed the maximum number, all the 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. USB Memory Playable layers Folder Folder Folder File File Folder Folder File Folder Folder File Folder File File Folder Folder Folder File Folder Folder Folder File File File Folder File File File Folder File File File File File File Unplayable layers File Figure VI.1.1 Confidential Example of Memory Layers Target Spec 0.11 File BU94601KV Functional Specifications 21/56 VI.1.2 Playable file The playable file extensions are *.MP3, *.MP2 and *.MP1 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 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 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. (4) File name: A file name and its size do not depend on playing. (5) Extension: 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 MP3 files. VI.1.3 Playing sequence The playing sequence of 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. MP3 files are sorted by MP3 following SEL_MP3. Folders are sorted including null folders and those in which MP3 files are not written. Within each folder, 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 MP3 file exists in the root folder (the highest layer), the MP3 file is played first. (3) When all the 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, 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. VI.1.4 Folder/file sort 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. (4) For 101 or more folders and files, follow the order written to FAT. * Confidential 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. 2-a) When character-code that appears first is ≧0x80 ,It’s treated as the first byte of two byte character. Byte 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. Target Spec 0.11 BU94601KV Functional Specifications [Root Folder] 22/56 A.mp3 B.mp3 C.mp3 A_FOLDER D_FOLDER Figure VI.1.3 D.mp3 E.mp3 F.mp3 G.mp3 H.mp3 B_FODER I.mp3 J.mp3 C_FOLDER K.mp3 L.mp3 M.mp3 N.mp3 O.doc P.xls Q.mp3 E_FOLDER U.mp3 V.mp3 W.mp3 X.mp3 Y.mp3 Z.mp3 R.txt S.txt T.txt Configurations of Folders and Files within Memory Device Table VI.1.3 MP3 File Playing Sequence for Folder/File Configuration as in Figure VI.1.3 Confidential Playing sequence 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 File to be played A.mp3 B.mp3 C.mp3 D.mp3 E.mp3 F.mp3 G.mp3 H.mp3 I.mp3 J.mp3 K.mp3 L.mp3 M.mp3 N.mp3 Q.mp3 U.mp3 V.mp3 W.mp3 X.mp3 Y.mp3 21 Z.mp3 Remarks · If MP3 files exist in the root folder, those files are played first. · Files are played in the ascending order of UNICODE by file name. · After all MP3 files in the root folder are played, the master searches folders under that layer. · The master searches folders in the ascending order of UNICODE by folder name. · Non-MP3 files are ignored. · After the master plays all MP3 files including those in the lower layers within A_FOLDER, it moves to a folder in the same layer as A_FOLDER to search MP3 files. · Since there is no MP3 file in D_FOLDER, the layers same as A_FOLDER, the master plays MP3 files in E_FOLDER under that. Target Spec 0.11 BU94601KV Functional Specifications VI.2 23/56 MODE1 VI.2.1 KEY command operation VI.2.1.1 KEY SCAN (Single Mode) KEY SCAN operates in the following sequence on the circuit configuration as shown in Figure V.10 . (1) KEY_COL1 to 3 output waveforms at timing as shown in Figure VI.2.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 the KEY operation. . 420ns 420ns 420ns 20ms KEY_COL1 KEY_COL2 KEY_COL3 Figure VI.2.1 20ms 20ms KEY SCAN Waveform 20ms 20ms 20ms 20ms PLAY KEY_ROW1 KEY_ROW2 KEY_ROW3 KEY_ROW4 KEY_COL1 Determine that KEY is pressed Start the operation of the pressed KEY. Figure VI.2.2 Operating Waveforms when KEY is Pressed VI.2.1.2 KEY SCAN (Hold Mode) KEY SCAN operates in the following sequence on the circuit configuration as shown in Figure V.10 . (1) KEY_COL1 to 3 output waveforms at timing as shown in Figure VI.2.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 held 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 hold 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. The keys corresponding to Hold Mode are FF, FB, VOL+, and VOL-. Confidential Target Spec 0.11 BU94601KV Functional Specifications Figure VI.2.3 24/56 KEY SCAN Waveform. Note 1: Based on the above sequence, the master determines that KEY is pressed and starts the operation of the pressed KEY, pressing multiple KEYs at the same time will produce different operations depending on the KEY combinations. Therefore, you cannot regulate the operation sequence correctly even simultaneously pressing multiple KEYs will not cause any problems. In Hold Mode, Other pressed KEY is disregarded. Note 2: Because the KEY input does not have a buffering function, KEY inputs other than those described below are ignored. Confidential Target Spec 0.11 BU94601KV Functional Specifications 25/56 VI.2.1.3 KEY operation Table VI.2.1.2.1 shows the types and operations of KEYs. Table VI.2.1.2.2 shows enabled/disabled states of KEY operations. Table VI.2.1.2.1 KEY Commands and Operation Description KEY COMMAND PLAY/PAUSE STOP FF FB FOL+ FOL- +10 VOL+/VOL- Confidential OPERATION DESCRIPTION · When receiving “PLAY/PAUSE” key during stop, the master starts playing the first MP3 file sorted to the recognized device. · When receiving “PLAY/PAUSE” key during play, the master stops playing the MP3 file temporarily. When receiving PLAY/PAUSE key again, the master restarts playing the file. · When receiving “STOP” key during play, pause or file search, the master stops playing, pausing or searching the MP3 file. · When receiving “FF” KEY (Single Mode) during play or pause, the master searches the next MP3 file in the order of sort of files being played or paused. Upon completion of searching, the master starts playing the file. · During play of the last file, the master returns to the first file in the order of sort and plays the file. · When receiving “FF” KEY (Hold Mode) during play or pause, the master starts fast forward playing the file. When "FF" KEY release is detected, the master return to normal playing. · When music finishes into "FF" KEY (Hold Mode), the master starts fast forward playing from top of the next file. However, when selecting “REPEAT” or “RANDOM”, master search next file by setup. · When receiving “FB” KEY (Single Mode) during play or pause, the master searches the previous MP3 file in the order of sort of files being played or paused. Upon completion of searching, the master starts playing the file. · During play of the first file, the master plays the last file in the order of sort. · When receiving "FB" KEY within 1sec from top of file playing, the master searches the previous MP3 file in the order of sort of files being played. Upon completion of searching, the master starts playing the file. When receiving "FB" KEY over 1sec from top of file playing, the master starts playing from top of this MP3 file. · When receiving “FB” KEY (Hold Mode) during play or pause, the master starts fast backward playing the file. When "FB" KEY release is detected, the master return to normal playing. · When music finishes into "FB" KEY (Hold Mode), the master starts fast backward playing from end of the previous file. However, when selecting “REPEAT” or “RANDOM”, master search previous file by setup. · When receiving “FOL+” KEY during play or pause, the master searches the MP3 files in the next folder in the order of sort of the folder in which the file being played or paused exists. Upon completion of search, the master plays the file. · During play of the file in the last folder in the order of sort, the master plays the first file in the order of sort. · When receiving “FOL-“ KEY during play or pause, the master searches the MP3 files in the next folder in the order of sort of the folder in which the file being played or paused exists. Upon completion of search, the master plays the file. · During play of the file in the first folder in the order of sort, the master plays the first file in the order of sort in the last folder. · When receiving “+10” KEY during play or pause, the master searches MP3 files 10 files next to the current one in the order of sort of the file being played or paused. Upon completion of search, the master starts playing the file. · When the remaining files are less than 10 during play of the current file, the master plays the first file. · When receiving “VOL+/VOL-“ KEY while SEL_VOL terminal is set to H, the master controls sound volume. · Sound volume can be controlled at 32 steps from -∞ (minimum volume) to 0dB (maximum volume). · Since VOL+/VOL- KEY does not judge release of KEY, the master turns up or down volume step by step when determining press of the KEY. Therefore, VOL KEY can be held down. Target Spec 0.11 BU94601KV Functional Specifications 26/56 · The master selects the device between USB memory and SD memory card. To do this, both devices should be connected or one device should correspond to the other (USB to SD or SD to USB). Otherwise, this key operation is ignored. · Stop after selecting the device at the top tune of the device. · REPEAT and RANDOM settings return to the initial values. · When inserting both USB Memory and SD Memory card, or neither USB Memory nor SD Memory card, the master precedes USB Memory. · This key changes the mode of repeat. · Press of “REPEAT” KEY toggles like: “repeat all tunes in memory” Æ “repeat one tune” Æ “repeat within folder”. · When selecting “repeat within folder”, the master repeats MP3 files within the folder being played. The initial setting is “repeat all tunes in memory”. · This key plays the range of ± 128 files from the current one being played in the order of sort at random. · “RANDOM” KEY is enabled to change mode only during play, pause or stop. CHNG_DEV REPEAT RANDOM Table VI.2.1.2.2 KEY Operation Enabled/Disabled PLAY/ PAUSE STOP After recognizing device (Search or pause) Recognize Recognize either USB both USB or SD and SD During play of device Recognize either USB or SD Error Recognize Searching Recognize Recognize both USB either USB both USB and SD or SD and SD { { { { × × × × × { { { × × FF × × { { × × × FB × × { { × × × FOLDER+ × × { { × × × FOLDER- × × { { × × × VOL+ { { { { × { { VOL- { { { { × { { +10 × × { { × × × CHNG_DEV × { × { × × { REPEAT { { { { × × × RANDOM { { { { × × × { = Enabled × = Disabled VI.2.2 LED operation Seven types of LEDs used to display the LSI operation states are controlled. Table VI.2.2 shows the types and states of LEDs. Table VI.2.2 Types of LEDs and operation description Types of LEDs LED_ERROR LED_PLAY LED_PSD LED_PUSB LED_ACCESS LED_RANDOM LED_REPEAT Confidential Operation description Lights when an error occurs. This happens in the following cases: (1) Neither USB memory nor SD memory card is connected. No MP3 file exists even if these devices are connected. (2) Communication error or disconnection occurs in the memory being played. Lights during play. Blinks during pause. Lights when SD memory card is connected and played. Blinks when SD memory card is connected but SD memory card is not selected. Goes off when SD memory card is not connected. Lights when USB memory is connected and played. Blinks when USB memory is connected but USB memory card is not selected. Goes off when USB memory is not connected. Lights during access to USB memory or SD memory card. Lights during random play. Lights during folder repeat. Blinks during repeat of one tune. Goes off during repeat all tunes in memory Target Spec 0.11 BU94601KV Functional Specifications VI.3 27/56 MODE2 VI.3.1 Command operation You can operate commands via the I2C serial interface. When using the LSI in MODE2, it can be operated by setting SEL_SLAVE to L. The length of command to be sent varies depending on which command is selected. Table VI.3.1.1 shows the command specifications. Table VI.3.1.2 shows enabled/disabled state of each command. Table VI.3.1.1 Command Operation Description Operation description Command Command Command byte 1st name 2nd 3rd 4th length PLAY PAUSE 2 0x50 0x01 - - 0x02 - - STOP 0x03 - - VOL+ 0x04 - - VOL- 0x05 - - REPEAT 0x06 - - RANDOM 0x07 - - CHNG_DEV 0x08 - - Confidential · When receiving “PLAY” command during stop, the master starts playing the MP3 file currently selected. The order sorted from the root folder is initially set. · When receiving “PLAY” command during pause, the master restarts playing the file from that point. · When a state which disables MP3 decoding for more than 5 seconds during play, status “DECO_ERR” is set to H. MP3 decoding is continued. · When receiving “PLAY” command during fast forward (or backward) playing, the master restarts normal playing the file from current point. · When receiving “PAUSE” command during play, the master stops playing the MP3 files temporarily. · When receiving “STOP” command during play, pause or file search, the master stops playing the MP3 file. · When receiving “STOP” command during fast forward (or backward) playing, the master stops playing the file. · “STOP” command can be received even during BUSY. · When SEL_VOL is set to H, “VOL+” command is enabled. · When receiving “VOL+” command, the master controls sound volume. · Sound volume can be controlled at 32 steps from -∞ (minimum volume) to 0dB (maximum volume). · When SEL_VOL is set to H, “VOL-“command is enabled. · When receiving “VOL-“command, the master controls sound volume. · Sound volume can be controlled at 32 steps from -∞ (minimum volume) to 0dB (maximum volume). · This command selects the mode during repeat. · REPEAT command toggles like: “repeat all tunes in memory” Æ “repeat one tune” Æ “repeat within folder”. · When STATUS RPT_OFF is set as ON by "REPRAND" command, REPEAT command toggles like: “all play in memory” Æ “one file play” Æ “play within folder”. In this mode, it stops upon completion of playing. · When selecting “repeat within folder”, the master repeats MP3 files within the folder being played. · The initial setting is “repeat all tunes in memory”. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. · This key plays the range of ± 128 files from the current one being played in the order of sort at random. · When STATUS RPT_OFF is set as ON by "REPRAND" command, REPEAT command toggles like: “one random file play” Æ “all play with random in memory”. In this mode, it stops upon completion of playing. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. · The command selects the device between USB memory and SD memory card. To do this, both devices should be connected or one device should correspond to the other (USB to SD or SD to USB). Otherwise, this key operation is ignored. · Stop after selecting the device at the top tune of the device. · REPEAT and RANDOM settings return to the initial values. Target Spec 0.11 BU94601KV Functional Specifications ABORT SET_RESUME_ INFO1 SET_RESUME_ INFO2 SET_RESUME_ INFO3 SET_RESUME_ INFO4 SET_RESUME_ INFO5 SET_RESUME_ INFO6 0x0C 0x41 0x42 0x43 0x44 0x45 8 0x51 0x46 SET_RESUME_ INFO7 0x47 SET_RESUME_ INFO8 0x48 FF FF&PLAY 4 0x55 0x01 0x01 FFP_ON 0x02 FFP_OFF 0x03 FB Confidential 0x02 28/56 · This command interrupts Tag analysis. · It interrupts Tag analysis only the file is being played. RESUME INFO · This command sets byte 1 to 6 of 42-byte data obtained by 1byte-6byte “READ_RESUME_INFO”. RESUME INFO · This command sets byte 7 to 12 of 42-byte data obtained by 7byte-12byte “READ_RESUME_INFO”. RESUME INFO · This command sets byte 13 to 18 of 42-byte data obtained by 13byte-18byte “READ_RESUME_INFO”. RESUME INFO · This command sets byte 19 to 24 of 42-byte data obtained by 19byte-24byte “READ_RESUME_INFO”. RESUME INFO · This command sets byte 25 to 30 of 42-byte data obtained by 25byte-30byte “READ_RESUME_INFO”. RESUME INFO · This command sets byte 31 to 36 of 42-byte data obtained by 31byte-36byte “READ_RESUME_INFO”. · This command sets byte 37 to 42 of 42-byte data obtained by “READ_RESUME_INFO”. When RESUME reproduction is possible, play RESUME INFO 37byte-42byte started that music. When RESUME is impossible, play the head music of media is started. · This command sets byte 37 to 42 of 42-byte data obtained by “READ_RESUME_INFO”. When RESUME reproduction is possible, it RESUME INFO 37byte-42byte stops in the music. When RESUME is impossible, it stops at the head of media. · When receiving FF command during play, pause or stop, the master searches the next MP3 file in the order of sort of the file being played or paused. · During play of the last file, the master returns to the first file in the order of 0x00 sort. · Operation stops upon completion of search. · When TAG analysis is set by SEL_ID3 command, operation stops upon completion of TAG analysis. 0x00 0x00 · When receiving ”FF&PLAY” command during play, pause or stop, the master searches the next MP3 file in the order of sort of the file being played or paused. · During play of the last file, the master returns to the first file in the order of sort. · Operation starts playing, after completion of search. · When TAG analysis is set by SEL_ID3 command, the master plays the file upon completion of TAG analysis. · When receiving FFP_ON command during play, pause or stop, the master starts fast forward playing from current point. · When music finishes into that FFP_ON command is ON, the master starts fast forward playing from top of the next file. When setting “REPEAT” or “RANDOM”, master search next file by setup. 0x00 · When receiving FFP_OFF command during fast forward playing, the master restarts normal playing from current point. · When receiving “FB” command during play, pause or stop within 1sec from top of file playing, the master searches the previous MP3 file in the order of sort of files being played or paused. When receiving “FB” command during play or pause over 1sec from top of file playing, the master searches top of present MP3 file. · The master returns to the last file during play of the first file within 1sec from top of file playing. · Upon completion of search, the operation stops. · When TAG analysis is set by SEL_ID3 command, operation stops upon completion of TAG analysis. Target Spec 0.11 BU94601KV Functional Specifications 29/56 ·· When receiving “FB&PLAY” command during play, pause or stop within 1sec from top of file playing, the master searches the previous MP3 file in the order of sort of files being played or paused. When receiving “FB&PLAY” command during play or pause over 1sec from top of file playing, the master searches top of present MP3 file. · The master returns to the last file during play of the first file within 1sec from top of file playing. · Operation starts playing, after completion of search. · When TAG analysis is set by SEL_ID3 command, the master plays the file upon completion of TAG analysis. · When receiving FBP_ON command during play, pause or stop, the master starts fast backward playing from current point. · When music finishes into that FBP_ON command is ON, the master FB&PLAY 0x01 FBP_ON 0x02 FBP_OFF 0x03 · When receiving FBP_OFF command during fast backward playing, the master restarts normal playing from current point. 0x00 · When receiving “FOL+” command during play, pause or stop, the master searches the next folder in the order of sort of the folder in which the file being played or paused exists. · The master returns to the first folder in the order of sort during play of the last folder. · The operation stops upon completion of search. · When TAG analysis is set by SEL_ID3 command, operation stops upon completion of TAG analysis. 0x01 · When receiving “FOL+&PLAY” command during play, pause or stop, the master searches the next folder in the order of sort of the folder in which the file being played or paused exists. · The master returns to the first folder in the order of sort during play of the last folder. · Operation starts playing, after completion of search. · When TAG analysis is set by SEL_ID3 command, the master plays the file upon completion of TAG analysis. FOL+ starts fast backward playing from end of previous file. When setting “REPEAT” or “RANDOM”, master search previous file by setup. 0x03 FOL+&PLAY 0x00 FOL- 0x00 0x04 FOL-&PLAY +10 Confidential 0x01 0x05 0x00 0x00 · When receiving “FOL-“ command during play, pause or stop, the master search the next folder in the sort of the folder in which the file being played or paused exists. · During play of the first folder, the master returns to the last folder in the order of sort. · The operation stops upon completion of search. · When TAG analysis is set by SEL_ID3 command, operation stops upon completion of TAG analysis. · When receiving “FOL-&PLAY“ command during play, pause or stop, the master searches the next folder in the order of sort of the folder in which the file being played or paused exists. · During play of the top folder, the master returns to the first folder in the order of sort. · Operation starts playing, after completion of search. · When TAG analysis is set by SEL_ID3 command, the master plays the file upon completion of TAG analysis. · When receiving “+10” command during play, pause or stop, the master th searches the MP3 file of the 10 tune in the order of sort of the file being played or paused. · When the remaining files to be played are less than 10 in the order of sort, the master returns to the first file. · The operation stops upon completion of search. · When TAG analysis is set by SEL_ID3 command, operation stops upon completion of TAG analysis. Target Spec 0.11 BU94601KV Functional Specifications +10&PLAY 0x01 -10 0x00 0x06 -10&PLAY USB_MNT_REA DY 0x01 · This command prepares for USB memory mount. 4 0x5D 0x0B 0x01 0x00 · Be sure to send this command when STATUS turns to USB_INS=H and BUSY=L.. 0x58 0x00 SET_DOUT SET_EQ * See Chapter VI.3.3. SET_VOL Confidential 30/56 · When receiving “+10&PLAY” command during play, pause or stop, the th master searches the MP3 file of the 10 tune in the order of sort of the file being played or paused. · When the remaining files to be played are less than 10 in the order of sort, the master returns to the first file. · Operation starts playing, after completion of search. · When TAG analysis is set by SEL_ID3 command, the master plays the file upon completion of TAG analysis. · When receiving “-10” command during play, pause or stop, the master th searches the MP3 file of the previous 10 tune in the order of sort of the file being played or paused. · When playing the top 10 or less files in the order of sort, the master returns to the first file. · The operation stops upon completion of search. · When TAG analysis is set by SEL_ID3 command, operation stops upon completion of TAG analysis. · When receiving “-10&PLAY” command during play, pause or stop, the th master searches the MP3 file of the previous 10 tune in the order of sort of the file being played, paused or stopped. · When playing the top 10 or less files in the order of sort, the master returns to the first file. · Operation starts playing, after completion of search. · When TAG analysis is set by SEL_ID3 command, the master plays the file upon completion of TAG analysis. 4 2 2 0x51 0x52 0x53 0x20 0x59 0x5B · This command outputs the audio data in the I2S (32fs) format. · When the line output is selected by SEL_DOUT terminal, the command is ignored. · This command outputs the audio data in the I2S (48fs) format. · When the line output is selected by SEL_DOUT terminal, the command is ignored. · This command outputs the audio data in the I2S (64fs) format. · When the line output is selected by SEL_DOUT terminal, the command is ignored. · This command performs serial audio interface (SPDIF) output. · When the line output is selected by SEL_DOUT terminal, the command is ignored. 0x01 0x01 0xFF 0x00 0x00 - - · This command stops serial audio interface (I2S, SPDIF) output. · When the line output is selected by SEL_DOUT terminal, the command is ignored. This command turns OFF the EQ setting. 0x01 - - POPS 0x02 - - JAZZ 0x03 - - ROCK 0x04 - - CLASSIC 0x05 - - R&B 0x07 - - This command turns OFF the EQ setting. 0x08 - - BASS BOOST1 0x09 - - POPS+BASS BOOST1 0x0A - - JAZZ+BASS BOOST1 0x0B - - ROCK+BASS BOOST1 0x0C - - CLASSIC+BASS BOOST1 0x0D - - R&B+BASS BOOST1 0x0F - - Setting value - - BASS BOOST2 · This command sets the sound volume to the 2nd byte value of the command. The setting value ranges 32 steps from 0x00 to 0x1F. Any value outside of the above range is ignored. Target Spec 0.11 BU94601KV Functional Specifications 0x00 0x01 0x02 0x03 REPRAND SEL_ID3 SEL_TOC SEL_12MOUT SEL_WDT Confidential 2 2 2 2 2 0x54 - - - - - - 31/56 · This command repeats all the tunes within the memory. This is initially set. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. · The command repeats playing the MP3 file within the folder being played. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. - · This command repeats playing the MP3 file being played. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. - · This command plays through the range of ±128 files in the order of the sort from the current one being played at random. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. 0x04 - - 0x05 - - 0x06 - - 0x07 - - 0x00 - - 0x56 0x01 - - 0x00 - - 0x57 0x01 - - 0x00 - - 0x01 - - 0x00 - - 0x01 - - 0x58 0x5A · This command plays all the tunes within the memory. STATUS RPT_OFF is set as ON. · It stops after the last file playing. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. · This command plays all the tunes within the folder being played. STATUS RPT_OFF is set as ON. · It stops after the last file playing within the folder. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. · This command plays one tunes. STATUS RPT_OFF is set as ON. · It stops after the file playing. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. · This command plays through the range of ±128 files in the order of the sort from the current one being played at random. STATUS RPT_OFF is set as ON. · It stops after the file playing. · The last setting to “REPRAND”, “REPEAT” and “RANDOM” commands will be enabled. · This command does not perform ID3Tag analysis written to the MP3 file. · The file played immediately after set will be enabled first. · This command analysis ID3Tag written to the MP3 file. · The file played immediately after set will be enabled first. · Upon completion of Tag analysis, the data is written to the status register. · This command does not perform TOC analysis. · TOC analysis is not performed at initial setting. · When receiving the command, inserting into the device or changing the device, the master analyzes the total folders (including root directory) and total MP3 files within the device. · The number of total MP3 files conforms to SEL_MP3 terminal. · When receiving the command, only change from OFF to ON is executed. · Upon completion of TOC analysis, the master returns to the top tune of the device and stops. · After TOC analysis, the data is written to the status register. · This command stops 12MHz clock output from CLKOUT12 terminal. · This command enables 12 MHz clock output from CLKOUT12 terminal. · This command stops WDT. · This command writes “1” to STATUS WDT_RFLG. Target Spec 0.11 BU94601KV Functional Specifications 0x00 SET_RPM 6 SET_UPLOAD_ FILE1 SET_UPLOAD_ FILE2 UPLOAD_END 8 setting 0x5B 0x01 0x51 0x51 8 0x51 0x52 2 0x51 0x53 setting 0x00 NAME[0:5] NAME[6:7] EXT[0:2] - 32/56 · This command set up playtime and skiptime for fast forward playing and fast backward playing. Fast forward and fast backward playing repeat this cycle by making {playtime(M) + skiptime(N) +error(O)} into 1 cycle. With an error, it depends on the cajoled error between the minimum decoding unit and playtime, and the real time which searches skiptime. Errors differ by every file and every composition in memory. · This command set up that playtime is M[15:0]=[4th byte, 3rd byte] and skiptime are N[15:0]=[6th byte and 5th byte]. Initial value set playtime is 300 mili second=M[15:0]=[4 th byte=x01, 3rd byte=x2C] and skiptime is 2100 mili second=N[15:0]=[6 th byte=x08, 5 th byte=x34]. When command set up to 0x0, setting value is initial value. The playtime should set up 300ms or more, and skiptime should set up below (playtime x16). - · This command set up the attenuation level under fast forward and backward playing. An attenuation level serves as (-6dB X [3rd byte]). A setup can be specified from 0x00 to 0x10.As for an initial value, 0x02=-12dB is set up. It becomes equivalent to MUTE by setup of 0x10. Specify the part of the first half of the file name of the file for File Read Function. *Bury it by 0x20 when the file name(NAME) doesn't come up to eight bytes. Specify the part of the latter half of the file name of the file for File Read Function. *Bury it by 0x20 when the file name(NAME) doesn't come up to eight bytes. Bury it by 0x00 when the file extension doesn't come up to three bytes. It targets neither the file name comparison since 0x00 of the end in the comparison. The File Read function is ended. Transmit after completing the file reading. The ACK timeout of the command under memory mount is set up. SET_TOUT_M 8 0x5D 0x07 The set point x100 (msec) is timeout. setting Mount ERROR will be carried out if a timeout is carried out. An initial value is 30sec. The ACK timeout of the PLAY or STOP or PAUSE in commands at the time of PAUSE (except during mount) is set up. SET_TOUT_C 8 0x5D 0x08 setting The set point x100 (msec) is timeout. Communication ERROR will be carried out if a timeout is carried out. An initial value is 5sec. The weight time after bus reset is set up at the time of USB memory SET_USB_R_W AIT 6 0x5D 0x09 setting 0x00 recognition. The set point x200 (msec) is weight time. As for an initial value, 200msec is set up. A vendor code and Product ID are stored in COMAREA. Please read COMAREA after GET_VENDOR command transmission and acquire code data. GET_ VENDOR 2 0x5F 0x16 - - Offset 0x20:Vendor code Lower byte 0x21:Vendor code Upper byte 0x22:Product code Lower byte 0x23:Product code Upper byte Force mounted USB memory to be disconnected. FORCE_DISCO N_USB 2 0x5D 0x02 - - 2 0x5D 0x0A - - 4 0x5D 0x0C 0x01 0x00 4 0x5D 0x0C 0x00 0x00 command. Mounts USB memory again, which Mount ERROR occurred. FORCE_CON_U SB Force SD memory to be disconnected, which Mount ERROR occurred FORCE_DISCO N_SD Mounts SD memory again, which was disconnected by FORCE_DISCON_SD FORCE_CON_S D Confidential Target Spec 0.11 BU94601KV Functional Specifications 33/56 LUN, which USB memory mounts, is specified. LUN specified at the time of USB connection mounts. SET_LUN 4 0x5D 0x0D setting 0x00 When another LUN is already mounted, it re-mounts to specified LUN. When not specifying LUN, effective LUN becomes an AUTO setup and LUN detected first is mounted at the time of USB memory connection. (Initial value) RESET_LUN Confidential 2 0x5D 0x0E - - Effective LUN is set to AUTO and LUN detected first comes to be mounted at the time of USB memory connection. Target Spec 0.11 BU94601KV Functional Specifications 34/56 Table VI.3.1.2 Command Enabled/Disabled in Various States PLAY PAUSE After recognizing device, search or During play of device Search pause ing Recognize Recognize Recognize Recognize either USB either USB either USB both USB or SD or SD or SD and SD ○ ○ × × × × × ○ ○ × During FFP During FBP ○ ○ ○ ○ Error Recognize Recognize either USB both USB or SD and SD × × × × STOP × × ○ ○ ○ ○ ○ × × VOL+ ○ ○ ○ ○ × ○ ○ ○ ○ VOL- ○ ○ ○ ○ × ○ ○ ○ ○ REPEAT ○ ○ ○ ○ × ○ ○ × × RANDOM ○ ○ ○ ○ × ○ ○ × × CHNG_DEV × ○ × ○ × ○ ○ × ○ ABORT SET_RESUME_ INFO1-8 FF × × × × ○ × × × × ○ ○ ○ ○ × × × × × ○ ○ ○ ○ × × × × × FF&PLAY ○ ○ ○ ○ × × × × × FFP_ON × × ○ ○ × ○ ○ × × FFP_OFF × × × × × ○ × × × FB ○ ○ ○ ○ × × × × × FB&PLAY ○ ○ ○ ○ × × × × × FBP_ON × × ○ ○ × ○ ○ × × FBP_OFF × × × × × × ○ × × FOL+ ○ ○ ○ ○ × × × × × FOL+&PLAY ○ ○ ○ ○ × × × × × FOL- ○ ○ ○ ○ × × × × × FOL-&PLAY ○ ○ ○ ○ × × × × × +10 ○ ○ ○ ○ × × × × × +10&PLAY ○ ○ ○ ○ × × × × × −10 ○ ○ ○ ○ × × × × × −10&PLAY ○ ○ ○ ○ × × × × × USB_MNT_READY ○ ○ ○ ○ ○ ○ ○ ○ ○ SET_DOUT ○ ○ ○ ○ × ○ ○ ○ ○ SET_EQ ○ ○ ○ ○ × ○ ○ ○ ○ SET_VOL ○ ○ ○ ○ × ○ ○ ○ ○ REPRAND ○ ○ ○ ○ × ○ ○ × × SEL ID3 ○ ○ ○ ○ × ○ ○ × × SEL_TOC ○ ○ ○ ○ × ○ ○ × × SEL 12MOUT ○ ○ ○ ○ × ○ ○ ○ ○ SET_WDT ○ ○ ○ ○ × ○ ○ ○ ○ SET_RPM ○ ○ ○ ○ × ○ ○ ○ ○ SET_UPLOAD_FILE1 After recognizing the USB memory, only the halt condition is the command effective. SET_UPLOAD_FILE2 UPLOAD_END SET_TOUT_M ○ ○ ○ ○ × ○ ○ ○ ○ SET_TOUT_C ○ ○ ○ ○ × ○ ○ ○ ○ SET_USB_RWAIT ○ ○ ○ ○ × ○ ○ ○ ○ GET_VENDOR FORCE_DISCON_US B ○ ○ ○ ○ × ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ × × Confidential Target Spec 0.11 BU94601KV Functional Specifications 35/56 FORCE_CON_USB × × × × × × × ○ ○ FORCE_DISCON_SD × × × × × × × ○ ○ FORCE_CON_SD × × × × × × × ○ ○ SET_LUN ○ ○ ○ ○ × ○ ○ ○ ○ RESET_LUN ○ ○ ○ ○ × ○ ○ ○ ○ { = Enabled Confidential × = Disabled Target Spec 0.11 BU94601KV Functional Specifications VI. 3.2 36/56 Status output The operation information, such as internal status, play time information, folder information, file information, and ID3Tag information is output using an I2C interface. Statuses as shown in Table VI. 3.2.1 MODE 2 Status Register Map are output. The status register has a ring buffer structure of OFFSET 0x00-0x7F. The OFFSET position is automatically incremented after reading byte data. Status read specifies OFFSET of the status register map. There are two methods available: to read a desired number of bytes continuously from the OFFSET position and to read the data by one command without specifying the OFFSET position. Figure VI.3.2.2 shows the status output commands. Table VI.3.2.3 shows the enabled/disabled state of the status output commands. Status register outputs a byte data of OFFSET 0x00-0x7F by "Little Endian" format Table VI. 3.2.1 MODE2 Status Register Map OFFSET 0x00 0x01 Status bit7 (MSB) bit6 bit5 STATUS1 ERROR 0: No error 1: Error occurs SEARCH 0: Search stop 1: Searching SEL_ID3 0: ID3Tag OFF 1: ID3Tag ON STATUS2 USBINS 0: USB not connected 1: USB connection detected SDINS USBFILE 0: SD not Playable file within connected USB memory 1: SD connection 0: Absent detected 1: Present 0x02 STATUS3 BUSY 0: Not BUSY 1: BUSY MCHNG Tune number change detection 0: Tune ended/stopped 1: Playing/ stop before playing 0x03 STATUS4 0 0 0 0x04 STATUS5 12MOUT 12 MHz clock output 0: OFF 1: ON WDT_RFLG 0: after RESET 0 0x05 VOLINF 0 0 0 0x06 EQINF 0x07 PRECOM 0x08 Confidential DOUT bit4 0 bit3 bit2 bit1 SEL_TOC 0: TOC display DEC_ERR STOP PAUSE 0: No error 0: Not stopped 0: Not paused OFF 1: TOC display 1: Error occurs 1. Stopping 1: Pausing ON SDFILE Playable file within SD memory 0: Absent 1: Present bit0 (LSB) Play 0: Not played 1: Playing PDEVUSB PDEVSD MDEVUSB MDEVSD PDEVUSB USB PDEVUSB SD USB memory SD memory memory memory 0: Not 0: Not 0: Stopping 0: Stopping recognized recognized 1: Playing/Tag 1: Playing/Tag 1: Recognized 1: Recognized analyzing analyzing TINFSD TINFUSB Total number Total number of ID3EXIST of folders/files folders/files TAG information within SD within USB 0: Not exist memory memory 1: Exist 0: Not 0: Not obtained obtained 1: Obtained 1: Obtained RPT_OFF RANDOM REP1 REPFOL Setting after Random play One-tune repeat Folder repeat 0 last file playing setting setting setting 0: repeat 0: OFF 0: OFF 0: OFF 1: stop 1: ON 1: ON 1: ON FBP FFP RES_ERR Fast backward Fast forward Resume error 0 playing playing 0: No error 0 0: OFF 0: OFF 1: Error 1: ON 1: ON occurs ID3RSID1 ID3Tag Version1 0: Absent 1: Present ID3RSID2 ID3Tag Version2 0: Absent 1: Present VOLINF Sound volume information [ 4: 0 ] EQINF Equalizer setting information 0000: OFF 0001: POPS 0010: JAZZ 0011: ROCK 0100: CLASSIC 0101: R&B 1000: BASS BOOST 1001: POPS+BASS 1010: JAZZ+BASS 1011: ROCK+BASS 1100: CLASSIC+BASS 1101: R&B+BASS 1111 BASS BOOST2 0 0 0 0 0 0 DOUT Audio output 0: LINE output 1: I2S / SPDIF PRECOM Previous Command information 0: normal 1: miss Vendor code HUB Un Support device Detection Flag Detection Flag Detection Flag 0: appleNot 0: Not Detection 0: Not Detection Detection 1: Detection 1: Detection 1: appleDetection Target Spec 0.11 0 0 BU94601KV Functional Specifications 37/56 0x09 DOUTINF DOUTINF I2S format status 0x58: 32fs(Initial value) 0x59: 48fs 0x5B: 64fs 0x00: OFF 0x01: SPDIF output 0x0A PFOLNL PFOLNL Playing folder number lower-order byte [7:0] 0x0B PFOLNH PFOLNH Playing folder number upper-order byte [15:8] 0x0C PFILENL PFILENL Playing file number lower-order byte [7:0] 0x0D PFILENH PFILENH Playing file number upper-order byte [15:8] 0x0E PSEC Playing time second information [7:4]x10 sec. Playing time second information [3:0]x1 sec. 0x0F PMIN Playing time minute information [7:4]x10 min. Playing time minute information [3:0]x1 min. 0x10 TFOLUSBL TFOLUSBL USB memory total folder number lower -order byte [7:0] 0x11 TFOLUSBH TFOLUSBH USB memory total folder number upper-order byte [15:8] 0x12 TFILEUSBLL TFILEUSBLL USB memory total file number lower -order byte [15:0] [7:0] 0x13 TFILEUSBLH TFILEUSBLH USB memory total file number upper-order byte [15:0] [15:8] 0x14 TFILEUSBHL TFILEUSBHL USB memory total file number lower -order byte [31:16] [23:16] 0x15 TFILEUSBHH TFILEUSBHH USB memory total file number upper-order byte [[31:16] [31:24] 0x16 TFOLSDL TFOLSDL SD memory total folder number lower -order byte [7:0] 0x17 TFOLSDH TFOLSDH SD memory total folder number upper-order byte [15:8] 0x18 TFILESDL TFILESDLL SD memory total file number lower -order byte [15:0] [7:0] 0x19 TFILESDLH TFILESDLH SD memory total file number upper-order byte [15:0] [15:8] 0x1A TFILESDHL TFILESDHL SD memory total file number lower -order byte [31:16] [23:16] 0x1B TFILESDHH TFILESDHH SD memory total file number upper-order byte [31:16] [31:24] 0x1C LANGL LANGL Language code information lower -order byte [7:0] 0x1D LANGH LANGH Language code information upper -order byte [15:8] Confidential Target Spec 0.11 BU94601KV Functional Specifications 0x20 | 0x7F COMAREA Confidential COMAREA Data common area The content varies depending on the status read command. Target Spec 0.11 38/56 BU94601KV Functional Specifications 39/56 Table VI. 3.2.2 MODE2 Status Output Commands Command name Command 1st byte 2nd byte Status output bytes Status · The command outputs the desired bytes of data from the OFFSET position specified in the READ_BUFF 0x5E OFFSET status register map. Optional · Since the status register functions as a ring buffer of 0x00-0x7F, the master returns to 0x00 after OFFSET position 0x7F during data read. READ_STATUS 0x00 READ_PLAY_INFO 0x01 READ_VOL 0x02 5 1 READ_ID3_TITLE 0x04 64 READ_ID3_ALBUM 0x06 READ_FILE_NAME 0x07 0x0A-0x0F in the status buffer. · This command outputs the data of OFFSET 1 0x03 0x05 0x00-0x04 in the status buffer. · This command outputs the data of OFFSET 6 READ_EQ READ_ID3_ARTIST · This command outputs the data of OFFSET 0x05 in the status buffer. · This command outputs the data of OFFSET 0x06 in the status buffer. · This command outputs the data of ID3Tag Title. *1 · This command outputs the data of 64 ID3Tag Artist.*1 · This command outputs the data of 64 ID3Tag Album.*1 · This command outputs the data of 64 playing MP3 file name. see VI.1.4 · This command outputs the data of READ_FOLDER_NAME 0x08 64 folder name includes playing MP3 file. see VI.1.4 READ_RESUME_INFO * See Chapter VI.3.4. READ_VERSION 0x5F 0x09 42 0x10 1 · This command outputs the data to resume. see VI.3.4 · This command outputs the data of Firmware version. · READ_FILE_SIZE 0x11 4 The size of a specified file of the File Read function is acquired. It outputs with LittleEndian. · When the file doesn't exist, "0xFF, 0xFF, 0xFF, and 0xFF" is output. · The file data of a specified file of the File Read function is read. READ_FILE_DATA 0x12 96 · The 92byte data reading is possible by one time. · Four head bytes are file offsets. It outputs it with LittleEndian. READ_LUN 0x17 1 READ_LUN_NUM 0x18 1 READ_SET_LUN 0x19 1 · Read LUN of the USB memory specified or mounted now. · Read the total of LUN of the USB memory which is connected now. · Read LUN specified by the "SET_LUN" command. In not setting up, 0xFF is read. *1:BOM(Byte Order Mark) might enter two head bytes according to ID3 data Confidential Target Spec 0.11 BU94601KV Functional Specifications 40/56 Table VI.3.2.3 Command Enabled/Disabled in Various States After recognizing During device (stopping play of Searching after searching) device READ_BUFF { { { { READ_STATUS { { { { READ_PLAY_INFO { { × × READ_VOL { { × { READ_EQ { { × { READ_ID3_TITLE { { × × READ_ID3_ALBUM { { × × READ_ID3_ARTIST { { × × READ_FILE_NAME { { × × READ_FOLDER_NAME { { × × READ_RESUME_INFO { { × × READ_VERSION { { × × READ_FILE_SIZE After recognizing the USB memory, only the halt condition is the command effective. READ_FILE_DATA READ_LUN ○ ○ × ○ READ_LUN_NUM ○ ○ × ○ READ_SET_LUN ○ ○ × ○ { = Enabled, × = Disabled Confidential Error Target Spec 0.11 BU94601KV Functional Specifications 41/56 VI.3.3 Equalizer You can select 5 types of equalizer and 2 types of BassBoost for the audio line output using a command (see Table VI. 3.3.1). Combination of equalizer and BassBoost1 is available. Equalizer setting is enabled even when line output is not selected. No change of sound quality by the equalizer is found in digital outputs. Figures VI.3.3.1 to VI. 3.3.6 show the frequency characteristics of each filter. POPS 20 15 POPS(0x52, 0x01) POPS+BassBoost1(0x52, 0x09) Mag.(dB) 10 5 0 -5 -10 10 100 1000 10000 100000 Freq.(Hz) Figure IV.3.3.1 POPS Frequency Characteristics JAZZ 20 15 JAZZ(0x52, 0x02) JAZZ+BassBoost1(0x52, 0x0A) Mag.(dB) 10 5 0 -5 -10 10 100 1000 10000 Freq.(Hz) Figure VI. 3.3.2 JAZZ Frequency Characteristics Confidential Target Spec 0.11 100000 BU94601KV Functional Specifications 42/56 Rock 20 15 ROCK(0x52, 0x03) ROCK+BassBoost1(0x52, 0x0B) Mag.(dB) 10 5 0 -5 -10 10 100 1000 10000 100000 Freq.(Hz) Figure VI. 3.3.3 ROCK Frequency Characteristics Classic 20 15 CLASSIC(0x52, 0x04) CLASSIC+BassBoost1(0x52, 0x0C) Mag.(dB) 10 5 0 -5 -10 10 100 1000 10000 Freq.(Hz) Figure VI. 3.3.4 CLASSIC Frequency Characteristics Confidential Target Spec 0.11 100000 BU94601KV Functional Specifications 43/56 R&B 20 15 R&B(0x52, 0x05) R&B+BassBoost1(0x52, 0x0D) Mag.(dB) 10 5 0 -5 -10 10 100 1000 10000 100000 Freq.(Hz) Figure VI. 3.3.5 R&B BassBoost 20 15 BassBoost1(0x52, 0x08) BassBoost2(0x52, 0x0F) Mag.(dB) 10 5 0 -5 -10 10 100 1000 Freq.(Hz) Figure VI. 3.3.6 BassBoost Confidential Target Spec 0.11 10000 100000 BU94601KV Functional Specifications 44/56 VI. 3.4 Resume information This LSI outputs the information required to implement the resume function using the “READ_RESUME_INFO” command. Table VI.3.4 shows the resume information status register structure. Table VI. 3.4 Resume Information Register Structure Status OFFSET Resume information Information data 0x20-0x49 Resume [42 bytes] i. Resume Information data : Shows the file’s information and play’s information now. This is a number uniquely set to the LSI. Since the above 42-byte resume information is used to execute resume play, do not change the contents before use. When you use changed contents, the action cannot assure. You can implement the resume function by reading the resume information read using the “READ_RESUME_INFO” command and then writing the information using the “SET_RESUME_INFO1-7” command. After “SET_RESUME_INFO1-7” is all written, the LSI automatically searches and plays a resume file from the time, which read “READ_RESUME_INFO” command upon completion of writing of “SET_RESUME_INFO7”. VI. 3.5 Language Code Information This LSI outputs Language Code Information to Status register. (OFFSET=0x1C and 0x1D) Table VI.3.5 shows the Language Code information status register structure. Table VI. 3.5 Language Code Information Register Structure LANGH OFFSET=0x1D LANGL OFFSET=0x1C 0x00 0x00 0x00 0x00 0x00 0x01 0x02 0x03 Confidential Language Code ID3V1 TAG or ISO8859-1 (ID3V2 TAG) UTF-16 (ID3V2 TAG) UTF-16BE (ID3V2 TAG) UTF-8 (ID3V2 TAG) Target Spec 0.11 BU94601KV Functional Specifications VI.4 45/56 MODE3 MODE3 specifies and plays the MP3 file to be played by the master microcomputer by outputting the MP3 file/folder status information, written to USB memory or SD memory card, to the master microcomputer. VI.4.1 Command operation The LSI sends commands to obtain the file/folder information in USB memory or SD memory card, to analyze ID3Tag and to set a file to be played and start playing it. Table VI.4.1 shows the commands available in MODE3. When sending a command other than listed below in MODE3, it is ignored. Table VI.4.1 MODE3 Command Command Command Command name byte length PAUSE 2 Operation description 1st 2nd 3rd - 6th 0x50 0x02 - · When receiving “PAUSE” command during play, the master stops playing the MP3 files temporarily. · This command stops the operations of ID3Tag analysis. STOP 0x03 - · This command stops playing the MP3 file and stop at top of this MP3 file. VOL+ VOL- 0x04 0x05 - · When SEL_VOL is set to H, “VOL+” command is enabled. · When receiving “VOL+” command, the master controls sound volume. · Sound volume can be controlled at 32 steps from -∞ (minimum volume) to 0dB (maximum volume). - · When SEL_VOL is set to H, “VOL-“command is enabled. · When receiving “VOL-“command, the master controls sound volume. · Sound volume can be controlled at 32 steps from -∞ (minimum volume) to 0dB (maximum volume). · The command selects the device between USB memory and SD memory card. CHNG_DEV 0x08 - To do this, both devices should be connected or one device should correspond to the other (USB to SD or SD to USB). Otherwise, this command is ignored. · After selecting the device, the LSI waits for a command. · This command obtains the folder information (*see VI.4.3) and file information (*see VI.4.3) for the folder set by SET_DIRECT. GET_DIRECT 0x09 - · Read the information using the status commands “READ_FOLDER_INFO” and “READ_FILE_INFO”. · The status of “ANA_END”, “FOLINF”, “FILINF”, “FOLFULL” and “FILFULL” are reset. · This command obtains the number of files and folders for the folder set by SET_DIRECT. GET_NUMBER 0x0A - · Read the information using status command “READ_NUMBER”. · The number of non- MP3 files is ignored. · The statuses of “ANA_END” are reset. · This command performs TAG analysis for the valid file set by SET_DIRECT. GET_ID3 0x0B - · The command also analyzes even if the folder is not specified. However, at the end of analysis, a status in which Tag information is not contained will be output. - The statuses of “ID3EXIST”, “ID3RSID1” and “ID3RSID2” are reset. · This command stops the operations of Tag analysis, folder analysis ABORT 0x0C - and file analysis. · The statuses of “ANA_END”, “FOLINF”, “FILINF”, “FOLFULL”, “FILFULL”, "ID3EXIST", "ID3RSID1" and "ID3RSID2" are reset. Confidential Target Spec 0.11 BU94601KV Functional Specifications PLAY_DIRECT USB_MNT_READ Y 0x0D 46/56 · This command starts playing the MP3 file set by SET_DIRECT. · The command plays the file even when the preset file is not a MP3 file or when the folder is specified, the command plays the specified one. If MP3 decode disabled is detected for 5 seconds or longer, the command outputs status "DECO_ERR"=H. - · This command prepares for USB device mount. 4 0x5D 0x0B 0x01 0x00 · Be sure to send this command when STATUS turns to USB_INS=H and BUSY=L.. · This command outputs audio data in the I2S (32fs) format. 0x58 · When line output is selected by SEL_DOUT terminal, the command is ignored. · This command outputs audio data in the I2S (48fs) format. 0x00 0x59 · When line output is selected by SEL_DOUT terminal, the command is ignored. · This command outputs audio data in the I2S (64fs) format. SET_DOUT 4 0x20 0x5B · When line output is selected by SEL_DOUT terminal, the command is ignored. · This command performs serial audio interface (SPDIF)output. 0x51 0x01 0x01 · When line output is selected by SEL_DOUT terminal, the command is ignored. · This command performs serial audio interface (I2S, SPDIF) output. 0xFF 0x00 · When line output is selected by SEL_DOUT terminal, the command is ignored. · This command sets the number of obtained folders for those set by SET_DIRECT. SET_NUMBER 6 0x21 0xXX · Parameter: “Number of obtained folders: 2 bytes” + “Number of obtained MP3 files: 2 bytes”. By specifying “0”, all the folders and files are obtained. SET_RESUME_ INFO1 0x41 SET_RESUME_ INFO2 0x42 SET_RESUME_ INFO3 0x43 SET_RESUME_ INFO4 0x44 8 0x51 SET_RESUME_ INFO5 0x45 RESUME INFO 1byte-6byte RESUME INFO 7byte-12byte RESUME INFO 13byte-18byt e RESUME INFO 19byte-24byt e RESUME INFO 25byte-30byt e RESUME INFO 31byte-36byt e SET_RESUME_ INFO6 0x46 SET_RESUME_ INFO7 RESUME INFO 0x47 37byte-42byte SET_EQ Confidential · This command sets byte 7 to 12 of 42-byte data obtained by “READ_RESUME_INFO”. · This command sets byte 13 to 18 of 42-byte data obtained by “READ_RESUME_INFO”. · This command sets byte 19 to 24 of 42-byte data obtained by “READ_RESUME_INFO”. · This command sets byte 25 to 30 of 42-byte data obtained by “READ_RESUME_INFO”. · This command sets byte 31 to 36 of 42-byte data obtained by “READ_RESUME_INFO”. · This command sets byte 37 to 42 of 42-byte data obtained by “READ_RESUME_INFO”. When RESUME reproduction is possible, play started that music. When RESUME is impossible, play the head music of media is started. · This command sets byte 37 to 42 of 42-byte data obtained by RESUME “READ_RESUME_INFO”. When RESUME reproduction is possible, INFO 0x48 it stops in the music. When RESUME is impossible, it stops at the 37byte-42byte head of media. SET_RESUME_ INFO8 *See Chapter · This command sets byte 1 to 6 of 42-byte data obtained by “READ_RESUME_INFO”. 2 0x52 0x00 - · This command turns OFF EQ setting. 0x01 - · POPS Target Spec 0.11 BU94601KV Functional Specifications VI.3.3. SET_VOL 0x53 0x02 - · JAZZ 0x03 - · ROCK 0x04 - · CLASSIC 0x05 - · R&B 0x07 - · This command turns OFF EQ setting. 0x08 - · BASS BOOST 0x09 - · POPS+BASS 0x0A - · JAZZ+BASS 0x0B - · ROCK+BASS 0x0C - · CLASSIC+BASS 0x0D - · R&B+BASS 0x0F - · BASS BOOST2 · Set sound volume the second byte value of the command. Setting - value 47/56 The setting values are 32 steps ranging from 0x00 to 0x1F. · A value specified outside the above range will be ignored. . Start the fast-forwarding playback from a present playback position FFP_ON 0x02 0x00 0x03 0x00 0x02 0x00 0x03 0x00 0x01 FFP_OFF 4 . Stop the fast-forwarding playback by this command fast-forwarding 0x55 0x02 FBP_OFF 0x00 2 playback, and usually playback. . Start the rewinding playback from a present playback position by this FBP_ON SEL_12MOUT by this command of playbacking and pausing. . Stop the rewinding playback by this command rewinding playback, - 0x58 0x01 command of playbacking and pausing. - and usually playback. · This command stops 12 MHz clock output from CLKOUT12 terminal. · This command enables 12 MHz clock output from CLKOUT12 terminal. · This command specifies the current position of the folder/file by SET_DIRECT SET_WDT SET_RPM SET_RPM Confidential 8 2 6 6 0x59 0x5A specifying the folder/file information access data (6 bytes). 0x00 0xXX 0x00 - · By specifying “0”, the position is set to the root folder. · This command stops Watch Dog Timer. 0x01 - · This command writes “1” to STATUS WDT_RFLG. 0x5B 0x00 setting 0x5B 0x01 setting 0x00 · Specify access data (6 bytes) at 0xXX. · This command set up playtime and skiptime for fast forward playing and fast backward playing. Fast forward and fast backward playing repeat this cycle by making {playtime(M) + skiptime(N) +error(O)} into 1 cycle. With an error, it depends on the cajoled error between the minimum decoding unit and playtime, and the real time which searches skiptime. Errors differ by every file and every composition in memory. · This command set up that playtime is M[15:0]=[4th byte, 3rd byte] and skiptime are N[15:0]=[6th byte and 5th byte]. Initial value set playtime is 300 mili second=M[15:0]=[4 th byte=x01, 3rd byte=x2C] and skiptime is 2100 mili second=N[15:0]=[6 th byte=x08, 5 th byte=x34]. When command set up to 0x0, setting value is initial value. The playtime should set up 300ms or more, and skiptime should set up below (playtime x16). · This command set up the attenuation level under fast forward and backward playing. An attenuation level serves as (-6dB X [3rd byte]). A setup can be specified from 0x00 to 0x10.As for an initial value, 0x02=-12dB is set up. It becomes equivalent to MUTE by setup of 0x10. Target Spec 0.11 BU94601KV Functional Specifications SET_UPLOAD_FIL E1 8 0x51 0x51 SET_UPLOAD_FIL E2 8 0x51 0x52 UPLOAD_END 2 0x51 0x53 48/56 NAME[0:5] Specify the part of the first half of the file name of the file for File Read Function. *Bury it by 0x20 when the file name(NAME) doesn't come up to eight bytes. NAME[6:7] EXT[0:2] Specify the part of the latter half of the file name of the file for File Read Function. *Bury it by 0x20 when the file name(NAME) doesn't come up to eight bytes. Bury it by 0x00 when the file extension doesn't come up to three bytes. It targets neither the file name comparison since 0x00 of the end in the comparison. - - The File Read function is ended. Transmit after completing the file reading. The ACK timeout of the command under memory mount is set up. SET_TOUT_M 8 0x5D 0x07 The set point x100 (msec) is timeout. setting Mount ERROR will be carried out if a timeout is carried out. An initial value is 30sec. The ACK timeout of the PLAY or STOP or PAUSE in commands at the time of PAUSE (except during mount) is set up. SET_TOUT_C 8 0x5D 0x08 setting The set point x100 (msec) is timeout. Communication ERROR will be carried out if a timeout is carried out. An initial value is 5sec. The weight time after bus reset is set up at the time of USB memory SET_USB_R_WAI T 6 0x5D 0x09 setting 0x00 recognition. The set point x200 (msec) is weight time. As for an initial value, 200msec is set up. A vendor code and Product ID are stored in COMAREA. Please read COMAREA after GET_VENDOR command transmission and acquire code data. GET_ VENDOR 2 0x5F 0x16 - - Offset 0x20:Vendor code Lower byte 0x21:Vendor code Upper byte 0x22:Product code Lower byte 0x23:Product code Upper byte Force mounted USB memory to be disconnected. FORCE_DISCON_ USB 2 0x5D 0x02 - - 2 0x5D 0x0A - - 4 0x5D 0x0C 0x01 0x00 4 0x5D 0x0C 0x00 0x00 Mounts USB memory again, which Mount ERROR occurred. FORCE_CON_US B Force SD memory to be disconnected, which Mount ERROR occurred FORCE_DISCON_ SD FORCE_CON_SD Mounts SD memory again, which was disconnected by FORCE_DISCON_SD command. LUN, which USB memory mounts, is specified. LUN specified at the time of USB connection mounts. SET_LUN 4 0x5D 0x0D setting 0x00 When another LUN is already mounted, it re-mounts to specified LUN. When not specifying LUN, effective LUN becomes an AUTO setup and LUN detected first is mounted at the time of USB memory connection. (Initial value) RESET_LUN Confidential 2 0x5D 0x0E - - Effective LUN is set to AUTO and LUN detected first comes to be mounted at the time of USB memory connection. Target Spec 0.11 BU94601KV Functional Specifications 49/56 Table VI. 4.2 Command Enabled/Disabled in Various Statuses After recognizing device PAUSE STOP Recognize Recognize either USB both USB or SD and SD × × × × During play of device Analyzing × × Recognize Recognize either USB both USB or SD and SD { { { { Error Searching × { Recognize Recognize either USB both USB or SD and SD × × × × VOL+ { { × { { × { { VOL- { { × { { × { { CHNG_DEV × { × × { × × { GET_DIRECT { { × × × × × × GET_NUMBER { { × × × × × × GET_ID3 { { × × × − × × ABORT × × { × × { × × USB_MNT_READY ○ ○ × ○ ○ ○ ○ ○ PLAY_DIRECT { { × × × × × × SET_DOUT { { × { { × { { SET_NUMBER SET_RESUME_ INFO1-7 SET_EQ { { × × × × × × { { × { { × × × { { × { { × { { SET_VOL × × × { { × { { FFP_ON × × × { { × × × FFP_OFF × × × { { × × × FBP_ON × × × { { × × × FBP_OFF × × × { { × × × SEL 12MOUT { { × { { × { { SET_DIRECT { { × × × × × × SET_WDT { { × { { × { { SET_RPM { { × { { × × × SET_UPLOAD_FILE1 SET_UPLOAD_FILE2 After recognizing the USB memory, only the halt condition is the command effective. UPLOAD_END SET_TOUT_M ○ ○ × ○ ○ × ○ ○ SET_TOUT_C ○ ○ × ○ ○ × ○ ○ SET_USB_RWAIT ○ ○ × ○ ○ × ○ ○ GET_VENDOR FORCE_DISCON_US B FORCE_CON_USB ○ ○ × ○ ○ × ○ ○ ○ ○ × ○ ○ ○ × × × × × × × × ○ ○ FORCE_DISCON_SD × × × × × × ○ ○ FORCE_CON_SD × × × × × × ○ ○ SET_LUN ○ ○ × ○ ○ × ○ ○ RESET_LUN ○ ○ × ○ ○ × ○ ○ { = Enabled Confidential × = Disabled Target Spec 0.11 BU94601KV Functional Specifications 50/56 VI.4.2 Status output The LSI outputs the operation information, such as internal status, play time information, folder information, file information , and ID3Tag information, using the I2C interface. The statuses as shown in Table VI.4.2.1 MODE3 status register map are output. There are two methods available: to read a desired number of bytes continuously from the OFFSET position and to read the data by one command without specifying the OFFSET position. Figure VI.4.2.2 shows the status output commands. Table VI.4.2.3 shows the enabled/disabled state of the status commands. The status register has a ring buffer structure of OFFSET 0x00-0x7F. The OFFSET position is automatically incremented after reading byte data. Status register outputs a byte data of OFFSET 0x00-0x7F by "Little Endian" format Table IV.4.2.1 MODE3 Status Output Offset Status bit7 (MSB) bit6 bit5 bit4 bit3 bit2 bit1 bit0 (LSB) 0x00 STATUS1 ERROR 0: No error 1: Error occurs SEARCH 0: Search stop 1: Searching 0 0 DEC_ERR 0: No error 1: Error occurs STOP 0: Not stopped 1. Stopping PAUSE 0: Not paused 1: Pausing Play 0: Not played 1: Playing STATUS2 USBINS 0: USB not connected 1: USB connection detected STATUS3 BUSY Command Busy 0: Not BUSY 1: BUSY MCHNG Tune number change detection 0: Tune ended/stopped 1: Playing 0 ID3EXIST TAG information 0: Not exist 1. Exist STATUS4 ANAEND 0: Analyzing 1: Analysis completed FOLINF Folder information 0: Absent 1: Present FOLFULL Folder buffer 0: Not FULL 1: FULL FILEINF Folder information 0: Absent 1: Present 0x04 STATUS5 12MOUT 12 MHz clock output 0: OFF 1: ON WDT_RFLG 0:after RESET 0x05 VOLINF 0 0 0x01 0x02 0x03 0x06 EQINF 0x07 PRECOM 0x08 DOUT Confidential PDEVUSB PDEVSD SDINS USBFILE SDFILE MDEVUSB MDEVSD PDEVUSB USB PDEVUSB SD 0: SD not Playable file within Playable file USB memory SD memory memory memory connected USB memory within SD memory 0: Not recognized 0: Not recognized 0: Stopping 0: Stopping 1: SD connection 0: Absent 0: Absent 1: Recognized 1: Recognized 1: Playing/ID3Tag 1: Playing/ID3Tag detected 1: Present 1: Present analyzing analyzing ID3RSID1 ID3RSID2 ID3Tag Version1 ID3Tag Version2 0: Absent 0: Absent 1: Present 1: Present 0 0 FILEFULL Folder buffer 0: Not FULL 1: FULL 0 0 0 FBP Fast backward playing 0: OFF 1: ON FFP Fast forward playing 0: OFF 1: ON 0 RES_ERR Resume error 0: No error 1: Error occurs 0 0 0 0 0 DOUT Audio output 0: LINE output 1: I2S / SPDIF VOLINF Sound volume information [ 4: 0 ] 0 EQINF Equalizer setting information 0000: OFF 0001: POPS 0010: JAZZ 0011: ROCK 0100: CLASSIC 0101: R&B 1000: BASS BOOST 1001: POPS+BASS 1010: JAZZ+BASS 1011: ROCK+BASS 1100: CLASSIC+BASS 1101: R&B+BASS 1111 BASS BOOST2 0 PRECOM Previous Command information 0: normal 1: miss Un Support HUB device Detection Flag 0: Not Detection Flag Detection 0: Not Detection 1: Detection 1: Detection Vendor code Detection Flag 0: appleNot Detection 1: appleDetection 0 Target Spec 0.11 0 BU94601KV Functional Specifications 0x09 DOUTINF DOUTINF I2S format status 0x58: 32fs(Initial value) 0x59: 48fs 0x5B: 64fs 0x0A PFOLNL 00h 0x0B PFOLNH 00h 0x0C PFILENL 00h 0x0D PFILENH 00h 0x0E PSEC Playing time second information [7:4]x10 second. Playing time second information [3:0]x1second. 0x0F PMIN Playing time minute information [7:4]x10 min. Playing time minute information [3:0]x1 min. 0x10 TFOLL TFOLL Current folder total folder number lower-order byte [7:0] 0x11 TFOLH TFOLH Current folder total folder number upper-order byte [15:8] 0x12 TFILEL TFILEL Current folder total file number lower-order byte [15:0] [7:0] 0x13 TFILEH TFILEH Current folder total file number upper-order byte [15:0] [15:8] 0x14 RESFOLL RESFOLL Remaining analysis folder number lower-order byte [7:0] 0x15 RESFOLH RESFOLH Remaining analysis folder number upper-order byte [15:8] 0x16 RESFILEL RESFILEL Remaining analysis file number lower-order byte [7:0] 0x17 RESFILEH RESFILEH Remaining analysis file number upper-order byte [15:8] 0x18 SETFOLL SETFOLL Folder acquisition setting value lower-order byte [7:0] 0x19 SETFOLH SETFOLH Folder acquisition setting value upper-order byte [15:8] 0x1A SETFILEL SETFILEL File acquisition setting value lower-order byte [7:0] 0x1B SETFILEH SETFILEH File acquisition setting value upper-order byte [15:8] 0x1C LANGL LANGL Language code information lower -order byte [7:0] 0x1D LANGH LANGH Language code information upper -order byte [15:8] 0x20 | 0x7F COMAREA COMAREA Data common area The content varies depending on the status read command. Confidential Target Spec 0.11 51/56 BU94601KV Functional Specifications 52/56 Table VI. 4.2.2 MODE3 Status Output Commands Command name Command Status output bytes Status 1st byte 2nd byte READ_BUFF 0x5E OFFSET Optional READ_STATUS 0x5F 0x00 5 · This command outputs OFFSET 0x00-0x04 of status buffer. READ_PLAY_INFO 0x01 6 · This command outputs OFFSET 0x0A-0x0F of status buffer. READ_VOL 0x02 1 · This command outputs OFFSET 0x05 of status buffer. READ_EQ 0x03 1 · This command outputs OFFSET 0x06 of status buffer. READ_ID3_TITLE 0x04 64 READ_ID3_ARTIST 0x05 64 READ_ID3_ALBUM 0x06 64 READ_FILE_NAME 0x07 64 READ_FOLDER_NAME 0x08 64 READ_RESUME_INFO 0x09 42 READ_NUMBER 0x0A 4 READ_REST_NUM 0x0B 4 · This command outputs OFFSET 0x14-0x17 of status buffer. READ_SET_NUM 0x0C 4 READ_FOLDER_INFO 0x0D 76 READ_FILE_INFO 0x0E 76 READ_CLAS 0x0F 4 · This command outputs OFFSET 0x18-0x1B of status buffer. · This command outputs the result of folder analysis by "GET_DIRECT" command. see VI.4.3. · This command outputs the result of file analysis by "GET_DIRECT" command. see VI.4.3. · This command outputs the data of file cluster number. Use to check file when "PLAY_DIRECT". READ_VERSION 0x10 1 · This command outputs the specified OFFSET byte data from status buffer. · This command outputs the data of ID3Tag Title. *1 · This command outputs the data of ID3Tag Artist. *1 · This command outputs the data of ID3Tag Album. *1 · This command outputs the data of playing MP3 file name. see VI.1.4 · This command outputs the data of folder name includes playing MP3 file. see VI.1.4 . Acquire RESUME information in this command while being playbacking or pausing. . Set the data acquired in this command as it is when setting RESUME information by "SET_RESUME_INFO1-7". · This command outputs OFFSET 0x10-0x13 of status buffer. · This command outputs the data of Firmware version. · READ_FILE_SIZE 0x11 4 The size of a specified file of the File Read function is acquired. It outputs with LittleEndian. · When the file doesn't exist, "0xFF, 0xFF, 0xFF, and 0xFF" is output. · The file data of a specified file of the File Read · The 92byte data reading is possible by one · Four head bytes are file offsets. It outputs with function is read. READ_FILE_DATA 0x12 96 time. LittleEndian. READ_LUN READ_LUN_NUM Confidential 0x17 0x18 1 1 Target Spec 0.11 · Read LUN of the USB memory specified or · Read the total of LUN of the USB memory which is mounted now. connected now. BU94601KV Functional Specifications READ_SET_LUN 0x19 · 1 53/56 Read LUN specified by the "SET_LUN" command. In not setting up, 0xFF is read. *1:BOM(Byte Order Mark) might enter two head bytes according to ID3 data Table Ⅵ.4.2.3 After play Searching Error recognizing Analyzing During of device device READ_BUFF { { { { { READ_STATUS { { { { { READ_PLAY_INFO { × { × {* READ_VOL { × { × { READ_EQ { × { × { READ_ID3_TITLE { × { × × READ_ID3_ ARTIST { × { × × READ_ID3_ALBUM { × { × × READ_FILE_NAME { × { × × READ_FOLDER_NAME { × { × × READ_RESUME_INFO READ_NUMBER { { × × { × × × × × READ_REST_NUM { × × × × READ_SET_NUM { × × × × READ_FOLDER_INFO { { × × × × × × × × READ_FILE_INFO READ_CLAS { × × × × READ_VERSION { × × × × READ_FILE_SIZE READ_FILE_DATA After recognizing the USB memory, only the halt condition is the command effective. READ_LUN ○ × ○ × ○ READ_LUN_NUM ○ × ○ × ○ READ_SET_LUN ○ × ○ × ○ { = Enabled × = Disabled *”READ_PLAY_INFO” command when an error occurs can be received. However, status output may not send correct data. Confidential Target Spec 0.11 BU94601KV Functional Specifications 54/56 VI.4.3 Folder information/File information For analysis performed by “GET_DIRECT” command, read 76 bytes from the status register “COMAREA (0x20-0x6B)” using status commands “READ_FOLDER_INFO” and “READ_FILE_INFO”.Each of the status register structures when “READ_FOLDER_INFO” and “READ_FILE_INFO” are sent is shown below. (1) Folder information When the folder is specified using “SET_DIRECT”, the LSI allows you to fetch the folder information in the specified folder from the memory device at “GET_DIRECT” and read folder information using “READ_FOLDER_INFO”. Table VI.4.3.1 shows the status register structure. Table VI.4.3.1 Folder Information Register Structure Status OFFSET Folder information 0x20-0x25 0x26-0x27 0x28-0x2B 0x2C-0x6B i. ii. iii. iv. Access data : Reserve : Cluster number : Folder name : Access data [6 bytes] Reserve [2 bytes] Cluster number [4 bytes] Folder name [64 bytes] Shows the position where the folder information is written in the memory. All “0s” are output. Shows the cluster number where the folder information is written in the memory. Outputs the folder name from the leftmost position. (2) File information When the folder is specified using “SET_DIRECT”, the LSI allows you to fetch the file information in the specified folder from the memory device at “GET_DIRECT” and read file information using “READ_FILE_INFO”. Table VI.4.3.2 shows the status register structure. Table VI.4.3.2 File Information Register Structure Status OFFSET 0x20-0x25 0x26-0x27 0x28-0x2B 0x2C-0x6B i. ii. iii. iv. Access data : Reserve : Cluster number : File name : File information Access data [6 bytes] Reserve [2bytes] Cluster number [4 bytes] File name [64 bytes] Shows the position where the file information is written in the memory. All “0s” are output. Shows the cluster number where the file information is written in the memory. Outputs the file name from the leftmost position. VI. 4.4 Language Code Information This LSI outputs Language Code Information to Status register. (OFFSET=0x1C and 0x1D) See Chapter VI. 3.5. Confidential Target Spec 0.11 BU94601KV Functional Specifications 55/56 VI.5 Watchdog Timer This system builds Watchdog timer(WDT) function. After RESET, WDT function is enabled on MODE1, MODE2 and MODE3. WDT is enabled always on MODE1. On MODE2 and MODE3, WDT function can disable by command “SET_WDT”(0x5A,0x00). After WDT function is disabled, this function cannot enable until a reset from external pin. When WDT function is enabled and system is hang-up, Watchdog Timer function generates RESET. When you want to watch RESET of WDT from master micon, write command “SET_WDT”(0x5A,0x01). After write command “SET_WDT”(0x5A,0x01), status “WDT_RFLG” is “1”. “WDT_RFLG” is bit6 of STATUS5(offset;x04). This status is “0” after RESET. Therefore, when this status returned to “0” from “1”, this system generated a reset. Confidential Target Spec 0.11 BU94601KV Functional Specifications VII. Revision history Revision No. Date Revised by Target0.01 Target0.08 Target0.10 Target0.11 2010/05/10 2010/10/26 2010/11/22 2010/12/29 O.O. M.H M.H M.H Confidential Revising points Initial release Error correction, Command addition Command addition Correction of Terminal layout drawing Target Spec 0.11 56/56
BU94601KV-E2 价格&库存

很抱歉,暂时无法提供与“BU94601KV-E2”相匹配的价格&库存,您可以联系我们找货

免费人工找货
BU94601KV-E2

库存:96

BU94601KV-E2
    •  国内价格 香港价格
    • 1+86.456761+11.17299
    • 5+63.339055+8.18544
    • 10+58.1639410+7.51665
    • 30+54.7166330+7.07115
    • 50+54.0271750+6.98205
    • 60+53.8527360+6.95950
    • 100+53.50384100+6.91442

    库存:96

    BU94601KV-E2
      •  国内价格 香港价格
      • 1+86.456761+11.17299
      • 5+63.339055+8.18544
      • 10+58.1639410+7.51665
      • 30+54.7166330+7.07115
      • 50+54.0271750+6.98205
      • 60+53.8527360+6.95950
      • 100+53.50384100+6.91442

      库存:645