您所在位置: 网站首页 / 基于USB总线的数据通信.doc / 文档详情
基于USB总线的数据通信.doc 立即下载
2025-01-15
约3.4万字
约58页
0
1.1MB
举报 版权申诉
预览加载中,请您耐心等待几秒...

基于USB总线的数据通信.doc

基于USB总线的数据通信.doc

预览

免费试读已结束,剩余 53 页请下载文档后查看

10 金币

下载文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

摘要
本论文以基于USB总线的数据采集系统为主要内容,阐述了利用美国SiliconLaboratories公司的C8051F320芯片组成的一套数据通信系统的设计方案、开发方法和开发过程,并给出了具体实现方案。
本系统设计包括硬件设计和软件设计。在硬件设计部分,介绍了具体硬件设计方案。软件设计包括固件程序设计、驱动程序设计和应用程序设计三大部分。本文先从整体上介绍了程序的设计思想和层次结构,然后详细介绍了固件部分的设计过程,并给出了程序流程图和采用的固件函数库。驱动程序部分介绍了驱动程序的结构和定制过程。主机应用程序的设计部分介绍了所采用的API函数,并给出了部分源代码和程序流程图。
输入数据通过UART模块传到控制器,然后通过USB接口向上位机传送数据,或者上位机发出控制信息传到数据采集系统去。相对于传统的数据采集系统具有精度高、传输速率快、功耗低、体积小、抗干扰能力强等特点,具有很好的应用前景。
关键词:C8051F320;USB;固件程序;驱动程序
Abstract
ThepaperismainlyconcernedwiththedesignprocessofdataacquisitionsystemthatisbasedonUSBbus.Thedesignscheme,developingmethodanddevelopingprocessofasuitofdataacquisitionsystemusedwithAmericaSiliconLaboratories’sC8051F320areexpatiated.Inaddition,thepaperalsogivesthematerialrealizationscheme.
Thisdesignincludeshardwareandsoftwaredesign.Thehardwaredesignpartintroducesthatproducestheconcretehardwaredesignscheme,andthePCBdesign.Therearethreepartsinthesoftwaredesignpart,suchasthefirmware'sdevelopment,thedriverdevelopmentprogramandtheapplicationprogramdevelopment.Thepapershowstheideaandlayerstructureofprogramdesignasawhole,andthenintroducesthefirmwaredesignindetailandgivestheflowchartsandfirmwarefunctionlibrary.Inthepartofdevicedriverdesign,thestructureandcustomizationstepsofdriverarediscussed.ThedesignofhostapplicationprogramintroducestheAPIfunctionsandthenintroducesprogramflowdiagramandgivesafewcodesofthefirmwareprogram.
InputdatatransmittedthroughtheUARTcontrollermodule.ThedatawhichhostsendstoMCUbyUSBinterfaceissendtoanotherdataterminalasashortmessage.ThisMCUreceivestheshortmessagefromthedatacollectionandtransmitsitthroughtheUSBinterfacegivesthehost.ThedesignachievesthefunctiontotransmitthedatatothecomputerviaUSBinterfaceandcontrolthesystemconditionwithcomputer.Itcompleteslowersystempowerconsumptionlowercubageandhigheranti-jammingthanintraditionalways,andithasthewideprospectofapplication.
Keywords:C8051F320;USB;Firmware;Devicedriver
目录
TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc233365847"摘要	PAGEREF_Toc233365847\hI
HYPERLINK\l"_Toc233365848"A
查看更多
单篇购买
VIP会员(1亿+VIP文档免费下)

扫码即表示接受《下载须知》

基于USB总线的数据通信

文档大小:1.1MB

限时特价:扫码查看

• 请登录后再进行扫码购买
• 使用微信/支付宝扫码注册及付费下载,详阅 用户协议 隐私政策
• 如已在其他页面进行付款,请刷新当前页面重试
• 付费购买成功后,此文档可永久免费下载
全场最划算
12个月
199.0
¥360.0
限时特惠
3个月
69.9
¥90.0
新人专享
1个月
19.9
¥30.0
24个月
398.0
¥720.0
6个月会员
139.9
¥180.0

6亿VIP文档任选,共次下载特权。

已优惠

微信/支付宝扫码完成支付,可开具发票

VIP尽享专属权益

VIP文档免费下载

赠送VIP文档免费下载次数

阅读免打扰

去除文档详情页间广告

专属身份标识

尊贵的VIP专属身份标识

高级客服

一对一高级客服服务

多端互通

电脑端/手机端权益通用