The pin names of the BTT Kraken in the firmware

BTT Kraken Pinout Diagram

BTT Kraken
BTT Kraken Pinout

BTT Kraken Driver Pins in Firmware

Driver pin numbers. They are separated into driver number.

Pin Type 0 1 2 3 4 5 6 7
Enable Pins PE_6 PE_3 PE_0 PB_7 PG_13 PG_12 PB_5 PG_14
Step Pins PC_14 PE_5 PE_2 PB_9 PG_9 PG_11 PB_4 PG_15
Direction Pins PC_13 PE_4 PE_1 PB_8 PG_10 PD_7 PB_3 PB_6
UART Pins PD_6 PD_5 PD_4 PD_3 PD_2 PA_15 PA_9 PA_10

BTT Kraken 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 Pin Name(s) PWM Timer (up to 3.6) PWM Timer (from 3.7)
PA_0 fan0 Timer 2 Timer 2
PA_1 fan1 Timer 2 Timer 2
PA_2 fan2 Timer 15 Timer 15
PA_3 fan3 Timer 2 Timer 5
PA_4 fan4    
PA_5 fan5 Timer 2 Timer 2
PA_6 fan6 Timer 13 Timer 13
PA_7 e3temp Timer 14 Timer 14
PB_0 bedtemp Timer 3 Timer 8
PB_1 e0temp Timer 3 Timer 8
PB_10 scl2 Timer 2 Timer 2
PB_11 sda2 Timer 2 Timer 2
PC_0 e4stop    
PC_1 fan6.tacho    
PC_2 adc1    
PC_3 adc2    
PC_4 e2temp    
PC_5 e1temp    
PC_15 xstop    
PD_10 pson    
PD_11 inddet    
PD_12 lcdd7 Timer 4 Timer 4
PD_13 lcdd6 Timer 4 Timer 4
PD_14 lcdd5 Timer 4 Timer 4
PD_15 lcdd4 Timer 4 Timer 4
PE_7 servo1    
PE_8 fan7    
PE_9 servo0    
PE_11 lcdss    
PE_12 lcdsck    
PE_13 lcdmiso    
PE_14 lcdmosi    
PF_0 ystop    
PF_1 zstop    
PF_2 e0stop    
PF_3 e1stop    
PF_4 e2stop    
PF_5 bed    
PF_6 e0heat Timer 16 Timer 16
PF_7 e1heat Timer 17 Timer 17
PF_8 e3heat Timer 13 Timer 13
PF_9 e2heat Timer 14 Timer 14
PF_10 e3stop    
PF_11 neopixel1    
PF_12 neopixel    
PG_0 fan7.tacho    
PG_1 probe    
PG_2 lcdrs    
PG_3 lcden    
PG_4 btnenc    
PG_5 beep    
PG_6 lcdcd    
PG_7 btnen2    
PG_8 btnen1    

BTT Kraken 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 Use
0 NoPin NoPin NoPin Hardware None
1 PB_13 PB_14 PB_15 Hardware SD Card
2 PC_10 PC_11 PC_12 Hardware MAX 31865
3 PC_6 PC_7 PC_8 Software Drivers
4 NoPin NoPin NoPin Software None
5 PD_13 PD_15 PD_12 Software None
6 PE_12 PE_13 PE_14 Hardware WiFi, SBC SPI
7 NoPin NoPin NoPin Hardware None
8 NoPin NoPin NoPin Hardware None
Tags: