OM11077 NXP Semiconductors, OM11077 Datasheet - Page 349

no-image

OM11077

Manufacturer Part Number
OM11077
Description
MODULE DIMM LPC2478 ARM7
Manufacturer
NXP Semiconductors
Datasheets

Specifications of OM11077

Accessory Type
Module Card
For Use With/related Products
ARM-57TS-LPC2478
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-4742
NXP Semiconductors
UM10237_4
User manual
9.5.3 USB Endpoint Index register (USBEpIn - 0xFFE0 C248)
9.5.4 USB MaxPacketSize register (USBMaxPSize - 0xFFE0 C24C)
}
The device will not respond to any transactions to unrealized endpoints. The SIE
Configure Device command will only cause realized and enabled endpoints to respond to
transactions. For details see
Each endpoint has a register carrying the MaxPacketSize value for that endpoint. This is
in fact a register array. Hence before writing, this register is addressed through the
USBEpIn register.
The USBEpIn register will hold the physical endpoint number. Writing to USBMaxPSize
will set the array element pointed to by USBEpIn. USBEpIn is a write only register.
Table 319. USB Endpoint Index register (USBEpIn - address 0xFFE0 C248) bit description
On reset, the control endpoint is assigned the maximum packet size of 8 bytes. Other
endpoints are assigned 0. Modifying USBMaxPSize will cause the endpoint buffer
addresses within the EP_RAM to be recalculated. This is a multi-cycle process. At the
end, the EP_RLZED bit will be set in USBDevIntSt
indexing is shown in
Table 320. USB MaxPacketSize register (USBMaxPSize - address 0xFFE0 C24C) bit
[1]
Bit
4:0
31:5
Bit
9:0
31:10 -
Reset value for EP0 and EP1. All other endpoints have a reset value of 0x0.
USBReEp |= (UInt32) ((0x1 << endpt));
/* Load Endpoint index Reg with physical endpoint no.*/
USBEpIn = (UInt32) endpointnumber;
/* load the max packet size Register */
USBEpMaxPSize = MPS;
/* check whether the EP_RLZED bit in the Device Interrupt Status register is set
*/
while (!(USBDevIntSt & EP_RLZED))
{
}
/* Clear the EP_RLZED bit */
Clear EP_RLZED bit in USBDevIntSt;
Symbol
PHY_EP
-
Symbol
MPS
description
/* wait until endpoint realization is complete */
Figure
Rev. 04 — 26 August 2009
Description
Physical endpoint number (0-31)
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
Description
The maximum packet size value.
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
13–46. USBMaxPSize is a read/write register.
Table
13–349.
Chapter 13: LPC24XX USB device controller
(Table
13–298). USBMaxPSize array
UM10237
© NXP B.V. 2009. All rights reserved.
Reset value
0
NA
Reset value
0x008
NA
349 of 792
[1]

Related parts for OM11077