Data Sheet
Shenzhen Waytronic Electronics Co., Ltd. WT2003S-16S Chip
- 7 -
C9
Query the file track number currently playing
C9 XXXX
CA
Query current external device connection status
CA XX
CB
Query the song name currently playing
CB XX (8 bytes)
2.3.4.Write operation command
2.3.4.1. Return code format
Note: After executing each write command, return the corresponding one-byte operation code.
Return code: : 00 means OK, command execution;
: 01 means FAIL, command error, no execution;
: 02 means EMP, no such file;
If FLASH does not exist, or FLASH data abnormal, it will return ‘05’.
2.3.4.2. Specify SPI file index play (A0)
This command can make specified operation for SPI Flash file. Files sort is according to the index order
Start code
Length
Command
High order of track
Low order of track
Check code
End code
7E
05
A0
00
01
XX
EF
Note: If the specified track does not exist, it will not influence the current play.
File index sequence is according to the file copy sequence of copying into SPI.
2.3.4.3. Specify SPI root directory file name play (A1)
This command can make specified operation of file name play in SPI root directory(file name 8
characters at most).
Start
code
Length
Command
File name (high-low)
Check code
End code
7E
07
A1
54‘T’
30 (‘0’)
30 (‘0’)
32 (‘2’)
XX
EF
Operation code
XX