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.

IWR1443BOOST: capture the range data from IWR1443BOOST via serial port

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: MMWAVE-SDK, IWR1443, TIDEP-0091

I'm trying to capture the range data from IWR1443BOOST by an  external processor(such as MSP430). But I am new to IWR1443BOOST. 

How can I get range data via serial port ( SPI ?CAN? )on IWR1443BOOST ?

I would appreciate it  if you can describe Detailed Read Flow or Detailed Operating Steps?

Thanks 

-Will

  • Hi Will,

    This feature is not supported by current mmWave-SDK version but you can modify the code to send object data over SPI/CAN. Let me give you steps and location in the source which would help you to make it work.

    • Add SPI handle 'SPI_Handle loggingSpiHandle;' to MmwDemo_MCB structure definition (mmw.h)
    • Take the reference from SPI test (ti\driver\spi\test\  xwr14xx\  \common) for SPI init, open and write functionalities.
    • mss_main.c:
      • Initialize SPI 'SPI_init()' under function 'MmwDemo_mssInitTask'
      • Enable output control for SPIA 3-pin Mode, 'SOC_SPIOutputCtrl(socHandle, 0U, 1U, &errCode)'
      • Use  'SPI_Params_init(...)' API tp setup SPI parameter as per your external processor capability.
      • Use 'loggingSpiHandle = SPI_open(...)' API to open SPI communication.
      • Function 'MmwDemo_transmitProcessedOutput' is being used currently to send object data over UART which you can amend to send data over SPI.
      • Use 'SPI_transfer(...)' API to write data to SPI slave/master.
    • For all SPI API call please refer SPI test application where you need configure and use SPI as slave/master based on your external processor SPI type.

    To send data over CAN you need to refer test application and do the changes as per above-mentioned steps.

    Regards,

    Jitendra Gupta

  • Hello Jitendra

    It's so nice of you to answer my question.
    I will follow your steps to have a try and expect further help from you.

    Regards
    -Will
  • Also, take a look at the Level Sensing demo:

    http://www.ti.com/tool/tidep-0091

    It shows how to use an MSP432 to control the IWR1443 and to pass data using SPI.

      -dave

  • Hello Dave

    Thank you for your kind suggestion.

    I have read <TIDEP-0091.pdf > for details and had several questions below for seeking advice from you.

    (1) How can I know that executable file built in IWR1443 would play IWR1443 the best performance(best range measurement)?

    (2) As you know, the results are output to the demonstration UART terminal along with the range data.

          How can I know the Specific data format transferred between UART Terminal and MSP432 UART so I can design my own upper monitor or transfer the data or store the range data?

    Best regards,

    -Will

  • Hi Will,

    >How can I know that executable file built in IWR1443 would play IWR1443 the best performance(best range measurement)?

    First, you must flash an image, there isn't a built-in MSS image that I know of.  As far as "the best performance", you must decide for yourself what your requirements are, then design a chirp configuration to match those requirements.  You can design for range, velocity, power, etc.  A chirp configuration tool is here, for normal types of configurations:

    https://dev.ti.com/gallery/view/1792614/mmWaveSensingEstimator/

    >How can I know the Specific data format transferred between UART Terminal and MSP432 UART

    TIDEP-0091 only outputs via SPI to the MSP432.  The data format and size are a simple structure that are common to both devices.

    If you want to play with chirp configurations, I would recommend loading the mmw demo and using the demo's visualizer.  It would be much easier.