AN2135SC Cypress Semiconductor Corp, AN2135SC Datasheet - Page 153

no-image

AN2135SC

Manufacturer Part Number
AN2135SC
Description
IC MCU 8051 8K RAM 24MHZ 44QFP
Manufacturer
Cypress Semiconductor Corp
Series
EZ-USB®r
Datasheet

Specifications of AN2135SC

Applications
USB Microcontroller
Core Processor
8051
Program Memory Type
ROMless
Controller Series
AN213x
Ram Size
8K x 8
Interface
I²C, USB
Number Of I /o
8
Voltage - Supply
3 V ~ 3.6 V
Operating Temperature
0°C ~ 70°C
Mounting Type
Surface Mount
Package / Case
44-QFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
428-1308

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN2135SC
Manufacturer:
CYPRESS
Quantity:
1 000
Part Number:
AN2135SC
Manufacturer:
Cypress Semiconductor Corp
Quantity:
10 000
Part Number:
AN2135SC
Manufacturer:
CYPRESS/赛普拉斯
Quantity:
20 000
Company:
Part Number:
AN2135SC
Quantity:
23
The amount of data USB can transfer during a 1-ms frame is slightly more than 1,000
bytes per frame (1,500 bytes theoretical, without accounting for USB overhead and bus
utilization). A device’s actual isochronous transfer bandwidth is usually determined by
how fast the CPU can move data in and out of its isochronous endpoint FIFOs.
The 8051 code example in Figure 8-6 shows a typical transfer loop for moving external
FIFO data into an IN endpoint FIFO. This code assumes that the 8051 is moving data
from an external FIFO attached to the EZ-USB data bus and strobed by the RD signal, into
an internal isochronous IN FIFO.
The numbers in parentheses indicate 8051 cycles. One cycle is four clocks, and the EZ-
USB 8051 is clocked at 24 MHz (42 ns). Thus, an 8051 cycle takes 4*42=168 ns, and the
loop takes 9 cycles or 1.5 s. This loop can transfer about 660 bytes into an IN FIFO
every millisecond (1 ms/1.5 s).
If more speed is required, the loop can be unrolled by in-line coding the first four instruc-
tions in the loop. Then, a byte is transferred in 6 cycles (24 clocks) which equates to 1 s
per byte. Using this method, the 8051 could transfer 1,000 bytes into an IN FIFO every
millisecond. In practice, a better solution is to in-line code only a portion of the loop code,
which decreases full in-line performance only slightly and uses far fewer bytes of program
code.
Page 8-8
8.5
;
loop:
Isochronous Transfer Speed
mov
inc
mov
inc
mov
movx
inc
movx
inc
djnz
Figure 8-6. 8051 Code to Transfer Data to an Isochronous FIFO (IN8DATA)
dptr,#8000H
dps
dptr,#IN8DATA
dps
r7,#nBytes
a,@dptr
dps
@dptr,a
dps
r7,loop
Chapter 8. EZ-USB CPU
; pointer to any outside address
; switch to second data pointer
; pointer to an IN endpoint FIFO (IN8 as example)
; back to first data pointer
; r7 is loop counter—transfer this many bytes
; (2) read byte from external bus to acc
; (1) switch to second data pointer
; (2) write to ISO FIFO
; (1) switch back to first data pointer
; (3) loop ‘nBytes’ times
EZ-USB TRM v1.9

Related parts for AN2135SC