Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whether the TFT_eSPI library supports rp2350 #3537

Open
Carlos-TGW opened this issue Nov 5, 2024 · 3 comments
Open

Whether the TFT_eSPI library supports rp2350 #3537

Carlos-TGW opened this issue Nov 5, 2024 · 3 comments

Comments

@Carlos-TGW
Copy link

IDE:Arduino IDE
chip:RP2350
Configuration:
Uploading 企业微信截图_17307959277624.png…

Using the screen:3.5 LCD
Screen driver:ILI9488
The problem:
When rp2040 uses TFT_eSPI library to drive ILI9488 screen, the use is normal. However, when rp2350 uses TFT_eSPI library to drive ILI9488 screen, the screen is abnormal. It compiles, but it doesn't display properly.

Here's the code:
#include <Arduino.h>
#include <TFT_eSPI.h>

#define LCD_BL 18

TFT_eSPI tft = TFT_eSPI(); /* TFT instance screenWidth, screenHeight */

void setup() {
// put your setup code here, to run once:
Serial.begin( 115200 );

tft.begin();          /* TFT init */
tft.setRotation( 1); /* Landscape orientation, flipped */
tft.invertDisplay(false);

}
uint16_t flag=0;
void loop() {
// put your main code here, to run repeatedly:
delay(4000);
tft.fillScreen(TFT_RED);
delay(1000);
tft.fillScreen(TFT_GREEN);
delay(1000);
tft.fillScreen(TFT_BLUE);
delay(1000);
tft.fillScreen(TFT_WHITE);
delay(1000);
tft.fillScreen(TFT_BLACK);
delay(1000);
tft.fillScreen(TFT_DARKGREY);
delay(1000);

}

I want to ask: does TFT_eSPI library support rp2350 to drive ILI9488?

@Carlos-TGW
Copy link
Author

I used 4-wire SPI to link the ILI9488 screen

@webzep
Copy link

webzep commented Nov 27, 2024

@Carlos-TGW this worked for you with RP2350?

@nstepanets
Copy link

nstepanets commented Dec 5, 2024

IMG_1216
I tested RP2350 + NV3030B display, everything works the same as on RP2040 (ARDUINO PICO VERSION 4.3.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants