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.

Linux/TMP117EVM: Unable to find port to receive data/sensor not outputting data

Part Number: TMP117EVM
Other Parts Discussed in Thread: USB2ANY, TMP117

Tool/software: Linux

Hello, I'm currently working with a Technologic Systems SBC (TS-7970) in Linux and I'm trying to receive temperature data from the TMP117EVM through this Python program:

The program itself works, but I have yet to identify which device path/serial port name to use to receive the data correctly. Here is the result of the command ls /dev:

Here is the result of the command lsusb -v:

And in case it helps, the result of dmesg after plugging in the device:

I'm also assuming that the TMP117EVM can send data to the TS-7970 without the use of the GUI. Thanks!

  • Hi Steven,

    The TMP117EVM hardware and GUI software are supported under Linux as a GUI Composer application. You can import and modify GUI Composer applications at dev.ti.com. We don't provide support for accessing the EVM hardware in a different manner. See this link https://dev.ti.com/gallery/info/THSApps/TMP117EVM_GUI for GUI Composer import or source download links.

    Thanks,

    Ren

  • Hi Ren,

    is it possible with the help of GUI Composer to extract the basic USB transfers needed for the TMP117EVM operation via the usb2any interface?

    I'm a bit (may be quite) disappointed that TI only supports only GUI composer activities. (It may be of interest for you, that even the TMP117EVM GUI supplied by the Gallery doesn't work properly on my Win7 laptop. Some register contents, e.g.,  cannot be changed more than once)

    Hence, for many applications of the EVM using the USB connection  one simply wants to get rid of of the GUI overhead. I think of small gadgets based, e.g.,  on the rapberryPi, where neither the TMP117EVM GUI nor the GUI Composer can be easily implemented at all.

    I have similar (private) interests as Steven Beering and already managed to write/read to/from the EVM via USB and Python. To implement proper EVM operation, however, further time consuming wireshark analyses would be required.

    I think, a working example of  basic TMP117EVM operation based on python or c code would stimulate a lot of demand for these devices in the ee community.

  • Hi Franz,

    As a web application, GUI Composer's source code can be viewed by anyone. After opening the TMP117EVM GUI, try pressing F12 to open your browser's development tools, and search for the file USB2ANY.js. All of the protocol should be described there, but there is another layer of software beneath it which interacts with the hardware. This is because your browser isn't allowed to access your computer's resources for security reasons. The TICloudAgentBridge browser extension:

    • is required for GUI Composer and EVM operation
    • provides this lower level of access to your computer's USB ports
    • is specific to your operating system
    • is not open source

    Please start a new E2E thread with details of your issues with the TMP117EVM GUI. We would be happy to address them there.

    Our support teams are product-focused. When myself or my colleagues reply to your post, you are getting the best possible technical support for the TMP117 device. That makes us TMP117 experts and not raspberryPi, Python, USB, or even GUI Composer experts. With that in mind, I highly recommend that you disconnect your TMP117 from your TMP117EVM, and interface it directly with the I2C bus on your raspberryPi. We have a YouTube video which discusses doing exactly that with the arduino platform. https://www.youtube.com/watch?v=bDsVtriitdU We're also working on releasing a tool that will generate C source code for our most popular temperature sensors. Keep in mind, this is code for the TMP117 itself, not the TMP117EVM. I'm attaching an example of the output from this tool for TMP117.

    Thanks,

    RenTMP117-src.zip