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.

TMS320F28379D: TMS320F28379D: USB Communication between 2 F2837xD control CARDs

Part Number: TMS320F28379D

Hello everyone, 

I'm working on a project involving USB communication between 2 F2837xD control CARDs. I'm really new to this topic and I really need some help on developing the system and some examples on how to implement a USB communication system. My idea about the system is as follow: 1 control CARD acts as USB Host, which continuously sends predefined data, including a string and some variables ( for eg: x = 5, y = 20). The other control CARD acts as USB Device, waiting for Host's signal and receiving data from USB Host. The USB Device then modify the string ( for eg: reverse the word), and do some operation on the variables ( for eg: x+ y) and send back to USB Host.

The purpose of this application is simply to verify that there is a communication between 2 boards. I have been going through the C2000 Ware examples, particularly the "sub_dev_serial" example. However, I can't really get the idea of how to modify this program to make it suit my application ? 


Could you please point out some ways to help me on this ? 

Thank you very much in advance, 

An. 

  • Hi Thuang,

    The usb_dev_serial example basically sends data to and from the USB host system.
    You are trying to do the same thing using two control cards. You need to break the example.

    I can also try and let you know how to work on this.

    Regards
    Harshmeet
  • Hello Harshmeet, 

    It would be very appreciated if you can help me try working on this problem. I'm not really good at programming and I think this is quite a complicated issue. 

    Thanks in advance,
    An. 

  • In order to do this, one USB device would need to be a host and the other the device.

    We currently do not support this. In the future we may have both host bulk support and device bulk support. But this has not been decided and there is no timeline for this.

    If you are wishing to do this, it would be easier to use CAN or SCI or I2C or some other serial communication peripheral on the device.

    Regards,
    sal