湖南工业大学本科毕业设计(论文)
(2012届)
本科毕业设计(论文)资料
题 目 名 称: WAV播放器的设计与制作 学 院(部): 电气与信息工程学院 专 业: 电子信息工程 学 生 姓 名: 班 级: 电信 学号 指导教师姓名: 职称 最终评定成绩:
湖南工业大学教务处
I
湖南工业大学本科毕业设计(论文)
2012届
本科毕业设计(论文)资料
第一部分 毕业论文
II
湖南工业大学本科毕业设计(论文)
(2012届) 本科毕业设计(论文)
学 院(部): 专 业: 学 生 姓 名: 班 级: 指导教师姓名: 最终评定成绩
电气与信息工程学院 电子信息工程 学号 职称 2012年6月
III
湖南工业大学本科毕业设计(论文)
摘 要
本课题研究的是基于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
I
湖南工业大学本科毕业设计(论文)
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
II