#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 Oct 3, 2017 at 5:26:12 AM 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 Oct 3, 2017 at 6:18:48 AM 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.