Founded in 1971 >
Chinese Sci-tech Core Periodicals >
British Science Abstracts (SA, INSPEC) Indexed Journals >
United States, Cambridge Scientific Abstract: Technology (CSA: T) Indexed Journals >
United States, Ulrich's Periodicals Directory(UPD)Indexed Journals >
United States, Cambridge Scientific Abstract: Natural Science (CSA: NS) Indexed Journals >
Poland ,Index of Copernicus(IC) Indexed Journals >
International Standard Serial Number:
ISSN 1001-4551
Sponsor:
Zhejiang University;
Zhejiang Machinery and Electrical Group
Edited by:
Editorial of Journal of Mechanical & Electrical Engineering
Chief Editor:
ZHAO Qun
Vice Chief Editor:
TANG ren-zhong,
LUO Xiang-yang
Tel:
86-571-87041360,87239525
Fax:
86-571-87239571
Add:
No.9 Gaoguannong,Daxue Road,Hangzhou,China
P.C:
310009
E-mail:
meem_contribute@163.com
USB data acquisition system based on STM32 and μC/OS-II
TIAN Ming 1, XV Ping 1, HUANG Guo-hui 2,JIANG Zhou-shu2
(1. Institute of Life Information and Instrument Engineering, Hangzhou Dianzi University,
Hangzhou 310018, China;
2. Institute of Automation, Hangzhou Dianzi University, Hangzhou 310018, China)
Abstract: Aiming at meeting the high performance requirements,the design and realization of a kind of fast and reliable acquisition data system was introduced. ARM microprocessor STM32,which is in the frame of the Cortex-M3,was the foundation. According to the USB interface module's characteristics,USB communication was designed,based on the communication equipment class (CDC). Then the real-time operating system μC/OS-II was transplanted to be carried out the task scheduling,at the same time,the communication signal and the email was served for communication between data collection and USB sending task. With the driver provided by ST Company,USB device was recognized as a virtual serial port,so as USB port can be visited by a PC in the way of the universal serial bus (COM). The test results indicate that,the system has the advantages with processing and transmission speed fast and data high reliable,the system's comprehensive performance is significant.
Key words: STM32;μC/OS-II;USB;virtual serial