[RTEMS Project] #2788: RTEMS I2C API only defines Standard-mode (Sm) speed as a default.

RTEMS trac trac at rtems.org
Wed Sep 21 08:28:57 UTC 2016


#2788: RTEMS I2C API only defines Standard-mode (Sm) speed as a default.
-------------------------+---------------------
 Reporter:  chrisj       |       Owner:  chrisj
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.12
Component:  cpukit       |     Version:  4.10
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by sebastian.huber):

 Ok, the set clock IO control is not part of the Linux user-space API.  You
 can set it via the RTEMS specific I2C_BUS_SET_CLOCK IO control.

 It is up to the application/board initialization code to set the right
 speed for a particular I2C bus.  The generic I2C bus driver cannot and
 should not know this.  They have to choose an arbitrary initial value.

--
Ticket URL: <http://devel.rtems.org/ticket/2788#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list