Manuale d’uso / di manutenzione del prodotto SL811HS del fabbricante Cypress
Vai alla pagina of 32
SL81 1HS Embedded USB Host/Slave Controller SL81 1HS Cypress Semiconductor Corpora tion • 198 Champion Court • San Jose , CA 95134-1709 • 408-943-2600 Document 38-08008 Rev .
SL81 1HS Document 38-08008 Rev . *D Page 2 of 32 Data Port, Microprocessor Interface The SL81 1HS microprocessor in terface provides an 8-bit bidirectional data path along with appropriate con t rol lines to interface to external processors or con trollers.
SL81 1HS Document 38-08008 Rev . *D Page 3 of 32 PLL Clock Generator Either a 12 MHz or a 48 MHz external crystal is used with the SL81 1HS [1] . T wo pins, X1 and X2, are provided to connect a low cost crystal circuit to the device as shown in Figure 2 and Figure 3 .
SL81 1HS Document 38-08008 Rev . *D Page 4 of 32 “SL81 1HS Slave Mode Registers” on page 12 describes Slave register definitions). Access to the registers are through the microprocessor interface .
SL81 1HS Document 38-08008 Rev . *D Page 5 of 32 USB-A/USB-B Host Control Registers [Address = 00h, 08h] . Once the other SL81 1HS Control re gisters are configured (registers 01h-04h or 09h-0Ch) the Host Control regi ster is programmed to initiate the USB transfer .
SL81 1HS Document 38-08008 Rev . *D Page 6 of 32 USB-A/USB-B Host Base Length [Address = 02h, 0Ah]. The USB A/B Host Base Length register con tains the maximu m packet size transferred between the SL81 1HS and a slave USB peripheral. Essentially , this designates the l argest packet size t hat is transferred by the SL81 1HS.
SL81 1HS Document 38-08008 Rev . *D Page 7 of 32 USB-A/USB-B Host T ransfer Count Register (Read), USB Address (Write) [Address = 04h, 0Ch]. This register ha s two different functions depending on whether it is read or written.
SL81 1HS Document 38-08008 Rev . *D Page 8 of 32 Control Register 1 [Add re ss = 05h]. The Control Register 1 en ables /dis ables USB tran sfe r operation with con trol bits defined as follows.
SL81 1HS Document 38-08008 Rev . *D Page 9 of 32 Interrupt Enable Register [A dd ress = 06h]. The SL81 1HS provides an Interrupt Reque st Output, which is activate d for a number of conditions. The Interr u pt Enable register allows the user to select conditions that resu lt in an interrupt that is issued to an external CPU through the INTRQ pin.
SL81 1HS Document 38-08008 Rev . *D Page 10 of 32 Interrupt St atus Register , Address [Address = 0Dh]. The Interrupt St atus register is a READ/WRITE register provi ding interrupt status. Interrupts are cleared by writing to this regi ster . T o clear a sp ecific interru pt, the register is written wi th corre - sponding bit set to ’1’.
SL81 1HS Document 38-08008 Rev . *D Page 1 1 of 32 Example: T o set up SOF for 1 ms interval, SOF counter register 0Eh should be set to E0h. SOF Counter High/Control Regi ster 2 [Address = 0Fh]. When read, this register returns the valu e of the SOF counter divided by 64.
SL81 1HS Document 38-08008 Rev . *D Page 12 of 32 SL81 1HS Slave Mode Registers When in slave mode, the registers in the SL81 1HS are divided into two major groups. The first group contains Endpoint reg- isters that manage USB control transacti ons and data flow .
SL81 1HS Document 38-08008 Rev . *D Page 13 of 32 Endpoint Control Registers Endpoint n Control Register [Address a = (EP# * 10h), b = (EP# * 10h)+8]. Each endpoint set has a Control register defined as follows: Endpoint Base Address [Address a = (EP# * 10h)+1, b = (EP# * 10h)+9]].
SL81 1HS Document 38-08008 Rev . *D Page 14 of 32 Endpoint Packet S t atus [Address a = (EP# * 10h)+3, b = (EP# * 10h)+Bh]. The packet status contains information relative to the packet that is received or transmitted. The register is defined as follows: End point T ransfer Co unt [Addre ss a = (EP# * 10h)+4 , b = (EP# * 10h)+Ch].
SL81 1HS Document 38-08008 Rev . *D Page 15 of 32 Control Register 1, Ad dress [05h]. The Control reg ister enables or disables U SB transfers and DMA operatio ns with control bits .
SL81 1HS Document 38-08008 Rev . *D Page 16 of 32 Interrupt Enable Register , Address [06h] . The SL81 1HS provides an Interrupt Request Output that is activated resulting from a number of c onditions. The Interrupt Enable register allows the user to se lect events that generate the Interrupt Request Output assertion.
SL81 1HS Document 38-08008 Rev . *D Page 17 of 32 Current Data Set Register , Address [0Eh]. This re gister indicates current selected data set for each endpoint. Control Registe r 2, Address [0Fh]. Control Register 2 is used to co ntrol if the d evice is configur ed as a master or a slave .
SL81 1HS Document 38-08008 Rev . *D Page 18 of 32 Physical Connections These parts are of fered in both a 28-pin PLCC package and a 48-pin TQFP package. The 28-pin PLCC packages are the SL81 1HS and SL81 1HS-JCT . The 48-pin TQFP packages is the SL81 1 HST -AXC.
SL81 1HS Document 38-08008 Rev . *D Page 19 of 32 The diagram below illustrates a simple +3.3V voltage source. Package Markings ( 28-pin PLCC ) YYWW = Date code XXXX = Product code X.X = Silicon re vision number +5 V ( U S B ) GND R1 + 3 . 3 V ( V DD) Sample V DD Gene ra tor 45 Oh m s 3.
SL81 1HS Document 38-08008 Rev . *D Page 20 of 32 48-Pin TQFP Physical Co nnections 48-Pin TQFP AXC Pin Layout *See T able 35 on page 21 for Pin and Signal Description for Pins 43 and 44 in Host Mode. 48-Pin TQFP Mechanical Dimensions Note 4. NC. Indicates No Connection.
SL81 1HS Document 38-08008 Rev . *D Page 21 of 32 48/28-Pin USB Host Controlle r Pins Description The SL81 1HST -AXC is packaged in a 48-pin TQF P . The SL81 1 HS and SL81 1HS-JCT packages are 28-pin PLCC’s. These devices require a 3.3 VDC power source.
SL81 1HS Document 38-08008 Rev . *D Page 22 of 32 33 25 BIDIR D6 Data 6 . Microprocessor Data/Address Bus. 34 – NC NC No connectio n. 35 – NC NC No connectio n. 36 – NC NC No connectio n. 37 – NC NC No connectio n. 38 – NC NC No connectio n.
SL81 1HS Document 38-08008 Rev . *D Page 23 of 32 Package Markings (48-Pin TQFP) YYWW = Date code XXXX = Product code X.X = Silicon re vision number Par t Num ber YYW W - X.
SL81 1HS Document 38-08008 Rev . *D Page 24 of 32 Electrical Specifications Absolute Maximum Ratings This section lists the absolute maximum ratings of the SL81 1HS. S tresses above those l isted can cause pe rmanent damage to the device. Exposure to maximum rated conditions for extended periods can affect device o peration and reliability .
SL81 1HS Document 38-08008 Rev . *D Page 25 of 32 DC Characteristics USB Host T ransceiver Characteristics Every V DD pin, including USB V DD , must have a decoupling capacitor to ensure clean V DD (free of high frequency noise) at the chip input point (pin) itself.
SL81 1HS Document 38-08008 Rev . *D Page 26 of 32 Bus Interface Timing Requirements I/O Write Cycle Note nCS an be held LOW for mult iple Write cycles provided nWR is cycled.
SL81 1HS Document 38-08008 Rev . *D Page 27 of 32 I/O Read Cycle Note nCS can be kept LOW during mu ltiple Read cycles provided nRD is cycled. Rd Cycle T ime for Auto Inc Mode Reads is 170 ns minimum.
SL81 1HS Document 38-08008 Rev . *D Page 28 of 32 DMA Write Cycle Note nWR must go low after nDACK goes low in ord er for nDRQ to clear . If this sequence is not implemented as requested, the next nDRQ is not inserted. Parameter Description Min. T yp.
SL81 1HS Document 38-08008 Rev . *D Page 29 of 32 DMA Read Cycle Note Data is held until nDACK goes high regard less of state of nREAD. Reset Timing Note Clock is 48 MHz nominal.
SL81 1HS Document 38-08008 Rev . *D Page 30 of 32 Clock Timing Specificati ons Ordering Information CLK CLOCK TIMING trise tfall thigh tclk tlow Clock Timing Parameter Descriptio n Min. T yp. Max. t CLK Clock Period (48 MHz) 20.0 ns 20.8 ns t HIGH Clock HIGH T ime 9 ns 11 n s t LOW Clock LOW T ime 9 ns 11 n s t RISE Clock Rise T ime 5.
SL81 1HS Document 38-08008 Rev . *D Page 31 of 32 © Cypress Semico nductor Corpor ation, 2007. Th e information cont ained herei n is subject to ch ange without not ice. Cypress Semi co nductor Corpor atio n assumes no responsibility for the use of any circuitry o ther than circui try embodied i n a Cypress prod uct.
SL81 1HS Document 38-08008 Rev . *D Page 32 of 32 Document History Page Document Title: SL81 1HS Embedded USB Host/Slav e Controller Document Number: 38-08008 REV .
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Cypress SL811HS è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Cypress SL811HS - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Cypress SL811HS imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Cypress SL811HS ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Cypress SL811HS, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Cypress SL811HS.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Cypress SL811HS. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Cypress SL811HS insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.