Content originally posted in LPCWare by egnascimento on Thu Nov 05 04:15:08 MST 2015
Hi guys,
I´m trying to get my board with LPC1857 to work with USB example provided on LPCOpen. I´m particularly trying to run CDC_UART and CDC_VCOM examples.
Everything goes well until ret = USBD_API->cdc->init(hUsb, &cdc_param, &g_uCOM.hCdc) where I get a HardFault in both examples.
Is there any way to find out why it is happening? I´m only connect DP and DM pins. Should the not connected pins in my schematic USB0_VBUS and USB0_ID be the reason of this issue?
Thanks,
Eduardo Garcia