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.

IWR1642: API SW interface

Part Number: IWR1642
Other Parts Discussed in Thread: MMWAVE-SDK

Hi,

I am a SW developer and I'd like to embed IWR1642 radar sensor in one of my applications.

I am looking for some .NET API for interfacing my application with the sensor (currently for simply sending sensorStart/sensorStop commands and for reading measured data streaming), is there anything right for this need? In case the answer is no, is there a protocol document describing how to write/read directly to CFG/DATA ports?

Thanks,

Giacomo

  • Hi Giacomo,

    I am not to familiar with .NET API interface so I am doubtful but if you want to elaborate more on the driver can look into this more.

    The CFG and Data ports are each UARTs that interface exactly with the device. For more information on these I would recommend looking at each of the index.html Doxygen's in the UART (under drivers) and CLI (under utils) folders. If you need help accessing the doxygen just let me know.

    Also please see the full driver list in the mmWave-SDK User Guide on Page 53.

    Regards,

    AG

  • Dear Akash,

    thanks for the reply; indeed the Doxygens seem to provide very detailed information.

    Currently I am able to configure and send command to the device through CFG port, and read incoming data through DATA port.

    I have just a final doubt: how can I convert X/Y/Z uint16 data to meter coordinates? Currently I am using these formulas (SDK v2.0.0.4):

    X_meter = X_uint16 * 1.0 / (1 << QFormat)

    Y_meter = Y_uint16 * 1.0 / (1 << QFormat)

    Z_meter = Z_uint16 * 1.0 / (1 << QFormat)

    but in this way I will never get negative X_meter for example...am I missing something?

    Regards,