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.

CCS/IWR6843: What is the structure of a program to use the IWR6843

Part Number: IWR6843
Other Parts Discussed in Thread: MMWAVE-SDK, IWR1443

Tool/software: Code Composer Studio

I am a little confused by the documents in the mmwave_sdk.

Is there a document of resource that lays out the structure of a program running on a host microcontroller (Like the MSP432)  that initializes the IWR6843, connects to it, configures it and takes the data from it?

I think that the information is in the SDK documentation, but I am having trouble figuring out how to put it all together. Does TI have any higher level documents that lay it out for me?

Thanks.

  • Hi Derek,

    Please refer to the SDK demo doxygen documentation for implementation details of the 6843 out of box demo chain. You'll need to install the latest MMWAVE-SDK 3.2.0.4, after which you can find the html documentation at the following location: 

    file:///C:/ti/mmwave_sdk_03_02_00_04/docs/mmwave_sdk_module_documentation.html

    You can check either the xwr64xx or xwr68xx demo chain. The xwr64xx chain runs on the 6843 and uses only the Cortex R4F and Hardware accelerator while the xwr68xx chain uses the on-chip c674x DSP as well.

    The demo communicates with the external world over two UART ports. The control UART port is used to send configuration commands to a CLI exposed by the demo application, while the data UART is used to send point cloud information out to a visualizer (mmWaveDemoVisualizer). We don't have an example for 6843 which shows connection with an external microcontroller or application processor but any processor which can communicate over UART should be able to communicate with the OOB demo. Please refer to the following thread for a similar discussion:

    Linux/IWR1642BOOST: read data with raspberry

    Regards

    -Nitin

  • I cannot use the uart ports, I need to connect the 6843 directly to the SPI ports of an MSP432 in order to get the data rate I need. Do you have any examples that are relevant to this use case?

  • Hi Derek,

    We don't have an example for 6843 to demonstrate SPI based integration with MSP432, but we have TIDEP-0091 which is based on IWR1443 and demonstrates one way SPI data communication from IWR1443 to MSP432 (for sending detected peak information). This design is available only for IWR1443 but it might serve as a reference/example for what you are trying to achieve on the SPI side.  

    Please also refer to the MMWAVE-SDK SPI driver test to understand the SPI configuration from the IWR side. The driver test is available in:  C:\ti\mmwave_sdk_03_02_00_04\packages\ti\drivers\spi\test.

    Regards

    -Nitin

  • Hello,

    The examples you provide don't answer my question.

    I need some help in implementing the MMWAVE SDK API in my application.

    Do you have an example of code that initializes and uses API in a real world case? For any of the sensors in your lie up?

  • Hi Derek,

    Besides the SPI driver tests, we don't have an example code for IWR6843 to demonstrate SPI communication with an external device/micro controller. The closest mmWave->MSP432 SPI communication example is the power optimization for level transmitter reference design TIDEP-0091 which shows one way SPI communication from mmWave to MSP432.

    Your objective mainly consists of two parts:

    1. Being able to receive configuration and send data from mmWave Sensor using SPI: For this part, the SPI driver examples demonstrate the SPI driver API usage and you will need to integrate this in the mmw demo. We don't have an example that already does this but can provide support with specific questions.
    2. Being able to send and receive data (mmWave sensor configuration and data) from MSP432 using SPI: Please post questions in this regard on the MSP432 forum as the experts there could refer you any existing examples for general SPI data transport and support specific questions. 

     Regards

    -Nitin