摘要
嵌入式USB主机系统在数据存储和交换领域具有很好的应用前景。为了存储和处理嵌入式系统中的大量数据,一种方法是让嵌入式系统具有USB设备接口,以通讯的方式向上位机不断转储RAM中的数据;另一种方法就是让嵌入式系统具有USB主机接口,使嵌入式系统可以直接读写U盘或SD卡之类的移动存储设备,再通过移动存储设备将数据转储到上位机中,不需要嵌入式系统与上位机之间有直接的通讯连接。使用USB控制芯片CH376设计了一个基于STM32F103的USB主机接口,并应用于嵌入式系统中。
Embedded USB host system has very fine application prospects in the fields of data stores and data exchanges.To store and manage mass data in embedded system,one method is to construct an USB device interface in embedded system.The embedded system uploads data from RAM in itself to upper computer continuously in communication mode.Another method is to build an USB host interface in embedded system.Then the embedded system can read/write U disk,SD card or other removable devices directly.The data stored in removable devices can be transferred to upper computer easily without any directly connection between embedded system and upper computer.This article used the USB controller chip CH376 to design the USB host interface based on STM32F103,which was used in embedded systems.
出处
《信息技术》
2010年第12期168-170,共3页
Information Technology