PORTS Forum
Ports and Interfaces => USB => Topic started by: p3droml on May 26, 2017, 09:37:26 pm
-
Hi everyone!
I am new into the platform, both USB and Android/Linux so I am having a lot of difficulties finding the proper documentation or reference to connect an Android USB device to the Cypress FX3 development board (either 001 or 003, for those familiarized with the chip).
I need to connect the FX3 chip so I can later add a camera via parallel interfacing as well as other devices via UART/SPI, but that's a future problem.
I would highly appreciate some help or guidance here.
Thank you in advance,
Pedro
-
You will have a lot to learn if you are new to USB and to Android.
I recommend Unboxing Android USB:
https://www.amazon.com/Unboxing-Android-USB-approach-examples/dp/1430262087
Also see:
https://developer.android.com/guide/topics/connectivity/usb/index.html
If you are new to USB, I recommend my book USB Complete:
https://www.amazon.com/USB-Complete-Developers-Guide-Guides/dp/1931448280
The FX3 will function as a USB device, so the Android device will need to function as a USB host. The host and the FX3 will need to support the needed USB device classes (still image? video? communications?)
If you have specific questions about your project, please feel free to post them here are we'll try to help.
-
I had already looked at "Unboxing Android USB", however it doesn't covers Android devices functioning as Android USB Hosts. It does only cover the Android Open Accesory. Additionally, the source code is not available at the given repository (https://github.com/apress/unboxing-android-usb (https://github.com/apress/unboxing-android-usb)).
I'll be taking a look at you book. thank you for the help!
-
This might also help as a starting point:
https://stackoverflow.com/questions/42307000/android-usb-host-mode
-
Hi
If you look for how to manage a USB device connected to Android USB host you may need to read chapter 2 Discovering and Managing USB within Android. Latest Android USB host APIs can be read from https://developer.android.com/guide/topics/connectivity/usb/host.html. If you have any specific question problem do let us know
You should be able to download the complete set of examples from APress the publisher's website. If not drop a note at rajaram dot regupathy at gmail dot com.
HTH
Rajaram
-
Thanks, Rajaram!