M5stickc plus2 and Tft_espi problem.
-
Hi
I was trying to compile esp32 marauder for m5stickc plus2 but I have problem with lcd. It stays black. Fw seems to work because cli works. I changed pins and driver for ST7789_2 in User_Setup.h for Plus2 and nothing. For esp32 marauder you have to use old tft_espi lib (2.3.70) to proper compilation process. Maybe someone used tft_espi lib with plus2? There is compiled fw for plus (not plus2). So I suppose for Plus2 it is possible too. -
-
@felmue said in M5stickc plus2 and Tft_espi problem.:
Hello @Kazik
the LCD backlight is probably missing. It's controlled via GPIO27 driving VLED. See schematic. Also in the GFX library GPIO27 is setup as PWM backlight. See here.
Thanks
FelixThank You very much it helped. But now i must be connected over usb to show something on screen. Without usb screen blinks for sec and black. And navigation over menu is very poor
-
Hello @Kazik
please read the yellow note from the documentation.
After triggering the wake up signal, the hold(G4) pin needs to be set to a high level (1) in program initialization to maintain the power supply, otherwise the device will enter the shutdown state again.
Thanks
Felix -
@felmue said in M5stickc plus2 and Tft_espi problem.:
Hello @Kazik
please read the yellow note from the documentation.
After triggering the wake up signal, the hold(G4) pin needs to be set to a high level (1) in program initialization to maintain the power supply, otherwise the device will enter the shutdown state again.
Thanks
FelixI dont know where to put this in marauder code. I need advice. I managed to compile the code to work on plus 2. only works if the usb cable is connected. Marauder code is very problematic for M5Stickc.
-
-
@felmue just simple like this?
// Set digital pin 4 (GPIO4) to high state
pinMode(4, OUTPUT);
digitalWrite(4, HIGH); -
-
@felmue
Nothing changed :( i have no clue what is wrong.
EDIT Now its working Thank You very much -
@felmue hellol could you tell me is pins to connect sd card module to plus2 are the same as plus?
3V3 > 3V3
CS > GND
MOSI > G26
CLK > G0
MISO > G36
GND > GND.
Of course I must change pins in source code. -
-
@felmue So I source code I must change CS pin to LOW? To match for GND?
-