You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[00:00:01.167,388] <err> cst816s: failed reading chip id
When I touch the screen I get an error message:
[01:14:39.267,944] <err> cst816s: Could not read x data
I contacted the manufacturer support and they confirmed it was a CST816S touch driver,
Unable to read, most likely entered the sleep state, when initializing the touch screen, you need to turn off the sleep state, otherwise each call, you need to wake up, otherwise the touch screen will enter the sleep mode, the method to disable the sleep mode is: first reset, after the reset is completed, write a non-zero value to the 0xFE register of the slave address 0x15, which can be 0x01 or 0x07 as shown below:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting an error message when trying to use a nRF5340 DK with a Waveshare 1.69inch Touch LCD Module on the Zephyr sample code with minimal modifications.
All the demo source files for other platforms (Arduino, ESP32, Pico, Raspberry Pi, and STM32.) are here https://files.waveshare.com/wiki/1.69inch-Touch-LCD-Module/1.69inch_Touch_LCD_Demo.zip
The error when I flash/reset is:
When I touch the screen I get an error message:
I contacted the manufacturer support and they confirmed it was a CST816S touch driver,
The code looked was:
I see the input_cst816s error code, but can't tell if this is how it's implemented
I'm trying to determine if it's a configuration problem or if it is a driver issue.
In case it is relevant my overlay is:
And the prj.conf is:
I received some diagrams from a manufacturer on the other chips:

Beta Was this translation helpful? Give feedback.
All reactions