Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Connection 12864 LCD whith ST7565 controller and MKS Robin Nano v1 #27630

Open
lobz2023 opened this issue Jan 9, 2025 · 0 comments
Open
Labels
T: Feature Request Features requested by users.

Comments

@lobz2023
Copy link

lobz2023 commented Jan 9, 2025

Is your feature request related to a problem? Please describe.

Need help to connect MKS Robin Nano v1 whith 12864 ST7565 LCD

Are you looking for hardware support?

No response

Describe the feature you want

Hello!
I need help. I have 12864 LCD module with st7565 controller and I`m tring to connect it to MKS Robin Nano v1.1.
I used free FSMC connector pins:
CS PE12
A0/RS PE10
RESET PE8
SPI2 SCK PB13
SPI2 MOSI PB15

SPI2 pins shared whith SPI flash chip onboard.

So, I added to Marlin\Configuration.h:

#define ELB_FULL_GRAPHIC_CONTROLLER

and to Marlin\src\pins\stm32f1\pins_MKS_ROBIN_NANO_common.h:

#define SPI_DEVICE 2 //DEFAULT

#if ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
//#define LCD_PINS_RS PB8
//#define LCD_PINS_EN PD2
//#define LCD_PINS_D4 PB12

  #define DOGLCD_CS                     PE12 
  #define DOGLCD_A0                     PE10
  #define LCD_RESET_PIN                 PE8
  #define LCD_BACKLIGHT_PIN             PD1   
  #define DOGLCD_SCK                    PB13
  #define DOGLCD_MOSI                   PB15

#endif

Marlin FW builds without errors, but LCD does not work. I checked the SCK(PB13) pin with a logic analyzer, and there is no signal. I tried commenting out #define DOGLCD_SCK and #define DOGLCD_MOSI, but also without success.

Additional context

No response

@lobz2023 lobz2023 added the T: Feature Request Features requested by users. label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: Feature Request Features requested by users.
Projects
None yet
Development

No branches or pull requests

1 participant