Skip to content

CST816S can have device id 0xB4 #533

@pascaldornfeld

Description

@pascaldornfeld

I got a BTT Knomi which features a ESP32-S3 chip, GC9A01 screen and CST816S touch. See also. When using this project I get a device id mismatch for the touch interface. Here is a filter for the device id 0xB5 and 0xB6. My Knomi has a device id of 0xB4. I compiled the firmware with this id added to the whitelist and touch is working.

Original error:

Chip ID: 0xb4
Touch version: 255
Proj ID: 0x0
FW Version: 0x2
Traceback (most recent call last):
  File "main.py", line 62, in <module>
  File "cst816s.py", line 210, in __init__
RuntimeError: Incorrect chip id (0xb5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions