29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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 full-speed (OTG_FS)<br />

RM0008<br />

Bits 13:10 TRDT: USB turnaround time<br />

Sets the turnaround time in PHY clocks.<br />

Specifies the response time for a MAC request to the Packet FIFO controller (PFC) to fetch<br />

data from the DFIFO (SPRAM).<br />

They must be programmed to:<br />

0101: When the MAC interface is 16-bit UTMIFS<br />

1001: When the MAC interface is 8-bit UTMIFS<br />

Note: Only accessible in Device mode.<br />

Bit 9 HNPCAP: HNP-capable<br />

The application uses this bit to control the OTG_FS controller’s HNP capabilities.<br />

0: HNP capability is not enabled.<br />

1: HNP capability is enabled.<br />

Note: Accessible in both Device <strong>and</strong> Host modes.<br />

Bit 8 SRPCAP: SRP-capable<br />

The application uses this bit to control the OTG_FS controller’s SRP capabilities. If the core<br />

operates as a non-SRP-capable<br />

B-device, it cannot request the connected A-device (host) to activate V BUS <strong>and</strong> start a session.<br />

0: SRP capability is not enabled.<br />

1: SRP capability is enabled.<br />

Note: Accessible in both Device <strong>and</strong> Host modes.<br />

Bits [7:3] Reserved<br />

Bits [2:0] TOCAL: FS timeout calibration<br />

The number of PHY clocks that the application programs in this field is added to the full-speed<br />

interpacket timeout duration in the core to account for any additional delays introduced by the<br />

PHY. This can be required, because the delay introduced by the PHY in generating the line<br />

state condition can vary from one PHY to another.<br />

The USB st<strong>and</strong>ard timeout value for full-speed operation is 16 to 18 (inclusive) bit times. The<br />

application must program this field based on the speed of enumeration. The number of bit<br />

times added per PHY clock is 0.25 bit times.<br />

728/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!