计算机应用 ›› 2010, Vol. 30 ›› Issue (1): 277-279.

• 典型应用 • 上一篇    下一篇

基于MCF52223的多功能USB数据采集系统的设计

钱仇圣1,王宜怀2   

  1. 1. 苏州大学
    2. 苏州大学计算机科学与技术学院
  • 收稿日期:2009-07-13 修回日期:2009-09-08 发布日期:2010-01-01 出版日期:2010-01-01
  • 通讯作者: 钱仇圣
  • 基金资助:
    国家自然科学基金资助项目

Design of USB multi-function data acquisition system based on MCF52223

  • Received:2009-07-13 Revised:2009-09-08 Online:2010-01-01 Published:2010-01-01
  • Contact: qian qiusheng

摘要: 以飞思卡尔推出的内部集成USB2.0模块的MCF52223微控制器为基础,借鉴USB OTG双重角色的思想,提出了自主数据采集和非自主数据采集两种编程模式概念,实现可配置运行的嵌入式USB主机功能,完成对U盘文件的读写与查询,使U盘成为系统的外挂式海量存储设备以及查询数据库。系统稳定地应用于基于二代身份证会议签到系统的实践表明,这种设计方式对数据查询、存储、读取带来了较大方便,并能方便地切换到非自主数据采集模式,可为同类应用借鉴。

关键词: 嵌入式USB主机, 外挂式海量存储设备, 编程工作模式

Abstract: With reference to the idea of USB OTG dual role, and based on the microcontroller MCF52223 which is integrated with USB2.0 module produced by Freescale Corporation, this paper put forward the concept of two-programmingmodels: "Self Data Acquisition" and "Non-self Data Acquisition",realized the function of configurable embedded USB host, and completed the readwrite and inquiry of the U-disk, and made U-disk become the external mass storage devices and query database. This acquisition system stable usage in the meeting attendance system based on second-generation ID card shows that the design makes the data query, storage and read more convenient and can easily switch to nonself data acquisition mode, which can be referred by similar applications.

Key words: embedded USB host, external mass storage devices, programming mode