目 录
......................................................................................................................................................................1
摘要..............................................................................................................................................................2
1.引言........................................................................................................................................................4
1.1 研究背景........................................................................................................................................4
1.2 主要研究工作................................................................................................................................4
1.3 本文主要结构................................................................................................................................5
2.MP3 文件格式........................................................................................................................................6
3.系统硬件开发平台的构建....................................................................................................................8
3.1 系统设计方案................................................................................................................................8
3.2 硬件平台的设计与构建................................................................................................................8
3.2.1 控制器 AT89C51SND1C....................................................................................................8
3.2.2 NAND FLASH K9F5608.................................................................................................10
3.2.3 数模转换器 WM8759.......................................................................................................12
3.2.4 USB 部分电路..................................................................................................................14
3.3 低功耗的设计..............................................................................................................................16
3.4 PCB 设计......................................................................................................................................17
4.系统软件开发平台的构建..................................................................................................................18
4.1 软件模块......................................................................................................................................18
4.2 各单元流程图..............................................................................................................................18
4.3 编译调试环境..............................................................................................................................20
5.系统软件开发平台的构建..................................................................................................................22
5.1 文件系统的建立与实现..............................................................................................................22
5.1.1 主引导扇区(MBR 区).................................................................................................22
5.1.2 系统引导记录区(DBR 区)...............................................................................................22
5.1.3 文件分配表(FAT 区).........................................................................................................23
5.1.4 文件目录表(FDT 区)........................................................................................................24
5.1.5 数据区(DATA 区).............................................................................................................25
5.2 USB 批量传输方式的建立.........................................................................................................26
5.2.1 USB 概述..........................................................................................................................26
5.2.2 USB 海量存储设备..........................................................................................................26
5.2.3 Bulk-Only 传输协议......................................................................................................27
5.2.4 U 盘的工作过程...............................................................................................................28
5.2.5 AT89C51SND1C 内的 USB 控制器................................................................................28
5.3 串口通信功能的实现..................................................................................................................31
5.4 MP3 解码功能的实现.................................................................................................................32
5.4.1 AT89C51SND1C 内的 MP3 解码单元............................................................................32
5.4.2 AT89C51SND1C 内的音频接口单元..............................................................................34
6 系统性能测试与分析.............................................................................................................................35
参考文献:................................................................................................................................................37