Category: Turning
To use mesaflash to discover sserial devices, you would:
sudo mesaflash --device 5i25 --sserial
if you don't know the possible mesaflash commands,
mesaflash --help
From the hostmot2 manual page:
sserial_port_N (N = 0 .. 3) [optional, default: 00000000 for all
ports]
Up to 32 Smart Serial devices can be connected to a Mesa
Anything I/O board, depending on the firmware used and the
number of physical connections on the board. These are arranged
in 1-4 ports (N) of 1 to 8 channels. Some Smart Serial (SSLBP)
cards offer more than one load-time configuration, for example
all inputs, or all outputs, or offering additional analogue
input on some digital pins. To set the modes for port 0 use for
example sserial_port_0=0120xxxx. A "0" in the string sets the
corresponding channel to mode 0, a "1" to mode 1, and so on up
to mode 9. An "x" in any position disables that channel and
makes the corresponding FPGA pins available as GPIO. The string
can be up to 8 characters long, and if it defines more modes
than there are channels on the port then the extras are
ignored. Channel numbering is left to right so the example
above would set sserial device 0.0 to mode 0, 0.1 to mode 1,
0.2 to mode 2, 0.3 to mode 0 and disables channels 0.4 onwards.