Zilog Z80230 Uživatelský manuál

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

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 394
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - SCC/ESCC

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

Strany 2 - UM010903-0515

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

Strany 3 - Revision History

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

Strany 4 - Table of Contents

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 9 - SCC’s Capabilities

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

Strany 10

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

Strany 11

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

Strany 12

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

Strany 13 - SCC Block Diagram

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

Strany 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

Strany 15

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

Strany 16

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

Strany 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

Strany 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

Strany 19 - Z80X30 DIP Pin Assignments

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

Strany 20

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

Strany 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

Strany 22

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

Strany 23

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

Strany 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

Strany 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

Strany 26

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

Strany 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

Strany 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

Strany 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

Strany 30

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

Strany 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

Strany 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

Strany 33 - Z80X30 Reset

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

Strany 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

Strany 35 - Z85X30 Write Cycle Timing

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

Strany 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

Strany 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

Strany 38

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

Strany 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

Strany 40

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

Strany 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

Strany 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

Strany 43 - Interrupts

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

Strany 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

Strany 45

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

Strany 46

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

Strany 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

Strany 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

Strany 49

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

Strany 50

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

Strany 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

Strany 52 - The Receiver Interrupt

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

Strany 53 - Receive Interrupts Disabled

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

Strany 54

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

Strany 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

Strany 56 - Conditio

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

Strany 57

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

Strany 58

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

Strany 59

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

Strany 60

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

Strany 61

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

Strany 62

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

Strany 63 - External/Status Interrupts

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

Strany 64

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

Strany 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

Strany 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

Strany 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

Strany 68 - ASYNC Modes

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

Strany 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

Strany 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

Strany 71

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

Strany 72

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

Strany 73

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

Strany 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

Strany 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

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

Strany 77

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

Strany 78 - Baud Rate Generator

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

Strany 79

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

Strany 80

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

Strany 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

Strany 82

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

Strany 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

Strany 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

Strany 85

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

Strany 86

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

Strany 87

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

Strany 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

Strany 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

Strany 90 - Clock Selection

SCC/ESCCUser ManualUM010903-0515 General Description11Z85X30 PLCC Pin Assignments

Strany 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

Strany 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

Strany 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

Strany 94 - Crystal Oscillator

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

Strany 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

Strany 96 - Transmit Data Path

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

Strany 97

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

Strany 98

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

Strany 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

Strany 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

Strany 101

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

Strany 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

Strany 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

Strany 104

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

Strany 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

Strany 106

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

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

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

Strany 108

SCC/ESCCUser ManualUM010903-0515 Application Notes189

Strany 109

SCC/ESCCUser ManualUM010903-0515 Application Notes190)

Strany 110

SCC/ESCCUser ManualUM010903-0515 Application Notes191

Strany 111

SCC/ESCCUser ManualUM010903-0515 Application Notes192

Strany 112

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

Strany 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

Strany 114

SCC/ESCCUser ManualUM010903-0515 Application Notes193

Strany 115

SCC/ESCCUser ManualUM010903-0515 Application Notes194

Strany 116

SCC/ESCCUser ManualUM010903-0515 Application Notes195

Strany 117

SCC/ESCCUser ManualUM010903-0515 Application Notes196

Strany 118

SCC/ESCCUser ManualUM010903-0515 Application Notes197

Strany 119

SCC/ESCCUser ManualUM010903-0515 Application Notes198

Strany 120

SCC/ESCCUser ManualUM010903-0515 Application Notes199

Strany 121 - SDLC Transmit

SCC/ESCCUser ManualUM010903-0515 Application Notes200

Strany 122

SCC/ESCCUser ManualUM010903-0515 Application Notes201

Strany 123

SCC/ESCCUser ManualUM010903-0515 Application Notes202

Strany 124

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

Strany 125

SCC/ESCCUser ManualUM010903-0515 Application Notes203

Strany 126

SCC/ESCCUser ManualUM010903-0515 Application Notes204

Strany 127 - SDLC Receive

SCC/ESCCUser ManualUM010903-0515 Application Notes205

Strany 128

SCC/ESCCUser ManualUM010903-0515 Application Notes206

Strany 129

SCC/ESCCUser ManualUM010903-0515 Application Notes207

Strany 130

SCC/ESCCUser ManualUM010903-0515 Application Notes208

Strany 131

SCC/ESCCUser ManualUM010903-0515 Application Notes209

Strany 132

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

Strany 133 - SDLC Frame Status FIFO

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

Strany 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

Strany 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

Strany 136

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

Strany 137 - SDLC Loop Mode

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

Strany 138

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

Strany 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

Strany 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

Strany 141

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

Strany 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

Strany 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

Strany 144

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

Strany 145 - Write Registers

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

Strany 146

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

Strany 147

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

Strany 148

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

Strany 149 - Definition)

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

Strany 150

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

Strany 151 - Z85X30 Register Map

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

Strany 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

Strany 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

Strany 154

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

Strany 155

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

Strany 156

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

Strany 157

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

Strany 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

Strany 159

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

Strany 160

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

Strany 161

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

Strany 162

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

Strany 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

Strany 164

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

Strany 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

Strany 166

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

Strany 167

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

Strany 168

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

Strany 169

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

Strany 170

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

Strany 171

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

Strany 172

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

Strany 173

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

Strany 174

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

Strany 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

Strany 176

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

Strany 177

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

Strany 178

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

Strany 179

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

Strany 180

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

Strany 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

Strany 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

Strany 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

Strany 184

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

Strany 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

Strany 186

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

Strany 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

Strany 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

Strany 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

Strany 190

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

Strany 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

Strany 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

Strany 193 - Read Register 12

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

Strany 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

Strany 195 - Application Notes

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

Strany 196

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

Strany 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

Strany 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

Strany 199

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

Strany 200

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

Strany 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

Strany 202

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

Strany 203

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

Strany 204

SCC/ESCCUser ManualUM010903-0515275SCC in Binary Synchronous Communications

Strany 205

SCC/ESCCUser ManualUM010903-0515276

Strany 206

SCC/ESCCUser ManualUM010903-0515277

Strany 207

SCC/ESCCUser ManualUM010903-0515278

Strany 208

SCC/ESCCUser ManualUM010903-0515279

Strany 209

SCC/ESCCUser ManualUM010903-0515280

Strany 210

SCC/ESCCUser ManualUM010903-0515281

Strany 211

SCC/ESCCUser ManualUM010903-0515282

Strany 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

Strany 213

SCC/ESCCUser ManualUM010903-0515283

Strany 214

SCC/ESCCUser ManualUM010903-0515284

Strany 215

SCC/ESCCUser ManualUM010903-0515285

Strany 216

SCC/ESCCUser ManualUM010903-0515286

Strany 217 - Discussion

SCC/ESCCUser ManualUM010903-0515287

Strany 218 - Z180 to Memory Interface

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

Strany 219

SCC/ESCCUser ManualUM010903-0515289

Strany 220 - EPROM Interface

SCC/ESCCUser ManualUM010903-0515290

Strany 221

SCC/ESCCUser ManualUM010903-0515291

Strany 222 - SRAM Read Cycle

SCC/ESCCUser ManualUM010903-0515292

Strany 223 - Memory Interface Logic

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

Strany 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

Strany 225 - Physical Memory Address Map

SCC/ESCCUser ManualUM010903-0515293

Strany 226 - Z180 to I/O Interface

SCC/ESCCUser ManualUM010903-0515294

Strany 227 - Z180 I/O Write Cycle Timing

SCC/ESCCUser ManualUM010903-0515295

Strany 228

SCC/ESCCUser ManualUM010903-0515296

Strany 229

SCC/ESCCUser ManualUM010903-0515297

Strany 230 - System Control Signals

SCC/ESCCUser ManualUM010903-0515298

Strany 231 - Read Cycle Timing

SCC/ESCCUser ManualUM010903-0515299

Strany 232 - SCC Interrupt Operation

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

Strany 233

SCC/ESCCUser ManualUM010903-0515301

Strany 234 - Z180 MPU to SCC Interface

SCC/ESCCUser ManualUM010903-0515302

Strany 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

Strany 236

SCC/ESCCUser ManualUM010903-0515303

Strany 237

SCC/ESCCUser ManualUM010903-0515304

Strany 238

SCC/ESCCUser ManualUM010903-0515305

Strany 239

SCC/ESCCUser ManualUM010903-0515306

Strany 240

SCC/ESCCUser ManualUM010903-0515307

Strany 241

SCC/ESCCUser ManualUM010903-0515308

Strany 242 - Using EPLD

SCC/ESCCUser ManualUM010903-0515309

Strany 243 - System Checkout

SCC/ESCCUser ManualUM010903-0515310

Strany 244 - Interrupt Acknowledge Cycle

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

Strany 245

SCC/ESCCUser ManualUM010903-0515312

Strany 246 - (Continued)

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

Strany 247

SCC/ESCCUser ManualUM010903-0515313

Strany 248

SCC/ESCCUser ManualUM010903-0515314

Strany 249

SCC/ESCCUser ManualUM010903-0515315

Strany 250

SCC/ESCCUser ManualUM010903-0515316

Strany 251

SCC/ESCCUser ManualUM010903-0515317

Strany 252

SCC/ESCCUser ManualUM010903-0515318

Strany 253

SCC/ESCCUser ManualUM010903-0515319

Strany 254

SCC/ESCCUser ManualUM010903-0515320

Strany 255

SCC/ESCCUser ManualUM010903-0515321

Strany 256 - Summary

SCC/ESCCUser ManualUM010903-0515322

Strany 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

Strany 258 - Processor

SCC/ESCCUser ManualUM010903-0515323

Strany 259

SCC/ESCCUser ManualUM010903-0515324

Strany 260 - Address Map

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

Strany 261

SCC/ESCCUser ManualUM010903-0515326

Strany 262

SCC/ESCCUser ManualUM010903-0515327

Strany 263

SCC/ESCCUser ManualUM010903-0515328

Strany 264

SCC/ESCCUser ManualUM010903-0515329

Strany 265

SCC/ESCCUser ManualUM010903-0515330

Strany 266

SCC/ESCCUser ManualUM010903-0515331

Strany 267

SCC/ESCCUser ManualUM010903-0515332

Strany 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

Strany 269 - (PBA)+511

SCC/ESCCUser ManualUM010903-0515333

Strany 270 - Serial Interfacing

SCC/ESCCUser ManualUM010903-0515334

Strany 271

SCC/ESCCUser ManualUM010903-0515335

Strany 272 - DMA channel

SCC/ESCCUser ManualUM010903-0515336

Strany 273

SCC/ESCCUser ManualUM010903-0515337

Strany 274

SCC/ESCCUser ManualUM010903-0515338

Strany 275

SCC/ESCCUser ManualUM010903-0515339

Strany 276 - Jumper Summary

SCC/ESCCUser ManualUM010903-0515340

Strany 277

SCC/ESCCUser ManualUM010903-0515341

Strany 278 - Control EPLD for 186 Board

SCC/ESCCUser ManualUM010903-0515342

Strany 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

Strany 280 - DMA EPLD for 186 Board

SCC/ESCCUser ManualUM010903-0515343

Strany 281 - NMI Field for 186 Board

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

Strany 282

SCC/ESCCUser ManualUM010903-0515345

Strany 283

SCC/ESCCUser ManualUM010903-0515346

Strany 284

SCC/ESCCUser ManualUM010903-0515347

Strany 285

SCC/ESCCUser ManualUM010903-0515348

Strany 286

SCC/ESCCUser ManualUM010903-0515349

Strany 287

SCC/ESCCUser ManualUM010903-0515350

Strany 288

SCC/ESCCUser ManualUM010903-0515351

Strany 289

SCC/ESCCUser ManualUM010903-0515352

Strany 290

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

Strany 291

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

Strany 292

SCC/ESCCUser ManualUM010903-0515354

Strany 293

SCC/ESCCUser ManualUM010903-0515355

Strany 294

SCC/ESCCUser ManualUM010903-0515356

Strany 295 - Operation

SCC/ESCCUser ManualUM010903-0515357

Strany 296

SCC/ESCCUser ManualUM010903-0515358

Strany 297

SCC/ESCCUser ManualUM010903-0515359

Strany 298

SCC/ESCCUser ManualUM010903-0515360

Strany 299

SCC/ESCCUser ManualUM010903-0515361

Strany 300

SCC/ESCCUser ManualUM010903-0515362

Strany 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

Strany 302

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

Strany 303

SCC/ESCCUser ManualUM010903-0515364

Strany 304

SCC/ESCCUser ManualUM010903-0515365

Strany 305

SCC/ESCCUser ManualUM010903-0515366

Strany 306

SCC/ESCCUser ManualUM010903-0515367

Strany 307

SCC/ESCCUser ManualUM010903-0515368

Strany 308

SCC/ESCCUser ManualUM010903-0515369

Strany 309

SCC/ESCCUser ManualUM010903-0515370

Strany 310

SCC/ESCCUser ManualUM010903-0515371

Strany 311

SCC/ESCCUser ManualUM010903-0515372

Strany 312

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

Strany 313

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

Strany 314

SCC/ESCCUser ManualUM010903-0515374

Strany 315

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

Strany 316

SCC/ESCCUser ManualUM010903-0515 Questions and Answers376

Strany 317

SCC/ESCCUser ManualUM010903-0515 Questions and Answers377

Strany 318 - ESCC Controller

SCC/ESCCUser ManualUM010903-0515 Questions and Answers378

Strany 319

SCC/ESCCUser ManualUM010903-0515 Questions and Answers379

Strany 320

SCC/ESCCUser ManualUM010903-0515 Questions and Answers380

Strany 321

SCC/ESCCUser ManualUM010903-0515 Questions and Answers381

Strany 322

SCC/ESCCUser ManualUM010903-0515 Questions and Answers382

Strany 323

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

Strany 324

SCC/ESCCUser ManualUM010903-0515 Questions and Answers383

Strany 325

SCC/ESCCUser ManualUM010903-0515 Questions and Answers384

Strany 326

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

Strany 327

SCC/ESCCUser ManualUM010903-0515 Questions and Answers386

Strany 328

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

Strany 329

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

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

Strany 331

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

Strany 332

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

Strany 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

Strany 334

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

Strany 335

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

Strany 336

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

Strany 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

Strany 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

Strany 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

Strany 340

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

Strany 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

Strany 342

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

Strany 343

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

Strany 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

Strany 345

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

Strany 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

Strany 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

Strany 348

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

Strany 349

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

Strany 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

Strany 351

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

Strany 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

Strany 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

Strany 354

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

Strany 355

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

Strany 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

Strany 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

Strany 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

Strany 359

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

Strany 360

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

Strany 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

Strany 362

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

Strany 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

Strany 364

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

Strany 365

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

Strany 366

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

Strany 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

Strany 368

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

Strany 369

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

Strany 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

Strany 371

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

Strany 372

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

Strany 373

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

Strany 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

Strany 375

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

Strany 376

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

Strany 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

Strany 378

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

Strany 379

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

Strany 380

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

Strany 381

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

Strany 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

Strany 383

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

Strany 384

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

Strany 385

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

Strany 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

Strany 387

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

Strany 388

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

Strany 389

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

Strany 390

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

Strany 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

Strany 392

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

Strany 393

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

Strany 394 - Customer Support

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

Příbuzné modely Z80C30 | Z85230 | Z85233 | Z8523L | Z85C30 |

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

Žádné komentáře