文档介绍:闽江学院
本科华业论丈(设计)
题 目 基于STM32F的MP3播放器设计
学生姓名
学 号
系 别 物理学与电子信息工程系
年 级
专 业 电子信息工程
指导教师
职 称
2011-05-10
完成日期
闽江学院毕业论文(设计)诚信声明书
本人郑重声明:
兹提交的毕业论文(设计)《基于STM32F的MP3播放器设 计》,是本人在指导老师 薛小铃的指导下独立研究、撰写的成 果;论文(设计)未剽窃、抄袭他人的学术观点、思想和成果,未篡 改研究数据,论文(设计)中所引用的文字、研究成果均已在论文(设 计)中以明确的方式标明;在毕业论文(设计)工作过程中,本人恪 守学术规范,遵守学校有关规定,依法享有和承担由此论文(设计) 产生的权利和责任。
声明人(签名):
摘 要
随着生活水平的提高,人们对消费电子的需求也越来越高。多功能的MP3播 放器也受到越来越多人的青睐。电子技术快的速发展和消费者的爱好需求,MP3的 功能也越来越多,它与PDA、手机一样,都向多功能方面发展,尽可能吸收其它产 品的功能,以便增加产品卖点。系统采用ARM Cortex-M3内核的STM32F103RBT6 作为微控制器,结合VS1003B音频解码芯片,SD卡存储器,TFT液晶显示屏等外 围设备,以及FAT文件操作,设计并实现了集音乐播放、电子书阅读、游戏、触 摸画板、闹铃时钟、USB读卡器等为一体的多功能MP3播放器。
关键词:STM32F103RBT6; VS1003B; SD 卡;TFT 液晶;MP3 播放器;FAT
Abstract
Along with living standard enhancement, the people to expend electronic the demand to be also getting higher and highe匚 The multi-purpose MP3 players also receive more and more person's favors. With the fast development's electronic technology and consumer's hobby demand, the MP3 has more features , it just like PDA or Mobile phone .In case to increasing the product's selling point, it's developing to the multi-purpose aspects and absorbing other product's functions as far as possible. So this article is precisely focuses on the market demand, designs a multi-purpose MP3 player with Music , e-book , reader, games, touch alarm ,clock, drawing board ,USB card reader and other functions. This system uses the STM32F103RBT6 of Cortex-M3 as microcontroller core and combining the VS1003B decoder chip, SD card, TFT LCD and the FAT file operations to achieve multi-functional MP3 player.
Key words: STM32F103RBT6; VS1003B; SD card; TFT LCD; MP3 player;FAT
1前言 1
1
1
2系统概述与硬件电路设计 3
1系统的总体构架 3
2电源模块 3
4
7
5 VS1003音频模块 9
3 FAT文件系统 12
1 FAT文件系统简介 12
2 FAT文件系统的读取操作 13
4系统软件设计 18
18
2底层驱动程序设计 18
4. 2. 1 TFT 显示驱动程序设计 18
4. 2. 2 ADS7846触摸驱动设计 21
4. 2. 3 VS1003 驱动设计 23
4. SD卡读取驱动 24
4. 2. 5 RTC时钟驱动 26
27