This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 I2C

Hello, I'd like to connect the nRF52840 to four I2C sensors. These sesnors may or may not have the same address and they will all be at the end of their own 2 meter long cables. Since some address might be the same and for signal quality reasons, I don't want to put these sensors on the same I2C bus. Since the I2C pins can be assigned to any digital GPIO, I was thinking of having four separate I2C paths (using 8 GPIO pins) and reassign the I2C to each pair as I communicate with each sensor one at a time. When the I2C is directed to Pair A, Pairs B, C and D could be configured as digital inputs and the pull-ups on each pair would lets those signals idle high. Do you know of a reason why this wouldn't work? Thank you!

Parents Reply Children
No Data
Related