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

I2C adress wrong #3

Open
bib85 opened this issue Nov 12, 2023 · 2 comments
Open

I2C adress wrong #3

bib85 opened this issue Nov 12, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bib85
Copy link

bib85 commented Nov 12, 2023

The I2C address of the touch controller is 0x14. However, the address 0x5D is set for the Arduino Giga.
After making the change, the connection is now initialized, but unfortunately there is no response to the coordinates.

@per1234 per1234 added the bug Something isn't working label Nov 13, 2023
@facchinm
Copy link
Contributor

facchinm commented Nov 13, 2023

The "moving" address is very likely caused by not perfectly following the chip guidance
https://github.com/arduino-libraries/Arduino_GigaDisplayTouch/blob/main/src/Arduino_GigaDisplayTouch.cpp#L62-L65

Untitled

@leonardocavagnis can you take a look and check if the code can be modified with the timings from the datasheet?

edit: everything looks fine following the code on the other lines. @bib85 do you have anything else connected to the Giga?

@leonardocavagnis
Copy link
Contributor

Hi @bib85,
Are you using the GT911_I2C_ADDR_28_29 define for address 0x14?

#define GT911_I2C_ADDR_28_29 (0x14 | 0x80) // 0x28/0x29 - 0x14 (7bit address)

@leonardocavagnis leonardocavagnis self-assigned this Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants