Other Parts Discussed in Thread: CAPTIVATE-PGMR, DRV2605L, CAPTIVATE-PHONE
Tool/software:
Hi team,
This is for a PCB connected to the CAPTIVATE-PGMR (CAPTIVATE-PGMR — CapTIvate ™ Technology Guide 1.83.00.08 documentation) through the 6-pin connector for programming ,debugging, and interfacing with the CapTIvate software. The 4-pin connector goes to an Adafruit breakout board for I2C communication to the DRV2605L haptics driver, which includes the pullup resistors on there (Adafruit DRV2605L Haptic Motor Controller - STEMMA QT / Qwiic : ID 2305 : Adafruit Industries, Unique & fun DIY electronics and kits).
I've also attached the source code, called "OneButton_Joy.zip".
This project was originally generated via the CapTIvate software. It was just a one-button to microcontroller setup and the capacitive sensing aspect is working fine. Then, I tried to add I2C functionality and that part has not been working.
Right now, the issue is that the code stalls at line 247, or whenever we try to send a byte through I2C (after taking the steps to initialize the I2C module), and we see no action on the SDA and SCL lines—they simply stay high.
I am not sure if the I2C module has been initialized properly. Could you provide any assistance in understanding why we may be getting stuck here?
Best,
Luke