AN2131-DK001 Cypress Semiconductor Corp, AN2131-DK001 Datasheet - Page 151

KIT EZ-USB DEVELOPMENT BOARD

AN2131-DK001

Manufacturer Part Number
AN2131-DK001
Description
KIT EZ-USB DEVELOPMENT BOARD
Manufacturer
Cypress Semiconductor Corp
Datasheet

Specifications of AN2131-DK001

Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
428-1333
The size of an isochronous endpoint FIFO is determined by subtracting consecutive
addresses in Table 8-1, and multiplying by four. Values written to these registers should
have the two LSBs set to zero. The last endpoint, EP15IN, has a size of 1,024 minus
IN15ADDR times four. Because the 10-bit effective address has the four LSBs set to zero
(Figure 8-4), the FIFO sizes are allocated in increments of 16 bytes. For example, if
OUT8ADDR=0x00 and OUT9ADDR=0x04, EP8OUT has a FIFO size of the difference
multiplied by four or 16 bytes.
An 8051 assembler or C compiler may be used to translate FIFO sizes into starting
addresses. The assembler example in Figure 8-5 shows a block of equates for the 16 iso-
chronous FIFO sizes, followed by assembler equations to compute the corresponding
FIFO relative address values. To initialize all sixteen FIFO sizes, the 8051 merely copies
the table starting at 8OUTAD to the sixteen EZ-USB registers starting at OUT8ADDR.
Page 8-6
OUT8ADDR
OUT9ADDR
OUT10ADDR Endpoint 10 OUT Start Address
OUT11ADDR Endpoint 11 OUT Start Address
OUT12ADDR Endpoint 12 OUT Start Address
OUT13ADDR Endpoint 13 OUT Start Address
OUT14ADDR Endpoint 14 OUT Start Address
OUT15ADDR Endpoint 15 OUT Start Address
IN8ADDR
IN9ADDR
IN10ADDR
IN11ADDR
IN12ADDR
IN13ADDR
IN14ADDR
IN15ADDR
Register
Table 8-1. Isochronous Endpoint FIFO Starting Address Registers
Endpoint 8 OUT Start Address
Endpoint 9 OUT Start Address
Endpoint 8 IN Start Address
Endpoint 9 IN Start Address
Endpoint 10 IN Start Address
Endpoint 11 IN Start Address
Endpoint 12 IN Start Address
Endpoint 13 IN Start Address
Endpoint 14 IN Start Address
Endpoint 15 IN Start Address
Function
Chapter 8. EZ-USB CPU
b7
A9
A9
A9
A9
A9
A9
A9
A9
A9
A9
A9
A9
A9
A9
A9
A9
b6
A8
A8
A8
A8
A8
A8
A8
A8
A8
A8
A8
A8
A8
A8
A8
A8
b5
A7
A7
A7
A7
A7
A7
A7
A7
A7
A7
A7
A7
A7
A7
A7
A7
A6
A6
A6
A6
A6
b4
A6
A6
A6
A6
A6
A6
A6
A6
A6
A6
A6
b3
A5
A5
A5
A5
A5
A5
A5
A5
A5
A5
A5
A5
A5
A5
A5
A5
A4
A4
A4
A4
A4
A4
A4
A4
A4
A4
A4
A4
A4
A4
A4
A4
b2
b1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
EZ-USB TRM v1.9
b0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Related parts for AN2131-DK001