EasyManua.ls Logo

Flyron FN-BC20 - About Delay of Serial Programming

Flyron FN-BC20
19 pages
Print Icon
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.flyrontech.com
E-mail:info@flyrontech.com
Flyron Technology Co., Ltd. 20 Channel MP3 Sound Board
19
2) Interpretation of returned data
Returned Data
Status
7E FF 06 42 00 01 01 xx xx EF
USB flash is being played
7E FF 06 42 00 02 02 xx xx EF
SD card is paused playing
7E FF 06 42 00 01 00 xx xx EF
USB flash is stopped playing
7E FF 06 42 00 10 00 xx xx EF
Module in sleep
3) MSB and LSB Representations
MSB Representation
LSB Representation
0x01
USB flash
0x00
Stopped
0x02
SD card
0x01
Playing
0x10
Module in sleep mode
0x02
Paused
4.6.3 Query total track numbers in a folder
Query total track numbers in folder 01
7E FF 06 4E 00 00 01 FE AC EF
Query total track numbers in folder 11
7E FF 06 4E 00 00 0B FE A2 EF
If the folder queried is empty without any files, the module will report an error and the data 7E FF 06 40 00 00 06 FE B5 EF will be
returned.
4.6.4 Query total folder numbers in current storage device
Query total folder numbers in current storage device 7E FF 06 4 F 00 00 00 FE AC EF
Users can query the total folder numbers of the current storage device through sending the command above. This just supports to
query the folder numbers under the root directory of the device. Not possible to query the sub-folder numbers (Please do not build
any sub-folders under a folder).
4.7. About Delay of Serial Programming
1) After the module is powered on, it needs about 500ms to 1500ms (depending on the track quantities in the
storage device) to initialize. After that, some data related to initialization returns to MCU. Users can choose to
ignore these data.
2) After specifying playback of a device (SD card or USB flash), it needs 200ms delay before s ending the
command to execute the relative operation.
3) The module processes a serial data per 10ms, so when MCU continuously sends commands one by one,
20ms delay must be added before sending next command, otherwise the command MCU sends out will not
be executed.
4) If specifying playback of a track in a folder, the delay must be longer than 40ms, as it needs time to target a
track in a folder. And even so song as sending the commands related to query a track or a folder, 40ms delay
is required.