Register XUSBPS_EPRDY_OFFSET Details - Register XUSBPS_EPRDY_OFFSET Details - 1.15 English - UG585

Zynq 7000 SoC Technical Reference Manual (UG585)

Document ID
UG585
Release Date
2026-02-06
Version
1.15 English

For each endpoint, there is one buffer ready status (ENDPTSTAT) bit for the TX buffer and one bit for RX buffer.

An ENDPTSTAT bit is set to a 1 by the hardware in a response to receiving an EP prime command (write 1 to usb.ENDPTPRIME regsiter). There will always be a delay between writing a 1 to a usb.ENDPTPRIME register bit and the ENDPTSTAT bit asserting to indicate ready. This delay time varies based upon the current USB traffic and the number of bits in the usb.ENDPTPRIME register that transition from 0 to 1.

An ENDPTSTAT bit is cleared in one of three ways: by a USB reset, by the DMA engine hardware, or by a flush command using the usb.ENDPTFLUSH register.

Note: The ENDPTSTAT bit will be momentarily read = 0 during the time the hardware is retiring a dTD and updating the dQH transfer descriptors.
Field Name Bits Type Reset Value Description
ETBR 31:16 ro 0x0

TxBuffer ready status (Device mode), read-only.

0: cleared by reset, DMA, or ENDPTFLUSH.

1: ENDPTPRIME command received.

Bit[16]: Endpoint 0.

Bit[17]: Endpoint 1.

...

Bit[28]: Endpoint 12.

Bits[31:29]: reserved.

ERBR 15:0 ro 0x0

RxBuffer ready status (Device mode), read-only.

0: cleared by reset, DMA, or ENDPTFLUSH.

1: ENDPTPRIME command received.

Bit[0]: Endpoint 0.

Bit[1]: Endpoint 1.

...

Bit[12]: Endpoint 12.

Bits[15:13]: reserved.