×

应用C541微控制器实现USB设备的参数设置

消耗积分:5 | 格式:rar | 大小:278 | 2009-07-01

建立建利12

分享资料个

The purpose of this application note is to demonstrate the implementation of the
Universal Serial Bus device configuration process, using the C541U microcontroller.
This configuration process is called bus enumeration. The C541U has an Intel 8051
compatible core, which is integrated with a USB Device Core (UDC) and a Memory
Management Unit (MMU).
List of Figures3
1 Introduction…4
2 USB Background…...5
2.1 Hub and Device Topology….5
2.2 Device Configuration Process6
3 HID (Human Interface Devices) Background... 7
4 Hardware Architecture of C541U…..8
4.1 Fundamental Structure……...8
4.2 USB Module..9
5 Software Architecture of C541U…...10
5.1 Software Initialization Routine………..10
5.2 Software Interrupt Routines...10
5.3 Software Main Routine……..12
6 Operating Environment…..13
6.1 Keil C51 Compiler.13
6.2 C541U Starter Kit..13
6.3 CATC Bus Inspector………..14
6.4 OHCI/UHCI Host..14
7 Conclusion….15
Appendix A Software Flowchart16
Appendix B References…..23
Appendix C Software Files 24
Appendix D Key Button Implementation...25
Figure 1 – USB Topology
Figure 2 – USB HID Descriptor Structure
Figure 3 – Block Diagram of the C541U
Figure 4 – Block Diagram of the USB Module
Figure 5 – 3-Stage Control Transfer
Figure 6 – Overview of Development Setup

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !