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

Color Inversion randomly after operating #3480

Open
zachtos opened this issue Sep 11, 2024 · 0 comments
Open

Color Inversion randomly after operating #3480

zachtos opened this issue Sep 11, 2024 · 0 comments

Comments

@zachtos
Copy link

zachtos commented Sep 11, 2024

I'm working with ST7796 driver on a 3.5" LCD with an ESP32-S3 w/ 2mB PSRAM. My display will boot and run fine, I call the PNG decoding library to print an image and it occassionally will act as if setSwapBytes is true or false, at it's own choosing. I have no issue with DRAWN items inverting, it's just the images being printed from the SD card.

I'm compiling on platform IO with visual studio. Core 6.1.15, home 3.4.4. Esperessif 6.8.1.
[env:esp32-s3-devkitc-1]
platform = espressif32 @ 6.8.0
board = esp32-s3-devkitc-1
framework = arduino
lib_deps =
bodmer/TFT_eSPI@^2.5.43
makuna/NeoPixelBus@^2.8.1
h2zero/NimBLE-Arduino@^1.4.2
sparkfun/SparkFun MAX1704x Fuel Gauge Arduino Library@^1.0.4
ncmreynolds/wordwrap@^0.1.0
bitbank2/PNGdec@^1.0.2
board_build.flash_mode = qio
build_flags =
-DARDUINO_USB_CDC_ON_BOOT=1
-DBOARD_HAS_PSRAM
-DARDUINO_ESP32_S3R8N2
board_build.partitions = partitions_custom.csv

I am using WIFI, serial ports, both cores (core 0 is for serial monitoring).
Pins connected to the esp32-S3
#define R1 42
#define G1 41
#define BL1 40
#define R2 38
#define G2 39
#define BL2 37
#define CH_A 45
#define CH_B 36
#define CH_C 48
#define CH_D 35
#define CH_E 21
#define CLK 2
#define LAT 47
#define OE 14
#define SD_MOSI 10
#define SD_MISO 9
#define SD_SCK 11
#define SD_CS 3

I can't spend any more time trying to solve this. It has to be something in the library. It's SPI and a 10" wire, shorter wires makes no difference, lower mhz no difference. Only a reboot solves.

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

1 participant