How to use LPC Link-2 as USB-I2C bridge

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use LPC Link-2 as USB-I2C bridge

1,318 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lebets_vi on Fri Jun 19 13:27:55 MST 2015
Hi !

I reread all datasheets and documents, view all examples and not to do this bridge for use with lpcusbsio library on desktop apps.

May be anybody tell me please how to step-by-step create this bridge?

Thanks!
Labels (1)
0 Kudos
5 Replies

958 Views
brendonslade
NXP TechSupport
NXP TechSupport

This is an old thread, but adding the following information for people who may be looking for how to utilize the USB bridge feature available in some of our debug probes.

We have just released an updated/replacement version of the LPCUSBSIO library. This is now available and fully supported, with its own landing page on nxp.com: https://nxp.com/libusbsio.

This library supports LPC-Link2, and will also support upcoming additions to the MCU-Link probe family. 

This new library is backwards compatible with LPCUSBSIO, and also has a Python wrapper available at PyPi. There is a user guide at the page above which includes examples.

1,132 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lebets_vi on Tue Jun 23 01:03:44 MST 2015
Yes, I read everything.

LPC Link2 has a different chip.

Due to the fact that the LPC is very poor documentation of LPC Link2, impossible to understand exactly how to use LPC USB Serial I/O Library.

The documentation of the library is written one, but in fact quite different.

For example, a quote: "The board should appear as mass storage device". Nothing of the sort! The fee is defined as the COM-port and any HID device.

In the example for the PC find HID device by  PID 0x0089, while the board has a PID 0x0090.
And stuff like that.

In general, I am disappointed that the board take to be used as a bridge, except in the form of a debugger, it is more on what is not capable.
0 Kudos

1,132 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nxl28001 on Mon Jun 22 22:03:23 MST 2015
Hi NXP-Support,

Thanks for the reply. I am using a modified version of the lpc11u6x-usb-i2c-bridge-implementation and could get it working, yesterday.
My colleague had altered the pin number macros to work on a different MCU. Correcting them to right ones for LPC11u24, got the things working.
0 Kudos

1,132 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Jun 22 11:14:37 MST 2015
Hi,
Did you go through below links?
http://www.lpcware.com/content/project/lpc11u6x-usb-i2c-bridge-implementation
http://www.lpcware.com/content/project/lpc-usb-serial-io-library
0 Kudos

1,132 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nxl28001 on Sun Jun 21 23:37:39 MST 2015
Even I am trying to do this using LPC11u24/401 Blueboard with USB-I2C bridge software.
But what I ended up is to have buzzer continuously on. I wish get rid of this sound at first place
0 Kudos