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.

USB port

Other Parts Discussed in Thread: TMS320F28335, TUSB3410

Will the USB port work with any USB standard port? Can we send programs from our Android smart phones to the Piccolo? 

  • Charles,

    Yes, all the USB ports on C2000 Tools and Development Kits will work with any standard USB port.

    Yes, you could send a program from an Android device to a Piccolo device, but software has not been written to support this.  There is nothing that prevents you from writing an application to do this.

    Trey

  • hi Trey,

    I want to communicate two piccolo experiment kits each other via USB. How can I realize this? Can you give an example project? Please help me

    Best Regards

    Ergun   

  • Ergun,

    First off you'll need to make sure you are using the F28069U experimenters kit.  This is the only Piccolo device with USB.  Next you ought to be able to load up a host example on one of the boards and a device example on the other (the examples need to have the same class i.e. host_mouse would talk to dev_mouse).  Connect them up and you should see them start talking to eachother.

    I would also recommend you do some reading on USB.  Its a very complex protocol and if you don't understand how USB works you will have a very difficult time implementing your application.  Try reading this for starters:

    http://www.beyondlogic.org/usbnutshell/usb1.shtml

    Trey

  • Trey,

    thank you for your help.

    Problem is that  I have two C2000 piccolo launch pad  F28027 kits and two  Delfino TMS320F28335 kits. I don't  have F28069U experimenters kit right now.

    Also I have to use Delfino F28335 kits in my project.In this way, I guess,I should use SPI to USB converter in my design with these kits.I couldn't see any TI product like MCP2210 (SPI to USB conv) . Is there any USB module  TI product to fix this problem? 

    Ergun

  • Ergun,

    Why do the micros need to talk to each other over USB?  There are much easier ways to get the micros to talk to eachother.

    Trey

  • Trey,

    I mentioned that micros talk each other is just a first step to understand  USB communication .Actually I want to communicate the one delfino micro with an Android Mobile Phone via USB . Also I will use Wi-fi connection Ti-Wi sl module for wifi communication in my project. Communication between android and delfino is realized with wire and wireless by this way.

    Ergun

  • Ergun,

    You should have no trouble interfacing with the LSR TIWI Sl module as it has a SPI interface.  For USB I would recommend you use a USB<->Serial IC to talk to the android phone.  As long as the phone support USB Host and has Android 4 or later this will be the easiest way to talk to the android device over USB.  You could use the TUSB3410 as the USB serial bridge IC.

    Regards,

    Trey

  • Trey,

    I am thankful for your help. I will try this I hope It works fine. Thanks again.

    Best Regards.

    Ergun

  • Hello Trey,

    I'm project friend of Ergun.First of all,I want to thank you to your help.Because of your consider,I'II ask here my question about WIFI SI.If you move the topic msp430,there is nobody to help I know!

    Anyway,

    Here is the problem,

    We are trying to add TIWI SI module on Delfino tms320f28335.In this way, To be familiar,we are doing http://processors.wiki.ti.com/index.php/CC3000_Basic_Wi-Fi_example_application_for_MSP430 to know wifi libraries.We did what exactly it say for CSSv5 but it does not work and gives lots of errors.Why this happens?

    When we  build the files according to the given web page,Basic Wifi Application file gives 57 errors.These are

    #10010 errors encountered during linkin "Basic wifi Application"

    #1034-D unresolved symbols remain

    cannot

    cannot

    .......

     Lots of errors came about unresolved symbols,What should I do?Please let me know what I miss here.I need to solve this problem,I did lots of job on TI,I don't want to turn microchip because of this.Please help me.

    Best Regards...

  • Problem is solved Thx anyway....

    Best Ragards

    Ali

  • Glad you were able to get it working!  Let me know if you have more troubles!

    Trey

  • Have you succed it,I want to let my android phone find my TM4C123GXL ,Can you helo me???  Thank you!!!

  • Can you help me?  here is my problem:

    I want to let my android phone communicate with TM4C123GXL by a usb,Android phone used as usb host,and TM4C123GXL connected to the android phone as a device,could you give me some tips.Thanks!!1

  • Zhiqiang,

    This is certainly possible, but you need to decide how you want them to communicate.  Will the Android phone be host or will the TM4 device be host?  This will help to determine the software work you need to do.  Take a look at the android SDK documentation for the USB APIs as a starting point.  If the android device is host you may have to do very little work to get this working.

    Try reading through this as a starting point:

    https://developer.android.com/guide/topics/connectivity/usb/index.html

  • Trey German,Thanks for your reply!Here is my problem.

    I use my android phone as a usb hots mode,and  i load a program named  as usb_dev_bulk supported by TI in my TM4 board ,I have written a program  running on android phone which can find the device attached to it,but now,I never succeded in finding the device (TM4)  when i connect the TM4 to my android phone by a mini-usb to mini-usb line,My phone is lenovo s890,android version is 4.1.1,i am sure it support the usb host mode!

    so,can you give me some tips,is something i missed or done wrong. very thanks!!!!

  • I'm a little confused.  You say your program can find the device attached to it, but you never succeed in finding the device?

    One thing I would check is the ID pin on both ends of the connection.  This is used by the USB controller hardware to determine which end of the cable it is on (host/device).

  • I sorry for making your confused,my english is not good

    I mean that the program in my phone is used to find the devices attached to it,But when connectting the TM4C123G to ti ,my phone find no device,why my phone can not find TM4C123G is what make me confused!!!

    My phone is lenovo s890 ,android version is 4.1.1,which i set it as usb host mode in my code.

    the  TM4C123G is loaded in a program named usb_dev_bulk provided by TIVA,PC can communicate with it by this program.

    Thank you very much!   

  • Did you write the application running on the phone?  The Android Host APIs must be properly configured before if will find your TM4C device.

  • I have already written a application running on my phone,everything on my phohe is ready,Howerver when i connect the tm4 to it ,nothing is found!

  • Hmmm, I'm not sure I'll be able to offer to much help beyond what I already have.  As long as the PC can recognize the board your phone should be able to as well.  You may want to try posting your question in the TM4C forums as they may have more experience with Android and USB.  You're currently posting in the C2000 forums.

  • I see,Thank you all the same!