ansa
Posts: 2
Joined: Mon Aug 05, 2013 8:00 am

I2C Speed

Mon Aug 05, 2013 8:51 am

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.

hampi
Posts: 223
Joined: Fri May 31, 2013 11:29 am
Contact: Website

Re: I2C Speed

Mon Aug 05, 2013 9:20 am

The line

options i2c_bcm2708 baudrate=35000

should be in file

/etc/modprobe.d/i2c.conf

ansa
Posts: 2
Joined: Mon Aug 05, 2013 8:00 am

Re: I2C Speed

Mon Aug 05, 2013 11:06 am

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!

Return to “Interfacing (DSI, CSI, I2C, etc.)”