Ziatech Corporation ZT 89CT04 Dokumentacja

Przeglądaj online lub pobierz Dokumentacja dla Części komputerowe Ziatech Corporation ZT 89CT04. Ziatech Corporation ZT 89CT04 Specifications Instrukcja obsługi

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

Podsumowanie treści

Strona 1 - I/O Control Processor

ZT 8832I/O Control ProcessorOPERATING MANUALFor ZT 8832 Revision 0.5and ZT 88CT32 Revision 0.4Reorder Part Number ZT M8832May 10, 19941050 Southwood D

Strona 2 - ZIATECH 5+5 WARRANTY

ContentsZT 88CT32 Requirements ... 2-3INSTALLING THE ZT 8832 WITH STD ROM... 2-5Memory Requirement

Strona 3 - 1998 Ziatech Corporation

Processor Description (V40)TA, TB, AND TCALUPSW [FL]Effective AddressGeneratorPS [CS]SS [SS]DS0 [DS]DS1 [ES]PFP [IP]DPQ0-Q3AW [AX]BW[BX]CW [CX]DW [DX]

Strona 4

Processor Description (V40)CPU Functional BlocksThe functional blocks in Figure 5-2 are described below. The NECmnemonic is shown for each block, foll

Strona 5

Processor Description (V40)Strings are addressed differently from other variables. Thesegment register used to point to the source string is DS0 [DS],

Strona 6

Processor Description (V40)For sequentially addressed instructions, the PFP [IP] is incremen-ted by the number of bytes of the current instruction to

Strona 7

Processor Description (V40)General Purpose RegistersAW [AX], BW [BX], CW [CX], and DW [DX]The CPU has four 16-bit general purpose registers. Each of t

Strona 8

Processor Description (V40)Pointers and Index RegistersSP [SP], BP [BP], and IX [SI], IY [DI]The two 16-bit pointer registers are used primarily for s

Strona 9 - CONTENTS

Processor Description (V40)Loop CounterLCLC is a binary counter used to regulate iterative operations suchas string transfers controlled by the repeat

Strona 10 - Contents

Processor Description (V40)12 clocks to calculate the effective address using microcode.However, the V40 does all effective address calculations in tw

Strona 11

Processor Description (V40)The control flags are used by the programmer to direct CPUoperation. The control flags are set (logical 1) and reset(logica

Strona 12

Processor Description (V40)number of bits set. This flag is useful for checking the parity ofASCII characters.AC [AF] (Auxiliary Flag) - AC [AF] is se

Strona 13

ContentsObjectives ... 4-18Program Code... 4-19Chapter 5. PR

Strona 14

Processor Description (V40)the array during a string operation. After a string operation iscompleted, the index registers are incremented or decrement

Strona 15

Processor Description (V40)Enhanced ArchitectureThe V40 CPU includes several enhancements that provide an increasein performance over the 8088 micropr

Strona 16

Processor Description (V40)BIU - Bus Interface UnitThe BIU controls the external address, data, and control buses. TheBIU also synchronizes the RESET

Strona 17

Processor Description (V40)the buses at any given time. The bus masters are prioritized in thefollowing order:(1st) DCU - DMA Control Unit(2nd) HLDRQ

Strona 18

Processor Description (V40)WCU - Wait Control UnitThe WCU provides added flexibility for interfacing to memory andI/O that have varying speed requirem

Strona 19

Processor Description (V40)ICU - Interrupt Control UnitInterrupts provide an efficient interface between the V40 CPU andsupporting peripheral devices.

Strona 20 - ILLUSTRATIONS

Processor Description (V40)RESETResetting the V40 initializes registers internal to the CPU, VCR,SCU, TCU, ICU, and DCU. The reset states for the CPU

Strona 21 - Illustrations

Processor Description (V40)MEMORY AND I/O ADDRESSINGThis section discusses how the V40 communicates with memory andI/O devices. The V40 has a 20-bit a

Strona 22

Processor Description (V40)To the programmer, the V40 address space is organized as acontiguous sequence of up to 1 Mbyte. Data can be addressed in un

Strona 23 - INTRODUCTION

Processor Description (V40)The lower 16 of the 20 address lines are also used to address I/Odevices. With 16 bits of address, the V40 can directly acc

Strona 24

ContentsTCKS - Counter/Timer Clock Selection Register ... 6-10RESET... 6-12Chapter

Strona 25

Processor Description (V40)INTERRUPTSThe V40 includes a versatile interrupt structure that supports bothhardware and software initiated interrupts. Ha

Strona 26

Processor Description (V40)Table 5-4Interrupt Sources.Interrupt Source Clocks PrioritySoftware DIVU divide error 45 1DIV divide error 45-55 1CHKIND br

Strona 27 - Introduction

Processor Description (V40)The purpose of an interrupt is to redirect the CPU from its currentactivity to an interrupt service routine designed to han

Strona 28 - FUNCTIONAL BLOCKS

Processor Description (V40)The vector of an interrupt source must be known before the locationof the service routine address can be determined. The in

Strona 29

Processor Description (V40)Before describing each source of interrupt shown in the vector table, itis useful to summarize the operation of the CPU in

Strona 30

Processor Description (V40)CPU restores the PSW [FL], PS [CS], and PSP [IP]. The single-stepinterrupt is not masked by the IE [IF] bit in the PSW [FL]

Strona 31

Processor Description (V40)Check IndexThe purpose of the check index instruction is to test the index of anarray against an upper and lower limit. The

Strona 32

Processor Description (V40)8080 EMULATIONDesigns based on 8080 and 8085 microprocessors have two majorlimitations: inadequate performance and lack of

Strona 33 - GETTING STARTED

Processor Description (V40)A hardware interrupt suspends the 8080 emulation mode. The CPUpushes the PSW [FL] and return address onto the native mode s

Strona 34 - WHAT’S IN THE BOX?

Processor Description (V40)Emulation mode uses the BP [BP] register for the stack pointer, ratherthan the native mode SP [SP] register, to reduce the

Strona 35 - SYSTEM REQUIREMENTS

ContentsInterrupt Nesting ... 8-22Level- or Edge-Triggered... 8-25Finish Int

Strona 36 - ZT 8832 ICP

Chapter 6PROCESSOR CONFIGURATION (V40)Contents PageOVERVIEW ... 6-1VCR - V40 CONFIGURATION REGISTERS

Strona 37

Processor Configuration (V40)VCR - V40 CONFIGURATION REGISTERSThe 12 V40 configuration registers are mapped from I/O addressFFF0h through FFFFh. The r

Strona 38

Processor Configuration (V40)OPCN - On Chip Peripheral Connection RegisterFigure 6-1 shows the OPCN register. Bit 0 must be programmed witha logical 0

Strona 39

Processor Configuration (V40)OPSEL - On Chip Peripheral Selection RegisterThe V40 integrates several of the most common peripheral deviceswith a CPU i

Strona 40

Processor Configuration (V40)OPHA, DULA, IULA, TULA, and SULAFive registers determine the I/O base address of the programmableregisters used to commun

Strona 41

Processor Configuration (V40)The only restriction placed on programming these registers is to besure the peripherals internal to the V40 are not mappe

Strona 42

Processor Configuration (V40)WCY2 - Wait Cycle 2 RegisterThe V40 includes a programmable wait-state generator that interfacesto memory and I/O devices

Strona 43

Processor Configuration (V40)The ZT 8832 does not require any memory wait states if memorydevices with access times less than 250 ns are used. To sele

Strona 44

Processor Configuration (V40)WMB - Wait Memory Boundary RegisterThe ZT 8832 does not require any wait memory wait states if memorydevices with access

Strona 45

Processor Configuration (V40)The Middle Memory Block is defined between the top of the LMBand the bottom of the UMB. Offboard memory (STD bus) require

Strona 46

ContentsPROGRAMMABLE REGISTERS ... 10-5Serial Status Register (SST)... 10-6Serial Command

Strona 47 - III. USER’S REFERENCE

Processor Configuration (V40)The CS0, CS1, and CS2 (Clock Select 0, 1, and 2) bits select thecounter/timer clock source to be either the reference clo

Strona 48 - THEORY OF OPERATION

Processor Configuration (V40)RESETThe V40 configuration registers are automatically initialized to adefault state when power is applied to the V40 and

Strona 49

Chapter 7COUNTER/TIMERS (V40)Contents PageOVERVIEW ... 7-2ZT 8832 SPECIFICS...

Strona 50 - COMMONLY ASKED QUESTIONS

Counter/TimersOVERVIEWThis chapter describes the Counter/Timer Control Unit (TCU) andprovides register descriptions.The TCU includes three 16-bit prog

Strona 51

Counter/TimersZT 8832 SPECIFICSThe clock source for each counter/timer is defined in the TCKS V40configuration register. Choices for the clock source

Strona 52

Counter/TimersFUNCTIONAL DESCRIPTIONThe TCU is similar to the 8254 Programmable Interval Timer in thatthe programmable registers are the same. Some re

Strona 53

Counter/TimersMode RegisterThe 8-bit Mode register is programmed to control the operation of thecounter/timers.Clock Select andDivisorThe difference b

Strona 54

Counter/TimersThe Count register and Count Latch are the interface through whichthe count data is transferred between the TCU and the CPU. TheCount re

Strona 55 - DUAL PORT MEMORY

Counter/TimersPROGRAMMABLE REGISTERSFour separately addressable registers are used for communication withthe TCU. The TMD (Timer Mode) register specif

Strona 56

Counter/TimersTimer Mode Register (TMD)The counter/timers must be initialized with the 8-bit TMD register.The three formats for the TMD register are s

Strona 57

ContentsChapter 12. PARALLEL I/O 12-1OVERVIEW... 12-1ZT 8832 SPECIFICS...

Strona 58

Counter/TimersA new count can be written into the counter/timers at any timewithout reprogramming the TMD register. Care must be taken tobe consistent

Strona 59

Counter/TimersEach counter/timer must be programmed to operate in one of sixpossible count modes. Selection of the count mode is based on theneeds of

Strona 60

Counter/TimersMultiple Latch ModeProgramming the Select Counter bits of the TMD to logical 1sdefines the Multiple Latch command (see Figure 7-4). TheC

Strona 61

Counter/TimersCount RegistersThe Count register is illustrated in Figure 7-5. Unlike the Moderegister, there is one Count register for each of the thr

Strona 62 - BOARD SELECT OPTION

Counter/TimersThe Multiple Latch command must be used to read the status. Thenumber of required read operations depends on the Read/Write Modeand the

Strona 63

Counter/TimersOPERATIONResetThe TCU registers are not initialized to a default state after power onor reset.Count LatchCommandThe count of any counter

Strona 64 - STD BUS INTERRUPTS

Counter/TimersMultiple Latch CommandThe Multiple Latch command extends the capabilities of the CountLatch command. The Multiple Latch command is used

Strona 65

Counter/TimersModes of OperationThere are six possible count modes for the counter/timers. There arerestrictions for counter/timers 0 and 1 because th

Strona 66

Counter/TimersThe TCTL signal is used to enable and disable the counting operation.The counting operation is enabled if TCTL is high and disabled ifTC

Strona 67

Counter/TimersMode 1 - Retriggerable One-ShotIn Mode 1, counter/timer 2 is triggered to generate a pulse ofprogrammed length. Applications can use thi

Strona 68

ContentsFurther Reference ... 15-7IV.APPENDICESAppendix A. JUMPER CONFIGURATIONS A-1OVERVIEW...

Strona 69

Counter/TimersCLKTCTL2TOUT2COUNT = 0002H(Internal)IOWRCOUNT = 0005H(Internal)IOWRCOUNT = 0003HCount value??0002H 0001H 0000H FFFFH 0002H 0001H 0000H F

Strona 70

Counter/TimersMode 2 - Rate GeneratorThe output of a counter/timer in Mode 2 is high until the programmedcount reaches one, then pulses low for a sing

Strona 71 - APPLICATION EXAMPLES

Counter/TimersCLKTCTL2TOUT2COUNT = 0003H(Internal)IOWRCOUNT = 0006H(Internal)IOWRCOUNT = 0004HCount value??0002H 0001H 0003H 0002H 0002H 0003H 0002H 0

Strona 72 - EXAMPLE 1: V40 INITIALIZATION

Counter/TimersMode 3 - Square Wave GeneratorThe most common use for Mode 3 is baud rate generation. The V40Serial Control Unit requires that counter/t

Strona 73

Counter/TimersActual counter operation is different for even and odd counts. Foreven counts, the initial count is loaded in one clock pulse anddecreme

Strona 74

Counter/TimersMode 4 - Software Triggered StrobeMode 4 operation provides a means of generating a hardware delaytriggered by software. Counter/timer 2

Strona 75

Counter/TimersCLKTOUT2COUNT = 4(Internal)IOWR(Internal)IOWRCount value??0003H 0002H 0001H 0000H FFFFH FFFEH FFFDH FFFCHTOUT2Count value??0004H 0004H 0

Strona 76

Counter/TimersMode 5 - Hardware Triggered StrobeMode 5 operation provides a means of generating a hardware delaytriggered by a hardware signal. This m

Strona 77

Counter/TimersCLKCOUNT = 0002h(Internal)IOWRTCTL2(Internal)IOWRTOUT2Count value??0004h 0003h 0002h 0001h 0000h FFFFh FFFEh 0003hCOUNT = 0004h COUNT =

Strona 78

Counter/TimersProgrammingThe TCU is enabled and mapped into an I/O address range using theV40 configuration register. The TCU includes three counter/t

Strona 79

ContentsV. INDEXIndex ...i

Strona 80

Chapter 8INTERRUPT CONTROLLER (V40)Contents PageOVERVIEW ... 8-2ZT 8832 SPECIFICS...

Strona 81

Interrupt Controller (V40)OVERVIEWThis chapter describes the Interrupt Control Unit (ICU) and providesregister descriptions.The ICU is a programmable

Strona 82

Interrupt Controller (V40)ZT 8832 SPECIFICSThe inputs to the interrupt controller are connected as shown inTable 8-1.Table 8-1Interrupt Controller Inp

Strona 83

Interrupt Controller (V40)FUNCTIONAL DESCRIPTIONThe format of the ICU programmable registers is the same as theindustry standard 8259 Programmable Int

Strona 84

Interrupt Controller (V40)Interrupt Mask RegisterAll interrupt requests are latched by the Interrupt Request register.The Interrupt Mask register acts

Strona 85

Interrupt Controller (V40)Control LogicThis functional block directs the operation of the other ICU blocksbased on the programmed mode of operation. T

Strona 86

Interrupt Controller (V40)PROGRAMMABLE REGISTERSThe ICU is initialized with Interrupt Initialization Word 1 (IIW1)through Interrupt Initialization Wor

Strona 87

Interrupt Controller (V40)Initialization Words (IIW1, IIW2, IIW3, and IIW4)The ICU must be initialized before it can be used. Initializationconsists o

Strona 88 - EXAMPLE 3: WATCHDOG TIMER

Interrupt Controller (V40)IIW1 and IIW2Interrupt Initialization Words 1 (IIW1) and 2 (IIW2) are requiredfor ICU initialization. The IIW1 register, sho

Strona 89

Interrupt Controller (V40)The ICU responds to an interrupt acknowledge by supplying theCPU with an interrupt vector based on which interrupt generated

Strona 90

TABLESTable 2–1 STD ROM Jumper Configuration. ... 2-6Table 2–2 DOS MPX Jumper Configuration... 2-8Table 3–1 Devic

Strona 91

Interrupt Controller (V40)IIW4Figure 8-6 shows the architecture for IIW4. IIW1 must be pro-grammed with a logical 1 in the II4 bit if IIW4 is used. A

Strona 92

Interrupt Controller (V40)Operation Words (IMKW, IPFW, and IMDW)Once initialized, the operation of the ICU is controlled with three8-bit values called

Strona 93 - END MAIN

Interrupt Controller (V40)IPFWIPFW selects fixed or rotating priorities and the method ofinforming the ICU that an interrupt has been serviced. Operat

Strona 94 - PROCESSOR DESCRIPTION (V40)

Interrupt Controller (V40)The IL0 through IL2 bits designate an interrupt level. This levelis used by certain combinations of the FI, SIL, and RP bits

Strona 95

Interrupt Controller (V40)IMDWIMDW controls the method of reading status from the ICU andenables a special type of interrupt masking.The format of the

Strona 96

Interrupt Controller (V40)The POL bit selects the poll command. The two most commonlyused methods of servicing peripherals in a microprocessor systema

Strona 97

Interrupt Controller (V40)IRQ and IISThe IRQ and IIS status words, shown in Figure 8-10 below, aretaken directly from the Interrupt Request register a

Strona 98

Interrupt Controller (V40)Figure 8-11 shows the IPOL status word. Bits PL0 through PL2define the highest priority interrupt input requesting service.

Strona 99

Interrupt Controller (V40)OPERATIONResetThe ICU registers are not initialized to a default state when power isapplied to the ZT 8832 or after a reset.

Strona 100

Interrupt Controller (V40)The V40 interrupt acknowledge cycle is two machine cycles long andlooks much the same as two I/O read cycles. The difference

Strona 101

TablesTable B–3 J1 Parallel Port Pinout. ... B-11Table B–4 J2 Serial Port (RS-232-C) Pinout... B-12Table B

Strona 102 - is specified in IY [DI]

Interrupt Controller (V40)Interrupt VectorsThe CPU responds to all external interrupt requests by reading an8-bit value from the interrupt device that

Strona 103 - The offset

Interrupt Controller (V40)Interrupt NestingInterrupt nesting is a powerful structure that allows an interruptcurrently under service to be suspended w

Strona 104

Interrupt Controller (V40)Main ProgramSIIRQ3Interrupt...IRQ3 ServiceRoutineIRQ1InterruptSI...FIRETRETServiceRoutineFIIRQ1Figure 8–13. Nested Interrupt

Strona 105 - the top of

Interrupt Controller (V40)Next, an IRQ1 request occurs. Since interrupts are automaticallydisabled upon entering a service routine, the IRQ1 request i

Strona 106

Interrupt Controller (V40)Level- or Edge-TriggeredThe two primary methods of sensing interrupt requests are to sensethe logical state (level) or the t

Strona 107

Interrupt Controller (V40)Finish InterruptsThe ICU must be told when a service routine is completed so that thein-service bit of the IIS register can

Strona 108

Interrupt Controller (V40)Automatic Finish InterruptWhen programmed for automatic FI, the ICU automatically executesa nonspecific FI during the interr

Strona 109

Interrupt Controller (V40)Automatic Priority RotationAutomatic priority rotation is used in applications with interruptdevices that are of equal prior

Strona 110

Interrupt Controller (V40)Specific Priority RotationSpecific rotation, like automatic rotation, can be used to change thepriorities of the ICU inputs.

Strona 111

Interrupt Controller (V40)Interrupt MaskingThe ICU inputs are all maskable. The "clear interrupt" instruction canbe executed to disable all

Strona 112

ZIATECH 5+5 WARRANTYFor Ziatech Board- and System-Level Computer ProductsFIVE-YEAR LIMITED WARRANTYProducts manufactured by Ziatech Corporation are co

Strona 113

ILLUSTRATIONSFigure 1–1 Functional Block Diagram. ... 1-5Figure 2–1 STD ROM Jumper Configuration... 2-4Figu

Strona 114

Interrupt Controller (V40)Interrupt StatusThe Interrupt Request (IRQ), Interrupt In-Service (IIS), and InterruptMask (IMKW) registers are available to

Strona 115

Chapter 9DMA CONTROLLER (V40)Contents PageOVERVIEW ... 9-2ZT 8832 SPECIFICS...

Strona 116

DMA Controller (V40)OVERVIEWThis chapter describes the Direct Memory Access Control Unit(DCU) and provides register descriptions.The DCU is a programm

Strona 117 - MEMORY AND I/O ADDRESSING

DMA Controller (V40)ZT 8832 SPECIFICSThe ZT 8832 uses one of the four DMA controllers contained in theV40. DMA channel 0 is used to coordinate high sp

Strona 118

DMA Controller (V40)FUNCTIONAL DESCRIPTIONFigure 9-1 illustrates a block diagram of the DCU. The DCU isdivided into six major blocks for explanation p

Strona 119

DMA Controller (V40)Internal Bus InterfaceThe Internal Bus Interface monitors address and data buses forprogramming information. The Internal Bus Inte

Strona 120 - INTERRUPTS

DMA Controller (V40)Count RegisterThe Count register includes a 16-bit base count and a 16-bit currentcount. The base count and current count are prog

Strona 121

DMA Controller (V40)PROGRAMMABLE REGISTERSThe DCU occupies 16 consecutive I/O port addresses. Of those 16addresses, 12 are used by the programmer to a

Strona 122 - PFP (IP)

DMA Controller (V40)DMA Initialize Command (DICM)The initialization command, shown in Figure 9-2, includes one bitthat can be set to a logical 1 to re

Strona 123

DMA Controller (V40)For read operations, the BASE bit set to a logical 0 defines whetherthe current register is made available for a read operation or

Strona 124

IllustrationsFigure 7–8 Mode 1 Operation. ... 7-19Figure 7–9 Mode 2 Operation... 7-21Figu

Strona 125

DMA Controller (V40)DMA Base Count/Current Count (DBC/DCC)Two DBC/DCC registers make up the 16-bit DMA count, as shown inFigure 9-4. The two DBC/DCC r

Strona 126

DMA Controller (V40)DMA Base Address/Current Address (DBA/DCA)Three DBA/DCA registers specify the 20-bit address. The format ofthese registers is show

Strona 127 - 8080 EMULATION

DMA Controller (V40)DMA Device Control (DDC)Two DDC registers select various DCU operating modes. The formatfor these registers is shown in Figure 9-6

Strona 128

DMA Controller (V40)DMA Mode (DMD)Figure 9-7 shows the format of the DMD register. The DMD registercan be accessed with byte or word instructions. The

Strona 129

DMA Controller (V40)Autoinitialize is a feature that automatically reloads the DCU CurrentAddress and Current Count registers from the Base Address an

Strona 130 - PROCESSOR CONFIGURATION (V40)

DMA Controller (V40)DMA Status (DST)The Status register includes information about the currentlyprogrammed state of the DMA channel. The format for DS

Strona 131

DMA Controller (V40)DMA Mask (DMK)The DMK register, shown in Figure 9-9, is used to mask DMArequests made by the DMA channel. The register is accessed

Strona 132

DMA Controller (V40)OPERATIONResetThe DCU registers are initialized after power-on or after a pushbuttonreset. Table 9-2 shows the initialized state.T

Strona 133

DMA Controller (V40)Block Mode TransfersIn block transfer mode, the DCU continues servicing the DMAchannel until the count register is decremented to

Strona 134

Chapter 10SERIAL COMMUNICATIONS (V40)Contents PageOVERVIEW ... 10-2ZT 8832 SPECIFICS...

Strona 135

IllustrationsFigure 11–9 ACC Serial Data Format. ... 11-21Figure 12–1 Parallel Port Functional Diagram... 12-

Strona 136 - 76543210

Serial Communications (V40)OVERVIEWThis chapter describes the Serial Control Unit (SCU) and providesregister descriptions and baud rate information.Th

Strona 137

Serial Communications (V40)FUNCTIONAL DESCRIPTIONThe SCU is similar to the 8251 Serial Control Unit for asynchronousoperation. The SCU does not suppor

Strona 138

Serial Communications (V40)Read/Write ControlThe Read/Write Control block acts as an interface between theinternal registers of the SCU and the CPU. T

Strona 139 - Address:FFF2h

Serial Communications (V40)PROGRAMMABLE REGISTERSSix registers are used for communication with the SCU. The SerialTransmit Buffer (STB) and Serial Rec

Strona 140

Serial Communications (V40)Serial Status Register (SST)Figure 10-2 shows the architecture of the SST register, which can beread at any time.Register:S

Strona 141

Serial Communications (V40)Buffer Ready) bit is set to a logical 1 when a character is transferredinto the SRB. Application software uses RBRDY to det

Strona 142 - COUNTER/TIMERS (V40)

Serial Communications (V40)Serial Command Register (SCM)Figure 10-3 illustrates the SCM register bit map. The SCU is config-ured with the SCM and the

Strona 143 - OVERVIEW

Serial Communications (V40)error conditions occur and remain set until a logical 1 is written to theECL bit.Serial Mode Register(SMD)Figure 10-4 shows

Strona 144 - ZT 8832 SPECIFICS

Serial Communications (V40)Enabling even or odd parity is the function of the PS field. Parity isdisabled if a logical 0 is written to bit 4. If parit

Strona 145 - FUNCTIONAL DESCRIPTION

Serial Communications (V40)OPERATIONResetThe SCU registers are automatically initialized to a default state whenpower is applied to the ZT 8832, or du

Strona 146

Chapter 1INTRODUCTIONContents PageOVERVIEW ... 1-2Product Definition...

Strona 147

Serial Communications (V40)Serial Data FormatThe SCU supports asynchronous communication. The asynchronousdata format is shown in Figure 10-6 to inclu

Strona 148 - PROGRAMMABLE REGISTERS

Serial Communications (V40)Baud RateThe SCU baud rate is determined by the output of counter/timer 1.Counter/timer 1 must be initialized for a specifi

Strona 149

Serial Communications (V40)The calculation to determine the count value to be programmed intocounter/timer 1 is shown below to be 26. Note that the ca

Strona 150 - Note: x = Don’t Care

Serial Communications (V40)If the counter/timers are driven with the external TCLK pin throughconnector J3, instead of with the V40 clock, use the for

Strona 151 - 000000SC

Serial Communications (V40)ProgrammingThe SCU is enabled and mapped into an I/O address range using theV40 Configuration register. The SCU includes fo

Strona 152

Chapter 11SERIAL COMMUNICATIONS (82050)Contents PageOVERVIEW ... 11-2ZT 8832 SPECIFICS...

Strona 153

Serial Communications (82050)OVERVIEWThis chapter describes the Asynchronous Communication Controller(ACC) and provides register descriptions and baud

Strona 154

Serial Communications (82050)ZT 8832 SPECIFICSThe ACC serial port, available at connector J2, includes TransmitData (TxD), Receive Data (RxD), and sup

Strona 155 - OPERATION

Serial Communications (82050)FUNCTIONAL DESCRIPTIONThe ACC is functionally compatible with the industry standard16450/8250A found in most Personal Com

Strona 156

Serial Communications (82050)Read/Write ControlThe main function of the Read/Write Control block is to supervise theinterface between the ACC internal

Strona 157 - Count value

IntroductionOVERVIEWThis chapter provides a brief introduction to the ZT 8832. It includesa product definition, a list of product features, a function

Strona 158

Serial Communications (82050)Modem ControlThe Modem Control block includes the serial communicationhandshake, RS-485 buffer control, and parallel port

Strona 159

Serial Communications (82050)PROGRAMMABLE REGISTERSThe remainder of the functional blocks illustrated in Figure 11-1 areprogrammable registers. Table

Strona 160 - Figure 7–8. Mode 1 Operation

Serial Communications (82050)Transmit and Receive BufferThe Transmit Buffer, Receive Buffer, and Interrupt Enable registersshare the same addresses as

Strona 161

Serial Communications (82050)Register:Line ControlAddress:03FBhAccess:Read/Write76543210WLSWord Length Select00 5 bits01 6 bits10 7 bits11 8 bitsSTBSt

Strona 162 - Figure 7–9. Mode 2 Operation

Serial Communications (82050)The STB bit selects the number of stop bits added to each charactertransmitted and removed from each character received.

Strona 163

Serial Communications (82050)Line StatusThe Line Status register, shown in Figure 11-3, provides informationto the CPU concerning the data transfer. R

Strona 164

Serial Communications (82050)The DR bit indicates the state of the ACC Receive Buffer. A logical 1in the DR bit signals the availability of a characte

Strona 165

Serial Communications (82050)Modem ControlThe Modem Control register, shown in Figure 11-4, includes theserial handshake, RS-485 driver enable, and pa

Strona 166

Serial Communications (82050)The RTS bit (bit 1) defines the state of the Request To Send (RTS)signal. Programming the RTS bit with a logical 0 forces

Strona 167

Serial Communications (82050)Modem StatusFigure 11-5 shows the format of the Modem Status register. All eightbits of this register are used to indicat

Strona 168

IntroductionFeatures of the ZT 8832• STD 32 bus compatible• 8088/8086 code compatible• One 32-pin EPROM socket (480 Kbyte capacity)• Two 32-pin RAM so

Strona 169

Serial Communications (82050)The DCTS, DDSR, and DDCD bits (bits 0, 1, and 3) are set to alogical 1 to indicate that the CTS, DSR, and DCD bits have c

Strona 170 - INTERRUPT CONTROLLER (V40)

Serial Communications (82050)Divisor LatchThe ACC baud rate is selected by programming the least significantbyte (LSB) and most significant byte (MSB)

Strona 171

Serial Communications (82050)Interrupt IdentifyThe ACC includes 10 sources of interrupts prioritized into fourcategories. The Interrupt Identify regis

Strona 172

Serial Communications (82050)Interrupt EnableThe Interrupt Enable register, shown in Figure 11-8, defines which ofthe four categories of interrupts ar

Strona 173

Serial Communications (82050)OPERATIONResetThe ACC registers are automatically initialized to a default state afterreset. Table 11-3 shows the default

Strona 174

Serial Communications (82050)Serial Data FormatThe ACC supports asynchronous data transfers. The format for theasynchronous data includes start, stop,

Strona 175

Serial Communications (82050)Baud RateThe ACC includes an internal baud rate generator to divide the18.432 MHz reference frequency down to a value equ

Strona 176

Serial Communications (82050)Interrupt and Polled CommunicationSerial data can be transferred and received either by polling status bitsor with interr

Strona 177

Serial Communications (82050)Appendix B includes the pin numbers and signal descriptions of theRS-232-C and RS-485 signals available through connector

Strona 178

Serial Communications (82050)Table 11-5ACC Register Summary.0 DLAB = 0 0 DLAB = 0 1 DLAB = 023Receive Buffer(Read Only)Transmit Buffer(Write Only)Inte

Strona 179 - 00000000

IntroductionDevelopment ConsiderationsZiatech offers two software development systems for ZT 8832applications: STD ROM and DOS MPX.STD ROM (Borland’s

Strona 180

Serial Communications (82050)Table 11-5ACC Register Summary (continued).Register AddressBitNo.0 DLAB = 1 1 DLAB = 146DivisorLatch (LSB)DivisorLatch (M

Strona 181 - M7 M6 M5 M4 M3 M2 M1 M0

Chapter 12PARALLEL I/OContents PageOVERVIEW ... 12-1ZT 8832 SPECIFICS...

Strona 182 - 00RP SIL FI

Parallel I/OZT 8832 SPECIFICSThe three parallel ports are available at connector J1; see page B-11for pin assignments. In addition to the 24 I/O signa

Strona 183

Parallel I/OFUNCTIONAL DESCRIPTIONA functional diagram of each of the 24 I/O signals is illustrated inFigure 12-1. The diagram includes an Output Latc

Strona 184 - SNM EXCN

Parallel I/OOutput BufferThe Output Buffer isolates the Output Latch from connector J1. TheOutput Buffer is disabled and enabled with the 82050 Serial

Strona 185

Parallel I/OPROGRAMMABLE REGISTERSThe 24 parallel I/O signals are accessible through three programmableregisters. The address of each of the registers

Strona 186

Parallel I/OOPERATIONResetThe parallel port outputs are disabled and passively pulled to a TTLhigh after power up or reset.Programming the ParallelPor

Strona 187 - PL2 PL1 PL0

Parallel I/OProgramming the Light Emitting Diode• To control the LED, first enable the parallel port byprogramming the OUT2 bit of the 82050 serial po

Strona 188

Chapter 13WATCHDOG TIMERContents PageOVERVIEW ... 13-2ZT 8832 SPECIFICS...

Strona 189

Watchdog TimerOVERVIEWThe primary function of the watchdog timer is to monitor ZT 8832operation and to take corrective action if the ZT 8832 fails to

Strona 190

IntroductionNEC V40Serial PortRS-232 onlyDMAControllerInterruptControllerCounter/TimersNumericData ProcessorSocketWatchdogTimerLocal EPROM1 SocketSeri

Strona 191

Watchdog TimerFUNCTIONAL DESCRIPTIONFigure 13-1 illustrates a functional diagram of the watchdog timer.The diagram includes a timer and a delay for ea

Strona 192 - Interrupt Controller (V40)

Watchdog TimerStage 1 DelayThe stage 1 delay has a default range of 60 ms minimum and 100 msmaximum. The minimum delay time means that the watchdog ti

Strona 193

Watchdog TimerOPERATIONIn operation, the local CPU is programmed to strobe the watchdogtimer at a periodic rate less than the stage 1 time delay. If t

Strona 194

Watchdog TimerMultiple StagesMany watchdog timers are implemented with a single stage thatgenerates a reset if allowed to time out. The problem with t

Strona 195

Watchdog TimerChanging Time DelaysTable 13-1 shows the two possibilities for the stage delays. Thestage 1 delay is measured from the watchdog strobe t

Strona 196

Watchdog TimerProgrammingThe watchdog timer is armed and strobed with the most significantparallel I/O signal. The watchdog timer is armed with the fo

Strona 197

Chapter 14SBX EXPANSION MODULEContents PageOVERVIEW ... 14-2Features...

Strona 198

SBX Expansion ModuleOVERVIEWThe SBX expansion module provides a method for expanding the I/Ocapabilities of the ZT 8832. The expansion module interfac

Strona 199

SBX Expansion ModuleFeaturesThe major features of the expansion module interface are listed below.• Standard interface for expanding I/O capabilities•

Strona 200

SBX Expansion ModuleZT 8832 SPECIFICSThe expansion module interface is supported through connector J4;the pin assignments given on page B-15. The expa

Strona 201 - DMA CONTROLLER (V40)

IntroductionFUNCTIONAL BLOCKSFigure 1-1 illustrates the functional blocks of the ZT 8832. Adescription of each block follows.V40 (µPD70208) ProcessorT

Strona 202

SBX Expansion ModuleINSTALLATIONThe SBX expansion module is installed on the ZT 8832 as shown inFigure 14-1. The module is mechanically secured to the

Strona 203

Chapter 15NUMERIC DATA PROCESSOR (8087)Contents PageOVERVIEW ... 15-2ZT 8832 SPECIFICS...

Strona 204

Numeric Data Processor (8087)OVERVIEWThe V40 is a high performance microprocessor designed for a widevariety of applications. The math capabilities of

Strona 205

Numeric Data Processor (8087)INSTALLATIONThe NDP is installed in an empty socket on the ZT 8832 as shown inFigure 15-1. The 8087-1 (10 MHz) is require

Strona 206

Numeric Data Processor (8087)OPERATIONThe following description is an overview of NDP operation. See thereference section at the end of this chapter f

Strona 207

Numeric Data Processor (8087)Read and Write OperationsIf a read operation is required, the NDP latches the address andoperand as it appears. If the op

Strona 208

Numeric Data Processor (8087)Error Handling and InterruptsA numeric error occurs if an operation is attempted with invalidoperands or if the result of

Strona 209

Numeric Data Processor (8087)Further Reference– Cooner, Jerome, "An Implementation Guide to a ProposedStandard for Floating Point,"Computer,

Strona 210 - C8C9C10C11C12C13C14C15

IV. APPENDICESJUMPER CONFIGURATIONS ... A-1SPECIFICATIONS ... B-1CUSTOMER S

Strona 211 - A16A17A18A19————

Appendix AJUMPER CONFIGURATIONSContents PageOVERVIEW ... A-1JUMPER OPTIONS...

Strona 212

IntroductionDual Port MemoryThe ZT 8832 is populated with 32 Kbytes of RAM that is accessiblefrom both the local CPU and the STD bus CPU. Arbitration

Strona 213

Jumper ConfigurationsJUMPER OPTIONSTable A-1 below lists the jumpers associated with each option. It alsoindicates the pages on which descriptions of

Strona 214

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions.JUMPER # DESCRIPTIONW1-W6 J2 DCE/DTE Selection - configures the82050 serial port for RS-232

Strona 215

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW7,W8 Battery Backup Device Selection - deter-mines whether

Strona 216

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW16,W17 J2 RS-485 Output Enable - selects themethod of enabl

Strona 217

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW20 Numeric Data Processor Interrupt - enablesthe Numeric Da

Strona 218

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW23-W25 ROM Device Type - configures the ROMsocket for a sel

Strona 219 - SERIAL COMMUNICATIONS (V40)

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW28-W32 STD Bus Dual Port RAM Addressing(20-bit) - defines t

Strona 220

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).W32 W31 W30 W29 W28 Address RangeIn In In In In 00000-07FFFhIn In In In Out 0800

Strona 221

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW33-W36STD Bus Dual Port RAM Addressing(24-bit) - defines th

Strona 222

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW37-W40 STD Bus I/O Port Addressing - defines theaddress ran

Strona 223

SPECIAL EXTENDED WARRANTY OPTIONIn addition to the standard five-year warranty, Ziatech offers, for anominal fee, an extended period of warranty up to

Strona 224

IntroductionSerial CommunicationsThe ZT 8832 includes two asynchronous serial communicationchannels, each with a programmable baud rate generator. The

Strona 225

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW41-W43 Board Select Addressing - defines theboard address i

Strona 226

Jumper ConfigurationsTable A-2ZT 8832 Jumper Descriptions (continued).JUMPER # DESCRIPTIONW44-W46 STD Bus Interrupt Selection - defineswhich STD bus i

Strona 227

Jumper ConfigurationsZT 8832 ICP W1W2W3W4W5W6W28W29W30W31W32W33W34W35W36W37W38W39W40W41W42W43W44W45W46W7 W8W23W15W9W13W14W22W27W26W10W11W12W21W16,W17

Strona 228

Jumper ConfigurationsZT 8832 ICP W1W2W3W4W5W6W28W29W30W31W32W33W34W35W36W37W38W39W40W41W42W43W44W45W46W7 W8W23W15W9W13W14W22W27W26W10W11W12W21W16,W17

Strona 229

Jumper ConfigurationsCUTTABLE TRACESThe ZT 8832 supports several less popular options with cuttabletraces. Cuttable traces are similar in function to

Strona 230

Jumper ConfigurationsTable A-4ZT 8832 Cuttable Traces.TRACE # DESCRIPTIONCT1,CT2 SBX Expansion Module Clock - selects theclock for the SBX expansion m

Strona 231

Jumper ConfigurationsTable A-4ZT 8832 Cuttable Traces (continued).TRACE # DESCRIPTIONCT6 Reserved for Ziatech use.CT7,CT8 Watchdog Timer Time Out - se

Strona 232

Jumper ConfigurationsTable A-4ZT 8832 Cuttable Traces (continued).TRACE # DESCRIPTIONCT9,CT11-CT13SBX Expansion Module Address Expan-sion - increases

Strona 233

Jumper ConfigurationsTable A-4ZT 8832 Cuttable Traces (continued).TRACE # DESCRIPTIONCT10 STD Bus AUX Ground - connects the STDbus AUX GND signal (P1

Strona 234

Jumper ConfigurationsZT 8832 ICP CT1CT2CT5CT3CT4Figure A–3. Cuttable Trace Locations, Component Side.A-21

Strona 235 - SERIAL COMMUNICATIONS (82050)

IntroductionInterrupt ControllerThe ZT 8832 includes an eight-input programmable interruptcontroller with an 8259 architecture. Features of the interr

Strona 236

Jumper ConfigurationsCT11CT12CT13CT9CT8CT7CT6CT10CT14Figure A–4. Cuttable Trace Locations, Solder Side.A-22

Strona 237

Appendix BSPECIFICATIONSContents PageELECTRICAL AND ENVIRONMENTAL ... B-2Absolute Maximum Ratings...

Strona 238

SpecificationsELECTRICAL AND ENVIRONMENTALAbsolute Maximum RatingsSupply Voltage, Vcc ... 0to7VSupply Voltage, AUX

Strona 239

SpecificationsSTD Bus Loading CharacteristicsThe unit load is a convenient method for specifying the input andoutput drive capability of STD bus cards

Strona 240

SpecificationsTable B-1ZT 8832 STD Bus Loading, P Connector.+5 VDCGNDDCPDN*D7/A13 [1]D6/A22 [1]D5/A21 [1]D4/A20 [1]A15A14A13A12A11A10A9A8

Strona 241

SpecificationsTable B-2ZT 8832 STD Bus Loading, E Connector.RSVDXA23XA22XA21XA20RSVD+5 VDCDREQx*GNDD31D30D29D28GNDD15D14D13D12D11D10D9D8MASTER16*AENx*

Strona 242

SpecificationsMECHANICALCard Dimensions & WeightThe ZT 8832 meets the STD 32 bus specification for all mechanicalparameters except for the compone

Strona 243 - Serial Communications (82050)

SpecificationsCOMPONENT SIDE6.5004.5000.4003.610 0.06 RADIUS MAX 2 PL0.15 X 45 CHAM 3 PL0.015 X 45 BEVELBOTH EDGES0.015 X 45CHAMFER 2

Strona 244

Specifications(Component Side)(Solder Side)STD 32 STD 32E13 E14P01 P02E15 E16P03 P04E17 E18P05P06E19 E20P07 P08E21 E22P09 P10E23 E24P11 P12E25 E26P13

Strona 245

SpecificationsZT 8832 ICP J5 J3 J2 J1 J4P1123Figure B–3. Connector Locations.B-9

Strona 246

IntroductionzSBX Expansion Module SocketThe zSBX expansion module socket is provided to customize the I/Ocapabilities of the ZT 8832 to the needs of t

Strona 247

SpecificationsJ1: J1 is a nonlatching 26-pin (dual 13-pin) male transitionconnector with 0.1 inch lead spacing. J1 provides 24 digitalI/O lines, fused

Strona 248

SpecificationsTable B-3J1 Parallel Port Pinout.Pin Signal Port Address[hex]1 MOD24 220h bit 72 MOD11 210h bit 23 MOD23 220h bit 64 MOD10 210h bit 15 M

Strona 249

SpecificationsTable B-4J2 Serial Port (RS-232-C) Pinout.PinDTE DCE Signal Description3 5 TxD Transmit Data5 3 RxD Receive Data7 9 RTS Request To Send9

Strona 250

SpecificationsTable B-5J2 Serial Port (RS-422/485) Pinout.Pin Signal Description1 SDA Send Data (negative)2 SDB Send Data (positive)3 RSA Request To S

Strona 251

SpecificationsTable B-6J3 Counter/Timer and Interrupt Pinout.Pin Signal Description2 TCLK V40 Counter/Timer Clock Input4 TCTL V40 Counter/Timer 2 Cont

Strona 252

SpecificationsTable B-7J4 SBX Expansion Module Pinout.Pin Signal[1]Description1 +12V +12 Volts2 -12V -12 Volts3 GND Signal Ground4 +5V +5 Volts5 RESET

Strona 253

SpecificationsNotes:[1] Signals ending with an asterisk are active low and signals without an asterisk areactive high.[2] The V40 clock is optionally

Strona 254

SpecificationsCablesTB ANSLEY171-25 25 CONDUCTOR28 GA. STRANDED FLAT CABLE 40" 1"PIN 1BLUE WIRETB ANSLEY 622-25S FEMALE25 PIN "D"

Strona 255

SpecificationsTB ANSLEY171-50 50 CONDUCTOR28 GA. STRANDED FLAT CABLE305 2cm (10' 0.75")PIN 1BLUE WIREPIN 1+TB ANSLEY622-503050 PIN FEMAL

Strona 256

SpecificationsTB ANSLEY171-25 25 CONDUCTOR28 GA. STRANDED FLAT CABLE 40" 1"PIN 1BLUE WIRETB ANSLEY 622-25P MALE25 PIN "D" CONNECT

Strona 257

Chapter 2GETTING STARTEDContents PageOVERVIEW ... 2-1UNPACKING...

Strona 258

SpecificationsNOTE 1: OUTSIDE WIRES REMOVED AT THIS POINTNOTE 2: CONNECT THE GROUND BUS BARS TOGETHERNOTE 3: FIRST ARTICLE REQUIRED FOR NEW

Strona 259 - ACC Register Summary

SpecificationsFigure B–10. Standard Assembly Diagram.B-21

Strona 260

SpecificationsTIMINGThe ZT 8832 meets the timing requirements outlined in the STD 32bus specification. The SBX expansion module timings are given onth

Strona 261 - PARALLEL I/O

SpecificationsMA0-MA2t11MCS*MWAIT*IOWRT*MD0-MDFt8t19 t17t12t14t10t7t13t25Symbol Parameter Min Maxt7 Chip select setup to write low 25t8 Chip select ho

Strona 262

SpecificationsMDRQTMDACK*IORD* ORIOWRT*t22t20t21Symbol Parameter Min Maxt20 DMA acknowledge setup to read or write low 25t21 DMA acknowledge hold from

Strona 263

SpecificationsRESETt9 or t18+5 VOLTS4.75VSymbol Parameter Min Maxt9 Power up reset pulse width 50t18 Reset pulse width 50 µsAll times given in nanosec

Strona 264

Appendix CCUSTOMER SUPPORTContents PageOVERVIEW ... C-1REVISION HISTORY...

Strona 265

Customer SupportREVISION HISTORYZT 8832Revision 0The ZT 8832 was originally released on 7/3/89 as Revision 0.Revision 0.1There were no functional chan

Strona 266

Customer SupportSupport was added for 24-bit addressing in either the upper or thelower 8 Mbyte region. See page A-10 for more information.Revision 0.

Strona 267

Customer SupportTECHNICAL ASSISTANCEYou can reach Ziatech’s Customer Support Service at the followingnumber:Corporate Headquarters: (805) 541-0488(805

Strona 268 - WATCHDOG TIMER

Getting StartedUNPACKINGPlease check the shipping carton for damage. If the shipping cartonand contents are damaged, notify the carrier and Ziatech fo

Strona 269

Customer SupportRELIABILITYZiatech has taken extra care in the design of the ZT 8832 to ensurereliability. The four major ways in which reliability is

Strona 270

Customer SupportRETURNING FOR SERVICEBefore returning any of Ziatech’s products, you must obtain aReturned Material Authorization (RMA) number by call

Strona 271

Customer SupportZIATECH 5+5 WARRANTYFIVE-YEAR LIMITED WARRANTYProducts manufactured by Ziatech Corporation are covered from the date ofpurchase by a f

Strona 272

Customer SupportSPECIAL EXTENDED WARRANTY OPTIONIn addition to the standard five-year warranty, Ziatech offers, for anominal fee, an extended period o

Strona 273

Appendix DGLOSSARYbackplane The edge of the board that inserts into the STDbus connector. This term is generally used todefine the location of signals

Strona 274

GlossaryCNTRL* Control. This STD bus signal (pin 50) was usedin previous designs for special clock timing onperipheral boards. It may also be used as

Strona 275

Glossaryfrontplane The edge of the board on which the extractor islocated, opposite to the backplane. This term isgenerally used to define the locatio

Strona 276 - SBX EXPANSION MODULE

Glossaryprefetch Instructions are fetched and stored into a queueon the microprocessor prior to execution inorder to optimize performance.push A stack

Strona 277

GlossaryWCU Wait Control Unit. Section of the CPU that candefine a different number of wait states for eachof the three areas of the memory space.D-5

Strona 278

INDEX-A-ACC - Asynchronous Communication Controller ...1-8, 11-1asynchronous data format... 11-21baud rate...

Strona 279

Getting StartedSYSTEM REQUIREMENTSThe ZT 8832 is designed for use with or without an STD busbackplane. For STD bus applications, the ZT 8832 is mechan

Strona 280 - INSTALLATION

Index-B-backplane, definition ...D-1battery backup for local RAM... 1-6jumper

Strona 281 - NUMERIC DATA PROCESSOR (8087)

Indexdefinition ... D-1CNTRL* (INTRQ2*), definition... D-2commonly asked

Strona 282

IndexCT10 (STD bus AUX GND) ... A-20CT14 (STD bus dual port RAM addressing)...A-20customer support...

Strona 283

IndexDMA controller (V40) (see DCU - DMA Control Unit) ... 9-1DMD - DMA Mode register...9-13DMK - DMA Mask reg

Strona 284

Index-G-getting started ... 2-1glossary... D-1-I-

Strona 285

IndexInterrupt Enable register (82050 ACC) ... 11-19Interrupt Generation Logic (V40 SCU)... 10-4Interrupt I

Strona 286

Index-L-Light Emitting Diode (LED) ... 12-2programming... 12-7Line Control

Strona 287

IndexModem Control block (82050 ACC) ...11-6Modem Control register (82050 ACC)...11-13Modem Status regi

Strona 288 - IV. APPENDICES

Indexfrontplane connector J1 ...12-2, B-10functional description... 12-3I/O module mo

Strona 289 - JUMPER CONFIGURATIONS

IndexV40 SCU ... 10-4reliability... C-5reset...

Strona 290 - JUMPER OPTIONS

Getting StartedZT 8832 ICP J5J4 J3 J2 J1STD ROM EPROM32 KBYTE SRAMW28W29W30W31W32W33W34W35W36W37W38W39W40W41W42W43W44W45W46W23W15W9W13W14W22W27W26,W

Strona 291

IndexI/O port addressing... 2-13operation... 10-11programmable r

Strona 292

Indexsystem requirements...2-3-T-TCKS - Timer Clock Selection register ... 6-10TCU - C

Strona 293

IndexBIU - Bus Interface Unit ... 5-19block diagram... 5-6CGU - Clock Ge

Strona 294

IndexW41-W43 (board select addressing) ...A-12W44-W46 (STD bus interrupt selection)... A-13wait-state gen

Strona 295

Getting StartedINSTALLING THE ZT 8832 WITH STD ROMThe fastest way to begin using the ZT 8832 is with the addition ofdevelopment software from Ziatech.

Strona 296

Getting StartedJumper RequirementsTable 2-1 and Figure 2-1 show the correct jumper positioning for theZT 8832 configured to support STD ROM.Table 2-1S

Strona 297 - Table A-2

Getting StartedINSTALLING THE ZT 8832 WITH DOS MPXThe DOS Multiprocessing Extension (MPX) software provides adevelopment and operating environment for

Strona 298

CUSTOMER SUPPORTIf you have a technical question, please call Ziatech’sCustomer Support Service at the following number:Corporate Headquarters: (805)

Strona 299

Getting StartedJumper RequirementsTable 2-2 and Figure 2-2 show the correct jumper positioning for theZT 8832 configured to support DOS MPX. This is t

Strona 300

Getting StartedZT 8832 ICP J5J4 J3 J2 J1DOS MPX EPROM32 KBYTE SRAMW28W29W30W31W32W33W34W35W36W37W38W39W40W41W42W43W44W45W46W23W15W9W13W14W22W27W26,W

Strona 301 - W44 W45 W46 Interrupt Signal

Getting StartedMEMORYThe ZT 8832 includes memory that is addressable by the local CPUand memory that is dual ported between the local and STD bus CPU.

Strona 302

Getting StartedThe dual port RAM is a 32 Kbyte RAM populated on the ZT 8832. Itis shown on both local and STD bus memory maps because, eventhrough it

Strona 303 - Figure A–2. Jumper Locations

Getting StartedI/OThe ZT 8832 includes some I/O devices addressable by the local CPUand other I/O devices addressable by the STD bus CPU. This isshown

Strona 304 - CUTTABLE TRACES

Getting StartedFFF0-FFFFh0400-FFEFh03F0-03FFh0380-03EFh0300-037Fh0280-02FFh0240-027Fh0230-023Fh0220-022Fh0210-021Fh0200-020Fh00E0-01FFh00D0-00DFh00B8-

Strona 305

Getting StartedJUMPER OPTIONSThe ZT 8832 includes several jumper options that tailor the operationof the board to the requirements of specific applica

Strona 306

III. USER’S REFERENCETHEORY OF OPERATION ... 3-1APPLICATION EXAMPLES... 4-1PROC

Strona 307

Chapter 3THEORY OF OPERATIONContents PageOVERVIEW ... 3-2COMMONLY ASKED QUESTIONS...

Strona 308

Theory of OperationOVERVIEWThis chapter presents a detailed description of ZT 8832 system leveloperation. Topics discussed include:• Commonly asked qu

Strona 309

PREFACEThis manual describes the operation and use of the ZT 8832 and theZT 88CT32. The boards are functionally identical. However, theZT 88CT32 consu

Strona 310

Theory of OperationCOMMONLY ASKED QUESTIONS1. What software development tools are available?Ziatech supports two software development tools for theZT

Strona 311 - SPECIFICATIONS

Theory of Operation2. Are emulators available for the NEC V40?Yes. Several manufacturers of V40 emulators are listed below.Tektronix, Inc. P.O. Box 48

Strona 312 - ELECTRICAL AND ENVIRONMENTAL

Theory of Operation3. Can the ZT 8832 access STD bus memory and I/O?The ZT 8832 includes 32 Kbytes of dual port RAM mapped intothe STD bus memory addr

Strona 313

Theory of OperationThe ZT 8832 is a newer generation board that removes many ofthe restrictions found on the ZT 8830. The major differences areoutline

Strona 314 - Table B-1

Theory of Operation• More local memory. The ZT 8830 supports a maximumof 32 Kbytes of RAM and 32 Kbytes of EPROM. Withmemory devices currently availab

Strona 315 - Table B-2

Theory of OperationDUAL PORT MEMORYThe ZT 8832 is shipped with 32 Kbytes of dual port RAM. Dual portmeans that is it accessible by both the ZT 8832 CP

Strona 316 - MECHANICAL

Theory of OperationSTD BUS AND LOCAL CONTROL PORTSThe STD bus and local control ports increase the control andflexibility of the communication link be

Strona 317 - COMPONENT SIDE

Theory of OperationSTD Bus Control Port ArchitectureFigure 3-1 shows the architecture of the STD bus control port. Bitdefinitions are given on the fol

Strona 318 - STD 32 STD 32

Theory of Operation• Program the interrupt controller to enable IR5, as discussed inChapter 8;• Remove the hardware mask by programming the LMR bit of

Strona 319

Theory of OperationThe STD Bus Control Port Maskable Interrupt Reset (SMR) bit (bit 3)is programmed by the STD bus CPU to reset an active STD busmaska

Strona 320

PrefaceIII. USER’S REFERENCEChapter 3, "Theory Of Operation," presents a detailed descriptionof ZT 8832 system level operation. Topics discu

Strona 321 - J1 Parallel Port Pinout

Theory of OperationLocal Control Port ArchitectureFigure 3-2 shows the architecture of the local control port. Bitdefinitions are given on the followi

Strona 322

Theory of Operationwrites to the LMI bit are ignored until the interrupt request is clearedby the STD bus CPU writing a logical 1 followed by a logica

Strona 323

Theory of OperationBOARD SELECT OPTIONA ZT 8832 occupies 32 Kbytes of STD bus memory address spaceand 16 bytes of STD bus I/O address space. The memor

Strona 324

Theory of OperationAfter the above steps are completed, install the ZT 8832s into theSTD bus card cage. The ZT 8832s power up not selected. This means

Strona 325 - Table B-7

Theory of OperationSTD BUS INTERRUPTSThe ZT 8832 is capable of generating maskable and non-maskableinterrupts to the STD bus CPU. The maskable interru

Strona 326

Theory of OperationThe simplest interrupt architecture is one in which the ZT 8832 doesnot share the interrupt with any other STD bus boards, includin

Strona 327

Theory of OperationThe local interrupt status bit (bit 0) indicates the status of the ZT 8832interrupt request to the STD bus CPU. The STD bus interru

Strona 328

Theory of Operation7. This step applies only to systems with the STD bus CPUconfigured for edge triggered as opposed to level triggeredinterrupts. To

Strona 329

Theory of OperationRESETThe ZT 8832 is reset by any of the following events:• Programming the STD bus control port with a 0Fh, followed bya logical 0,

Strona 330 - 1.25"

Theory of Operationpossible for the STD bus CPU to perform these writes as twosequential operations, the SBX expansion module interface requires a15 µ

Strona 331

PrefaceChapter 9, "DMA Controller (V40)," describes the function,configuration, and operation of the V40 Direct Memory AccessControl Unit, a

Strona 332

Theory of OperationTable 3-1 includes a list of devices affected by all sources of reset anda page number for a detailed discussion on the reset state

Strona 333

Chapter 4APPLICATION EXAMPLESContents PageOVERVIEW ... 4-1EXAMPLE 1: V40 INITIALIZATION...

Strona 334

Application ExamplesEXAMPLE 1: V40 INITIALIZATIONObjectivesThe ZT 8832 is designed around the NEC 70208 (V40)microprocessor. This high integration mic

Strona 335 - +5 VOLTS

Application ExamplesProgram Code;EXAMPLE #1PROGRAMMING ABSTRACT;; Ziatech Corporation; San Luis Obispo, CA; 06/01/89; THIS PROGRAMMING EXAMPLE ILLUSTR

Strona 336 - CUSTOMER SUPPORT

Application ExamplesTULA EQU 0FFF9H ; TULA I/O ADDRESSTULA_INIT EQU 40H ; TCU OFFSET ADDRESSTCU EQU 256*OPHA_INIT+TULA_INIT; TCU I/O ADDRESS; SERIAL C

Strona 337 - REVISION HISTORY

Application ExamplesSTACK SEGMENTSTACK SEGMENT STACKDW 20 DUP (?) ; UNINITIALIZED STACKSTACK_TOP LABEL WORD ; TOP OF STACKSTACK ENDS;PROCEDURECODE SEG

Strona 338

Application ExamplesEXAMPLE 2: PERIPHERAL INITIALIZATIONObjectivesThe ZT 8832 contains many of the most commonly used peripheralsfound in STD bus appl

Strona 339 - TECHNICAL ASSISTANCE

Application Examples; 82050 SERIAL CONTROLLER; V40 SERIAL CONTROLLER AND BAUD RATE TIMER; V40 INTERRUPT CONTROLLER; V40 DMA CONTROLLER;SYSTEM EQUATES;

Strona 340 - RELIABILITY

Application Examples; V40 SCU SERIAL CONTROLLER AND BAUD RATE TIMERTCU_PORT EQU 256*OPHA_INIT+TULA_INIT ; TCU I/O ADDRESSTCU_TMR1 EQU TCU_PORT+1 ; TIM

Strona 341 - RETURNING FOR SERVICE

Application ExamplesMACRO DEFINITIONSPUT MACRO SRCE,DATA ; I/O WRITE MACROMOV DX,SRCEMOV AL,DATAOUT DX,ALENDM;STACK SEGMENTSTACK SEGMENT STACKDW 20 DU

Strona 342

PrefaceChapter 15, "Numeric Data Processor (8087)," explainsinstallation and operation of the optional 8087 Numeric DataProcessor, used to e

Strona 343

Application ExamplesPARALLEL PORT PROCEDURE;; THE ZT 8832 INCLUDES THREE PARALLEL PORTS. THE PARALLEL PORT; OUTPUTS ARE ENABLED AND DISABLED WITH THE

Strona 344 - GLOSSARY

Application ExamplesLED PROCEDURE; THE LED CAN BE TURNED ON AND OFF UNDER SOFTWARE CONTROL. THIS; IS A VALUABLE STATUS INDICATOR, ESPECIALLY DURING TH

Strona 345

Application Examples;; INPUTS: NONE; OUTPUTS: LED IS TURNED OFF; CALLS: NONE; DESTROYS: FLAGSLED_OFF PROC; PRESERVE REGISTER STATUSPUSH AXPUSH DX; TUR

Strona 346

Application ExamplesPUT ACC_MODC,ACC_MODC_INIT; MASK INTERRUPTSPUT ACC_INTC,ACC_INTC_INIT; RESTORE REGISTER CONTENTSPOP DXPOP AXACC_INIT ENDP;V40 SERI

Strona 347

Application ExamplesPUT SCU_CMND,SCU_CMND_INIT; MASK INTERRUPTSPUT SCU_MASK,SCU_MASK_INIT; RESTORE REGISTER STATUSPOP DXPOP AXSCU_INIT ENDP;V40 INTERR

Strona 348 - Glossary

Application ExamplesPUT ICU_MASK,ICU_MASK_INIT; RESTORE THE REGISTER STATUSPOP DXPOP AXICU_INIT ENDP;V40 DMA CONTROLLER PROCEDURE; THE V40 DMA CONTROL

Strona 349

Application Examples;; SINGLE BYTE TRANSFERS; INCREMENT MEMORY ADDRESS; SBX I/O TO RAM OPERATION;; INPUTS: NONE; OUTPUTS: SBX I/O TO RAM MEMORY TRANSF

Strona 350

Application Examples; CALLS: NONE; DESTROYS: FLAGSDCU_READ PROC; PRESERVE REGISTER STATUSPUSH AXPUSH BXPUSH CXPUSH DX; SET UP ADDRESS REGISTERSMOV AX,

Strona 351

Application ExamplesEXAMPLE 3: WATCHDOG TIMERObjectivesA watchdog timer is useful in applications in which a microprocessorcontrols a physical process

Strona 352

Application ExamplesProgram Code;EXAMPLE #3PROGRAMMING ABSTRACT; Ziatech Corporation; San Luis Obispo, CA; 06/01/89; THIS PROGRAMMING EXAMPLE ILLUSTRA

Strona 353

CONTENTSI. INTRODUCTIONChapter 1. INTRODUCTION 1-1OVERVIEW... 1-2Product Definition...

Strona 354

Application ExamplesSTACK SEGMENTSTACK SEGMENT STACKDW 20 DUP (?) ; UNINITIALIZED STACKSTACK_TOP LABEL WORD ; TOP OF STACKSTACK ENDS;DATA SEGMENT; A M

Strona 355

Application ExamplesTYPE_1 DD ? ; SINGLE STEP (NOT USED)TYPE_2 DD ? ; NON-MASKABLE INTERRUPTINT_POINT ENDSPROCEDURESCODE SEGMENT PARAASSUME CS:CODE, S

Strona 356

Application ExamplesAND AL, NOT PAR_PORT_WDOUT DX,ALOR AL,PAR_PORT_WD ; WRITE WATCHDOG BIT HIGHOUT DX,ALPOP DX ; RESTORE REGISTER STATUSPOP AXRET ; EX

Strona 357

Application ExamplesLP3: LOOP LP3CALL WATCHDOG_STB ; STROBE WATCHDOG TIMERJMP LP2 ; REPEATCODE ENDSEND MAIN4-23

Strona 358

Chapter 5PROCESSOR DESCRIPTION (V40)Contents PageOVERVIEW ... 5-2ZT 8832 SPECIFICS...

Strona 359

Processor Description (V40)OVERVIEWThe NEC 70208, commonly known as the V40, is a CMOS micro-processor with a 16-bit internal and 8-bit external data

Strona 360

Processor Description (V40)COMMONLY ASKED QUESTIONS1. Is the V40 pin-compatible with the 80188?The V40 and 80188 are not pin-compatible. This means an

Strona 361

Processor Description (V40)these microprocessors, plus a few more. The added instructionsare outlined below.The following instructions are useful in t

Strona 362

Processor Description (V40)FUNCTIONAL BLOCKSThe V40 can be divided into the major functional blocks listed belowand shown in Figure 5-1 on page 5-6.CP

Strona 363

Processor Description (V40)CPU - Central Processing UnitThe architecture of the CPU functional block is compatible with the8088. The CPU recognizes al

Komentarze do niniejszej Instrukcji

Brak uwag