We have LPCXpresso54102 LQFP64 Rev A board. we use this board as USB to I2C bridge. We use LIBUSBSIO python library for I2C operation of Bridge.
Now, We have these 2 bridges connected with the PC and we want to differentiate the device.
sio = LIBUSBSIO(loglevel=logging.DEBUG)
numports = sio.GetNumPorts()
sio.Open(0)
here sio.GetNumPorts() give no of connected sio device. for the Opening port we just give no of a device(In my case 0 or 1).so, how can we identify which board is comport is open?
There is any way to find which device is open.
Please suggest to me some ideas related to my usage?
已解决! 转到解答。
Hi
Multiple LPC controller targets can be attached to the host. The current version of the library doesn’t
provide a mechanism to uniquely identify individual targets except with an index number (starting from
zero) assigned during enumeration.
For more, please see attached manual
Jun Zhang
Hi
Multiple LPC controller targets can be attached to the host. The current version of the library doesn’t
provide a mechanism to uniquely identify individual targets except with an index number (starting from
zero) assigned during enumeration.
For more, please see attached manual
Jun Zhang