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.

Iinux USB driver for CC2538

Other Parts Discussed in Thread: CC2538, Z-STACK

Hi,

Is there any linux USB driver for CC2538, we are using ubuntu12.04 LTS for developing.

Best

Xu  Guo

  • Hi,

    You shouldn't need a driver for your Linux machine to recognize the CC2538 as long as you have enabled HAL_UART_USB in the CC2538 firmware. After connecting the CC2538 to your machine through USB the CC2538EM should appear under /dev/ttyACMx where x is the number assigned to your device.

    regards,
    Hector
  • Hi Hector,

    So what is the protocol for this kind USB device, which library or API can be used to communicate with  /dev/ttyACMx?

    Regards,

    Yongcan

  • If you use ZNP on CC2538, it is MT command. You can find Monitor and Test command documand under Z-Stack document folder after you install Z-Stack Home 1.2.1.
  • Hi Yongcan,

    We have just released a new ZNP host framework that runs in any POSIX compliant OS as well as in TI-RTOS, you can run it on a Linux machine or on a MCU running TI-RTOS and it can be easily ported to any other OS. This framework is built in C and has an easy to use API to exchange MT commands with the EM, you don't need to write your own drivers or libraries everything is already included in the framework all you have to do is write your application. Also it comes with sample application that will help you understand how to develop your own application. One of the examples is an interactive command line program that lists and lets you use all the available MT commands. You can find step by step instructions on how to use the framework in the design guide document at www.ti.com/.../TIDC-ZNP-HOST-SW3 and you can get the framework from this git repository git.ti.com/.../znp-host-framework

    Hector