Servosila-SC-25-Datasheet

GPIO input/output
Available GPIO pins
The SC25 controllers do not have dedicated GPIO pins or connectors. However, unused pins in ENCODERS
connector or Hall Sensors connector (D HALL) can be re-purposed to perform input-output functions. Thus, a
different selection of free pins is available for performing GPIO functions depending on what encoder interface is
used and on whether or not a motor comes with Hall sensors.
Use the following tables to determine which pins are available for GPIO purposes, and what GPIO numbers
correspond to particular pins.
Note:
The GPIO numbers listed in the tables below are needed when configuring GPIO functions such as limit
switches, emergency stop, or generic input/output functions in Servoscope software.
If a GPIO pin is used as an output pin, an external resistor should be added into the circuit. The tables below
provide nominal values for the resistors. Refer to a schematics diagram below.
Pin in ENCODERS
connector Direction Primary purpose
GPIO
number
External resistor
if used as GPIO output
8 output only SSI Clock+ GPIO14 3.3kOhm
10 input only SSI Data+ GPIO13 2kOhm
5 output, input SPI MISO or Quadrature A GPIO17 2kOhm
7 output, input SPI CLK or Quadrature B GPIO18 2kOhm
9 output, input SPI CS or Quadrature I or PWM input GPIO19 2kOhm
11 output, input SPI SIMO GPIO16 2kOhm
Pin in D HALLS
connector Direction Primary purpose
GPIO
number
External resistor
if used as GPIO output
3 output, input Hall 0 GPIO11 2kOhm
4 output, input Hall 1 GPIO7 2kOhm
5 output, input Hall 2 GPIO9 2kOhm
15 www.servosila.com