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 />

31.12.1 CSR memory map<br />

The host and peripheral mode registers occupy different addresses. All registers are<br />

implemented in the AHB clock domain.<br />

Figure 383. CSR memory map<br />

0000h<br />

0400h<br />

0800h<br />

0E00h<br />

1000h<br />

2000h<br />

3000h<br />

2 0000h<br />

3 FFFFh<br />

1. x = 5 in peripheral mode and x = 11 in host mode.<br />

Core global CSRs (1 Kbyte)<br />

Host mode CSRs (1 Kbyte)<br />

Device mode CSRs (1.5 Kbyte)<br />

Power and clock gating CSRs (0.5 Kbyte)<br />

Device EP 0/Host channel 0 FIFO (4 Kbyte)<br />

Device EP1/Host channel 1 FIFO (4 Kbyte)<br />

Device EP (x – 1) (1) /Host channel (x – 1) (1) FIFO (4 Kbyte)<br />

Device EP x (1) /Host channel x (1) FIFO (4 Kbyte)<br />

Reserved<br />

Direct access to data FIFO RAM<br />

for debugging (128 Kbyte)<br />

Global CSR map<br />

These registers are available in both host and peripheral modes.<br />

Table 176. Core global control and status registers (CSRs)<br />

Acronym<br />

Address<br />

offset<br />

Register name<br />

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

DFIFO<br />

push/pop<br />

to this region<br />

DFIFO<br />

debug read/<br />

write to this<br />

region<br />

ai15615b<br />

OTG_HS_GOTGCTL 0x000 OTG_HS control and status register (OTG_HS_GOTGCTL) on page 1180<br />

OTG_HS_GOTGINT 0x004 OTG_HS interrupt register (OTG_HS_GOTGINT) on page 1182<br />

OTG_HS_GAHBCFG 0x008 OTG_HS AHB configuration register (OTG_HS_GAHBCFG) on page 1183<br />

OTG_HS_GUSBCFG 0x00C OTG_HS USB configuration register (OTG_HS_GUSBCFG) on page 1184<br />

OTG_HS_GRSTCTL 0x010 OTG_HS reset register (OTG_HS_GRSTCTL) on page 1187

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

Saved successfully!

Ooh no, something went wrong!