@ -129,21 +129,21 @@
* EXP1 EXP1
*/
# ifdef SKR_MINI_E3_V2
# define EXP1_9 PA15
# define EXP1_3 PB15
# define EXP1_02_PIN PA15
# define EXP1_08_PIN PB15
# else
# define EXP1_9 PB6
# define EXP1_3 PB7
# define EXP1_02_PIN PB6
# define EXP1_08_PIN PB7
# endif
# if HAS_DWIN_E3V2 || IS_DWIN_MARLINUI
/**
* - - - - - - - - - - - - - - - - - -
* ( ENT ) | 1 2 | ( BEEP ) | 1 2 | | 1 2 |
* ( RX ) | 3 4 | ( RX ) | 3 4 | ( TX ) RX | 3 4 | TX
* ( TX ) 5 6 | ( ENT ) 5 6 | ( BEEP ) ENT | 5 6 | BEEP
* ( B ) | 7 8 | ( A ) ( B ) | 7 8 | ( A ) B | 7 8 | A
* GND | 9 10 | ( VCC ) GND | 9 10 | VCC GND | 9 10 | VCC
* ( ENT ) | 1 2 | ( BEEP ) | 10 9 | | 10 9 |
* ( RX ) | 3 4 | ( RX ) | 8 7 | ( TX ) RX | 8 7 | TX
* ( TX ) 5 6 | ( ENT ) 6 5 | ( BEEP ) ENT | 6 5 | BEEP
* ( B ) | 7 8 | ( A ) ( B ) | 4 3 | ( A ) B | 4 3 | A
* GND | 9 10 | ( VCC ) GND | 2 1 | VCC GND | 2 1 | VCC
* - - - - - - - - - - - - - - - - - -
* EXP1 DWIN DWIN ( plug )
*
@ -154,8 +154,8 @@
# error "CAUTION! Ender-3 V2 display requires a custom cable. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
# endif
# define BEEPER_PIN EXP1_9
# define BTN_EN1 EXP1_3
# define BEEPER_PIN EXP1_02_PIN
# define BTN_EN1 EXP1_08_PIN
# define BTN_EN2 PB8
# define BTN_ENC PB5
@ -164,13 +164,13 @@
# if ENABLED(CR10_STOCKDISPLAY)
# define BEEPER_PIN PB5
# define BTN_ENC EXP1_9
# define BTN_ENC EXP1_02_PIN
# define BTN_EN1 PA9
# define BTN_EN2 PA10
# define LCD_PINS_RS PB8
# define LCD_PINS_ENABLE EXP1_3
# define LCD_PINS_ENABLE EXP1_08_PIN
# define LCD_PINS_D4 PB9
# elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
@ -180,7 +180,7 @@
# endif
# define LCD_PINS_RS PB9
# define LCD_PINS_ENABLE EXP1_9
# define LCD_PINS_ENABLE EXP1_02_PIN
# define LCD_PINS_D4 PB8
# define LCD_PINS_D5 PA10
# define LCD_PINS_D6 PA9
@ -189,14 +189,14 @@
# elif EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
# define BTN_ENC EXP1_9
# define BTN_ENC EXP1_02_PIN
# define BTN_EN1 PA9
# define BTN_EN2 PA10
# define DOGLCD_CS PB8
# define DOGLCD_A0 PB9
# define DOGLCD_SCK PB5
# define DOGLCD_MOSI EXP1_3
# define DOGLCD_MOSI EXP1_08_PIN
# define FORCE_SOFT_SPI
# define LCD_BACKLIGHT_PIN -1
@ -214,28 +214,28 @@
*
* Board Display
* - - - - - - - - - - - -
* ( SD_DET ) PB5 | 1 2 | PB6 ( BEEPER ) 5 V | 1 2 | GND
* ( MOD_RESET ) PA9 | 3 4 | RESET - - | 3 4 | ( SD_DET )
* ( SD_CS ) PA10 5 6 | PB9 ( MOSI ) | 5 6 | - -
* ( LCD_CS ) PB8 | 7 8 | PB7 ( SD_CS ) | 7 8 | ( LCD_CS )
* GND | 9 10 | 5 V ( SCK ) | 9 10 | ( MISO )
* ( SD_DET ) PB5 | 1 2 | PB6 ( BEEPER ) 5 V | 10 9 | GND
* ( MOD_RESET ) PA9 | 3 4 | RESET - - | 8 7 | ( SD_DET )
* ( SD_CS ) PA10 5 6 | PB9 ( MOSI ) | 6 5 | - -
* ( LCD_CS ) PB8 | 7 8 | PB7 ( SD_CS ) | 4 3 | ( LCD_CS )
* GND | 9 10 | 5 V ( SCK ) | 2 1 | ( MISO )
* - - - - - - - - - - - -
* EXP1 EXP1
*
* Needs custom cable :
*
* Board Display
*
* EXP1 - 1 - - - - - - - - - - - EXP1 - 10
* EXP1 - 2 - - - - - - - - - - - EXP1 - 9
* SPI1 - 4 - - - - - - - - - - - EXP1 - 6
* EXP1 - 4 - - - - - - - - - - - FREE
* SPI1 - 3 - - - - - - - - - - - EXP1 - 2
* EXP1 - 6 - - - - - - - - - - - EXP1 - 4
* EXP1 - 7 - - - - - - - - - - - FREE
* EXP1 - 8 - - - - - - - - - - - EXP1 - 3
* SPI1 - 1 - - - - - - - - - - - EXP1 - 1
* EXP1 - 10 - - - - - - - - - - - EXP1 - 7
* Board Adapter Display
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* EXP1 - 10 - - - - - - - - - - EXP1 - 10 5 V
* EXP1 - 9 - - - - - - - - - - - EXP1 - 9 GND
* SPI1 - 4 - - - - - - - - - - - EXP1 - 6 MOSI
* EXP1 - 7 - - - - - - - - - - - n / c
* SPI1 - 3 - - - - - - - - - - - EXP1 - 2 SCK
* EXP1 - 5 - - - - - - - - - - - EXP1 - 4 SD_CS
* EXP1 - 4 - - - - - - - - - - - n / c
* EXP1 - 3 - - - - - - - - - - - EXP1 - 3 LCD_CS
* SPI1 - 1 - - - - - - - - - - - EXP1 - 1 MISO
* EXP1 - 1 - - - - - - - - - - - EXP1 - 7 SD_DET
*/
# define TFTGLCD_CS PA9
@ -253,20 +253,20 @@
*
* Board Display
* - - - - - - - - - - - -
* PB5 | 1 2 | PA15 ( BEEP ) | 1 2 | BTN_ENC
* PA9 | 3 4 | RESET LCD_CS | 3 4 | LCD A0
* PA10 | 5 6 | PB9 LCD_RST | 5 6 | RED
* PB8 | 7 8 | PB15 ( GREEN ) | 7 8 | ( BLUE )
* GND | 9 10 | 5 V GND | 9 10 | 5 V
* PB5 | 1 2 | PA15 ( BEEP ) | 10 9 | BTN_ENC
* PA9 | 3 4 | RESET LCD_CS | 8 7 | LCD A0
* PA10 | 5 6 | PB9 LCD_RST | 6 5 | RED
* PB8 | 7 8 | PB15 ( GREEN ) | 4 3 | ( BLUE )
* GND | 9 10 | 5 V GND | 2 1 | 5 V
* - - - - - - - - - - - -
* EXP1 EXP1
*
* - - - - - - - - -
* RST | 1 | ( MISO ) | 1 2 | SCK
* ( RX2 ) PA2 | 2 | BTN_EN1 | 3 4 | ( SS )
* ( TX2 ) PA3 | 3 | BTN_EN2 | 5 6 | MOSI
* GND | 4 | ( CD ) | 7 8 | ( RST )
* 5 V | 5 | ( GND ) | 9 10 | ( KILL )
* RST | 1 | ( MISO ) | 10 9 | SCK
* ( RX2 ) PA2 | 2 | BTN_EN1 | 8 7 | ( SS )
* ( TX2 ) PA3 | 3 | BTN_EN2 | 6 5 | MOSI
* GND | 4 | ( CD ) | 4 3 | ( RST )
* 5 V | 5 | ( GND ) | 2 1 | ( KILL )
* - - - - - - - - -
* TFT EXP2
*
@ -274,18 +274,19 @@
*
* Board Display
*
* EXP1 - 1 - - - - - - - - - - - EXP1 - 1
* EXP1 - 2 - - - - - - - - - - - EXP1 - 2
* EXP1 - 3 - - - - - - - - - - - EXP2 - 6
* EXP1 - 4 - - - - - - - - - - - EXP1 - 5
* EXP1 - 5 - - - - - - - - - - - EXP2 - 8
* EXP1 - 6 - - - - - - - - - - - EXP1 - 6
* EXP1 - 8 - - - - - - - - - - - EXP1 - 8
* EXP1 - 9 - - - - - - - - - - - EXP1 - 9
* EXP1 - 10 - - - - - - - - - - - EXP1 - 7
* EXP1 - 10 - - - - - - - - - - EXP1 - 1 5 V
* EXP1 - 9 - - - - - - - - - - - EXP1 - 2 GND
* EXP1 - 8 - - - - - - - - - - - EXP2 - 6 EN2
* EXP1 - 7 - - - - - - - - - - - EXP1 - 5 RED
* EXP1 - 6 - - - - - - - - - - - EXP2 - 8 EN1
* EXP1 - 5 - - - - - - - - - - - EXP1 - 6 LCD_RST
* EXP1 - 4 - - - - - - - - - - - n / c
* EXP1 - 3 - - - - - - - - - - - EXP1 - 8 LCD_CS
* EXP1 - 2 - - - - - - - - - - - EXP1 - 9 ENC
* EXP1 - 1 - - - - - - - - - - - EXP1 - 7 LCD_A0
*
* TFT - 2 - - - - - - - - - - - EXP2 - 9
* TFT - 3 - - - - - - - - - - - EXP2 - 5
* TFT - 2 - - - - - - - - - - - EXP2 - 9 SCK
* TFT - 3 - - - - - - - - - - - EXP2 - 5 MOSI
*
* for backlight configuration see steps 2 ( V2 .1 ) and 3 in https : //wiki.fysetc.com/Mini12864_Panel/
*/
@ -325,33 +326,33 @@
*
* Board Display
* - - - - - - - - - - - -
* ( SD_DET ) PB5 | 1 2 | PB6 ( BEEPER ) 5 V | 1 2 | GND
* ( MOD_RESET ) PA9 | 3 4 | RESET ( RESET ) | 3 4 | ( SD_DET )
* ( SD_CS ) PA10 5 6 | PB9 ( MOSI ) | 5 6 | ( LCD_CS )
* ( LCD_CS ) PB8 | 7 8 | PB7 ( SD_CS ) | 7 8 | ( MOD_RESET )
* GND | 9 10 | 5 V ( SCK ) | 9 10 | ( MISO )
* ( SD_DET ) PB5 | 1 2 | PB6 ( BEEPER ) 5 V | 10 9 | GND
* ( MOD_RESET ) PA9 | 3 4 | RESET ( RESET ) | 8 7 | ( SD_DET )
* ( SD_CS ) PA10 5 6 | PB9 ( MOSI ) | 6 5 | ( LCD_CS )
* ( LCD_CS ) PB8 | 7 8 | PB7 ( SD_CS ) | 4 3 | ( MOD_RESET )
* GND | 9 10 | 5 V ( SCK ) | 2 1 | ( MISO )
* - - - - - - - - - - - -
* EXP1 EXP1
*
* Needs custom cable :
*
* Board Adapter Display
* _________
* EXP1 - 1 - - - - - - - - - - - EXP1 - 10
* EXP1 - 2 - - - - - - - - - - - EXP1 - 9
* SPI1 - 4 - - - - - - - - - - - EXP1 - 6
* EXP1 - 4 - - - - - - - - - - - EXP1 - 5
* SPI1 - 3 - - - - - - - - - - - EXP1 - 2
* EXP1 - 6 - - - - - - - - - - - EXP1 - 4
* EXP1 - 7 - - - - - - - - - - - EXP1 - 8
* EXP1 - 8 - - - - - - - - - - - EXP1 - 3
* SPI1 - 1 - - - - - - - - - - - EXP1 - 1
* EXP1 - 10 - - - - - - - - - - - EXP1 - 7
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* EXP1 - 10 - - - - - - - - - - EXP1 - 10 5 V
* EXP1 - 9 - - - - - - - - - - - EXP1 - 9 GND
* SPI1 - 4 - - - - - - - - - - - EXP1 - 6 MOSI
* EXP1 - 7 - - - - - - - - - - - EXP1 - 5 LCD_CS
* SPI1 - 3 - - - - - - - - - - - EXP1 - 2 SCK
* EXP1 - 5 - - - - - - - - - - - EXP1 - 4 SD_CS
* EXP1 - 4 - - - - - - - - - - - EXP1 - 8 RESET
* EXP1 - 3 - - - - - - - - - - - EXP1 - 3 MOD_RST
* SPI1 - 1 - - - - - - - - - - - EXP1 - 1 MISO
* EXP1 - 1 - - - - - - - - - - - EXP1 - 7 SD_DET
*/
# define CLCD_SPI_BUS 1 // SPI1 connector
# define CLCD_SPI_BUS 1 // SPI1 connector
# define BEEPER_PIN EXP1_9
# define BEEPER_PIN EXP1_02_PIN
# define CLCD_MOD_RESET PA9
# define CLCD_SPI_CS PB8
@ -375,7 +376,7 @@
# error "SD CUSTOM_CABLE is not compatible with SKR Mini E3."
# endif
# define ONBOARD_SPI_DEVICE 1 // SPI1 -> used only by HAL/STM32F1...
# define ONBOARD_SPI_DEVICE 1 // SPI1 -> used only by HAL/STM32F1...
# define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card
# define ENABLE_SPI1