Notifications
Clear all

ESP32-S3 N16R8 ILI9488 Display Arduino

21 Posts
6 Users
2 Reactions
13.4 K Views
(@zalves)
Member
Joined: 3 years ago
Posts: 3
Topic starter  

Hello!

 

I have a ESP32-S3 N16R8, I've been trying to use it with an ILI9488 display connected with SPI. I can never get an image, with TFT_eSPI and the configuration below. I know the display works with the same library using an ESP32 WROOM. Also the pinout of the ESP32-S3 works if I use an ILI9341 with micropython . I just can't make the ESP32-S3 N16R8 with arduino and the ILI9488. The board is set as a ESP32S3 Dev Mod. Any suggestions?

#define ILI9488_DRIVER

#define TFT_MOSI 11 // GPIO 11

#define TFT_SCLK 12 // GPIO 12

#define TFT_CS 10 // GPIO 10

#define TFT_DC 9 // GPIO 9

#define TFT_RST 8 // GPIO 8

#define SPI_FREQUENCY 20000000

#define TFT_BL 7

#define TFT_BACKLIGHT_ON HIGH



   
Quote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 6 years ago
Posts: 8047
 

Posted by: @zalves
↑

Hello!

 

I have a ESP32-S3 N16R8, I've been trying to use it with an ILI9488 display connected with SPI. I can never get an image, with TFT_eSPI and the configuration below. I know the display works with the same library using an ESP32 WROOM. Also the pinout of the ESP32-S3 works if I use an ILI9341 with micropython . I just can't make the ESP32-S3 N16R8 with arduino and the ILI9488. The board is set as a ESP32S3 Dev Mod. Any suggestions?

#define ILI9488_DRIVER

#define TFT_MOSI 11 // GPIO 11

#define TFT_SCLK 12 // GPIO 12

#define TFT_CS 10 // GPIO 10

#define TFT_DC 9 // GPIO 9

#define TFT_RST 8 // GPIO 8

#define SPI_FREQUENCY 20000000

#define TFT_BL 7

#define TFT_BACKLIGHT_ON HIGH

Have you rolled back the Espressif ESP32 boards to 2.0.17 and tried it?

 


First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@zalves)
Member
Joined: 3 years ago
Posts: 3
Topic starter  

@zander Hi Ron, Thank you for the tip. I've tried now and get the same result. Display is white and just flickers around twice per second, as it did before.



   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 6 years ago
Posts: 8047
 

@zalves In the future if you post ALL the code in <> (after Tools/Auto Format) and any verbose error logs in <> plus take a photo of a hand drawn wiring diagram after checking it 3 times it will speed up the problem solving process.


First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 6 years ago
Posts: 8047
 

@zalves Ok, then proceed with the standard process outlined at https://forum.dronebotworkshop.com/postid/50169/


First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@davee)
Member
Joined: 5 years ago
Posts: 2076
 

Hi Ron @zander,

  Re: > https://forum.dronebotworkshop.com/postid/50169/ <

   This thread appears to be 50169 .... so clicking the link just opens a new tab in the same place ...

Best wishes, Dave



   
Ron reacted
ReplyQuote
TFMcCarthy
(@tfmccarthy)
Member
Joined: 2 years ago
Posts: 520
 

@davee,

Posted by: @davee
↑

so clicking the link just opens a new tab in the same place ...

I thought it was a Canadian thing. Like where vertical is horizontal, everyone's head is clogged with Maple syrup, and, apparently, links are circular.

Anyway, @zalves, it would helpful if you could post the sketch you're using as an attachment.


The one who has the most fun, wins!


   
ReplyQuote
(@davee)
Member
Joined: 5 years ago
Posts: 2076
 

Hi Ron @zander &  @tfmccarthy,

  Sorry, I am not familiar with the ways of the lands attached to any section of the west coast of the Atlantic.

  However, I innocently assumed Ron was trying to point to a useful process with the instruction

@zalves Ok, then proceed with the standard process outlined at > https://forum.dronebotworkshop.com/postid/50169/ <

But unfortunately, that link is this 'thread' ... and I don't spot a 'standard process' in this thread ... so I was suggesting Ron might like to check the reference, in case it wasn't the one he was meaning to point the reader to.

Of course, it might just me, that is totally muddled ... in which case, apologies.

Best wishes and take care all, Dave



   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 6 years ago
Posts: 8047
 

@davee WHAT???


First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@davee)
Member
Joined: 5 years ago
Posts: 2076
 

Hi Ron,

When I click the link you posted

 

@zalves Ok, then proceed with the standard process outlined at > https://forum.dronebotworkshop.com/postid/50169/ <

 

A new tab opens on my browser showing:

 

image

 

Which is this thread, the lower part of which shows your advice to follow the process ... so it goes round in circles ..

Best wishes and take care, Ron



   
ReplyQuote
TFMcCarthy
(@tfmccarthy)
Member
Joined: 2 years ago
Posts: 520
 

@davee

Posted by: @davee
↑

... so it goes round in circles ..

That's what I'm talking about. I thought I heard that's a symptom of daily consumption of Maple syrup by the case.

Or maybe it was a Mac thing.


The one who has the most fun, wins!


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 6 years ago
Posts: 8047
 

@tfmccarthy @davee GUYS! Yes I posted in posted 50170 to see what I wrote in post 50169. I don't know how that confused you but that is what I did.

As far as 'standard process' this is what I mean 

1. Post ALL code in <> code tags.

2. Post a wiring diagram (photo of hand drawn is fine).

3. Post any error logs also in < code tags.

4. A BRIEF 'I expected .....' followed by 'but instead it did .....'

Clear?

 


First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@davee)
Member
Joined: 5 years ago
Posts: 2076
 

Hi Ron @zander (& @tfmccarthy),

Sorry Ron, I misunderstood your intention.

https://forum.dronebotworkshop.com/postid/50169/

and

https://forum.dronebotworkshop.com/postid/50170/

are consecutive messages, spaced about 90 minutes in time apart, both from you, in this same thread.

So when I saw 50170, which spoke of a "standard process", I thought you were referring to a more formal procedure from some previous thread, (but had accidentally copied the wrong link), rather than the 1 sentence reply immediately above it, because when I clicked the link, it showed almost the same screen display as the one I clicked from, albeit in a new tab.

Thanks for clarifying.

Best wishes and take care, Dave



   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 6 years ago
Posts: 8047
 

@davee I spend more time on the big forum these days (better info, and policing). If someone posts like our current member did he would get a link to a fairly long pinned post on how to use the forum. That spells out things like providing ALL the code in code tags <>, all the verbose error logs also in code tags and a readable wiring diagram even if only a photo of a hand draw circuit. That is the standard you must adhere to otherwise you get told via a link to a very long post on that plus etiquette etc. I really wish we would do that here, I am sick of these @#$%^&* people who supply no information and/or when asked a question or given explicit instructions fail to answer the questions and/or follow the directions. I STRONGLY urge everyone who encounters that behaviour to tell them what 'standard procedure' is then do NOT reply again until such time they do follow standard procedure. Here is the link to the 'standard procedure' over on the big forum LINK


First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@davee)
Member
Joined: 5 years ago
Posts: 2076
 

Hi Ron @zander,

  I totally understand your frustration. All too often, we get a paraphrased version of:

"I have written/obtained/copied/AI-written a programme, but it doesn't work, can you fix it please?"  --- With little or no support material.

In this case, a 'standard' procedure would indeed be a much better starting point, and I thought you were pointing to something like the external procedure you have just referenced. I didn't realise the 1 sentence, précis version, immediately above your message, was what you were referring to. (My mistake, apologies.)

Of course, we also get questions and comments, for which this 'procedure' would be totally inappropriate. e.g. something like "XXXY have just released a new WiFi processor board. Is anyone considering it for their new project?"

So a flexible approach is needed.

Best wishes to all, Dave



   
ReplyQuote
Page 1 / 2