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

OTG_FS Host non-periodic transmit FIFO size register<br />

(OTG_FS_HNPTXFSIZ)/Endpoint 0 Transmit FIFO size (OTG_FS_DIEPTXF0)<br />

Address offset: 0x028<br />

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

Host mode<br />

Device mode<br />

NPTXFD/TX0FD NPTXFSA/TX0FSA<br />

r/rw r/rw<br />

Bits 31:16 NPTXFD: Non-periodic TxFIFO depth<br />

This value is in terms of 32-bit words.<br />

Minimum value is 16<br />

Maximum value is 256<br />

Bits 15:0 NPTXFSA: Non-periodic transmit RAM start address<br />

This field contains the memory start address for non-periodic transmit FIFO RAM.<br />

Bits 31:16 TX0FD: Endpoint 0 TxFIFO depth<br />

This value is in terms of 32-bit words.<br />

Minimum value is 16<br />

Maximum value is 256<br />

Bits 15:0 TX0FSA: Endpoint 0 transmit RAM start address<br />

This field contains the memory start address for the endpoint 0 transmit FIFO RAM.<br />

OTG_FS non-periodic transmit FIFO/queue status register<br />

(OTG_FS_HNPTXSTS)<br />

Address offset: 0x02C<br />

Reset value: 0x0008 0200<br />

Note: In Device mode, this register is not valid.<br />

This read-only register contains the free space information for the non-periodic TxFIFO and<br />

the non-periodic transmit request queue.<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 />

NPTXQTOP NPTQXSAV NPTXFSAV<br />

r r r<br />

Doc ID 018909 Rev 3 1064/1416

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

Saved successfully!

Ooh no, something went wrong!