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.

LMT70EVM: Query comands (serial) for LMT70EVM

Part Number: LMT70EVM
Other Parts Discussed in Thread: LMT70

Using LabVIEW runtime for TI's LMT70EVM dedicated software perhaps was not the best idea considering LVRT huge footprint (a simple app that queries the device / do some LUT based interpolation ends up installing few hundred kb instead of few tens of kb at most). We intend to use LTM70EVM in our little project and we are going to use C# for a minimum footprint so I would very much appreciate if anybody could assist with the serial command string (or the command formatting if binary required) to query the temperature on LMT70EVM and the data format of the response from device (again, if the response is binary not ASCII). Thank you!

  • Hi Sandrino,

    Let me look into this.

    Kelvin
  • Thank you Kelvin! Any hint would be much appreciated. All we need to know is how to start/stop acquisition and read the received values. I suppose the values would come as a stream of (unsigned?) 16bit values representing the temperature in counts. To convert to volts we would need to know the input range of A/D converter. Once this is done I suppose we will need then take these values and convert them to temperature using LUT (or 2nd grade equation) but this would be the easy part.
  • Sandrino,

    Since you want to bypass the LV GUI, I would recommend using a Launchpad like the MSP430F5529LP to sample the LMT70 analog output. Once you have that going you can easily use the Launchpad to interface with your GUI via a serial COM port. They have plenty of driver examples available for using the ADC with the Launchpad.

    -Kelvin
  • Thank you very much Kevin for the suggestions. That is absolutely correct. We just can not use LV for such small projects. We will look into MSP430F5529LP. Otherwise we have plenty of high performance full blown 24bit DAQ modules to work with but we are still having some difficulties on consistently installing such a small capsule like LMT70 on the custom shape PCB we would like to use. Nevertheless, I believe we have figured out (sort of) the serial sequence to start / stop LMT70EVM and although we don't know why this done the way it is done I think for now we are good. I really like the fact that once started the LMT70EVAL keeps updating the port with fresh values so you don't have to send extra commands to query the value and all you have to do is read the last value from the serial buffer when you need it. Smart approach so you don't have to bother with synchronization. When you need it the latest available data is always there.
  • We finally found all the information we need in host_interface.c and h files that come with the LMT70EVM firmware package. The information was there we just didn't know where to look. I believe the issue is now formally close.