Cypress SL811HS manual Current Data Set Register Address 0Eh, Control Register 2 Address 0Fh Bit

Page 17

SL811HS

Current Data Set Register, Address [0Eh]. This register indicates current selected data set for each endpoint.

Table 33. Current Data Set Register [Address 0Eh]

7

6

 

5

 

4

3

2

1

0

 

Reserved

 

Endpoint 3

Endpoint 2

Endpoint 1

Endpoint 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Position

Bit Name

Function

 

 

 

 

 

 

 

 

 

 

 

 

 

7-4

Reserved

Not applicable.

 

 

 

 

 

 

 

 

 

 

 

3

Endpoint 3 Done

Endpoint 3a = 0, Endpoint 3b = 1.

 

 

 

 

 

 

 

 

 

2

Endpoint 2 Done

Endpoint 2a = 0, Endpoint 2b = 1.

 

 

 

 

 

 

 

 

 

1

Endpoint 1 Done

Endpoint 1a = 0, Endpoint 1b = 1.

 

 

 

 

 

 

 

 

 

0

Endpoint 0 Done

Endpoint 0a = 0, Endpoint 0b = 1.

 

 

 

 

 

 

 

 

 

 

 

 

 

Control Register 2, Address [0Fh]. Control Register 2 is used to control if the device is configured as a master or a slave. It can change the polarity of the Data+ and Data- pins to accommodate both full- and low speed operation.

Table 34. Control Register 2 [Address 0Fh]

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

 

Bit 2

Bit 1

Bit 0

SL811HS

SL811HS

 

 

 

Reserved

 

 

Master/Slave

D+/D– Data

 

 

 

 

 

 

 

selection

Polarity Swap

 

 

 

 

 

 

 

Bit Position

Bit Name

Function

 

 

 

7

SL811HS

Master = ‘1’

 

Master/Slave

Slave = ‘0’

 

selection

 

6

SL811HS D+/D–

’1’ = change polarity (low speed)

 

Data Polarity Swap

’0’ = no change of polarity (full speed)

5-0

Reserved

NA

 

 

 

SOF Low Register, Address [15h]. Read only register

contains the 7 low order bits of Frame Number in positions: bit 7:1. Bit 0 is undefined. Register is updated when a SOF packet is received. Do not write to this register.

SOF High Register, Address [16h]. Read only register contains the 4 low order bits of Frame Number in positions: bit 7:4. Bits 3:0 are undefined and should be masked when read by the user. This register is updated when a SOF packet is received. The user should not write to this register.

DMA Total Count Low Register, Address [35h]. The DMA Total Count Low register contains the low order 8 bits of DMA count. DMA total count is the total number of bytes to be trans-

ferred between a peripheral to the SL811HS. The count may sometimes require up to 16 bits, therefore the count is repre- sented in two registers: Total Count Low and Total Count High. EP3 is only supported with DMA operation.

DMA Total Count High Register, Address [36h]. The DMA Total Count High register contains the high order 8 bits of DMA count. When written, this register enables DMA if the DMA Enable bit is set in Control Register 1. The user should always write Low Count register first, followed by a write to High Count register, even if high count is 00h.

Document 38-08008 Rev. *D

Page 17 of 32

Image 17
Contents Introduction FeaturesMaster/Slave Controller Cypress Semiconductor CorporationAuto Address Increment Mode DMA Controller slave mode onlyData Port, Microprocessor Interface Interrupt ControllerMHz Crystals SL811HS RegistersFrequency Tolerance USB TransceiverSL811HS Host Control Registers Register Values on Power Up and ResetUSB Control Registers HBADD5 HBADD4 HBADD3 HBADD2 HBADD1 HBADD0 ISOBit Position Bit Name Function HBL4 HBL3 HBL2 HBL1 HBL0 HBL7 HBL6PID Type D7-D4HTC2 HTC7DA6 DA5 DA4 DA3 DA2 DA1 DA0 DA7USB Reset Sequence Low-power Modes Bit 6 Control Register, Address 05hControl Register 1 Address 05h Bit Control Register 1 Address 05h Bits 3USB-B USB-A Interrupt Enable Register Address 06hDone USB-B DoneValue of the Data+ pin Interrupt Status Register Address 0Dh BitUSB-B Revision Reserved Bit Position Bit Name FunctionSOF7 SOF6 SOF5 SOF4 SOF3 SOF2 SOF1 SOF0 Endpoint Registers Register Name Miscellaneous register addressesEndpoints 0-3 Register Addresses Endpoints 0-3 Register AddressesSequence Endpoint Control RegistersNext Data Set EPxLEN1 EPxLEN0Transmission Acknowledge Reserved OverflowCurrent Data Set Register Control Register 0Fh SOF Low Byte RegisterStbyd Control Register 1 Address 05hStbyd Spsel USB Address Register Address 07h USB Address Register, Address 07h. This registerUSBADD5 USBADD4 USBADD3 USBADD2 USBADD1 USBADD0 Interrupt Status Register Address 0DhControl Register 2 Address 0Fh Bit Current Data Set Register Address 0EhReserved Master/Slave SL811HSPhysical Connections Pin Plcc Mechanical DimensionsPin Plcc Physical Connections Pin Plcc Pin LayoutPackage Markings 28-pin Plcc Diagram below illustrates a simple +3.3V voltage sourcePin Tqfp AXC Pin Layout Pin Tqfp Physical ConnectionsPower for USB Transceivers . V DD1 may be connected to V DD 48/28-Pin USB Host Controller Pins DescriptionData 6. Microprocessor Data/Address Bus Master/Slave Mode Select. ’1’ selects Slave. ’0’ = MasterData 7. Microprocessor Data/Address Bus Buffer or registerPackage Markings 48-Pin Tqfp Yyww XxxxElectrical Specifications DC Characteristics Parameter Description Min Typ Max Write Cycle Bus Interface Timing RequirementsParameter Description Min Typ Max NWR HighRead Cycle DMA Write Cycle DMA Write CycleDMA Read Cycle Reset TimingNRst Pulse width NRst High to nRD or nWR activeOrdering Information Package DiagramsCLOCKClock TimingTIMING Parameter Description Min Typ Max Part Number Package TypeLead Thin Plastic Quad Flat Pack 7x7x1.4 mm A48 REV ECN no Issue Date Orig. Description of ChangeDocument History