background image

Appendix D

Motorola MC6821 Data Sheet

© National Instruments Corporation

D-11

PC-TIO-10 User Manual

Summary of Contents for PC-TIO-10

Page 1: ...ments Corporation All Rights Reserved PC TIO 10 User Manual Timing I O Board for the PC July 1993 Edition Part Number 320292 01 Click here to comment on this document via the National Instruments at http www natinst com documentation daq ...

Page 2: ...tria 0662 435986 Belgium 02 757 00 20 Canada Ontario 519 622 9310 Canada Québec 514 694 8521 Denmark 45 76 26 00 Finland 90 527 2321 France 1 48 14 24 24 Germany 089 741 31 30 Italy 02 48301892 Japan 03 3788 1921 Mexico 95 800 010 0793 Netherlands 03480 33466 Norway 32 84 84 00 Singapore 2265886 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland 056 20 51 51 Taiwan 02 377 1200 U K 0635 523545 ...

Page 3: ...r any damages arising out of or related to this document or the information contained in it EXCEPT AS SPECIFIED HEREIN NATIONAL INSTRUMENTS MAKES NO WARRANTIES EXPRESS OR IMPLIED AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE ...

Page 4: ...r or application designer Any use or application of National Instruments products for or involving medical or clinical treatment must be performed by properly trained and qualified medical personnel and all traditional medical safeguards equipment and procedures that are appropriate in the particular situation to prevent serious injury or death should always continue to be used when National Instr...

Page 5: ...to the following chapters and appendixes Chapter 1 Introduction describes the PC TIO 10 lists the contents of your PC TIO 10 kit lists the optional software and equipment for use with the PC TIO 10 and explains how to unpack the PC TIO 10 kit Chapter 2 Configuration and Installation describes the PC TIO 10 jumper configurations installation of the PC TIO 10 board in your computer signal connection...

Page 6: ...oard sections of code programming examples and syntax examples This font is also used for the proper names of disk drives paths directories programs subprograms subroutines device names functions variables filenames and extensions and for statements and comments taken from program code NI DAQ NI DAQ is used throughout this manual to refer to the NI DAQ software for DOS Windows LabWindows unless ot...

Page 7: ...nary coded decimal DMA direct memory access EISA Extended Industry Standard Architecture FSK frequency shift keying ISA Industry Standard Architecture LSB least significant bit MSB most significant bit PIA Peripheral Interface Adapter STC System Timing Controller TTL transistor transistor logic VDC volts direct current Related Documentation The following documents contain information that you may ...

Page 8: ...nts on our products and manuals We are interested in the applications you develop with our products and we want to help if you have problems with them To make it easy for you to contact us this manual contains comment and configuration forms for you to complete These forms are in Appendix B Customer Communication at the end of this manual ...

Page 9: ...2 9 Digital I O Signal Connections 2 13 Power Connections 2 15 Cabling 2 15 Chapter 3 Theory of Operation 3 1 Data Transceivers 3 2 PC I O Channel Control Circuitry 3 2 Am9513A System Timing Controller 3 2 MC6821 Peripheral Interface Adapter 3 2 Interrupt Control Circuitry 3 2 Timing and Digital I O Connector 3 3 Chapter 4 Programming 4 1 Introduction 4 1 Register Map 4 2 Register Descriptions 4 2...

Page 10: ...dix E Switch Settings E 1 Appendix F Customer Communication F 1 Index Index 1 Figures Figure 1 1 PC TIO 10 Interface Board 1 1 Figure 2 1 PC TIO 10 Parts Locator Diagram 2 2 Figure 2 2 Example Base I O Address Switch Settings 2 3 Figure 2 3 Interrupt Jumper Setting for IRQ5 Factory Setting 2 4 Figure 2 4 Interrupt Jumper Setting for Disabling Interrupts 2 5 Figure 2 5 Local Interrupt Jumper Settin...

Page 11: ...bles Table 2 1 PC TIO 10 Factory Set Switch and Jumper Settings 2 1 Table 2 2 Default Settings of National Instruments Products for the PC 2 4 Table 4 1 PC TIO 10 Address Map 4 2 Table E 1 Switch Settings with Corresponding Base I O Address and Base I O Address Space E 1 ...

Page 12: ...iming interface With these chips which feature many different timing and counting modes the PC TIO 10 can perform of a wide range of pulse measurement and wave generation functions A Motorola MC6821 PIA is used for the digital I O interface each of the two 8 bit I O ports is bit configurable In addition the PC TIO 10 has two edge sensitive interrupt inputs with programmable edge selection Any exte...

Page 13: ...ws with manuals NI DAQ Software Reference Manual for DOS Windows LabWindows NI DAQ Function Reference Manual for DOS Windows LabWindows 181195 01 320292 01 776250 01 320498 01 320499 01 If your kit is missing any of the components contact National Instruments Your PC TIO 10 is shipped with the NI DAQ software for DOS Windows LabWindows NI DAQ has a library of functions that can be called from your...

Page 14: ...ol applications LabVIEW uses graphical programming whereas LabWindows enhances Microsoft C and QuickBASIC Both packages include extensive libraries for data acquisition instrument control data analysis and graphical data presentation Part numbers for these software packages are listed in the following table Software Part Number LabVIEW for Windows LabWindows Standard package Advanced Analysis Libr...

Page 15: ...ed by electrostatic discharge To avoid such damage in handling the board take the following precautions Touch the antistatic package to a metal part of your computer chassis before removing the board from the package Remove the board from the package and inspect the board for loose components or any other sign of damage Notify National Instruments if the board appears damaged in any way Do not ins...

Page 16: ... and to local interrupt setting No Connect and No Connect These settings shown in Table 2 1 are suitable for most systems However if your system has other hardware at this base I O address or interrupt level you need to change these settings on the PC TIO 10 as described in the following pages or on the other hardware Record your settings in the PC TIO 10 Hardware and Software Configuration Form i...

Page 17: ...he switches at position U12 see Figure 2 1 The switches are set at the factory for the I O address hex 1A0 With this default setting the PC TIO 10 uses the I O address space hex 1A0 through 1A7 Note Verify that this space is not already used by other equipment installed in your computer If any equipment in your computer uses this I O address space you must change the base I O address for the PC TI...

Page 18: ...O 10 to decode accesses to the onboard registers On the U12 DIP switches press the side marked OFF to select a binary value of 1 for the corresponding address bit Press the other side of the switch to select a binary value of 0 for the corresponding address bit Figure 2 2 shows two possible switch settings The black side indicates the side of the switch that is pushed down A Switches Set to Defaul...

Page 19: ... hex 220 hex 220 hex 220 hex 220 hex 2B8 hex 02E1 hex 280 hex 260 hex 210 hex 180 hex 260 hex 1A0 hex These settings are software configurable and are disabled at startup time Interrupt Level Selection There are two sets of jumpers for interrupt selection on the PC TIO 10 board W1 is used for selecting the interrupt level while W2 is used for local selection of two of the counter outputs as interr...

Page 20: ...tion for OUT7 connects the output of Counter 7 to the EXTIRQ2 input The No Connect positions are intended as storage positions for one or both of the jumpers if you do not want to use one or both of the counter outputs for interrupt purposes The default positions for the jumpers on W2 are shown in Figure 2 5 W2 OUT2 OUT7 N C N C Figure 2 5 Local Interrupt Jumper Setting Factory Setting OUT2 and OU...

Page 21: ... place 5 Screw the mounting bracket of the PC TIO 10 to the back panel rail of the computer 6 Check the installation 7 Replace the cover to the computer Note If you have an ISA class computer and you are using a configurable software package such as NI DAQ you may need to reconfigure your software to reflect any changes in jumper or switch settings If you have an EISA class computer you need to up...

Page 22: ...29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 GATE2 OUT2 SOURCE3 GATE3 GATE4 OUT4 GATE5 OUT5 SOURCE6 GATE6 A0 A1 A2 A3 A4 A5 A6 A7 B0 B1 B2 B3 B4 B5 B6 B7 GATE7 OUT7 SOURCE8 GATE8 GATE9 OUT9 GND 5 V OUT3 SOURCE1 OUT1 OUT6 OUT8 GATE10 FOUT1 EXTIRQ1 GATE1 SOURCE2 SOURCE4 SOURCE7 SOURCE9 OUT10 FOUT2 EXTIRQ2 Figure 2 6 PC TIO 10 I O Connector Pin Assignments ...

Page 23: ... 5 8 11 GATE 1 10 These are the gate inputs for Counters 1 13 16 19 through 10 22 25 27 3 6 9 12 OUT 1 10 These are the outputs for Counters 1 14 17 20 through 10 23 26 28 29 30 FOUT 1 2 These are the frequency outputs of the two Am9513A devices 31 32 EXTIRQ 1 2 These are the interrupt inputs for the PC TIO 10 33 GND This pin is connected to the computer s ground signal 34 5 V This pin is connecte...

Page 24: ...y applied to the counters from the I O connector and the counters are programmed for various operations The Am9513A Counter Timer is described briefly in Chapter 3 Theory of Operation For detailed programming information consult Appendix C AMD Am9513A Data Sheet For detailed applications information consult the Am9513A Am9513A System Timing Controller technical manual published by Advanced Micro D...

Page 25: ...a counter is programmed to be edge gated An edge is applied to the counter GATE input to start the counter The counter can be programmed to start counting after receiving either a high to low edge or a low to high edge If the counter is programmed to count an internal timebase then the time lapse since receiving the edge is equal to the counter value multiplied by the timebase period To measure fr...

Page 26: ...most counting applications It is possible to create up to a 160 bit counter in this manner The GATE SOURCE OUT and FOUT signals on the I O connector are connected directly to the Am9513A input and output pins The input and output ratings and timing specifications for the Am9513A signals are given as follows The following specifications and ratings apply to the Am9513A I O signals Absolute maximum ...

Page 27: ... Figure 2 9 are referenced to the rising edge of the SOURCE signal This timing diagram assumes that the counters are programmed to count rising edges The same timing diagram with the source signal inverted and referenced to the falling edge of the source signal applies to the case in which the counter is programmed to count falling edges The signal applied at a SOURCE input can be used as a clock ...

Page 28: ...a source edge take effect either on that source edge or on the next one This arrangement creates an uncertainty of one source clock period with respect to unsynchronized gating sources Signals generated at the OUT pin are referenced to the signal at the SOURCE input or to one of the Am9513A internally generated clock signals Figure 2 9 shows the OUT signal referenced to the rising edge of a source...

Page 29: ...nections for three typical digital I O applications Port A A 3 0 Port B B 7 4 LED 5 V TTL Signal 5 V 38 37 36 35 50 49 48 47 33 GND Switch I O Connector PC TIO 10 Board Figure 2 10 Digital I O Connections In Figure 2 10 Port A is configured for digital output and Port B is configured for digital input Digital input applications include receiving TTL signals and sensing external device states such ...

Page 30: ... the connector block and are therefore connected to the PC TIO 10 I O connector The CB 50 is useful for initial prototyping of an application or in situations where PC TIO 10 interconnections are frequently changed Once a final field wiring scheme has been developed however you may want to develop your own cable This section contains information for the design of custom cables The PC TIO 10 I O co...

Page 31: ... 10 board PC I O Channel I O Connector 5 VDC 1A Fuse Data Transceiver 8 Interrupt Control Circuitry 6 PC I O Channel Control 21 1 MHz and 5 MHz Clocks AMD Am9513A STC A GATE SOURCE OUT 5 4 6 AMD Am9513A STC B GATE SOURCE OUT 5 4 6 EXTIRQ Motorola MC6821 PIA Port A Port B 2 8 8 Figure 3 1 PC TIO 10 Block Diagram The PC I O channel consists of an address bus a data bus a DMA arbitration bus interrup...

Page 32: ...d output OUT connections Each STC has an independently controlled frequency scaler output The STCs are clocked by an onboard 1 MHz crystal oscillator to give 1 µsec timing resolution In addition SOURCE5 and SOURCE10 are clocked at 5 MHz to give 200 nsec resolution on all timing channels Refer to Chapter 4 Programming or to Appendix C AMD Am9513A Data Sheet for more detailed information MC6821 Peri...

Page 33: ...ector All timing and digital I O is transmitted through a standard 50 pin male connector Pin 34 is connected to 5 V through a protection fuse F1 This 5 V supply is often required to operate I O module mounting racks Pin 33 is connected to ground See Chapter 2 Configuration and Installation for additional information ...

Page 34: ...u need not read this chapter Introduction Each of the two Am9513A STC devices is controlled by three different registers a data register a command register and a status register These registers are defined later in this chapter Because there are two Am9513A STC devices on the board they are referenced as STC A and STC B when differentiation is required The MC6821 PIA has four different registers t...

Page 35: ...ly Status Register 01 8 bit Read only STC B Data Register 02 8 bit Read and write Command Register 03 8 bit Write only Status Register 03 8 bit Read only MC6821 Register Group PIA Port A Data Register 04 8 bit Read and write Port A Control Register 05 8 bit Read and write Port B Data Register 06 8 bit Read and write Port B Control Register 07 8 bit Read and write Register Descriptions The register...

Page 36: ...the two Am9513A STC devices has three registers a data register a command register and a status register The bit maps and signal definitions for each of these registers are as follows Counters 1 2 3 4 and 5 map to Counters 1 2 3 4 and 5 of STC A respectively Counters 6 7 8 9 and 10 map to Counters 1 2 3 4 and 5 of STC B respectively ...

Page 37: ...cessed through an 8 bit port least significant byte first Bit descriptions for each of these registers are included in Appendix C AMD Am9513A Data Sheet Address Base address 00 hex for Am9513A STC A Base address 02 hex for Am9513A STC B Type Read and write Word Size 16 bit register 8 bit port Bit Map 7 6 5 4 3 2 1 0 D15 D14 D13 D12 D11 D10 D9 D8 7 6 5 4 3 2 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Bit Name Des...

Page 38: ...sters that are accessed through the Am9513A Data Registers Address Base address 01 hex for Am9513A STC A Base address 03 hex for Am9513A STC B Type Write only Word Size 8 bit register 8 bit port Bit Map 7 6 5 4 3 2 1 0 C7 C6 C5 C4 C3 C2 C1 C0 Bit Name Description 7 0 C 7 0 These eight bits are loaded into the Am9513A Command Register See Appendix C Am9513A Data Sheet for detailed bit descriptions ...

Page 39: ...ype Read only Word Size 8 bit register 8 bit port Bit Map 7 6 5 4 3 2 1 0 X X OUT5 OUT4 OUT3 OUT2 OUT1 BYTE POINTER Bit Name Description 7 6 X Unused bits They may be returned as 0 or 1 5 1 OUT 5 1 Each of these five bits returns the logic state of the associated counter output pin For example if the bit OUT4 is set then the output pin of Counter 4 or Counter 9 is at a logic high state 0 BYTE POIN...

Page 40: ...riptions for the MC6821 The MC6821 PIA has four registers Port A and Port B both have a Data Register and a Control Register The bit maps and signal definitions for each of these registers are as follows For more information on the various registers refer to Appendix D Motorola MC6821 Data Sheet ...

Page 41: ...4 D3 D2 D1 D0 Bit Name Description 7 0 D 7 0 If the Output Register is being accessed see the description of the Control Registers on the page that follows writing a value to the Data Register updates all output bits and has no effect on input bits Reading the Data Register returns the current signal value of all bits including those configured for output If the Data Direction Register is being ac...

Page 42: ...rrupt line EXTIRQ2 Always write a zero to this bit 6 3 Reserved These bits are not used on the PC TIO 10 Always write a zero to each of these bits 2 DRS This is the Data Register Select bit Writing a one to this bit selects the Output Register while writing a zero to this bit selects the Data Direction Register Reading this bit shows the bit s current state Refer to the description of the Data Reg...

Page 43: ...lect the Counter Load Register Write 03 to the Am9513A Data Register store the least significant byte of the counter load value Write 00 to the Am9513A Data Register store the most significant byte of the counter load value 3 Load all counters with their Counter Load Register values by writing 5F to the Am9513A Command Register Note When you initialize Am9513A STC B which contains Counters 6 throu...

Page 44: ..._port reset the 9513 outp cmd 0xff reset the chip for ctr 1 ctr 5 ctr outp cmd ctr select Counter Mode Register outp data 0x00 store mode low byte outp data 0x00 store mode high byte outp cmd ctr 8 select Counter Load Register outp data 0x03 store load low byte outp data 0x00 store load high byte outp cmd 0x5f load all counters int square_wave base_address counter timebase high_time low_time unsig...

Page 45: ...unsigned int high_time send load low byte outp data unsigned int high_time 8 send load high byte outp cmd counter 0x10 select Hold Reg outp data unsigned int low_time send hold low byte outp data unsigned int low_time 8 send hold high byte outp cmd 0x40 0x01 counter 1 load the ctr outp cmd 0xe8 counter set output high outp cmd 0x20 0x01 counter 1 arm the ctr return no_err the main function void ma...

Page 46: ... Register through the Data Register of the I O port that indicated the interrupt For instance if IRQ in the Port B Control Register is set you must set DRS of the Port B Control Register to one and then you must read the Port B Data Register The data returned may not be important depending on how you are using interrupts The code that follows demonstrates how to set up the MC6821 for interrupt gen...

Page 47: ... done call_foreground_code disable interrupts and remove the interrupt service routine outp pa_ctrl 0x04 inp pa_data outp pb_ctrl 0x04 inp pb_data remove_isr Sample code for the functions install_isr and remove_isr is presented as follows Be sure to pass a 32 bit structure pointer to the install_isr function because the main program s data will probably be stored in a different memory segment than...

Page 48: ...e far isr_block on input level indicates the interrupt level that is to be modified on input isr_block points to the data structure that will be used by the isr_handler function void isr_handler void the isr_handler function will never be called from C void remove_isr void public _install_isr _isr_handler _remove_isr _DATA segment word public DATA declarations ackm equ 00020h acks equ 000a0h eoi e...

Page 49: ...tvec go set the vector slave add al 068h offset for slave vector list mov slave_ack 1 flag for slave channel setvec push ax save vector number for later mov ah 35h get current vector int 21h get previous int_addr in es bx pop ax restore vector number mov cx cs prep to compare current new vectors mov dx es cmp dx cx see if vector is already there jne short ii_0 cmp bx offset _isr_handler je short i...

Page 50: ...skm al jmp 2 delay wait for data transfer in al masks get mask data from slave chip jmp 2 delay wait for data transfer and ch al determine setting of mask bit and al bh enable interrupts for selected level out masks al mov int_mask cx save the previous value of the mask restore saved registers ii_exit pop es pop ds pop dx pop cx pop bx pop ax pop bp sti ret _install_isr endp remove_isr bp reg at b...

Page 51: ... restore old mask and vector values mov cx int_mask get the old mask value in al maskm get current master mask jmp 2 delay wait for data transfer or al cl OR in old mask value out maskm al send out new setting jmp 2 delay wait for data transfer in al masks get current slave mask jmp 2 delay wait for data transfer or al ch OR in old mask value out masks al send out new setting jmp 2 delay wait for ...

Page 52: ...se the following steps mov ax seg _DATA mov ds ax lds si isrb_addr you need not use ds si but be sure to save any registers you use acknowledge the interrupt ih_0 mov ax seg _DATA mov ds ax mov al eoi signify end of interrupt cmp slave_ack 0 see if we need to acknowledge slave je short ih_1 jump if not out acks al send slave acknowledge jmp 2 delay wait for data transfer ih_1 out ackm al send mast...

Page 53: ...A Input current MC6821 Port A 2 0 Vin 5 25 V 400 µA Input current MC6821 Port B 0 4 Vin 2 4 V 10 µA Input current MC6821 EXTIRQ1 and EXTIRQ2 0 Vin 5 25 V 2 5 µA Pulse width Am9513A source inputs 70 nsec Pulse width Am9513A gate inputs 145 nsec Pulse width MC6821 EXTIRQ1 and EXTIRQ2 100 nsec Output Signal Specifications Pin 34 at 5 V 1 0 A maximum Note The total current output from pin 34 may be li...

Page 54: ...erating Environment Temperature 0 to 70 C Relative humidity 5 to 90 noncondensing Storage Environment Temperature 55 to 150 C Relative humidity 5 to 90 noncondensing Physical Dimensions 3 9 in by 4 75 in I O connector 50 pin male ribbon cable connector Power Requirement from PC I O Channel Typical power 0 6 A at 5 VDC 5 Maximum power 1 4 A at 5 VDC 5 Note These power usage figures do not include t...

Page 55: ...6 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 GATE2 OUT2 SOURCE3 GATE3 GATE4 OUT4 GATE5 OUT5 SOURCE6 GATE6 A0 A1 A2 A3 A4 A5 A6 A7 B0 B1 B2 B3 B4 B5 B6 B7 GATE7 OUT7 SOURCE8 GATE8 GATE9 OUT9 GND 5 V OUT3 SOURCE1 OUT1 OUT6 OUT8 GATE10 FOUT1 EXTIRQ1 GATE1 SOURCE2 SOURCE4 SOURCE7 SOURCE9 OUT10 FOUT2 EXTIRQ2 Figure B 1 PC TIO 10 I O Connector Detailed signal specifications ...

Page 56: ... sheet for the AMD Am9513A integrated circuit Advanced Micro Devices Inc This circuit is used on the PC TIO 10 board Copyright Advanced Micro Devices Inc 1989 Reprinted with permission of copyright owner All rights reserved Advanced Micro Devices Inc 1990 Data Book Personal Computer Products Processors Coprocessors Video and Mass Storage ...

Page 57: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 2 National Instruments Corporation ...

Page 58: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 3 PC TIO 10 User Manual ...

Page 59: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 4 National Instruments Corporation ...

Page 60: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 5 PC TIO 10 User Manual ...

Page 61: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 6 National Instruments Corporation ...

Page 62: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 7 PC TIO 10 User Manual ...

Page 63: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 8 National Instruments Corporation ...

Page 64: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 9 PC TIO 10 User Manual ...

Page 65: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 10 National Instruments Corporation ...

Page 66: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 11 PC TIO 10 User Manual ...

Page 67: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 12 National Instruments Corporation ...

Page 68: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 13 PC TIO 10 User Manual ...

Page 69: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 14 National Instruments Corporation ...

Page 70: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 15 PC TIO 10 User Manual ...

Page 71: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 16 National Instruments Corporation ...

Page 72: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 17 PC TIO 10 User Manual ...

Page 73: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 18 National Instruments Corporation ...

Page 74: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 19 PC TIO 10 User Manual ...

Page 75: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 20 National Instruments Corporation ...

Page 76: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 21 PC TIO 10 User Manual ...

Page 77: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 22 National Instruments Corporation ...

Page 78: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 23 PC TIO 10 User Manual ...

Page 79: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 24 National Instruments Corporation ...

Page 80: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 25 PC TIO 10 User Manual ...

Page 81: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 26 National Instruments Corporation ...

Page 82: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 27 PC TIO 10 User Manual ...

Page 83: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 28 National Instruments Corporation ...

Page 84: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 29 PC TIO 10 User Manual ...

Page 85: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 30 National Instruments Corporation ...

Page 86: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 31 PC TIO 10 User Manual ...

Page 87: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 32 National Instruments Corporation ...

Page 88: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 33 PC TIO 10 User Manual ...

Page 89: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 34 National Instruments Corporation ...

Page 90: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 35 PC TIO 10 User Manual ...

Page 91: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 36 National Instruments Corporation ...

Page 92: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 37 PC TIO 10 User Manual ...

Page 93: ...AMD Am9513A Data Sheet Appendix C PC TIO 10 User Manual C 38 National Instruments Corporation ...

Page 94: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 39 PC TIO 10 User Manual ...

Page 95: ...ains the manufacturer data sheet for the Motorola MC6821 integrated circuit Motorola Inc This circuit is used on the PC TIO 10 board Copyright Motorola Inc 1988 Reprinted with permission of copyright owner All rights reserved Motorola Inc Q3 1988 Data Book Microprocessor Microcontroller and Peripheral Data Volume II ...

Page 96: ...Motorola MC6821 Data Sheet Appendix D PC TIO 10 User Manual D 2 National Instruments Corporation ...

Page 97: ...Appendix D Motorola MC6821 Data Sheet National Instruments Corporation D 3 PC TIO 10 User Manual ...

Page 98: ...Motorola MC6821 Data Sheet Appendix D PC TIO 10 User Manual D 4 National Instruments Corporation ...

Page 99: ...Appendix D Motorola MC6821 Data Sheet National Instruments Corporation D 5 PC TIO 10 User Manual ...

Page 100: ...Motorola MC6821 Data Sheet Appendix D PC TIO 10 User Manual D 6 National Instruments Corporation ...

Page 101: ...Appendix D Motorola MC6821 Data Sheet National Instruments Corporation D 7 PC TIO 10 User Manual ...

Page 102: ...Motorola MC6821 Data Sheet Appendix D PC TIO 10 User Manual D 8 National Instruments Corporation ...

Page 103: ...Appendix D Motorola MC6821 Data Sheet National Instruments Corporation D 9 PC TIO 10 User Manual ...

Page 104: ...Motorola MC6821 Data Sheet Appendix D PC TIO 10 User Manual D 10 National Instruments Corporation ...

Page 105: ...Appendix D Motorola MC6821 Data Sheet National Instruments Corporation D 11 PC TIO 10 User Manual ...

Page 106: ...Motorola MC6821 Data Sheet Appendix D PC TIO 10 User Manual D 12 National Instruments Corporation ...

Page 107: ... 0 0 1 0 1 028 028 02F 0 0 0 0 1 1 0 030 030 037 0 0 0 0 1 1 1 038 038 03F 0 0 0 1 0 0 0 040 040 047 0 0 0 1 0 0 1 048 048 04F 0 0 0 1 0 1 0 050 050 057 0 0 0 1 0 1 1 058 058 05F 0 0 0 1 1 0 0 060 060 067 0 0 0 1 1 0 1 068 068 06F 0 0 0 1 1 1 0 070 070 077 0 0 0 1 1 1 1 078 078 07F 0 0 1 0 0 0 0 080 080 087 0 0 1 0 0 0 1 088 088 08F 0 0 1 0 0 1 0 090 090 097 0 0 1 0 0 1 1 098 098 09F 0 0 1 0 1 0 0...

Page 108: ...0 1 0 1 0 0 0 140 140 147 0 1 0 1 0 0 1 148 148 14F 0 1 0 1 0 1 0 150 150 157 0 1 0 1 0 1 1 158 158 15F 0 1 0 1 1 0 0 160 160 167 0 1 0 1 1 0 1 168 168 16F 0 1 0 1 1 1 0 170 170 177 0 1 0 1 1 1 1 178 178 17F 0 1 1 0 0 0 0 180 180 187 0 1 1 0 0 0 1 188 188 18F 0 1 1 0 0 1 0 190 190 197 0 1 1 0 0 1 1 198 198 19F 0 1 1 0 1 0 0 1A0 1A0 1A7 0 1 1 0 1 0 1 1A8 1A8 1AF 0 1 1 0 1 1 0 1B0 1B0 1B7 0 1 1 0 1 ...

Page 109: ... 268 268 26F 1 0 0 1 1 1 0 270 270 277 1 0 0 1 1 1 1 278 278 27F 1 0 1 0 0 0 0 280 280 287 1 0 1 0 0 0 1 288 288 28F 1 0 1 0 0 1 0 290 290 297 1 0 1 0 0 1 1 298 298 29F 1 0 1 0 1 0 0 2A0 2A0 2A7 1 0 1 0 1 0 1 2A8 2A8 2AF 1 0 1 0 1 1 0 2B0 2B0 2B7 1 0 1 0 1 1 1 2B8 2B8 2BF 1 0 1 1 0 0 0 2C0 2C0 2C7 1 0 1 1 0 0 1 2C8 2C8 2CF 1 0 1 1 0 1 0 2D0 2D0 2D7 1 0 1 1 0 1 1 2D8 2D8 2DF 1 0 1 1 1 0 0 2E0 2E0 2...

Page 110: ... 367 1 1 0 1 1 0 1 368 368 36F 1 1 0 1 1 1 0 370 370 377 1 1 0 1 1 1 1 378 378 37F 1 1 1 0 0 0 0 380 380 387 1 1 1 0 0 0 1 388 388 38F 1 1 1 0 0 1 0 390 390 397 1 1 1 0 0 1 1 398 398 39F 1 1 1 0 1 0 0 3A0 3A0 3A7 1 1 1 0 1 0 1 3A8 3A8 3AF 1 1 1 0 1 1 0 3B0 3B0 3B7 1 1 1 0 1 1 1 3B8 3B8 3BF 1 1 1 1 0 0 0 3C0 3C0 3C7 1 1 1 1 0 0 1 3C8 3C8 3CF 1 1 1 1 0 1 0 3D0 3D0 3D7 1 1 1 1 0 1 1 3D8 3D8 3DF 1 1 1...

Page 111: ...ntries contact the nearest branch office You may fax questions to us at any time Corporate Headquarters 512 795 8248 Technical support fax 800 328 2203 512 794 5678 Branch Offices Phone Number Fax Number Australia 03 879 9422 03 879 9179 Austria 0662 435986 0662 437010 19 Belgium 02 757 00 20 02 757 03 11 Denmark 45 76 26 00 45 76 71 11 Finland 90 527 2321 90 502 2930 France 1 48 14 24 00 1 48 14 ...

Page 112: ...rdware or software products related to this problem include the configuration forms from their user manuals Include additional pages if necessary Name Company Address Fax Phone Computer brand Model Processor Operating system Speed MHz RAM M Display adapter Mouse yes no Other adapters installed Hard disk capacity M Brand Instruments used National Instruments hardware product model Revision Configur...

Page 113: ...bWindows Version _________________________________________________ Other Products Computer Make and Model _________________________________________________ Computer Bus XT AT ISA or EISA _________________________________________________ Microprocessor _________________________________________________ Clock Frequency _________________________________________________ Bus and Microprocessor Type of V...

Page 114: ...comment on the completeness clarity and organization of the manual If you find errors in the manual please record the page numbers and describe the errors Thank you for your help Name Title Company Address Phone Mail to Technical Publications Fax to Technical Publications National Instruments Corporation National Instruments Corporation 6504 Bridge Point Parkway MS 53 02 MS 53 02 Austin TX 78730 5...

Page 115: ...ster bit assignments C 27 counter output waveforms C 28 data bus assignments C 7 data pointer sequencing C 10 data port registers C 11 detailed description C 8 to C 11 general description C 2 hardware retriggering C 29 hold register C 11 input circuitry C 7 interface considerations C 7 interface signal summary C 7 load data pointer commands C 10 load register C 11 master mode control options C 11 ...

Page 116: ...tch settings with corresponding base I O address and base I O address space E 1 to E 4 board configuration See configuration BYTE POINTER bit 4 6 C C 7 0 bit 4 5 cabling 2 16 CB 50 cable 2 16 configuration base I O address factory settings 2 1 switch settings for 2 2 to 2 3 default settings for National Instrument products 2 4 interrupt level selection 2 4 to 2 5 local interrupt selection 2 5 part...

Page 117: ...urement 2 10 to 2 11 G GATE1 through GATE10 signals 2 8 2 10 to 2 13 GND signal 2 8 I I O connector pin description 2 7 B 1 I O signal ratings See specifications and ratings input signal specifications A 1 installation cabling 2 16 procedure for 2 6 unpacking the PC TIO 10 1 4 INTEN bit 4 9 interrupt level default settings for National Instrument products 2 4 jumpers for interrupt level selection ...

Page 118: ...p 4 2 MC6821 Peripheral Interface Adapter block diagram D 7 bus timing characteristics D 4 control registers D 9 control word format D 11 data direction access control bit D 9 to D 10 electrical characteristics D 3 to D 4 functions of D 2 initialization D 9 interface signals for MPU D 8 internal controls D 9 to D 11 maximum ratings D 3 ordering information D 10 overview 3 2 peripheral interface li...

Page 119: ...description Am9513A System Timing Controller C 6 MC6821 Peripheral Interface Adapter D 12 PC TIO 10 I O connector 2 7 B 1 port definition of 4 1 power connections 2 15 power requirement A 2 programming Am9513A Command Registers 4 5 Am9513A Data Registers 4 4 Am9513A Status Registers 4 6 Am9513A STC devices 4 10 to 4 13 interrupt programming example for the MC6821 4 13 to 4 19 MC6821 Control Regist...

Page 120: ...A digital input 2 11 Am9513A digital output 2 12 Am9513A I O signals 2 11 digital I O lines 2 13 digital input 2 13 digital output 2 14 I O connector electrical specifications A 1 to A 2 I O signal ratings A 1 input signal specifications A 1 MC6821 Peripheral Interface Adapter D 3 to D 7 operating environment A 2 output signal specifications A 1 to A 2 physical specifications A 2 power connections...

Page 121: ... measurements 2 10 timing signal connections 2 11 to 2 13 event counting application 2 10 frequency measurement 2 10 to 2 11 overview 2 9 pulse width measurements 2 10 specifications and ratings 2 11 to 2 12 time lapse measurements 2 10 timing and digital I O connector 3 3 timing signal relationships 2 12 U unpacking the PC TIO 10 1 4 unused bits X 4 6 ...

Reviews: