注意:在收到status stage的ACK后,需要在2ms内启用新地址。请看下面抄录的USB文本中的9.2.6.3一节的第二段。<br /><br />9.2.6.3 Set Address Processing<br />After the reset/resume recovery interval, if a device receives a SetAddress() request, the device must be able to complete processing of the request and be able to successfully complete the Status stage of the request within 50 ms. In the case of the SetAddress() request, the Status stage successfully completes when the device sends the zero-length Status packet or when the device sees the ACK in response to the Status stage data packet.<br /><br />After successful completion of the Status stage, the device is allowed a SetAddress() recovery interval of 2 ms. At the end of this interval, the device must be able to accept Setup packets addressed to the new address. Also, at the end of the recovery interval, the device must not respond to tokens sent to the old address (unless, of course, the old and new address is the same).<br /><br />00不要紧张,我在13楼说的是你在10楼发言之前忽略了资料上的说明。
|