Git Product home page Git Product logo

Comments (5)

nopnop2002 avatar nopnop2002 commented on May 27, 2024 1

Any NPN transistor will probably do.
press the reset button several times.

It may work with one reset.
Sometimes it works with over 10 resets.

I don't have the exact scope, so I don't know the real cause.

from esp-idf-st7789.

nopnop2002 avatar nopnop2002 commented on May 27, 2024

in esp-idf5.0 i had to fix types in ESP_LOG calls.

Thank you for reporting.

This is a big change from ESP-IDF V4.4.
I have a lot of repositories, so I will gradually work on supporting ESP-IDF V5.

For the unsigned int32 logging format, an interim workaround is provided here.
espressif/esp-idf#9511


There are two types of ST7789 breakouts.
One has a CS pin and one does not have a CS pin.
I think there is an electrical problem around reset circuit in the breakout without the CS pin.
Perhaps the reset circuit requires a lot of current.
Ultimately I ended up using the following circuit.
And press the reset button several times.

ESP32 3V3  -------------------------------+
                                          |
                                          | Collector
                                         /
                                        /
ESP32 RES  ------------R(2.2K)---------|    SS8050
                                Base    \
                                         \
                                          | Emitter
                                          |
ST7789 RST -------------------------------+
                                          |
                                          |
                                          |
                                          |
ESP32 GND  ------------R(220)-------------+

from esp-idf-st7789.

ameharoo avatar ameharoo commented on May 27, 2024

Thanks for the answer! I tried this connection (through a transistor) and nothing happened.
My circuit is using no-CS connection.
It turns out that this screen is faulty?
PS. I used 2N3904 instead SS8050

from esp-idf-st7789.

mandolins99 avatar mandolins99 commented on May 27, 2024

Changing devcfg.mode = 0; works for me.

from esp-idf-st7789.

nopnop2002 avatar nopnop2002 commented on May 27, 2024

Changed SPI mode from 2 to 3.
Test results are good.
No pull-up resistor is required on the reset pin.

from esp-idf-st7789.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.