MP3 Player Reference Design Based on AT89C51SND1 Microcontroller ..............................................................................................
Table of Contents Section 1 Introduction...............................................................................................1 1.1 1.2 Web Site download...................................................................................... 1 Abbreviations............................................................................................... 2 Section 2 Overview ..................................................................................................3 2.1 2.2 User Interface ....
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 download 1. Connect to: https://www.atmel-nantes.fr/.mp3/at8xc51snd1c User Name is: atmelmp3 Password is: snd3pass 2. Copy the at8xc51snd1c.zip file to your PC. 3.
Introduction 1.
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.
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.
Overview Figure 2-3.
Overview 2.2 Quickstart This procedure allows you to quickly play an MP3 song stored in the mass storage system. 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 is selected.
Overview 2.5 Alternate Functions 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). Alternate functions regarding this mode are then accessible using the Function button. One LED blinking quickly is dedicated for each alternate function.
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 storage 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.
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.
Section 4 In-System Programming (ISP) 4.1 Using Hardware Conditions 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 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.
Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) 26-426-5555 Fax: (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg.