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.

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

OTG_HS host channel-x DMA address register (OTG_HS_HCDMAx) (x = 0..11,<br />

where x = Channel_number)<br />

Address offset: 0x514 + (Channel_number × 0x20)<br />

Reset value: 0x0000 0000<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 />

31.12.4 Device-mode registers<br />

DMAADDR<br />

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

Bits 31:0 DMAADDR: DMA address<br />

This field holds the start address in the external memory from which the data for the<br />

endpoint must be fetched or to which it must be stored. This register is incremented on every<br />

AHB transaction.<br />

OTG_HS device configuration register (OTG_HS_DCFG)<br />

Address offset: 0x800<br />

Reset value: 0x0220 0000<br />

This register configures the core in peripheral mode after power-on or after certain control<br />

commands or enumeration. Do not make changes to this register after initial programming.<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 />

Reserved<br />

PERSCHIVL<br />

Reserved<br />

Reserved PFIVL<br />

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

Bits 31:26 Reserved, must be kept at reset value.<br />

Bits 25:24 PERSCHIVL: Periodic scheduling interval<br />

This field specifies the amount of time the Internal DMA engine must allocate for fetching<br />

periodic IN endpoint data. Based on the number of periodic endpoints, this value must be<br />

specified as 25, 50 or 75% of the (micro)frame.<br />

– When any periodic endpoints are active, the internal DMA engine allocates the<br />

specified amount of time in fetching periodic IN endpoint data<br />

– When no periodic endpoint is active, then the internal DMA engine services<br />

nonperiodic endpoints, ignoring this field<br />

– After the specified time within a (micro)frame, the DMA switches to fetching<br />

nonperiodic endpoints<br />

00: 25% of (micro)frame<br />

01: 50% of (micro)frame<br />

10: 75% of (micro)frame<br />

11: Reserved<br />

Bits 23:13 Reserved, must be kept at reset value.<br />

Doc ID 018909 Rev 3 1216/1416<br />

DAD<br />

Reserved<br />

NZLSOHSK<br />

DSPD

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

Saved successfully!

Ooh no, something went wrong!