Atmel AT83SND2C MP3 User Manual

Page 42

Advertising
background image

Protocol Frame Description

5-38

AT83SND2CMP3 User Guide

7525A–MP3–07/05

Player response is PLAYER_TIME* frame.

PLAYER_GETINDEXNUMBER

Command

Get numbers of files in current directory or root directory.

Table 5-32 . PLAYER_GETINDEXNUMBER Command

Player response is PLAYER_INDEXNUMBER* frame.

PLAYER_ENTER_ROOT_DIR

Command

Select first available MP3 files in the root directory. Player response is SYSTEM_ACK or
SYSTEM_NACK frame (no MP3 file found or low level error).

Table 5-33 . PLAYER_ENTER_ROOT_DIR Command

PLAYER_SET_FILTER

Command

Set file filters (no directory, only MP3 files are seen). This command has be sent before
the SYSTEM_SELECT_MEMORY command because the filter are used during file
system FAT install.

Table 5-34 . PLAYER_SET_FILTER Command

PLAYER_GET_FILE_LIST

Command

Get file name list in current directory or root directory.

Table 5-35 . PLAYER_GET_FILE_LIST Command

Player reponse is:
„

FS_NAME* frame for each file name in current directory

„

FS_END_OF_LIST* frame when end of list is reached. First file of the list is then
selected and become current file.

Example:

Frame Start

Channel

Protocol

Command

Data Length

Data

CheckSum

7Eh

If not used,

FFh

59h

00h

No

Yes

Frame Start

Channel

Protocol

Command

Data Length

Data

CheckSum

7Eh

If not used,

FFh

5Ah

00h

No

Yes

Frame Start

Channel

Protocol

Command

Data Length

Data

CheckSum

7Eh

If not used,

FFh

5Bh

01h

Byte 0: Filter
- 00h No filter
- 01h Filter directory (no
directory seen only MP3 files)

Yes

Frame Start

Channel

Protocol

Command

Data Length

Data

CheckSum

7Eh

If not used,

FFh

5Ch

00h

No

Yes

Advertising