Tables of Contents
1. INTRODUCTION.............................................................................................................................2
1.1 FEATURES ..................................................................................................................................2
1.2 SPECIFICATION...........................................................................................................................3
1.3 PRODUCT CHECK LIST ...............................................................................................................4
2. HARDWARE CONFIGURATION.................................................................................................5
2.1 BOARD LAYOUT .................................................................................................................................5
2.2 I/O BASE ADDRESS SETTING ..............................................................................................................6
2.2.1 Base Address Table:.................................................................................................................7
2.3 COUNTER ARCHITECTURE ..................................................................................................................9
2.4 JUMPER SETTING ...............................................................................................................................11
2.4.1 Clock1 & Clock2 ......................................................................................................................11
2.4.2 Gate1,2,3,4,7,8,9,10 .................................................................................................................11
2.4.3 CH 1,2,3,4,7,8,9,10...................................................................................................................12
2.4.4 JP19, Interrupt Level Selection ................................................................................................13
2.4.5 INT SRC, Interrupt Source Selection........................................................................................13
2.4.6 CN1 Pin Assignment.................................................................................................................14
2.5 I/O REGISTER ADDRESS....................................................................................................................15
2.5.1 8254 Counter...........................................................................................................................15
2.5.2 Select 8254 chip 1/2/3/4 ..........................................................................................................16
2.5.3 Digital Input ............................................................................................................................16
2.5.4 Digital Output..........................................................................................................................17
2.5.5 Factory Setting ........................................................................................................................17
3. DEMO PROGRAMS......................................................................................................................18
3.1 USE DIGITAL OUTPUT .......................................................................................................................19
3.2 USE DIGITAL INPUT ..........................................................................................................................21
3.3 SQUARE WAVE GENERATOR ............................................................................................................23
3.4 DELAY ONE MS................................................................................................................................25
3.5 16 BITS EVENT COUNTER .................................................................................................................27
3.6 SOFTWARE EVENT COUNTER............................................................................................................29
3.7 WATCH DOG TIMER .........................................................................................................................31
3.8 PULSE WIDTH MEASUREMENT .........................................................................................................34
TMC-10 User’s Manual (Ver.1.4, Jun/2009, IMH-010-14) ----- 1