1-1 Section 2 Functional Description .......................................................................... 1-3 2.1 Features....................................................................................................1-4 2.2 Description of the Environment.................................................................1-5 Section 3 Communication Protocol....................................................................... 1-8 3.1 Communication Protocol...........................................................................1-8 3.2 Frame Format ...........................................................................................1-8 3.3 Remote Controller - AT83SND2CMP3 Command Set List.......................1-9 3.4 Player’s Operating Modes.......................................................................1-13 3.5 Error Management ..................................................................................1-14 3.6 UART Layer ............................................................................................1-14 3.7 Player Management................................................................................1-16 3.8 File Transfer............................................................................................1-19 Section 4 Design................................................................................................. 1-23 4.1 Configuration...........................................................................................1-23 4.2 Mass Storage Driver ...............................................................................1-25 Section 5 Protocol Frame Description ................................................................ 1-26 5.1 Player’s Status Description .....................................................................1-26 5.2 System Command ..................................................................................1-28 5.3 Player Command ....................................................................................1-36 5.4 File System Commands..........................................................................1-40 5.5 Custom Command ..................................................................................1-45 5.6 Player’s Response Frame.......................................................................1-49 Section 6 Technical Support...............................................................................1-55 AT89RFD-08 User Guide 7525A–MP3–07/05 AT89RFD-08 User Guide 7525A–MP3–07/05 Section 1 Introduction The AT83SND2CMP3 easily adds MP3 music playing feature to mobile phone or any type of application. This product has fully integrated stand-alone: • Hardwired MPEG I/II-Layer 3 decoder • MP3-player control • Stereo Audio DAC • Mono Audio Power Amplifier for speaker control This document describes the MP3 Player, the Machine-Machine Interface and how to communicate with UART link to remote control the MP3 player. Associated Schematics Refer to schematics of an AT83SND2CMP3 implementation at the end of this document. Typical MP3 Applications • Mobile Phone, • MP3-Player, • PDA, Camera • Car Audio/Multimedia • Home Audio/Multimedia AT83SND2CMP3 User Guide 7525A–MP3–07/05 Introduction AT83SND2CMP3 User Guide 7525A–MP3–07/05 Section 2 Functional Description The AT83SND2CMP3 is designed to be used as a slave device driven by an host controller via a UART connection. AT83SND2CMP3 User Guide 7525A–MP3–07/05 Functional Description 2.1 Features The AT83SND2CMP3 module provides: • MP3 music playing capability – from Nand Flash (512Byte page size) – from MMC or SD card, • Embedded FAT 12/16/32. • The AT83SND2CMP3 can be remote controlled from an external Controller using standard commands such as: – Play, stop, pause, next, previous, – Select memory, – File System Navigation, • System configuration (digital and analog sound settings, audio input and output selection,). • USB mass storage capability from NF/MMC/SD connected to AT83SND2CMP3. • File transfer (from/to host/Player memory) through UART. AT83SND2CMP3 User Guide 7525A–MP3–07/05 Functional Description 2.2 Description of the Environment List of system Interfaces: Figure 2-1. General System Architecture Storage Device Remote Controller NOR Flash (Firmware Storage) SD / MMC USB Host Interface Nand Flash Physical LayerUART115200 bps Player AT83SND2CMP3 Stereo Headset Speaker Power Supply AT83SND2CMP3 User Guide 7525A–MP3–07/05 Functional Description 2.2.1 USB AT83SND2CMP3 USB interface complies to the USB 2.0 Full Speed specifications. The USB bus is used to download music using bulk transfer. The system supports Mass Storage on the following platforms: Win98 with Atmel driver, Win2000/ME/XP. These platforms do not provide multi-drive (multiple USB Logical Unit) support, except Win2000 Service Pack 3 that allows multi-drive support. 2.2.2 SD/MMC Card Memory cards are controlled by AT83SND2CMP3 and can be considered as removable disk drives: co...