ST7796 reset pin connected ESP32 reset

Use this section to discuss your embedded Flowcode projects.
Post Reply
OldHound
Posts: 4
http://meble-kuchenne.info.pl
Joined: Mon Oct 21, 2024 11:19 am

ST7796 reset pin connected ESP32 reset

Post by OldHound »

I'm using a cheap yellow board (ESP32-3248S035C) which has a ST7796 display controller.

The reset pin of the ST7796 is connected to the ESP32's own reset. I don't know how to set its use in the connections values for the component - setting it to Unconnected gets me a syntax error when I try to compile.

If I set the reset pin to one of the other (currently unused) I/O pins it will compile but it seems that there should be a better way to configure the reset. Any suggestions?

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Flowcode v10 Re: ST7796 reset pin connected ESP32 reset

Post by medelec35 »

Hello.
I have added Use CS, and Use Reset to the properties.
When you select No the the pin will automatically be assigned, so should not cause any compile errors.

Can you try the attached and see if it works better for you.
If it does the it will be added to the component database.
Browse to this location using file explorer , it's hidden by default so just paste the link into your address bar.

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV10\Components
Place the attached component.
If Flowcode is already open, then you will need to reload your project for the new component to work
If you run any component updates, then the component you added will be overwritten, so it will stop working again (unless the component update has been pushed).
Attachments
gLCD_ST7796_SPI.fcpx
(19.92 KiB) Downloaded 139 times
Martin

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: ST7796 reset pin connected ESP32 reset

Post by medelec35 »

Fixed issue that prevents display from working on non ESP32 target devices.
Attachments
gLCD_ST7796_SPI.fcpx
(19.87 KiB) Downloaded 133 times
Martin

Post Reply