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.

MMWAVE-SDK: IWR1642BOOST guide to connecting to a stand-alone processor rather than a laptop

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

Hi There,

Sorry for the really basic question, but I've IWR1642BOOST and am wanting to connect to to an Arduino or Pi or other such processor. How do I go about this? All the guides I see explain how to get it running on a laptop (which I've done), but I now want to integrate it with a standalone project.

Regards, 

Karl

  • Hi Karl,

    All of the labs on the TI-Resource Explorer interface with a laptop because the labs are provided for evaluation purposes. None of the labs have been designed for an external processor, although it is definitely possible you will just have to interface it with appropriate protocol.


    Cheers,
    Akash
  • Hi Akash,

    Thanks for that. So where would I find resources to show me how to interface with the appropriate protocols, and what those protocols are? 

    Regards, 

    Karl

  • Are you planning to program your own application - what is the standalone processor? Can't you do UART SPI I2C?
  • I was wanting to use it as a longer range detector (for detecting the movement of large animals in a field) so could use one of the existing setups, but then want the output sent to a (for example ) Raspberry Pi or Arduino. I'm happy for it to be a TI processor though if there's one that integrates better with the IWR1642. I'm sure I could use UART, SPI or I2C if I can find some manuals that describe how to configure it but tht's been part of the problem; I haven't been able to find anything other than connecting it to a laptop. 

  • Hi Karl,

    Are you aware that IWR1642 features an on-chip Arm Cortex R4F core and integrated C674x DSP? All of the radar processing is performed on the IWR1642 and we simply use the laptop as a visualizer for this. For virtually all of the demos the post-processed data is sent out over UART.

    Perhaps if you explained what you are trying to do at the post-processing level then we can keep this discussion going.


    Cheers,
    Akash
  • Hi Akash,

    I'm trying to detect the movement of animals in a paddock; preferably being able to detect when they're moving towards the sensor rather than away from it so that I can then take an action as required. I'm currently doing this with a range of other sensors such as LIDAR. At the moment those other sensors are used as digital or analog inputs to a Raspberry Pi or Arduino. I'm wanting to use the IWR1642 as another sensor, although I'm happy for it to also be the MCU if needs be. What I'd like (I'm assuming) is for the IWR1642 to be able to send a signal over the UART letting me know (preferably) details such as distance to a detected animal, and as to whether it's moving towards or away from the sensor.

    Regards, 

    Karl

  • Yes, it can do all that, you need to download and read documents to program what you need to achieve in IWR1642 using C in Ti RTOS, you can find most of the documents under www.ti.com/.../mmwave-sdk

    I assume you are expecting this to be a sensor sending something similar to an ON, OFF state to your arduino sketch. It can become such a sensor after you fully program the IWR1642. There are examples available which you can download from ti resource explorer.
    dev.ti.com/.../
  • Thanks Krishna, is there a more specific example available other than pointing to the SDK URL? I've gone through a lot of that documentation and haven't found what I was looking for, hence the question on this forum.

    I was hoping for more than just the sensor sending on/off state and was hoping for distance/direction vectors for each of the detected objects, but I don't know whether this is possible and haven't seen an interface specification. Again this is the sort of information I'm looking for and hence the question posed here.

    The TI resource explorer certainly looks promising and am going through it at the moment. If anyone knows though as to whether there are specific experiments/labs in there that relate to what I'm trying to achieve here (and which don't just use the PC hosted tools), I'd be grateful.

  • Hello Karl

    Those vector data which you require is sent by all those applications you see in resource explorer, by using UART - you have to read the C code of the labs to understand the algorithms how it is done. Those C code run inside the chip and not on PC.

    The PC is only used to display the data and no computation is done on  it - if that is what you want to know.

  • Hi Krishna,

    If the PC's used to display the data, what API or other protocol is used to transfer the information over the UART? How can I find out what format I need to expect the data to be arriving in?

    Regards, 

    Karl

  • That is up to you the programmer who is going to program the code on the SoC! I suggest you to read the code of any of the labs. From what I infer you have a long learning curve.

    These are the steps you may need to follow, to get where you want to reach

    1.  try to learn about Ti RTOS .

    2. Try Programing in C using the mmwave sdk in Ti RTOS

    3. Create an algorithm for detection tracking etc based on the example labs given. (You may need to learn few other things about Radar)

    4. Send that final data to where ever you want using UART. When you resolve the first 3 steps you will not be needing help with the 4th step which is very fundamental or basic.

    I can only wish you good luck with your endeavour.

     

  • Yeah, OK. So this is what I was originally trying to find out. Is any of this available as API's or existing examples and algorithms, or do I need to write it myself. It sounds like I'm going to have to write it myself.