AR# 47541


Zynq-7000 SoC, USB - In High Speed Host mode, NYET decrements NAK Counter


When a NYET handshake is received by the Host for an OUT transaction in high speed (HS) mode, the Host controller erroneously decrements the Nak counter, qTD.NakCnt.



Minor. NAK responses generally occur multiple times per reload of the Nak counter. A NYET response occurs no more than once per reload.
See Details section, below.
Configurations Affected:
Systems that use the USB controller in Host mode.
Device Revision(s) Affected:All, no plan to fix. Refer to (Xilinx Answer 47916) - Zynq-7000 SoC Silicon Revision Differences


Impact Details:
The Host Controller (HC) uses the Nak counter, qTD.NakCnt, and the Reload field, qTD.RL, to throttle the flow control to an endpoint. The flow control operation is described in section 4.9 of the EHCI specification. This control is used to stop the flow PING transactions that might be continually NAKd by the endpoint.

The Nak counter is loaded from the Reload field and is decremented when the HC receives a NAK response (or a NYET response under the condition described in the section above). When the Nak counter reaches 0, the HC stops trying to communicate with the endpoint. The HC continues to wait until the Nak counter is reloaded.

The flow control starts when the HC receives the NYET response to an OUT transaction (it only receives one NYET). This causes the HC to start sending the PING transactions to the endpoint until an ACK is received or the Nak counter reaches 0. The Nak counter is reloaded when a new (micro) frame is entered (Start Event). The Start Event allows another series of NAKs to occur, as needed, in the next frame. Of course, when an PING transaction is ACKd, the Nak counter is reloaded and the HC retries the OUT transaction.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
47916 Zynq-7000 AP SoC Devices - Silicon Revision Differences N/A N/A
AR# 47541
Date 05/23/2018
Status Active
Type Design Advisory
People Also Viewed