eblot / pyftdi

FTDI device driver written in pure Python
Other
509 stars 212 forks source link

i2c: relax the bus after epilog in fake-tristate mode #314

Closed c0d3z3r0 closed 1 year ago

c0d3z3r0 commented 2 years ago

set lines to high-z after epilog when fake-tristate is enabled

Similiar to issue #46, FT2232H/FT4232H never really relax the bus after the epilog, because they don't support tristate in hardware. This leads to blocking the bus when another master (besides the FTDI) is present.

Implement fake-tristate for both SCL and SDA after the epilog to unblock the bus.

Signed-off-by: Michael Niewöhner foss@mniewoehner.de

eblot commented 1 year ago

Thanks and very sorry for the delay