Information
In Host mode ENDPT0 is used to determine the handshake, retry and low speed
characteristics of the host transfer. For Host mode control, bulk and interrupt transfers the
EPHSHK bit should be set to 1. For Isochronous transfers it should be set to 0. Common
values to use for ENDPT0 in host mode are 0x4D for Control, Bulk, and Interrupt
transfers, and 0x4C for Isochronous transfers.
Addresses: 4007_2000h base + C0h offset + (4d × n), where n = 0d to 15d
Bit 7 6 5 4 3 2 1 0
Read
HOSTWOHUB
RETRYDIS
0
EPCTLDIS EPRXEN EPTXEN EPSTALL EPHSHK
Write
Reset
0 0 0 0 0 0 0 0
USBx_ENDPTn field descriptions
Field Description
7
HOSTWOHUB
This is a Host mode only bit and is only present in the control register for endpoint 0 (ENDPT0). When set
this bit allows the host to communicate to a directly connected low speed device. When cleared, the host
produces the PRE_PID then switch to low speed signaling when sending a token to a low speed device
as required to communicate with a low speed device through a hub.
6
RETRYDIS
This is a Host mode only bit and is only present in the control register for endpoint 0 (ENDPT0). When set
this bit causes the host to not retry NAK'ed (Negative Acknowledgement) transactions. When a
transaction is NAKed, the BDT PID field is updated with the NAK PID, and the TOKEN_DNE interrupt is
set. When this bit is cleared NAKed transactions is retried in hardware. This bit must be set when the host
is attempting to poll an interrupt endpoint.
5
Reserved
This read-only field is reserved and always has the value zero.
4
EPCTLDIS
This bit, when set, disables control (SETUP) transfers. When cleared, control transfers are enabled. This
applies if and only if the EPRXEN and EPTXEN bits are also set.
3
EPRXEN
This bit, when set, enables the endpoint for RX transfers.
2
EPTXEN
This bit, when set, enables the endpoint for TX transfers.
1
EPSTALL
When set this bit indicates that the endpoint is called. This bit has priority over all other control bits in the
EndPoint Enable Register, but it is only valid if EPTXEN=1 or EPRXEN=1. Any access to this endpoint
causes the USB Module to return a STALL handshake. After an endpoint is stalled it requires intervention
from the Host Controller.
0
EPHSHK
When set this bet enables an endpoint to perform handshaking during a transaction to this endpoint. This
bit is generally set unless the endpoint is Isochronous.
40.4.24 USB Control Register (USBx_USBCTRL)
Addresses: USB0_USBCTRL is 4007_2000h base + 100h offset = 4007_2100h
Bit 7 6 5 4 3 2 1 0
Read
SUSP PDE
0
Write
Reset
1 1 0 0 0 0 0 0
Chapter 40 Universal Serial Bus OTG Controller (USBOTG)
K20 Sub-Family Reference Manual, Rev. 2, Feb 2012
Freescale Semiconductor, Inc. 913
