1 / 28

CDR- Digital Audio Recorder/Player

CDR- Digital Audio Recorder/Player. Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam. Objectives. Successfully encode/decode MP3 Play/Stop a song Select track and fast forward/rewind Read off from Compact Flash Card Display song title and time Voice Recording in MP3 Format

rufus
Download Presentation

CDR- Digital Audio Recorder/Player

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CDR- Digital Audio Recorder/Player Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam

  2. Objectives • Successfully encode/decode MP3 • Play/Stop a song • Select track and fast forward/rewind • Read off from Compact Flash Card • Display song title and time • Voice Recording in MP3 Format • Equalizer Controls

  3. Hardware Overview JTAG Contrast Adj 4-way switch LCD Buttons I2C Micro- Processor External RAM LED’s MP3 Mic Volume Ctrl USB CF Card Head Phone Jack

  4. Software Overview Interrupts Drivers User Interface LCD LCD Draw MP3 sync Button Get Button Response FAT-16 User Inputs CF File/Folder Control MP3 Send Data Play Back Control USB

  5. Schematic

  6. MP3 Schematic

  7. Microprocessor(C8051F320)

  8. Microprocessor • Only General I/O - no Addr/Data bus • Implement Addr/Data bus with latches • Allow us to have external memory • Memory map I/O devices • Mp3 decoder/encoder • CF card • External RAM • LCD • 25MHz -> 40ns per cycle

  9. I2C Bus • I2C bus is a standard serial bus • Gives commands to MP3 chip • 2-wire interface • Clock • Data

  10. Custom Serial Bus • Used for the LCD • Still only 2-wire • Clock • Data • Has no Start/Stop/Ack bit like I2C • Transmits only 8-bits directly

  11. Compact Flash Card • Uses new Addr/Data Bus • Memory mapped and interfaced using 8 separate registers on the card • We have FAT-16 code developed to be used on a CF card from a previous project

  12. RS-232 Interface • Abandoned!!! • Can download code updates over the JTAG interface • Interact with the computer over the USB port • Can single step the processor over JTAG • JTAG implemented on processor

  13. MP3 Encoder/Decoder(MAS 3587F)

  14. MP3 Encoder/Decoder • No playback control • Volume, file select, and other processes are controlled by micro-processor • Encoding/decoding is always active • Playback occurs whenever there is an input and the proper application is selected • Option to load additional programs • SC4 speech codec

  15. Encoder Signal Flow • D0 and D1 Ram banks • Reserved sections for application control • Input/output specification

  16. PIO Timing Diagram for Decoding

  17. PIO Timing Diagram for Encoding

  18. LCD/User Interface • Monochromatic graphical 122 x 32 pixel format • 8-bit interface with built- in controller • Display song title, play • time and menu

  19. LCD Block Diagram

  20. LCD Timing Diagram

  21. LCD Code • Generate code to display characters • Write functions such as draw line, draw square, and fill • Go to X,Y

  22. LCD Driver Code

  23. USB

  24. USB Communication Flow • Pipe Bundles • Moves data between host software and device endpoint • Endpoints • One directional data flow

  25. Software Model • Client Software • GUI for Users • Driver • Grants access to bus • Firmware • Interacts with hardware on board • MP3 Software • Higher level code Client SW Driver Firmware MP3 Software

  26. Project Schedule

  27. Jeff MP3 encoder/decoder Signal processing Brian LCD User interface Mike Microprocessor Compact Flash Gaurav USB Division of Labor

  28. Parts List

More Related