LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to configure I2C speed (http://www.linuxquestions.org/questions/linux-hardware-18/how-to-configure-i2c-speed-897032/)

AchimRS 08-12-2011 06:25 PM

How to configure I2C speed
 
Hi all,
my I2C kernel module is working fine - but terrible slow. So I guess it is running on low (10kbit/s) or standard speed (100kBit/s).
The device I'm using is a DS2482 and it is capable of "fast mode" with 400kBit/s.

How to switch the speed to fast mode? probably it have something to do with loading the kernel module "modprobe i2c_dev"...

And of course, at the end I would like to know at which speed the bus master is currently talking to the device. Is there a way to show the current speed?

Thanks
Achim

AchimRS 08-23-2011 04:33 PM

anybody have and idea???

Meanwhile I looked with the scope to the I2C_CLK pin and saw 100kHz. So still the question is open how to configure the kernel module to run at 400kHz???
(I'm using a Freescale i.MX25 processor)

Thanks
Achim


All times are GMT -5. The time now is 04:41 PM.