Cypress SL811HS manual Interrupt Status Register Address 0Dh Bit, Value of the Data+ pin, Usb-B

Page 10

SL811HS

Interrupt Status Register, Address [Address = 0Dh]. The Interrupt Status register is a READ/WRITE register providing interrupt status. Interrupts are cleared by writing to this register. To clear a specific interrupt, the register is written with corre- sponding bit set to ’1’.

Table 14. Interrupt Status Register [Address 0Dh]

Bit 7

 

Bit 6

 

Bit 5

Bit 4

 

Bit 3

 

Bit 2

Bit 1

Bit 0

D+

 

Device

 

Insert/Remove

SOF timer

 

Reserved

 

Reserved

USB-B

USB-A

 

Detect/Resume

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Position

 

Bit Name

 

Function

 

 

 

 

 

7

 

D+

 

Value of the Data+ pin.

 

 

 

 

 

 

 

 

 

 

Bit 7 provides continuous USB Data+ line status. Once it is determined that a device

 

 

 

 

 

is inserted (as described below) with bits 5 and 6, bit 7 is used to detect if the inserted

 

 

 

 

 

device is low speed (0) or full speed (1).

 

 

 

6

 

Device Detect/Resume

Device Detect/Resume Interrupt.

 

 

 

 

 

 

 

 

Bit 6 is shared between Device Detection status and Resume Detection interrupt.

 

 

 

 

 

When bit-6 of register 05h is set to one, this bit is the Resume detection Interrupt bit.

 

 

 

 

 

Otherwise, this bit is used to indicate the presence of a device, ’1’ = device ‘Not present’

 

 

 

 

 

and ’0’ = device ‘Present.’ In this mode, check this bit along with bit 5 to determine

 

 

 

 

 

whether a device has been inserted or removed.

 

 

5

 

Insert/Remove

 

Device Insert/Remove Detection.

 

 

 

 

 

 

 

 

Bit 5 is provided to support USB cable insertion/removal for the SL811HS in host mode.

 

 

 

 

 

This bit is set when a transition from SE0 to IDLE (device inserted) or from IDLE to

 

 

 

 

 

SE0 (device removed) occurs on the bus.

 

 

4

 

SOF timer

 

‘1’ = Interrupt on SOF Timer.

 

 

 

3

 

Reserved

 

‘0’

 

 

 

 

 

 

 

2

 

Reserved

 

‘0’

 

 

 

 

 

 

 

1

 

USB-B

 

USB-B Done Interrupt. (See description in Interrupt Enable Register [address 06h].)

0

 

USB-A

 

USB-A Done Interrupt. (See description in Interrupt Enable Register [address 06h].)

Current Data Set Register/Hardware Revision/SOF Counter LOW [Address = 0Eh]. This register has two modes. Read from this register indicates the current SL811HS silicon revision.

Table 15. Hardware Revision when Read [Address 0Eh]

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

 

Bit 1

Bit 0

 

Hardware

Revision

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

Bit Position

Bit Name

Function

7-4

Hardware Revision

SL811HS rev1.2 Read = 1H; SL811HS rev1.5 Read = 2.

3-2

Reserved

Read is zero.

1-0

Reserved

Reserved for slave.

Writing to this register sets up auto generation of SOF to all connected peripherals. This counter is based on the 12 MHz clock and is not dependent on the crystal frequency. To set up a 1 ms timer interval, the software must set up both SOF counter registers to the proper values.

Document 38-08008 Rev. *D

Page 10 of 32

Image 10
Contents Master/Slave Controller FeaturesIntroduction Cypress Semiconductor CorporationData Port, Microprocessor Interface DMA Controller slave mode onlyAuto Address Increment Mode Interrupt ControllerFrequency Tolerance SL811HS RegistersMHz Crystals 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 PID Type HBL7 HBL6HBL4 HBL3 HBL2 HBL1 HBL0 D7-D4DA6 DA5 DA4 DA3 DA2 DA1 DA0 HTC7HTC2 DA7Control Register 1 Address 05h Bit Low-power Modes Bit 6 Control Register, Address 05hUSB Reset Sequence Control Register 1 Address 05h Bits 3Done Interrupt Enable Register Address 06hUSB-B USB-A USB-B DoneUSB-B Interrupt Status Register Address 0Dh BitValue of the Data+ pin Revision Reserved Bit Position Bit Name FunctionSOF7 SOF6 SOF5 SOF4 SOF3 SOF2 SOF1 SOF0 Endpoints 0-3 Register Addresses Register Name Miscellaneous register addressesEndpoint Registers Endpoints 0-3 Register AddressesNext Data Set Endpoint Control RegistersSequence EPxLEN1 EPxLEN0Current Data Set Register Reserved OverflowTransmission Acknowledge Control Register 0Fh SOF Low Byte RegisterStbyd Spsel Control Register 1 Address 05hStbyd USBADD5 USBADD4 USBADD3 USBADD2 USBADD1 USBADD0 USB Address Register, Address 07h. This registerUSB Address Register Address 07h Interrupt Status Register Address 0DhReserved Master/Slave Current Data Set Register Address 0EhControl Register 2 Address 0Fh Bit SL811HSPin Plcc Physical Connections Pin Plcc Mechanical DimensionsPhysical 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 DDData 7. Microprocessor Data/Address Bus Master/Slave Mode Select. ’1’ selects Slave. ’0’ = MasterData 6. Microprocessor Data/Address Bus Buffer or registerYyww Xxxx Package Markings 48-Pin TqfpElectrical Specifications DC Characteristics Parameter Description Min Typ Max Parameter Description Min Typ Max Bus Interface Timing RequirementsWrite Cycle NWR HighRead Cycle DMA Write Cycle DMA Write CycleNRst Pulse width Reset TimingDMA Read Cycle NRst High to nRD or nWR activeCLOCKClock TimingTIMING Parameter Description Min Typ Max Package DiagramsOrdering Information Part Number Package TypeLead Thin Plastic Quad Flat Pack 7x7x1.4 mm A48 Document History Issue Date Orig. Description of ChangeREV ECN no