一个项目使用STM32F407 连接USB3300 HID设备,程序在开发板是好事的。自己做的板子就不好使,连续焊接2个板子都是同样的问题,
USB连接计算机后,有时候在“人体输入设备”里面能够出现“USB输入设备”,但是前面有一个黄 {MOD}的叹号,提示是“请求操作不成功”,也能找到VID和PID;有时就认为“未知的USB设备”,提示是“设备描述符请求失败”
使用BUS Hound看数据
Device Phase Data Description Delta Cmd.Phase.Ofs(rep)
------ ----- -------------------------------------------------- ---------------- ----- ------------------
11.0 CTL 00 03 01 00 00 00 00 00 SET FEATURE 8.9hr 1.1.0
11.0 CTL a3 00 00 00 01 00 04 00 GET STATUS 179us 2.1.0
11.0 IN 01 01 00 00 .... 102us 2.2.0
11.0 CTL a3 00 00 00 02 00 04 00 GET STATUS 62us 3.1.0
11.0 IN 00 01 00 00 .... 21us 3.2.0
11.0 CTL a3 00 00 00 03 00 04 00 GET STATUS 49us 4.1.0
11.0 IN 00 01 00 00 .... 20us 4.2.0
11.0 CTL a3 00 00 00 04 00 04 00 GET STATUS 48us 5.1.0
11.0 IN 00 01 00 00 .... 22us 5.2.0
11.0 CTL a3 00 00 00 05 00 04 00 GET STATUS 48us 6.1.0
11.0 IN 00 01 00 00 .... 22us 6.2.0
11.0 CTL a3 00 00 00 01 00 04 00 GET STATUS 36sc 7.1.0
11.1 IN 02 . 82us 8.1.0
11.0 IN 00 01 01 00 .... 9us 7.2.0
11.0 CTL a3 00 00 00 01 00 04 00 GET STATUS 47us 9.1.0
11.0 IN 00 01 01 00 .... 59us 9.2.0
11.0 CTL a3 00 00 00 02 00 04 00 GET STATUS 28us 10.1.0
11.0 CTL 23 01 10 00 01 00 00 00 CLEAR FEATURE 10us 11.1.0
11.0 IN 00 01 00 00 .... 86us 10.2.0
11.0 CTL a3 00 00 00 03 00 04 00 GET STATUS 45us 12.1.0
这个是电路图
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>