Home/Support/Support Forum/Changing default pins
New and improved user forum site coming soon
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Changing default pins

+1 vote
Hi, i'm having some problems with I2C on RCM6700. Would it be possible to use PB6 and PB4 for I2C pins with software lib?
As far as i saw, it uses PB4 and PB6 ofr something, but actually sets the I2C on port D.

Thank you.
related to an answer for: how to use the I2C for RCM6760?
asked Feb 7, 2018 in Rabbit Software by Demolick New to the Community (28 points)

Please log in or register to answer this question.

1 Answer

+1 vote
Best answer
The hardware-based I2C interface of the Rabbit 6000 was designed to use PE0/PE1 or PE4/PE5.

You might be able to "#use I2C_SW.LIB" to use the software-based I2C interface on pins from port D, but I don't know whether it's been tested on the 6000.

What are the problems you're seeing with I2C on the RCM6700? Have you tried using Dynamic C 10.72C? I made various changes/improvements to the I2C libraries for that release.
answered Feb 12, 2018 by TomCollins Veteran of the Digi Community (2,382 points)
selected Feb 21, 2018 by Demolick
I finally got it going, no asistance needed for now =)
Thank you,
Thanks for your response.

As far as I know, PE4 isn't available for external connection, and using PE0/PE1 isn't helping me. I think it might be some configuration issue, looking on the SDA/SCL signal, those never go to GND.

Have you tried using I2C on RCM6000 family? If you could supply me with some sample code for I2C_HW lib with EEPROM, it would be great.

I recently found that the Dynamic C 10.72C installer was missing an update to the I2C libraries.  You can see the changes and download updated libraries from: