2024-08-14 10:05 AM
Hi everyone,
I’m working on a project that requires developing a driver for the Goodix GT2931 capacitive touch controller using an STM32 microcontroller. While I’ve set up basic I2C communication in STM32CubeMX, I'm struggling with the driver code implementation.
Challenges:
1. Register Mapping: I’m unsure about the correct register addresses for the GT2931. If anyone has experience or documentation, I’d appreciate guidance.
2. I2C Communication: I'm facing issues with structuring I2C read/write sequences. Any code snippets or explanations would be helpful.
3. Touch Data Handling:
- Reading Coordinates: Need help understanding how to correctly read and interpret touch data.
- Interrupts: Advice on handling touch interrupts efficiently would be great.
Request:
- Sample Driver Code: If anyone has a driver for the GT2931 or similar, sharing it would be very helpful.
- Best Practices: Tips on optimizing I2C communication, reset timing, and accurate touch data capture.
- MCU: STM32H743IIT6
Any assistance—whether sample code, advice, or documentation—would make a big difference in my project. Thanks in advance!
Best regards,
Paulo rego