Home › Forums › Microcontrollers › PIC Microcontroller › I2C Communication with other than designated pins Tagged: i2c, PGC, PGD, PIC, SCL, SDA This topic has 1 reply, 2 voices, and was last updated 5 years, 11 months ago by Ligo George. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts December 18, 2018 at 5:22 pm #15777 gouthamParticipant I am using PIC 18F87k90. Is it possible to do serial I2C communication with other than SDA and SCL pins. Can I use PGD and PGC pins ? December 21, 2018 at 5:14 pm #15804 Ligo GeorgeKeymaster 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. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in The reCAPTCHA verification period has expired. Please reload the page. Log In