09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USB on-the-go high-speed (OTG_HS) <strong>RM0090</strong><br />

Bit 2 GINSTS: Global IN NAK status<br />

0: A handshake is sent out based on the data availability in the transmit FIFO.<br />

1: A NAK handshake is sent out on all nonperiodic IN endpoints, irrespective of the data<br />

availability in the transmit FIFO.<br />

Bit 1 SDIS: Soft disconnect<br />

The application uses this bit to signal the USB OTG core to perform a soft disconnect. As<br />

long as this bit is set, the host does not see that the device is connected, and the device<br />

does not receive signals on the USB. The core stays in the disconnected state until the<br />

application clears this bit.<br />

0: Normal operation. When this bit is cleared after a soft disconnect, the core generates a<br />

device connect event to the USB host. When the device is reconnected, the USB host<br />

restarts device enumeration.<br />

1: The core generates a device disconnect event to the USB host.<br />

Bit 0 RWUSIG: Remote wakeup signaling<br />

When the application sets this bit, the core initiates remote signaling to wake up the USB<br />

host. The application must set this bit to instruct the core to exit the Suspend state. As<br />

specified in the USB 2.0 specification, the application must clear this bit 1 ms to 15 ms after<br />

setting it.<br />

Table 181 contains the minimum duration (according to device state) for which the Soft<br />

disconnect (SDIS) bit must be set for the USB host to detect a device disconnect. To<br />

accommodate clock jitter, it is recommended that the application add some extra delay to<br />

the specified minimum duration.<br />

Table 181. Minimum duration for soft disconnect<br />

Operating speed Device state Minimum duration<br />

High speed Not Idle or Suspended (Performing transactions) 125 µs<br />

Full speed Suspended 1 ms + 2.5 µs<br />

Full speed Idle 2.5 µs<br />

Full speed Not Idle or Suspended (Performing transactions) 2.5 µs<br />

1219/1416 Doc ID 018909 Rev 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!