Hello, does anyone know how to independently control two FT232H devices, it is configured for UART communication with an A7640 and the other in i2c mode for some sensors.
Independently they work fine, but when I connect the two USBs they give me an error since it is not able to differentiate the addresses
When I check the connected devices I get this response.
Dispositivos FTDI encontrados:
Dispositivo 1: (UsbDeviceDescriptor(vid=1027, pid=24596, bus=8, address=26, sn=None, index=None, description='Single RS232-HS'), 1)
Dispositivo 2: (UsbDeviceDescriptor(vid=1027, pid=24596, bus=8, address=24, sn=None, index=None, description='Single RS232-HS'), 1)
The one that works in UART I use it by serial with this address
ftdi_url = 'ftdi://ftdi:232h/1'
The one who works in I2c
i2c.configure('ftdi://ftdi:232h/1', frequency=100000) # 100 kHz
The only difference when identifying the devices is the address
address=26
address=24
How could I modify the addresses so that they work independently? something like
ftdi://ftdi:232h/1:24 or ftdi://ftdi:232h/1:26
right now it shows me
Error configuring I²C on ftdi://ftdi:232h/1: 2 USB devices match URL 'ftdi://ftdi:232h/1'
Thanks.