Giter Site home page Giter Site logo

Problem with ST7735S about fbtft HOT 4 CLOSED

tbop-R avatar tbop-R commented on July 18, 2024
Problem with ST7735S

from fbtft.

Comments (4)

notro avatar notro commented on July 18, 2024
[ 78.364571] sunxi_spi_xfer_setup()1021 - [spi1] sunxi_spi_check_cs failed! spi_device cs =0 ...

I did a search for sunxi_spi_xfer_setup which gave me these:

https://github.com/allwinner-zh/linux-3.4-sunxi/blob/master/drivers/spi/spi-sunxi.c#L833-L837

(the source line 1021 doesn't match so you're using some other version of this driver)

https://github.com/allwinner-zh/linux-3.4-sunxi/blob/master/drivers/spi/spi-sunxi.c#L773-L775

It looks like for you CS0 is not in the supported cs_bitmap.
I have never used sunxi so I suggest you try a sunxi forum to get help with this error.

from fbtft.

tbop-R avatar tbop-R commented on July 18, 2024

Thank you for answering me.
I ran modprobe changing the parameters:
sudo modprobe fbtft_device custom name=fb_st7735r gpios=dc:3,reset:0 speed=16000000 rotate=90
in dmesg I find no errors and the file /dev/fb1 is created.
The screen remains blank.
How can I test it?

Thank you

from fbtft.

notro avatar notro commented on July 18, 2024

A simple way is to dump some random pixels to the display: cat /dev/urandom > /dev/fb1
(ignore the no space left error)

from fbtft.

github-actions avatar github-actions commented on July 18, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

from fbtft.

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.