LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-12-2011, 05:25 PM   #1
AchimRS
Member
 
Registered: Mar 2005
Location: Germany
Distribution: Debian Wheezy
Posts: 42

Rep: Reputation: 0
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
 
Old 08-23-2011, 03:33 PM   #2
AchimRS
Member
 
Registered: Mar 2005
Location: Germany
Distribution: Debian Wheezy
Posts: 42

Original Poster
Rep: Reputation: 0
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
 
  


Reply

Tags
kernel module, performance, speed


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No /dev/i2c-0 entry after insmod i2c-dev sajnanazeer Linux - Newbie 1 08-10-2011 07:39 AM
how to know fan speed using i2c commands on IA64 deedhnd Linux - General 1 04-04-2009 11:15 AM
How to configure CD RW Drive Speed greengrocer Linux - Newbie 3 10-08-2005 06:59 PM
configure apache upload speed j-ray Linux - Software 4 12-18-2004 04:16 AM
Mandrake 9.1 can't configure high speed internet bolinux Linux - Networking 3 10-09-2003 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration