December 21, 2018 at 5:14 pm #15804
I think the controller doesn’t have any option to change the SCL, SDA lines to PGD, PGC. So only option remaining is to use Software I2C.
- In your code you can program PGD, PGC lines as GPIO.
- You need to make SCL, SDA lines as Inputs (High Impedance state) when you need to drive it HIGH.
- You need to make SCL, SDA lines are Output LOW, when you need to drive it LOW.
- Basically you need to write entire I2C HIGH LOW signals using GPIO registers.