Download Cypress Semiconductor FX2LP Technical information
Transcript
(Table of Contents) 2.3.3 Clear Feature .................................................................................................................2-11 2.3.4 Get Descriptor ...............................................................................................................2-12 2.3.4.1 Get Descriptor-Device........................................................................................2-14 2.3.4.2 Get Descriptor-Device Qualifier .........................................................................2-15 2.3.4.3 Get Descriptor-Configuration .............................................................................2-15 2.3.4.4 Get Descriptor-String .........................................................................................2-16 2.3.4.5 Get Descriptor-Other Speed Configuration........................................................2-16 2.3.5 Set Descriptor................................................................................................................2-17 2.3.5.1 Set Configuration ...............................................................................................2-20 2.3.6 Get Configuration ..........................................................................................................2-20 2.3.7 Set Interface ..................................................................................................................2-21 2.3.8 Get Interface..................................................................................................................2-22 2.3.9 Set Address ...................................................................................................................2-22 2.3.10 Sync Frame .................................................................................................................2-23 2.3.11 Firmware Load.............................................................................................................2-24 Chapter 3. Enumeration and ReNumeration™ 3.1 3.2 3.3 3.4 Introduction ...................................................................................................................................3-1 FX2 Startup Modes .......................................................................................................................3-1 The Default USB Device ..............................................................................................................3-3 EEPROM Boot-load Data Formats ...............................................................................................3-4 3.4.1 No EEPROM or Invalid EEPROM...................................................................................3-4 3.4.2 Serial EEPROM Present, First Byte is 0xC0 ...................................................................3-5 3.4.3 Serial EEPROM Present, First Byte is 0xC2 ...................................................................3-6 3.5 EEPROM Configuration Byte ........................................................................................................3-8 3.6 The RENUM Bit.............................................................................................................................3-9 3.7 FX2 Response to Device Requests (RENUM=0)........................................................................3-10 3.8 FX2 Vendor Request for Firmware Load ....................................................................................3-11 3.9 How the Firmware ReNumerates ................................................................................................3-12 3.10 Multiple ReNumerations™ ........................................................................................................3-12 Chapter 4. Interrupts 4.1 Introduction ...................................................................................................................................4-1 4.2 SFRs .............................................................................................................................................4-2 4.2.1 803x/805x Compatibility ..................................................................................................4-5 4.3 Interrupt Processing ......................................................................................................................4-6 4.3.1 Interrupt Masking.............................................................................................................4-6 4.3.1.1 Interrupt Priorities.................................................................................................4-7 4.3.2 Interrupt Sampling ...........................................................................................................4-8 4.3.3 Interrupt Latency..............................................................................................................4-8 4.4 USB-Specific Interrupts.................................................................................................................4-8 4.4.1 Resume Interrupt.............................................................................................................4-8 4.4.2 USB Interrupts.................................................................................................................4-9 4.4.2.1 SUTOK, SUDAV Interrupts ................................................................................4-12 ii Table of Contents