Pin Mapping
- This page lists the pin mapping of the FLY-Pro X10 mainboard after flashing Klipper firmware. Pin numbers are based on the mainboard schematic.
UART/CSis the driver communication pin: used as UART with TMC2209, and as chip selectCSwhen using SPI drivers such as TMC5160. The same pin is shared for both functions.ENis the enable pin. In Klipper configuration, it is typically active low (with!prefix inenable_pin).DIAGis the driver diagnostic signal pin. When using sensorless homing, configure the correspondingdiag_pinaccording to the table below.
Driver Pins
The FLY-Pro X10 provides 10 driver ports:
| Driver | STEP | DIR | EN | UART/CS | DIAG |
|---|---|---|---|---|---|
| DRIVER0 | PE7 | PG11 | PG10 | PG12 | PG8 |
| DRIVER1 | PE8 | PE14 | PE13 | PE15 | PG7 |
| DRIVER2 | PE9 | PG1 | PG0 | PE12 | PG6 |
| DRIVER3 | PE10 | PF14 | PF13 | PF15 | PG5 |
| DRIVER4 | PE11 | PF11 | PB2 | PF12 | PG4 |
| DRIVER5 | PE2 | PF10 | PC0 | PF5 | PG3 |
| DRIVER6 | PE3 | PF2 | PF4 | PF1 | PG2 |
| DRIVER7 | PE4 | PC15 | PF0 | PC14 | PB1 |
| DRIVER8 | PE1 | PB7 | PC13 | PB6 | PF9 |
| DRIVER9 | PE0 | PG14 | PG15 | PG13 | PC6 |
Before starting, completely shut down the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, rearrange interface wiring, or touch terminals while the device is powered on.
In the table, rows where the corresponding driver's DIAG is not - indicate that the driver's DIAG signal is already connected to the corresponding input port on the mainboard. When enabling sensorless homing, configure diag_pin directly according to the table. The corresponding input port will be occupied by the DIAG signal, so do not connect mechanical or optical endstop switches to it simultaneously. PWM-OUT / General Output and Servo Signal / BLTouch Control are output ports by nature. They can only be used as DIAG signal references for the corresponding driver when indicated in the table.
SPI Bus
SPI drivers such as the TMC5160 use the mainboard's hardware SPI bus. Configure spi_bus: spi1a in the configuration. There is no need to configure MOSI/MISO/SCLK pins separately:
[tmc5160 stepper_x]
spi_bus: spi1a
cs_pin: corresponding driver's UART/CS pin
Detailed information on software SPI and SPI speed: SPI Configuration Method
Endstops and Probe
| Function | Pin | Corresponding Driver DIAG |
|---|---|---|
| Endstop Port 0 / IO0 | PG8 | DRIVER0 |
| Endstop Port 1 / IO1 | PG7 | DRIVER1 |
| Endstop Port 2 / IO2 | PG6 | DRIVER2 |
| Endstop Port 3 / IO3 | PG5 | DRIVER3 |
| Endstop Port 4 / IO4 | PG4 | DRIVER4 |
| Endstop Port 5 / IO5 | PG3 | DRIVER5 |
| Endstop Port 6 / IO6 | PG2 | DRIVER6 |
| HV-IN / General Input | PB1 | DRIVER7 |
| PWM-OUT / General Output | PF9 | DRIVER8 |
| Servo Signal / BLTouch Control | PC6 | DRIVER9 |
| Probe | PC3 | - |
The servo signal port is an output port by nature and cannot be used as a signal input. This product allows direct use of the corresponding DIAG pin number from the driver table for sensorless homing only because the port is internally connected directly to the driver's DIAG pin.
Heaters
| Function | Pin |
|---|---|
| Heated Bed | PC7 |
| Heater Port 0 | PF8 |
| Heater Port 1 | PF7 |
| Heater Port 2 | PF6 |
| Heater Port 3 | PE6 |
| Heater Port 4 | PE5 |
Temperature Sensors
| Function | Pin |
|---|---|
| Heated Bed Thermistor | PF3 |
| Thermistor Port 0 | PC5 |
| Thermistor Port 1 | PC4 |
| Thermistor Port 2 | PA4 |
| Thermistor Port 3 | PB0 |
| Thermistor Port 4 | PC1 |
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_typeoptions that can be directly connected 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
| Function | Pin |
|---|---|
| Fan Port 0 | PA0 |
| Fan Port 1 | PA1 |
| Fan Port 2 | PA2 |
| Fan Port 3 | PA3 |
| Fan Port 4 | PA15 |
| Fan Port 5 | PB10 |
Multi-function Fan Ports
FAN6 and FAN7 are multi-function fan ports that support PWM speed control, tachometer feedback, and servo mode:
| Function | PWM Output | Tachometer Feedback |
|---|---|---|
| Fan Port 6 | PB11 | PD14 |
| Fan Port 7 | PD12 | PD15 |
PWM
The FLY-Pro X10 provides 4 PWM output channels, which can be used for servos, fan speed control, etc.:
| Pin | Remarks |
|---|---|
| PF9 | IN / PWM_OUT |
| PC6 | Servo / BLTouch Control |
| PB11 | FAN6 |
| PD12 | FAN7 |
BL-Touch
| Function | Pin |
|---|---|
| Servo Signal | PC6 |
| Probe Signal | PC3 |