Mcufriend 3.5 problem again

Hello,

I have recently received 3 Mcufriend 3.5 displays from Ebay.

They only display a bright white screen.

From 2015 I have 2 other modules working fine as expected.

Have the modules been modified ?

Here is my setup:

Win8.1, Arduino sw 1.6.5. Uno 3 original.

I’m using Adafruit_GFX library and mcufriend 2.9 and included test programs.

Any hints ?

I have attached the output from LCD_ID_reading for the one working and the other not working.

Hope you can give me a hint.

regards,

Nils

LCD_ID_readreg.ino serial monitor output.txt (1.52 KB)

The working output of LCD_ID_ Reader comes below as attached.

Sorry,

Nils

Working_TFT.txt (1.52 KB)

Life is much easier if you just copy-paste into a code window:

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) 00 00 ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 00 00 Manufacturer ID
reg(0x0009) 00 00 00 00 00 Status Register
reg(0x000A) 00 08 Get Powsr Mode
reg(0x000C) 00 66 Get Pixel Format
reg(0x0061) 00 00 RDID1 HX8347-G
reg(0x0062) 00 00 RDID2 HX8347-G
reg(0x0063) 00 00 RDID3 HX8347-G
reg(0x0064) 00 00 RDID1 HX8347-A
reg(0x0065) 00 00 RDID2 HX8347-A
reg(0x0066) 00 00 RDID3 HX8347-A
reg(0x0067) 00 00 RDID Himax HX8347-A
reg(0x0070) 00 00 Panel Himax HX8347-A
reg(0x00A1) 00 00 00 00 00 RD_DDB SSD1963
reg(0x00B0) 00 00 RGB Interface Signal Control
reg(0x00B4) 00 00 Inversion Control
reg(0x00B6) 00 00 00 00 00 Display Control
reg(0x00B7) 00 00 Entry Mode Set
reg(0x00BF) 00 02 04 94 81 FF ILI9481, HX8357-B
reg(0x00C0) 00 10 3B 00 02 11 00 00 00 Panel Control
reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA
reg(0x00CC) 00 00 Panel Control
reg(0x00D0) 00 00 43 Power Control
reg(0x00D2) 00 01 22 00 00 NVM Read
reg(0x00D3) 00 01 22 00 ILI9341, ILI9488
reg(0x00DA) 00 00 RDID1
reg(0x00DB) 00 00 RDID2
reg(0x00DC) 00 00 RDID3
reg(0x00E0) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA-P
reg(0x00E1) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA-N
reg(0x00EF) 00 00 00 00 00 00 ILI9327
reg(0x00F2) 00 00 33 00 00 00 00 00 00 00 00 00 Adjust Control 2
reg(0x00F6) 00 80 80 80 Interface Control

This shows that you have a regular Iltek ILI9481 controller in your “Working_TFT.txt” attachment.

And a Renesas R61581 controller in your “Not_Working.txt”

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) 00 00 ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 00 00 Manufacturer ID
reg(0x0009) 00 00 00 00 00 Status Register
reg(0x000A) 08 08 Get Powsr Mode
reg(0x000C) 66 66 Get Pixel Format
reg(0x0061) 00 00 RDID1 HX8347-G
reg(0x0062) 00 00 RDID2 HX8347-G
reg(0x0063) 00 00 RDID3 HX8347-G
reg(0x0064) 00 00 RDID1 HX8347-A
reg(0x0065) 00 00 RDID2 HX8347-A
reg(0x0066) 00 00 RDID3 HX8347-A
reg(0x0067) 00 00 RDID Himax HX8347-A
reg(0x0070) 00 00 Panel Himax HX8347-A
reg(0x00A1) 00 00 00 00 00 RD_DDB SSD1963
reg(0x00B0) 00 00 RGB Interface Signal Control
reg(0x00B4) 00 00 Inversion Control
reg(0x00B6) 00 00 00 00 00 Display Control
reg(0x00B7) 00 00 Entry Mode Set
reg(0x00BF) 01 01 22 15 81 00 ILI9481, HX8357-B
reg(0x00C0) 00 00 3B 00 02 00 01 00 43 Panel Control
reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA
reg(0x00CC) 00 00 Panel Control
reg(0x00D0) 00 00 00 Power Control
reg(0x00D2) 03 03 24 04 00 NVM Read
reg(0x00D3) 03 03 24 04 ILI9341, ILI9488
reg(0x00DA) 00 00 RDID1
reg(0x00DB) 00 00 RDID2
reg(0x00DC) 00 00 RDID3
reg(0x00E0) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA-P
reg(0x00E1) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA-N
reg(0x00EF) 00 00 00 00 00 00 ILI9327
reg(0x00F2) 07 07 00 00 00 00 00 00 00 00 00 00 Adjust Control 2
reg(0x00F6) 00 00 00 00 Interface Control

No one had got a R61581 when I published MCUFRIEND_kbv v2.9.0
The current Beta library from GitHub supports the R61581.

It appears that there are several R61581 boards on the market at the moment.
The one that I have just recieved from econjack did not “Software Scroll” correctly.
Please tell me if your Shield does the “Software Scroll” ok (when you have replaced with the Beta library).

David.

Hello David,

Thank You very much for your reply.

These displays are driving me crazy.

Broken glass, bent pins etc.

The last shipment came in 3 seperate envelops well padded and packed.

Then it was a new chip.

Software not working.

How can you tell from the working and not working files what controller ship being used ?

I see only ILI *** and something.

Just to mention,

I'm not a good progammer at all. Copy and paste and modify Like to build projects with my son.

More feedback will come tomorrow.

regards,

Nils

Make sure that you have the current Beta library from GitHub. i.e.

  1. download and save ZIP
  2. delete any old MCUFRIEND_kbv library folder
  3. run IDE
  4. install library from ZIP
  5. run examples from library

The library will recognise different controllers and should run all the examples without change.

I suggest that you post links to all the AliExpress vendors.
Say which sent broken glass.
Say which packed the screens carefully and supplied good items.

David.

Hello David

I have done som very sucessful testing this evening With the new Library from Github.

Now I have 4 Uno R3's With piggyback mcufriend display on top.

They are working perfect.

I'm very impressed with your work and you being so helpful.

Thanks,

Nils

Hi.

The scroll works fine here with my setup and testing.

Nils