This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129x communication with Android via USB

Other Parts Discussed in Thread: TM4C129DNCPDT

I am using TM4C129DNCPDT in my device.

Currently i am using USB for communicating with PC.  I am using USB as a Device and virtual serial port.

Now i want to develop configuration software on Android where android device as Host and my instrument as device.

So is there any driver library or example code available for the same?

i found some example code using FTDI chips. So is the same example works for my case?

  • Hello Ritesh,

    There are no android drivers yet as part of software offering.

    Regards
    Amit
  • Ritesh_Panchal said:
    Now i want to develop configuration software on Android where android device as Host and my instrument as device.So is there any driver library or example code available for the same?

    Android's USB host stack provides "generic" driver interface, like libusb.
    And then, you don't need any specific "driver" to communicate with CDC, HID and generic "bulk" devices.

    You may start with "missile launcher" HID example on Android SDK (Android Studio).
    In this post, I wrote the outline to make this example work with "usb_dev_bulk" Stellaris example.
    http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/t/324922

    If your CDC device doesn't connect to any UART on the chip, you don't need to put any class-specific request, which sets up UART. Just exchange data over the bulk endpoints, like above "usb_dev_bulk" case.

    You may communicate with FTDI chip in the same way. But FTDI's protocol is more complicated than plain CDC. And then, dedicated "driver" makes the coding easy.

    While you are developing / debugging Android USB application,
    "ADB over WiFi" tip makes your life easy.

    To set it up, for example,
    http://stuffandtech.blogspot.jp/2012/03/android-quick-tip-adb-over-wifi.html

    Tsuneo