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

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
All USB interrupts activate the 8051 INT 2 interrupt. If enabled, INT2 interrupts cause the
8051 to push the current program counter onto the stack, and then execute a jump to loca-
tion 0x43, where the programmer has inserted a jump instruction to the interrupt service
routine (ISR). If the AVEN (Autovector Enable) bit is set, the EZ-USB core inserts a spe-
cial byte at location 0x45, which directs the jump instruction to a table of jump instruc-
tions which transfer control the endpoint-specific ISR.
The byte inserted by the EZ-USB core at address 0x45 depends on which bulk endpoint
requires service. Table 6-5 shows all INT2 vectors, with the bulk endpoint vectors un-
shaded. The shaded interrupts apply to all the bulk endpoints.
EZ-USB TRM v1.9
6.13
Bulk Endpoint Interrupts
Table 6-5. Byte Inserted by EZ-USB Core at Location 0x45 if AVEN=1
* Replaced by EZ-USB Core if AVEN=1.
Table 6-4. 8051 INT2 Interrupt Vector
Location
SUSPEND
0x43
0x44
0x45
Reserved
EP0-OUT
EP3-OUT
EP4-OUT
EP5-OUT
EP6-OUT
EP7-OUT
Interrupt
USBRES
EP1OUT
EP2OUT
SUDAV
SUTOK
EP0-IN
EP1-IN
EP3-IN
EP4-IN
EP5-IN
EP6-IN
EP7-IN
EP2IN
SOF
Chapter 6. EZ-USB CPU
Op-Code
AddrL*
AddrH
02
Inserted Byte at 0x45
Instruction
0X1C
0x0C
0x2C
0x3C
0x4C
0x00
0x04
0x08
0x10
0x14
0x18
0x20
0x24
0x28
0x30
0x34
0x38
0x40
0x44
0x48
0x50
0x54
LJMP
Page 6-15

Related parts for AN2131-DK001