English
Language : 

BU94605AKV Datasheet, PDF (60/84 Pages) Rohm – AAC/WMA/MP3 +SD Memory Card +CD-ROM+MP3 Record
BU94605AKV BU94607AKV BU94702AKV BU94705AKV
Datasheet
SET_FRW_BUS
FWRITE_DAT
FREAD_DAT
FDEL
4
4/260
6
260
0x63 0x04 N M ・This command selects the BUS to be used with the File Read/Write
function.
When selecting the I2C bus, data of up to 256 bytes can be read/written
at one transfer.
When selecting the SPI bus, data up to 4 Kbytes can be read/written at
one transfer.
・Set the BUS type to be used with N at the 3rd byte. Select N from the
following. Any other settings will not accept the command.
N=0x00: Uses the I2C bus.
N=0x01: Uses the 8-bit SPI bus.
N=0x02: Uses the 16-bit SPI bus.
N=0x03: Uses the 32-bit SPI bus.
・Set a SPI mode with M at the 4th byte. Select M at the 4th byte from the
following. If any other setting is specified, the LSI does nothing. If
N=0x00, the following M values will become disabled.
M=0x00: Uses SPI mode 0. M=0x01: Uses SPI mode 1.
M=0x02: Uses SPI mode 2. M=0x03: Uses SPI mode 3.
・By default, N=0x00: "Uses the I2C bus" is set (M=0x00).
0x63 0x05 N
N ・This command specifies data size to be written and the data itself.
・At 0xN(16bit) in the 3rd and 4th bytes, specify the data size to be written
at one transfer in Little Endian format.
・When using the I2C bus, set the data at the 5th-260th bytes. Data of up
to 256 bytes can be sent at one time.
・When using the SPI bus, the LSI waits until the FWRREADY bit turns 1
after this command is sent, and then starts transferring the data through
that bus. When the transferred data reaches the data size specified by
SPI transfer, the LSI starts writing the data to the memory. Data of up
to 4096 bytes can be sent at one time.
・If the specified data size does not match the data size actually sent, this
command is assumed to be an error.
0x63 0x06 N N ・This command specifies the position of data to be read from the file at
File Read.
・Specify the data position to be read in the 3rd to 6th bytes in Little Endian
format.
・When using the I2C bus, send this command and then check that the
FRDREADY bit turns 1. Then, send the READ_FR_DATA command.
Data of up to 256 bytes can be read at one time.
・When using the SPI bus, send this command and then check that the
FRDREADYA bit turns 1. Then, read the data from the SPI bus. Data
of up to 4096 bytes can be read at one time.
0x63 0x07 0x00 0x00 ・This command deletes the file or folder specified by the full path.
・The file name is set at the 5th-260th bytes. *3
・The command deletes a folder only when there is no file (or folder) in it.
・After deleting a file or folder, the structure of the folder where the deleted
file (or folder) existed is changed. Thus, when using the browsing
function, you should start over browsing analysis by ANALYZE_ROOT.
FDEL_CURSOR
4 0x63 0x07 0x01 0x00 ・This function deletes the file or folder being pointed by the memory
browsing cursor.
・The command deletes a folder only when there is no file in it.
・After deletion, the cursor positions at the top of the folder where the
deleted file or folder existed. Then, the LSI analyzes the folder.
・When the full path of the entry that the cursor indicates is larger than that
of 256 bytes, FIOERROR becomes H.
SET_CLRPATH_C 9 0x6F 0x00 0x00 0x00 ・Please specify 0x4D 0x90 0x00 0x10 0x00 for 5byte to 9byte.
UR
・The internal path get flag set by the FDEL_CURSOR command and the
FOPEN_R_CURSOR command execution is cleared.
・Please send this command before the GET_PATH_CURSOR command
send after FDEL_CURSOR command and FOPEN_R_CURSOR
command send.
www.rohm.com
© 2012 ROHM Co., Ltd. All rights reserved.
TSZ22111・15・001
60/80
TSZ02201-0V2V0E600090-1-2
2012.12.10 Rev.002