
Cypress Semiconductor Corporation
SL811HS and SL811HST: Application Notes
©2001 Cypress Semiconductor Corporation. All rights reserved. The information
and specifications contained in this document are subject to change without
notice.
Date: 07/26/01
Revision: 1.21
Page: 2
Conventions .................................................................................................................................5
Definitions .....................................................................................................................................5
References: ..................................................................................................................................5
Revision History...........................................................................................................................5
1. Introduction.......................................................................................................................6
1.1. OVERVIEW......................................................................................................................... 6
2. SL811HS Host or Slave MODE ....................................................................................7
2.1. OVERVIEW......................................................................................................................... 7
2.2. HARDWARE REQUIREMENTS ................................................................................................. 7
2.1.1 External Controller and USB connectors...................................................................7
2.3. POWER ON AND RESET MODE .............................................................................................. 7
2.4. SWITCHING LOGIC............................................................................................................... 9
2.5. SOFTWARE INITIALIZATION...................................................................................................10
2.5.1 Initialization from Host to Slave ...............................................................................11
2.5.2 Initialization from Slave to Host...............................................................................12
2.6. M/S PIN (PIN27/PIN40) .......................................................................................................13
2.7. PULL-UP/DOWN REGISTERS ON USB LINES ............................................................................13
2.8. HOST/SLAVE DETECTOR .....................................................................................................13
3. Programming Information ............................................................................................15
3.1. HOST AND DEVICE PROGRAMMING .......................................................................................15
3.2. SL811HS USB CONTROL REGISTERS .................................................................................15
3.3. SL811HS MEMORY MAP ................................................................................................16
3.3.1 Control Registers.....................................................................................................17
3.3.2 Memory Buffer..........................................................................................................18
3.4. INTERRUPT STATUS REGISTER.............................................................................................19
4. SL811HS host software................................................................................................20
4.1. SOFTWARE APPLICATION.............................................................................................20
4.1.1 Single Write Operation.............................................................................................20
4.1.2 Single Read Operation.............................................................................................21
4.1.3 Memory Test............................................................................................................21
4.1.4 USB Reset ...............................................................................................................22
4.1.5 CRC5/16 Generation ...............................................................................................23
4.1.6 Zero Length Packet..................................................................................................23
4.1.7 Double Buffer Operation ..........................................................................................23
4.1.8 Single IN Packet.......................................................................................................24
4.1.9 Single OUT Packet ..................................................................................................25
4.1.10 Short Data Packet....................................................................................................25
4.1.11 USB Device Detection .............................................................................................26
4.1.12 Full/Low Speed Detect.............................................................................................26
4.1.13 SOF or EOP Generation..........................................................................................28
4.1.14 Suspend State..........................................................................................................30
4.1.15 Resume Wakeup .....................................................................................................30
4.1.16 Specific Command Transfer....................................................................................31
4.1.17 USB Transfer (Bulk/ISO/Control/Interrupt)..............................................................31
4.1.18 Device Enumeration.................................................................................................32
5. SL811HS usb transfer ..................................................................................................33
5.1. CONTROL TRANSFER..........................................................................................................36
Comentários a estes Manuais