Want to differentiate Two LPCXpresso54120 Bridge devices.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Want to differentiate Two LPCXpresso54120 Bridge devices.

ソリューションへジャンプ
1,483件の閲覧回数
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 解決策
1,440件の閲覧回数
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 返信
1,441件の閲覧回数
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 件の賞賛
返信