Résumé du contenu de la page N° 1
MP3 Player Reference Design
Based on AT89C51SND1
Microcontroller
..............................................................................................
User Guide
Résumé du contenu de la page N° 2
Table of Contents Section 1 Introduction...............................................................................................1 1.1 Web Site download...................................................................................... 1 1.2 Abbreviations............................................................................................... 2 Section 2 Overview ..................................................................................................3 2.1 User Interface.
Résumé du contenu de la page N° 3
Section 1 Introduction The AT89RFD-01 is an MP3 reader reference design based on the AT89C51SND1 microcontroller. The AT89RFD-01 has the following features: • Upload and Download of Files Through a USB Interface • Plays or Records Songs • Adjustable Volume, Treble, Medium and Bass • Record Voice Through a Microphone in .WAV Format 1.1 Web Site 1. Connect to: https://www.atmel-nantes.fr/.mp3/at8xc51snd1c download User Name is: atmelmp3 Password is: snd3pass 2. Copy the at8xc51snd1c.zip file to yo
Résumé du contenu de la page N° 4
Introduction 1.2 Abbreviations AT89C51SND1: the MP3 microcontroller ISP: In-System Programming MP3: MPEG layer 3, a standard music format PC: Personal Computer USB: Universal Serial Bus AT89C51SND1 Reference Design User Guide 1-2 4207B–MP3–04/07
Résumé du contenu de la page N° 5
Section 2 Overview Figure 2-1. Reference Design (Top view) There are two connectors: Earphone stereo jack Mini-B USB connector AT89C51SND1 Reference Design User Guide 2-3 Rev. 4207B–MP3–04/07
Résumé du contenu de la page N° 6
Overview Figure 2-2. Reference Design (bottom view) The battery is a standard 1.5V-battery type AAA. The mass storage system on the board is a 64 MB NAND Flash memory. 2.1 User Interface The user interface has 4 LEDs and 5 push-buttons: Play/Pause Function Previous - Minus Next - Plus ON (Pwr) AT89C51SND1 Reference Design User Guide 2-4 4207B–MP3–04/07
Résumé du contenu de la page N° 7
Overview Figure 2-3. User Interface Overview microphone ON (Pwr) AT89C51SND1 LED n°1 Play/Pause LED n°2 Function (Func) LED n°3 headphone LED n°4 connector Previous/Minus Next/Plus USB connector Each LED may be: OFF Flashing (ON during less than 1 second and only one time) Slow blinking (continuously) Fast blinking (continuously) ON AT89C51SND1 Reference Design User Guide 2-5 4207B–MP3–04/07
Résumé du contenu de la page N° 8
Overview 2.2 Quickstart This procedure allows you to quickly play an MP3 song stored in the mass storage sys- tem. If the mass storage is empty or not formatted, see the following section regarding MP3 upload (“USB Mode”). 4. If the player is battery powered, push the ON button. If the player is powered by USB, plug the USB cable into your computer. All LEDs flash to confirm the power is ON. After a few seconds, depending of the mass storage type and size, LED n°1 is ON: indicating Song Mode i
Résumé du contenu de la page N° 9
Overview 2.5 Alternate When a mode is validated, the corresponding LED blinks slowly (except for USB mode, LED n°3 blink quickly when mode is activated and more slowly during transfer). Alter- Functions nate functions regarding this mode are then accessible using the Function button. One LED blinking quickly is dedicated for each alternate function. For Song Mode, alternate functions are: LED n°1: Volume Control LED n°2: Bass Control LED n°3: Medium Control LED n°4: Treble Control LED
Résumé du contenu de la page N° 10
Section 3 Overview of Modes 3.1 Song Mode This mode will allow users to listen to the MP3 song stored in the embedded mass stor- age system. If the memory is empty, LED n°1 does not blink and there is no music. If there are valid MP3 files in the memory, the player will play the first song and LED n°1 blinks slowly. Main and alternate functions give access to standard player functions. 3.2 Voice Mode When entering Voice Mode, the first wav file in the directory will be selected and played. When
Résumé du contenu de la page N° 11
Overview of Modes In order to leave this state, the Play/Pause button must be pressed. Do not disconnect the cable before leaving USB Mode. 3.4 Erase Mode When this mode is validated by pressing Play/Pause button, all LEDs are OFF during the erasing and reformatting of the full on-board mass storage system. LED n°4 will be ON when this operation is performed. AT89C51SND1 Reference Design User Guide 3-9 4207B–MP3–04/07
Résumé du contenu de la page N° 12
Section 4 In-System Programming (ISP) 4.1 Using Hardware Two solder points or short-cuts have to be physically set up on the board in order to enter this mode. This mode must be used when the initial software has been corrupted Conditions and when the ISP cannot be activated by the keyboard. Figure 4-1. ISP Hardware Condition Solder two SMD 0Ω resistors here (horizontally). To activate the USB transfer and To put hardware ISP conditions on the microcontroller. 4.2 Using Software When connected
Résumé du contenu de la page N° 13
Atmel Corporation Atmel Operations 2325 Orchard Parkway Memory RF/Automotive San Jose, CA 95131, USA 2325 Orchard Parkway Theresienstrasse 2 Tel: 1(408) 441-0311 San Jose, CA 95131, USA Postfach 3535 Fax: 1(408) 487-2600 Tel: 1(408) 441-0311 74025 Heilbronn, Germany Fax: 1(408) 436-4314 Tel: (49) 71-31-67-0 Fax: (49) 71-31-67-2340 Regional Headquarters Microcontrollers 2325 Orchard Parkway 1150 East Cheyenne Mtn. Blvd. Europe San Jose, CA 95131, USA Colorado Springs, CO 80906, USA Atmel Sarl Tel