MCS51 MCU读写SD卡版--单片机毕业论文.doc

  1. 1、本文档共92页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 近年来, SD存储卡在嵌入式产品中的应用越来越广泛, 但SD卡接口一般仅集成在32位高端处理器中, 一般51单片机则由于资源限制没有该接口。因此,如何解决51单片机应用系统存取SD卡大容量数据就显得很有实际意义。 本系统使用MXT8051F04A作为单片机与SD卡的接口芯片, 采用SPI串行方式对SD卡的扇区进行读写,读写过程和结果通过串口调试助手在主机上显示。本论文的核心主要从硬件设计和软件编程两个大的方面介绍了系统的实现。硬件电路设计主要包括MXT8051F04A最小系统电路、电源电路、串口电路、SD卡接口电路。程序采用C语言在Keil软件下进行编写、调试,程序主要包括SD卡扇区读写程序、串口程序等软件模块。系统实现了对SD卡扇区的读写,达到了设计的要求和目的。 关键字:MXT8051F04A,SD卡,Keil ABSTRACT ABSTRACT In recent years, SD memory card applications in the embedded products more widely, but generally only the integrated SD card interface in 32-bit high-end processor, microcontroller 51 is generally not the interface due to resource constraints. Therefore, how to solve the 51 SCM applications to access data on large-capacity SD cards seem very practical. The system uses MXT8051F04A as SCM and SD card interface chip, using SPI mode on the SD card serial read and write sectors, reading and writing process and results through the serial port on the host display debugging assistant. The core of this thesis, the main hardware and software design introduces two major aspects of the system implementation. Hardware design includes MXT8051F04A minimum system circuit, power circuit, the serial port circuitry, SD card interface circuit. Program using C language under the Keil software write, debug, the program includes reading and writing SD card sector program, serial procedures of software modules. System realizes the SD card read and write sectors, meets the design requirements and objectives. Keywords: MXT8051F04A,SD Card,Keil 目录 目 录 TOC \o "1-3" \h \u HYPERLINK \l _Toc24163 第1章 引言 PAGEREF _Toc24163 1 HYPERLINK \l _Toc14422 1.1 选题背景 PAGEREF _Toc14422 1 HYPERLINK \l _Toc16122 1.2 研究目标和意义 PAGEREF _Toc16122 1 HYPERLINK \l _Toc2569 1.3 本文要完成的工作 PAGEREF _Toc2569 1 HYPERLINK \l _Toc30362 第2章 单片机读写SD卡的硬件电路设计 3 HYPERLINK \l _Toc18330 2.1 系统硬件平台组成 3 HYPERLINK \l _Toc20658 2.2 电源模块 3 HYPERLINK \l _Toc16528 2.3 MXT8051F04A单片机最小系统电路设计 4 HYPERLINK \l _Toc4406 2.3.1 MXT8051F04A简介 4 HYPERL

文档评论(0)

好老师 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档