[Libre-soc-bugs] [Bug 746] I2C needs an Open Drain IO Pad

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Nov 15 23:53:57 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=746

Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |programmerjake at gmail.com

--- Comment #6 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #5)
> # Open Drain Mode, made with a standard FlexLib IOlib cell
simplified:
comb += pad.o.eq(0)
comb += pad.oe.eq(sda.oe & ~sda.o)
comb += sda.i.eq(pad.i)
# i is always connected, allowing us to later add support for detecting when
the i2c bus is being driven by two or more endpoints at once by checking that i
matches what we were trying to transmit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list