AN2131SC Cypress Semiconductor Corp, AN2131SC Datasheet - Page 143

no-image

AN2131SC

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

Specifications of AN2131SC

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
16
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-1306
AN2131SC

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN2131SC
Manufacturer:
CYPRESS
Quantity:
5 510
Part Number:
AN2131SC
Manufacturer:
Cypress Semiconductor Corp
Quantity:
10 000
Part Number:
AN2131SC
Manufacturer:
CY
Quantity:
1 000
Part Number:
AN2131SC
Manufacturer:
PANASONIC
Quantity:
1 000
Part Number:
AN2131SC
Manufacturer:
CYPRESS
Quantity:
8 000
Part Number:
AN2131SC
Manufacturer:
CYPRSS
Quantity:
20 000
7.3.11 Sync Frame
The Sync_Frame request is used to establish a marker in time so the host and USB device
can synchronize multi-frame transfers over isochronous endpoints.
Suppose an isochronous transmission consists of a repeating sequence of five 300 byte
packets transmitted from host to device over EP8-OUT. Both host and device maintain
sequence counters that count repeatedly from 1 to 5 to keep track of the packets inside a
transmission. To start up in sync, both host and device need to reset their counts to 1 at the
same time (in the same frame).
To get in sync, the host issues the Sync_Frame request with EP=EP-OUT (byte 4). The
8051 firmware responds by loading IN0BUF with a two-byte frame count for some future
time; for example, the current frame plus 20. This marks frame “current+20” as the sync
frame, during which both sides will initialize their sequence counters to 1. The 8051 reads
the current frame count in the USBFRAMEL and USBFRAMEH registers.
Multiple isochronous endpoints can be synchronized in this manner. The 8051 keeps sep-
arate internal sequence counts for each endpoint.
Page 7-22
About USB Frames
The USB host issues a SOF (Start Of Frame) packet once every millisecond. Every SOF
packet contains an 11-bit (mod-2048) frame number. The 8051 services all isochronous
transfers at SOF time, using a single SOF interrupt request and vector. If the EZ-USB
core detects a missing SOF packet, it uses an internal counter to generate the SOF inter-
rupt.
Byte
0
1
2
3
4
5
6
7
bmRequestType
bRequest
wValueL
wValueH
wIndexL
wIndexH
wLengthL
wLengthH
Field
Value
0x0C “Sync_Frame”
0x82
0x00
0x00
0x00
Table 7-20. Sync Frame
EP
2
0
Chapter 7. EZ-USB CPU
IN, Endpoint
Endpoint number
LenL
LenH
Meaning
Send a frame number over
IN0BUF to synchronize endpoint
EP
EP(n):
0x08-0x0F: OUT8-OUT15
0x88-0x8F: IN8-IN15
8051 Response
EZ-USB TRM v1.9

Related parts for AN2131SC