Home

manual 8255 IO

image

Contents

1. 4 2 5 2 PA7 w HARDECISION Computer International A Operations Manual 8255 I O card Hh Wh WR 95 UR 5 5 95 95 55 5 55 55 A 55 55 55 5 5 G 3 83 2 PBO PORT 2 PB1 PORT 2 PB2 PORT 2 PB3 PORT 2 PB4 PORT 2 5 2 PB6 PORT 2 237 2 2 PC1 PORT 2 PC2 PORT 2 PC3 PORT 2 PC4 PORT 2 PC5 PORT 2 PC6 PORT 2 PC7 E IBDECISION Computer International Operations Manual 8255 I O card Hh Wh WR 9 UR 5 5 95 95 55 55 55 55 95 55 55 EE 5 5 4 84 CLKO GATEO OUTO CLK1 GATE1 0 1011 CLK2 GATE2 OUT2 GND1 GND2 5V 5V GND1 GND1 GND2 w HARDECISION Computer International A
2. K L L PL PL PK L PL L L L E IBDECISION Computer International Operations Manual 8255 I O card Hh Wh 5 95 UR 5 5 95 95 55 55 55 55 95 55 55 55 5 55 G 2 2 Hardware Installation Your 8255 1 0 card is design to be inserted in any available slot in your PC XT or compatibles In order to gain access to the expansion slots and the program switches on the main board follow the steps listed below 1 Set the 8255 I O card switch 2 Turn off all power of your computer and all peripheral devices before installing your 8255 I O card 3 Remove the cover of the computer 4 Insert your pre configured card into any available slot Make sure your card is firmly seated in the chosen slot 5 Replace the cover of the computer 6 You are now ready to use your 8255 1 0 card for several Applications 3 HARDECISION Computer International A 2 3 Pin Assignment Port 1 PIN 1 GND PIN 2 GND 3 GND 4 PA3 5 PAI 6 PA2 7 CLKO 8 PAO 9 GATEO 10 OUTO 11 OUT2 12 CLK2 13 CLKI 14 GATE2 14 OUTI 16 GATEI 17 5 18 4 19 20 PA6 21 PC6 22 PC7 23 PC4 24 PC 25 PCI 26 PCO 27 PB7 28 PC2 29 PB6 30 PC3 31 5 32 33 PB4 34 PBI 35 PB3 36 PB2 37 5V 38 5V 39 12v 40 12V E IBDECISION Computer Internati
3. Hh Wh 5 95 UR 5 5 95 95 55 55 55 55 95 55 55 EE 55 95 until keypressed end 3 C version include lt stdio h gt include lt conio h gt int test i a void subtest for i 0 i lt 2 i outportb test i a j main 1 clrscr gotoxy 10 10 puts 8255 1 0 CARD TESTING gotoxy 10 12 puts TWO 8255 PORT A B C OUTPUT SQUARE WAVE gotoxy 10 14 puts 8253 COUNTER 0 DIVIDE BY 2 gotoxy 10 16 puts 8253 COUNTER 1 DIVIDE BY 50 gotoxy 10 18 puts 8253 COUNTER 2 DIVIDE BY 100 test 0x300 outportb test 11 0x36 outportb test 11 0x76 outportb test 11 0xb6 outportb test 8 0x02 outportb test 8 0x00 outportb test 9 0x32 outportb test 9 0x00 outportb test 10 0x64 outportb test 10 0x00 do test 0x300 outportb test 3 0x80 a 0 subtest for i 0 i lt 1000 i a Oxff IBDECISION Computer International Operations Manual 8255 I O card Hh Wh 5 95 UR 5 5 95 95 55 55 55 5 95 55 55 EE 5 G subtest while kbhit w HARDECISION Computer International A Operations Manual 8255 I O card Hh Wh 5 95 UR 5 5 95 95 55 5 55 55 95 55 55 EE 5 95 APPENDIX A TERMINATOR BOARD The 8255terminator board provides expansion signal connection for convenience purpose When power control on the normal condition the LED will li
4. Operations Manual 8255 I O card Hh Wh 5 95 55 5 95 95 55 55 55 5 95 55 55 EE 5 95 CHAPTER 1 INTRODUCTION The 8255 I O card is a programmable peripheral interface for PC XT PC AT 80386 80486 or compatible The interface card contains 8253 chips and 8255 chips the 8253 chip provides programmable interval timer counter functions and the 8255 chips provide programmable input output functions The features of the 8255 I O card are Programmable I O control functions Up to 48 I O lines Maximum of 2MHZ count rate Three independent 16 bits counter Support several operating modes which are Programmable Sixteen LED indicate when I O is operating Port address selectable PACKAGE CONTENTS 8255 8253 I O card 8255 8253 user s manual 8255 8253terminator board option Two expansion flat cables option w HARDECISION Computer International A 15 Operations Manual 8255 I O card Hh Wh 5 9 UR 5 5 95 55 55 55 55 55 95 55 55 EE 55 95 B 880 8 1510 Computer International Operations Manual 8255 I O card Hh Wh WR 95 UR 55 5 95 95 55 55 55 5 95 55 55 EE 55 95 2 HARDWARE CONFIGURATION 2 1 Configuration for DIP Switch Before you use the 8255 I O card you must ensure that the I O address and the clock are set correctly Observe the figure below the pr
5. R K 0 TO 1000 NEXT K 390 A amp HFF GOSUB 500 400 GOTO 320 500 FOR I 0 TO 2 510 OUT PORT LA 520 NEXTI 530 RETURN E IBDECISION Computer International Operations Manual 8255 I O card Hh Wh WR 95 UR 5 5 95 95 55 55 55 5 95 55 55 EE 55 95 2 PASCAL version Program diagnostic input output uses var Crt 1 test integer procedure subtest begin end begin for i 0 to 2 do port test i a 8255 I O Card Testing Program clrscr gotoxy 10 10 writeln 8255 1 0 CARD TESTING gotoxy 10 12 writeln TWO 8255 PORT A B C OUTPUT SQUARE WAVE gotoxy 10 14 writeln 8253 COUNTER 0 DIVIDE BY 2 gotoxy 10 16 writeln 8253 COUNTER 1 DIVIDE BY 50 gotoxy 10 18 writeln 8253 COUNTER 2 DIVIDE BY 100 8253 Testing test 300 port test 11 36 port test 11 76 port test 11 B6 port test 8 02 port test 8 0 port test 9 32 port test 9 0 port test 10 64 port test 10 0 repeat test 300 port test 3 80 a 0 subtest for i 0 to 1000 do ff subtest test test 4 port test 3 80 a 0 subtest for i 0 to 1000 do a subtest w E I5BDECISION Computer International A 18 Operations Manual 8255 I O card
6. ght The layout of 8255terminator board is shown in the follows E IBDECISION Computer International Operations Manual 8255 I O card Hh Wh 95 55 UR 55 55 95 95 55 5 55 5 95 55 95 5 55 55 5 Eu ou ow 8 rp ow rp t f 8 8 Hh H 1 6 5 1 88 1 a s s H i i g 2 13 58 1 3 Computer International A Operations Manual 8255 I O card Hh Wh WR 95 UR 5 5 95 95 55 55 55 5 95 55 55 EE 5 95 The signal assignment is shown in the follows 1 TBI PORT 1 1 PA1 PORT 1 PA2 PORT 1 PA3 PORT 1 PA4 PORT 1 PAS PORT 1 PA6 PORT 1 PA7 PORT 1 PBO PORT 1 PB1 PORT 1 PB2 PORT 1 PB3 PORT 1 PB4 PORT 1 5 1 PB7 E IBDECISION Computer International Operations Manual 8255 I O card Hh Wh WR 9 5 5 5 95 95 55 55 55 5 95 UR 55 EE 55 95 2 182 1 1 PC1 PORT 1 PC2 PORT 1 PC3 PORT 1 PC4 PORT 1 PC5 PORT 1 PC6 PORT 1 PC7 PORT 2 PAO PORT 2 PA1 PORT 2 PA2 PORT 2 PA3 PORT 2
7. onal Operations Manual 8255 I O card 55 95 95 UR 55 55 95 95 95 5 5 5 95 95 95 UR 5 UR UR Pin Assignment Port 2 PIN 1 GND PIN 2 GND 3 GND 4 GND 5 GND 6 GND T GND 8 GND 9 GND 10 GND 11 GND 12 GND 13 14 PA1 15 PA2 16 PA3 17 PA4 18 PA5 19 PAG 20 PA7 21 PC7 22 PC6 23 PC5 24 PC4 25 PCO 26 27 PC2 28 PB7 29 30 PB6 31 PBO 32 5 33 PB1 34 PB4 35 PB2 36 PB3 37 5V 38 5V 39 12V 40 12V w HARDECISION Computer International A Operations Manual 8255 I O card Hh Wh WR 9 UR 55 5 95 95 55 55 55 5 A 55 55 55 5 5 95 3 DIAGNOSTIC 1 BASIC version 00 REM 8255 I O CARD TESTI 01 NG PROGRAM 10 SCREEN 0 0 0 WIDTH 80 25 KEY OFF CLS 20 LOCATE 10 10 PRINT 8255 I O CARD TESTING 30 LOCATE 12 10 PRINT TWO 8255 PORT A B C OUTPUT SQUARE WAVE 40 LOCATE 14 10 PRINT 8253 COUNTER 0 DIVIDE BY 2 50 LOCATE 16 10 PRINT COUNTER 1 DIVIDE BY 50 60 LOCATE 18 10 PRINT COUNTER 2 DIVIDE BY 100 250 REM 8253 TESTING 255 PORT amp H300 260 OUT PORT 11 amp H36 270 OUT PORT 11 amp H76 280 OUT PORT 11 amp HB6 290 OUT PORT 8 amp H2 OUT PORT 8 amp H0 300 OUT PORT 9 amp H32 OUT PORT 9 amp H0 310 OUT PORT 10 amp H64 OUT PORT 10 amp H0 320 PORT amp H300 330 OUT PORT 3 amp H80 340 0 GOSUB 500 345 FOR K 0 TO 1000 NEXT K 350 A amp HFF GOSUB 500 360 PORT PORT 4 370 OUT PORT 3 amp H80 380 0 GOSUB 500 385 FO
8. oper settings for the 8255 I O card are described in the following w HARDECISION Computer International A 8255 I O card Operations Manual c se s se JL rg oc Etonin tong 9 NO1SI93G w 15 E IBDECISION Computer International Operations Manual 8255 I O card Hh Wh 5 95 UR 5 5 95 95 55 55 55 55 95 55 55 EE 55 95 1 I O address JP2 Short default JP2 Select amp H300 amp H30F as I O port address The I O address correspond to three 8 bits ports and three counters are amp H300 Port 1A input output buffer amp H301 Port 1B input output buffer amp H302 Port 1C input output buffer amp H303 Port 1 control register amp H304 Port 2A input output buffer amp H305 Port 2B input output buffer amp H306 Port 2C input output buffer amp H307 Port 2 control register amp H308 Counter 0 input output buffer amp H309 Counter 1 input output buffer w 180861510 4 Computer International A 15 Operations Manual 8255 I O card Hh Wh 5 95 UR 5 5 95 95 55 55 55 5 95 55 55 EE 5 95 amp H30A Counter 2 input output buffer amp H30B Counter control
9. register I O address JP2 Open JP2 Select amp H360 amp H36F as I O port address The I O address correspond to three 8 bits ports and three counters are amp H360 amp H361 amp H362 amp H363 amp H364 amp H365 amp H366 amp H367 amp H368 amp H369 Port 1A input output buffer Port 1B input output buffer Port 1C input output buffer Port 1 control register Port 2A input output buffer Port 2B input output buffer Port 2C input output buffer Port 2 control register Counter 0 input output buffer Counter input output buffer w IBDECISION Computer International 15 Operations Manual 8255 I O card Hh Wh 5 95 UR 5 5 95 95 55 5 55 5 95 55 55 EE 5 95 amp H36A Counter 2 input output buffer amp H36B Counter control register w HARDECISION Computer International A Operations Manual 8255 I O card Hh Wh 5 9 UR 5 5 95 95 55 55 55 55 95 55 EEE 5 95 2 Clock Selection JP1 DBE JP1 1 Short default Select internal clock to counter 0 JP1 2 Short default Select internal clock to counter 1 JP1 3 Short default Select internal clock to counter 2 JP1 1 Open Select external clock to counter 0 JP1 2 Open Select external clock to counter 1 JP1 3 Open Select external clock to counter 2 L L K L L K

Download Pdf Manuals

image

Related Search

Related Contents

Estudio de herramientas para la gestión de repositorios digitales  NOTA  Hisense MC50160 fridge-freezer  EOS 120 VENERE D  ESPECIFICACIONES TECNICAS PARTICULARES  PCV-L630  Hampton Bay 51538 Installation Guide  PRESSOSTATI A MEMBRANA  取扱説明書  Proceq DY-2  

Copyright © All rights reserved.
Failed to retrieve file