The pin names of the Fly-E3-Pro in the firmware

Fly-E3-Pro Pinout Diagram

Fly-E3-Pro
Fly-E3-Pro Pinout

Fly-E3-Pro Driver Pins in Firmware

Driver pin numbers. They are separated into driver number.

Pin Type 0 (X) 1 (Y) 2 (Z) 3 (E0) 4 (E1)
Enable Pins PE_5 PE_1 PB_5 PD_6 PC_15
Step Pins PE_3 PB_9 PB_3 PD_4 PC_13
Direction Pins PE_2 PB_8 PD_7 PD_3 PC_0
UART Pins PE_4 PE_0 PB_4 PD_5 PC_14

Fly-E3-Pro Other Pins in Firmware

If more than one pin name is availble, either name can be used in the firmware (config.g).
If the pins aren’t in the table (due to not having a special name), then the pin itself can be used in the form of PA0, PA.0, PA_0, A0, A.0 or A_0.

Pin Number Pin Name 1 Pin Name 2 PWM Hardware Timer
PA_0 bed hbed Timer 2
PA_1 e1temp t1 Timer 2
PA_10 RX1    
PA_2 xmin xstop Timer 2
PA_3 bedtemp tb Timer 2
PA_4 e0temp t0  
PA_5 e0heat he0 Timer 8
PA_6 fan1   Timer 13
PA_7 fan0 fan Timer 14
PA_8 LED    
PA_9 TX1    
PB_0 servo0   Timer 3
PB_1 LCD_D7   Timer 3
PB_10 ymin ystop Timer 2
PB_11 neopixel   Timer 2
PB_6 fan2   Timer 4
PB_7 fan3   Timer 4
PC_1 boardtemp tboard  
PC_10 SDD2    
PC_11 SDD3    
PC_12 SDSCK    
PC_3 Power_ADC    
PC_4 zmin zstop  
PC_5 probe    
PC_6 e1heat he1 Timer 8
PC_8 SDD0   Timer 8
PC_9 SDD1   Timer 8
PD_0 e0min e0stop  
PD_1 e1min e1stop  
PD_10 pwr PWRDET  
PD_11 PSON    
PD_2 SDCMD    
PE_10 LCD_EN    
PE_11 BTN_ENC    
PE_12 BEEP    
PE_6 laser   Timer 9
PE_7 LCD_D6    
PE_8 LCD_D5    
PE_9 LCD_D4    

Configured SPI connections

The below SPI channels are preconfigured in the firmware.
Where NoPin is present, then that pin is not configured by default.

SPI Channel CLK MISO MOSI Hardware or Software
0 PA_5 PA_6 PA_7 Hardware
1 PB_13 PB_14 PB_15 Hardware
2 NoPin NoPin NoPin Hardware
3 PC_2 PC_0 PC_1 Software
4 PE_8 NoPin PB_1 Software
5 PD_6 PD_4 PD_5 Software
Tags: