Cypress SL811HS manual USB Address Register, Address 07h. This register

Page 16

SL811HS

Interrupt Enable Register, Address [06h] . The SL811HS provides an Interrupt Request Output that is activated resulting from a number of conditions. The Interrupt Enable register allows the user to select events that generate the Interrupt Request Output assertion. A separate Interrupt Status register is read in order to determine the condition that

Table 30. Interrupt Enable Register [Address: 06h]

initiated the interrupt (see the description in section Interrupt Status Register, Address [0Dh]). When a bit is set to ‘1’, the corresponding interrupt is enabled. Setting a bit in the Interrupt Enable register does not effect the Interrupt Status register’s value; it just determines which interrupts are output on INTRQ.

7

6

 

 

5

4

3

 

2

1

0

DMA Status

USB Reset

SOF Received

DMA Done

Endpoint 3

 

Endpoint 2

Endpoint 1

Endpoint 0

 

 

 

 

 

 

Done

 

Done

Done

Done

 

 

 

 

 

 

 

 

 

 

 

Bit Position

Bit Name

 

 

Function

 

 

 

 

 

 

7

DMA Status

When equal to ‘1’, indicates DMA transfer is in progress. When equal to ‘0’, indicates DMA

 

 

 

 

transfer is complete.

 

 

 

 

 

6

USB Reset

Enable USB Reset received interrupt when = ‘1’.

 

 

5

SOF Received

Enable SOF Received Interrupt when = ‘1’.

 

 

 

4

DMA Done

Enable DMA done Interrupt when = ‘1’.

 

 

 

3

Endpoint 3 Done

Enable Endpoint 3 done Interrupt when = ‘1’.

 

 

 

2

Endpoint 2 Done

Enable Endpoint 2 done Interrupt when = ‘1’.

 

 

 

1

Endpoint 1

Done

Enable Endpoint 1 done Interrupt when = ‘1’.

 

 

 

0

Endpoint 0

Done

Enable Endpoint 0 done Interrupt when = ‘1’.

 

 

 

USB Address Register, Address [07h]. This register

contains the USB Device Address after assignment by USB host during configuration. On power up or reset, USB Address register is set to Address 00h. After USB configuration and

Table 31. USB Address Register [Address 07h]

address assignment, the device recognizes only USB transac- tions directed to the address contained in the USB Address register.

7

6

5

4

3

2

1

0

USBADD7

USBADD6

USBADD5

USBADD4

USBADD3

USBADD2

USBADD1

USBADD0

 

 

 

 

 

 

 

 

Interrupt Status Register, Address [0Dh]. This read/write register serves as an Interrupt Status register when it is read, and an Interrupt Clear register when it is written. To clear an

Table 32. Interrupt Status Register [Address 0Dh]

interrupt, write the register with the appropriate bit set to ‘1’. Writing a ‘0’ has no effect on the status.

 

7

6

 

 

5

4

3

2

1

0

 

DMA Status

USB Reset

SOF Received

DMA Done

Endpoint 3

Endpoint 2

Endpoint 1

Endpoint 0

 

 

 

 

 

 

 

Done

Done

Done

Done

 

 

 

 

 

 

 

 

 

 

 

 

Bit Position

Bit Name

 

 

Function

 

 

 

 

 

 

 

 

 

 

7

DMA Status

When equal to ‘1’, indicates DMA transfer is in progress. When equal to 0, indicates DMA

 

 

 

 

 

transfer is complete. An interrupt is not generated when DMA is complete.

 

 

6

USB Reset

USB Reset Received Interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

5

SOF Received

SOF Received Interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

 

4

DMA Done

DMA Done Interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

 

3

Endpoint 3 Done

Endpoint 3 Done Interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

 

2

Endpoint 2 Done

Endpoint 2 Done Interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

Endpoint 1

Done

Endpoint 1 Done Interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

Endpoint 0

Done

Endpoint 0 Done Interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

 

Document 38-08008 Rev. *D

 

 

 

 

 

Page 16 of 32

Image 16
Contents Features IntroductionMaster/Slave Controller Cypress Semiconductor CorporationDMA Controller slave mode only Auto Address Increment ModeData Port, Microprocessor Interface Interrupt ControllerSL811HS Registers MHz CrystalsFrequency Tolerance USB TransceiverUSB Control Registers Register Values on Power Up and ResetSL811HS Host Control Registers Bit Position Bit Name Function ISOHBADD5 HBADD4 HBADD3 HBADD2 HBADD1 HBADD0 HBL7 HBL6 HBL4 HBL3 HBL2 HBL1 HBL0PID Type D7-D4HTC7 HTC2DA6 DA5 DA4 DA3 DA2 DA1 DA0 DA7Low-power Modes Bit 6 Control Register, Address 05h USB Reset SequenceControl Register 1 Address 05h Bit Control Register 1 Address 05h Bits 3Interrupt Enable Register Address 06h USB-B USB-ADone USB-B DoneInterrupt Status Register Address 0Dh Bit Value of the Data+ pinUSB-B Revision Reserved Bit Position Bit Name FunctionSOF7 SOF6 SOF5 SOF4 SOF3 SOF2 SOF1 SOF0 Register Name Miscellaneous register addresses Endpoint RegistersEndpoints 0-3 Register Addresses Endpoints 0-3 Register AddressesEndpoint Control Registers SequenceNext Data Set EPxLEN1 EPxLEN0Reserved Overflow Transmission AcknowledgeCurrent Data Set Register Control Register 0Fh SOF Low Byte RegisterStbyd Spsel Control Register 1 Address 05hStbyd USB Address Register, Address 07h. This register USB Address Register Address 07hUSBADD5 USBADD4 USBADD3 USBADD2 USBADD1 USBADD0 Interrupt Status Register Address 0DhCurrent Data Set Register Address 0Eh Control Register 2 Address 0Fh BitReserved Master/Slave SL811HSPin Plcc Mechanical Dimensions Physical ConnectionsPin Plcc Physical Connections Pin Plcc Pin LayoutDiagram below illustrates a simple +3.3V voltage source Package Markings 28-pin PlccPin Tqfp Physical Connections Pin Tqfp AXC Pin Layout48/28-Pin USB Host Controller Pins Description Power for USB Transceivers . V DD1 may be connected to V DDMaster/Slave Mode Select. ’1’ selects Slave. ’0’ = Master Data 6. Microprocessor Data/Address BusData 7. Microprocessor Data/Address Bus Buffer or registerYyww Xxxx Package Markings 48-Pin TqfpElectrical Specifications DC Characteristics Parameter Description Min Typ Max Bus Interface Timing Requirements Write CycleParameter Description Min Typ Max NWR HighRead Cycle DMA Write Cycle DMA Write CycleReset Timing DMA Read CycleNRst Pulse width NRst High to nRD or nWR activePackage Diagrams Ordering InformationCLOCKClock TimingTIMING Parameter Description Min Typ Max Part Number Package TypeLead Thin Plastic Quad Flat Pack 7x7x1.4 mm A48 Document History Issue Date Orig. Description of ChangeREV ECN no