# Connectors and pinout

![The connectors. The motor coils go to A+, A−, B+, B−; the supply to DC+ and DC−.](https://docs.source-robotics.com/STEPFOC-docs/108/assets/STEPFOC_CONN.webp){ width="900" }

| Connector | Pins | Type | Cable |
|---|---|---|---|
| Motor | A+, A−, B+, B− | solder pads | the motor's own leads, see [Wiring the stepper](https://docs.source-robotics.com/STEPFOC-docs/108/04-mounting/wiring/) |
| Power, two of them | DC+, DC− | JST XH, 2 pins | [Power cable](https://source-robotics.com/products/spectral-micro-power-cable); the second connector feeds the next driver |
| CAN, two of them | CAN L, CAN H | JST ZH, 2 pins | [CAN cable](https://source-robotics.com/products/spectral-micro-can-cable); the second connector feeds the next driver |
| UART | 3.3 V, TX, RX, GND | JST SH, 4 pins | [UART cable](https://source-robotics.com/products/uart-cable) |
| Thermistor | NTC, NTC | JST SH, 2 pins | the 100 kΩ NTC from the shop or any 100 kΩ NTC |
| JTAG | 3.3 V, GND, SWCLK, SWDIO | pads, 1.27 mm pitch | [Programming adapter](https://source-robotics.com/products/jtag-programming-adapter-1-27-pitch), pressed onto the pads; the order is marked in [Installing the bootloader](https://docs.source-robotics.com/STEPFOC-docs/108/07-firmware/bootloader/) |
| ADDITIONAL2 | signal, GND | pads | your sensor; the HALL homing mode reads this pin |
| STEP / DIR | STEP, DIR, GND, 24 V | header | hardware only: the firmware does not support a step/dir interface |

!!! danger "Polarity and orientation"
    DC+ to the positive supply, DC− to the negative; a cable the wrong way round destroys the driver. The daisy-chain
    cables have an orientation too: see [Power and the CAN daisy chain](https://docs.source-robotics.com/STEPFOC-docs/108/04-mounting/power-and-can/).

!!! note
    - UART is TX to RX and RX to TX between the driver and the adapter.
    - The UART port and the ADDITIONAL2 pin are 3.3 V. 5 V on either destroys the board.
    - The thermistor pin has a 54.9 kΩ pull-down; the firmware's temperature table is for a 100 kΩ NTC.
    - The CAN termination switch is next to the CAN connectors; **ON** connects the 120 Ω resistor.
