Zilog Z16C30 Manual de usuario

Busca en linea o descarga Manual de usuario para Sensores Zilog Z16C30. Zilog Z16C30 User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir

Indice de contenidos

Pagina 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

Pagina 2

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

Pagina 3 - USER'S MANUAL

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

Pagina 4

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

Pagina 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

Pagina 6

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 12

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

Pagina 13 - TABLE TITLES PAGE

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

Pagina 14 - CHAPTER 1

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

Pagina 15

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

Pagina 16

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

Pagina 17

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

Pagina 18

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

Pagina 19

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

Pagina 20

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

Pagina 21

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

Pagina 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

Pagina 23

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

Pagina 24

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

Pagina 25

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

Pagina 26

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

Pagina 27 - CHAPTER 2

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

Pagina 28

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

Pagina 29

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

Pagina 30

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

Pagina 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

Pagina 32

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

Pagina 33

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

Pagina 34

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

Pagina 35

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

Pagina 36

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

Pagina 37

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

Pagina 38

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

Pagina 39

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

Pagina 40

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

Pagina 41

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

Pagina 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

Pagina 43

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

Pagina 44

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

Pagina 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

Pagina 46

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

Pagina 47

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

Pagina 48

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

Pagina 49

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

Pagina 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

Pagina 51

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

Pagina 52

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

Pagina 53

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

Pagina 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

Pagina 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

Pagina 56

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

Pagina 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

Pagina 58

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

Pagina 59

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

Pagina 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

Pagina 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

Pagina 62

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

Pagina 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,

Pagina 64

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

Pagina 65

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

Pagina 66

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

Pagina 67

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

Pagina 68 - CHAPTER 5

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

Pagina 69

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

Pagina 70

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

Pagina 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

Pagina 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

Pagina 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

Pagina 74

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 79

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

Pagina 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

Pagina 81

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

Pagina 82

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 90

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

Pagina 91

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

Pagina 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

Pagina 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

Pagina 94

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

Pagina 95

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 101

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

Pagina 102

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

Pagina 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

Pagina 104

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

Pagina 105

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

Pagina 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

Pagina 107

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

Pagina 108

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

Pagina 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

Pagina 110

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

Pagina 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

Pagina 112

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

Pagina 113

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

Pagina 114

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

Pagina 115

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

Pagina 116

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

Pagina 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

Pagina 118

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

Pagina 119

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

Pagina 120 - CHAPTER 6

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

Pagina 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

Pagina 122

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

Pagina 123

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

Pagina 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

Pagina 125

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

Pagina 126

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

Pagina 127

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

Pagina 128

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

Pagina 129 - CHAPTER 7

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

Pagina 130

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

Pagina 131

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

Pagina 132

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

Pagina 133

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

Pagina 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

Pagina 135

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

Pagina 136

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

Pagina 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

Pagina 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

Pagina 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

Pagina 140

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

Pagina 141

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

Pagina 142

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

Pagina 143

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

Pagina 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

Pagina 145

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

Pagina 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

Pagina 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

Pagina 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

Pagina 149

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

Pagina 150

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

Pagina 151

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

Pagina 152

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

Pagina 153

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

Pagina 154

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

Pagina 155

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

Pagina 156 - CHAPTER 8

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

Pagina 157

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

Pagina 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

Pagina 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

Pagina 160

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

Pagina 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

Pagina 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

Pagina 163

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

Pagina 164

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

Pagina 165

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

Pagina 166

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

Pagina 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

Pagina 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

Pagina 169

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

Pagina 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

Pagina 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 /

Pagina 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

Pagina 173

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

Pagina 174

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

Pagina 175

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

Pagina 176

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

Pagina 177

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

Pagina 178

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

Pagina 179

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

Pagina 180

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

Pagina 181

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

Pagina 182

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

Pagina 183

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

Pagina 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

Pagina 185

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

Pagina 186

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

Pagina 187

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

Pagina 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

Pagina 189

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

Pagina 190

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

Pagina 191

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

Pagina 192

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

Pagina 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

Pagina 194

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

Pagina 195 - APPENDIX B

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

Pagina 196

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

Pagina 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

Pagina 198

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

Pagina 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

Pagina 200

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

Pagina 201

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

Pagina 202

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

Pagina 203

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

Pagina 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

Pagina 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

Pagina 206

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

Pagina 207

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

Pagina 208

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

Comentarios a estos manuales

Sin comentarios