TS-7250-V3 TS-DIO64: Difference between revisions

From embeddedTS Manuals
(Created page with "{{Infobox |title = TS-DIO64 |image = 300px |titlestyle = |headerstyle = background:#ccf; |labelstyle = width:33% |datastyle = |da...")
 
m (Links auto-updated for 2022 re-branding ( http://www.embeddedarm.com/products/board-detail.php?product=TS-DIO64 →‎ http://www.embeddedTS.com/products/board-detail.php?product=TS-DIO64 https://docs.embeddedarm.com/TS-DIO64 →‎ https://docs.embeddedTS.com/TS-DIO64))
 
Line 6: Line 6:
|labelstyle  = width:33%
|labelstyle  = width:33%
|datastyle    =  
|datastyle    =  
|data1        = [http://www.embeddedarm.com/products/board-detail.php?product=TS-DIO64 Product Page]
|data1        = [http://www.embeddedTS.com/products/board-detail.php?product=TS-DIO64 Product Page]
|header2      = 8-bit IO
|header2      = 8-bit IO
}}
}}
Line 13: Line 13:


Refer to the TS-DIO64 manual for register / hardware documentation:
Refer to the TS-DIO64 manual for register / hardware documentation:
* https://docs.embeddedarm.com/TS-DIO64
* https://docs.embeddedTS.com/TS-DIO64


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

Latest revision as of 17:08, 17 January 2022

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