Reply To: I2C Communication with other than designated pins

Home Forums Microcontrollers PIC Microcontroller I2C Communication with other than designated pins Reply To: I2C Communication with other than designated pins

#15804
Ligo George
Keymaster

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.

  1. In your code you can program PGD, PGC lines as GPIO.
  2. You need to make SCL, SDA lines as Inputs (High Impedance state) when you need to drive it HIGH.
  3. You need to make SCL, SDA lines are Output LOW, when you need to drive it LOW.
  4. Basically you need to write entire I2C HIGH LOW signals using GPIO registers.
>