How to transmit & receive data via USB_High speed(U2) & USB_Full speedU3 PORTS in LPC54628(OM13098)

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

How to transmit & receive data via USB_High speed(U2) & USB_Full speedU3 PORTS in LPC54628(OM13098)

1,935 Views
Karthikeyan_J
Contributor II

Hi

I am Karthikeyan J

How to transmit and receive data via USB_High speed(U2) & USB_Full speed(U3) PORTS in LPC54628(OM13098).

Through Register level programming.

i wanted to transmit and receive data... i used to see it through  Docklight.

i done a register level programming and i dumped it through Debug_USB,

but when i removed it and connect it to USB_High speed(u2) port means it was showing an error that (the communication port could not be opened. Device not available).

even i connected two USB cables for both usb_debug port and usb_high speed port, but the usb_High speed port is not considered at all.

so my question is , How to enable this USB_high speed port and how to transmit and receive data through it.

How to program it.

with regards

karthikeyan.

0 Kudos
Reply
5 Replies

1,926 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

you want to send out data via USB1 to docklight but failed.

Do you config USB1 CDC?

when you connect two USB (one for debug, the other for USB1), can your docklight recognize both of them?

Please verify when two USBs connected, make sure the docklight received data are from USB1.

 

Have a nice day,

Jun Zhang

1,917 Views
Karthikeyan_J
Contributor II

Hi,

Thank you for your reply,

sending or receiving via USB1 to docklight is failed.

no i didn't use config USB1 CDC.

when i am  connecting two USB (one for debug, the other for USB1),only the debug port is get recognized, but the USB1 port is not get recognized.

Thanking you,

Karthikeyan.J

 

0 Kudos
Reply

1,909 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

When you use on-board USB debug, VCOM function provided by the on-board Debug Probe which is not available when using an external debug probe. That's why you can send out data to docklight through it. 

For on board FSUSB and HSUSB ports, user needs to refer sdk demo usb_device_cdc_vcom set the related USB interface as VCOM (CDC class)

 

1,895 Views
Karthikeyan_J
Contributor II

Hi Zhang,

I tried the program usb_device_cdc_vcom, the code runs successfully, but the device manager could not able recognize the port and i attached the error messages, please do send me the solution as soon as possible.

suggest a driver to install.

Thanking you,

Karthikeyan.

0 Kudos
Reply

1,832 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

I ever tested this demo. I can confirm there is no issue on it.

On my 64bit win10,windows can find cdc driver automatically.

On my 32bit xp, need to install driver from inf folder inside the demo code.

So If your windows can't recognize usb device, install driver from inf folder manually.

 

Have a nice day,

Jun Zhang