Help with MARS3528 480 x 320 display #2163
SL06
started this conversation in
Compatible displays and setup files
Replies: 1 comment
-
According to this post, MCUFriend style TFT cannot easely be used with SPI. https://forum.arduino.cc/t/what-are-the-important-pins-on-2-8-inch-tft-lcd-touch-screen/555408 SD_card is not working yet. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
HI, I need help with that this display. I believe its a MARS3528. I could not found any documentation. Pin can be inserted in the UNO bard directly and the board
worked in parallel configuration (different library). Now, I would like to connected to my ESP32 30 pin devkit (WROOM 32) board with SPI.
I the user_setup.h file, I have done the following changes:
#define ILI9488_DRIVER // WARNING: Do not connect ILI9488 display SDO to MISO if other devices share the SPI bus (TFT SDO does NOT tristate when CS is high)
#define TFT_MISO 19 // SD_DO
#define TFT_MOSI 23 // SD_DI
#define TFT_SCLK 18 // SD_CLK
#define TFT_CS 5 // LCD_CS //Chip select control pin
#define TFT_DC 2 // LCD_ RS //Data Command control pin
#define TFT_RST 4 // LCD_ RST // Reset pin (could connect to RST pin)
I have upload the TST_graphicstest_one.lib. The file wont upload if the LCD_RST wire is connected.
Once upload, the display stay black. Of course 3.3V and GND are connected. Connection have been verified several time.
The following appear on the serail monitor:
TFT_eSPI library test!
Benchmark Time (microseconds)
Screen fill 731541
Text 26950
Lines 297028
Horiz/Vert Lines 62021
Rectangles (outline) 34211
Rectangles (filled) 1767602
Circles (filled) 195564
Circles (outline) 113466
Triangles (outline) 60343
Triangles (filled) 587014
Rounded rects (outline) 59677
Rounded rects (filled) 1786126
Done!
I have tried to unplug the LCD_ RST wire and/or the SD_DO wire. The output still work but the screen is still black.
I have also tried to enable one of these line without success.
// #define TFT_INVERSION_ON
// #define TFT_INVERSION_OFF
Help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions