Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2868

12864 LCD whith ST7565 controller and MKS Robin Nano v1 (no replies)

$
0
0
Hello!
I need help. I have LCD module with st7565 controller and I`m tring to connect it to MKS Robin Nano v1.1.
I used 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.

Viewing all articles
Browse latest Browse all 2868

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>