Want to differentiate Two LPCXpresso54120 Bridge devices.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Want to differentiate Two LPCXpresso54120 Bridge devices.

跳至解决方案
1,002 次查看
Harshal_Kaswala
Contributor I

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?

0 项奖励
回复
1 解答
959 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
960 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复