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

SD.begin() breaks Touch #73

Open
sisvpfis opened this issue Dec 28, 2023 · 0 comments
Open

SD.begin() breaks Touch #73

sisvpfis opened this issue Dec 28, 2023 · 0 comments

Comments

@sisvpfis
Copy link

Hello Bodmer,

I am using an ESP32/TFT/SD ESP32_3248S035R AllInOne Hardware where I can use SD or Touch but not both together. As soon as I integrate SD, touch stops working independet from which one is initialized first (SD/touch).
I think the issue may be lying somewhere in the multiple usage of spi for Touch/SD/TFT but could'n find the problem itself. I think the different SPI parts should use different/own SPI config/frequency. As soon as I remove the SD.begin() touch works again. Using Framework 6.4.0 for the ESP32.

I use this configuration:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
board_build.flash_mode = dio
board_build.f_flash = 80000000L
board_build.speed = 921600
lib_deps = 
	bodmer/TFT_eSPI@^2.4.79
	adafruit/Adafruit NeoPixel@^1.10.7
	bodmer/TFT_Touch@^0.3#
	bodmer/TJpg_Decoder@^1.1.0
	wnatth3/WiFiManager@^2.0.16-rc.2
build_flags = 
	-Ofast
	-D TFT_PANEL_ORDER_RGB
	-D ESP32_3248S035R

ESP32-3248S035-LCM-V1 1
ESP32-3248S035-MCU-V1 1
ESP32-WROOM-1 Pin definition

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