USB on-the-go full-speed (OTG_FS)
RM0090
1258/1731
DocID018909 Rev 11
Host-mode CSR map
These registers must be programmed every time the core changes to host mode.
OTG_FS_GINTSTS
0x014
OTG_FS core interrupt register (OTG_FS_GINTSTS) on page 1270
OTG_FS_GINTMSK
0x018
OTG_FS interrupt mask register (OTG_FS_GINTMSK) on page 1274
OTG_FS_GRXSTSR
0x01C
OTG_FS_GRXSTSP
0x020
OTG_FS_GRXFSIZ
0x024
OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ) on page 1278
OTG_FS_HNPTXFSIZ/
OTG_FS_DIEPTXF0
(1)
0x028
OTG_FS_HNPTXSTS
0x02C
OTG_FS non-periodic transmit FIFO/queue status register
(OTG_FS_HNPTXSTS) on page 1279
OTG_FS_GCCFG
0x038
OTG_FS general core configuration register (OTG_FS_GCCFG) on
page 1280
OTG_FS_CID
0x03C
OTG_FS core ID register (OTG_FS_CID) on page 1281
OTG_FS_HPTXFSIZ
0x100
OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ) on
page 1282
OTG_FS_DIEPTXFx
0x104
0x124
...
0x138
1. The general rule is to use OTG_FS_HNPTXFSIZ for host mode and OTG_FS_DIEPTXF0 for device mode.
Table 195. Core global control and status registers (CSRs) (continued)
Acronym
Address
offset
Register name
Table 196. Host-mode control and status registers (CSRs)
Acronym
Offset
address
Register name
OTG_FS_HCFG
0x400
OTG_FS Host configuration register (OTG_FS_HCFG) on page 1283
OTG_FS_HFIR
0x404
OTG_FS Host frame interval register (OTG_FS_HFIR) on page 1283
OTG_FS_HFNUM
0x408
OTG_FS Host frame number/frame time remaining register
(OTG_FS_HFNUM) on page 1284
OTG_FS_HPTXSTS
0x410
OTG_FS_Host periodic transmit FIFO/queue status register
(OTG_FS_HPTXSTS) on page 1284
OTG_FS_HAINT
0x414
OTG_FS Host all channels interrupt register (OTG_FS_HAINT) on
page 1285
OTG_FS_HAINTMSK
0x418
OTG_FS Host all channels interrupt mask register (OTG_FS_HAINTMSK)
on page 1286