Cypress manual Program Memory begins here, KB -32 Prom ends here CY7C65113C

Page 12

CY7C65113C

5.1.1Program Memory Organization

after reset 14-bit PC

Address

 

0x0000

 

Program execution begins here after a reset

0x0002

 

USB Bus Reset interrupt vector

0x0004

 

128-s timer interrupt vector

0x0006

 

1.024-ms timer interrupt vector

0x0008

 

USB address A endpoint 0 interrupt vector

0x000A

 

USB address A endpoint 1 interrupt vector

0x000C

 

USB address A endpoint 2 interrupt vector

0x000E

 

USB address B endpoint 0 interrupt vector

0x0010

 

USB address B endpoint 1 interrupt vector

0x0012

 

Hub interrupt vector

0x0014

 

Reserved

0x0016

 

GPIO interrupt vector

0x0018

 

I2C interrupt vector

 

0x001A

Program Memory begins here

0x1FDF

(8 KB -32) PROM ends here (CY7C65113C)

Figure 5-1. Program Memory Space with Interrupt Vector Table

Note that the upper 32 bytes of the 8K PROM are reserved. Therefore, user’s program must not overwrite this space.

Document #: 38-08002 Rev. *D

Page 12 of 49

[+] Feedback

Image 12
Contents USB Hub with Microcontroller Cypress Semiconductor CorporationCY7C65113C 16.0 17.018.0 19.0List of Tables Features Functional Overview GpioI2C USBLogic Block Diagram Pin Configurations Product Summary TablesPin Assignments Top View CY7C65113C 28-pin SoicI/O Register Summary Instruction Set Summary Instruction Set SummaryMnemonic Operand Opcode CyclesProgramming Model 14-bit Program CounterProgram Memory begins here KB -32 Prom ends here CY7C65113C8-bit Accumulator a 8-bit Temporary Register8-bit Program Stack Pointer PSP 8-bit Data Stack Pointer DSP Address ModesMOV A, Dspinit Power-on Reset ClockingXtalout XtalinSuspend Mode Watchdog ResetGeneral-purpose I/O Ports Port 0,1 Low IsinkPort 0 Data Address Gpio Configuration Port Gpio Configuration Address10.0 12-bit Free-Running Timer Gpio Interrupt Enable PortsPort 0 Interrupt Enable 11.0 I2C Configuration Register Timer LSB AddressTimer MSB Address 2C Configuration Address12.0 I2C-compatible Controller I2C Data Address2C Status and Control Address ACKContinue/Busy Write 1 to indicate ready for next transaction Processor Status and Control Register Processor Status and Control Address 0xFFIRQ Global Interrupt Enable Register Address USB Endpoint Interrupt Enable AddressInterrupts Interrupt Controller Function Diagram Interrupt VectorsUSB Bus Reset Interrupt Timer InterruptInterrupt Latency USB Endpoint Interrupts USB Hub InterruptGpio Interrupt 14.8 I2C InterruptUSB Overview USB Serial Interface Engine SIEUSB Enumeration ACK/NAK/STALLConnecting/Disconnecting a USB Device USB HubHub Ports Connect Status Hub Ports Enable Register Address Hub Ports Enable RegisterEnabling/Disabling a USB Device Hub Downstream Ports Status and ControlHub Downstream Ports Control Register Address 0x4B Hub Ports Force LowHub Ports SE0 Status Address 0x4F Downstream Port Suspend and Resume Hub Ports DataHub Ports Data Register Hub Ports Suspend Address 0x4DUSB Upstream Port Status and Control Hub Ports Resume Address 0x4EUSB Status and Control Address 0x1F USB Serial Interface Engine Operation USB Device AddressesUSB Device Endpoints USB Device Address Device A, B Addresses 0x10A and 0x40BUSB Control Endpoint Mode Registers USB Device Endpoint Zero Mode A0, B0Size Label Start Address USB Non-control Endpoint Mode Registers USB Non-control Device Endpoint ModeUSB Endpoint Counter Registers StallEndpoint Mode/Count Registers Update and Locking Mechanism SetupUpdate Update only if Fifo is Written DataSet Data SetUSB Mode Tables Setup OUTDtog Dval Count Dtog Dval Count Endpoint Register Summary PortsLOW Sample Schematic Absolute Maximum RatingsElectrical Characteristics Parameter Description Conditions Min Max Unit GeneralUSB Interface Upstream/Downstream PortSwitching Characteristics fOSC = 6.0 MHz USB Full-speed Signaling10Timer Signals Parameter Description Min Max Unit Clock SourcePackage Diagram Ordering InformationOrdering Code Prom Size Package Type Operating Range CY7C65113C-SXCTIssue Date Orig. Description of Change Document HistoryREV ECN no