I want to use I2C on pins, other then the dedicated pins. Is it possible to short two GPIO pins in the software or the only way is to implement I2C protocol in software ?
P.S. I don't want to short the pins externally.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I want to use I2C on pins, other then the dedicated pins. Is it possible to short two GPIO pins in the software or the only way is to implement I2C protocol in software ?
P.S. I don't want to short the pins externally.
Hi Najeeb,
The I2C module is brought out to the pins GPIO28/29 and GPIO32/33. You're saying you don't have access to an SDA / SCL pair between these GPIO options?
There's no way to short the pins through software. I don't believe shorting the pins externally would even work for this purpose, since the I2C module pins are uniquely open-drain and bi-directional.
Best,
Kevin
Hi Kevin,
Thanks for the response, So the only way is to implement i2c protocol in software if I want to use pins other then the dedicated ones, right ?
Hi Najeeb,
Yes, that's correct. I've heard of this being done on IOs before, but I don't have a SW example to direct you to unfortunately.
Best,
Kevin
Hi Kevin,
Thanks for your response, I got my answer.
I know this is not the place to ask this question but I have no place else to go, I am having problem posting new question from yesterday. I am getting the following error:
I changed my email id to company email id but I am still getting this error. Please let me know how I can fix this ?
Thanks
Najeeb
Hi Najeeb,
New requirements for posting on the E2E forum have been added recently as you've found, more details provided below:
https://e2e.ti.com/support/site-support/f/1024/t/944492
Najeeb Uddin said:I changed my email id to company email id but I am still getting this error. Please let me know how I can fix this ?
If you already updated your email it seems like the error may be a bug. Sorry I'm not sure how to fix it, but you can search on the E2E site support forum below for an answer to fix it or post there yourself if you don't find an answer.
https://e2e.ti.com/support/site-support/f/1024
Best,
Kevin
Hi kevin,
Thanks it worked, I had to save "e2e community preferences". It wasn't mentioned in the instructions but they added it now and now I can post new thread. Thanks for the response, appreciated.
Najeeb