Connect WiFiDipCortex to a LPC1769 running LpcNxpUsbLib
Posted: Sun Jul 20, 2014 5:54 pm
Hi,
I would like to control a WiFiDipCortex from a LPC1769 based board using its USB port as a host port.
I tried using a CDC Host class impelementation but seems that it doesn't recognize WiFiDipCortex also if USBView and Win7 recognize it as a CDC device.
I think to have problems on the Endpoints, these are those reported by USBview:
Endpoint Descriptor:
bEndpointAddress: 0x81 IN
Transfer Type: Interrupt
wMaxPacketSize: 0x0010 (16)
bInterval: 0x02
Endpoint Descriptor:
bEndpointAddress: 0x02 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x82 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
and this is the standard CDC host descriptor:
USB_ClassInfo_CDC_Host_t VirtualSerial_CDC_Interface = {
.Config = {
.DataINPipeNumber = 1,
.DataINPipeDoubleBank = false,
.DataOUTPipeNumber = 2,
.DataOUTPipeDoubleBank = false,
.NotificationPipeNumber = 3,
.NotificationPipeDoubleBank = false,
.PortNumber = 0,
},
};
seems to me they are not compatible but I am not an USB expert.
Did anyone any test to connect WiFiDipCortex to a LPC1769 using its USB port in host mode?
I would like to control a WiFiDipCortex from a LPC1769 based board using its USB port as a host port.
I tried using a CDC Host class impelementation but seems that it doesn't recognize WiFiDipCortex also if USBView and Win7 recognize it as a CDC device.
I think to have problems on the Endpoints, these are those reported by USBview:
Endpoint Descriptor:
bEndpointAddress: 0x81 IN
Transfer Type: Interrupt
wMaxPacketSize: 0x0010 (16)
bInterval: 0x02
Endpoint Descriptor:
bEndpointAddress: 0x02 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x82 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
and this is the standard CDC host descriptor:
USB_ClassInfo_CDC_Host_t VirtualSerial_CDC_Interface = {
.Config = {
.DataINPipeNumber = 1,
.DataINPipeDoubleBank = false,
.DataOUTPipeNumber = 2,
.DataOUTPipeDoubleBank = false,
.NotificationPipeNumber = 3,
.NotificationPipeDoubleBank = false,
.PortNumber = 0,
},
};
seems to me they are not compatible but I am not an USB expert.
Did anyone any test to connect WiFiDipCortex to a LPC1769 using its USB port in host mode?