阅读:1420回复:3
USBN9603的枚举问题
各位高人:
我的USBN9603在枚举的时候出现NAK(OUT)信息,是在地址分配完毕之后,查看RXC0中接收使能无效,TXCO发射使能有效,难道是因为我的收发转换问题?同时请教,如何知道多次输出数据完成(每次8字节),即每8字节送出后与所有字节完成后的区别在什么地方? 多谢了 |
|
最新喜欢:![]()
|
沙发#
发布于:2002-03-11 12:32
去国半的网站下载一个DEMO程序看看吧,主要还是一个时序问题。
另外你的9603是从什么地方买的? |
|
|
板凳#
发布于:2002-03-12 01:47
在www.usb.org上一个外国人问了和你一样的问题,他得到的回答如下:
The direction of a SetAddress is host-to-device. After having Ack\'d the Setup, you should be prepared to Ack either an OUT (0-length data stage) or an IN (status stage). The host is not required to issue the data stage. You should not actually begin responding to the new address until after you have responded to the status request at the old address. |
|
|
地板#
发布于:2002-03-12 09:32
谢谢楼上的朋友,我需要再试试。
|
|
|