GithubHelp home page GithubHelp logo

Comments (7)

amardhore avatar amardhore commented on August 11, 2024

Sorry about the formatting...

from esp32_tft_library.

sukeshak avatar sukeshak commented on August 11, 2024

@loboris
Please let us know how to use both display and SD card at the same time.

No reference on how to use these functions as well

  • disp_select() Activate display's CS line
  • disp_deselect() Deactivate display's CS line

from esp32_tft_library.

petestewardson-schneider avatar petestewardson-schneider commented on August 11, 2024

Yes please give guidance on using your driver alongside touch controllers and SD cards on SPI at the same time.

from esp32_tft_library.

an-erd avatar an-erd commented on August 11, 2024

Any news on this topic? I don't get TFT Display, SD Card and PSRAM, all on SPI bus (using this library for TFT and SD card, and the esp-idf SPI library for PSRAM), running at the same time. Component by component is fine.
Display freezes, so at least a way to recover the display is necessary.

from esp32_tft_library.

chegewara avatar chegewara commented on August 11, 2024

Hi,
ive been playing a bit today with display driver and sd card and i found where is the problem (why display is freezing), but i dont know how to fix it (just didnt have time to find fix).

The problem is that spi clock speed after using sd card is changed or other settings, because when
Ive been trying to change back clock with spi_lobo_set_speed i stuck on this https://github.com/loboris/ESP32_TFT_library/blob/master/components/spidriver/spi_master_lobo.c#L888, as far as i can tell if should return false, but after using sd card this if is returning true.

from esp32_tft_library.

chegewara avatar chegewara commented on August 11, 2024

I found workaround, but its very ugly. After using sd card i am doing this:

spi_lobo_bus_remove_device(disp_spi);

start_spi_display(); <--- full display initialization

from esp32_tft_library.

jkearins avatar jkearins commented on August 11, 2024

Hi, i'm trying to use 2 devices on one bus. TFT as 1rst device works fine. When I call spi_lobo_device_select() for 2nd device the function calls spi_lobo_bus_free(1, 0):
https://github.com/loboris/ESP32_TFT_library/blob/master/components/spidriver/spi_master_lobo.c#L731
It seems to be an error, instead of '1' it shuld be 'i':
spi_lobo_bus_free(i, 0);
I changed '1' to 'i', but still the function returns an error, so select fails.

from esp32_tft_library.

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.