I2C pin
-
Hi all,
I have to do two I2C lines and I have a disposition 4 pin: P8 P20 P15 P16.
For the first I2C I have P9 and P10
My question is Can i use two lines I2C together?
Thanks
Francesco -
@ciccio
In case you need to connect more than one I2C device: you can have multiple I2C devices on one I2C bus
In case you really need two distinct I2C interfaces: Yes, you can define that. When defining the I2C, you can specify the GPIO ports used for that. You can however not use P15 or P16, because these are input only pins. P8 and P20 are fine, unless you want to use the SD card, which also uses P8. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login