Instruction/ maintenance manual of the product 53C875A LSI
Go to page of 328
® S14047 LSI53C875A PCI to U ltra SCSI Controller TECHNICAL MANU AL Decem ber 200 0 Ve r s i o n 2 . 0.
ii This doc ument co ntains prop rietary information o f LSI Logic C orporation. The inf ormation c ontain ed herein is not to b e used b y or di sclose d to third par ties withou t the e xpre ss written pe rmission of an of ficer of L SI Logic Corporatio n.
Pref ace iii Preface This book is th e pri mar y reference and tec hnical manual for the LSI53C875 A PCI to Ultra SCSI Co ntrolle r . It contai ns a com plete functiona l descr ip tion for the produc t and also in clude s complet e physical and electr ical sp ecifi cations.
iv Preface • Chapte r 6, Electr ical Spe cifications cont ains t he elec tri cal character is tics and AC timing diagrams. • Appendix A, Register Summ ary i s a regi ster summa r y . • Appendix B , External Memory Interfa ce Diagra m Examples cont ains sev eral example i nterface dra wings for connect ing the LSI53C 875A to externa l ROMs.
Pref ace v PCI Specia l Interest Group 2575 N.E. K ather ine Hillsbo ro , OR 97214 (800) 433-51 77; (503) 69 3-623 2 (Inter nationa l); F AX (5 03) 693-834 4 Con ventions Used in This Manual The word asser t m eans to d ri v e a sig nal tr ue or ac tive .
vi Preface.
Contents vii Contents Chapter 1 General Description 1.1 New F e atures in the LSI53 C875A 1-3 1.2 Benefits of Ultra SCS I 1-3 1.3 T olerANT ® Te c h n o l o g y 1 - 4 1.4 LSI53C 875A Bene fits Summ ar y 1-4 1.4.1 SCSI P erforman ce 1-5 1.4.2 PCI P erforma nce 1-6 1.
viii Cont ents 2.2.11 P ar ity Optio ns 2-24 2.2.12 DMA FIFO 2-27 2.2.13 SCSI B us Int erf ace 2-32 2.2.14 Select/R esele ct Dur ing S election /Reselec tion 2-33 2.2.15 Synchron ous Operatio n 2-34 2.2.16 Interru pt Handl ing 2-37 2.2.17 Chained B lock Mov es 2-44 2.
Contents ix Chapter 4 Registers 4.1 PCI Conf igura tion Regis ters 4-1 4.2 SCSI R egister s 4-18 4.3 64-Bit SCRIP TS Selec tors 4-99 4.4 Phase Mi smatch Jump Regi ster s 4-10 3 Chapter 5 SCSI SCRIPTS Instruction Set 5.1 Low Lev el Reg ister In terface Mode 5-1 5.
xC o n t e n t s 6.3 A C Character istic s 6-9 6.4 PCI and Exter nal Mem or y Interface Timing Diagrams 6 -11 6.4.1 T arget Timing 6-13 6.4. 2 In itiato r Timing 6- 19 6.
Contents xi 6.9 P CI Config uratio n Regis ter Read 6- 13 6.10 PCI Con figuration Re gister Wri te 6-14 6.11 32-Bit Op erating Regi ster/SCR IPTS RAM Rea d 6-15 6.12 64-Bit A ddress Operatin g Regis ter/SCRIP TS R AM Read 6-16 6.13 32-Bit Op erating Regi ster/SCR IPTS RAM Wr ite 6-17 6.
xii Co ntent s B.3 128 Kbytes, 256 Kbytes, 512 Kbytes, or 1 M byte Interface with 150 ns Memor y B-3 B.4 512 Kbyte Interface with 15 0 ns Memo r y B-4 Ta b l e s 2.1 PCI Bu s Comm ands and Encoding T ypes f or the LSI53C875 A 2-4 2.2 PCI Cac he Mode A lignm ent 2-12 2.
Contents xiii 5.2 S CSI Inf or mat ion T r ansf er Phase 5- 12 5.3 Read/W rite Ins truc tions 5-24 5.4 T ransfer Control In stru ctions 5-26 5.5 S CSI Phase Co mparisons 5-29 6.1 A bsolute M axim um Stress Rati ngs 6- 2 6.2 Operat ing Condit ions 6-2 6.
xiv Co ntent s 6.30 Exter n al Memor y Wr ite 6-38 6.31 Nor mal/F as t Memor y ( ≥ 128 K bytes) Sing le Byte Access Rea d Cycle 6-42 6.32 Nor mal/F as t Memor y ( ≥ 128 K bytes) Sing le Byte Access Wri te Cycle 6-43 6.33 Slow Memor y ( ≤ 128 Kbytes) Read Cy cle 6-48 6.
LSI53C8 75A PCI to Ultra SCSI Controll er 1-1 Chapter 1 General D escript ion Chapter 1 is divi ded in to the following sections : • Section 1.1, “ New F eat ures in the LSI 53C875A” • Section 1.2, “B enefits o f Ultra S CSI” • Section 1 .
1-2 Gener al Description Figure 1.1 T ypical LSI53C875A System Application Figure 1 .2 T ypical LSI53C875A Board A pplicatio n PCI Bus Interf ace Controller LSI53C875A P C It oW i d eU l t r a SCSI Co.
Ne w F eatures in the LSI 53C875A 1-3 1.1 Ne w Features in the LSI53 C875A The LSI53C87 5A is a drop-in replaceme nt f or the LSI53C875 PCI to Ultra SCSI C ontrolle r , with these addi tional be nefits: • Suppor ts 32- bit PCI Int erf ace w ith 64-bit a ddressi ng.
1-4 Gener al Description synchron ous ne gotiation s f or Ultra SCSI rates and to enable the clock quadr upler . Chapte r 2, “F unctiona l De scri ption,” contain s more informati on on Ul tra SCSI design.
LSI53C8 75A Benefits Sum m ary 1-5 • Ease of Use • Fle xibility • Relia bility • T estabili ty 1.4. 1 SCSI P erforma nce T o improve SCSI perfor mance, the LSI53C8 75A: • Has integrated SE transc eivers. • Bursts up to 512 bytes across th e PCI bus throug h its 944 byte FIFO.
1-6 Gener al Description • Suppo r ts addi tional arithme tic ca pability with the Exp anded Reg ister Mo ve in struction. 1.4.2 PCI P erf ormance T o improve PCI performanc e, the LSI53C875 A: • Complies with PC I 2.2 spec ificati on. • Suppor ts 32-bi t 33 MHz PCI inter face with 64-bit addressin g.
LSI53C8 75A Benefits Sum m ary 1-7 • Up to one me gabyte of add -in memo r y suppor t for BIOS and SCRIPT S storag e. • Redu ced SCSI de v elop ment e ff or t. • Compil er-co mpatible w ith existin g LSI53 C7XX a nd LSI5 3C8X X f a mily SC RIPTS.
1-8 Gener al Description • SCSI clock quadr upler b its enable Ultra SCSI transfer r ates with a 20 or 40 MHz SCSI clock input. • Select able IRQ pin disable bit. • Ability t o route sy stem cl ock to SCSI clock. • Compatible with 3.3 V and 5 V PCI.
LSI53C8 75A PCI to Ultra SCSI Controll er 2-1 Chapter 2 Functio nal Description Chapter 2 is divi ded in to the following sections : • Section 2.1, “P CI Func tional Descri ption ” • Section 2.2, “SCSI F unctiona l Descr ip tion” • Sect ion 2.
2-2 Functi ona l Des cr ipti on Figure 2.1 LSI53C875A Bl ock Diagram 2.1 PCI Functional Descriptio n The LS I53C 875A i mplem ents a PCI-to -Wide Ult ra SCSI co ntrolle r . 2.1.1 PCI A ddressing There a re three physical PCI- define d addres s space s: • PCI Con figuration spa ce.
PCI Functio nal Description 2-3 2.1.1.1 Configuration Space The host proces sor uses the PCI config uration spac e to initialize the LSI53C875 A through a defined s et of configuratio n space registe rs. The Config uration regis ters ar e acces sible only by system BIOS duri ng PCI configura tion c ycles.
2-4 Functi ona l Des cr ipti on 2.1.2.1 Interrupt Ack nowledge Command The LSI5 3C875A doe s not re spond t o this co mmand a s a slav e and it nev er generate s this command as a master. 2.1.2.2 Spec ial Cycle Command The LSI5 3C875A doe s not re spond t o this co mmand a s a slav e and it nev er generate s this command as a master.
PCI Functio nal Description 2-5 2.1.2.3 I/O Read Command The I/O Read comm and reads data from an agen t mappe d in I/O address s pace. All 32 address bi ts are dec oded. 2.1.2.4 I/O Write Command The I/O Wr ite comm and wri tes data to an ag ent mappe d in I/O addr ess space.
2-6 Functi ona l Des cr ipti on 2.1.2.10 Memory Re ad Multip le Command This comm and is ide ntica l to the Me mor y Re ad comman d except that it additiona lly indic ates that the master may intend to f e tch more than one cach e line b efore disconne cting .
PCI Functio nal Description 2-7 line. This c omman d is int ended for use wi th bulk seque ntial data transfers where the me mor y sys tem and th e request ing master might gain s ome performa nce advantage by read ing to a cache li ne boun dar y rather than a single memo r y cycle.
2-8 Functi ona l Des cr ipti on 2.1.2.13 Me mory W rite and Inv al idate Command The Memo r y Wr ite and I nv al idate com mand i s identic al to the M emor y Write co m mand , exc ept that it add iti.
PCI Functio nal Description 2-9 After each data transfer , the chip re-ev alu ates the burst size based on the amount of rema ining data to transfer and again selec ts the highest possible multiple of the cache line si ze , and n o larger tha n the DM A Mode (DMODE ) burst size.
2-10 Functio nal Description software e nabled or d isabled to allow the us er full flexibility in usin g these comm ands. 2.1.3.1 Enabling Cache Mod e In order to enable the cache l ogic to i ssue PC.
PCI Functio nal Description 2-11 • T o issue Memor y R ead Multi ple com mands, the Re ad Mul tiple enable bit in th e DMA M ode (DMODE) register must b e set.
2-12 Functio nal Description • Multiple Me mor y Wr ite and Inv a lidate s. • A single da ta res idual Me mor y W rit e to co mplete the t ransfer .
PCI Functio nal Description 2-13 2.1. 3.5 Exa mples: MR = Memo r y Rea d, MRL = Me mor y R ead Line, MRM = Memor y Read Multiple, MW = Mem or y Wr ite, MWI = Memor y W rite and Inv al idate.
2-14 Functio nal Description Read E xample 3 – Burst = 16 Dwords, Cache Line Size = 8 Dw or ds: Write E xample 1 – B u r s t=4D w o r d s ,C a c h e L i n eS i z e= 4D w o r d s : Ct oE : MRM (21 .
PCI Functio nal Description 2-15 Write E xample 2 – B u r s t=8D w o r d s ,C a c h e L i n eS i z e= 4D w o r d s : Dt oF : MW (1 5 bytes ) MWI (16 byt es) MW (1 byte) At oH : MW (1 5 bytes ) MWI (.
2-16 Functio nal Description Write E xample 3 – Burst = 16 Dwords, Cache Line Size = 8 Dw or ds: 2.1.3.6 Memor y-to-Mem ory Moves Memor y- to-Memor y Moves also suppor t PCI c ache co mmands, as descr ibed a bov e, wit h one limi tation .
SCSI Functio nal Description 2-17 access ed as a regi ster-or iented d evice. Error recov e r y and/o r diagnos tic procedu res use the ability to sam ple and/or asser t any signal on the SCSI bus. In supp or t o f SCSI lo opback diagn ostics, the SCS I core ma y perform a self-sel ection an d operate as both an initiator an d a tar get.
2-18 Functio nal Description The Pha se Mism atch Jump l ogic powers up disabled and mus t be enabled by setting the Pha se Mismat ch Jump Enable bit (ENP MJ , bit 7 in the Chip Control 0 (CCNTL0) register).
SCSI Functio nal Description 2-19 2.2.3 64-Bi t Address ing i n SCRIPT S The LSI5 3C875A has a 32-bi t PCI in terface which provide s 64-bit address capabi lity in th e init iator mod e. D ACs can be generated for all SCRIPT S operation s. There are si x sele ctor regis ters whic h hold the upper Dword of a 64-bit addr ess.
2-20 Functio nal Description 2.2.5 Des igning an Ultra SCSI Sy stem Since U ltra SCSI is ba sed on existing SCSI stan dards, it can use existing dri v er pro grams as long as the s oftware is able to negot iate for Ultra SCSI s ynchr onous transfer rates.
SCSI Functio nal Description 2-21 S t e p3 . H a l tt h eS C S Ic l o c k b ys e t t i n gt h eH a l tS C S IC l o c k b i t ( SCSI T est Three ( STEST3) ,b i t5 ) . Step 4. Set the clock con version factor using the SCF and CCF fields in the SCSI Contr ol Three (S CNTL3) register .
2-22 Functio nal Description • On ev er y Store instr ucti on. The S tore ins truc tion may also be used to place modifi ed code di rectly in to memo r y . T o av oid inad ver tently flushin g the prefetch unit conten ts use the No Flus h option for all Store operations th at do not modify code within the next 8 Dwords .
SCSI Functio nal Description 2-23 Load and S tore ins truc tions, refer to Chapter 5, “SCSI SCRIP TS Instr uction Set. ” 2.2.9 JT A G Boundary Scan T esting The LSI5 3C875A include s suppor t for JT A G bounda r y sc an testin g in accord ance wi th the IEEE 1149 .
2-24 Functio nal Description 2.2.11 P arity Options The LSI5 3C875A im pleme nts a flexible pari ty sche me that a llows control of the pari ty sense, allows parity che c king to be tur ned on or o ff , an d has the ability to del iberately send a b yte with bad p arit y ov er the SCSI bus to test par ity er ror re covery p roce dures.
SCSI Functio nal Description 2-25 T able 2.3 Bit s Used for Parity Control and Gene ration Bit Name L ocation Desc ription Asser t SA TN/ on P ar ity Errors SCSI Control Zer o (SCNTL0) ,B i t1 C ause s th e LSI 53C 875A to au tom atica lly as ser t SA TN/ when it detects a SCSI parity error while ope rating as an initia tor .
2-26 Functio nal Description T able 2.4 SCSI P arity Control EPC 1 1. EPC = E nable Pari ty C heckin g (bi t 3 SCSI Control Zero (SCNTL0) ). ASEP 2 2. ASEP = Assert SCSI Even P arity (bit 2 SCSI Co ntr ol O ne (S CNTL1 ) ). Descrip tion 0 0 Does n ot chec k f or parity errors .
SCSI Functio nal Description 2-27 Figure 2.2 P arity Chec king/Generation 2.2. 12 DMA FI FO The DMA FIFO is 8 bytes wid e by 118 transfers deep. The DMA FIFO is illu strated in Fi gure 2.3 . Th e default DMA FIF O size is 11 2 bytes to assure compa tibil ity wit h olde r products in the LSI53 C8XX family .
2-28 Functio nal Description Figure 2.3 DMA F I FO Sec tions The LSI53C87 5A automa tical ly suppor ts misa ligned DMA transfers. A 944-byte FIFO all ows the LSI53C87 5A to sup por t 2 , 4, 8, 16, 32, 6 4, or 128 Dword bursts across the PC I bus interface.
SCSI Functio nal Description 2-29 Figure 2.4 LSI53C87 5A Host Interface SCS I Data P ath s The following steps deter mi ne if any bytes remain i n the data p ath when the chip halts an operation : Asynchr onous SCSI Send – Step 1.
2-30 Functio nal Description bits of the DBC r egister fr om the 10-bi t v alue of the D MA FIFO Byte Offset Cou nter , which con sists of bits [1 :0] in the CTEST5 registe r and bi ts [7:0] of th e DMA FI FO reg ister . A ND the r esult with 0x3F F for a byte count between zer o and 94 4.
SCSI Functio nal Description 2-31 then the least s ignificant byte or the most si gnifican t byte i n the SODR re gister is full, res pectively . Asynchr onous SCSI Receive – Step 1.
2-32 Functio nal Description AND the r esult with 0x 3FF f or a byte count be tween zero and 944. Ste p 2. Read t he SCSI Status One (SST A T1) regist er and examine bits [7:4], the bi nar y rep rese ntation of th e number of v alid bytes in the SCSI FIFO , to deter m ine if any b yte s are left in the SCSI FIFO .
SCSI Functio nal Description 2-33 Figure 2 .5 Regulated T ermination for Ultra SCSI 2.2. 14 Select /Resele ct During Sel ection/Reselec tion In multithr eaded SCSI I/O environm ents, it is no t uncommo n to be sele cted or resele cted while tr y ing to perfor m selecti on/resel ectio n.
2-34 Functio nal Description situatio n may occur whe n a SCS I controlle r (operati ng in the i nitia tor mode ) tries to se lect a target an d is res elected b y another . The Sele ct SCRIPTS instr uction ha s an alter nate ad dress to which t he SCR IPTS wi ll jump w hen this s ituation occur s.
SCSI Functio nal Description 2-35 Figure 2.6 Determining the Synchr onous T ransfer Rate SCLK Clock Quadrupler QCLK SCF Div id er CCF Divider Synchronous Divider Asynchronous SCSI Logic Divide by 4 SCF2 SCF1 SCF0 SCF Divisor 00 1 1 01 0 1 .
2-36 Functio nal Description 2.2.15.2 SCSI Control Three (SCNTL3) Register , Bit s [6:4] (S CF[2:0]) The SCF[2: 0] bits s elect the factor by which the frequenc y of SCLK is divided before being pre sented to t he sync hronous SCSI contr ol logi c.
SCSI Functio nal Description 2-37 • Ultra SCSI Enab le bit, SC SI Control Three ( SCNTL3) r egister bi t 7. Setting th is bit enables Ultra SCSI synchr onous transfers in systems that u se the internal SCSI cl ock qua drupler . • T olerANT Enable bit, SCSI T est Thre e (STEST 3) re gister bit 7.
2-38 Functio nal Description polled wh en polled inter rupts are us ed. It is also the first regis ter that should b e read after the I RQ/ pi n is asser ted i n assoc iation with a hardware inter rupt. The INTF (In terr upt-on-the- Fly) bi t should b e the firs t interr upt ser viced.
SCSI Functio nal Description 2-39 conditi ons caus ed the DMA -type in terr upt, and c lears that DM A inte rru pt conditi on. Bit 7 i n DST A T , DF E, is pur ely a status bit; it will n ot gene rate an interr upt und er any circum stances a nd will not be cleared when r ead.
2-40 Functio nal Description Pur po se Timer E xpired ( GEN), an d Handsha ke-to-Handsh ake Timer Expired ( HTH) interr up ts are nonfatal. When opera ting in the T arget mode, CMP , S EL, RS L, T arge t mode: SA TN/ act ive (M /A), GEN, and HT H are nonfatal.
SCSI Functio nal Description 2-41 Interru pts can b e disabled by setting SYNC_IR QD bit 0 i n the Inte rrupt Status One (IST A T1 ) regist er . If an i nterr upt is a lready as ser ted and SYNC_IR QD is then set, the inter rupt wi ll remain as ser ted until ser v iced.
2-42 Functio nal Description generates a n interr upt, th e bit cor respond ing to the ear lier m asked nonfatal interr upt is st ill set. A related s ituation t o interr upt s tacking is when two i nterr upts oc cur simultaneo usly .
SCSI Functio nal Description 2-43 • If the ins truc tion is a JUMP/ CALL WH EN/IF <p hase>, th e DMA SCRIPT S P o inter (D SP) is upd ated to t he transfer address before halting. • All other ins truc tions may halt bef o re complet ion. 2.2.
2-44 Functio nal Description 2.2. 17 Chained B lock Mo ves Since th e LSI53C 875A h as the capabil ity to trans f e r 16-bit w ide SCS I data, a unique si tuatio n occur s when deal ing wi th odd bytes.
SCSI Functio nal Description 2-45 Figure 2.7 Block Move and Chained Block Mo ve Instruc tions 2.2.17.1 Wide S CSI Send Bi t The WSS b it is set whenev er th e SCSI controller is sen ding data (Data-Ou.
2-46 Functio nal Description two bytes are sent ou t acros s the bus, regard less of t he type o f Block Mov e instr uct ion (nor m al or ch ained) . The fl ag is auto matic ally cl eared when the “ma rri ed” word is se nt. The f lag is alte r nately cl eared thr ough SCRIPTS or by the m icroproc essor .
SCSI Functio nal Description 2-47 2.2.17.5 Chained Block Mov e SCRIPTS Instruction A chai ned Block Move SCRIPTS instr uction is pr imar ily u sed t o transfer consec utive data send or data receive b locks.
2-48 Functio nal Description send com mand, th e first byte of th e data s end co mmand is ass umed t o be the high-o rder byte and is “marr ied” with th e low-order byte stored in the lower byte of the SC SI Output D ata La tch (SODL ) regi ster bef ore the two bytes are sent a cross th e SCSI bus.
P arallel R OM Interfa ce 2-49 The LSI5 3C875A su ppor ts a variety of sizes and sp eeds of expansion ROM, using pul l-down resis tors on the MAD [3:0] pi ns. The enco ding o f pins MAD[3:1 ] allows the user to define how much externa l memor y is av aila ble to the LSI53C8 75A.
2-50 Functio nal Description 2.4 Serial EEPR OM Interface The LS I53C875 A imp lements a n inter fa ce that allo ws attac hment of a ser ial E EPROM device to th e GPIO 0 and GPI O1 pi ns. There a re two modes of o peratio n rela ting to the se rial EEP ROM and the S ubsyst em ID and Subsys tem V endor ID registers.
P ow er Man agement 2-51 2.4.2 No Do wnload Mode When MAD 7 is pu lled up th rough an extern al resisto r , the a utomati c download is d isabled and no data is au tomati cally load ed into chip registe rs at power-up.
2-52 Functio nal Description The LS I53C875 A po wer stat es show n in Ta b l e 2 . 8 are indepen dently control led through two power state bits that are loc ated in the PCI Po w e r Mana gement C ontr ol /Stat us (PMCS R) r egister 0x44 .
P ow er Man agement 2-53 2.5. 3 P ow er State D2 P ower state D2 is a lower power state than D1 . In this state the LSI53C 875A core i s pla ced in t he coma m ode.
2-54 Functio nal Description.
LSI53C8 75A PCI to Ultra SCSI Controll er 3-1 Chapter 3 Signal Des criptions This chap ter pres ents the LSI53C8 75A pi n configu ration and s ignal definit ions usin g tables and illustra tions. This chapt er contai ns the f o llowin g sectio ns: • Section 3.
3-2 Signa l Descripti ons 3.1 LSI53C875A Functional Signal Grouping Figure 3.1 present s the L SI53C87 5A si gnals by func tional group . Figure 3.1 LSI53C875A Functional Signal Gr ouping LSI53C875A C.
Signal D escriptions 3-3 3.2 Signal Descriptions The Sig nal Descr ipti ons are d ivided i nto P CI Bus Inte rface Signals , SCS I Bus Inte rface Signals , GPIO S ignal s, ROM Flash an d Memor y Inter f a ce Signals , T est In terface Signals ,a n d Po wer a nd Groun d Sig nals .
3-4 Signa l Descripti ons 3.3 PCI Bus Interface Signals The PCI Bus Int erface Signals s ection co ntains ta bles descr ibing the signals for the f o llowing sig nal groups : System Si gnals , Addres s and Data Signals , Interface Contr ol Signal s , Arbitrati on Signals , Error Repor ting Sig nals , and Interr upt S ignal .
PCI Bus Interf ace Signals 3-5 3.3.2 Address and Data Signals Ta b l e 3 . 3 descri bes Addres s and Data sign als. T able 3.3 Address and Data Signals Name PQFP BGA T ype Strength Desc ription AD[31:.
3-6 Signa l Descripti ons 3.3.3 Interface Control Signals Ta b l e 3 . 4 descri bes th e Inter f a ce Cont rol sig nals. T able 3.4 Interface Contr ol Signals Name PQFP BGA T ype Streng th Description FRAME/ 16 F2 S/T/S 8 m A PCI Cy cle Frame is driv en by the c urrent maste r to indicate the be gin ning and d urat ion of an a cces s.
PCI Bus Interf ace Signals 3-7 3.3.4 Arbitration Signals Ta b l e 3 . 5 desc ribes Arbit ration si gnals . 3.3.5 E rror Reporting Signals Ta b l e 3 . 6 descri bes the E rror Re por t ing signa ls.
3-8 Signa l Descripti ons 3.3.6 Interrupt Signal Ta b l e 3 . 7 descri bes th e Interr upt signal. 3.4 SCSI Bus Interface Si gn als The SCSI Bu s Interface signal s section c ontains tables descr ibing th e signals for the following signal grou ps: SC SI Bus In terface Sign als , SCSI Signals ,a n d SCSI Contro l Sig nals .
SCSI Bus Interf ace Signals 3-9 3.4.2 S CSI Signals Ta b l e 3 . 9 descri bes the S CSI signa ls. 3.4.3 SCSI Contr ol Signals Ta b l e 3 . 1 0 des cr ibes the SCSI C ontrol si gnals.
3-10 Signal D escriptions 3.5 GPIO Signals Ta b l e 3 . 1 1 des cr ibes th e SCSI GPIO sig nals. T able 3.11 GPIO Signals Name PQFP BGA T ype Strength Description GPIO0_FETCH/ 53 N5 I/O 8 mA SCSI General Purpose I/O pin. Opt ionally , when d riven LOW , in dica tes tha t the next bus requ est wi ll b e for an opc ode fetc h.
ROM Flas h an d Mem or y Inte rface S igna ls 3-11 3.6 ROM Flash and Memor y Interface Signals Ta b l e 3 . 1 2 des cr ibes t he ROM Flash and Me mor y In terface signals. T ab le 3.12 R OM F l as h and Mem ory Int erface Sig nal s Name PQFP BGA T ype Strength Description MWE/ 139 C 7 O 4 mA Memo ry Wr ite E nable .
3-12 Signal D escriptions 3.7 T e st Int erfac e Sig nals Ta b l e 3 . 1 3 des cr ibes T e st Inte rface signals. MAD[7:0 ] 59–62, 64–67 L7 , M7, N7, K7, M8, N8, L8, K8 I/O 4 mA Memory Address/Data Bus.
P ow er and Ground Signals 3-13 3.8 P ower and Ground Signals Ta b l e 3 . 1 4 des cr ibes the Po wer and Gr ound sig nals. T able 3.14 P ower and Ground S ignals Name PQFP BGA T ype Strength Descript.
3-14 Signal D escriptions 3.9 MAD Bus P r ogramming The MAD[7 :0] pins, in ad dition to s er vin g as the addr ess/d ata bus f o r the loca l memor y interface, also are used t o program power-up opti ons for the chip.
MAD Bus Progr amming 3-15 • The MAD[ 0] pin i s the slow ROM pin. When pulled u p , i t enables two ex tra cycles o f data ac cess ti me to all ow use of slower mem or y devices .
3-16 Signal D escriptions.
LSI53C8 75A PCI to Ultra SCSI Controll er 4-1 Chapter 4 Regist ers This chap ter descr ibes all LS I53C875 A regis ters and is divi ded into the f o llowin g sectio ns: • Section 4.1 “P CI Configuration Reg isters ” • Section 4.2 “SCS I Registers ” • Sectio n 4.
4-2 Re giste rs bits that are curr ently s uppor ted by the LSI5 3C875A are descr ibe d in th is chapt er . Reser ved bits sho uld not be accessed . Regist er s: 0x00–0 x01 V endor ID Read Only VID V endor ID [15:0] This 16 -bi t reg ist er ident ifies the man uf acturer of the device.
PCI Con fi gura tio n Reg ist ers 4-3 Regist er s: 0x02–0 x03 Device ID Read Only DID Device ID [ 15:0] This 16- bit reg ister ident ifies the particular de vice .
4-4 Re giste rs R Reser ved 5 WIE Write and I n valida te Enable 4 This bit a llows the LSI5 3C875A to generate w rite and inv alidat e command s on th e PCI bus. The WIE bi t in the DMA Control (DC NTL) regi ster must a lso be se t for the device to generate Wr ite a nd Inv alidate c omman ds.
PCI Con fi gura tio n Reg ist ers 4-5 Regist er s: 0x06–0 x07 Status Read/Write Reads to this r egister b ehave nor mally . Wr ites are sli ghtly different in that bits can be clear ed, but not set. A bit is cleared wh enev er the reg ister is writ ten, and the data in the corr espondi ng bit loc ation is a on e.
4-6 Re giste rs These b its are read onl y and sho uld indi cate th e slowest time that a device asser ts DEVS EL/ for any b us command except Configu ration Read a nd Confi guration Wri te.
PCI Con fi gura tio n Reg ist ers 4-7 Regist er s: 0x09–0 x0B Class Code Read Only CC Class Code [23:0] This 24-bi t registe r is used to identi fy the gener ic func tion of the d e vi ce.
4-8 Re giste rs Register: 0 x0D Latenc y Timer Read/Write L T Latency Tim er [7:0 ] The Late ncy Timer reg ister s pecifie s, in unit s of PCI bus clocks, the value of the La tency T imer for this PCI bus master . T he LSI53 C875A s uppor ts this timer .
PCI Con fi gura tio n Reg ist ers 4-9 Regist er s: 0x10–0 x13 Base Address Register Zero (I/O) Read/Write B A R0 Base Address Register Zero - I/O [31:0] This ba se addres s registe r is use d to map the operating reg ist er set i nto I/O spac e. The LSI 53C875A r equi res 256 bytes of I/O space f or this base address regis ter .
4-10 Re gist ers Regist er s: 0x18–0 x1B Base Address Register T wo (SCRIPTS RAM) Read/Write B A R2 Base Address Register T wo [31:0] This b ase regist er is used to ma p the SC RIPTS RAM int o memor y s pace. The de f ault v alue of this r egister is 0x000000 00.
PCI Con fi gura tio n Reg ist ers 4- 11 control ler instal led on them (and there f ore the same V endor ID and Device ID). If the exter nal s eria l EEPROM in terf ace is enabled (MAD[7] LOW), this r.
4-12 Re gist ers v alue that shou ld be s tored in the exter nal ser ial EEPROM i s vendor spe cifi c. Pl ease see the Sect ion 2.4 “Ser ial EE PROM Inter face” in Chapter 2 f or ad ditio nal informati on on downlo ading a value for this registe r .
PCI Con fi gura tio n Reg ist ers 4- 13 Register: 0 x34 Capabilities P ointer Read Only CP Capabilities Point e r [7:0] This reg ister i ndicates that the first extend ed capabi lity registe r is located at off set 0x40 in the PCI Confi guration .
4-14 Re gist ers Register: 0 x3D Interrupt Pin Read Only IP Interrupt Pin [7:0] This regis ter indica tes which inter rupt pin t he de vice uses. Its v a lue is set to 0x01 f o r the INT A / signal. Register: 0 x3E Min_Gnt Read Only MG MIN_GNT [ 7:0] This re gister is used to sp ecify th e desired se ttings f or latency timer values.
PCI Con fi gura tio n Reg ist ers 4- 15 Register: 0 x40 Capability ID Read Only CID Cap_ID [7:0] This regi ster indi cates the typ e of data str uctur e currentl y being used.
4-16 Re gist ers D2S D2_Support 10 The LSI5 3C875A s ets thi s bit to in dicate supp or t for power managemen t state D2. D1S D1_Support 9 The LSI5 3C875A s ets thi s bit to in dicate supp or t for power managemen t state D1.
PCI Con fi gura tio n Reg ist ers 4- 17 DSCL Data_ Scale [14:13] The LSI5 3C875A doe s not sup por t the data registe r . Therefore, these two bits ar e always cleared. DSL T Data_Sel ect [12:9] The LSI5 3C875A doe s not sup por t the data registe r .
4-18 Re gist ers Register: 0 x47 Data Read Only D A T A Data [7:0] This regis ter provides an opti onal mec hanism for the function to repor t state -depende nt operating data.
SCSI Registers 4-19 T able 4.2 SCSI Register A ddress Map 31 16 15 0 SCNTL3 SCNTL2 SCNTL1 SCNTL0 0x00 GPREG0 SDID SXFER SCID 0x 04 SBCL SSI D SOC L SFBR 0x 08 SST A T 2 SST A T1 SS T A T0 DST A T 0x0C.
4-20 Re gist ers Register: 0 x00 SCSI Contr ol Zero (SCNTL0) Read/Write ARB[1:0] Arbitration Mode Bits 1 and 0 [7:6] Simpl e Ar bitr ation 1. The LS I53C875A waits for a bus free con dition to occur . 2. It as ser ts SBSY/ an d its SCSI ID (contain ed in the SCSI Chi p ID (SCID) register ) onto the SCSI bus.
SCSI Registers 4-21 Full Arbi tration, S election/R eselectio n 1. The LS I53C875A waits for a bus free con dition. 2. It as ser ts SBSY/ and i ts SCSI ID (the hig hest pr ior ity ID stored i n the SCSI Chip ID (SCID) r egister ) onto the SCSI b us . 3.
4-22 Re gist ers W A TN Select with SA TN/ on a Start Sequence 4 When this bi t is set and the LSI53C 875A is i n the initiato r mode, the SA TN/ sign al is asse r ted d urin g selecti on of a SCS I targ et de vic e. This is t o inf orm th e ta rget t hat th e LSI5 3C875A has a messa ge to se nd.
SCSI Registers 4-23 ( SET TAR GET or CLEAR TA RGET ). When this bit is set, the chip is a tar get device by def aul t. When this bi t is cleared , the LS I53C8 75A is a n initiato r device by default.
4-24 Re gist ers may trans f e r up to three ad ditional bytes before haltin g to synchron ize bet ween inter n al core cells. Du ring synchron ous operatio n, the LSI53C 875A transfers data until there are no out standi ng synchron ous offsets.
SCSI Registers 4-25 SCSI Co ntrol Zero ( SCNTL0) r egister are set f or f ull arbitration a nd selec tion b ef o re setti ng this bi t. Arb itrat ion is retried un til won . At that p oint, th e LSI53C 875A holds SB SY and S SEL ass er te d, and waits f o r a select or rese lect seq uence.
4-26 Re gist ers Caution : Wri ting to thi s regis ter wh ile not co nnecte d may cause th e loss of a sele ction/r eselecti on by clear ing the Connec ted bit. Register: 0 x02 SCSI Contr ol T wo (SCNTL2) Read/Write SDU S CSI Disconnect Unexpected 7 This bit is valid i n the initia tor mode on ly .
SCSI Registers 4-27 combine d with t he firs t byte from the su bsequent tr ansfer so that a wide transfer is complet ed. SLPMD SLP A R Mode 5 If this bit is clear ed, the SCSI Longitudi nal Parity (SLP AR ) registe r functions as a byte-wide long itudinal par ity registe r .
4-28 Re gist ers group codes. If this bit is set , the de v ice does not rel oad the Block Move b y te count, r egardl ess of th e group code. WSR Wide SC SI Receive 0 When re ad, this bit retu rn s the value of th e Wide SCS I Receive (WSR) flag. Set ting this bi t clears the WS R flag.
SCSI Registers 4-29 SCF[2:0] Synchr onous Cloc k Con version F actor [6:4] These b its sel ect a factor by which t he frequen cy of SCLK is divided before being p resented to the synchron ous S CSI co ntrol log ic. Wr ite the se to th e same v alue as the Clock Conv ersio n F actor bi ts below unless f a st SCS I operation is desire d.
4-30 Re gist ers Register: 0 x04 SCSI Chip ID (SCID) Read/Write R Reser ved 7 RRE Enable Response to Reselection 6 When t his bi t is set , the LSI53C 875A is enabled to respond to bus-initiated resele ction at the chi p ID in th e Respo nse ID Zero (R ESPID 0) and Respon se ID One (RES PID1) r egisters.
SCSI Registers 4-31 Register: 0 x05 SCSI T ransfer (SX FER) Read/Write Note: When using T able Indir ect I/O co mmands, bi ts [7:0] o f this registe r are loade d from the I/O da ta str ucture.
4-32 Re gist ers (This SCSI sy nchrono us core clock is deter m ined in SCNTL3 b its [6:4], Ext CC = 1 i f SCNTL1 bit 7 is as ser ted and the LS I53C875A is sen ding da ta. ExtCC = 0 if th e LSI53C875 A is rec eiving data.) SXFER P = 10 0 ÷ 25 = 4 Where: Ta b l e 4 .
SCSI Registers 4-33 Ta b l e 4 . 4 shows example transfer peri ods and rates for f as t SCS I-2 and Ultra SCSI. MO[4:0] Max SCSI Synchr onous Offset [4:0] These bi ts descri be the maxim um SCSI synchro nous offset us ed by the LSI53C 875A when transferri ng synchron ous SCSI data in eit her the initi ator or target mode.
4-34 Re gist ers T able 4.5 Maxim um Synchr onous Offset MO4 MO3 MO2 MO1 MO0 Synchrono us Offset 00000 0 - A s y n c h r o n o u s 00001 1 00010 2 00011 3 00100 4 00101 5 00110 6 00111 7 01000 8 01001.
SCSI Registers 4-35 Register: 0 x06 SCSI Destinat ion ID (SDID) Read/Write R Reser ved [7:4] ENC Enc oded Destin ation SCS I ID [3:0] Wri ting th ese bits se t the SCS I ID of the in tended ini tiator or targe t dur ing SC SI resel ection o r selec tion ph ases, respectively .
4-36 Re gist ers is als o possible to program t hese si gnals as live inpu ts and sense them th rough a SCRIPT S register to regi ster Mo ve Ins tructio n. GPIO4 ma y be used t o enab le or disable V PP , the 12 V ol t power supply to th e external flash memor y .
SCSI Registers 4-37 ab y t es t o r e di ns y s t e mm e m o r y ,t h eb y t em u s tf i r s tb e mov ed to an inter mediate LS I53C87 5A register (such as a SCRA TCH r egister ), and then to the S FBR.
4-38 Re gist ers Register: 0 x0A SCSI Sel ector ID (SSI D) Read Only V AL SC SI V alid 7 If V AL is a sser te d, then the two SCSI IDs are detec ted on the bus durin g a bus-initiated sele ction or reselecti on, and the encoded des tination SCS I ID bits below are valid.
SCSI Registers 4-39 REQ SREQ/ Status 7 AC K S AC K / S t a t u s 6 BSY SBSY/ Status 5 SEL SSEL/ Stat us 4 AT N S A T N / S t a t u s 3 MSG SMSG/ Stat us 2 C_D S C_D/ Status 1 I_O SI_O/ Status 0 Regist.
4-40 Re gist ers MDPE Master Dat a P arity Error 6 This b it is set whe n the LSI53C 875A as a mas ter det ects a data par ity error, or a target device signals a pa rity er ror duri ng a data phase. This bit is compl etely disa bled b y the M aster P arity Err or Enab le bit ( bit 3 of Ch ip T est F our (CTEST4) ).
SCSI Registers 4-41 • Duri ng a T ransfer Control ins truc tion, the Co mpare Data (bit 18 ) and Compa re Pha se (bit 17 ) bits ar e set in the DMA Byte Coun ter (DBC) regis ter whil e the LSI53C875 A is i n target mode.
4-42 Re gist ers Register: 0 x0D SCSI Status Ze ro (SST A T0) Read Only ILF SIDL Least Signif icant Byte Fu ll 7 This bit is set when t he least sign ificant byte in the SCSI Inpu t Data Latch (S IDL) registe r cont ains dat a.
SCSI Registers 4-43 AIP Arbitr ation in Pr ogress 4 Arbitration in Progress (AI P = 1) indica tes that the LSI53C875 A has detec ted a Bus F r ee cond ition, asse r ted SBSY , and asse r t ed its SCSI ID onto the SCSI bus.
4-44 Re gist ers synchron ous da ta transfers, or up to 31 word s f or wide. V alue s ov er 31 will not occ ur . T able 4.6 SCSI Synchr onous Data FIFO W ord Count FF4 (SST A T2 bit 4) FF3 FF 2 FF1 FF.
SCSI Registers 4-45 SDP0 L Latc hed SCSI P arity 3 This bit ref lects the SCSI p arity s ignal (SDP 0/), corre sponding to th e data latched i n the SCSI Inpu t Data Latch (SI DL) . It cha nges when a n e w byte is latched into the least signi ficant byte of the SIDL registe r .
4-46 Re gist ers Register: 0 x0F SCSI Status T w o (SST A T2) Read Only ILF1 SIDL Most Significant Byte Full 7 This bit i s set when t he mos t significa nt byte in the SCSI Inpu t Data Lat ch (SI DL) cont ains d ata.
SCSI Registers 4-47 fi eld, s ee the defini tion f or SCSI Stat us One (SST A T1) bits [7:4]. SPL1 Latched SCSI P arity for SD[15:8] 3 This acti v e HIGH bi t reflects the SCS I odd par ity s ignal corre sponding to the da ta latched into th e most s i g n i f i c a n tb y t ei nt h e SC SI Input Data Latch (SIDL) registe r .
4-48 Re gist ers Register: 0 x14 Interrup t Status Zero (IS T A T0) Read/Write This reg ister i s acces sible by the host CPU while a L SI53C8 75A is ex ecuting SCRIPT S (without inte rf er ing in the ope ration of the function ). It is use d to poll for interr upts if hard ware interr upts a re disabled.
SCSI Registers 4-49 clear t he ID Mod e bit or a ny of the PCI co nfiguration registe rs. This bit is no t self-c lear ing; i t must be cl eared to clear the reset conditi on (a hardware reset also cl ears this bit).
4-50 Re gist ers the SCRIPTS proc essor is still ex ecut ing a SCRIPTS program. If this bit is set when th e Interrup t Sta tus Zero (IST A T0) or Interr upt Stat us One ( IST A T1) regi sters ar e read they are not auto matic ally cle ared. T o c lear this b it, writ e it to a one.
SCSI Registers 4-51 • A bus fault is detecte d • An abor t cond ition is detect ed • A SCRIPTS instr uction i s ex ecuted in singl e step mode • A SCRIPTS interr upt i nstr uction i s ex ecu t.
4-52 Re gist ers addition , this bit ma y be read and wri tten while SCR IPTS are ex ecut ing. Register: 0 x16 Mailbox Zero (MBO X0) Read/Write MBO X 0 Mailbo x Zer o [7:0 ] These are general pur pose bits that may be read or writ ten whil e SCRIPT S are r unnin g.
SCSI Registers 4-53 Register: 0 x18 Chip T est Zero (CTEST0) Read/Write FMT Byte E mpty in DMA FIFO [7:0] These bits iden tify the bottom bytes in the DM A FIFO that are empty . Eac h bit cor respond s to a byte lane in the DMA FIFO . For e xample, if byte lane three is empty , then FMT3 will be set.
4-54 Re gist ers Register: 0 x1A Chip T est T wo (CTEST2) Read Only (bit 3 w r ite) DDIR Data T ransfer Di rection 7 This stat us bit indicate s whic h direc tion data i s being transferred. When th is bit is s et, the data is transferred from the S CSI bus to the host bus.
SCSI Registers 4-55 Base Addres s Regi ster One (ME MOR Y) .T h i si st h e memor y m apped o perating re gister bas e addres s. Bits [9:0] will be 0. The SCRA TCHB r egister contains bits [31:13] of the RAM B ase Addr ess value from the P CI Base Add ress Reg ister T wo (SCRIP TS RAM) .
4-56 Re gist ers Register: 0 x1B Chip T est Th ree (CTE ST3) Read/Write V C h i pR e v i s i o nL e v e l [ 7 : 4 ] These b its iden tify the c hip revision lev e l for software pur poses. I t should hav e the sa me value as t he lower nibble of the PCI Re vision ID (Re v ID ) registe r , at a ddress 0x08 in t he configu ration spa ce.
SCSI Registers 4-57 WRIE Write and Inv alida te Enable 0 This bit, w hen se t, causes the iss uing of Wri te and Inv alid ate comma nds on the PCI b u s whenev er legal . The Wr ite an d Inv a lidate E nable bit in the PCI Config uration Comm and regis ter must al so be set in order for the chip to gene rate Wr ite and Invalidate comm ands.
4-58 Re gist ers while data is being transferred between t he two cor es. Once the chip has stop ped transferring data, thes e bits ar e st abl e. The DMA FIF O (DFIF O) regist er counts th e number of bytes transf erred between the DMA cor e and the S CSI core.
SCSI Registers 4-59 Register: 0 x21 Chip T est Four (CTEST4) Read/Write BDIS Burst Disable 7 When set , this bit causes the LSI5 3C875A to p erform bac k-to-b ac k cyc les f or all t ransf ers . When thi s bit is cleare d, back-to-back transfers for opcode f e tches and burst transf e rs f or data moves are perf or med.
4-60 Re gist ers LSI53C875 A is inf or med of the error by the PERR/ pin being as ser ted by the target. When t his bi t is clea red, the LSI53C 875A does not in terr upt if a master parit y error occurs.
SCSI Registers 4-61 the curr ent DBC value. This bit automatic ally cle ars itse lf after incr ementing t he DNAD r egister. BBCK Clock Byte Counter 6 Settin g this bi t decrem ents th e byte count co ntained in the 24-bi t DBC regi ster .
4-62 Re gist ers BO[9:8] DM A FIFO Byte Offset Counter , Bits [9:8] [1:0] These a re the upp er two bits of the DFBOC. The DFBO C consis ts of thes e bits, and the DMA FIFO (DFIFO) registe r , bit s [7:0].
SCSI Registers 4-63 LSI53C 875A. Th e DBC c ounter is decrem ented ea ch time da ta is transferred on the PCI bus. It is decrem ented by an amount equ al to the numb er of bytes tha t are transferred. The maximum numbe r of b ytes that ca n be transferred in any one Blo ck Mov e c ommand i s 16,777,2 15 bytes.
4-64 Re gist ers Regist er s: 0x28–0 x2B DMA Next Address (DNA D) Read/Write DNAD DMA Next Address [31:0] This 32-bi t register c ontains the general p ur pose a ddress pointer . At the star t of s ome SCRIP TS operations, its v alue is copied fr om the DMA SCRIPTS Pointer Sav e (DSP S) regi ster .
SCSI Registers 4-65 Regist er s: 0x30–0 x33 DMA SC RIPT S Pointer Save (D SPS) Read/Write DSPS DMA SCRIPTS P o inter Save [31:0] This register conta ins the second Dword of a SCRIPTS instr uct ion. It i s ov erwr itten each tim e a SCR IPTS instr uct ion is f etched.
4-66 Re gist ers Register: 0 x38 DMA Mode (DMODE) Read/Write BL[1:0] Burst Le ngth [7:6 ] These b its cont rol the ma ximum numb er of D words transferred per b us ownership, r e gardles s of whether the transfers are back-to-b ack, b urst, o r a comb inatio n of both.
SCSI Registers 4-67 SIOM Source I/O Me mory E nable 5 This bit is defined as an I/O Memor y E nable bit f or the source addr ess of a Memo r y Move or Block Mov e Command. If th is bit is s et, then the source ad dress is in I/O space; and if clear ed, then the source addre ss is in memor y spac e.
4-68 Re gist ers ERMP Enable Read Multiple 2 If this bi t is set a nd cache mode is e nabled, a Rea d Multiple comm and is us ed on a ll read cy cles whe n it is legal. BOF Burst Opcode Fetc h Enable 1 Settin g this bit causes the LSI53C 875A to fetch inst r uctions in b urst mode .
SCSI Registers 4-69 Register: 0 x39 DMA Interrupt Enable (DIEN) Read/Write R Reser ved 7 MDPE Master Dat a P arity Error 6 BF Bus Fault 5 ABRT Aborted 4 SSI Single Step Interrupt 3 SIR SCRIPT S Int er.
4-70 Re gist ers F or m ore informat ion on interr upts, see Chapter 2, “Functiona l Descript ion” . Register: 0 x3A Scratch Byte Regis ter (SBR) Read/Write SBR Sc ratch Byte Re gister [7:0] This is a general pur pos e regis ter . A par t from C PU access, only regi ster Read/Wr ite and Memor y Moves into this regis ter alte r its co ntents.
SCSI Registers 4-71 the LSI53C 875A to make more efficient use of the syste m PC I bus , thus imp rovin g o v eral l syste m performa nce. The unit will flush when ev er the PF F bit is set, as well a.
4-72 Re gist ers STD Start DMA Operation 2 The LSI5 3C875A fetches a SCS I SCRIPT S inst ru ction from the a ddress co ntained i n the DMA SCRIP TS P ointer (DSP) regist er when this bi t is set.
SCSI Registers 4-73 Regist ers: 0x3C–0x3F Adder Sum Output (ADDER) Read Only ADDER Adder Sum Output [31:0] This reg ister c ontains th e outpu t of t he inter n al adder , and is used pri mari ly f or test pur pose s. The power-up v alue for this register is ind eter mina te.
4-74 Re gist ers CMP Function Complete 6 Indicate s full arbi tration and sel ectio n sequence i s complet ed. SEL S elected 5 Indicate s the LSI53C 875A is sel ected by a SCSI i nitiator device. Set the Enable Respon se to S electio n bit i n the SCSI Chip ID (SCID) reg ister f or this to occur .
SCSI Registers 4-75 RST SCSI Reset Condition 1 Indicate s asser tion of the S RST/ si gnal by the LSI53C 875A or any other SCS I device. This conditio n is edge-tr igger ed, so mult iple inter ru pts canno t occur because of a singl e SRST / pulse.
4-76 Re gist ers HTH Handshake-to-Handsha ke Timer Expired 0 The han dshake-to-hand shake tim er is expired. T he tim e measur ed is the S CSI Req uest-to-Req uest (targe t) or Acknowledge-to-A cknowledge (initia tor) per iod.
SCSI Registers 4-77 target. In target mode, this bi t is set wh en the S A TN/ signal is as ser ted by the initiator . CMP Function Complete 6 This bit i s set whe n an arbit ration only or full arbitration seque nce is c omple ted. SEL S elected 5 This bit is set when the LSI53C875 A is sel ected b y anothe r SCSI device.
4-78 Re gist ers • Residual da ta in the synchr onous da ta FIFO – a transfer other tha n synch ronou s data re ceive is star ted wit h data left i n the sy nchronou s data FIFO .
SCSI Registers 4-79 (SIEN1) register or not. Eac h bit that is set ind icate s an occur rence of the correspo nding con ditio n. Readin g the SI ST1 clear s the int err upt con ditio n.
4-80 Re gist ers check byte are rec eived from the S CSI bus (all si gnals are shown active HIG H): A one in any bit posi tion of the fi nal SLP AR value would i n d i c a t eat r a n s m i s s i o ne r r o r . The SLP AR regis ter is also use d to generate the check bytes f or SCSI send o peration s.
SCSI Registers 4-81 W h i c hb y t ei sa c c e s s e di sc o n t r o l l e db yt h eS L P H B E Nb i t in the SCSI Control T wo (SCNTL2) register . Register: 0 x45 SCSI Wide Residue (SW IDE) Read/Writ.
4-82 Re gist ers DW R D a t a W r i t e 3 This bi t is used to defi ne if a data write is c onsidered t o be a lo cal m emor y acce ss. DRD Data Read 2 This bit is used to define if a data read is consider ed to be a lo cal m emor y acce ss.
SCSI Registers 4-83 LEDC LED_CNTL 5 The inte rn al connec ted sign al (bit 3 of the Inter r upt S tatu s Zero (IST A T0) regi ster) wil l be pres ente d on GPIO0 i f this bit is set a nd bit 6 of GP CNTL0 is c leared an d the c hip is not in progress of perfor ming a n EEPROM autodownlo ad regar dless of the sta te of bit 0 (GPI O0).
4-84 Re gist ers SEL[3: 0] Select ion Time-O ut [3:0] These b its select t he SCSI s elect ion/resel ection tim e-out period. Wh en this timi ng (plus the 200 µ s selec tion a bor t time) is exceede d, the STO bit in the SC SI Inter rup t Status One (SIS T1) registe r is set.
SCSI Registers 4-85 Register: 0 x49 SCSI Timer One (STIME1) Read/Write R Reser ved 7 HTHB A Handshake-to- Handshake Timer Bus Activity Enable 6 Setting thi s bit caus es this time r to begin tes ting for SCSI REQ/, ACK/ activit y as soon as SBSY/ is as ser ted, regard less of the agents par ticipat ing in the transfer .
4-86 Re gist ers Register: 0 x4A Resp onse ID Zer o (RES PID0 ) Read/Write RESPIO0 Res ponse ID Zero [7:0] RESPID0 and Respon se ID One (RESPID1) contain t he selecti on or re selecti on IDs. In other words, these two 8-bit regi sters c ontain the I D that the c hip respo nds to o n the SCSI bus.
SCSI Registers 4-87 c h i p c a na r b i t r a t e w i t ho n l yo n eI Dv a l u ei nt h eS C I D registe r . Register: 0 x4C SCSI T est Zero ( STEST0) Read Only SSAID SCSI Sele cted As ID [ 7:4] These bits c ontain the e ncoded value of t he SCSI ID th at the LSI53C 875A is selected dur ing a SCSI sel ection phase.
4-88 Re gist ers SOM S C SI Synchr onous Offset Maxim um 0 This bi t indicate s that the cu rrent synch ronou s SREQ /, SA CK/ of fset is the ma ximum spec ified by bits [3:0 ] in the SCSI T ran sfer (SXFER ) reg ister . This b it is no t latch ed and may change at any time.
SCSI Registers 4-89 QSEL SCLK Qua drupler Se lect 2 This bit , when set , sel ects the ou tput of the interna l clock quadr upler for use a s the inte rn al SCS I clock. Whe n cleare d, this bit sel ects the clo ck presented on S CLK for use as th e inter nal S CSI clock.
4-90 Re gist ers SZM SC SI Hi gh Imped ance Mo de 3 Settin g this bi t places all the op en drain 48 mA SCSI dri v ers into a hi gh impedan ce state. This is to allow inter na l loopback mod e operation withou t affecting the SCSI bus.
SCSI Registers 4-91 Register: 0 x4F SCSI T est Three (STE S T3) Read/Write TE T olerANT E nable 7 Settin g this bi t enables the ac tive negation po r tion of LSI Logic T oler ANT tec hnology .
4-92 Re gist ers f o r test pur pos es or to lower I DD during a po wer -down mode. DSI D isa ble S ing le I ni tia tor R es pons e 4 If this bit is se t, the LSI53 C875A ign ores all bus-initia ted selecti on attempts th at employ the single in itiator opti on from SCS I-1.
SCSI Registers 4-93 STW SCSI FIF O T est Write 0 Settin g this bit places th e SCSI c ore in to a test mo de in which the FIFO is easi ly read or writ ten. While this bit is set, wri tes to the le ast signifi cant byte of the SCSI Outp ut Data Latch (SO DL) register cause t he entir e word containe d in the SODL to be loaded into the FIFO .
4-94 Re gist ers Register: 0 x52 SCSI T est Four (STEST4) Read Only R Reser ved [7:6] LOCK Frequenc y Lock 5 This bit i s used w hen en abling the SCSI clock quadr upler , whic h all ows the LSI 53C875A to tr ansf er data at Ul tra SC SI rates. P oll t his bit for a 1 to deter mine tha t the cl ock quadr upler h as locked.
SCSI Registers 4-95 Register: 0 x56 Chip Control 0 (CCNTL0) Read/Write ENPMJ Enable Phase Mism atch Jump 7 Upon setti ng this bi t, any phase m isma tches do not interr upt but force a jump to an al ter nate loc ation to handle the phase mism atch.
4-96 Re gist ers ENNDJ Enable Jump on Nondata Phase Mismat ches 5 This b it contro ls wheth er or not a j ump is tak en during a nond ata phase mis match (i.
SCSI Registers 4-97 Register: 0 x57 Chip Control 1 (CCNTL1) Read/Write ZMOD E High Im pedance Mo de 7 Settin g this b it ca uses the LSI53C875A to plac e all ou tput and bidir ectiona l pins except M AC/_TEST O UT , into a high imped ance state.
4-98 Re gist ers Index Mode 1 (64TIMOD set) table entr y f or m at: EN64TIBMV Enable 64-Bit T able Indirect BMO V 1 Settin g this bi t enables 64-b it addr essin g for T able Indirect B MO Vs us ing th e upper byte (bit [24:31]) o f the first Dword of the table entr y .
64-Bit SCRIPTS Selec tors 4-99 Regist er: 0x5A–0x5B Rese rved Regist ers: 0x5C–0x5F Scratch Regis ter B (SCRA TCH B) Read/Write SCRA TCHB Scratch Register B [31:0] This is a general pur pos e use r definable s cratch pad registe r .
4-100 Reg i sters operation is performed , one of the six s elector r egister s below will be used to ge nerate a 6 4-bit add ress. If the sel ector for a par ticular device operation is zero , then a s tandard 32-bit a ddress cy cle w ill be gen erated.
64-Bit SCRIPTS Selec tors 4-101 Register s: 0xA4–0x A 7 Memor y Move Write Selector ( MMWS) Read/Write MMWS Memor y Move Write Se lector [31:0] Supplie s the upper Dword of a 64-bit addres s duri ng data writ e operations dur ing Me mor y-to-M emor y Moves and absolute add ress STORE operations.
4-102 Reg i sters Write s to th e SFS regi st er are una ffe cted. Cl earing t h e PCI Confi guratio n Into Ena ble bit causes the S FS reg ister to retur n to nor mal o peratio n.
Phase M isma tch Jump Reg ist ers 4 -1 03 Register s: 0xB4–0x B 7 Dynamic Block Move Sel ector (DBMS) Read/Write DBMS Dynamic Block Move Select or [ 31:0] Supplie s the u pper Dword of a 64-bit addre ss dur ing bloc k move operations, reads or wr ites.
4-104 Reg i sters Register s: 0xC0–0x C 3 P h a s eM i s m a t c hJ u m pA d d r e s s1( P M J A D 1 ) Read/Write PMJAD1 Phase Mismatch Jump Address 1 [ 31:0] This reg ister c ontain s the 3 2-bit add ress that will be jumped to up on a phas e mismatc h.
Phase M isma tch Jump Reg ist ers 4 -1 05 Register s: 0xC8–0x C B Remaining Byte Count (RBC) Read/Write RBC Remaining Byte Count (RBC) [31:0] This regi ster co ntains the byte coun t that re mains for the BMO V that was ex ecuting when the pha se mism atch occurr ed.
4-106 Reg i sters In the cas e of a S CSI dat a receive, if ther e is a byte in the SCSI Wi de Residue (SWI DE) register th en this address wi ll point to the locat ion where tha t byte must be stored. The SWID E byte must be manual ly wr itten to memor y an d this addres s must be in crem ented pr ior to updating a ny scatter/ gather en tr y .
Phase M isma tch Jump Reg ist ers 4 -1 07 Register s: 0xD4–0x D 7 Instructio n Address (IA) Read/Write IA Instru ction Address [31:0] This reg ister al wa ys conta ins th e addres s of the BMO V instr uct ion tha t was ex ecuti ng when the phase m isma tch occurre d.
4-108 Reg i sters canno t be counte d f or th is BMO V as it was actually p ar t of the byte coun t for the pre v ious B MO V . Register: 0 xDB Rese rved Registers: 0x DC–0xDF Cumulat ive SCSI Byte .
LSI53C8 75A PCI to Ultra SCSI Controll er 5-1 Chapter 5 SCSI SCRIPTS Instruction Set The LSI5 3C875A c ontains a SC SI SCRI PTS proc essor that per mi ts both DMA and S CSI com mands to b e fetched from host memo r y or int er nal SCRIPT S RAM . Algor ith ms wr itten i n SCSI S CRIPTS c ontro l the acti ons of the SCSI and DMA cores.
5-2 SCSI SCRIPTS Instruction Set require cer tain unique tim ings or bus sequence s to operate properl y . Another feature allowed at t he low le v el is loop back testing. In l oopback m o d e ,t h eS C S Ic o r ec a nb ed i r e c t e dt ot a l kt ot h eD M Ac o r et ot e s t inter nal da ta paths all the way out to the c hip’ s pi ns.
High Le v el SCSI SCRIPTS Mode 5-3 Each in str uctio n cons ists of two or three 32 -bit wor ds. The first 32-bi t wo rd is alw a ys loaded in to the DMA Command (DCM D) and DMA Byte Counter (DBC) regi sters, th e second in to th e DMA SCRIPTS P o inter Save (DSPS) r egister .
5-4 SCSI SCRIPTS Instruction Set • The LSI5 3C875A typ ically fetches two Dword s (64 bit s) and de codes the high or der byte of the fir st longword as a SCRIPTS instr ucti on. If the instr ucti on is a B lock Mov e, t he lower three bytes of t he fir st longword are s tored an d inter preted as the number o f bytes to be mov ed.
High Le v el SCSI SCRIPTS Mode 5-5 Figure 5.1 SCRIPTS O verview System Processor System Memory SCSI Initi ator Write Exam ple × Select A TN 0, alt_addr × Move from identi fy_msg_buf, when MSG_ OUT .
5-6 SCSI SCRIPTS Instruction Set 5.3 Bloc k M o ve Instructi o n P erformi ng a Block Move instr uction, bit 5, S ource I/ O - Memor y Enable (SIOM) and bit 4, Destin ation I/O - Me mor y Ena ble (DIOM) in the DMA Mode (DMODE ) registe r deter min es whether th e source/de stinatio n address reside s in memo r y or I/O space.
Bloc k M o ve Inst r uction 5-7 Direct Addressi ng The b yte count a nd absolut e addr ess ar e: Indirect Addressing Use the f etched byte count, b ut f etch the data addr ess from the address in the instr ucti on. Once the data po inter add ress i s loaded, it is ex ecuted as when th e chip operates in the dire ct mode.
5-8 SCSI SCRIPTS Instruction Set the data str ucture. Sign extended v alues of all ones f or negative values are allowed, but bits [31:24] ar e ignored . Note: Do no t use ind irec t and ta ble indirect addre ssin g simultaneo usly; us e only one addr essing m ethod at a tim e.
Bloc k M o ve Inst r uction 5-9 OPC OpCode 27 This 1-b it OpCode field d efines th e type of Block Mov e (MO VE ) Instru ction to be p ref or med in T a rget and Initi ator mode. T arget Mode In T arget m ode, the Op Code bit def ines t he following operations: These ins truc tions pe rf or m the following steps : 1.
5-10 SCSI SCRIPTS Instruction Set registe r contai ns 0x000 000, an illegal instr uction interr upt is ge nerated. 4. The LSI5 3C875A transfers the number of bytes sp ecified in the DBC registe r star ting at the addr ess sp ecified in the DMA Next Address (DNAD) r egister.
Bloc k M ov e Instruction 5-11 registe r . Thes e phase l ines ar e latched when SRE Q/ is asser ted . 4 . I ft h eS C S Ip h a s eb i t sm a t c ht h ev a l u es t o r e di nt h eS C S I SCSI S tatus.
5-12 SCSI SCRIPTS Instruction Set TC[23:0] T ra nsfer Counter [23:0] This 24 -bit field spe cifies th e number of data bytes to be mov ed between the LSI53C8 75A and system mem or y .
I/O Ins tr uc tion 5-13 5.3.2 Second Dwor d Star t Address [31:0] This 32-b it field s pecifie s the sta r tin g address of the data to mov e to/from mem or y .
5-14 SCSI SCRIPTS Instruction Set 5.4.1 Fi rst Dw ord IT[1:0] Instruction T ype - I/O Instruc tion [31:30] The IT bit co nfiguration (01) de fines an I/O Ins truc tion Ty p e .
I/O Ins tr uc tion 5-15 This w ay th e SC RIPT S can mo ve on to th e ne xt instr uct ion before the r eselect ion co mplete s. It continues ex ecuting S CRIPTS u ntil a SCRIPT th at requir es a response f rom th e Initiator i s encoun tered.
5-16 SCSI SCRIPTS Instruction Set When t he SACK/ or SA TN/ b its are cleared , the corre sponding bits a re clea red in the SCSI Ou tput C ontrol La tch ( SOCL) reg ister .
I/O Ins tr uc tion 5-17 the LSI53C87 5A to Initi ator mode if it is res elected , or to T arget mod e if it is selected . If the Sele ct with SA TN/ fiel d is set, the SA TN/ s ignal is asser ted dur i ng the sel ectio n phas e.
5-18 SCSI SCRIPTS Instruction Set RA Relative Addressing Mode 26 When this bit is set, the 24-bi t signed value in the DMA Ne xt Address ( DNAD) regi ster is us ed as a relative displac ement from th e current DMA SCRI PTS P ointe r (DSP) address.
I/O Ins tr uc tion 5-19 Use this b it only in con junc tion with the S elect , Rese lect, W ai t Selec t, and Wait Reselect in str uct ions. Use bits 25 and 26 individ ually or in = comb inatio n to produce the f o llowin g conditi ons: Direct Uses the dev ice ID a nd physical addre ss in the instr u ction .
5-20 SCSI SCRIPTS Instruction Set T able Relat ive T reats the alter nate ju mp addres s as a rel ative jump and f e tches the device ID , s ynchron ous offse t, and synchron ous p erio d indi rectly .
I/O Ins tr uc tion 5-21 R Reser ved [8:7] A CK Se t/Clear SA CK / 6 R Reser ved [5:4] A T N Set/ Clear SA TN/ 3 These two bits are u sed in c onjun ction wi th a Set o r Clea r instr uct ion to asser t or d easse r t th e corr espondin g SC SI control s ignal.
5-22 SCSI SCRIPTS Instruction Set If rela tive or table relat ive address ing is used, th is value is a 24- bit sign ed offset r elative to the cur rent DMA SCRIPT S P o inter (D SP) regis ter value.
Read /Wr ite In str uct io ns 5-23 A[6:0] Regis ter Address - A[6:0] [22:16] It is possible to c hange re gister values from SCRIP TS in read-modi fy-wr ite cycl es or move to/from SFB R cycle s. A[6:0] se lects an 8-bit so urce /destinati on registe r within the LSI53C8 75A.
5-24 SCSI SCRIPTS Instruction Set 5.5.4 Mov e T o/From S F BR Cycles All operatio ns are r ead-modi fy-wr ites. Howe ver , two register s are inv o lved, one o f whic h is al wa ys the S FBR . Ta b l e 5 . 3 sho ws the possi bl e read-m odify-wr ite o perations.
T ransf er Control Instructio ns 5-25 Misce llaneous Notes: • Substi tute the desired reg ister nam e or address f or “RegA” in the syntax e xamples . • data 8 in dic ates e igh t bit s of dat a. • Use SFBR instead o f data8 to add tw o register v alues.
5-26 SCSI SCRIPTS Instruction Set 5.6.1 Fi rst Dw ord IT[1:0] Instructi on T ype - T ransfer Contr ol Instruc tion [31: 30] The IT bit config uration (10) de fines the T ransfer Control Instruct ion T ype. OPC[2:0] OpCo de [29:27] This 3 -bit fiel d speci fies th e type of T ransfer Contr ol Instr uction t o ex ecute.
T ransf er Control Instructio ns 5-27 DMA SCRIPTS P ointe r Sav e (DSPS) regis ter . The DSP registe r now contains th e address of the ne x t instr uct ion.
5-28 SCSI SCRIPTS Instruction Set If the compar iso ns are false , the LS I53C875A fetches the next instr uctio n from the addre ss pointed to by the DSP registe r and the instr uction p ointer is not m odified.
T ransf er Control Instructio ns 5-29 RA Relative Addressing Mode 23 When this bit is set, the 24-bi t signed value in the DMA SCRIPT S P o inter Sav e (DSP S) regist er is used as a relative offset fr om the cu rrent DMA S CRIPTS Pointer (DSP) ad dress (whic h is pointi ng to the next instruc tion, not the o ne current ly ex ecuti ng).
5-30 SCSI SCRIPTS Instruction Set signed (2’s compleme nt), the jump can be f orward or backward. A relative transfer can be to any add ress wi thin a 16 Mbyte segment. The program counte r is combined with the 24-bit sig ned offset (usi ng addition or subtracti on) to f o r m the new ex ecutio n address.
T ransf er Control Instructio ns 5-31 CD Compare Data 18 When t his bit i s set, the fir st byte received from the SCSI data bus (contained in the SCSI First Byte Rece ived (SFBR) register) is compar ed with the Data to be Compared Field in th e T ransfer Control instruc tion.
5-32 SCSI SCRIPTS Instruction Set DCV Data Compare V alue [7:0] This 8-bit fi eld is the data comp ared aga inst the regi ster . These bits are use d in conjunction with the Data Compare M ask Fiel d to test for a par ticular da ta value.
Memor y Move Instr uc tions 5-33 • Indirec t addres ses are not allowed. A burst of data i s fetched from the source address, put into th e DMA FIFO and then wr itte n out to the desti nation add ress. The m ov e continues until t he byte count decreme nts to zero , t hen another SCRIPTS is fetched from s ystem memor y .
5-34 SCSI SCRIPTS Instruction Set 5.7.2 Rea d/Writ e Sy stem Me mor y from SCR IPTS By usin g the Me mor y M ov e instr uction, singl e or multip le regis ter values are transferred to or f rom syste m memor y .
Load and Store Instructio ns 5-35 5.7.4 Thir d Dwor d TEMP Reg ister [31:0] These b its cont ain the des tination a ddress for the Memor y M ov e. 5.8 Load a nd Store Instructions The Load and Stor e .
5-36 SCSI SCRIPTS Instruction Set The SIOM and DIOM bits in the DM A Mode (DM ODE) regi ster deter mi ne whether the de stination o r source addr ess of the ins tru ction is in Me mor y space or I/O s pace, as il lustra ted in the following table. The Load a nd Store util izes the PCI comman ds f or I/O read and I/O wr ite to acces s the I/O space.
Load and Store Instructio ns 5-37 Note: This bit h as no eff ect unles s the Pref etch En able bi t in the DMA Control (DC NTL) re giste r is set . LS Load and Store 24 When t his bit i s set, the instr ucti on is a L oad. Wh en cleare d, it is a Store.
5-38 SCSI SCRIPTS Instruction Set.
LSI53C8 75A PCI to Ultra SCSI Controll er 6-1 Chapter 6 Electrical Specificat ions This sec tion s pecifie s the LS I53C875A electr ic al and mec hanical character is tics. It is di vided i nto the following se ctions: • Secti on 6. 1, “D C Cha ract er isti cs” • Section 6.
6-2 Electr ica l Spe cifi cati ons T able 6.1 Ab solute M aximum Stress Rat ings 1 1. Stress es be yond thos e listed abo ve ma y cause permanent damag e to the devi ce.
DC Characteristics 6-3 T able 6.4 Bidirectional Signals—MAD[7:0], MAS/[1:0], MCE/, MOE/, MW E/ Symbol P arameter Min Max Unit T est Conditions V IH Input hig h voltage 2.0 5.25 V – V IL Input lo w voltage V SS − 0.5 0. 8 V – V OH Output high vol tage 2.
6-4 Electr ica l Spe cifi cati ons T able 6.6 Bidirectional S ignals—AD[31:0], C_BE[3:0]/, FRAME/, IRD Y/, TRD Y /, D E V S E L / ,S T O P / ,P E R R / ,P A R Symb ol Para meter Min Max Unit T est Condit ions V IH Input high v oltage 0.5 V DD 5.25 V – V IL Inpu t low voltag e V SS 0.
T olerANT T echnolo gy Electrical Char acteristic s 6-5 6.2 T olerANT T echnolog y Electri cal C haracteristi cs The LSI5 3C875A features T o lerANT technolo gy , whic h include s ac tive negation o n the S CSI dr ivers and input sig nal fi lter ing on the SCS I receivers.
6-6 Electr ica l Spe cifi cati ons T able 6.11 T oler ANT T echnology Electr ical Chara cteri stics for SE SC SI Signal s Symbol P arameter Min 1 1. These v alues are gu aranteed b y periodic char acterization; the y are not 100% tested on e very device.
T olerANT T echnolo gy Electrical Char acteristic s 6-7 Figure 6.1 Rise and Fall Time T est Condition Figure 6.2 SCSI Input Filtering Figure 6 .3 Hysteres is o f SCSI R eceivers + − 2.5 V 47 Ω 20 pF REQ/ or SACK/ Input t 1 V TH Note: t 1 is the input filtering period.
6-8 Electr ica l Spe cifi cati ons Figure 6.4 Input C urrent as a Function of Input V oltage Figure 6.5 Output Current as a Function of Output V oltage +40 +20 0 − 20 − 40 − 4 0 4 8 12 16 − 0.7 V 8.2 V HIGH-Z OUTPUT AC T I V E Input V oltage (V olts) Input Current (milliAmperes) 14.
A C Char acter istics 6-9 6.3 A C Characterist ics The AC characteri stics d escri bed in this secti on appl y ov e r the e ntire range of ope rating cond itions ( refer to the DC Character istics se ction ). Chip timin gs are ba sed on simula tio n at worst case voltage, te mperature, and process ing.
6-10 Electrical Sp ecificat ions Ta b l e 6 . 1 3 and Figu re 6.7 provide Reset I nput tim ing da ta. Figure 6.7 Reset Input Ta b l e 6 . 1 4 and Figu re 6.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-11 Figure 6.8 Interrupt Output 6.4 PCI an d External Memor y Interface Timing D iagrams Figure 6.9 through F igure 6.32 represent signal a ctivity when t he LSI53C875 A ac cesse s the P CI bus. This s ection i ncludes timin g diagrams for access to three groups of memor y conf igurations.
6-12 Electrical Sp ecificat ions – Burst Read, 32-Bit Addr ess an d Data – Burst Read, 64-Bit Addr ess an d Data – Burst Write , 32-Bi t Addr ess and Data – Burst Write , 64-Bit A ddr ess and .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-13 6.4. 1 T arget Timing The tables an d figures in th is sect ion des cr ibe targe t timin gs.
6-14 Electrical Sp ecificat ions Figure 6.10 PCI Configuration Register W rite T able 6.16 PCI Configuration Register W rite Symb ol P arameter Min Max Unit t 1 Shared sig nal input setu p time 7 – .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-15 Figure 6.11 32-Bit Operating Register/SCRIPTS RA M Read T able 6.17 32-Bit Operating Regis ter/SCRIPTS RA M Read Symb ol P arame ter Min Max .
6-16 Electrical Sp ecificat ions Figure 6.12 64-Bit Address Operating Register/SCRI PTS RAM Read T able 6.18 64-Bit Address Operatin g Regist er/SCRIPT S RAM Read Symb ol P arame ter Min Max Unit t 1 .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-17 Figure 6.13 32-Bit O perating Register/SCRIPTS RAM Write T able 6.19 32-Bit Operating Regis ter/SCRIPTS RA M Write Symb ol P arameter Min Max.
6-18 Electrical Sp ecificat ions Figure 6.14 64-Bit Address Operating Register /SCRIPTS RAM Write T able 6.20 64-Bit Address Operatin g Reg ister/SCRI PTS RAM Wr ite Symb ol P arame ter Min Max Unit t.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-19 6.4.2 Initiator Timing The tables an d figures in th is sect ion des cr ibe LSI53C 875A i nitiat or timing s.
6-20 Electrical Sp ecificat ions Figure 6.15 Nonbur st Opcode Fetch, 32-Bit Address and Data CLK (Driven by System) FRAME/ (Driven by LSI53C875A) AD (Driven by LSI53C875A- C_BE/ (Driven by LSI53C875A).
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-21 T able 6.22 Burst Opcode F etch, 32-Bi t Address and Data Symb ol P arame ter Min Max Un it t 1 Shar ed sign al in put set up ti me 7 – ns .
6-22 Electrical Sp ecificat ions Figure 6.16 Burst Opcode Fetch, 32-Bit Add ress and Data CLK (Driven by System) FRAME/ (Driven by LSI53C875A) AD (Driven by LSI53C875A- C_BE/ (Driven by LSI53C875A) PA.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-23 T able 6.23 Back-to-Back Read, 32-Bit Address and Data Symbol P arameter Min Max Unit t 1 Shar ed si gnal i nput se tup t ime 7 – ns t 2 Sh.
6-24 Electrical Sp ecificat ions Figure 6.17 B ack-to-Back Read, 32-Bit Address and Data CLK (Dr iven by System) FRAM E/ (Dr iven by LSI53C8 75A) AD (Dr iven by LSI53C8 75A- C_BE/ (Dr iven by LSI53C8 .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-25 T ab le 6.24 Back -to-B ac k Wri te, 32-Bi t Add re ss and Dat a Symb ol P arame ter Min Max Uni t t 1 Shar ed sign al in put set up ti me 7 .
6-26 Electrical Sp ecificat ions Fig ure 6. 18 Bac k-to- Bac k W rite, 32-Bi t Addr ess and Data CLK (Driven by System) FRAME/ (Driven by LSI53C875A) AD (Driven by LSI53C875A- C_BE/ (Driven by LSI53C8.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-27 T able 6.25 Burst Read, 32 -Bit Addres s and Da ta Symb ol P arameter Min Max Unit t 1 Shared sig nal input setu p time 7 – ns t 2 Shared s.
6-28 Electrical Sp ecificat ions Figure 6.19 Burst Read, 32-Bit Address and Data t 1 t 2 CLK GPIO0_FETCH/ (Driven by LSI53C875A) GPIO1_MAS TER/ (Driven by LSI53C875A) REQ/ (Driven by LSI53C875A) PA R .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-29 T able 6.26 Burst Read, 64 -Bit Addres s and Da ta Symb ol P arame ter Min Max Uni t t 1 Shar ed sign al in put set up ti me 7 – ns t 2 Sha.
6-30 Electrical Sp ecificat ions Figure 6.20 Burst Read, 64-Bit Address and Data t 1 t 2 CLK GPIO0_FETCH/ (Driven by LSI53C875A) GPIO1_MAS TER/ (Driven by LSI53C875A) REQ/ (Driven by LSI53C875A) PA R .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-31 T able 6.27 Burst Write, 32-Bit Address a nd Data Symb ol P arame ter Min Max Unit t 1 Shared sig nal input setu p time 7 – ns t 2 Shared s.
6-32 Electrical Sp ecificat ions Figure 6.21 Burst Write, 32-Bit Ad dress and Data t 1 CLK (Dr iven by System) GPIO0_FETCH/ (Driven by LSI53C875A) GPIO1 _MASTER/ (Driven by LSI53C875A) REQ/ (Driven by.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-33 T ab le 6.28 Burs t Writ e, 64-B it Addr ess and 32 -Bit D ata Symb ol P arame ter Min Max Uni t t 1 Shar ed sign al in put set up ti me 7 .
6-34 Electrical Sp ecificat ions Figure 6.22 Burst Write, 64-Bit Ad dress and 32-Bit Data t 1 CLK (Dri ve n by Syst em) GPIO0_FET CH/ (Driven by LSI53C875A) GPIO1_M ASTER/ (Driven by LSI53C875A) REQ/ .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-35 6.4.3 External Mem ory Timing The tables an d figures in this sect ion des cr ibe LSI53C 875A exter na l timin gs.
6-36 Electrical Sp ecificat ions Figure 6.23 External Me mory Read 12 3 4 5 6 7 8 9 CLK (Driven by System) PA R (Driven by Master-Addr ; IRD Y/ (Driven by Master) TRD Y/ (Driven by LSI53C875A) ST OP/ .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-37 Figure 6.23 External Memory Read (Cont.) MAD (Addr dr iven by LSI53C875A; Data driven by Memory ) 11 12 13 14 15 16 17 18 19 20 21 10 CLK (Dr.
6-38 Electrical Sp ecificat ions T ab le 6.30 Ext erna l Mem ory Wri te Symb ol P arameter Min Max Unit t 1 Shared sig nal input setu p time 7 – ns t 2 Shared signal inp ut hold time 0 – ns t 3 CL.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-39 The Exter na l Memor y Wr ite timings star t on pa ge 6-40 ..
6-40 Electrical Sp ecificat ions Figure 6.24 External Memory Write 12 3 4 5 6 78 9 CLK (Driven by System) PA R (Driven by Master-Addr ; IRD Y/ (Driven by Master) TRD Y/ (Driven by LSI53C875A) ST OP/ (.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-41 Figure 6.24 External Me mory Write (Cont.) MAD (Addr dr iven by LSI53C875A; Data driven by Memory ) 11 12 13 14 15 16 17 18 19 20 21 10 CLK (.
6-42 Electrical Sp ecificat ions Figure 6.25 Normal/Fast Memory ( ≥ = 128 Kbytes) S ingle By te Access Read Cycle T able 6.31 Normal/Fast Memory ( ≥ = 1 28 Kbytes) Sing le Byte Acc ess Read C ycle.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-43 Figure 6.26 Normal/Fast Memory ( ≥ = 128 K bytes) Single By te Access Writ e Cycle T able 6.
6-44 Electrical Sp ecificat ions Figure 6.27 Normal/Fast Memory ( ≥ = 128 Kbytes) M ultiple Byte Access R ead Cycle MAD (Addr Dr iven by LS I53C87 5A; MAS1/ (Driven by LSI53C875A) MAS0/ (Driven by L.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-45 Figure 6.27 Normal/Fast Memory ( ≥ = 128 Kbytes) M ultiple Byte Access R ead Cycle (Cont.) MAD (Addr Dr iven by LS I53C87 5A ; MAS1/ (Drive.
6-46 Electrical Sp ecificat ions Figure 6.28 Normal/Fast Memory ( ≥ = 128 Kbytes) M ultiple Byte Access W rite Cycle MAD (Driven by LSI53C875A) MAS1/ (Driven by LSI53C875A) MAS0/ (Driven by LSI53C87.
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-47 Figure 6.28 Normal/Fast Memory ( ≥ = 128 Kbytes) M ultiple Byte Access W rite Cycle (Cont.
6-48 Electrical Sp ecificat ions Figure 6.29 Slow Me mory ( ≤ = 128 Kbytes) Read Cycle T able 6.33 Slow Me mory ( ≤ = 128 Kbytes) Read C ycle Symb ol P arame ter Min Max Un it t 11 Address s etup .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-49 Figure 6.30 Slow Me mory ( ≤ = 128 Kb ytes ) Write C ycle T able 6.34 Slow Me mory ( ≤ 128 Kb ytes) Wri te Cyc le Symb ol P arame ter Min.
6-50 Electrical Sp ecificat ions Figure 6.31 ≤ 64 Kbytes ROM Read Cycle Ta b l e 6 . 3 5 ≤ = 64 Kbytes ROM Read Cycle Symb ol P arameter Min M a x Unit t 11 Address s etup to MAS/ HIG H 25 – ns .
PCI and Ex ternal Memory Interf ace Timing D iagr ams 6-51 Figure 6.32 ≤ 64 Kbyte ROM Write Cy cle Ta b l e 6 . 3 6 ≤ = 64 Kbyte ROM Write Cycle Symb ol P arameter Min Max Unit t 11 Address s etup.
6-52 Electrical Sp ecificat ions 6.5 S CSI Tim ing D iagrams The tables and diagrams in this secti on descr ibe the LSI53C 875A SCS I timing s. Figure 6.
SCSI Timing Diagr ams 6-53 Figure 6.34 Initiator As ynchr onous Receive T able 6.38 Initiator Asynchronous Receive Symb ol P arame ter Min Max Un it t 1 SA CK/ ass er ted from SREQ / asser ted 5 – n.
6-54 Electrical Sp ecificat ions Figure 6.35 T arget Asynchr onous Send T able 6.39 T arget Async hronous Send Symb ol P arameter Min Max Unit t 1 SREQ/ deass er ted from SA CK/ asser ted 5 – ns t 2.
SCSI Timing Diagr ams 6-55 Figure 6.36 T arget Asynchronous Receive T able 6.40 T arget Asynchr onous Receive Symb ol P arame ter Min Max Un it t 1 SREQ/ deass er ted from SA CK/ asser ted 5 – ns t 2 SREQ/ asserted from SA CK/ deasserted 5 – ns t 3 Dat a setup to S ACK/ asser ted 0 – ns t 4 Data hold from SREQ/ deas ser ted 0 – ns T able 6.
6-56 Electrical Sp ecificat ions T able 6.42 SCSI-2 Fast T ran sfers 10.0 Mbytes (8-Bi t T ransfers) or 20.0 Mbytes (16-Bit T ransfers) 40 MHz Cloc k Symb ol P arameter Min M a x Unit t 1 Send SREQ/ o.
SCSI Timing Diagr ams 6-57 Figure 6.37 Initiator a nd T arget S ynchr onous T r ansfer SREQ/ or SACK/ Send Data SD[15:0]/, SDP[1:0]/ Receive Data SD[15:0]/, SDP[1:0]/ t 3 t 4 t 1 t 2 t 5 t 6 nn + 1 V .
6-58 Electrical Sp ecificat ions 6.6 Pac kage Diag rams This sec tion o f the manual has a packag e drawing and pino ut for both the PQFP and BGA . Figure 6 .38 LSI5 3C875A 160-Pin PQFP Mechanical Dra wing Important: This drawing may not be the latest version.
P ackage D iagra ms 6-59 Figure 6.38 160 -pin PQFP (P 3) Mechanical Dr awing (Sheet 2 of 2) Important: This drawing may not be the latest version. For b oard lay out and m anufacturing, obtain the most recent engineering d rawings from yo u r LSI Logic marketi ng representative by requesting the outline drawing for package code P3.
6-60 Electrical Sp ecificat ions T able 6.44 160 PQFP Pin Lis t by Location NC 121 NC 122 VSSIO 123 NC 124 NC 125 TES T_H SC / 126 TES T_R ST/ 1 27 VDDIO 128 VDD A 129 TCK 130 TRST/ 131 VSSA 132 VSSIO.
P ackage D iagra ms 6-61 Figure 6.39 169-Pin BGA Mechanical Dra wing Important: This drawing may not be the latest version. For b oard lay out and m anufacturing, obtain the most recent engineering d rawings from yo u r LSI Logic marketi ng representative by requesting the outline drawing for package code GV .
6-62 Electrical Sp ecificat ions T able 6.45 169 BGA Pin List by Location VSSIO K12 SIO K13 PCI_AD[9] L1 PCI_AD[8] L2 PCI_AD[4] L3 PCI_AD[2] L4 VDDCORE L5 VSSCORE L6 MAD[ 7] L7 MAD[ 1] L8 GPIO[4] L9 M.
LSI53C8 75A PCI to Ultra SCSI Controller A-1 Appendix A Regist er Summ ar y T able A.1 LSI5 3C875A PCI Re gister Map Register Nam e Address Read/Write P age Base Addres s Register O ne (MEMOR Y) 0x1 4.
A-2 Register Summary P ow er Manage ment Capabi lities (PMC) 0x4 2–0x43 Read Only 4-15 P ow er Manage ment Control/Stat us (PMCSR) 0x44–0 x45 Read/Write 4-16 Reser ved 0x28– 0x2B – 4- 10 Reser.
Register Su mmar y A-3 DMA C ommand ( DCM D) 0x 27 Rea d/Wr ite 4 -63 DMA Control (DCNTL) 0x3B Read/Write 4-70 DMA FIFO (DFIFO) 0x20 Read/Write 4-57 DMA Interrupt Enab le (DIEN) 0x39 Read/Write 4-69 D.
A-4 Register Summary Remainin g Byte Count (RBC) 0xC8–0x CB Read/Write 4-105 Reser ved 0x53 – 4-94 Reser ved 0x5A –0x5 B – 4-99 Reser ved 0xBC –0x BF – 4-103 Reser ved 0xDB – 4-108 Reser.
Register Su mmar y A-5 SCSI I nte rr upt En able Zer o (SI EN0) 0x 40 Rea d/Wr it e 4 -73 SCSI Interrupt Stat us One (SIST1) 0x43 Read Only 4-78 SCSI Interrupt Stat us Zero (SIST0) 0x42 Read Only 4-76.
A-6 Register Summary.
LSI53C8 75A PCI to Ultra SCSI Controller B-1 Appendix B External Memory Interface D iagram Examples Appen dix B has example e x ter nal mem or y interface diagrams.
B-2 External Memor y Interf ace Diagram Exam ples Figure B.2 64 Kb yte Interface wi th 150 ns Memory LSI53C875A 27C512-15/ MOE/ OE MCE/ CE D0 8 MAD[7:0] Bus CK Q0 8 A[7:0] QE 6 A[15:8] V DD MAS0/ MAS1/ Note: MAD 3, 1, 0 pulled LOW internally . MAD bus sense logic enabled f or 64 Kbyte of fast memory (150 ns devices @ 33 MHz).
External Memory Interfa c e Diagr am Example s B-3 Figure B.3 128 Kbytes, 256 Kb y tes, 512 Kbytes, or 1 Mb yt e Interface wit h 150 ns Memor y LSI53C875A 27C020-15/ MOE/ OE MCE/ CE 8 MAD[7:0] Bus 8 A[7:0] 6 A[15:8] V DD MAS0/ MAS1/ Note: MAD[2:0] pulled LOW internally .
B-4 External Memor y Interf ace Diagram Exam ples Figure B.4 512 Kb yte Interface wit h 150 ns Memory OE WE D[7:0] A0 A16 . . . LSI53C875A MOE/ 8 MAD[7:0] Bus A[7:0] D0 CK Q0 QE 8 A[15:8] V DD MAS0/ MAS1/ Note: MAD2 pulled LOW internally .
LSI53C8 75A PCI to Ultra SCSI Controller IX-1 Inde x Sym bol s (64TIMO D) 4-97 (A7) 5-23 (AAP) 4-2 2 (ABRT) 4-40 , 4-48 (ACK) 4-37 , 4- 39 (ADB) 4-23 (ADCK) 4-60 (ADDER) 4-73 (AESP) 4-24 (AIP) 4-43 (A.
IX-2 Inde x (ERBA) 4-1 2 (ERL) 4-67 (ERMP) 4- 68 (ESA) 4-1 06 (EWS) 4-29 (EXC) 4-2 3 (EXT) 4-90 (FBL3) 4- 59 (FE) 4- 82 (FF[3:0] ) 4-43 (FF4) 4-46 (FFL) 4-53 (FLF) 4-56 (FLSH) 4-51 (FM) 4-56 (FMT) 4-5.
Inde x IX-3 (SGE) 4-7 4 , 4-77 (SI) 4-51 (SID) 4-11 (SIEN0) 4- 73 (SIEN1) 4- 75 (SIGP) 4- 49 , 4-54 (SIOM) 4-67 (SIP) 4-50 (SIR) 4-40 (SIST0) 4-76 (SIST1) 4-78 (SLB) 4-8 9 (SLPAR) 4-79 (SLPHBEN) 4-27 .
IX-4 Inde x burst (C ont.) length ( BL[1:0]) 4-66 length b it 2 (BL2) 4-61 opcode fet ch enab le (BO F) 4-6 8 size selection 2-6 bus command and byte en ables 3- 5 fault (BF ) 4-40 , 4-69 byte count 5.
Inde x IX-5 DMA interrupt ( Cont.) pendin g (DIP ) 4-50 mode ( DMODE ) 4-66 SCRIPTS pointer ( DSP) 4-64 pointer save (DSPS) 4- 65 status ( DSTAT) 4- 39 DMA next address (DNAD) 4-64 addres s 64 (DNAD 6.
IX-6 Inde x IDSEL 2-3 , 3-6 signal 2- 5 illegal instruction detec ted (IID) 4-40 , 4-6 9 immedia te arbitra tion (IARB) 4-2 4 data 5-23 indirect add ressi ng 5-6 initialization de vice select 3-6 init.
Inde x IX-7 memory ( Cont .) read lin e comm and 2- 6 read multiple 2-10 , 2-11 read multiple command 2-6 space 2-2 , 2-3 to memo ry 2- 16 to memo ry moves 2-1 6 write 2-10 , 2-11 write and invalidate.
IX-8 Inde x reset 3-4 input 6- 10 SCSI offset (ROF) 4-89 response ID one (RESPID1) 4-86 response ID zero (RESPID0) 4-86 return inst ruction 5-27 revision ID (RID) 4-6 ROM flash and memory interface si.
Inde x IX-9 SEL 2-39 select 2-17 instruction 5-16 with ATN/ 5-20 with SAT N/ on a sta rt sequ ence (W ATN) 4- 22 selected (SEL) 4-7 4 , 4-77 selection or reselectio n time-o ut (STO ) 4-75 , 4-79 sele.
IX-10 Inde x Ultra SCSI (Cont.) single-e nded tr ansfers 20.0 Mbyte s (16-b it transf ers) quadrupl ed 40 M Hz clock 6-56 20.0 Mb ytes (8-b it trans fers ) 40 MHz clo ck 6-56 synchro nous da ta tran s.
Customer Fee dbac k W e would appreci ate your f e edback on this document. P lease copy the f o llowing pa ge, add your comm ents, and fax it to us at the number shown. If approp riat e, please als o fax copies of any m arked-up pa ges from this document .
Cust omer Feedb ack Read er’ s Comme nts F ax your comment s to: LSI Logic Cor poration T echni cal Publica tio ns M/S E-198 F ax: 408 .433.43 33 Please tell us how you rate this do cument: LSI53C875 A PCI to Ultra SCSI Co ntrolle r T ech nical Manual.
U .S. D ist ribut ors by S t at e A. E. A vnet Electronics http://www .hh.avnet.co m B. M. Bell Mic roproduct s, Inc. (for HAB’ s) http://www .bellmicro.com I. E. Insig ht Electronics http://www .insight-electronics .com W . E. W yle Electronics http://www .
U .S. D ist ribut ors by S t at e (Co ntinu e d) New Y ork Hauppa uge I. E. T el: 516.7 61.096 0 Long I sland A. E. T el: 51 6.434 .7400 W . E. T el : 800.861 .9953 Rochester A. E. T el: 71 6.475 .9130 I. E. T el: 716.2 42.779 0 W . E. T el : 800.319 .
Direct Sales Representatives b y State (Component and HAB) E. A. Earle Associate s E. L. Electrody ne - UT GRP Group 20 00 I. S. Infinity Sa les, Inc. ION ION Associat es, Inc. R. A. Rath sburg Associ- ates, Inc. SGY Syne rgy Associates, Inc. Arizona Te m p e E.
Sales Off ices and Design Resource Center s LSI Log ic Corpor ation Corpo rate Headqua r ters 1551 McCarthy Blvd Milpitas CA 95 035 T el: 40 8.433.800 0 Fax: 408.433.8 989 NORTH AMERICA California Irvin e 18301 V on Karman Av e Suite 900 Irvine, CA 92612 ♦ T el: 949.
Sales Off ices and Design Resource Center s (Co ntinu e d) Ko re a Seoul LSI Logic C orporat ion of Ko re a L t d 10th Fl., Haesung 1 B ldg. 942, Daechi- dong, Kangnam-k u, Seoul, 135-283 T el: 82.
International Distr ibut ors Au st r a l i a New South W a les Rept echni c Pty Ltd 3/36 Bydo wn Street Neutr al Bay , NSW 2089 ♦ T el: 612.99 53.984 4 F a x: 612.995 3.968 3 Belgium Acal nv/sa Lozenber g 4 1932 Za ventem T el: 32.2. 720598 3 F a x: 32.
An important point after buying a device LSI 53C875A (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought LSI 53C875A yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data LSI 53C875A - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, LSI 53C875A you will learn all the available features of the product, as well as information on its operation. The information that you get LSI 53C875A will certainly help you make a decision on the purchase.
If you already are a holder of LSI 53C875A, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime LSI 53C875A.
However, one of the most important roles played by the user manual is to help in solving problems with LSI 53C875A. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device LSI 53C875A along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center