Replies: 1 comment
-
What values of the pull-up resistors do you use? Have you try to execute this script w/o any slave and observed the waveforms? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All, I set up a simple I2C interface with ftdi://ftdi:232h:FT0J4XG6/1 (C232HM-DDHSL-0). Two problems
Can someone point out some issue in the configuration?
Code as following:
from pyftdi.ftdi import Ftdi
from pyftdi import i2c
ctrl = i2c.I2cController() # instantiate FTDI as controller
ctrl.configure('ftdi://ftdi:232h/1') # use standard setup, 3-phase-clocking, drive0, 100KHz etc.
The DUT address i0x38
poll_status=ctrl.poll(0x38,relax=True)
print(poll_status)
Beta Was this translation helpful? Give feedback.
All reactions