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.

IWR1443: How to improve the measurement speed of IWR1443:---Prohibit power ON/OFF--

Part Number: IWR1443

Please tell me how to improve the measurement speed of IWR1443.

(1) Speeding up IWR1443 measurement: Elimination of power ON/OFF
We needed even faster measurements. Currently, it is 1 time / S, but in order to measure at high speed in the product version,
We believe that the demo version program requires a measurement speed of about 15mS/time. Therefore,I need a program that do not turn on/off the power of IWR


Power supply demonstration program "level_sense_demo":
 www.ti.com/.../TIDCDE2

I tried the following program that works without turning the power on and off each time. The only change is the while statement. See program below.

I edited level_sense_demo\source\demo.c as follows, but after the second time it cannot measure. The basic flow is as follows. I found that demo_startSensor() makes errors and did not work since 2nd mesurrements.
So, SPI transfer is possible, but Data is not updated.

I Inserted MMWave_stop() to loop MMWave_start() and MMWave_stop().
but it didn't work. I want to know how to make it possible.

-------------------------------------------------------------------------------------------

initialize();
Mailbox_init(MAILBOX_TYPE_MSS);
memset((void*)&initCfg, 0, sizeof(MMWave_InitCfg));
gMmwMCB.ctrlHandle = MMWave_init(&initCfg, &errCode);
MMWave_sync(gMmwMCB.ctrlHandle, &errCode) ;
demo_dataPathOpen(&gMmwMCB.dataPathObj);
Task_create(demo_mmWaveCtrlTask, &taskParams, NULL);
Task_create(demo_dataPathTask, &taskParams, NULL);


void demo_dataPathTask(UArg arg0, UArg arg1){
   demo_staticConfig();
   while(1){                   ←add
            demo_startSensor();
            demo_dataPathWait1D(dataPathObj);
            demo_findTopTanges(&chirp_data);
            SPI_transfer(spiHandle, &transaction);
    //Now wait for the MSP432 to power down the IWR1443.
    //while(1){}                  ←deleate
}

-------------------------------------------------------------------------------------------

(2) I want to use Task_Sleep() in this program, but it doesn't work properly.

(3) I want to control the IWR measurement cycle within the IWR. Please give me a program example.

Best Regards

  • Can you tell us about the current situation? Can I continue measuring while the power is on? We look forward your answer and reply.

  • Hi,

    1. demo_startSensor calls MMWave_start which will trigger infinite number of frames based on the configuration in CFG file.

        You need not include demo_startSensor in the while(1) loop

    2. Make sure you call  demo_config1D_HWA(dataPathObj) and demo_dataPathTrigger1D(dataPathObj) after the processing of every frame as it would reconfigure the HWA for the next frame

    3. You can control the periodicity of measurement using the CFG file. You can choose the cfg file to send infinite number of frames and also chose the frame periodicity as per your requirement

    Regards,

    Abhishek

  • Thank you for your help.

    I don't know how to set the CFG file, can you give me some information?
    I searched for "high_accuracy_demo_14xx.cfg" from the following, but I can not. 
    www.ti.com/.../1.20.00.11

    >3. You can control the periodicity of measurement using the CFG file. You can choose the cfg file to send infinite >number of frames and also chose the frame periodicity as per your requirement]

    https://www.ti.com/tool/download/RADAR-TOOLBOX/1.20.00.11

    Below is a screen shot of that url.

    Best Regards.

    osakabe

  • I don't understand what the message means when I proceed with debugging using the error information on the debugger. Please let me know if you have any advice.


    void demo_dataPathTask(UArg arg0, UArg arg1){
       demo_staticConfig();
    demo_startSensor();                                   ←(1)moved
       while(1){             ←(2)add
    demo_dataPathWait1D(dataPathObj);
    demo_findTopTanges(&chirp_data);
    SPI_transfer(spiHandle, &transaction);
    demo_config1D_HWA(dataPathObj);            ←(3)add 
    demo_dataPathTrigger1D(dataPathObj);      ←(4)add
        //while(1){}             ←(5)deleate
    }

    I also checked if I put the following function after the SPI,
    It didn't go well.

    Semaphore_post(dataPathObj->HWA_done_semHandle);
    Semaphore_post(dataPathObj->EDMA_1Ddone_semHandle);

    Best Regards.

    If you have any advice, please let me know.

  • Hi Abhishek 

    Thank you for your advice the other day.
    Even now, the IWR1443 is not working. Can I get any additional advice please?
    Also, have you actually confirmed the operation of iwr1443 based on the previous advice?
    I would like to use it as a reference in debugging .

    Also, if anyone else has any advice, please let me know.

    Best Regards

  • Hi,

    In the below link 

    https://www.ti.com/tool/download/RADAR-TOOLBOX/1.20.00.11

    Click on Release Notes. It directs you to the tool box. Click on the download button at the top right corner to download the tool box

    You can find the cfg file at the following location in the toolbox

    radar_toolbox_1_20_00_11\source\ti\examples\Level_Sensing\high_accuracy\chirp_configs\high_accuracy_demo_14xx.cfg

    You can also refer to the project at the below location 

    radar_toolbox_1_20_00_11\source\ti\examples\Level_Sensing\high_accuracy\src\14xx

    This project should allow you to control the measurement rate using the cfg

    Regards,

    Abhishek

  • HI  Abhishek

    Sorry for the delay and thanks for the information. On the other hand, in my environment, irw1443 cannot continue measurement while the power is on. If anyone has any information please advise.

    Best Regards.

  • Hi Abhishek

    Thank you for your continued cooperation.
    I think this question is difficult. But my development deadline is approaching and time is running out. if,
    If you find any advice, please contact me again.
    To do. Please let me confirm additionally.

    This time, the purpose is to continue measuring with the power turned on. However, in reality, the measurement data will not be updated unless the power is turned on and off.
    I think the following may be the cause of this. Could do you show me how to check this contents or how to deal with it?

    -Chirp does not occur.
    -Chirp occurs, but ADC conversion is not performed.
    -ADC conversion is performed, but data processing (FFT ect) is not possible after that.
    -Data is processed, but data is not DMA-transferred to SPI of IWR1443.
    note: It has been confirmed that SPI transfers data  by osciloscple etc..

    Best Regards

    Osakabe

  • Hi Osakabe,

    Are you using the https://www.ti.com/tool/download/TIDCDE2 or the demo in radar_toolbox_1_20_00_11\source\ti\examples\Level_Sensing\high_accuracy\src\14xx?

    The demo in radar_toolbox_1_20_00_11 does not use power off feature. It would be simple to use in your application.

    Let me know if you are already using radar_toolbox_1_20_00_11

    TIDCEDE2 demo was designed with a companion microcontroller to power off. If you are using a standalone IWR1443 then the demo in radar_toolbox_1_20_00_11 is more suitable for you. The .cfg file that I mentioned above will give you the flexibility of controlling as per your rate of measurement

    Please provide more information about your setup. Are you using standalone IWR1443?

    Regards,

    Abhishek