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.
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
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
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)
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.
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