
1-6
CLK1
CLK2
CLK0
ON-BOARD
I/O CONNECTOR
P6
PIN 17
PIN 13
PIN 15
8254
TIMER/
COUNTER
0
CLK
GATE
OUT
TIMER/
COUNTER
1
CLK
GATE
OUT
TIMER/
COUNTER
2
CLK
GATE
OUT
PIN 10
PIN 18
OSC(8 MHz)
P5
+5 V
+5 V
+5 V
PIN 11
PIN 12
PIN 14
PIN 16
T/C OUT 0
OT0
OT1
EXT CLK 0
T/C OUT 1
EXT CLK 1
EXT GATE 2
T/C OUT 2
EXT CLK 2
EXT GATE 0
EXT GATE 1
Fig. 1-6 — 8254 Timer/Counter Circuit Block Diagram
S1 — Base Address (Factory Setting: 300 hex (768 decimal))
One of the most common causes of failure when you are first trying your board is address contention. Some of
your computer’s I/O space is already occupied by internal I/O and other peripherals. When the DM5806 board
attempts to use I/O address locations already used by another device, contention results and the board does not work.
To avoid this problem, the DM5806 has an easily accessible DIP switch, S1, which lets you select any one of
32 starting addresses in the computer’s I/O. Should the factory setting of 300 hex (768 decimal) be unsuitable for
your system, you can select a different base address simply by setting the switches to any value shown in Table 1-2.
The table shows the switch settings and their corresponding decimal and hexadecimal (in parentheses) values. Make
sure that you verify the order of the switch numbers on the switch (1 through 5) before setting them. When the
switches are pulled forward, they are OPEN, or set to logic 1, as labeled on the DIP switch package. When you set
the base address for your board, record the value in the table inside the back cover. Figure 1-7 shows the DIP switch
set for a base address of 300 hex (768 decimal).
Fig. 1-7 — Base Address Switch, S1