29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

USB on-the-go full-speed (OTG_FS)<br />

RM0008<br />

Bits 1:0 FSLSPCS: FS/LS PHY clock select<br />

When the core is in FS Host mode<br />

01: PHY clock is running at 48 MHz<br />

Others: Reserved<br />

When the core is in LS Host mode<br />

00: Reserved<br />

01: PHY clock is running at 48 MHz.<br />

10: PHY clock is running at 6 MHz. In USB 1.1 FS mode, use 6 MHz when the UTMIFS PHY<br />

low power mode is selected <strong>and</strong> the PHY supplies a 6 MHz clock during LS mode. If you<br />

select a 6 MHz clock during LS mode, you must do a soft reset.<br />

11: Reserved<br />

OTG_FS Host frame interval register (OTG_FS_HFIR)<br />

Address offset: 0x404<br />

Reset value: 0x0000 EA60<br />

This register stores the frame interval information for the current speed to which the<br />

OTG_FS controller has enumerated.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

FRIVL<br />

Reserved<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bits 31:16 Reserved<br />

Bits 15:0 FRIVL: Frame interval<br />

The value that the application programs to this field specifies the interval between two<br />

consecutive SOFs (FS) or Keep-Alive tokens (LS). This field contains the number of PHY<br />

clocks that constitute the required frame interval. The application can write a value to this<br />

register only after the Port enable bit of the Host port control <strong>and</strong> status register (PENA bit in<br />

OTG_FS_HPRT) has been set. If no value is programmed, the core calculates the value based<br />

on the PHY clock specified in the FS/LS PHY Clock Select field of the Host configuration<br />

register (FSLSPCS in OTG_FS_HCFG). Do not change the value of this field after the initial<br />

configuration.<br />

1 ms × (PHY clock frequency for FS/LS)<br />

744/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!