Skip to content

M5 Stack Core2 Touchscreen unexpected Values #228

Open
@haipas

Description

@haipas

Hello,

I have the problem, that when I enable the touchscreen in the Core2 I get unexpected values.
I get the following log output.

2023-09-16 11:53:34 I (00:00:01.629) FT6X36:    Device ID: 0x00
2023-09-16 11:53:34 I (00:00:01.633) FT6X36:    Chip ID: 0x0f
2023-09-16 11:53:34 I (00:00:01.638) FT6X36:    Device mode: 0x01
2023-09-16 11:53:34 I (00:00:01.642) FT6X36:    Firmware ID: 0x00
2023-09-16 11:53:34 I (00:00:01.647) FT6X36:    Release code: 0x00
2023-09-16 11:53:34 I (02:00:01.654) MAIN: Init complete
2023-09-16 11:53:40 V (02:00:08.594) FT6X36: X=3584 Y=128
2023-09-16 11:53:44 V (02:00:11.741) FT6X36: X=3584 Y=128
2023-09-16 11:53:48 V (02:00:15.933) FT6X36: X=512 Y=128
2023-09-16 12:00:12 V (02:06:40.414) FT6X36: X=1792 Y=384
2023-09-16 12:00:13 V (02:06:41.466) FT6X36: X=1792 Y=384
2023-09-16 12:00:15 V (02:06:43.566) FT6X36: X=3584 Y=128
2023-09-16 12:00:18 V (02:06:45.664) FT6X36: X=768 Y=385
2023-09-16 12:00:20 V (02:06:47.725) FT6X36: X=0 Y=128
2023-09-16 12:00:22 V (02:06:49.866) FT6X36: X=0 Y=128
2023-09-16 12:00:26 V (02:06:54.027) FT6X36: X=512 Y=128

I expected values between for x between 0 and 320 and for y 0 and 280. The values are also not really related to the position on the screen, it looks to me that the values are random.
To be sure that this issue is not hardware related, I tested everything on two different hardware modules.
The Original M5 Stack Software Displays correct data on the screen. I also tried an Arduino example from the library m5gfx this shows also the correct touch values.

Best regards

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