USB host does not send out the PING packet

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB host does not send out the PING packet

2,990 次查看
iscylinfromtw
Contributor I

I'm using the USB host mode of RT1060. When I send a bulk out, I cannot see the PING packet around the DATA packet. I ensure the status of qTD token has enabled the Ping State (bit 0).

BTW, I'm not sure the PING packet is the key point to reduce the ACK time. Does someone could give me some suggestion? 

0 项奖励
回复
4 回复数

2,952 次查看
iscylinfromtw
Contributor I

You are right. If I send out the data size more than the FIFO size of USB device, USB host will start to issue a PING packet to check the receiving status.

Do you have any suggestion about how to improve the ACK time? When I tested in the Windows with same USB device, the ACK time does not over 1ms.

0 项奖励
回复

2,930 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

But I think you should use the Time Stamp column if you want to know when ACK come back. Isn't it?

 

Regards,

Jing

0 项奖励
回复

2,921 次查看
iscylinfromtw
Contributor I

OK, Maybe I need to take a look the descriptions of the USB packet analyzer.

0 项奖励
回复

2,977 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @iscylinfromtw ,

PING packet is not necessary during a transaction. First, USB host send a OUT packet and DATA. If the USB device return a NAK or NYET, USB host will begin to send PING. IF return ACK, it needn't to send PING.

 

Regards,

Jing

0 项奖励
回复