30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 13: LPC2300 USB device<br />

Table 270. USB Command Code register (USBCmdCode - address 0xFFE0 C210) bit description<br />

Bit Symbol Value Description Reset value<br />

7:0 - - Reserved, user software should not write ones to reserved NA<br />

bits. The value read from a reserved bit is not defined.<br />

15:8 CMD_PHASE The command phase: 0x00<br />

23:16 CMD_CODE/<br />

CMD_WDATA<br />

0x01<br />

0x02<br />

0x05<br />

Read<br />

Write<br />

Command<br />

This is a multi-purpose field. When CMD_PHASE is<br />

Command or Read, this field contains the code for the<br />

command (CMD_CODE). When CMD_PHASE is Write,<br />

this field contains the command write data<br />

(CMD_WDATA).<br />

31:24 - - Reserved, user software should not write ones to reserved<br />

bits. The value read from a reserved bit is not defined.<br />

0x00<br />

NA<br />

8.7.2 USB Command Data register (USBCmdData - 0xFFE0 C214)<br />

This register contains the data retrieved after executing a SIE command. When the data is<br />

ready to be read, the CD_FULL bit of the USBDevIntSt register is set. See Table 13–242<br />

for details. USBCmdData is a read only register.<br />

Table 271. USB Command Data register (USBCmdData - address 0xFFE0 C214) bit<br />

description<br />

Bit Symbol Description Reset value<br />

7:0 CMD_RDATA Command Read Data. 0x00<br />

31:8 - Reserved, user software should not write ones to reserved<br />

bits. The value read from a reserved bit is not defined.<br />

NA<br />

8.8 DMA registers<br />

The registers in this group are used for the DMA mode of operation (see Section 13–13<br />

“DMA operation”)<br />

8.8.1 USB DMA Request Status register (USBDMARSt - 0xFFE0 C250)<br />

A bit in this register associated with a non-isochronous endpoint is set by hardware when<br />

an endpoint interrupt occurs (see the description of USBEpIntSt) and the corresponding<br />

bit in USBEpIntEn is 0. A bit associated with an isochronous endpoint is set when the<br />

corresponding bit in USBEpIntEn is 0 and a FRAME interrupt occurs. A set bit serves as<br />

a flag for the DMA engine to start the data transfer if the DMA is enabled for the<br />

corresponding endpoint in the USBEpDMASt register. The DMA cannot be enabled for<br />

control endpoints (EP0 and EP1). USBDMARSt is a read only register.<br />

Table 272. USB DMA Request Status register (USBDMARSt - address 0xFFE0 C250) bit allocation<br />

Reset value: 0x0000 0000<br />

Bit 31 30 29 28 27 26 25 24<br />

Symbol EP31 EP30 EP29 EP28 EP27 EP26 EP25 EP24<br />

Bit 23 22 21 20 19 18 17 16<br />

Symbol EP23 EP22 EP21 EP20 EP19 EP18 EP17 EP16<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 286 of 613

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

Saved successfully!

Ooh no, something went wrong!