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

Other Parts Discussed in Thread: LAUNCHXL-F28069M, CONTROLSUITE, C2000WARE

您好,我在使用CCS9.0调试官方例程 usb_dev_bulk,请问有什么需要设置或连接的吗?

如果没有需要设置和连接的地方,调试程序时有什么注意事项吗?

期待您的回复,谢谢

  • 关于例程的功能描述我看的不是很明白“UART0连接到FTDI虚拟COM端口,运行速度为115,200,8-N-1,用于显示来自该应用程序的消息”。在这方面是新手,请知道的大神讲解一下,谢谢
  • 根据你说的提示,板子把FTDI的虚拟串口接到芯片的UART0上了,串口的波特率设置为115200,8bit数据,无校验,1停止位的时候,就可以使用FTDI的虚拟COM口来调试数据了,本质上用的是芯片的UART0。
  • 请问您现在使用的软硬件具体型号是什么?例程的话,能否给出详细路径?

  • 您好,非常感谢您的解答,谢谢
    只是我还有一些困惑,1。首先,我使用的是LAUNCHXL-F28069M开发板,可是我查找的资料没发现UART0表示芯片上的哪个引脚?
    2。其次就是CCS有使用Terminal来进行串口调试,可是我昨天测试时,串口窗口没反映,没有数据出来,一片空白。ccs怎么使用串口终端调试呢?
    3。 例程usb_dev_bulk是批量传输,主机和设备怎么设置调试?
  • 您好,我使用的是LAUNCHXL-F28069M开发板,例程是C2000》device-support》F2806X 》examples》C28》usb_dev_bulk,调试时需要哪些设置,怎么操作呢?期待您的回复,谢谢
  • 在线等,急急急,谢谢
  • C:\ti\controlSUITE\device_support\F2837xD\v210\F2837xD_examples_Cpu1\usb_dev_serial

    建议您用这个例程,该例程就是把USB模拟成串口,电脑装驱动后直接就是串口了,直接串口助手就可以实现通信。
  • 我手边的launchpad的坏了,暂时没有办法实验。但是根据我的了解launchpad不能完成此例程,controlcard才可以
  • 请您参考一下

    e2e.ti.com/.../433646

    You can find the driver INF file at C:\ti\controlSUITE\device_support\f2806x\<version>\MWare\windows_drivers
    Open device manager and install/update new software and browse to the inf file.

    In order to use usb_bulk_example you need to open and build the tiusbdll Visual Studio example in controlSUITE. Then you can build and run usb_bulk_example.
  • 1.根据原理图上显示,串口是通过一片SN74LV4052APW,再通过ISO7240和ISO7231,连接到FTDI的。原理图如下图所示:

    2.使用串口的时候要注意跳线的连接,只要在CCS的Terminal中选择好通讯方式,编码方式,波特率那些应该就是可以的。或者你先用电脑的串口软件试试是否可以通讯上。

    配置截图如下图所示:(我这里用TM4的板子做的示例)

    3.没有搞过。

  • 以28377开发板为例,下面是详细的步骤

    The "usb_dev_bulk" example provides a generic USB device offering simple bulk data transfer to and from the host. The device uses a vendor-specific class ID and supports a single bulk IN endpoint and a single bulk OUT endpoint. Data received from the host is assumed to be ASCII text and it is echoed back with the case of all alphabetic characters swapped.

    Follow the following steps to run the example

    1 Load the binary and run the example.
    2 Connect the USB Cable from your PC to the USB Micro Slot in the Control Card on top.
    3 Open a Serial Terminal with the settings 115200 Baud 8-N-1 for the XDS 110. It will show if the device is connected or disconnected.
    4 Copy the tiusbdll.dll from the {Latest C2000Ware Package}/utilities/tools/f2837xd/tiusbdll/Release folder to "usb_bulk_example" application project folder
    5 Open the windows application ""usb_bulk_example" in {Latest C2000Ware Package}/utilities/tools/f2837xd/usb_bulk_example.
    6 Enter a string which will be the bulk data sent and the XDS 110 Com Port will print the length of the string sent.
  • 3000.Doc1.docx

    您好,我根据以上步骤调试板卡LAUNCHXL-F28069M的 "usb_dev_bulk"官方例程后,执行最后一步(第6步)时, COM口没接收到信息,请问是什么原因?