Zilog Z16C30 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Senzory Zilog Z16C30. Zilog Z16C30 User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - User’s Manual

ZiLOG Worldwide Headquarters • 910 E. Hamilton Avenue • Campbell, CA 95008Telephone: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.comZ16C30USCUser’s M

Strany 2

Z16C30 USC®USER'S MANUALviZILOGUM97USC0100FIGURE TITLES PAGEChapter 1Figure 1-1. USC Logic Symbol ...

Strany 3 - USER'S MANUAL

5-33Z16C30 USC®USER'S MANUALZILOGUM97USC0100TCLRNon-ZeroDetectEnable TCC(FromCommand-DrivenLogic)TxFIFOLDEOF/EOM0001DetectCounter (TCCR)LDDN(SeeT

Strany 4

5-34Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.19.1 The Character Counters (Continued)RCLRNon-ZeroDetectEnable TCCCounterLDON(SeeText)Rx CharClkD

Strany 5 - TABLE OF CONTENTS

5-35Z16C30 USC®USER'S MANUALZILOGUM97USC0100On the Receive side, software can’t directly read the RCC(except perhaps by using test modes that are

Strany 6

5-36Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.19 DMA SUPPORT FEATURES (Continued)If software has enabled the RCC, and a frame or messageends whe

Strany 7

5-37Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Reserved(0)Wait4RxTrigRxStatBlkAsync:TxShaveLSync:TxPreL Sync:TxP

Strany 8

5-38Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.19.4 Receive Status BlocksA USC Receiver sets the RxBound bit in the RxFIFO toindicate the end of

Strany 9

5-39Z16C30 USC®USER'S MANUALZILOGUM97USC0100The only trouble with the 32-bit RSB option is that softwarehas to know how long each received frame

Strany 10 - FIGURE TITLES PAGE

5-40Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.20 COMMANDSCommands are encoded values that software writes to aregister field to change the state

Strany 11

5-41Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015RTCmdRTResetRTModeChanLoadB//WRegAddrU//LFigure 5-19. The Channe

Strany 12

5-42Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.20 COMMANDS (Continued)Enter Hunt Mode (RCmd:=0011): this command forcesthe Receiver into “Hunt Mo

Strany 13 - TABLE TITLES PAGE

Z16C30 USC®USER'S MANUALviiZILOGUM97USC0100FIGURE TITLES PAGEChapter 5Figure 5-1. Asynchronous Data ...

Strany 14 - CHAPTER 1

5-43Z16C30 USC®USER'S MANUALZILOGUM97USC0100Select RICRHi=/INT Level (RCmd:=0110): this commandconditions a channel so that subsequent accesses t

Strany 15

5-44Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.20 COMMANDS (Continued)Trigger Channel Load DMA (RTCmd:=00100): Chapter 7will describe how this co

Strany 16

5-45Z16C30 USC®USER'S MANUALZILOGUM97USC01005.22 THE DATA REGISTERS AND THE FIFOSWhen the RxFIFO contains received characters, softwarecan read

Strany 17

5-46Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.22.4 DMA and Interrupt Request LevelsThe USC channels continually compare the contents of theFill

Strany 18

5-47Z16C30 USC®USER'S MANUALZILOGUM97USC01005.23 HANDLING OVERRUNS AND UNDERRUNSIn general, both the Tx Underrun condition in the TCSR andthe Rx

Strany 19

5-48Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.23 HANDLING OVERRUNS AND UNDERRUNS (Continued)3. On an USC manufactured after June of 1993, write

Strany 20

5-49Z16C30 USC®USER'S MANUALZILOGUM97USC01005.24 BETWEEN FRAMES, MESSAGES, OR CHARACTERS5.24.1 Synchronous TransmissionWhen software issues a “

Strany 21

5-50Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.24 BETWEEN FRAMES, MESSAGES, OR CHARACTERS (Continued)In sync modes, once the conditions to start

Strany 22

5-51Z16C30 USC®USER'S MANUALZILOGUM97USC01005.24.3 Synchronous ReceptionBetween the end of one message or frame and the start ofthe next, the Re

Strany 23

5-52Z16C30 USC®USER'S MANUALUM97USC0100ZILOGZilog’s products are not authorized for use as critical compo-nents in life support devices or system

Strany 24

Z16C30 USC®USER'S MANUALviiiZILOGUM97USC0100FIGURE TITLES PAGEChapter 7Figure 7-1. An Interrupt Daisy Chain ...

Strany 25

6-1Z16C30 USC®USER'S MANUALZILOGUM97USC01006.1 INTRODUCTIONUSER’s MANUALCHAPTER 6DIRECT MEMORY ACCESS (DMA)INTERFACINGChapter 5 described many o

Strany 26

6-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOG6.2 FLYBY VS. FLOWTHROUGH DMA OPERATION (Continued)DMACMemory DevicedataREQDMACMemory DevicedataREQAd

Strany 27 - CHAPTER 2

6-3Z16C30 USC®USER'S MANUALZILOGUM97USC0100DMACMemory DevicedataREQDMACMemory DevicedataREQAddressData Register in DeviceMemory Location/RDDatafr

Strany 28

6-4Z16C30 USC®USER'S MANUALUM97USC0100ZILOG6.2 FLYBY VS. FLOWTHROUGH DMA OPERATION (Continued)Figure 6-3. Flyby DMA Transfer, Memory to Periphe

Strany 29

6-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100Figure 6-4. *Flyby DMA Transfer, Peripheral Device to MemoryDMACMemory DeviceREQAddressMemory Locatio

Strany 30

6-6Z16C30 USC®USER'S MANUALUM97USC0100ZILOG6.2 FLYBY VS. FLOWTHROUGH DMA OPERATION (Continued)Figures 6-3 and 6-4 illustrate flyby (single-cycle

Strany 31 - RD* or WR*

6-7Z16C30 USC®USER'S MANUALZILOGUM97USC0100“Forcing out a frame” in D1. above applies only in HDLC/SDLC, HDLC/SDLC Loop, 802.3, or Transparent Bi

Strany 32

6-8Z16C30 USC®USER'S MANUALUM97USC0100ZILOG6.3.1 Programming the DMA Request Levels (Continued)Code that writes or reads a DMA Request threshold

Strany 33

6-9Z16C30 USC®USER'S MANUALZILOGUM97USC0100Zilog’s products are not authorized for use as critical compo-nents in life support devices or systems

Strany 34

7-1Z16C30 USC®USER'S MANUALZILOGUM97USC01007.1 INTRODUCTIONUSER’s MANUALCHAPTER 7INTERRUPTSThe interrupt subsystem of the USC derives from Zilog

Strany 35

Z16C30 USC®USER'S MANUALixZILOGUM97USC0100TABLE TITLES PAGEChapter 1Table 1-1. Bus Interfacing Features of the USC ...

Strany 36

7-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.2 INTERRUPT ACKNOWLEDGE DAISY-CHAINS (Continued)7.3 EXTERNAL INTERRUPT CONTROL LOGICThere are two

Strany 37

7-3Z16C30 USC®USER'S MANUALZILOGUM97USC01007.4 USING /RXREQ AND /TXREQ AS INTERRUPT REQUESTSWhen an external DMA controller isn’t used to handle

Strany 38

7-4Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.5 INTERRUPT TYPES AND SOURCESInternally, the USC uses a daisy-chaining scheme muchlike that describ

Strany 39

7-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100Figure 7-3. USC Interrupt Types and SourcesExited HuntIAIdle ReceivedIABreak/AbortIARx BoundaryIAAbor

Strany 40

7-6Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.6 INTERNAL INTERRUPT OPERATIONFigure 7-4 presents a model of the typical internal structureof the i

Strany 41

7-7Z16C30 USC®USER'S MANUALZILOGUM97USC0100/tIUS/IACKcyTo IEO orNext-Lower-PriorityTypetIEADnbWRREGbResetDQ/QCLRFrom OtherTypes/INTMIEFrom IEI pi

Strany 42

7-8Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.7 DETAILS OF THE MODELThe IA and IE bits appear near the left side of Figure 7-4,as D-type flip-flo

Strany 43

7-9Z16C30 USC®USER'S MANUALZILOGUM97USC01007.8 INTERRUPT OPTION IN THE BCROne bit in the Bus Configuration Register (BCR) affects theinterrupt s

Strany 44

7-10Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.9 INTERRUPT ACKNOWLEDGE CYCLES (Continued)AD15-AD0(not used) vector/SITACK/ASIEOIEI/DS OR /RD/WAIT

Strany 45 - CHAPTER 3

7-11Z16C30 USC®USER'S MANUALZILOGUM97USC0100Figure 7-6 shows an interrupt acknowledge cycle that’ssignalled by /SITACK, on a bus with separate ad

Strany 46

1-1Z16C30 USC®USER'S MANUALZILOGUM97USC01001.1 INTRODUCTIONUSER’s MANUALCHAPTER 1INTRODUCTIONThe Universal Serial Controller (USC®) is the next-

Strany 47

7-12Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.9 INTERRUPT ACKNOWLEDGE CYCLES (Continued)Figure 7-7 shows the kind of interrupt acknowledge cycle

Strany 48

7-13Z16C30 USC®USER'S MANUALZILOGUM97USC0100Figure 7-8 shows the kind of interrupt acknowledge cyclethat the USC expects when /PITACK goes low an

Strany 49

7-14Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.10 INTERRUPT ACKNOWLEDGE VS. READ CYCLESInterrupt Acknowledge cycles are similar to the cycles tha

Strany 50 - CHAPTER 4

7-15Z16C30 USC®USER'S MANUALZILOGUM97USC0100Abort/PE If the IA bit for this source is 1, the interruptlogic sets the RS IP bit when software orth

Strany 51

7-16Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.11.2 Receive Data Interrupts (Continued)To program the Receive Data Interrupt Request Level, first

Strany 52

7-17Z16C30 USC®USER'S MANUALZILOGUM97USC0100Start: Interrupt withVector = "Rx Data"CT=0?Clear the RD IP bit(write 9016to DCCR7-0)YesRe

Strany 53

7-18Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.11.2 Receive Data Interrupts (Continued)7.11.3 Transmit Status Interrupt Sourcesand IA BitsThe in

Strany 54

7-19Z16C30 USC®USER'S MANUALZILOGUM97USC0100the corresponding bit in the Transmit Command/StatusRegister (TCSR) goes from 0 to 1. If an IA bit is

Strany 55

7-20Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.11.5 I/O Pin Interrupt Sources and IA BitsThe interrupt logic can set the I/O Pin IP bit in respon

Strany 56

7-21Z16C30 USC®USER'S MANUALZILOGUM97USC01007.12 INTERRUPT PENDING AND UNDER SERVICE BITSSoftware can read, set, and clear the Interrupt Pending

Strany 57

1-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOG1.3 LOGIC SYMBOLZ16C30USC/RESET/CSA//BD//C/AS/RxCA,B/TxCA,BRxDA,B/CTSA,B/DCDA,BAD15-AD0/WAIT//RDY/INT

Strany 58

7-22Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.14 CHANNEL INTERRUPT OPTIONSFigure 7-17 shows that the MSByte of the Interrupt ControlRegister (IC

Strany 59

7-23Z16C30 USC®USER'S MANUALZILOGUM97USC0100The Vector Includes Status field (VIS; ICR12-9) controlswhether the vector, that the channel returns

Strany 60

7-24Z16C30 USC®USER'S MANUALUM97USC0100ZILOG7.15 INTERRUPT VECTORS (Continued)7.16 SOFTWARE REQUIREMENTS14 13 12 11 10 9 8 7 6 5 4 3 2 1 015Int

Strany 61

7-25Z16C30 USC®USER'S MANUALZILOGUM97USC01007.16.3 Handling a TypeThe process of handling a single type of interrupt is thesame regardless of wh

Strany 62

7-26Z16C30 USC®USER'S MANUALUM97USC0100ZILOGc. The hardware automatically tags the character thatcorresponds to decrementing the TCC from 1 to 0.

Strany 63

7-27Z16C30 USC®USER'S MANUALZILOGUM97USC0100Not using the TCC:a. Software doesn’t need to do anything special to theUSC at the start of a frame,

Strany 64

8-1Z16C30 USC®USER'S MANUALZILOGUM97USC01008.1 INTRODUCTIONUSER’s MANUALCHAPTER 8SOFTWARE SUMMARYThis chapter includes a bit by bit description

Strany 65

8-2Z16C30 USC®USER'S MANUALZILOGUM97USC01008.3 PROGRAMMING ORDERUSC® family members aren’t as particular about the orderin which software progra

Strany 66

8-3Z16C30 USC®USER'S MANUALZILOGUM97USC01008.5 DETERMINING THE DEVICE REVISION LEVELZilog makes every effort to improve devices like the 16C30wh

Strany 67

8-4Z16C30 USC®USER'S MANUALZILOGUM97USC01008.6.2 COMMON SOFTWARE PROBLEMS (Continued)S2. WordStatus problemsIn general, software wants to progr

Strany 68 - CHAPTER 5

1-3Z16C30 USC®USER'S MANUALZILOGUM97USC01001.4 PACKAGINGZ16C30 USC(Top View)1011121314151617181920212223242526605958575655545352515049484746454

Strany 69

8-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100S7. Interrupt handlingA new section at the end of Chapter 7 gives specificrequirements for each type

Strany 70

8-6Z16C30 USC®USER'S MANUALZILOGUM97USC01008.7 TEST MODESThe USC includes a facility intended for Zilog’s devicetesting, that gives software acc

Strany 71

8-7Z16C30 USC®USER'S MANUALZILOGUM97USC0100D7 D6 D5 D4 D3 D2 D1 D0D15 D14 D13 D12 D11 D10 D9 D80RxC Pad OutputCTR0 Enable/Rx ClockCTR0 Clock/Tx C

Strany 72

8-8Z16C30 USC®USER'S MANUALZILOGUM97USC01008.7 TEST MODES (Continued)D7 D6 D5 D4 D3 D2 D1 D0D15 D14 D13 D12 D11 D10 D9 D80TxC PadRx Sync/Rx Cloc

Strany 73

8-9Z16C30 USC®USER'S MANUALZILOGUM97USC0100D7 D6 D5 D4 D3 D2 D1 D0D15 D14 D13 D12 D11 D10 D9 D8BRG0 ZC Status LatchBRG1 ZC Status LatchDPLL Sync

Strany 74

8-10Z16C30 USC®USER'S MANUALZILOGUM97USC01008.8 REGISTER REFERENCEThe following pages include all of the fields in all of theregisters in one of

Strany 75

8-11Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Reserved (Must be zero)Bus Configuration Register (BCR) No Addres

Strany 76

8-12Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015RTCmdChannel Command/Address Register (CCAR) Register Address 0

Strany 77

8-13Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015ClearRCCFChannel Command/Status Register (CCSR) Register Address

Strany 78

8-14Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Wait4Tx TrigChannel Control Register (CCR) Register Address 0 b 0

Strany 79

1-4Z16C30 USC®USER'S MANUALUM97USC0100ZILOG1.5 OVERVIEW OF THE USC AND THIS MANUALThe following descriptions and Tables should be helpful ininit

Strany 80

8-15Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015TxSubModeChannel Mode Register (CMR) Register Address 0 b 00001Tx

Strany 81

8-16Z16C30 USC®USER'S MANUALZILOGUM97USC0100Bit(s)Field/BitNameConditions/ContextDescriptionRWStatusRef Chapter: SectionChannel Mode Register (CM

Strany 82

8-17Z16C30 USC®USER'S MANUALZILOGUM97USC0100Bit(s)Field/BitNameConditions/ContextDescriptionRWStatusRef Chapter: SectionCMR11-8Channel Mode Regis

Strany 83

8-18Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015BRG0SrcClock Mode Control Register (CMCR) Register Address 0 b 0

Strany 84

8-19Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015IOPIUSDaisy Chain Control Register (DCCR) Register Address 0 b 01

Strany 85

8-20Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015CTR0DivHardware Configuration Register (HCR) Register Address 0

Strany 86

8-21Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015CTSModeInput/Output Control Register (IOCR) Register Address 0 b

Strany 87

8-22Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015MIEInterrupt Control Register (ICR) Register Address 0 0 b 01100B

Strany 88

8-23Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Interrupt Vector7-4 (RO)Interrupt Vector Register (IVR) Register

Strany 89

8-24Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015RxCL/UMiscellaneous Interrupt Status Register (MISR) Register Add

Strany 90

1-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100Table 1-1 Bus Interfacing Features of the USC (Chapter 2)Multiplexed or Separate Address and Data Bus

Strany 91

8-25Z16C30 USC®USER'S MANUALZILOGUM97USC0100Bit(s)Field/BitNameConditions/ContextDescriptionRWStatusRef Chapter: SectionRCCR15-014 13 12 11 10 9

Strany 92

8-26Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Rcmd (WO)Receive Command/Status Register (RCSR) Register Address

Strany 93

8-27Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Starting value for Receive Character CounterReceive Count Limit R

Strany 94

8-28Z16C30 USC®USER'S MANUALZILOGUM97USC0100"RxFIFO Status" if last RCSR15-12 command 4-7 was 5"Rx Int level" if last RCSR15

Strany 95

8-29Z16C30 USC®USER'S MANUALZILOGUM97USC0100RxDecodeReceive Mode Register (RMR) Register Address 0 b 10001RxParEnabRxCRCTypeRxCRCStartRxCRCEnabQA

Strany 96

8-30Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015RxCDnIAStatus Interrupt Control Register (SICR) Register Address

Strany 97

8-31Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Test Register selected by TMCR4-0Test Mode Data Register (TMDR) R

Strany 98

8-32Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Current value of Transmit Character CounterTransmit Character Cou

Strany 99

8-33Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015TCmdTransmit Command/Status Register (TCSR) Register Address 0 b

Strany 100 - UM009402-0201

8-34Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015Transmit character: write only using 16-bit operationTransmit Dat

Strany 101

1-6Z16C30 USC®USER'S MANUALUM97USC0100ZILOG1.5.6 Software Summary (Continued)Table 1-2. Serial Interfacing Features of the USC (Chapter 4)Clock

Strany 102

8-35Z16C30 USC®USER'S MANUALZILOGUM97USC0100"TxFIFO Status" if last TCSR15-12 command 4-7 was 5"Tx/Int level" if last TCSR15-

Strany 103

8-36Z16C30 USC®USER'S MANUALZILOGUM97USC010014 13 12 11 10 9 8 7 6 5 4 3 2 1 015TxEncodeTransmit Mode Register (TMR) Register Address 0 b 11001B

Strany 104

8-37Z16C30 USC®USER'S MANUALZILOGUM97USC0100Zilog’s products are not authorized for use as critical compo-nents in life support devices or system

Strany 105

A-1Z16C30 USC®USER'S MANUALZILOGUM97USC0100A.1 INTRODUCTIONUSER’s MANUALAPPENDIX AAPPENDIX CHANGESThis is for the reader of previous USC documen

Strany 106

A-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOGJune 1993 Changes1. HDLC/SDLC Abort status can be queued with re-ceived characters (p. 5-33).2. Receiv

Strany 107

B-1Z16C30 USC®USER'S MANUALZILOGUM97USC0100USER’s MANUALAPPENDIX BQUESTIONS & ANSWERSUSC FAMILY QUESTIONS AND ANSWERSThe following is a compi

Strany 108

B-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOGGeneral Questions and Answers (Continued)Q: New and old samples of the USC act differently whenprogram

Strany 109

B-3Z16C30 USC®USER'S MANUALZILOGUM97USC01000 of the data bus. Similarly, data to be written to thehigh order byte (D15-8) should be on AD15-8. Re

Strany 110

B-4Z16C30 USC®USER'S MANUALUM97USC0100ZILOGSERIAL & PROTOCOL QUESTIONS AND ANSWERS (Continued)Q: Running asynchronous mode, how do you progra

Strany 111

B-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100Q: With the DPLL, what is the purpose of multiple possi-bilities of divisors?A: The DPLL is used to re

Strany 112

Z16C30USCUM009402-0201This publication is subject to replacement by a later edition. To determine whether a lateredition exists, or to request copies

Strany 113

1-7Z16C30 USC®USER'S MANUALZILOGUM97USC0100Table 1-3. Serial Controller Features of the USCMajor Protocol Categories Chapter 4 begins with a sma

Strany 114

B-6Z16C30 USC®USER'S MANUALUM97USC0100ZILOGSERIAL & PROTOCOL QUESTIONS AND ANSWERS (Continued)Q: Is there a minimum length for HDLC/SDLC fram

Strany 115

B-7Z16C30 USC®USER'S MANUALZILOGUM97USC0100Q: Does the Purge Rx FIFO command clear the ReceiveCharacter Counter?A: No, the Purge Rx FIFO command

Strany 116

B-8Z16C30 USC®USER'S MANUALUM97USC0100ZILOGSERIAL & PROTOCOL QUESTIONS AND ANSWERS (Continued)Q: The Transmit Control Block is being sent as

Strany 117

B-9Z16C30 USC®USER'S MANUALZILOGUM97USC0100Q: When the DMA in the IUSC reads external memory forarray or linked-list table information, does it a

Strany 118

B-10Z16C30 USC®USER'S MANUALUM97USC0100ZILOGDMA QUESTIONS AND ANSWERS (Continued)Q: Since the Receive Status Block is appended to the endof the d

Strany 119

B-11Z16C30 USC®USER'S MANUALZILOGUM97USC0100Q: Are there some rules of thumb to tune the device forperformance problems?A: If you are experiencin

Strany 120 - CHAPTER 6

B-12Z16C30 USC®USER'S MANUALUM97USC0100ZILOGINTERRUPT QUESTIONS AND ANSWERSDMA QUESTIONS AND ANSWERS (Continued)Q: Why is the /BIN input sampled

Strany 121

B-13Z16C30 USC®USER'S MANUALZILOGUM97USC0100Q: The IUSC Technical Manual states that /DS and/INTACK should never be active at the same time.Howev

Strany 122

B-14Z16C30 USC®USER'S MANUALUM97USC0100ZILOGZilog’s products are not authorized for use as critical compo-nents in life support devices or system

Strany 123

1-8Z16C30 USC®USER'S MANUALUM97USC0100ZILOGTable 1-4. More Serial Controller Features of the USCTransmit Control Blocks A Transmit DMA channel c

Strany 124

1-9Z16C30 USC®USER'S MANUALZILOGUM97USC0100Table 1-5. DMA Features of the USCFlowthrough or Flyby The USC can be used with DMA controllers in a

Strany 125

1-10Z16C30 USC®USER'S MANUALUM97USC0100ZILOGTable 1-6. Interrupt Features of the USCInterrupt AcknowledgeDaisy Chaining was one of Zilog’s origi

Strany 126

1-11Z16C30 USC®USER'S MANUALZILOGUM97USC0100Serial ClockLogicDPLLCountersBRG0, BRG1TransmitterInterruptControlInterruptControlBusInterfaceReceive

Strany 127

1-12Z16C30 USC®USER'S MANUALUM97USC0100ZILOG1.6 DEVICE STRUCTUREFigure 1-1 shows the basic structure of the USC. The BusInterface module stands

Strany 128

1-13Z16C30 USC®USER'S MANUALZILOGUM97USC01001.7 DOCUMENT STRUCTUREThe Chapters in this manual attempt to provide the first-time reader with a st

Strany 129 - CHAPTER 7

2-1Z16C30 USC®USER'S MANUALZILOGUM97USC01002.1 INTRODUCTIONUSER’s MANUALCHAPTER 2BUS INTERFACINGThe USC® can be used in systems with various mic

Strany 130

2-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOG2.2 MULTIPLEXED/NON-MULTIPLEXED OPERATION (Continued)68000D15:D0/ASUSCAD15:AD0/ASVCCFigure 2-3. User

Strany 131

2-3Z16C30 USC®USER'S MANUALZILOGUM97USC01002.3 READ/WRITE DATA STROBESAnother difference among host buses is the way in whichread and write cycl

Strany 132

Z16C30 USC® USER'S MANUALSUPPLEMENTARY INFORMATIONZILOGUM97USC0100Z16C30 USC® USER'S MANUALThank you for your interest in Zilog's high-

Strany 133

2-4Z16C30 USC®USER'S MANUALUM97USC0100ZILOG2.4 BUS WIDTHAnother major difference among host buses is the numberof data bits that can be transfer

Strany 134

2-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100RD* or WR*or DS*WAIT*ACK*ReadyFigure 2-6. A Fast and Slow Cycle, with Three Kinds of Handshaking2.6

Strany 135

2-6Z16C30 USC®USER'S MANUALUM97USC0100ZILOG2.6 PIN DESCRIPTIONS (Continued)R//W. Read/Write control (input, low signifies “write”).R//W and /DS

Strany 136

2-7Z16C30 USC®USER'S MANUALZILOGUM97USC01002.7 PULL-UP RESISTORS AND UNUSED PINSAll unused input pins should be pulled up, either byconnecting t

Strany 137

2-8Z16C30 USC®USER'S MANUALUM97USC0100ZILOG2.8.2 Bits and Fields in the BCR (Continued)16-Bit (BCR2): this bit should be written as 1 when the h

Strany 138

2-9Z16C30 USC®USER'S MANUALZILOGUM97USC0100Whenever it uses CCAR as an indirect address, the USCthereafter clears CCAR6-0 to zero, so that the ne

Strany 139

2-10Z16C30 USC®USER'S MANUALUM97USC0100ZILOG2.9.5 About the Register Address TablesTables 2-1 and 2-2 show the names and addresses of theaddress

Strany 140

2-11Z16C30 USC®USER'S MANUALZILOGUM97USC0100Figure 2-9. USC Register AddressingActivityon /AS afterReset?SEPAD(BCR15)Start: Host Cyclewith /CS

Strany 141

2-12Z16C30 USC®USER'S MANUALUM97USC0100ZILOG2.9 Register Addressing (Continued)Table 2-1. USC Registers, in Address Order

Strany 142

2-13Z16C30 USC®USER'S MANUALZILOGUM97USC0100Table 2-2. USC Registers, in Alphabetical OrderCCAR6-0 Indirect Address Channel AReg

Strany 143

Z16C30 USC® USER'S MANUALSUPPLEMENTARY INFORMATIONUM97USC0100ZILOGDemonstration/Evaluation Boards (Continued)Z16C3001ZCO - This kit contains an a

Strany 144

2-14Z16C30 USC®USER'S MANUALUM97USC0100ZILOG2.9.6 Serial Data Registers TDR and RDRThe RDR and TDR are actually “the read and write sides of”the

Strany 145

2-15Z16C30 USC®USER'S MANUALZILOGUM97USC0100ADnnAddressDataA//B, D//C/CS/SITACK/PITACK,/WR,(/RD OR /DS),DMA Acknowledge signals/ASR//W(Required w

Strany 146

2-16Z16C30 USC®USER'S MANUALUM97USC0100ZILOG2.9.7 Register Read and Write Cycles (Continued)ADnnA//B, D//C/CS/SITACK/PITACK, /RD,(/WR or /DS),DM

Strany 147

2-17Z16C30 USC®USER'S MANUALZILOGUM97USC0100DataADnnA//B, D//C/CS/SITACK/PITACK, /WR, (/RD OR /DS),DMA Acknowledge signalsR//W/DS or /RD/WAIT//RD

Strany 148

2-18Z16C30 USC®USER'S MANUALUM97USC0100ZILOGDataADnnA//B,D//C/CS/SITACK/PITACK,/AS,/RD,(/WR or /DS),DMA Acknowledge signalsR//W/DS or /WR/WAIT//R

Strany 149

3-1Z16C30 USC®USER'S MANUALZILOGUM97USC01003.1 INTRODUCTIONUSER’s MANUALCHAPTER 3A SAMPLE APPLICATIONFigures 3-1 and 3-2 are schematics of a sim

Strany 150

3-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOG3.1 INTRODUCTION (Continued)Figure 3-1. Sample ApplicationUM009402-0201

Strany 151

3-3Z16C30 USC®USER'S MANUALZILOGUM97USC0100Figure 3-2. Serial Interface for Sample ApplicationUM009402-0201

Strany 152

3-4Z16C30 USC®USER'S MANUALUM97USC0100ZILOG3.1 INTRODUCTION (Continued)U7-9 are octal latches that capture the address from the186 and present t

Strany 153

3-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100Zilog’s products are not authorized for use as critical compo-nents in life support devices or systems

Strany 154

Z16C30 USC®USER'S MANUALiZILOGUM97USC0100TABLE OF CONTENTSChapter 1 Introduction1.1 Introduction ...

Strany 155

4-1Z16C30 USC®USER'S MANUALZILOGUM97USC01004.1 INTRODUCTIONUSER’s MANUALCHAPTER 4SERIAL INTERFACINGThe USC® includes several serial interface op

Strany 156 - CHAPTER 8

4-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOG4.3 TRANSMIT AND RECEIVE CLOCKINGThe USC’s Receiver and Transmitter logic have separateinternal clock

Strany 157

4-3Z16C30 USC®USER'S MANUALZILOGUM97USC0100CMCR13-12CTR00123MUXQ4Q3Q2Q1Q00123MUXHCR15-14RxCTxCCMCR15-14CTR00123MUXQ4Q3Q2Q1Q00123MUX01MUXHRC13DREF

Strany 158

4-4Z16C30 USC®USER'S MANUALUM97USC0100ZILOG4.3.2 The Baud Rate Generators (Continued)RxCLKSrcCTR1Src14 13 12 11 10 9 8 7 6 5 4 3 2 1 015TxCLKSrc

Strany 159

4-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100The output of either Baud Rate Generator can be used asRxCLK and/or TxCLK. It can be used as the refer

Strany 160

4-6Z16C30 USC®USER'S MANUALUM97USC0100ZILOG4.3.5 Clocking for Asynchronous ModeFor asynchronous reception, transitions on RxCLK don’thave to hav

Strany 161

4-7Z16C30 USC®USER'S MANUALZILOGUM97USC01004.4 DATA FORMATS AND ENCODINGThe USC’s Transmitter and Receiver can handle data inany of the eight fo

Strany 162

4-8Z16C30 USC®USER'S MANUALUM97USC0100ZILOG4.4 DATA FORMATS AND ENCODING (Continued)In NRZI-Mark mode, at the start of each bit cell thetransmit

Strany 163

4-9Z16C30 USC®USER'S MANUALZILOGUM97USC0100In the Bi-phase-Level and Differential Bi-phase-Levelencodings, there is always a transition at the mi

Strany 164

4-10Z16C30 USC®USER'S MANUALUM97USC0100ZILOG4.5 MORE ABOUT THE DPLL (Continued)After software sets up the DPLL, three bits in the ChannelCommand

Strany 165

Z16C30 USC®USER'S MANUALiiZILOGUM97USC0100CHAPTER TITLE AND SUBSECTIONS PAGEChapter 3 A Sample Introduction3.1 Introduction ...

Strany 166

4-11Z16C30 USC®USER'S MANUALZILOGUM97USC0100The RTMode field of the Channel Command/Addressregister (CCAR9-8) controls the relationship between

Strany 167

4-12Z16C30 USC®USER'S MANUALUM97USC0100ZILOG4.7 EDGE DETECTION AND INTERRUPTS (Continued)While an L/U bit is 1, the state of the associated data

Strany 168

4-13Z16C30 USC®USER'S MANUALZILOGUM97USC01004.8 THE /DCD PINThe DCDMode field of the I/O Control Register (IOCR13-12) controls the function of t

Strany 169

4-14Z16C30 USC®USER'S MANUALUM97USC0100ZILOG4.8 THE /DCD PIN (Continued)/DCDRxCLK(/RxC)RxD (Async, 9-BitACV/1553BRxD (Isochronous)RxD (External

Strany 170

4-15Z16C30 USC®USER'S MANUALZILOGUM97USC01004.9 THE /CTS PINThe CTSMode field of the I/O Control Register (IOCR15-14) controls the function of t

Strany 171

4-16Z16C30 USC®USER'S MANUALUM97USC0100ZILOG4.10 THE /RXC AND /TXC PINSFigure 4-1 shows each channel’s options for the function ofits /RxC and /

Strany 172

4-17Z16C30 USC®USER'S MANUALZILOGUM97USC01004.11 THE /RXREQ AND /TXREQ PINSThe RxRMode and TxRMode fields of the I/O ControlRegister (IOCR9-8 a

Strany 173

4-18Z16C30 USC®USER'S MANUALUM97USC0100ZILOGZilog’s products are not authorized for use as critical compo-nents in life support devices or system

Strany 174

5-1Z16C30 USC®USER'S MANUALZILOGUM97USC01005.1 INTRODUCTIONUSER’s MANUALCHAPTER 5SERIAL MODES AND PROTOCOLSThe main advantage of USC® family memb

Strany 175

5-2Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.2 ASYNCHRONOUS MODES (Continued)Minimum 1 Bit Time(except for "Shaving")5 to 8 Data Bits,

Strany 176

Z16C30 USC®USER'S MANUALiiiZILOGUM97USC0100CHAPTER TITLE AND SUBSECTIONS PAGE5.15 HDLC/SDLC Loop Mode ...

Strany 177

5-3Z16C30 USC®USER'S MANUALZILOGUM97USC0100Synchronous applications vary considerably in terms ofthe line state between messages. In half-duplex

Strany 178

5-4Z16C30 USC®USER'S MANUALUM97USC0100ZILOGMay be Flags, Mark,Space, or Not DrivenDataFlag(7E)Flag(7E)CRCDataFlag(7E)FrameSuppose that the Data p

Strany 179

5-5Z16C30 USC®USER'S MANUALZILOGUM97USC0100This relatively simple technique allows transmission of anykind of data and assures uniqueness of the

Strany 180

5-6Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.5 THE MODE REGISTERS (CMR, TMR AND RMR) (Continued)Later sections describe each of these modes and

Strany 181

5-7Z16C30 USC®USER'S MANUALZILOGUM97USC01005.5.1 Enabling and Disabling the Receiverand TransmitterThe TxEnable and RxEnable fields (TMR1-0 and

Strany 182

5-8Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.5.2 Character Length (Continued)When RxLength is less than eight in synchronous modesincluding HDLC

Strany 183

5-9Z16C30 USC®USER'S MANUALZILOGUM97USC01005.6 ASYNCHRONOUS MODESoftware can select classic asynchronous operation forboth the Transmitter and t

Strany 184

5-10Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.6.1 Break ConditionsA Break condition is a period of Space (zero) state on anAsync line, that’s lo

Strany 185

5-11Z16C30 USC®USER'S MANUALZILOGUM97USC01005.8 NINE-BIT MODEThis mode is compatible with various equipment includingsome Intel single-chip micr

Strany 186

5-12Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.9 EXTERNAL SYNC MODESoftware can select this mode only for the Receiver, byprogramming the RxMode

Strany 187

Z16C30 USC®USER'S MANUALivZILOGUM97USC0100CHAPTER TITLE AND SUBSECTIONS PAGEChapter 7 Interrupts7.1 Introduction ...

Strany 188

5-13Z16C30 USC®USER'S MANUALZILOGUM97USC0100After the CRC, or immediately if CMR15 or TMR8 is 0, inMonosync mode the Transmitter sends the Sync c

Strany 189

5-14Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.11 TRANSPARENT BISYNC MODEThis mode is more specific to the Transparent Mode optionof IBM Corp.’s

Strany 190

5-15Z16C30 USC®USER'S MANUALZILOGUM97USC01005.12 SLAVED MONOSYNC MODEThis mode applies only to the Transmitter. Software selectsit by programmin

Strany 191

5-16Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.13 IEEE 802.3 (ETHERNET) MODESoftware can select this mode for the Transmitter and theReceiver, by

Strany 192

5-17Z16C30 USC®USER'S MANUALZILOGUM97USC0100As in other synchronous modes, the MSBit of theTxSubMode field (CMR15) controls whether the Transmit-

Strany 193 - APPENDIX A

5-18Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.14 HDLC/SDLC MODESoftware can select this mode for both the Transmitter andthe Receiver, by writin

Strany 194

5-19Z16C30 USC®USER'S MANUALZILOGUM97USC0100CMR7-4 Address/Control Processingxx00 The Receiver doesn’t handle the Address or Contro

Strany 195 - APPENDIX B

5-20Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.14.2 Frame Length ResidualsThe Receiver detects and strips inserted zeroes, Flags,and Aborts befor

Strany 196

5-21Z16C30 USC®USER'S MANUALZILOGUM97USC01005.15 HDLC/SDLC LOOP MODEThis mode applies only to the Transmitter. Software canselect it by programm

Strany 197

5-22Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.15 HDLC/SDLC LOOP MODE (Continued)OnLoop stays 1 unless the part is reset or software pro-grams th

Strany 198

Z16C30 USC®USER'S MANUALvZILOGUM97USC0100CHAPTER TITLE AND SUBSECTIONS PAGEAppendix A Appendix ChangesA.1 Introduction ...

Strany 199

5-23Z16C30 USC®USER'S MANUALZILOGUM97USC0100If the TxCRCatEnd bit (TMR8) is 1 and the TxMode field(CMR11-8) specifies a synchronous mode, the Tra

Strany 200

5-24Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.16 CYCLIC REDUNDANCY CHECKING (Continued)RxFIFOData InFlag/AbortDetect Logic,Incl. Shift RegisterS

Strany 201

5-25Z16C30 USC®USER'S MANUALZILOGUM97USC01005.17 PARITY CHECKINGA USC channel can handle a Parity bit in each character ineither asynchronous or

Strany 202

5-26Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.18 STATUS REPORTINGThe most important status reported by the Transmitter andReceiver is available

Strany 203

5-27Z16C30 USC®USER'S MANUALZILOGUM97USC0100Figure 5-10. How a USC Channel Provides the “Queued” Status Bits in the RCSRStart for RxBound,Abort/

Strany 204

5-28Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.18.1 Detailed Status in the TCSRPreSent: The Transmitter sets this bit (TCSR7) in a syn-chronous m

Strany 205

5-29Z16C30 USC®USER'S MANUALZILOGUM97USC0100Figure 5-12. The Receive Command/Status Register (RCSR)14 13 12 11 10 9 8 7 6 5 4 3 2 1 015ExitedHun

Strany 206

5-30Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.18 STATUS REPORTING (Continued)This bit is not associated with a particular point in thereceived d

Strany 207

5-31Z16C30 USC®USER'S MANUALZILOGUM97USC0100RxOver: The Receiver queues this bit through the RxFIFOwith each received character. It sets the bit

Strany 208

5-32Z16C30 USC®USER'S MANUALUM97USC0100ZILOG5.19 DMA SUPPORT FEATURES (Continued)A channel loads the value from the TCLR into the TransmitCharac

Komentáře k této Příručce

Žádné komentáře