Giter Club home page Giter Club logo

Comments (4)

JF002 avatar JF002 commented on August 15, 2024

I was sending the wrong value to the register (0x05 instead of 0x03). The pinetime wiki has been updated : https://wiki.pine64.org/index.php/PineTime#Touch_events.

Now, we can try to reimplement the SLEEP command as detailed in the wiki and see if it works.

from infinitime.

endian-albin avatar endian-albin commented on August 15, 2024

I know the ST7789V display supports sleep mode (I've implemented it myself in the upstream Zephyr driver), but you're saying that the touch controller has a sleep mode of its own? When the display is in sleep mode it has close to zero power consumption.

from infinitime.

sdorre avatar sdorre commented on August 15, 2024

The datasheet mentions this:

http://files.pine64.org/doc/datasheet/pinetime/CST816S%E6%95%B0%E6%8D%AE%E6%89%8B%E5%86%8CV1.1.pdf

4.5 Low Power Mode
The CST816S touch controller supports the following low-power modes:

Sleep mode: after the host sends a sleep command to the chip, the chip will immediately enter a deep sleep mode to achieve the lowest power consumption;
Through the Reset, the chip will wake up and enter a dynamic operating mode.

Standby mode: In this mode, the chip remains at a low frequency for a minimum scan to match a predefined wake-up gesture.

Translated with www.DeepL.com/Translator (free version)

So the behaviour you observed is "okay", i would say. Maybe only send this command when you go into sleep.
And when you wake up, trigger a reset and you are ready to go again.

Typical power consumption < 2.5mA in dynamic mode.
Typical power consumption < 10uA in standby mode.
Typical power consumption in sleep mode < 5uA;

from infinitime.

JF002 avatar JF002 commented on August 15, 2024

The correct sleep command has been implemented and works perfectly !

from infinitime.

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.