
W81C180
Publication Release Date: May 1997
- 7 -
Revision A1
USB SUSPEND:
If there is no upstream activity for 3msec then the SUSPEND flag is set and the interrupt enabled.
The uC is not required to perform any functions during a USB suspend. The W81C180 stops sending
low speed keep alive EOP's when in the suspend state.
USB RESUME:
The suspend mode can be disabled by a 'resume'. The resume can occur by four methods.
- The host can send a resume to all ports by placing a 0 (K state) on the bus. The W81C180 sees the
resume, disables the SUSPEND flag, and enables the interrupt. In this case, the uC does not have
to perform any functions.
- The host can reset the bus.
- The uC can initiate a resume by setting URESUME in the Control Register which will cause a K
state to be sent to all ports. To un-resume, the uC must clear the URESUME bit in the Control
Register.
- A downstream port can issue a resume by sending a K state upstream. When the W81C180 senses
this K state, it sets the REC_RES flag and interrupt. The uC then has to set the URESUME bit to
do a global resume as described above.
USB REPEATER:
The W81C180 controls the traffic between the upstream (port0) and downstream (ports1,2,3,4) ports
without uC intervention. If a 'Start of Packet' SOP is seen on port0, and no other port is transmitting,
then the W81C180 will transmit the incoming data to all enabled high speed ports until an 'End of
Packet' (EOP) is sent (an EOP is a SE0 for 2 bit times followed by a J state.) The EOP from port0 is
sent to the enabled ports as well.
If a SOP is seen on an enabled downstream port, any no other port is transmitting, then its data is
sent to port0 until an EOP is received which is also sent to port0.
USB FRAME TIMER:
The W81C180 contains a 1ms timer which is synchronized to the 'Start of Frame' (SOF) packet sent
from the host every 1ms. If the W81C180 is waiting for an EOP from a downstream port when the
SOF is about to approach, it will disable the port, send an EOP upstream, set the babble/LOA (loss of
activity) flag, and enable the interrupt. The uC will then have to unconfigure the port which caused the
error, and inform the host via the Interrupt Transfer.
BABBLE AND LOST OF ACTIVITY (LOA)
If a babble or LOA is found by reading the status registers, then the uC must disable the port which
caused it. It must then set the appropriate bit in the Host_Sta byte and send that byte to the endpoint
1 FIFO for the host. The uC will continue to send this byte, after 'DAVEP1' =1, until the host sends a
ClearPortFeature via a Control Transfer to the hub's endpoint 0.