background image

 

BU9458KV  Application Note  Rev. 0.02 

              

PROPRIETARY AND CONFIDENTIAL

                            -

21/42- 

2009/05/28

V.2.4.1  Perform TOC Analysis 

The LSI searches the total number of folders/files within the selected memory.    Send the SEL_TOC command. 
If you do not need TOC analysis, you can omit it.    Figure V.2.6 shows the TOC analysis operation flow. 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Figure V.2.6    TOC Analysis Operation Flow 

 
SEL_TOC command 

 
 
 
STATUS1 read command 

 
 

 

Read TOC analysis result when USB memory is selected 
 
 

 

Read TOC analysis result when SD memory is selected 

 

 
 
When sending SEL_TOC command, the LSI searches the total number of folders and files within the selected memory 
device.    During search, the results are output to the STATUS1: SEARCH register.    Therefore, before the LSI starts 
reading the total number of folders and files after the SEL_TOC command is sent, be sure to read the STATUS: 
SEARCH register and confirm that analysis has been completed. 
Upon completion of TOC analysis, read the analysis results to the selected memory device. 
When the SEL_TOC status is ON, the LSI always starts obtaining the total number of folders and files first in response 
to insertion of the device and occurrence of the CHNG_DEV command.    Even during play, if SEL_TOC is turned from 
OFF to ON, the LSI interrupts playing and starts obtaining the total number of folders/files. 

 

1st Byte 

2nd Byte 

0x57 0x01 

SEL_TOC 

1st Byte 

2nd Byte 

0x5E 0x00 

READ_BUFF 1Byte 

Read

1st Byte 

2nd Byte 

0x5E 0x10 

READ_BUFF 

6 Byte Read

1st Byte 

2nd Byte 

0x5E 0x16 

READ_BUFF 

6 Byte Read

Y

N

1. Start TOC analysis 

2. Send SEL_TOC command 

3. Read STATUS1. 

4. Is SEARCH = 0? 

5. Read TOC analysis result 

6. Terminate TOC analysis 

Summary of Contents for BU9458KV

Page 1: ...BU9458KV Application Note Rev 0 02 PROPRIETARY AND CONFIDENTIAL 1 42 2009 05 28 BU9458KV Application Note Rev Target 0 02 ROHM System Audio Team...

Page 2: ...ON sequence 17 V 2 3 Recognize memory 17 V 2 3 1 Memory recognition operation flow 17 V 2 3 2 Start recognizing memory 17 V 2 3 3 Detect memory insertion state 17 V 2 3 4 USB memory mount 18 V 2 3 5...

Page 3: ...start 31 V 2 9 4 Fast Forward Backward Play stop 31 V 3 MODE3 32 V 3 1 MODE 3 Entire Sequence 32 V 3 2 Power ON Sequence Recognize Memory 33 V 3 3 Initial setting 33 V 3 4 Obtain information within f...

Page 4: ...BU9458KV Application Note Rev 0 02 PROPRIETARY AND CONFIDENTIAL 4 42 2009 05 28 4 1 5 Data reading 40 4 1 6 Termination 41 4 1 7 Reset 41 VI Revision History 42...

Page 5: ...458KV to send the position of AAC WMA MP3 file within the memory device to the master micro controller using a I2C serial interface and then enables the master micro controller to directly specify the...

Page 6: ...terface The mode switching terminal port determines which block becomes enabled A command received by KEY or I2C interface is analyzed and executed by DSP Program ROM Fixed Point Digital Signal Proces...

Page 7: ...e IV 2 shows an example of connection circuit application in MODE2 IV 3 MODE3 The connection circuit application in MODE3 is almost similar to MODE2 However please connect pin16 SEL_SMAN with GND RESE...

Page 8: ...B12J S2 PAUSE 1 2 3 4 5 6 A B C D 6 5 4 3 2 1 D C B A R10 12k F rank 3 3V 3 3V BU9436KV_MODE2 3 C9 0 1 3 3V C4 0 1 C5 0 1 C14 100u X1 16 9344MHZ R11 1M R12 100 C6 5p C7 5p 3 3V C8 10u 3 3V C10 0 1 C11...

Page 9: ...tor Maker Daisihinku Corp Daisihinku Corp Kyocera Type DSX840GA DSX530GA CX 8045G Frequency MHz 16 9344 16 9344 16 9344 R11 1 0 M 1 0 M 1 0 M R12 100 100 220 C8 pF 5 5 15 C9 pF 5 5 15 Negative Resista...

Page 10: ...tance Figure IV 7 Impressed Voltage Drive Level Figure IV 8 Impressed Voltage Frequency drift 0 0 0 2 0 4 0 6 0 8 1 0 1 2 1 4 1 6 2 4 2 6 2 8 3 3 2 3 4 3 6 3 8 Vdd V Oscillation Biginning msec 1000 90...

Page 11: ...citor resistance Frequency drift 1000 900 800 700 600 500 400 300 200 100 0 0 50 100 150 200 250 R12 Ohm Negative Resistance Ohm 0 50 100 150 200 250 300 0 50 100 150 200 250 R12 Ohm Drive Level uW 50...

Page 12: ...perature Negative resistance of the board has been tested under various temperatures Oscillation frequency deviation was measured at a load capacitance of 8 0pF Oscillation frequency deviation are not...

Page 13: ...mode which enables standalone operations of play forward etc using the KEY input function of LSI V 1 1 Power ON Sequence 1 POWER ON Turn ON the power switch 2 Wait until PLL oscillation is stabilized...

Page 14: ...e LSI to play files 7 In the play state input of STOP KEY stops the LSI 8 When the selected memory device is removed in the stop state an error occurs 9 In the play state input of SELECT FILE TO PLAY...

Page 15: ...in memory device when a communication error to the memory device continues for 5 seconds or longer or when the device is removed the LSI is put in error 18 After CHNG_DEV KEY is input the LSI automati...

Page 16: ...r more than 5 s to clear system reset 2 Recognize memory After the power ON sequence is completed the LSI recognizes the inserted memory automatically The inserted memory recognizes the USB memory wit...

Page 17: ...zing memory V 2 3 3 Detect memory insertion state The LSI detects the insertion state of the memory device only The LSI does this for both USB memory and SD memory If there is no SD memory an error oc...

Page 18: ...te If this happens control software allows the LSI to automatically send the CHNG_DEV command to the SD memory and move to recognition of the SD memory CHNG_DEV command V 2 3 6 SD memory mount After d...

Page 19: ...cognition Status Timing Chart at Insertion of USB Memory SD Memory Figure V 2 4 Status Timing Chart at USB Memory Dismount Detect insertion of SD memory USBINS MDEVUSB USBFILE SDINS MDEVSD SDFILE Play...

Page 20: ...olders files within memory volume and audio output before the LSI starts playing a AAC WMA MP3 file Figure V 2 5 shows the initial setting operation flow Figure V 2 5 Initial Setting Operation Flow If...

Page 21: ...LSI starts reading the total number of folders and files after the SEL_TOC command is sent be sure to read the STATUS SEARCH register and confirm that analysis has been completed Upon completion of T...

Page 22: ...en the line output is selected by the SEL_DOUT terminal port you can perform the equalizer effect in the line output using the SET_EQ command This will be disabled in the digital audio output format E...

Page 23: ...FF PLAY FB PLAY 10 PLAY 10 PLAY etc and concurrently fetching the file information by status Since these methods use almost the same operation flows this chapter takes 2 as an example Figure V 2 7 sho...

Page 24: ...as FF or FB in the stop state when selecting the USB memory After sending the command the LSI searches through the memory device and then starts Tag analysis Upon completion of Tag MCHNG H is set If T...

Page 25: ...V 2 7 Read Status Wait Receive Operation Command During play read the status of the play time information and error Read the play time information at an interval of 100 ms or so The LSI waits for the...

Page 26: ...d The LSI checks that play of the file has been started in the PLAY status and obtains the resume file data READ_RESUME_INFO command After obtaining the resume file data the LSI reads the settings of...

Page 27: ...7 Is MCHNG 1 Y N 6 Is RES_ERR 0 Y N Starts play of first tune due to error 1 Power ON sequence 2 Check memory device 3 Complete TOC initial setting 4 Resume play initial setting 5 Send SET_RESUME_INF...

Page 28: ...ted for audio output 3 Digital audio output setting only when digital audio output is selected for audio output V 2 8 6 Send SET_RESUME_INFO command and start resume play Send 42 Byte resume data obta...

Page 29: ...V 2 8 7 Obtain folder name file name and Tag information After starting resume play be sure to obtain the folder file name and Tag information To do this see V 2 5 for details V 2 8 8 Set REPEAT RAND...

Page 30: ...um decoding unit and playtime and the real time which searchs 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 ski...

Page 31: ...rward backward play start command FFP_ON FBP_ON is transmitted during playing After command transmission fast forward backward play is started FFP_ON command FBP_ON command V 2 9 4 Fast Forward Backwa...

Page 32: ...ognize memory In MODE3 the same memory recognition sequence is used as in MODE2 See V 2 3 3 Initial setting As in MODE2 perform initial settings for volume and EQ 4 Obtain information within folder Th...

Page 33: ...time information status at an interval of 100 ms or so to obtain the play time The following explains each of the flows V 3 2 Power ON Sequence Recognize Memory In MODE3 power ON sequence is the same...

Page 34: ...to the access data 3 Start analyzing folder The LSI starts obtaining the folder file information on the specified folder 4 Does analysis information exist After starting analyzing the folder the LSI...

Page 35: ...l the analysis results of the folder file information within the specified folder completion of analysis is indicated to STATUS4 ANAEND When analyzing the folder using the GET_DIRECT command be sure t...

Page 36: ...obtain the Tag information send the GET_ID3 command using the SET_DIRECT command in which the AAC WMA MP3 file is specified GET_ID3 command V 3 6 2 Has Tag information been obtained The status timing...

Page 37: ...mmand sending is performed After performing the above mentioned processing once TAG analysis by the GET_ID3 command is performed normally If the STOP command is immediately Less than about 10msec exec...

Page 38: ...he number of folders files contained in the specified folder Specify the access data of the folder for which you want to obtain the number of folders files using the SET_DIRECT command and send the GE...

Page 39: ...n Fig 4 1 Operation flow of File Read function 4 1 1 Stop condition Operate the File Read function from the stop condition 4 1 2 File name specification Specify the file read by using SET_UPLOAD_FILE1...

Page 40: ...ed file existence End the file reading if the file is not existence after the size of the specified file is acquired 4 1 5 Data reading Read the data for the size of the file by the READ_FILE_DATA com...

Page 41: ...TIAL 41 42 2009 05 28 4 1 6 Termination End the File Read function by the UPLOAD_END command when completed reading of the data of the specified file UPLOAD_END command 4 1 7 Reset Reset the system wh...

Page 42: ...2009 05 28 VI Revision History Revision No Date Revised by Revising points Target 0 01 2009 02 02 H K Newly created Target 0 02 2009 05 28 H K The explanation addition of resume and fast forward playi...

Reviews: