USB_2.0协议驱动开发入门_2

本文详细介绍了USB 2.0协议中的高速设备识别和握手过程,包括物理电气规范、传输速度类型、集线器与设备的交互。在设备插入时,通过D+和D-线上的电阻变化,高速设备与USB 2.0集线器完成高速模式的确认,涉及Chirp K信号、KJ序列等关键步骤。枚举过程中,设备经历供电、复位、获取描述符等阶段,最终完成高速通信通道的建立。
摘要由CSDN通过智能技术生成

按照USB 协议 栈的层次划分:
一个一个HostHost可能有一个或者多个可能有一个或者多个DeviceDevice
        一个一个DeviceDevice可能有一个或者多个可能有一个或者多个InterfaceInterface
                 一个一个InterfaceInterface可能有一个或者多个可能有一个或者多个EndpointEndpoint

  • 物理电气规范

 D+ 和 D 是差 分输入线,使用的是 3.3V 的电压

电平不同),而电源线和地线可向设备提供 5V 电压,最大电流为 500mA ( 可以在编程中设置 。 USB 支持“总线供电”和“自供电”两种供电模式。在总线供电模式下,设备最多可以获得 500mA 的电流。

 USB2.0支持 3 种传输速度:低速模式( 1.5Mb/s )、全速模式 12Mb/s )和高速模式(480Mb/s )。在低速和全速模式中,采用的是电压传输模式;高速模式下,是电流传输模式。

在USB 集线器的每个下游端口的 D+ 和 D 上,分别接了一个 15k Ω的下拉电阻 。当集线器端口没有设备插入时,输入端被这两个下拉电阻拉到了低电平。而在 USB 设备端,在 D+或者 D 上,接了一个 1.5k Ω的上拉电阻到 3.3V 的电源。对于 高 速 设备和全速设备,上拉电阻接在 D

The Original USB 2.0 specification released on April 27, 2000 USB 2.0 Adopters Agreement Errata to the USB 2.0 specification as of December 7, 2000 Mini-B connector Engineering Change Notice to the USB 2.0 specification Pull-up/pull-down Resistors Engineering Change Notice to the USB 2.0 specification Errata to the USB 2.0 specification as of May 28, 2002 Interface Association Descriptor Engineering Change Notice to the USB 2.0 specification Rounded Chamfer Engineering Change Notice to the USB 2.0 specification as of October 8, 2003 Unicode Engineering Change Notice to the USB 2.0 specification as of February 21, 2005 Inter-Chip USB Supplement Revision 1.0 as of March 13, 2006 Micro-USB Cables and Connectors Specification Revision 1.01 as of April 4, 2007 and corresponding Adopters Agreement USB 2.0 Link Power Management Addendum Engineering Change Notice to the USB 2.0 specification as of July 16, 2007 High-Speed Inter-Chip USB Electrical Specification Revision 1.0 as of September 23, 2007 Suspend Current Limit Changes Engineering Change Notice to the USB 2.0 Specification as of April 9, 2008 5V Short Circuit Withstand Requirement Change Engineering Change Notice to the USB 2.0 Specification as of December 22, 2008 Device Capacitance Engineering Change Notice to the USB 2.0 Specification as of December 22, 2008 Material Change Engineering Change Notice to the USB 2.0 Specification as of December 22, 2008 USB 2.0 Phase-locked SOFs Engineering Change Notice to the USB 2.0 Specification as of December 22, 2008 Micro-USB Micro-B ID Pin Resistance and Tolerance stack-up between D+ and D- Engineering Change Notice to the MicroUSB Specification to the USB 2.0 Specification, Revision 1.01 as of December 22, 2008 Quad Type Cable Additional for Micro USB ECN as of December 29, 2009 Clarification on the Chamfer on USB 2.0 Micro Connectors ECN as of March 23, 2010 Maximum Unmating Force Value Definition to USB 2.0 Micro Connectors ECN as of March 23, 2010 "On-The-Go Supplement
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值