09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

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.

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

Figure 365. 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 = 3 in device mode and x = 7 in host mode.<br />

Global CSR map<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 />

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

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

Acronym<br />

Address<br />

offset<br />

Register name<br />

DFIFO<br />

push/pop<br />

to this region<br />

DFIFO<br />

debug read/<br />

write to this<br />

region<br />

ai15615b<br />

OTG_FS_GOTGCTL 0x000 OTG_FS control and status register (OTG_FS_GOTGCTL) on page 1046<br />

OTG_FS_GOTGINT 0x004 OTG_FS interrupt register (OTG_FS_GOTGINT) on page 1048<br />

OTG_FS_GAHBCFG 0x008 OTG_FS AHB configuration register (OTG_FS_GAHBCFG) on page 1050<br />

OTG_FS_GUSBCFG 0x00C OTG_FS USB configuration register (OTG_FS_GUSBCFG) on page 1051<br />

OTG_FS_GRSTCTL 0x010 OTG_FS reset register (OTG_FS_GRSTCTL) on page 1053<br />

OTG_FS_GINTSTS 0x014 OTG_FS core interrupt register (OTG_FS_GINTSTS) on page 1055<br />

OTG_FS_GINTMSK 0x018 OTG_FS interrupt mask register (OTG_FS_GINTMSK) on page 1059<br />

Doc ID 018909 Rev 3 1042/1416

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

Saved successfully!

Ooh no, something went wrong!