Cypress SL811HS manual Register Values on Power Up and Reset, USB Control Registers

Page 4

SL811HS

“SL811HS Slave Mode Registers” on page 12 describes Slave register definitions). Access to the registers are through the microprocessor interface similar to normal RAM accesses (see “Bus Interface Timing Requirements” on page 26) and provide control and status information for USB transactions.

Any write to control register 0FH enables the SL811HS full features bit. This is an internal bit of the SL811HS that enables additional features.

Table 1 shows the memory map and register mapping of the SL811HS in master/host mode.

SL811HS Master (Host) Mode Registers

Table 1. SL811HS Master (Host) Register Summary

Register Name

SL811HS

SL811HS

(hex) Address

USB-A Host Control Register

00h

 

 

USB-A Host Base Address

01h

 

 

USB-A Host Base Length

02h

 

 

USB-A Host PID, Device Endpoint

03h

(Write)/USB Status (Read)

 

USB-A Host Device Address (Write)/Transfer

04h

Count (Read)

 

Control Register 1

05h

 

 

Interrupt Enable Register

06h

 

 

Reserved Register

Reserved

 

 

USB-B Host Control Register

08h

 

 

USB-B Host Base Address

09h

 

 

USB-B Host Base Length

0Ah

 

 

USB-B Host PID, Device Endpoint

0Bh

(Write)/USB Status (Read)

 

USB-B Host Device Address (Write)/Transfer

0Ch

Count (Read)

 

Status Register

0Dh

 

 

SOF Counter LOW (Write)/HW Revision Reg-

0Eh

ister (Read)

 

SOF Counter HIGH and Control Register 2

0Fh

 

 

Memory Buffer

10H-FFh

 

 

The registers in the SL811HS are divided into two major groups. The first group is referred to as USB Control registers. These registers enable and provide status for control of USB transactions and data flow. The second group of registers provides control and status for all other operations.

Register Values on Power Up and Reset

The following registers initialize to zero on power up and reset:

USB-A/USB-B Host Control Register [00H, 08H] bit 0 only

Control Register 1 [05H]

USB Address Register [07H]

Current Data Set/Hardware Revision/SOF Counter LOW Register [0EH]

All other register’s power up and reset in an unknown state and firmware for initialization.

USB Control Registers

Communication and data flow on the USB bus uses the SL811HS’ USB A-B Control registers. The SL811HS commu- nicates with any USB Device function and any specific endpoint via the USB-A or USB-B register sets.

The USB A-B Host Control registers are used in an overlapped configuration to manage traffic on the USB bus. The USB Host Control register also provides a means to interrupt an external CPU or microcontroller when one of the USB protocol transac- tions is completed. Table 1 and Table 2 show the two sets of USB Host Control registers, the ’A’ set and ’B’ set. The two register sets allow for overlapping operation. When one set of parameters is being set up, the other is transferring. On completion of a transfer to an endpoint, the next operation is controlled by the other register set.

Note The USB-B register set is used only when SL811HS mode is enabled by initializing register 0FH.

The SL811HS USB Host Control has two groups of five registers each which map in the SL811HS memory space. These registers are defined in the following tables.

SL811HS Host Control Registers.

Table 2. SL811HS Host Control Registers

Register Name SL811H

SL811HS

(hex) Address

USB-A Host Control Register

00h

 

 

USB-A Host Base Address

01h

 

 

USB-A Host Base Length

02h

 

 

USB-A Host PID, Device Endpoint

03h

(Write)/USB Status (Read)

 

USB-A Host Device Address (Write)/Transfer

04h

Count (Read)

 

USB-B Host Control Register

08h

 

 

USB-B Host Base Address

09h

 

 

USB-B Host Base Length

0Ah

 

 

USB-B Host PID, Device Endpoint

0Bh

(Write)/USB Status (Read)

 

USB-B Host Device Address (Write)/Transfer

0Ch

Count (Read)

 

Document 38-08008 Rev. *D

Page 4 of 32

Image 4
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