datasheetbank_Logo
búsqueda de Hoja de datos y gratuito Fichas de descarga

FN-M16P Ver la hoja de datos (PDF) - Unspecified

Número de pieza
componentes Descripción
Lista de partido
FN-M16P Datasheet PDF : 21 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
Flyron Technology Co., Ltd.
7E FF 06 40 00 00 0A xx xx EF Entered into sleep mode
www.flyrontech.com
When the module is powered on, it reads SD card first and if SD card is not available it goes to USB flash.
3.5.5 Returned data after a storage device is plugged in or pull out
Status
USB flash is plugged in
SD card is plugged in
USB cable connected to PC is plugged in
USB flash is pulled out
SD card is pulled out
USB cable connected to PC is pulled out
Returned Data
7E FF 06 3A 00 00 01 xx xx EF
7E FF 06 3A 00 00 02 xx xx EF
7E FF 06 3A 00 00 04 xx xx EF
7E FF 06 3B 00 00 01 xx xx EF
7E FF 06 3B 00 00 02 xx xx EF
7E FF 06 3B 00 00 04 xx xx EF
0x3A represents a device is plugged in while 0x3B represents a device is pull out. 0x01, 0x02, 0x04 represent USB
flash, SD card and USB cable connected to PC respectively.
3.6. Detailed Annotation of Control Commands
3.6.1.Specify playback of a track(under the root directory of a storage device)
The available selective tracks is from 0001.mp3/wav to 3000.mp3/wav under the root directory of the storage
device. Actually it can support more, but if we make it support more, the operation speed will become slow. Usually
most of applications do not need to support much more files.
1).For example, select the first song played, and send the command 7E FF 06 03 00 00 01 FE F7 EF
7E --- Start byte
FF --- Version Information
06 --- Data length (checksum not included)
03 --- Actual command(specify playback of a track)
00 --- 0x01: need feedback, 0x00:no need feedback
00 --- Most significant byte of the track(MSB of Parameter)
01 --- Least significant byte of the track(LSB of Parameter)
FE --- Most significant byte of checksum(MSB of checksum)
F7 --- Least significant byte of checksum(LSB of checksum)
EF --- End byte
2).Regarding track selection, if choose the 100th song(track), firstly convert 100 to hexadecimal. It is double-byte by
default, i.e. 0x0064. MSB=0x00; LSB=0x64
3).If you choose to play the 1000th song(track), firstly convert 1000 to hexadecimal. It is double-byte, i.e. 0x03E8.
MSB=0x03; LSB=0xE8
4).And so on in the same way to the other operations, as in the embedded area hexadecimal is the most convenient
operation method.
10

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]