摘要
介绍USB在数据采集系统中的应用,基于当前USB数据采集系统的一些不足,提出一种同时实现USB主机和设备双角色(DRD)的方案。详细讲述了利用C8051F020和USB双角色器件SL811HS设计USB主机/设备接口,重点分析了如何实现主机/设备模式的转换的方法,并给出了硬件的关键电路和软件结构。
The article introduces the application of USB in data acquisition system,analyzes the present USB data acquisition system,presents a scheme of USB dual - role device(DRD) for it is based on its shortcomings, and gives details on implementation of USB host/slave interface using C8051F020 MCU and SL811HS USB host/ slave controller.The article puts importance to how to switch between USB host and slave with key circuit and associated program structure.
出处
《计算机与数字工程》
2007年第1期55-57,60,共4页
Computer & Digital Engineering