I am trying to use SDK example lpcxpresso54s018_host_cdc_bm from SDK_2_13_0_LPC54018.
The only change that I made to the example is that I changed USB_HOST_CONFIG_OHCI to 0 and USB_HOST_CONFIG_IP3516HS to 1 in usb_host_config.h. That is because I must use USB1 and highspeed.
I have a setup where I have:
-LPC54018 PCB (our own, based on a reference design)
-nRF52 dev kit acting as a CDC device, as described in the readme.pdf of the example.
These devices are connected via USB.
The example app starts ok. I can see these from the LPC54018 PCB console port:
[11:06:14:366] host init done␍␊
[11:06:14:366] This example requires that the CDC device uses Hardware flow␍␊
[11:06:14:397] if the device does't support it, please set USB_HOST_UART_SUPPORT_HW_FLOW to zero and rebuild this project␍␊
[11:06:14:397] Type strings, then the string␍␊
[11:06:14:397] will be echoed back from the device␍␊
[11:06:14:554] device cdc attached:␍␊
[11:06:14:554] pid=0x1015vid=0x1366 address=1␍␊
[11:06:14:554] cdc device attached␍␊
[11:06:14:586] cdc control transfer error␍␊
The problem is "cdc control transfer error", the communication between the boards does not work.
What could be the reason for this?