TS-7250-V3 TS-DIO64

From embeddedTS Manuals
TS-DIO64
TS-DIO64.jpg
Product Page
8-bit IO

The TS-DIO64 provides 64 digital I/O points (32 inputs plus 32 open drain outputs) through two 34-pin locking connectors that are compatible with ribbon cables. The outputs are capable of sinking 200mA for pins 1-22, or 23-32 can sink up to 400mA. These sinking outputs support up to 40V.

Refer to the TS-DIO64 manual for register / hardware documentation:

The Digital inputs/outputs can be used from userspace without a driver.

This example assumes no jumpers are installed on the TS-DIO64.

# Verify the board is present.  Should return 0xA4
pc104_peekpoke io 8 0x100

# Enable the sink on pin 1, and all other outputs off
pc104_peekpoke io 8 0x104 0x1 # Pins 1-7
pc104_peekpoke io 8 0x105 0x0 # Pins 9-16
pc104_peekpoke io 8 0x106 0x0 # Pins 17-24
pc104_peekpoke io 8 0x107 0x0 # Pins 25-32

# Read IO
pc104_peekpoke io 8 0x108 # Pins 1-7
pc104_peekpoke io 8 0x109 # Pins 9-16
pc104_peekpoke io 8 0x10a # Pins 17-24
pc104_peekpoke io 8 0x10b # Pins 25-32