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.

AWRL1432BOOST-BSD: Phase calibration flash write

Part Number: AWRL1432BOOST-BSD

I am optimizing the phase calibration section. Currently, after obtaining the initial phase of the radar in an anechoic chamber, I want to write it into the flash. However, I found that there is a conflict between the operation of DPU_RangeProc_process() and mmwDemo_flashWrite(), which makes it impossible to effectively write the calibration values into the flash. It is speculated that the possible reason is that EDMA occupies the flash writing channel. Moreover, obtaining the initial phase of the radar must rely on RangeHwa. Is there any way to support a single execution of mmwDemo_flashWrite() in the while loop after the DPCtask starts?

  • Hello.

    Have you tried writing to a different section in SFLASH or is the issue persistent no matter what region of SFLASH you are writing to?  You can also use the SDK flash write function to write to flash in a way that doesn't conflict with how the demo is writing to SFLASH.

    Sincerely,

    Santosh

  • hi,Santosh:

    We are currently using the SDK demo function mmwDemo_flashWrite(). I want to know how to perform flash programming while the DPC function is running, or how to completely turn off the data transmission configuration in DPC. We found that executing

    /* wait for the all paramSets done interrupt /

    SemaphoreP_pend(&obj->hwaDoneSemaHandle, SystemP_WAIT_FOREVER);

    causes the flash programming to fail. The function

    / Range FFT is done, disable Done interrupt */

    HWA_disableDoneInterrupt(obj->initParms.hwaHandle);

    should theoretically turn off this configuration, but it has no effect. It also doesn't work in other locations of SFLASH. Are there any other flash writing functions in the SDK?

    Thank you

  • Hello.

    There are multiple flash write functions in the SDK you can choose from.  Please go to <SDK_INSTALL>/source/board/flash and depending on the type of SFLASH you are trying to write to and given that it is compatible with the 1432, you will be able to use the flash write function from here too.

    Sincerely,

    Santosh

  • Hello,Santosh:

    The bottom layer of the mmwDemo_flashWrite() function calls the Flash_write() function in SDK flash. c, which you mentioned. Before executing the DPC function, I can perform the flash operation normally. So I think it is not a problem with the flash write function.

  • Hello.

    Let me continue to look into this and provide an update by the end of the day tomorrow.

    Sincerely,

    Santosh

  • Hello.

    I realized you had asked how to turn off data transmission as well, you can do this by changing the values in the guiMonitor variable, which is part of the gMmwMssMCB variable to 0.

    In addition, what specific error are you running into when trying to write to flash?  Is it just that the write doesn't happen or the program crashes?  And are you trying to program an application or just the updated phase calibration values?  Those should only be done once in the anechoic chamber and restored when operating in the field as done in factory calibration.

    Sincerely,

    Santosh