Page 1 of 1

I2C Speed

Posted: Mon Aug 05, 2013 8:51 am
by ansa
Hi, how do you change I2C speed? Im experiencing some difficulties communicating through I2C. Im trying to communicate with a FD1000 power circuit. Im using the Python library smbus to use the read and write word functions. The communication sometimes works and sometimes not. Through the oscilloscope it seams like the FD1000 is clockstreching, to work around this I would like to lower the I2C speed. A quick google gave me the command

Code: Select all

modprobe i2c_bcm2708 baudrate=35000
. This have no effect (checked with oscilloscope) reboot or not.

Re: I2C Speed

Posted: Mon Aug 05, 2013 9:20 am
by hampi
The line

options i2c_bcm2708 baudrate=35000

should be in file

/etc/modprobe.d/i2c.conf

Re: I2C Speed

Posted: Mon Aug 05, 2013 11:06 am
by ansa
Thank you, I tried it and it did change the I2C speed. Though i didn't solve my communication problem. But at least I know its not a speed issue. And also i know how to change the I2c BUS SPEED.

Thanks again!