The pin names of the SKR v2.0 in the firmware

SKR v2.0 Pinout Diagram

SKR v2.0
SKR v2.0 Pinout

SKR v2.0 Driver Pins in Firmware

Driver pin numbers. They are separated into driver number.

Pin Type 0 1 2 3 4
Enable Pins E.3 D.6 D.1 C.7 D.13
Step Pins E.2 D.5 A.15 D.15 D.11
Direction Pins E.1 D.4 A.8 D.14 D.10
UART Pins E.0 D.3 D.0 C.6 D.12

SKR v2.0 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
A.0 e1stop e1det Timer 2
A.1 bedtemp tb Timer 2
A.13 LED    
A.14 MISO    
A.2 e0temp th0 Timer 2
A.3 e1temp th1 Timer 2
A.4 LCD_SS    
A.5 LCD_SCK   Timer 8
A.6 LCD_MISO   Timer 13
A.7 LCD_MOSI   Timer 14
A.9 TX1 tft-tx  
A.10 RX1 tft-rx  
B.0 BTN_ENC   Timer 3
B.1 LCD_EN   Timer 3
B.2 BTN_EN2    
B.3 e0heat heat0 Timer 2
B.4 e1heat heat1 Timer 3
B.5 fan2   Timer 3
B.6 fan1   Timer 4
B.7 fan0 fan Timer 4
B.8 SCL1   Timer 10
B.9 SDA1   Timer 11
C.0 zstop z-stop  
C.1 xstop x-stop  
C.13 SP    
C.15 PWRDET    
C.2 e0stop e0det  
C.3 ystop y-stop  
C.4 LCD_CD    
C.5 BEEP    
C.6 E0-CS   Timer 8
D.0 Z-CS    
D.3 Y-CS    
D.7 bed hbed  
D.12 E1-CS   Timer 4
E.0 X-CS    
E.10 LCD_D4    
E.11 LCD_D5    
E.12 LCD_D6    
E.13 LCD_D7    
E.14 MOSI    
E.15 SCK    
E.4 probe    
E.5 servo0   Timer 9
E.6 Neopixel   Timer 9
E.7 BTN_EN1    
E.8 PSON    
E.9 LCD_RS    
Tags: