TS-7970 Terminal Blocks
The TS-7970 includes two removable terminal blocks (OSTTJ0811030) for power, UARTs, CAN, and other general purpose IO.
|
|
DIO Usage
The DIO_1 and DIO_2 IO can be outputs, or inputs. As inputs the digital threshold is 1.2V. To guarantee low it must be < 0.5V, or for high > 2.0V. When the IO is low the external device needs to sink up to 3.5mA. When the IO is high the external device needs to source 10 uA max. There is an internal 1.5k pullup to 5V that will bias the input high. As outputs these IO can sink up to 500mA.
EN_DIO_1 and EN_DIO_2 outputs are controlled through FPGA DIO 249 and 250 respectively. See the #GPIO section for more information. If these pins are specified as low or in, then they are readable on FPGA reg 56 bits 7:6.
DIO_1 and DIO_2 are accessed through FPGA registers.
tshwctl --addr 56 --peek
# read "addr56" into bash variable
eval $(tshwctl --addr 56 --peek)
# Read bit 7 for DIO1
echo $(($addr56 >> 7))
# Read bit 6 for DIO2
echo $((($addr56 >> 6) & 0x1))