WAV播放器的设计与制作

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

(2012届)

本科毕业设计(论文)资料

教务处

2012届

本科毕业设计(论文)资料第一部分毕业论文

摘要

本课题研究的是基于WAV格式的播放器的设计与制作。该课题涉及的技术主要有,SD卡读写、FAT32文件系统读写、TFT驱动显示、电阻式触摸屏驱动、WAV文件解码、IIS音频驱动。

对于WAV格式文件的解码采用的是软件解码的方式,在本次设计中已成功实现了对容量1G字节的SD卡的读写,且实现了对存在于SD卡中FAT32文件系统的文件的搜寻和读写,实现了WAV文件的软件解码并将解码后的PCM数据送进IIS接口输出经音频驱动IC播放,WAV解码采用了双缓冲区解码。至于TFT驱动显示部分已成功实现汉字字库的移植显示和bmp文件的显示,在触摸屏方面,成功采用三点式校验法将触摸屏校准成功。

在本次设计中我采用了三星公司生产的ARM9处理器S3C2440A。该处理器功耗低、性能高、指令执行速度快、寻址方式灵活简单、指令长度固定等优点。

WAV播放器由五个模块组成,分别是电源模块、MCU核心控制模块、音频驱动模块、SD卡模块和TFT及触摸屏模块。

关键词:嵌入式,WAV播放器,SD卡,FAT32,TFT

ABSTRACT

This topic studies the player's design and production based on the WAV format. The main technologies involved in this subject are the reading and writing of SD card and FAT32 file system、the driver and displaying of TFT、the resistive touch screen driver 、WAV file decoding and IIS audio driver.

The design has been successfully realized the reading and writing of the capacity of 1G byte SD card , and achieved the searching 、reading and writing of FAT32 file system's file existing in the SD card . File search and read and write WAV files software decoding and decoding PCM data is sent to the IIS interface output by the audio driver IC, play WAV decoder using dual-buffer decoding. At the same time it has achieved a software decoder of the WAV files and sent the decoded PCM data to the IIS interface to play. The WAV decoder uses dual-buffer decoding. In the part of TFT driver and displaying, it successfully completes the transplantation of the Chinese character and the show of bmp file. In the touch screen respect, I used the three-point calibration method to the touch screen calibration.

In this design, I use the Samsung ARM9 processor S3C2440A.This processor has many merits ,such as low power consumption, high performance, fast instruction execution, flexible and simple addressing and the fixed instruction length .

WAV player has a variety of programs to achieve. Here consists of five modules, respectively of the power supply module, MCU core control module, the audio driver module, SD card module and TFT touch screen module.

Keywords:Embedded, WAV player, SD card, FAT 3,TFT

目录

摘要………………………………………………………………………..I II

ABSTRACT ..................................................... I II 目录.. (1)

第1章课题背景与目标任务 (2)

1.1 课题意义及背景 (2)

1.2 目标任务 (2)

1.3 研究思路与方案 (2)

第2章系统设计 (3)

2.1 系统框图 (3)

2.2 硬件设计 (3)

2.2.1 核心板接口设计 (3)

2.2.2 电源模块设计 (4)

2.2.3 音频驱动电路设计 (5)

2.2.4 TFT触摸屏电路设计 (5)

2.2.5 SD卡电路设计 (7)

2.2.6 整体电路图 (8)

2.3 软件设计 (8)

2.3.1 SD卡读写函数模块 (9)

2.3.2 FAT32文件系统读写函数模块 (12)

2.3.3 WAV文件解码模块 (15)

2.3.4 IIS音频驱动函数模块 (18)

2.3.5 TFT显示及触摸屏读取模块 (18)

第3章系统仿真与调试 (21)

3.1 SD卡读写硬件仿真 (21)

3.2 FAT32文件系统读写硬件仿真 (21)

3.3 WAV文件解码硬件仿真 (21)

3.4 触摸屏校验硬件仿真 (22)

结论 (23)

相关文档
最新文档