11 years, 1 month ago.

Disconnection in USBHID

I am using the USB HID of LPC1768 for my application. Actually there are some high power relays activated by PC through the USB HID protocol. As I face with EMC and EMI issues sometimes I can not communicate to the mbed and no VID and PID appear on the PC side. I am looking for some embedded USB HID codes that I can configure LPC1768 for the PC again without resetting the processor.

Does anyone have any solution for that? Any help is highly appreciated

1 Answer

11 years, 1 month ago.

Hi, I use LPC1768 USB in CDC mode, and allso swich 2x4kW PSU units through power relays. I had the same problemsin the beginnig , but I solved them with appropriate shieldig. I put the MBED and all the electronics into a grounded metallic case and used a good piece of shielded USB cable . On the MBED side I mounted a ferrite bead. Now it's being 2 years since the system works without any interruptions 24/7. You should consider using allso some TVS diodes.

RGDS