#3154 assigned enhancement

Add recovery support for I2C bus

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: Indefinite
Component: score Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

FreeBSD has a recovery support for the I2C bus. Port this to RTEMS and use it in the I2C bus drivers.

https://svnweb.freebsd.org/base/head/sys/dev/iicbus/iic_recover_bus.c?view=markup

Change History (2)

comment:1 Changed on 10/03/17 at 05:26:12 by Chris Johns

Looks good. I am not sure how this could be down with the Xilinx I2C controller.

How or when is this invoked?

comment:2 Changed on 10/03/17 at 06:18:48 by Sebastian Huber

Its invoked by the bus driver in case of timeouts or after arbitration problems. You need control over the lines via GPIO.

I have no plans to implement this now, but it might be useful for some applications.

Note: See TracTickets for help on using tickets.