Author Topic: Android USB Interfacing - Cypress FX3  (Read 12312 times)

p3droml

  • Member
  • ***
  • Posts: 2
Android USB Interfacing - Cypress FX3
« 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

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Android USB Interfacing - Cypress FX3
« Reply #1 on: May 27, 2017, 12:56:16 pm »
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.

p3droml

  • Member
  • ***
  • Posts: 2
Re: Android USB Interfacing - Cypress FX3
« Reply #2 on: May 30, 2017, 01:26:02 pm »
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).

I'll be taking a look at you book. thank you for the help!


Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Android USB Interfacing - Cypress FX3
« Reply #3 on: May 31, 2017, 09:24:49 am »

Rajaram Regupathy

  • Member
  • ***
  • Posts: 2
Re: Android USB Interfacing - Cypress FX3
« Reply #4 on: May 31, 2017, 11:26:05 pm »
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
« Last Edit: June 01, 2017, 10:26:15 pm by Rajaram Regupathy »

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Android USB Interfacing - Cypress FX3
« Reply #5 on: June 01, 2017, 10:15:31 am »
Thanks, Rajaram!