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.

AWR1843: Phase shifter calib data format in mmwave studio 2.1.1.0

Part Number: AWR1843
Other Parts Discussed in Thread: AWR2243,

Hi champion,

    I tried to use the 'phase shifter calib data restore configuration ' in 'CalibDataCfg' Tab in mmwave studio 2.1.1.0. Could you kindly help to check what is the format of the input file?

   I tried to click 'save' button, and this generate a file named 'PhaseShiftCalibData.txt' under 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\PostProc'. This file has 201 word32. I think there are 192 phase code values for there TX case. Why this file have 201 words?

Thanks,
Adam

  • Hi Adam,

    It stores the full structure data to the file, which contains the [txIndex, calibApply and 128 bytes of calibdata] * 3 chunks

    You can refer MMWL_savePhShiftCalibDataToFile function from mmwavelink_singleChip_example from mmWave DFP 2.2.x version

  • Hi Jitendra,
        Thanks for your reply. I checked the MMWL_savePhShiftCalibDataToFile in mmwave dfp 2.2.3.1, the saved phase shifter cali data format is aligned with your description, but I think it only applied to AWR2243.
        I am testing AWR1843 phase shifter with mmwave studio 2.1.1.0 which uses mmwave dfp 1.2.5.1, I could not find 'MMWL_savePhShiftCalibDataToFile' in this DFP version, so I could not confirm the phase shifter cali data format in this DFP version. The file line number 201 seems to be 67 * 3, but I could not get the exact format.
        Could you kindly help me to check it again?

    Thanks,
    Adam

  • I hope customer needs to restore the phase shift calibration data at every device boot up where original phase shift calibration data is being captured in the controlled environment (room temp, corner reflector at zero angle, no clutter) and stored on flash.

     Please note that while restoring CAL_Apply needs to set '1' for the last chunk so FW can apply this phaseShift calib to HW.

    Please look for ‘Sub block 0x008C – AWR_PHASE_SHIFTER_CAL_DATA_RESTORE_SB’  in DFP 1.2.6 ICD for data format of calibration data.

     

    Could you let me know if customer is requesting some additional information more than provided in ICD?

  • Hi Jitendra,

       Yes, you are right. Customer need to read out the phase shifter cali data in factory and restore it in field.

       I also checked the ‘Sub block 0x008C – AWR_PHASE_SHIFTER_CAL_DATA_RESTORE_SB’  , the remaining question is about how to map the format in ‘Sub block 0x008C – AWR_PHASE_SHIFTER_CAL_DATA_RESTORE_SB’ to saved file ‘PhaseShiftCalibData.txt' in mmwave studio 2.1.1.0. Customer will test phase shifter calibration in mmwave studio firstly, and they need understand studio output file format to do the experiment.

       Your previous answer below is about the file format for AWR2243, not for AWR1843 (in mmwave studio 2.1.1.0)

    _________________________

    It stores the full structure data to the file, which contains the [txIndex, calibApply and 128 bytes of calibdata] * 3 chunks

    You can refer MMWL_savePhShiftCalibDataToFile function from mmwavelink_singleChip_example from mmWave DFP 2.2.x version

     

    Thanks,

    Adam

  • Hi Adam,

    If customer is interested in AWR1843 and looking for phseShiftCalib store/restore APIs and need to implementation restore part, so they can either just store the calibration payload or the full structure of all three chunks to Flash to later read and restore to the device.

    PhaseShiftCalibData.txt from mmWave_DFP example stores the full structure for all the three chunks, attached is the csv file for explaination.

    7827.phaseShift_data_format.csv

    If you refer C:\ti\mmwave_sdk_03_05_00_04\packages\ti\control\mmwavelink\test\common\link_test.c: 

    mmwaveLink_phShiftCalibDataStore

    mmwaveLink_phShiftCalibDataRestore

    functions.

    Regards,

    Jitendra

  • Hi Jitendra,
        I am clear now, thanks a lot for your help.

    Best regards,
    Adam