Zilog Z80230 Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Sensores Zilog Z80230. Zilog Z80230 User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 394
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - SCC/ESCC

Copyright © 2015 by Zilog®, Inc. All rights reserved.www.zilog.comUM010903-0515User Manual SCC/ESCC

Página 2 - UM010903-0515

SCC/ESCCUser ManualUM010903-0515 General Description3– Automatic Cyclic Redundancy Check (CRC) generation/detection •SDLC/HDLC capabilities: – Abort s

Página 3 - Revision History

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes93The SCC supports Asynchronous mode with a number of programmable options including the numb

Página 4 - Table of Contents

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes94 An additional bit, carrying parity information, may be automatically appended to every tra

Página 5

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes95The SCC may be programmed to accept a transmit clock that is one, sixteen, thirty-two, or s

Página 6

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes96D2 also is affected by the state of WR7' bit D5. The All Sent bit, bit D0 of RR1, can

Página 7

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes97The SCC may be programmed to accept a receive clock that is one, sixteen, thirty-two, or si

Página 8

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes98the state of WR7' D3. The RCA bit is set if there is at least one byte available, rega

Página 9 - SCC’s Capabilities

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes99In synchronous communications, the bit cell boundaries are referenced to a clock signal com

Página 10

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes100Byte-Oriented Synchronous Transmit Once Synchronous mode has been selected, any of three o

Página 11

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes101In character-oriented modes, a special bit pattern is used to provide character synchroniz

Página 12

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes102The SCC does not automatically preset the CRC generator in byte Synchronous modes, so this

Página 13 - SCC Block Diagram

SCC/ESCCUser ManualUM010903-0515 General Description4– Improved functionality to ease sending back-to back frames – Automatic SDLC opening Flag transm

Página 14 - Pin Descriptions

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes103ing the transmission of the CRC, the 16-bit transmission is completed, but the remaining b

Página 15

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes104Once the sync character-oriented mode has been selected, any of the four sync character le

Página 16

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes105assembly begins on the rising edge of the receive clock. This immediately precedes the act

Página 17 - Z85X30 DIP Pin Assignments

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes106In all cases except External Sync mode, the /SYNC pin is an output that is driven Low by t

Página 18 - Z85X30 PLCC Pin Assignments

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes107The character length can be changed at any time before the new number of bits has been ass

Página 19 - Z80X30 DIP Pin Assignments

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes108Some synchronous protocols require that certain characters be excluded from CRC calculatio

Página 20

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes109After eight-bit times, B is loaded into the receive data FIFO. The CRC remains disabled ev

Página 21

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes110A summary is listed in Table on page 111. Refer to a detailed example of using the SCC in

Página 22

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes111Transmitter/Receiver Synchronization The SCC contains a transmitter-to-receiver synchroniz

Página 23

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes112and begins sending sync characters. Beyond this point the receiver and transmitter are aga

Página 24 - Interfacing the SCC/ESCC

SCC/ESCCUser ManualUM010903-0515 General Description5– Receive FIFO automatically unlocked for special receive interrupts when using the SDLC status F

Página 25 - Z80X30 Write Cycle Timing

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes113Bit-oriented Synchronous (SDLC/HDLC) Mode Synchronous Data Link Control mode (SDLC) uses s

Página 26

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes114flag, or an idle. This means that when two frames follow one another, the intervening flag

Página 27

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes115necessary to reset the WR10 D3 to idle flag, wait 8-bit times, and then write data to the

Página 28 - Z80X30 Register Access

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes116Only the CRC-CCITT polynomial is used in SDLC mode. This is selected by setting bit D2 in

Página 29

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes117 The SCC sets the Tx Underrun/EOM latch when the CRC or abort is loaded into the shift reg

Página 30

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes118Modem Control signals related to SDLC Transmit There are two modem control signals associa

Página 31 - Z80C30 Register Enhancement

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes119function is enabled in the ESCC to guarantee that the ESCC does not generate the edge befo

Página 32 - Z80230 Register Enhancements

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes120port; the CPU needs time to determine whether or not the last bit of the closing flag has

Página 33 - Z80X30 Reset

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes121The receiver automatically enters Hunt mode if an abort is received. Because the receiver

Página 34 - Z85X30 Interface Timing

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes122An additional bit carrying parity information is selected by setting bit D6 of WR4 to 1. T

Página 35 - Z85X30 Write Cycle Timing

SCC/ESCCUser ManualUM010903-0515 General Description6SCC Block DiagramTransmit LogChannelAReceive and Transmit Clock MulTransmit FIFONMOS/CMOS: 1 bESC

Página 36 - D7-D0 Vector

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes123Residue Codes As indicated in the table, these bits allow the processor to determine those

Página 37 - Z85X30 Register Access

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes124the top of the FIFO can cause a special receive condition. The processor then reads RR1 to

Página 38

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes125In addition to searching the data stream for flags, the receiver in the SCC also watches f

Página 39 - Z85C30 Register Enhancement

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes126SDLC Frame Status FIFO This feature is not available on the NMOS version. On the CMOS vers

Página 40

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes127the status FIFO for verification by the CPU. The CRC checker is automatically reset in pre

Página 41 - Z85X30 Reset

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes128FIFO Detail. For a better understanding of details of the FIFO operation, refer to the blo

Página 42 - Interface Programming

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes129go directly to the bus interface (the FIFO pointer logic is reset either when disabled or

Página 43 - Interrupts

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes130 SDLC Byte Counting Detail SDLC Status FIFO Anti-Lock Feature (ESCC only). When the Frame

Página 44 - Transmit Channel B

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes131The secondary station can place its own message on the loop only at specific times. The co

Página 45

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes132the CPU writes its data bytes to the SCC, just as in normal SDLC frame transmission. When

Página 46

SCC/ESCCUser ManualUM010903-0515 General Description7Pin Descriptions The SCC pins are divided into seven functional groups: Address/Data, Bus Timing

Página 47 - * Always 0 In B Channel

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes133SDLC Loop Mode Receive SDLC Loop mode is quite similar to SDLC mode except that two additi

Página 48 - Daisy-Chain Resolution

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes134mode, and then WR10 to select the CRC preset value and program the Mark/Flag idle bit. The

Página 49

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes135processor may either write the first character to the transmit buffer and wait for a trans

Página 50

SCC/ESCCUser ManualUM010903-0515 Register Descriptions136Register Descriptions Introduction This section describes the functions of the various bits i

Página 51 - Interrupt Acknowledge

SCC/ESCCUser ManualUM010903-0515 Register Descriptions137 WR15 External status interrupt enable control Notes1. ESCC and 85C30 only. 2. On the ESCC an

Página 52 - The Receiver Interrupt

SCC/ESCCUser ManualUM010903-0515 Register Descriptions138Among these registers, WR9 (Master Interrupt Control and Reset register) can be accessed thro

Página 53 - Receive Interrupts Disabled

SCC/ESCCUser ManualUM010903-0515 Register Descriptions139The following sections describe WR registers in detail: Write Register 0 (Command Register) W

Página 54

SCC/ESCCUser ManualUM010903-0515 Register Descriptions140Underrun selected, the SCC sends an abort and Flag on underrun if the TX Underrun/EOM latch h

Página 55

SCC/ESCCUser ManualUM010903-0515 Register Descriptions141 Write Register 0 in the Z80X30 At the start of the CRC transmission, the Tx Under-run/EOM la

Página 56 - Conditio

SCC/ESCCUser ManualUM010903-0515 Register Descriptions142nal/Status Interrupt has not yet been issued) and this condition persists until after the com

Página 57

SCC/ESCCUser ManualUM010903-0515 General Description8The signal functionality and pin assignments (Figure on page 10 through Figure on page 13) stay

Página 58

SCC/ESCCUser ManualUM010903-0515 Register Descriptions143This bit enables the Wait/Request function in conjunction with the Request/Wait Function Sele

Página 59

SCC/ESCCUser ManualUM010903-0515 Register Descriptions144 Z85X30 Register Map READ 8530 85C30/85230W85C30/230* 85C30/230 R15 D2=1A//B PNT2 PNT1 PNT0

Página 60

SCC/ESCCUser ManualUM010903-0515 Register Descriptions145When programmed to 1, this bit allows the Wait/Request function to follow the state of the re

Página 61

SCC/ESCCUser ManualUM010903-0515 Register Descriptions146Special receive conditions are: receiver overrun, framing error, end of frame, or parity erro

Página 62

SCC/ESCCUser ManualUM010903-0515 Register Descriptions147Bit 1: Transmitter Interrupt Enable If this bit is set to 1, the transmitter requests an inte

Página 63 - External/Status Interrupts

SCC/ESCCUser ManualUM010903-0515 Register Descriptions148Write Register 3 (Receive Parameters and Control) This register contains the control bits and

Página 64

SCC/ESCCUser ManualUM010903-0515 Register Descriptions149Bit 5: Auto Enable This bit programs the function for both the /DCD and /CTS pins. /CTS becom

Página 65 - Transmit Underrun/EOM

SCC/ESCCUser ManualUM010903-0515 Register Descriptions150The address recognition logic of the receiver is modified in SDLC mode if this bit is set to

Página 66 - Sync/Hunt

SCC/ESCCUser ManualUM010903-0515 Register Descriptions1511X Mode (00). The clock rate and data rate are the same. In External Sync mode, this bit comb

Página 67 - Block/DMA Transfer

SCC/ESCCUser ManualUM010903-0515 Register Descriptions1521 Stop Bit/Character (01). This bit selects Asynchronous mode with one stop bit per character

Página 68 - ASYNC Modes

SCC/ESCCUser ManualUM010903-0515 General Description9Pin DescriptionsZ80x30 Pin FunctionsAD7AD6AD5AD4AD3AD2AD1AD0/AS/DSR//WCS1/CS0/INT/INTACKIEIIEOTxD

Página 69 - Wait On Receive

SCC/ESCCUser ManualUM010903-0515 Register Descriptions153These bits control the number of bits in each byte transferred to the transmit buffer. Bits s

Página 70 - DMA Requests

SCC/ESCCUser ManualUM010903-0515 Register Descriptions154Bit 2: SDLC/CRC-16 polynomial select bit This bit selects the CRC polynomial used by both the

Página 71

SCC/ESCCUser ManualUM010903-0515 Register Descriptions155transmit the station address at the beginning of a response frame. Bit positions for WR6 are

Página 72

SCC/ESCCUser ManualUM010903-0515 Register Descriptions156tion in the section on Write Register 15. Features enabled in WR7 Prime remain enabled unless

Página 73

SCC/ESCCUser ManualUM010903-0515 Register Descriptions157If WR7' D3=1 and “Receive Interrupt on All Characters and Special Conditions” is enabled

Página 74 - DMA Request On Receive

SCC/ESCCUser ManualUM010903-0515 Register Descriptions158Write Register 7 Prime (WR7') Bit 7: Reserved. This bit is reserved and must be programm

Página 75 - AD7-AD0 Receive DataWR8

SCC/ESCCUser ManualUM010903-0515 Register Descriptions159depending on the speed grade of the device). When this bit is reset to 0, the deactivation ti

Página 76 - Test Functions

SCC/ESCCUser ManualUM010903-0515 Register Descriptions160at the same time as the Reset command, because these bits are only reset by a hardware reset.

Página 77

SCC/ESCCUser ManualUM010903-0515 Register Descriptions161This bit is reserved on NMOS, and always writes as 0. Bit 4: Status High//Status Low control

Página 78 - Baud Rate Generator

SCC/ESCCUser ManualUM010903-0515 Register Descriptions162The Vector Includes Status Bit controls whether or not the SCC includes status information in

Página 79

SCC/ESCCUser ManualUM010903-0515 General Description10Z85X30 DIP Pin Assignments129345678403938373635343332D0D2D//CD4D6/RD/WRA//B/CED13130292827141011

Página 80

SCC/ESCCUser ManualUM010903-0515 Register Descriptions163NRZ (NRZI), FM1 (FM0) TimingBit 4: Go-Active-On-Poll control bit When Loop mode is first sele

Página 81 - Data Encoding/Decoding

SCC/ESCCUser ManualUM010903-0515 Register Descriptions164the first data byte is sent to the SCC, but before CRC has been transmitted. If the bit is no

Página 82

SCC/ESCCUser ManualUM010903-0515 Register Descriptions165mode operation in other registers are set before this mode is selected. The transmitter and r

Página 83

SCC/ESCCUser ManualUM010903-0515 Register Descriptions166Write Register 11 Bit 7: RTxC-XTAL//NO XTAL select bit This bit controls the type of input si

Página 84

SCC/ESCCUser ManualUM010903-0515 Register Descriptions167 Bit 2: TRxC Pin I/O control bit This bit determines the direction of the /TRxC pin. If this

Página 85

SCC/ESCCUser ManualUM010903-0515 Register Descriptions168advisable to disable the baud rate generator while the new time constant is loaded into WR12

Página 86

SCC/ESCCUser ManualUM010903-0515 Register Descriptions169Write Register 13 (Upper Byte of Baud Rate Generator Time Constant) WR13 contains the upper b

Página 87

SCC/ESCCUser ManualUM010903-0515 Register Descriptions170Bits D7-D5: Digital Phase-Locked Loop Command Bits. These three bits encode the eight command

Página 88

SCC/ESCCUser ManualUM010903-0515 Register Descriptions171Set FM Mode Command (110). This command forces the DPLL to operate in the FM mode and is used

Página 89

SCC/ESCCUser ManualUM010903-0515 Register Descriptions172Bit 3: Auto Echo select bit Setting this bit to 1 selects the Auto Echo mode of operation. In

Página 90 - Clock Selection

SCC/ESCCUser ManualUM010903-0515 General Description11Z85X30 PLCC Pin Assignments

Página 91

SCC/ESCCUser ManualUM010903-0515 Register Descriptions173On the CMOS version, bits D2 and D0 are reserved. On the NMOS version, bit D2 is reserved. Th

Página 92 - Clock Multiplexer

SCC/ESCCUser ManualUM010903-0515 Register Descriptions174mation read reflects the current status only. This bit is reset to 0 by a channel or hardware

Página 93 - BRG Clock Source = /RTXC

SCC/ESCCUser ManualUM010903-0515 Register Descriptions175this register. This feature prevents missed status due to changes that take place when the re

Página 94 - Crystal Oscillator

SCC/ESCCUser ManualUM010903-0515 Register Descriptions176number of transitions on the /CTS pin causes another External/Status interrupt condition. If

Página 95 - Data Communication Modes

SCC/ESCCUser ManualUM010903-0515 Register Descriptions177If the DCD IE bit in WR15 is set, this bit indicates the state of the /DCD pin the last time

Página 96 - Transmit Data Path

SCC/ESCCUser ManualUM010903-0515 Register Descriptions178Read Register 1 RR1 contains the Special Receive Condition status bits and the residue codes

Página 97

SCC/ESCCUser ManualUM010903-0515 Register Descriptions179Bit 5: Receiver Overrun Error status This bit indicates that the Receive FIFO has overflowed.

Página 98

SCC/ESCCUser ManualUM010903-0515 Register Descriptions180Bit 0: All Sent status In Asynchronous mode, this bit is set when all characters have complet

Página 99 - Asynchronous Mode

SCC/ESCCUser ManualUM010903-0515 Register Descriptions181Read Register 2 Read Register 3 RR3 is the interrupt Pending register. The status of each of

Página 100 - Asynchronous Transmit

SCC/ESCCUser ManualUM010903-0515 Register Descriptions182Read Register 4 (ESCC and 85C30 Only) On the ESCC, Read Register 4 reflects the contents of W

Página 101

SCC/ESCCUser ManualUM010903-0515 General Description12 Z80X30 DIP Pin Assignments 129345678403938373635343332AD0AD2CS1AD4AD6/DS/ASR//W/CS0AD1313029282

Página 102

SCC/ESCCUser ManualUM010903-0515 Register Descriptions183 Read Register 6 (Not on NMOS) Read Register 7 (Not on NMOS) D7 D6 D5 D4 D3 D2 D1 D0Read Regi

Página 103 - Asynchronous Receive

SCC/ESCCUser ManualUM010903-0515 Register Descriptions184 If the FIFO overflows, the FIFO and the FIFO Overflow Status bit are cleared by disabling an

Página 104

SCC/ESCCUser ManualUM010903-0515 Register Descriptions185Read Register 10 RR10 contains some miscellaneous status bits. Unused bits are always 0. Bit

Página 105 - Asynchronous Initialization

SCC/ESCCUser ManualUM010903-0515 Register Descriptions186Read Register 11 (ESCC and 85C30 Only) On the ESCC, Read Register 11 reflects the contents of

Página 106

SCC/ESCCUser ManualUM010903-0515 Register Descriptions187Read Register 13RR13 returns the value stored in WR13, the upper byte of the time constant fo

Página 107 - WR4 3 (=0) select sync mode

SCC/ESCCUser ManualUM010903-0515 Application Notes188Application NotesInterfacing Z80® CPUs to the Z8500 Peripheral Family

Página 108

SCC/ESCCUser ManualUM010903-0515 Application Notes189

Página 109

SCC/ESCCUser ManualUM010903-0515 Application Notes190)

Página 110

SCC/ESCCUser ManualUM010903-0515 Application Notes191

Página 111

SCC/ESCCUser ManualUM010903-0515 Application Notes192

Página 112

SCC/ESCCUser ManualUM010903-0515iiDO NOT USE IN LIFE SUPPORTLIFE SUPPORT POLICYZILOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS

Página 113 - /RTxC Clock Cycle

SCC/ESCCUser ManualUM010903-0515 General Description13 Z80X30 PLCC Pin AssignmentsPins Common to both Z85X30 and Z80X30 /CTSA, /CTSB. Clear To Send (i

Página 114

SCC/ESCCUser ManualUM010903-0515 Application Notes193

Página 115

SCC/ESCCUser ManualUM010903-0515 Application Notes194

Página 116

SCC/ESCCUser ManualUM010903-0515 Application Notes195

Página 117

SCC/ESCCUser ManualUM010903-0515 Application Notes196

Página 118

SCC/ESCCUser ManualUM010903-0515 Application Notes197

Página 119

SCC/ESCCUser ManualUM010903-0515 Application Notes198

Página 120

SCC/ESCCUser ManualUM010903-0515 Application Notes199

Página 121 - SDLC Transmit

SCC/ESCCUser ManualUM010903-0515 Application Notes200

Página 122

SCC/ESCCUser ManualUM010903-0515 Application Notes201

Página 123

SCC/ESCCUser ManualUM010903-0515 Application Notes202

Página 124

SCC/ESCCUser ManualUM010903-0515 General Description14is OFF, the /RTS pins are used as general-purpose outputs, and, they strictly follow the inverse

Página 125

SCC/ESCCUser ManualUM010903-0515 Application Notes203

Página 126

SCC/ESCCUser ManualUM010903-0515 Application Notes204

Página 127 - SDLC Receive

SCC/ESCCUser ManualUM010903-0515 Application Notes205

Página 128

SCC/ESCCUser ManualUM010903-0515 Application Notes206

Página 129

SCC/ESCCUser ManualUM010903-0515 Application Notes207

Página 130

SCC/ESCCUser ManualUM010903-0515 Application Notes208

Página 131

SCC/ESCCUser ManualUM010903-0515 Application Notes209

Página 132

SCC/ESCCUser ManualUM010903-0515 Application Notes210AN0096: The Z180 Interfaced with the SCC at 10 MHzAbstract This Application Note describes how to

Página 133 - SDLC Frame Status FIFO

SCC/ESCCUser ManualUM010903-0515 Application Notes211Interfaces The following subsections explain the interfaces between the: •Z180 and Memory •Z180 a

Página 134

SCC/ESCCUser ManualUM010903-0515 Application Notes212Table on page 212 lists the Z180’s basic timing elements for the opcode’s fetch/memory read/writ

Página 135 - Interface

SCC/ESCCUser ManualUM010903-0515 General Description15clock, the clock for the baud rate generator, or the clock for the Digital Phase-Locked Loop. Th

Página 136

SCC/ESCCUser ManualUM010903-0515 Application Notes213Z180 Memory Read Cycle Timing (One Wait State) EPROM Interface During an Opcode fetch cycle, data

Página 137 - SDLC Loop Mode

SCC/ESCCUser ManualUM010903-0515 Application Notes214fetch cycle meet specifications, the design satisfies the timing requirements for a memory read c

Página 138

SCC/ESCCUser ManualUM010903-0515 Application Notes215SRAM Interface Table has timing parameters for 256 kb SRAM for this design.256 kb SRAM Key Timin

Página 139

SCC/ESCCUser ManualUM010903-0515 Application Notes216No wait states are necessary if there is a 85 ns, or faster, access time by using SRAMs. Since th

Página 140 - SDLC Loop Mode Transmit

SCC/ESCCUser ManualUM010903-0515 Application Notes217Connect the signal Address ANDed together with inactive /IORQ to the /E input. Connect /RD to /OE

Página 141

SCC/ESCCUser ManualUM010903-0515 Application Notes218Memory Interface LogicPhysical Memory Address Map

Página 142

SCC/ESCCUser ManualUM010903-0515 Application Notes219Wait State Generator LogicZ180 to I/O Interface The Z180 I/O read/write cycle is similar to the Z

Página 143 - Register Descriptions

SCC/ESCCUser ManualUM010903-0515 Application Notes220Z180 I/O Write Cycle Timing Z8018010 Timing Parameters for I/O Cycle (Worst Case) Sr. No Symbol P

Página 144

SCC/ESCCUser ManualUM010903-0515 Application Notes221If you are familiar with the Z80® CPU design, the same interfacing logic applies to the Z180 and

Página 145 - Write Registers

SCC/ESCCUser ManualUM010903-0515 Application Notes222Figure displays a simple address decoder (the required interface signals, other than address dec

Página 146

SCC/ESCCUser ManualUM010903-0515 General Description16/WR. Write (input, active Low). When the Z85X30 is selected, this signal indicates a write opera

Página 147

SCC/ESCCUser ManualUM010903-0515 Application Notes223Z180 to SCC Interface The following subsections discuss the various parameters between the Z180/S

Página 148

SCC/ESCCUser ManualUM010903-0515 Application Notes224Interrupt Control /INTACKInterrupt Acknowledge (input, active Low). This signal shows an Interru

Página 149 - Definition)

SCC/ESCCUser ManualUM010903-0515 Application Notes225Write Cycle TimingFigure on page 225 displays the SCC Write cycle timing. All register addresses

Página 150

SCC/ESCCUser ManualUM010903-0515 Application Notes226Z80 Interrupt Daisy-Chain Operation In the Z80 peripherals, both IP and IUS bits control the IEO

Página 151 - Z85X30 Register Map

SCC/ESCCUser ManualUM010903-0515 Application Notes227SCC Interrupt Status DiagramThe SCC uses /INTACK (Interrupt Acknowledge) for recognition of an in

Página 152

SCC/ESCCUser ManualUM010903-0515 Application Notes228SCC I/O Read/Write Cycle Assume that the Z180 MPU’s /IOC bit in the OMCR (Operation Mode Control

Página 153

SCC/ESCCUser ManualUM010903-0515 Application Notes229I/O Read Cycle These tables show that a delay of the falling edge of /RD satisfies the SCC TsA(RD

Página 154

SCC/ESCCUser ManualUM010903-0515 Application Notes230This circuit depicts logic for the I/O interface and the Interrupt Acknowledge Interface for 10 M

Página 155

SCC/ESCCUser ManualUM010903-0515 Application Notes231Interrupt Acknowledge Cycle Timing The primary timing differences between the Z180 and SCC occur

Página 156

SCC/ESCCUser ManualUM010903-0515 Application Notes232During an Interrupt Acknowledge cycle, the SCC requires both /INTACK and /RD to be active at cert

Página 157

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC17Interfacing the SCC/ESCC Introduction This chapter covers the system interface requirements

Página 158

SCC/ESCCUser ManualUM010903-0515 Application Notes233Z180 to SCC Interface Logic (Example)T1 T2 Tw T316100 ns112870 ns max55 ns max20 ns max10 ns max1

Página 159

SCC/ESCCUser ManualUM010903-0515 Application Notes234The primary chip in this logic is the Shift register (HCT164), which generates /INTACK, /SCCRD an

Página 160

SCC/ESCCUser ManualUM010903-0515 Application Notes235interrupt daisy chain to settle so the device requesting the interrupt places its interrupt vecto

Página 161

SCC/ESCCUser ManualUM010903-0515 Application Notes236ELPD Circuit ImplementationSystem Checkout After completion of the board (PC board or wire wrappe

Página 162

SCC/ESCCUser ManualUM010903-0515 Application Notes237Software Considerations Based on the previous discussion, it is necessary to program the Z180 int

Página 163

SCC/ESCCUser ManualUM010903-0515 Application Notes238(WR0, 38h). A sample program of an SCC Interrupt Test is listed in Table on page 239. It uses th

Página 164

SCC/ESCCUser ManualUM010903-0515 Application Notes239SCC Test Program – Interrupt for 180/SCC Application Board (Under Mode2 Interrupt) (Continued);*

Página 165

SCC/ESCCUser ManualUM010903-0515 Application Notes240Table lists a “macro” to enable the Z180 to use the Z80® Assembler, as well as register defini-t

Página 166

SCC/ESCCUser ManualUM010903-0515 Application Notes241There is one good test to ensure proper function. Generate a data transfer between the Z180/SCC u

Página 167

SCC/ESCCUser ManualUM010903-0515 Application Notes242Program Example – Z180 CPU Macro Instructions (Continued)bcr1l: equ 2eh ; DMA Byte Count Reg Ch1-

Página 168

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC18Z80X30 Read CycleZ80X30 Write Cycle Timing The write cycle timing for the Z80X30 is display

Página 169

SCC/ESCCUser ManualUM010903-0515 Application Notes243Table lists a program example for the Z180/SCC DMA transfer test.Program Example – Z180 CPU Macr

Página 170

SCC/ESCCUser ManualUM010903-0515 Application Notes244.Test Program–Z180/SCC DMA Transfer

Página 171

SCC/ESCCUser ManualUM010903-0515 Application Notes245Test Program–Z180/SCC DMA Transfer (Continued)call initdmald b,0 ;init statusld a,00h ;load 1st d

Página 172

SCC/ESCCUser ManualUM010903-0515 Application Notes246Test Program–Z180/SCC DMA Transfer (Continued)initscc: ld hl,scctab ; initialize sccinit0: ld a,(

Página 173

SCC/ESCCUser ManualUM010903-0515 Application Notes247Test Program–Z180/SCC DMA Transfer (Continued)db 01h ;select WR1db 01100000b ;REQ on Rxdb 02h ;se

Página 174

SCC/ESCCUser ManualUM010903-0515 Application Notes248Test Program–Z180/SCC DMA Transfer (Continued)db 01h ;select WR1db 11100000b ;enable DMAdb 0fh ;s

Página 175 - Clock Frequency

SCC/ESCCUser ManualUM010903-0515 Application Notes249First, this program (Table on page 244) initializes the SCC by Async, X1 mode, 8-bit 1 stop, Non

Página 176

SCC/ESCCUser ManualUM010903-0515 Application Notes250AN0097: The Zilog® Datacom Family with the 80186 CPUAbstractZilog’s customers need a way to evalu

Página 177

SCC/ESCCUser ManualUM010903-0515 Application Notes251Table lists the conventional descriptions for the power connections.ProcessorThe 80186 CPU can o

Página 178

SCC/ESCCUser ManualUM010903-0515 Application Notes252The ISCC and IUSC handle their own DMA transfers through the 80186’s HOLD/HLDA facility.Either a

Página 179

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC19Z80X30 Write Cycle Z80X30 Interrupt Acknowledge Cycle Timing The interrupt acknowledge cycl

Página 180

SCC/ESCCUser ManualUM010903-0515 Application Notes253Push button switches are provided for Reset and Non-Maskable Interrupt (NMI). A method to genera

Página 181 - Read Registers

SCC/ESCCUser ManualUM010903-0515 Application Notes254J18 connects Pin 1 of both sockets to either A16 or VCC. For 2764s, 27128s, and 27256s, Pin 1 is

Página 182

SCC/ESCCUser ManualUM010903-0515 Application Notes255J19 is factory set according to the size of the SRAMs provided. For 32K x 8 SRAMs, jumpers are in

Página 183

SCC/ESCCUser ManualUM010903-0515 Application Notes256The three LSBs of the PACs value specify the Ready/WAIT handling for the PCS3-PCS0 lines which se

Página 184

SCC/ESCCUser ManualUM010903-0515 Application Notes257Interrupt Daisy Chain (Priority) OrderJumper block J25 selects whether the (E)SCC device is at th

Página 185 - Read Register 1

SCC/ESCCUser ManualUM010903-0515 Application Notes258as the speeds possible with a DMA approach. To use the W/REQB output as a Receive DMA Request, ju

Página 186

SCC/ESCCUser ManualUM010903-0515 Application Notes259Then, the basic register map occurs twice in the even addresses from (PBA) through (PBA)+126 as l

Página 187 - Read Register 2

SCC/ESCCUser ManualUM010903-0515 Application Notes260•The MSB of the data (D7) is 1 to enable the Byte Swap feature, so that when the ISCC’s DMA contr

Página 188 - Read Register 3

SCC/ESCCUser ManualUM010903-0515 Application Notes261Jumper block J29 provides the same connection-variability for the RxREQ and TxREQ outputs of Chan

Página 189

SCC/ESCCUser ManualUM010903-0515 Application Notes262While the ESCC and ISCC drive their Baud Rate Generators from their PCLK inputs, the (M)USC has n

Página 190

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC20Z80X30 Interrupt Acknowledge CycleThe Z80X30 samples the state of /INTACK on the rising edg

Página 191 - Read Register 8

SCC/ESCCUser ManualUM010903-0515 Application Notes263•D7-D6 are 11 to allow the DMA controllers to do either 16-bit transfers, or alternating byte tra

Página 192 - Read Register 10

SCC/ESCCUser ManualUM010903-0515 Application Notes264can be interconnected for communication between on-board serial controllers, or they can be con-n

Página 193 - Read Register 12

SCC/ESCCUser ManualUM010903-0515 Application Notes265The ground pins are included as signal references with off-board hardware. When interconnecting b

Página 194 - Read Register 15

SCC/ESCCUser ManualUM010903-0515 Application Notes266Comparison of the two previous tables leads to following conclusions:•Pins 1-5 can always be jump

Página 195 - Application Notes

SCC/ESCCUser ManualUM010903-0515 Application Notes267Finally, an unpopulated 4-pin oscillator socket is included on the board with its output connecte

Página 196

SCC/ESCCUser ManualUM010903-0515 Application Notes268If none of the allowed serial channels produce an NMI, you may not have properly jumpered any J5-

Página 197

SCC/ESCCUser ManualUM010903-0515 Application Notes269pin is driven from the same signal as CTS. To be compatible with this feature, connect J15-J4 to

Página 198

SCC/ESCCUser ManualUM010903-0515 Application Notes270J23-J1 thru -3 1 to 2: (E)SCC B RxRQ on DMA 02 to 3: (E)SCC B Wait function(E)SCC B neither RxD

Página 199

SCC/ESCCUser ManualUM010903-0515 Application Notes271Control EPLD for 186 Board

Página 200

SCC/ESCCUser ManualUM010903-0515 Application Notes272SCC EPLD for 186 Board

Página 201

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC21If there is an interrupt pending in the SCC, and IEI is High when /DS falls, the acknowl-ed

Página 202

SCC/ESCCUser ManualUM010903-0515 Application Notes273DMA EPLD for 186 Board

Página 203

SCC/ESCCUser ManualUM010903-0515 Application Notes274NMI Field for 186 Board

Página 204

SCC/ESCCUser ManualUM010903-0515275SCC in Binary Synchronous Communications

Página 205

SCC/ESCCUser ManualUM010903-0515276

Página 206

SCC/ESCCUser ManualUM010903-0515277

Página 207

SCC/ESCCUser ManualUM010903-0515278

Página 208

SCC/ESCCUser ManualUM010903-0515279

Página 209

SCC/ESCCUser ManualUM010903-0515280

Página 210

SCC/ESCCUser ManualUM010903-0515281

Página 211

SCC/ESCCUser ManualUM010903-0515282

Página 212

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC220 0 0 1 0 WR2 RR2B RR2B RR2B 0 0 0 1 1 WR3B RR3B RR3B RR3B0 0 1 0 0 WR4B (RR0B) (RR0B) (WR4

Página 213

SCC/ESCCUser ManualUM010903-0515283

Página 214

SCC/ESCCUser ManualUM010903-0515284

Página 215

SCC/ESCCUser ManualUM010903-0515285

Página 216

SCC/ESCCUser ManualUM010903-0515286

Página 217 - Discussion

SCC/ESCCUser ManualUM010903-0515287

Página 218 - Z180 to Memory Interface

SCC/ESCCUser ManualUM010903-0515288Serial Communication Controller (SCC): SDLC Mode of Operation

Página 219

SCC/ESCCUser ManualUM010903-0515289

Página 220 - EPROM Interface

SCC/ESCCUser ManualUM010903-0515290

Página 221

SCC/ESCCUser ManualUM010903-0515291

Página 222 - SRAM Read Cycle

SCC/ESCCUser ManualUM010903-0515292

Página 223 - Memory Interface Logic

SCC/ESCCUser ManualUM010903-0515iiiRevision HistoryEach instance in Revision History reflects a change to this document from its previous revision. Fo

Página 224

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC231 1 1 0 1 WR13A RR13A RR13A RR13A1 1 1 1 0 WR14A RR14A RR14A (WR7’A)1 1 1 1 1 WR15A RR15A R

Página 225 - Physical Memory Address Map

SCC/ESCCUser ManualUM010903-0515293

Página 226 - Z180 to I/O Interface

SCC/ESCCUser ManualUM010903-0515294

Página 227 - Z180 I/O Write Cycle Timing

SCC/ESCCUser ManualUM010903-0515295

Página 228

SCC/ESCCUser ManualUM010903-0515296

Página 229

SCC/ESCCUser ManualUM010903-0515297

Página 230 - System Control Signals

SCC/ESCCUser ManualUM010903-0515298

Página 231 - Read Cycle Timing

SCC/ESCCUser ManualUM010903-0515299

Página 232 - SCC Interrupt Operation

SCC/ESCCUser ManualUM010903-0515300Using SCC with Z8000 in SDLC Protocol

Página 233

SCC/ESCCUser ManualUM010903-0515301

Página 234 - Z180 MPU to SCC Interface

SCC/ESCCUser ManualUM010903-0515302

Página 235 - I/O Write Cycle

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC24Z80C30 Register Enhancement The Z80C30 has an enhancement to the NMOS Z8030 register set, w

Página 236

SCC/ESCCUser ManualUM010903-0515303

Página 237

SCC/ESCCUser ManualUM010903-0515304

Página 238

SCC/ESCCUser ManualUM010903-0515305

Página 239

SCC/ESCCUser ManualUM010903-0515306

Página 240

SCC/ESCCUser ManualUM010903-0515307

Página 241

SCC/ESCCUser ManualUM010903-0515308

Página 242 - Using EPLD

SCC/ESCCUser ManualUM010903-0515309

Página 243 - System Checkout

SCC/ESCCUser ManualUM010903-0515310

Página 244 - Interrupt Acknowledge Cycle

SCC/ESCCUser ManualUM010903-0515311AN0300: Boost Your System Performance Using the Zilog ESCC Controller

Página 245

SCC/ESCCUser ManualUM010903-0515312

Página 246 - (Continued)

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC25Z80230 Register Enhancements In addition to the Z80C30 enhancements, the 80230 has several

Página 247

SCC/ESCCUser ManualUM010903-0515313

Página 248

SCC/ESCCUser ManualUM010903-0515314

Página 249

SCC/ESCCUser ManualUM010903-0515315

Página 250

SCC/ESCCUser ManualUM010903-0515316

Página 251

SCC/ESCCUser ManualUM010903-0515317

Página 252

SCC/ESCCUser ManualUM010903-0515318

Página 253

SCC/ESCCUser ManualUM010903-0515319

Página 254

SCC/ESCCUser ManualUM010903-0515320

Página 255

SCC/ESCCUser ManualUM010903-0515321

Página 256 - Summary

SCC/ESCCUser ManualUM010903-0515322

Página 257 - General Description

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC26Z80X30 ResetThe Z80X30 may be reset by either a hardware or software reset. Hardware reset

Página 258 - Processor

SCC/ESCCUser ManualUM010903-0515323

Página 259

SCC/ESCCUser ManualUM010903-0515324

Página 260 - Address Map

SCC/ESCCUser ManualUM010903-0515325AN006: Technical Considerations When Implementing Localtalk Link Access Protocol

Página 261

SCC/ESCCUser ManualUM010903-0515326

Página 262

SCC/ESCCUser ManualUM010903-0515327

Página 263

SCC/ESCCUser ManualUM010903-0515328

Página 264

SCC/ESCCUser ManualUM010903-0515329

Página 265

SCC/ESCCUser ManualUM010903-0515330

Página 266

SCC/ESCCUser ManualUM010903-0515331

Página 267

SCC/ESCCUser ManualUM010903-0515332

Página 268

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC27Z85X30 Interface Timing Two control signals, /RD and /WR, are used by the Z85X30 to time bu

Página 269 - (PBA)+511

SCC/ESCCUser ManualUM010903-0515333

Página 270 - Serial Interfacing

SCC/ESCCUser ManualUM010903-0515334

Página 271

SCC/ESCCUser ManualUM010903-0515335

Página 272 - DMA channel

SCC/ESCCUser ManualUM010903-0515336

Página 273

SCC/ESCCUser ManualUM010903-0515337

Página 274

SCC/ESCCUser ManualUM010903-0515338

Página 275

SCC/ESCCUser ManualUM010903-0515339

Página 276 - Jumper Summary

SCC/ESCCUser ManualUM010903-0515340

Página 277

SCC/ESCCUser ManualUM010903-0515341

Página 278 - Control EPLD for 186 Board

SCC/ESCCUser ManualUM010903-0515342

Página 279 - SCC EPLD for 186 Board

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC28Z85X30 Read Cycle Timing The read cycle timing for the Z85X30 is displayed in Figure on pa

Página 280 - DMA EPLD for 186 Board

SCC/ESCCUser ManualUM010903-0515343

Página 281 - NMI Field for 186 Board

SCC/ESCCUser ManualUM010903-0515344AN0075: On-Chip Oscillator Design

Página 282

SCC/ESCCUser ManualUM010903-0515345

Página 283

SCC/ESCCUser ManualUM010903-0515346

Página 284

SCC/ESCCUser ManualUM010903-0515347

Página 285

SCC/ESCCUser ManualUM010903-0515348

Página 286

SCC/ESCCUser ManualUM010903-0515349

Página 287

SCC/ESCCUser ManualUM010903-0515350

Página 288

SCC/ESCCUser ManualUM010903-0515351

Página 289

SCC/ESCCUser ManualUM010903-0515352

Página 290

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC29 Z85X30 Write Cycle TimingZ85X30 Interrupt Acknowledge Cycle Timing The interrupt acknowled

Página 291

SCC/ESCCUser ManualUM010903-0515353Interfacing the ISCC to the 68000 and 8086

Página 292

SCC/ESCCUser ManualUM010903-0515354

Página 293

SCC/ESCCUser ManualUM010903-0515355

Página 294

SCC/ESCCUser ManualUM010903-0515356

Página 295 - Operation

SCC/ESCCUser ManualUM010903-0515357

Página 296

SCC/ESCCUser ManualUM010903-0515358

Página 297

SCC/ESCCUser ManualUM010903-0515359

Página 298

SCC/ESCCUser ManualUM010903-0515360

Página 299

SCC/ESCCUser ManualUM010903-0515361

Página 300

SCC/ESCCUser ManualUM010903-0515362

Página 301

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC30Between the time /INTACK is first sampled Low and the time /RD falls, the internal and exte

Página 302

SCC/ESCCUser ManualUM010903-0515363Zilog SCC Z8030/Z8530 Questions and Answers

Página 303

SCC/ESCCUser ManualUM010903-0515364

Página 304

SCC/ESCCUser ManualUM010903-0515365

Página 305

SCC/ESCCUser ManualUM010903-0515366

Página 306

SCC/ESCCUser ManualUM010903-0515367

Página 307

SCC/ESCCUser ManualUM010903-0515368

Página 308

SCC/ESCCUser ManualUM010903-0515369

Página 309

SCC/ESCCUser ManualUM010903-0515370

Página 310

SCC/ESCCUser ManualUM010903-0515371

Página 311

SCC/ESCCUser ManualUM010903-0515372

Página 312

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC31There are three pointer bits in WR0, and these allow access to the registers with addresses

Página 313

SCC/ESCCUser ManualUM010903-0515373Zilog ESCC Controller Questions and Answers

Página 314

SCC/ESCCUser ManualUM010903-0515374

Página 315

SCC/ESCCUser ManualUM010903-0515 Questions and Answers375Questions and AnswersZilog SCC Z8030/Z8530 Questions and Answers

Página 316

SCC/ESCCUser ManualUM010903-0515 Questions and Answers376

Página 317

SCC/ESCCUser ManualUM010903-0515 Questions and Answers377

Página 318 - ESCC Controller

SCC/ESCCUser ManualUM010903-0515 Questions and Answers378

Página 319

SCC/ESCCUser ManualUM010903-0515 Questions and Answers379

Página 320

SCC/ESCCUser ManualUM010903-0515 Questions and Answers380

Página 321

SCC/ESCCUser ManualUM010903-0515 Questions and Answers381

Página 322

SCC/ESCCUser ManualUM010903-0515 Questions and Answers382

Página 323

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC32Z85C30 Register Enhancement The Z85C30 has an enhancement to the NMOS Z8530 register set, w

Página 324

SCC/ESCCUser ManualUM010903-0515 Questions and Answers383

Página 325

SCC/ESCCUser ManualUM010903-0515 Questions and Answers384

Página 326

SCC/ESCCUser ManualUM010903-0515 Questions and Answers385Zilog ESCC Controller Questions and Answers

Página 327

SCC/ESCCUser ManualUM010903-0515 Questions and Answers386

Página 328

SCC/ESCCUser ManualUM010903-0515 Customer Support387Customer SupportFor answers to technical questions about the product, documentation, or any other

Página 329

SCC/ESCCUser ManualUM010903-0515ivTable of ContentsGeneral Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 330

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC33for the 85230/L, while Figure on page 29 displays the register bit location for the 85C30.

Página 331

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC34Setting WR7' bit D6=1 enables the extended read register capability. This allows the u

Página 332

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC35 Interface Programming The following subsections explain and illustrate all areas of interf

Página 333

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC36I/O Programming Introduction The SCC can work with three basic forms of I/O operations: pol

Página 334

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC37ESCC Interrupt SourcesESCC:The receive interrupt request is either caused by a receive char

Página 335

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC38D3. If WR7' D3=0, the receive character available interrupt is generated when one char

Página 336

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC39Peripheral Interrupt Structure Figure displays the internal priority resolution method to

Página 337

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC40Master Interrupt Enable Bit The Master Interrupt Enable (MIE) bit, WR9 D3, must be set to e

Página 338

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC41IUS bits can be set by either a hardware acknowledge cycle with the /INTACK pin or through

Página 339

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC42•IP is set without a higher priority IUS being set •No higher priority IUS is being set •No

Página 340

SCC/ESCCUser ManualUM010903-0515vExternal/Status Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Block/DMA Tran

Página 341

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC43some action taken by the processor. The external daisy chain may be controlled by the DLC b

Página 342

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC44Interrupt Acknowledge The SCC is flexible with its interrupt method. The interrupt may be a

Página 343

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC45cuted internally. Like a hardware INTACK cycle, a software acknowledge causes the /INT pin

Página 344

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC46response time can use this mode to generate an interrupt when one byte is received, but sti

Página 345

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC47When these bits indicate that a received character has reached the exit location of the FIF

Página 346

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC48the receive data FIFO so that the service routine must read the status in RR1 before readin

Página 347

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC49unlock it. Only the exit location of the FIFO is locked allowing more data to be received i

Página 348

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC50empty. Transmit interrupts should also be disabled in the case of DMA transfer of the trans

Página 349

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC51When WR7' D5=1 (the default case), the ESCC will generate a transmit interrupt when th

Página 350

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC52An enhancement to the ESCC from the NMOS/CMOS version is that the CRC has priority over the

Página 351

SCC/ESCCUser ManualUM010903-0515viWrite Register 1 (Transmit/Receive Interrupt and Data Transfer Mode Definition) . . . . . . . . . . . . . . . . .

Página 352

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC53 Transmit Buffer Empty Bit Status For ESCC For Both WR7' and WR7' D5=0 Transmit I

Página 353

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC54data written. On the ESCC, the CRC has priority over the data. That means after the recepti

Página 354

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC55An example flowchart for processing an end of packet is displayed in Figure . The chart inc

Página 355

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC56External/Status Interrupts Each channel has six external/status interrupt conditions: BRG Z

Página 356

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC57are closed. If the master enable for the External/Status interrupts is not set, the IP is n

Página 357

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC58twice to detect changes that otherwise may be missed. The contents of RR0 are latched on th

Página 358

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC59CTS/DCD The CTS bit reports the state of the /CTS input, and the DCD bit reports the status

Página 359

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC60Block/DMA Transfer The SCC provides a Block Transfer mode to accommodate CPU block transfer

Página 360

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC61Wait On Transmit TimingThis allows the use of a block move instruction to transfer the tran

Página 361

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC62Wait On ReceiveThe Wait On Receive function is selected by setting D6 or WR1 to 0, D5 of WR

Página 362

SCC/ESCCUser ManualUM010903-0515viiSCC in Binary Synchronous Communications . . . . . . . . . . . . . . . . . . . . . . 275Serial Communication Con

Página 363

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC63Care must be taken when this mode is used. The /WAIT pin stays active as long as the Receiv

Página 364

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC64DMA Request On Transmit (using /W//REQ) The Request On Transmit function is selected by set

Página 365

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC65With only one exception, the /REQ pin directly follows the state of the transmit buffer (fo

Página 366

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC66DMA Request On Transmit (using /DTR//REQ) A second Request on Transmit function is availabl

Página 367

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC67If WR7' D4=1, analysis should be done to verify that the ESCC is not repeatedly access

Página 368

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC68from the time the character with the special receive condition is read, and the FIFO locked

Página 369

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC69Z85X30 Receive Request ReleaseTest Functions The SCC contains two other features useful for

Página 370

SCC/ESCCUser ManualUM010903-0515 Interfacing the SCC/ESCC70but both the /CTS pin and /DCD pin are ignored as auto enables. This should not be consider

Página 371

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry71SCC/ESCC Ancillary Support Circuitry Introduction The serial channels of the SC

Página 372

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry72over. The programmed time constant is read from RR12 and RR13. A block diagram

Página 373

SCC/ESCCUser ManualUM010903-0515 General Description1General DescriptionIntroduction Zilog’s SCC Serial Communication Controller is a dual channel, mu

Página 374

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry73The BRG is enabled while bit D0 of WR14 is set to 1. It is disabled while WR14

Página 375

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry74. Other commonly used clock frequencies include 3.6846, 4.6080, 4.91520, 6.144,

Página 376

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry75synchronous. The data encoding selected is active even though the transmitter o

Página 377

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry76forced High on the falling edge of the TxC cycle after the falling edge of the

Página 378

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry77Figure on page 75, the transmitter defines bit cell boundaries by one edge in

Página 379

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry78DPLL Digital Phase-Locked Loop Each channel of the SCC contains a digital phase

Página 380

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry79WR14 (7-5) = 110 selects FM modeA channel or hardware reset disables the DPLL,

Página 381

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry80the next 0 to 31 counting cycle, which effectively moves the edge of the clock

Página 382 - Questions and Answers

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry81DPLL Operation in the FM Modes To operate in FM mode, the DPLL must be supplied

Página 383

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry82If no transition occurs between the middle of count 12 and the middle of count

Página 384

SCC/ESCCUser ManualUM010903-0515 General Description2NMOS: Description applies to NMOS version (Z8030/Z8530)CMOS: Description applies to CMOS version

Página 385

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry83Transmit Clock Counter (ESCC only) The ESCC includes a Transmit Clock Counter w

Página 386

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry84Ordinarily, the /TRxC pin is an input, but it can become an output if this pin

Página 387

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry85Clock MultiplexerAsync Clock Setup Using an External CrystalOSC/SYNC/RTxCOSCRec

Página 388

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry86Clock Source Selection Figure on page 87 displays the use of the DPLL to deriv

Página 389

SCC/ESCCUser ManualUM010903-0515 SCC/ESCC Ancillary Support Circuitry87Synchronous Transmission, 1x Clock Rate, FM Data Encoding, using DPLLCrystal Os

Página 390

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes88Data Communication Modes Introduction The SCC provides two independent, full-duplex channel

Página 391

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes89nous modes, the SDLC flag character (7E hex) is programmed in WR7 and is loaded into the Tr

Página 392

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes90to enable the Receive FIFO, since it is available in all modes of operation. For each data

Página 393

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes91character programmed in WR7 and the character assembled in the Receive Sync register to est

Página 394 - Customer Support

SCC/ESCCUser ManualUM010903-0515 Data Communication Modes92Asynchronous Mode In asynchronous communications, data is transferred in the format display

Modelos relacionados Z80C30 | Z85230 | Z85233 | Z8523L | Z85C30 |

Comentários a estes Manuais

Sem comentários