Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for M5Stack Core2 and CoreS3 (FT6336U) #31

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

Fexiven
Copy link
Contributor

@Fexiven Fexiven commented Nov 6, 2023

Both devices use the FT6336U chip.

Both devices use the FT6336U chip.
@makermelissa
Copy link
Contributor

makermelissa commented Nov 6, 2023

Are you completely sure it's a FT6336U? For that chip the vendor ID shouldn't be 1, it should be 0x11. The CST826 had a 1 in the register that this driver looks at for vendor and we initially thought it was the FT6336U, but it was shipped with a different chip. You can maybe try the CST8XX driver to see if that works?

@Fexiven
Copy link
Contributor Author

Fexiven commented Nov 6, 2023

Yes, i just took it apart to confirm and it's a FT6336U. The CST8XX driver doesn't work.

Heres my output from touch = Adafruit_FocalTouch(i2c, debug=True):

code.py output:
        $A1 => ['0x30', '0x8', '0x64', '0x1', '0x1', '0x1', '0x0', '0x1']
lib_ver: 3008, chip_id: 64, firm_id: 01, vend_id: 01
Library vers 3008
Firmware ID 01
        $88 => ['0x13']
Point rate 19 Hz
        $80 => ['0x1e']
Thresh 30

Code done running.

Copy link
Contributor

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks. That works for me then.

@makermelissa makermelissa merged commit e37175a into adafruit:main Nov 6, 2023
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 7, 2023
Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1305 to 1.4.0 from 1.3.12:
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SSD1305#18 from RetiredWizard/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_FocalTouch to 1.5.0 from 1.4.11:
  > Merge pull request adafruit/Adafruit_CircuitPython_FocalTouch#31 from Fexiven/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1675 to 1.3.0 from 1.2.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1675#18 from RetiredWizard/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_ST7789 to 1.6.0 from 1.5.18:
  > Merge pull request adafruit/Adafruit_CircuitPython_ST7789#37 from RetiredWizard/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer to 4.4.4 from 4.4.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_HTTPServer#72 from michalpokusa/template-example

Updating https://github.com/adafruit/Adafruit_CircuitPython_Qualia to 1.0.1 from 1.0.0:
  > Fix Display ID in paint example

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_Qualia

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants