This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001397] I2C driver for Kinetic microcontrollers


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001397

--- Comment #14 from Tomas Frydrych <tf+bugs.ecos@r-finger.com> 2012-02-08 09:12:22 GMT ---
(In reply to comment #13)
>     -Can I2C clock be defined on device basis like at SPI?

Yes, I think it should be possible to change the bus speed when the device
takes over the mastership of the bus, I shall look into that.

> Next is general, could it be possible to provide user with option to set I2C
> speed (clock) rather than prescaler value?

I can't see any way to translate the SCL/SDA values that are need to calculate
the i2c speed into the MUL + ICR values that need to go into the frequency
divider register; the RM just provides a one big LUT for this.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]