Content originally posted in LPCWare by capstone on Mon Jun 23 13:33:50 MST 2014 Previously posted in the LPC Open forum and closed as in the wrong forum.
LPC Open v2.10/LPCXpresso v7.2.0/Windows 7/64
Has anyone had success connecting the USB with usbd_lib_cdc built on the Xpresso Base Board?
If so, will you please share the details/changes/file.inf etc.
Also, I have a question about the underlying library usbd_175x_6x_lib: is there any reason that this library would not support an alternate build for the Code Red RDB1768R2 Development Board?
Thanks!
Resolved.
After much searching I have resolved the connection problem.
First of all, it appears that the USB_CONNECT is not biased by the v2.10 lpc_board_nxp_lpcxpresso_1769/board.c/Board_USBD_Init procedure to make the usb visible to the host.
Adding this line provides the bias to the D+ signal line:
void Board_USBD_Init(uint32_t port)
{
/* set a bias to this pin to enable the host system to detect and begin enumeration */
Chip_IOCON_PinMux(LPC_IOCON, 2, 9, IOCON_MODE_INACT, IOCON_FUNC1); /* USB_CONNECT */
The next may or may not be an issue, depending on the target system. There was no INF file matching the requirements of VID = 0x1FC9 and PID = 0x83 found in the lpc-ucom-vcom.inf file. The following link provides several development interface files: