background image

5.4 BADR3

BADR3 is an 8-bit data bus for reading, writing and control of the individual 82C55
chips and the 82C54.  Refer to Table 5-2 for register offsets.

Table 5-2. BADR3 Registers

Interrupt Control 2

Interrupt Control 2

BADR3 + 15h

Interrupt Control 1

Interrupt Control 1

BADR3 + 14h

Counter Configure

Counter Configuration

BADR3 + 13h

N/A

N/A

BADR3 + 12h

Counter 2

Counter 2

BADR3 + 11h

Counter 1

Counter 1

BADR3 + 10h

Group 3 Configure

Group 3 Configure

BADR3 + F

Group 3 Port C Data

Group 3 Port C Data

BADR3 + E

Group 3 Port B Data

Group 3 Port B Data

BADR3 + D

Group 3 Port A Data

Group 3 Port A Data

BADR3 + C

Group 2 Configure

Group 2 Configure

BADR3 + B

Group 2 Port C Data

Group 2 Port C Data

BADR3 + A

Group 2 Port B Data

Group 2 Port B Data

BADR3 + 9

Group 2 Port A Data

Group 2 Port A Data

BADR3 + 8

Group 1 Configure

Group 1 Configure

BADR3 + 7

Group 1 Port C Data

Group 1 Port C Data

BADR3 + 6

Group 1 Port B Data

Group 1 Port B Data

BADR3 + 5

Group 1 Port A Data

Group 1 Port A Data

BADR3 + 4

Group 0 Configure

Group 0 Configure

BADR3 + 3

Group 0 Port Data

Group 0 Port C Data

BADR3 + 2

Group 0 Port B Data

Group 0 Port B Data

BADR3 + 1

Group 0 Port A Data

Group 0 Port A Data

BADR3 + 0

WRITE FUNCTION

READ FUNCTION

REGISTER

The 82C55 may be programmed to operate in Input/Ouput (mode 0), Strobed
Input/Ouput (mode 1) or Bi-Directional Bus (mode 2). The following information
describes mode 0 operation. Users needing information regarding other modes of
operation should refer to an Intel or Intersil 82C55 data sheet.
Upon power-up, an 82C55 is reset and defaults to the input mode. No further
programming is needed to use the 24 lines of an 82C55 as TTL inputs.

5.4.1

Group 0 8255 Configuration & Data

GROUP 0, PORT A DATA
BADR3 + 0
READ/WRITE

D0

D1

D2

D3

D4

D5

D6

D7

0

1

2

3

4

5

6

7

12

Summary of Contents for CYDIO 96P

Page 1: ...roduced without permission CyberResearch Inc www cyberresearch com 25 Business Park Dr Branford CT 06405 USA 203 483 8815 9am to 5pm EST FAX 203 483 9024 Digital I O CYDIO 96P Multi Channel Digital I...

Page 2: ......

Page 3: ...names mentioned herein are used for identification purposes only and may be trademarks and or registered trademarks of their respective companies NOTICE CyberResearch Inc does not authorize any Cyber...

Page 4: ......

Page 5: ...Configuration Data 15 5 4 3 Group 2 8255 Configuration Data 14 5 4 2 Group 1 8255 Configuration Data 12 5 4 1 Group 0 8255 Configuration Data 12 5 4 BADR3 11 5 3 BADR2 10 5 2 1 INTCSR Configure 10 5 2...

Page 6: ...This page is blank...

Page 7: ...l pull down resistors Provisions have been made on the board to allow users to quickly and easily install SIP resistor networks in either pull up or pull down configurations Figure 1 1 CyDIO 96P Block...

Page 8: ...This page is blank...

Page 9: ...re InstaCal is the installation calibration and test software supplied with your data acquisition IO hardware Refer to the Extended Software Installation Manual to install InstaCal If you need it ther...

Page 10: ...This page is blank...

Page 11: ...x cable is used to split the 100 I O lines into two 50 wire cables One connector has pins 1 to 50 the other has 51 to 100 The two I O connectors can be connected directly to two screw terminal boards...

Page 12: ...t A2 A Port A1 A Port A0 A Port B7 A Port B6 A Port B5 A Port B4 A Port B3 A Port B2 A Port B1 A Port B0 A Port C7 A Port C6 A Port C5 A Port C4 A Port C3 A Port C2 A Port C1 A Port C0 A 51 Port A7 D...

Page 13: ...ble CBL 100xx Configuration 5 SIGNAL CONDITIONING OR 50 PIN SCREW TERMINAL BOARD SIGNAL CONDITIONING or 50 PIN SCREW TERMINAL BOARD CBL 100xx CABLE BOARD S 100 PIN I O CONNECTOR I O PINS 1 TO 50 I O P...

Page 14: ...Port C0 C 48 49 5V Ground 50 2nd of 2 CBL 100xx 50 Pin Connectors From board pins 51 to 100 1st connector is pin 1 to 1 etc DIO Groups 0 and 1 Pins 51 100 of 100 Pin Conn 51 Port A7 D 52 53 54 55 56...

Page 15: ...YERB series electromechanical relay output boards CYERB S series 10A electromechanical relay output boards CYSSR series solid state relay I O module racks A description of digital interfacing is in th...

Page 16: ...96 bits of the CyDIO 96P board may be used to control relays and or SSRs This configuration is shown in Figure 3 4 below The 24 bits of digital I O on CyDIO 96P connector pins 1 24 base address 0 thr...

Page 17: ...n now to the Universal Library manual 4 2 PACKAGED APPLICATION PROGRAMS Most packaged application programs such as SoftWIRE DAS Wizard and HP VEE have drivers for the CyDIO 96P If the package you own...

Page 18: ...This page is blank...

Page 19: ...ace 5 2 BADR1 BADR1 is a 32 bit register for control and configuration of interrupts 5 2 1 INTCSR Configure BADR1 4C hex LEVEL EDGE X INTCLR X ISAMD X X X 8 9 10 11 12 13 14 32 15 READ WRITE INTE INTP...

Page 20: ...1 interrupt active PCINT PCI interrupt enable 0 disabled default 1 enabled LEVEL EDGE Interrupt trigger control 0 level triggered mode default 1 edge triggered mode INTCLR Interrupt clear edge trigger...

Page 21: ...ata BADR3 8 Group 1 Configure Group 1 Configure BADR3 7 Group 1 Port C Data Group 1 Port C Data BADR3 6 Group 1 Port B Data Group 1 Port B Data BADR3 5 Group 1 Port A Data Group 1 Port A Data BADR3 4...

Page 22: ...55 data sheets for information on other modes of operation 8255 MODE 0 CONFIGURATION 1 Output Ports In mode 0 configuration 82C55 ports can be configured as outputs holding the data written to them Fo...

Page 23: ...OUT OUT 136 88 0 0 1 0 IN OUT IN OUT 131 83 1 1 0 0 OUT OUT IN OUT 130 82 0 1 0 0 IN OUT OUT OUT 129 81 1 0 0 0 OUT OUT OUT OUT 128 80 0 0 0 0 CL CU B A Dec Hex D0 D1 D3 D4 Values Programming Codes No...

Page 24: ...OUP 2 PORT B DATA BADR3 9 READ WRITE D0 D1 D2 D3 D4 D5 D6 D7 0 1 2 3 4 5 6 7 GROUP 2 PORT C DATA BADR3 A hex READ WRITE CL1 CL2 CL3 CL4 CH1 CH2 CH3 CH4 C1 C2 C3 C4 C5 C6 C7 C8 0 1 2 3 4 5 6 7 GROUP 2...

Page 25: ...hardware to produce a 32 bit counter for use in interrupt generation This register provides access to the lower 16 data bits Since the interface to the 82C54 is only 8 bits wide write counter data in...

Page 26: ...et DIRQ0 When this bit is set the 8255 in Group 3 will generate an interrupt on INTRA if INTEN in BASE 15 hex is also set CIRQ1 When this bit is set the 8255 in Group 2 will generate an interrupt on I...

Page 27: ...es the counters as an interrupt source 1 counters may generate interrupts 0 counters cannot generate interrupts CTR1 Controls whether counter 2 is the interrupt source or counter 1 is the interrupt so...

Page 28: ...This page is blank...

Page 29: ...Input High 0 4 volts max 2 5mA Output Low 3 0 volts min 2 5mA Output High 2 banks of 8 and 2 banks of 4 or 3 banks of 8 or 2 banks of 8 with handshake Configuration per 82C55 96 Number of I O Four 82...

Page 30: ...rrupts are exclusive Only one counter can be enabled as an interrupt source at any given time Interrupt sources Rising falling edge Programmable through PLX 9052 High or low level Programmable through...

Page 31: ...or reset the control register is set to a known state That state is all ports go to the input state The nature of the input means it will typically float high However depending on the drive requireme...

Page 32: ...s there are 10 holes in a line One end of the line is 5V the other end is GND They are marked HI and LO respectively The eight holes in the middle are connected to the eight lines of a port 1 through...

Page 33: ...t Resistance Thus any variation in the voltage drop for the circuit as a whole will have a proportional variation in all the voltage drops in the circuit In a voltage divider the voltage across one of...

Page 34: ...age must be dropped to 5 volts max when on The Attenuation is 24 5 or 4 8 Use the equation above to find an appropriate R1 if R2 is 1K Remember that a TTL input is on when the input voltage is greater...

Page 35: ...ormative documents EU EMC Directive 89 336 EEC Essential requirements relating to electromagnetic compatibility EU 55022 Class B Limits and methods of measurements of radio interference characteristic...

Page 36: ...For Your Notes...

Page 37: ...a volt meter handy to take measurements of the signals you are trying to measure as well as the signals on the board module or power supply 4 Isolate problem areas that are not working as you expected...

Page 38: ...in connection with equipment purchased and in lieu of all other war ranties expressed implied or statutory including but not limited to any implied warranty of merchant ability or fitness and all othe...

Page 39: ......

Reviews: