Remember
Register
Home
/
Support
/
Support Forum
/
Changing default pins
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(387)
Python
(1,016)
RF Solutions and XBee
(8,439)
Digi TransPort
(789)
Digi Connect Cellular
(447)
DAL
(5)
Embedded Devices
(4,170)
Google Coral
(2)
Rabbit
(3,200)
Rabbit Software
(519)
Console Servers
(354)
Modbus and Industrial Automation
(246)
Realport
(603)
Serial Servers
(837)
Satellite Modules
(25)
USB
(1,273)
Serial Cards
(715)
ConnectPort Display
(58)
Feedback/Wish List
(93)
Other/Legacy
(377)
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?
i2c
rcm6700
asked
Feb 7, 2018
in
Rabbit Software
by
Demolick
New to the Community
(
28
points)
Please
log in
or
register
to add a comment.
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,303
points)
selected
Feb 21, 2018
by
Demolick
I finally got it going, no asistance needed for now =)
Thank you,
BR
Konstantin
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.
Konstantin
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:
https://github.com/digidotcom/DCRabbit_10/commit/fa4c55017e6253cccb0c6c6f72258b16d6794599
Please
log in
or
register
to add a comment.
...