Skip to main content

Pinout

Note
  • This page lists the pinout of the FLY-C8P motherboard after flashing Klipper firmware. Pin numbers are based on the motherboard schematic.
  • UART/CS is the driver communication pin: used as UART with TMC2209, used as chip select CS with SPI drivers such as TMC5160. The same pin is multiplexed.
  • EN is the enable pin. In Klipper configuration, it is usually active low (with ! prefix in enable_pin).
  • DIAG is the driver diagnostic signal pin. When using sensorless homing, configure the corresponding diag_pin according to the table below.
Loading...

Driver Pins

The FLY-C8P provides 8 driver ports:

DriverSTEPDIRENUART/CSDIAG
DRIVER0PE5PA8PA15PC9PD9
DRIVER1PE4PC11PC12PC10PD8
DRIVER2PE3PD1PD2PD0PD11
DRIVER3PE2PD4PD5PD3PD10
DRIVER4PE1PD7PB6PD6PA5
DRIVER5PE0PC13PC14PB7PA4
DRIVER6PE7PE11PE10PC15-
DRIVER7PE8PA7PA6PE9-
Power Off Before Operation

Before starting, completely turn off the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, arrange interface wiring, or touch terminals while the power is on.

DIAG and Sensorless Homing

In the table, rows where the corresponding driver's DIAG is not - indicate that the driver's DIAG pin is connected to the corresponding input port on the main controller. When enabling sensorless homing, configure diag_pin directly according to the table. The corresponding input port will be occupied by the DIAG signal; do not connect mechanical or optical endstops simultaneously. DRIVER6 / DRIVER7 do not have corresponding DIAG input ports listed in the table.

SPI Bus

SPI drivers such as the TMC5160 use the motherboard's hardware SPI bus. Simply configure spi_bus: spi1a in the configuration; there is no need to separately configure the MOSI/MISO/SCLK pins:

[tmc5160 stepper_x]
spi_bus: spi1a
cs_pin: Corresponding driver's UART/CS pin

Detailed explanation of software SPI and SPI speed, etc.: SPI Configuration Method

Endstops and Probe

FunctionPinCorresponding Driver DIAG
Endstop Port 0 / IO0PD9DRIVER0
Endstop Port 1 / IO1PD8DRIVER1
Endstop Port 2 / IO2PD11DRIVER2
Endstop Port 3 / IO3PD10DRIVER3
Endstop Port 4 / IO4PA5DRIVER4
Endstop Port 5 / IO5PA4DRIVER5
ProbePC0-

Heating

FunctionPin
Heated BedPB0
Heater Port 0PD12
Heater Port 1PD13
Heater Port 2PD14

Temperature Sensors

FunctionPin
Heated Bed ThermistorPC5
Thermistor Port 0PC2
Thermistor Port 1PC3
Thermistor Port 2PC4
Supported Thermistor Types

The thermistor ports support NTC thermistors (100K) by default. It is recommended to configure sensor_type as Generic 3950.

List of Klipper built-in sensor_type options that can be connected directly and their applicable scenarios: Thermistor Configuration Method

K-type thermocouples, PT100, etc., require additional conversion chips and cannot be connected directly to the thermistor ports.

Fans

FunctionPin
Fan Port 0PA0
Fan Port 1PA1
Fan Port 2PA2
Fan Port 3PC6
Fan Port 4PC7
Fan Port 5PC8

PWM

The FLY-C8P provides 3 PWM outputs, which can be used for servos, fan speed control, etc.:

PinRemark
PE6Servo / BLTouch control
PA3RGB / Neopixel
PD15RGB / Neopixel

BL-Touch

FunctionPin
Servo SignalPE6
Probe SignalPC0

RGB

FunctionPin
RGB0 / NeopixelPA3
RGB1 / NeopixelPD15
Loading...