ESP32-2432S028-R

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
henry25005
New user
Posts: 2
Joined: 31 Jul 2023, 12:35

ESP32-2432S028-R

#1 Post by henry25005 » 31 Jul 2023, 12:53

Hi,
even if I am a newbie, I would appreciate some help.. :)
I have stuck up with this named board and activating the display, touch and sd-card. While setting HSPI in hardware section, and CS-Pin to 15 and DC to Pin 2 in the display-device, the display works fine. But I am not able to activate neither the touch nor the sd-card. In some posts I have read, the SPI can handle up to three devices, only the CS Pin has to be adapted. One tutorial names GPIO5 for the sd-card, and another GPIO-0 for the touch, but it does not work at all...
Every help is welcome..
If I have overlooked same posts, please be patient, I 'll promise to improve...
Greetings, Henry

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32-2432S028-R

#2 Post by Ath » 31 Jul 2023, 12:58

Do you have a link to the (exact) board you are using?
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP32-2432S028-R

#3 Post by TD-er » 31 Jul 2023, 13:28

Maybe there is some more info in this discussion by the Tasmota team?
https://github.com/arendst/Tasmota/discussions/17939

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: ESP32-2432S028-R

#4 Post by Ath » 31 Jul 2023, 14:27

This Reddit link has a reply by im-ptp (have to scroll down a bit) that quite accurately lists all GPIO pins used. It shows that the 3 SPI devices all use different SPI pins, and currently ESPEasy only supports a single SPI bus...
The display controller seems to be a somewhat special variant of the ILI9341, you could try using the ILI9342 setting of the ILI934x/ILI944x plugin.
/Ton (PayPal.me)

henry25005
New user
Posts: 2
Joined: 31 Jul 2023, 12:35

Re: ESP32-2432S028-R

#5 Post by henry25005 » 31 Jul 2023, 15:27

TD-er wrote: 31 Jul 2023, 13:28 Maybe there is some more info in this discussion by the Tasmota team?
https://github.com/arendst/Tasmota/discussions/17939
HI,
thank you for your quick response. In fact, I tried this source before. The problem is, with ESP-EASY, I do not find the possibility to configure the second SPI. In my opinion, ESP-EASY wants to run several devices, display and touch, on the same SPI.. Only adapting the named CS-Gpio does not work..

Thanks..

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP32-2432S028-R

#6 Post by TD-er » 31 Jul 2023, 17:08

Yep, I have not yet added the functionality to select which SPI bus to use as that wasn't really needed upto now.
But with the newly added support for other ESP32 variants and also some products being sold recently (like the Shelly pro 4PM) there is for sure a need to select which SPI bus to use.

However this is not yet included and it might need quite some code changes to add it as you really need to take care of what calls can be made when certain SPI busses are being addressed.
I know Theo Arends from Tasmota has spent quite a lot of time to re-implement GPIO extender support for the Shelly pro 4PM as this one is also used to select CS signals for various SPI devices.
So you need to address a SPI device during low-level SPI communications.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 36 guests