Hello,
I bought this display: https://www.aliexpress.com/item/1005001288389898.html?spm=a2g0o.9042311.0.0.27424c4d1xBeo9
At first I had a lot of issues with initializing (inverted colors, vibrating/flickering picture). Now these are almost solved (some minor flickering on some complex colors, not sure about gamma, so on).
Now the biggest concern is flipped/mirrored text when in portrait mode... and cut/broken text when in landscape mode but turned 180 degree. Actually when text is flipped it is also cut/broken. As test I use popular graphicstest example with Adafruit_TFTLCD and Adafruit_GFX libraries.
The similar test example from MCUFRIEND_kbd with it's own libraries show correct picture, no flipping (althought inverse colors, but this is't an issue anymore).
There isn't any effect from any manipulations with register 0x36h.
I copied complete well working registry settings from MCUFRIEND to Adafruit_TFTLCD and... text is still flipped and cut/broken as before, nothing changed there. Copied vice versa and... MCUFRIEND runs good with my/Adafruit_TFTLCD registry settings.
If register settings change nothing where there reason hiddens?!
Here is my result from LCD_ID_readreg:
Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)
reg(0x0000) 01 01 ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 01 01 01 01 Manufacturer ID
reg(0x0009) 01 01 01 01 01 Status Register
reg(0x000A) 01 09 Get Powsr Mode
reg(0x000C) 01 65 Get Pixel Format
reg(0x0061) 01 01 RDID1 HX8347-G
reg(0x0062) 01 01 RDID2 HX8347-G
reg(0x0063) 01 01 RDID3 HX8347-G
reg(0x0064) 01 01 RDID1 HX8347-A
reg(0x0065) 01 01 RDID2 HX8347-A
reg(0x0066) 01 01 RDID3 HX8347-A
reg(0x0067) 01 01 RDID Himax HX8347-A
reg(0x0070) 01 01 Panel Himax HX8347-A
reg(0x00A1) 01 01 01 01 01 RD_DDB SSD1963
reg(0x00B0) 01 01 RGB Interface Signal Control
reg(0x00B4) 01 01 Inversion Control
reg(0x00B6) 01 01 01 01 01 Display Control
reg(0x00B7) 01 01 Entry Mode Set
reg(0x00BF) 01 01 05 95 81 FD ILI9481, HX8357-B
reg(0x00C0) 01 11 39 01 01 11 01 01 01 Panel Control
reg(0x00C8) 01 01 01 01 01 01 01 01 01 01 01 01 01 GAMMA
reg(0x00CC) 01 01 Panel Control
reg(0x00D0) 01 01 41 Power Control
reg(0x00D2) 01 01 21 01 01 NVM Read
reg(0x00D3) 01 01 21 01 ILI9341, ILI9488
reg(0x00DA) 01 01 RDID1
reg(0x00DB) 01 01 RDID2
reg(0x00DC) 01 01 RDID3
reg(0x00E0) 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 GAMMA-P
reg(0x00E1) 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 GAMMA-N
reg(0x00EF) 01 01 01 01 01 01 ILI9327
reg(0x00F2) 01 01 31 01 01 01 01 01 01 01 01 01 Adjust Control 2
reg(0x00F6) 01 81 81 81 Interface Control
I'm quit new to Arduino.