Design for a PC/104 interface bus expansion

busiottl

Can someone tell my why this won't work or tell me a better way to do it? I have a TS-5500 from Technologic Systems that has a PC/104 bus which I am building a card to expand the IO ports. Pin B19 on the PC/104 bus decodes IO addresses 0x140->0x15f. I'm also using address 0x148 to latch the inputs at the 374's into the chips so I will have to read that IO address before I read any/all of the IO ports 0x140->0x143. The outputs will have 10K pull-up resistors and be protected by 5v diodes.
enter image description here

Best Answer

B19 on the PC104 does no such thing. It is RFSH*, and is used as part of a refresh cycle for dynamic RAM. You need a decoder for A4 - A7 to do what you want.

A 373 will do exactly the opposite of what you want, since it accepts data when LEN is high, and 138 outputs are active low. Use 374s instead.

EDIT - And, of course, I forgot that the ISA bus uses 10-bit IO addressing, which was then carried over to PC104, so a decoder (not needed as long as you stick with this board) will need to operate on A4 - A9.