We are using OEM QVGA BaseBoard (LPC2478 based) by Embedded Artists as a USB host. Our slave is a Kleindiek Nanocontroller running on 115200 baudrate. The Controller requires no special protocol to send it data. The PC has ben used to send commands (as ASCII characters )to the NanoController using MATLAB as a platform.
Our Project is to make the LPC2478 host transfer an array of 8bit ASCII characters to the NanoController.Using the NXP USBHostLite program we have configured our microcontroller as a host.The host gets initialized. By definition we feel that the Nanocontroller falls under the category of Communication Class of Devices for USB.
Following are our queries.
1) how do we modify the parsing function in the USBHostlite program to parse a CDC descriptor. 2) Once Parsed and our device enumerated, can we simply send a string of ASCII charcters using the WriteLE16U function provided in the NXP USBHostlite program
"...we feel that the Nanocontroller falls under the category of Communication Class..."
"...The Controller most probably needs a BULK transfer."
Feelings and "most probably" are not a good basis for design - you really need to get hold of proper documentation for this thing and find out for sure!
Have you contacted the manufacturer?
We have managed to enumerate the third party device. However we are yet to transfer the ASCII characters from the Microcontroller USB port to the NanoController USB port. The functions which describe themselves as writing to the endpoint (for eg. WRITE16LEU ) alone are not helpful. Could anybody suggest how we can write to the NanoController. The Controller most probably needs a BULK transfer.
View all questions in Keil forum