We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Does anyone has connected an LPC2387 acting as a CDC to an Android Tablet USB port, estabilishing a communication link between them ?
Is there a specific driver for this ?
Android 3.1 and later version works as a USB host (if your tablet/phone would support this capability). Using USB-Host APIs, you may run a CDC device on the port.
In this blog, the author has made an application which runs a FTDI USB-UART, using USB-Host APIs. " href= "http://android.serverbox.ch/wp-content/uploads/2011/09/FTDI_USB.tar.gz"> android.serverbox.ch/.../FTDI_USB.tar.gz
FTDI_USBActivity.java - Change VID/PID to your device
Line #55 private static final String VID_PID = "0403:6001";
- Delete FTDI-specific control transfer at these lines
Line #166 conn.controlTransfer(0x40, 0, 0, 0, null, 0, 0);//reset conn.controlTransfer(0x40, 0, 1, 0, null, 0, 0);//clear Rx conn.controlTransfer(0x40, 0, 2, 0, null, 0, 0);//clear Tx conn.controlTransfer(0x40, 0x03, 0x4138, 0, null, 0, 0);//baudrate 9600
That's all ;-)
Tsuneo