You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, hoping someone can help here.
I've got a board with several I2C slaves on it.
One has an address with 0x17, and is not recognized via i2c scan or with code.
I'm using a Ft4232H device, and with other code I can recognize this device. (We are moving to a new I2C master access method)
The other odd thing is we've got two devices showing up as R devices, but are not logically on the bus. (0x32 and 0x52)
Here is the i2c scan:
Here is the test code, the mux write is to open all channels to the other I2C devices:
`import sys
import pdb
sys.path.append("C:/Python312/Lib/site-packages/pyftdi")
from pyftdi.ftdi import Ftdi
from pyftdi.i2c import I2cController, I2cIOError
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, hoping someone can help here.
I've got a board with several I2C slaves on it.
One has an address with 0x17, and is not recognized via i2c scan or with code.
I'm using a Ft4232H device, and with other code I can recognize this device. (We are moving to a new I2C master access method)
The other odd thing is we've got two devices showing up as R devices, but are not logically on the bus. (0x32 and 0x52)
Here is the i2c scan:
Here is the test code, the mux write is to open all channels to the other I2C devices:
`import sys
import pdb
sys.path.append("C:/Python312/Lib/site-packages/pyftdi")
from pyftdi.ftdi import Ftdi
from pyftdi.i2c import I2cController, I2cIOError
i2c = I2cController()
i2c.configure('ftdi://ftdi:4232:100-121623/1', frequency=100E3)
TI_DCDC = i2c.get_port(0x69)
MUX = i2c.get_port(0x75)
CPLD = i2c.get_port(0x17)
ADC1 = i2c.get_port(0x48)
ADC2 = i2c.get_port(0x49)
MUX.write_to(0x00, b'\xff')
`
Any insight would be greatly appreciated.
Cheers,
Steve
Beta Was this translation helpful? Give feedback.
All reactions