Tables of Contents
1.
1. INTRODUCTION ....................................................................................................................4
1.1 OME-PCI-TMC12(A)........................................................................................................5
1.2 PRODUCT CHECK LIST ........................................................................................................5
2. HARDWARE CONFIGURATION ........................................................................................6
2.1 BOARD LAYOUT..................................................................................................................6
2.2 COUNTER ARCHITECTURE...................................................................................................7
2.3 D/I/O BLOCK DIAGRAM......................................................................................................8
2.4 JUMPER SETTING.................................................................................................................9
2.5 DAUGHTER BOARDS .........................................................................................................13
2.6 PIN ASSIGNMENT ..............................................................................................................17
3. I/O CONTROL REGISTER......................................................................................................19
3.1 HOW TO FIND THE I/O ADDRESS........................................................................................19
3.2 THE ASSIGNMENT OF I/O ADDRESS ...................................................................................21
3.3 THE I/O ADDRESS MAP .....................................................................................................22
3.4 NEW FEATURES OF OME-PCI-TMC12A..........................................................................27
4. 8254 PROGRAMMING ........................................................................................................32
4.1 CONTROL WORD FORMAT ................................................................................................32
4.2 COUNTER LATCH COMMAND .............................................................................................33
4.3 READ BACK COMMAND .....................................................................................................33
4.4 STATUS BYTE FORMAT ......................................................................................................33
5. DEMO PROGRAM....................................................................................................................34
5.1 DEMO1: USE D/O.................................................................................................................35
5.2 DEMO2: USE D/I ..................................................................................................................36
5.3 DEMO3: WAVE GENERATOR ................................................................................................37
5.4 DEMO4: DELAY ONE MSEC...................................................................................................39
5.5 DEMO5: 16-BIT EVENT COUNTER.........................................................................................40
5.6 DEMO6: SOFTWARE COUNTER .............................................................................................41
5.7 DEMO7: WATCHDOG TIMER.................................................................................................42
5.8 DEMO8: PULSE WIDTH MEASURE ........................................................................................44
5.9 DEMO9: FREQUENCY MEASURE...........................................................................................46
5.10 DEMO10: FIND CARD NUMBER ............................................................................................48
5.11 DEMO11: COUNT LOW PULSE ..............................................................................................49
5.12 DEMO12: LOW PULSE WIDTH ..............................................................................................51
OME-PCI-TMC12(A) User Manual (Ver. 2.0, Sep/2002) --- 2