There is an LPCOpen example for the LPC1769 xpresso board that has a usbd_lib_cdc.bin example.
Really I am just trying to get a functional virtual com port up and running on an LPC1768, but I am having a lot of trouble. Any suggestions for a working example would be great.
Thanks,
Steve
Also my target is the lpc1768 mbed, not the xpresso board...
Hey @Alice_Yang, thank you for your prompt reply.
The information that everything is the same except for the clock speed is helpful. It points to the fact that my issue is HW based and not SW based.
It is interesting that these parts contain the ROM drivers. This feature is not mentioned heavily in the LPC17xx user manual compared with the LPC15xx user manual.
I did get the LPC1769 LPCXpresso usbd_lib_cdc example to work on the LPC1768 LPCXpresso board. For future readers I will mention what I had to do so you don't need to go through the same pain I did.
1. using lpcopen 2.10 for the LPCXPresso LPC1769 board
2. import the following examples into MCUXpresso IDE: usbd_llib_cdc, lpc_chip_175x_6x, lpc_board_nxp_lpcxpresso_1769
3. add the following line to board.c line 365: " \Chip_IOCON_PinMux(LPC_IOCON, 2, 9, IOCON_MODE_INACT, IOCON_FUNC1);"
I am not sure why this works. The LPCXpresso LPC1769 board also uses the USB_CONNECT pin... But the change enables the USB_CONNECT functionality which will initiate a connection.
The last thing i will mention: in my initial post point 4, the symbols are populated by linking with "libusbd_175x_6x_lib.a"
Hello @LPC-confuso
Yes, LPC1769/lpc1768 have ROM USB driver. LPC1768 also can use it.
The difference between the two chips is the MAX cpu frequency :
BR
Alice