Zilog Z80230 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Czujniki Zilog Z80230. Zilog Z80230 User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 394
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - SCC/ESCC

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

Strona 2 - UM010903-0515

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

Strona 3 - Revision History

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

Strona 4 - Table of Contents

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 9 - SCC’s Capabilities

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

Strona 10

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

Strona 11

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

Strona 12

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

Strona 13 - SCC Block Diagram

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

Strona 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

Strona 15

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

Strona 16

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

Strona 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

Strona 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

Strona 19 - Z80X30 DIP Pin Assignments

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

Strona 20

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

Strona 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

Strona 22

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

Strona 23

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

Strona 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

Strona 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

Strona 26

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

Strona 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

Strona 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

Strona 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

Strona 30

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

Strona 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

Strona 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

Strona 33 - Z80X30 Reset

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

Strona 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

Strona 35 - Z85X30 Write Cycle Timing

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

Strona 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

Strona 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

Strona 38

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

Strona 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

Strona 40

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

Strona 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

Strona 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

Strona 43 - Interrupts

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

Strona 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

Strona 45

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

Strona 46

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

Strona 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

Strona 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

Strona 49

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

Strona 50

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

Strona 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

Strona 52 - The Receiver Interrupt

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

Strona 53 - Receive Interrupts Disabled

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

Strona 54

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

Strona 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

Strona 56 - Conditio

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

Strona 57

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

Strona 58

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

Strona 59

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

Strona 60

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

Strona 61

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

Strona 62

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

Strona 63 - External/Status Interrupts

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

Strona 64

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

Strona 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

Strona 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

Strona 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

Strona 68 - ASYNC Modes

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

Strona 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

Strona 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

Strona 71

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

Strona 72

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

Strona 73

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

Strona 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

Strona 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

Strona 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.

Strona 77

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

Strona 78 - Baud Rate Generator

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

Strona 79

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

Strona 80

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

Strona 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

Strona 82

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

Strona 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

Strona 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

Strona 85

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

Strona 86

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

Strona 87

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

Strona 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

Strona 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

Strona 90 - Clock Selection

SCC/ESCCUser ManualUM010903-0515 General Description11Z85X30 PLCC Pin Assignments

Strona 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

Strona 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

Strona 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

Strona 94 - Crystal Oscillator

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

Strona 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

Strona 96 - Transmit Data Path

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

Strona 97

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

Strona 98

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

Strona 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

Strona 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

Strona 101

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

Strona 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

Strona 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

Strona 104

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

Strona 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

Strona 106

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

Strona 107 - WR4 3 (=0) select sync mode

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

Strona 108

SCC/ESCCUser ManualUM010903-0515 Application Notes189

Strona 109

SCC/ESCCUser ManualUM010903-0515 Application Notes190)

Strona 110

SCC/ESCCUser ManualUM010903-0515 Application Notes191

Strona 111

SCC/ESCCUser ManualUM010903-0515 Application Notes192

Strona 112

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

Strona 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

Strona 114

SCC/ESCCUser ManualUM010903-0515 Application Notes193

Strona 115

SCC/ESCCUser ManualUM010903-0515 Application Notes194

Strona 116

SCC/ESCCUser ManualUM010903-0515 Application Notes195

Strona 117

SCC/ESCCUser ManualUM010903-0515 Application Notes196

Strona 118

SCC/ESCCUser ManualUM010903-0515 Application Notes197

Strona 119

SCC/ESCCUser ManualUM010903-0515 Application Notes198

Strona 120

SCC/ESCCUser ManualUM010903-0515 Application Notes199

Strona 121 - SDLC Transmit

SCC/ESCCUser ManualUM010903-0515 Application Notes200

Strona 122

SCC/ESCCUser ManualUM010903-0515 Application Notes201

Strona 123

SCC/ESCCUser ManualUM010903-0515 Application Notes202

Strona 124

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

Strona 125

SCC/ESCCUser ManualUM010903-0515 Application Notes203

Strona 126

SCC/ESCCUser ManualUM010903-0515 Application Notes204

Strona 127 - SDLC Receive

SCC/ESCCUser ManualUM010903-0515 Application Notes205

Strona 128

SCC/ESCCUser ManualUM010903-0515 Application Notes206

Strona 129

SCC/ESCCUser ManualUM010903-0515 Application Notes207

Strona 130

SCC/ESCCUser ManualUM010903-0515 Application Notes208

Strona 131

SCC/ESCCUser ManualUM010903-0515 Application Notes209

Strona 132

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

Strona 133 - SDLC Frame Status FIFO

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

Strona 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

Strona 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

Strona 136

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

Strona 137 - SDLC Loop Mode

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

Strona 138

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

Strona 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

Strona 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

Strona 141

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

Strona 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

Strona 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

Strona 144

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

Strona 145 - Write Registers

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

Strona 146

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

Strona 147

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

Strona 148

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

Strona 149 - Definition)

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

Strona 150

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

Strona 151 - Z85X30 Register Map

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

Strona 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

Strona 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

Strona 154

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

Strona 155

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

Strona 156

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

Strona 157

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

Strona 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

Strona 159

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

Strona 160

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

Strona 161

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

Strona 162

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

Strona 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

Strona 164

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

Strona 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

Strona 166

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

Strona 167

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

Strona 168

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

Strona 169

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

Strona 170

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

Strona 171

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

Strona 172

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

Strona 173

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

Strona 174

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

Strona 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

Strona 176

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

Strona 177

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

Strona 178

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

Strona 179

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

Strona 180

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

Strona 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

Strona 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

Strona 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

Strona 184

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

Strona 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

Strona 186

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

Strona 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

Strona 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

Strona 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

Strona 190

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

Strona 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

Strona 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

Strona 193 - Read Register 12

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

Strona 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

Strona 195 - Application Notes

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

Strona 196

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

Strona 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

Strona 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

Strona 199

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

Strona 200

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

Strona 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

Strona 202

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

Strona 203

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

Strona 204

SCC/ESCCUser ManualUM010903-0515275SCC in Binary Synchronous Communications

Strona 205

SCC/ESCCUser ManualUM010903-0515276

Strona 206

SCC/ESCCUser ManualUM010903-0515277

Strona 207

SCC/ESCCUser ManualUM010903-0515278

Strona 208

SCC/ESCCUser ManualUM010903-0515279

Strona 209

SCC/ESCCUser ManualUM010903-0515280

Strona 210

SCC/ESCCUser ManualUM010903-0515281

Strona 211

SCC/ESCCUser ManualUM010903-0515282

Strona 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

Strona 213

SCC/ESCCUser ManualUM010903-0515283

Strona 214

SCC/ESCCUser ManualUM010903-0515284

Strona 215

SCC/ESCCUser ManualUM010903-0515285

Strona 216

SCC/ESCCUser ManualUM010903-0515286

Strona 217 - Discussion

SCC/ESCCUser ManualUM010903-0515287

Strona 218 - Z180 to Memory Interface

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

Strona 219

SCC/ESCCUser ManualUM010903-0515289

Strona 220 - EPROM Interface

SCC/ESCCUser ManualUM010903-0515290

Strona 221

SCC/ESCCUser ManualUM010903-0515291

Strona 222 - SRAM Read Cycle

SCC/ESCCUser ManualUM010903-0515292

Strona 223 - Memory Interface Logic

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

Strona 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

Strona 225 - Physical Memory Address Map

SCC/ESCCUser ManualUM010903-0515293

Strona 226 - Z180 to I/O Interface

SCC/ESCCUser ManualUM010903-0515294

Strona 227 - Z180 I/O Write Cycle Timing

SCC/ESCCUser ManualUM010903-0515295

Strona 228

SCC/ESCCUser ManualUM010903-0515296

Strona 229

SCC/ESCCUser ManualUM010903-0515297

Strona 230 - System Control Signals

SCC/ESCCUser ManualUM010903-0515298

Strona 231 - Read Cycle Timing

SCC/ESCCUser ManualUM010903-0515299

Strona 232 - SCC Interrupt Operation

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

Strona 233

SCC/ESCCUser ManualUM010903-0515301

Strona 234 - Z180 MPU to SCC Interface

SCC/ESCCUser ManualUM010903-0515302

Strona 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

Strona 236

SCC/ESCCUser ManualUM010903-0515303

Strona 237

SCC/ESCCUser ManualUM010903-0515304

Strona 238

SCC/ESCCUser ManualUM010903-0515305

Strona 239

SCC/ESCCUser ManualUM010903-0515306

Strona 240

SCC/ESCCUser ManualUM010903-0515307

Strona 241

SCC/ESCCUser ManualUM010903-0515308

Strona 242 - Using EPLD

SCC/ESCCUser ManualUM010903-0515309

Strona 243 - System Checkout

SCC/ESCCUser ManualUM010903-0515310

Strona 244 - Interrupt Acknowledge Cycle

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

Strona 245

SCC/ESCCUser ManualUM010903-0515312

Strona 246 - (Continued)

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

Strona 247

SCC/ESCCUser ManualUM010903-0515313

Strona 248

SCC/ESCCUser ManualUM010903-0515314

Strona 249

SCC/ESCCUser ManualUM010903-0515315

Strona 250

SCC/ESCCUser ManualUM010903-0515316

Strona 251

SCC/ESCCUser ManualUM010903-0515317

Strona 252

SCC/ESCCUser ManualUM010903-0515318

Strona 253

SCC/ESCCUser ManualUM010903-0515319

Strona 254

SCC/ESCCUser ManualUM010903-0515320

Strona 255

SCC/ESCCUser ManualUM010903-0515321

Strona 256 - Summary

SCC/ESCCUser ManualUM010903-0515322

Strona 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

Strona 258 - Processor

SCC/ESCCUser ManualUM010903-0515323

Strona 259

SCC/ESCCUser ManualUM010903-0515324

Strona 260 - Address Map

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

Strona 261

SCC/ESCCUser ManualUM010903-0515326

Strona 262

SCC/ESCCUser ManualUM010903-0515327

Strona 263

SCC/ESCCUser ManualUM010903-0515328

Strona 264

SCC/ESCCUser ManualUM010903-0515329

Strona 265

SCC/ESCCUser ManualUM010903-0515330

Strona 266

SCC/ESCCUser ManualUM010903-0515331

Strona 267

SCC/ESCCUser ManualUM010903-0515332

Strona 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

Strona 269 - (PBA)+511

SCC/ESCCUser ManualUM010903-0515333

Strona 270 - Serial Interfacing

SCC/ESCCUser ManualUM010903-0515334

Strona 271

SCC/ESCCUser ManualUM010903-0515335

Strona 272 - DMA channel

SCC/ESCCUser ManualUM010903-0515336

Strona 273

SCC/ESCCUser ManualUM010903-0515337

Strona 274

SCC/ESCCUser ManualUM010903-0515338

Strona 275

SCC/ESCCUser ManualUM010903-0515339

Strona 276 - Jumper Summary

SCC/ESCCUser ManualUM010903-0515340

Strona 277

SCC/ESCCUser ManualUM010903-0515341

Strona 278 - Control EPLD for 186 Board

SCC/ESCCUser ManualUM010903-0515342

Strona 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

Strona 280 - DMA EPLD for 186 Board

SCC/ESCCUser ManualUM010903-0515343

Strona 281 - NMI Field for 186 Board

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

Strona 282

SCC/ESCCUser ManualUM010903-0515345

Strona 283

SCC/ESCCUser ManualUM010903-0515346

Strona 284

SCC/ESCCUser ManualUM010903-0515347

Strona 285

SCC/ESCCUser ManualUM010903-0515348

Strona 286

SCC/ESCCUser ManualUM010903-0515349

Strona 287

SCC/ESCCUser ManualUM010903-0515350

Strona 288

SCC/ESCCUser ManualUM010903-0515351

Strona 289

SCC/ESCCUser ManualUM010903-0515352

Strona 290

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

Strona 291

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

Strona 292

SCC/ESCCUser ManualUM010903-0515354

Strona 293

SCC/ESCCUser ManualUM010903-0515355

Strona 294

SCC/ESCCUser ManualUM010903-0515356

Strona 295 - Operation

SCC/ESCCUser ManualUM010903-0515357

Strona 296

SCC/ESCCUser ManualUM010903-0515358

Strona 297

SCC/ESCCUser ManualUM010903-0515359

Strona 298

SCC/ESCCUser ManualUM010903-0515360

Strona 299

SCC/ESCCUser ManualUM010903-0515361

Strona 300

SCC/ESCCUser ManualUM010903-0515362

Strona 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

Strona 302

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

Strona 303

SCC/ESCCUser ManualUM010903-0515364

Strona 304

SCC/ESCCUser ManualUM010903-0515365

Strona 305

SCC/ESCCUser ManualUM010903-0515366

Strona 306

SCC/ESCCUser ManualUM010903-0515367

Strona 307

SCC/ESCCUser ManualUM010903-0515368

Strona 308

SCC/ESCCUser ManualUM010903-0515369

Strona 309

SCC/ESCCUser ManualUM010903-0515370

Strona 310

SCC/ESCCUser ManualUM010903-0515371

Strona 311

SCC/ESCCUser ManualUM010903-0515372

Strona 312

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

Strona 313

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

Strona 314

SCC/ESCCUser ManualUM010903-0515374

Strona 315

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

Strona 316

SCC/ESCCUser ManualUM010903-0515 Questions and Answers376

Strona 317

SCC/ESCCUser ManualUM010903-0515 Questions and Answers377

Strona 318 - ESCC Controller

SCC/ESCCUser ManualUM010903-0515 Questions and Answers378

Strona 319

SCC/ESCCUser ManualUM010903-0515 Questions and Answers379

Strona 320

SCC/ESCCUser ManualUM010903-0515 Questions and Answers380

Strona 321

SCC/ESCCUser ManualUM010903-0515 Questions and Answers381

Strona 322

SCC/ESCCUser ManualUM010903-0515 Questions and Answers382

Strona 323

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

Strona 324

SCC/ESCCUser ManualUM010903-0515 Questions and Answers383

Strona 325

SCC/ESCCUser ManualUM010903-0515 Questions and Answers384

Strona 326

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

Strona 327

SCC/ESCCUser ManualUM010903-0515 Questions and Answers386

Strona 328

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

Strona 329

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

Strona 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.

Strona 331

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

Strona 332

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

Strona 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

Strona 334

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

Strona 335

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

Strona 336

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

Strona 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

Strona 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

Strona 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

Strona 340

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

Strona 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

Strona 342

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

Strona 343

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

Strona 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

Strona 345

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

Strona 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

Strona 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

Strona 348

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

Strona 349

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

Strona 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

Strona 351

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

Strona 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

Strona 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

Strona 354

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

Strona 355

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

Strona 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

Strona 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

Strona 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

Strona 359

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

Strona 360

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

Strona 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

Strona 362

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

Strona 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

Strona 364

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

Strona 365

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

Strona 366

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

Strona 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

Strona 368

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

Strona 369

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

Strona 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

Strona 371

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

Strona 372

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

Strona 373

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

Strona 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

Strona 375

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

Strona 376

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

Strona 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

Strona 378

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

Strona 379

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

Strona 380

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

Strona 381

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

Strona 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

Strona 383

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

Strona 384

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

Strona 385

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

Strona 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

Strona 387

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

Strona 388

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

Strona 389

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

Strona 390

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

Strona 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

Strona 392

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

Strona 393

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

Strona 394 - Customer Support

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

Powiązane modele: Z80C30 | Z85230 | Z85233 | Z8523L | Z85C30 |

Komentarze do niniejszej Instrukcji

Brak uwag