Hallo David,
maybe you could help me again
I received the new displays with the ST7789V controller a few days ago.
With the help of a test board, I wired it to the Arduino Due. For testing I wired a test board for the old display with ILI9341 controller parallel to it. The old display is still working, so I am pretty sure, that my wiring is correct.
I think I have a software problem, as the new displays does not show anything.
I modified the init sequence of Marek's lib, but still no luck.
Currently I am using this as init sequence.
#define ILI9341_MADCTL 0x36
#define ILI9341_PWCTR1 0xC0
#define ILI9341_PWCTR3 0xC2
#define ILI9341_PWCTR4 0xC3
#define ILI9341_GMCTRP1 0xE0
#define ILI9341_GMCTRN1 0xE1
static const uint8_t init_commands[] PROGMEM = {
2, ILI9341_MADCTL, 0x00, // memory access control
6, 0xB2, 0x0C, 0x0C, 0x00, 0x33, 0x33, // porch settings
2, 0xB7, 0x72, // Gate control, VGH,VGL
2, 0xBB, 0x3A, // VCOM
2, ILI9341_PWCTR1, 0x2C, // power control, VRH[5:0]
2, ILI9341_PWCTR3, 0x01, // power control, SAP[2:0];BT[3:0]
2, ILI9341_PWCTR4, 0x14, // VAP
2, ILI9341_PWCTR5, 0x20,
2, 0xC6, 0x0F, // 60hz 0A
3, 0xD0, 0xA4, 0xA1, // AVDD VCL
15, ILI9341_GMCTRP1, 0xD0, 0x07, 0x0D, 0x09, 0x08, 0x25, 0x28, 0x53, 0x39, 0x12, 0x0B, 0x0A, 0x17, 0x34, // set gamma
14, ILI9341_GMCTRN1, 0xD0, 0x07, 0x0D, 0x09, 0x09, 0x25, 0x29, 0x35, 0x39, 0x13, 0x0A, 0x0A, 0x16, 0x34, // set gamma
1, 0x21,
2, 0x3A, 0x05,
5, 0x2A, 0x00, 0x00, 0x00, 0xEF,
5, 0x2B, 0x00, 0x00, 0x01, 0x3F,
1, 0x2C,
0
};
I also tried the init sequence from you mcufriend_kbv library.
But no matter what I am doing, the result is still the same: the display stays black.
I also used the Adafruit library, but again no luck.
Do you have any idea, why it could not work?
I know it's quite hard for you, to make a diagnosis without having the hardware in front of you. But I am quite stuck, maybe you have a few fresh ideas.
Thanks
EDIT:
Attached the data sheet of the display.
KD024QVRMA038 SPEC V1.0.pdf (1.62 MB)