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.

TIDEP-01017: An error occurred when the number of sample points was set to 512 [ cascade_radar_beam_form]

Part Number: TIDEP-01017

In the example of Cascade_radar_beam_form, the following error occurred when modifying the Chirp parameter to set the sample points to 512

[IPU1-0] 14.243518 S: CAPTDRv/SRC/VPSDRV_capturecore.c@line 643:

[IPU1-0] 14.243610 s: Core control: Set Max Frame Size failed

[IPU1-0] 14.243701 S: Line: 395 in capturelink_drV. C: Status == FVID2_SOK: Failed!!

The setting of sample points to 511 can be set successfully, I have read the documentation and forums and mentioned that the maximum number of sample points is 512, and why the example of Cascade_radar_beam_Form sets the sample points to 255 instead of 256, and The example of Cascade_radar_object_detect to 256

However, with the same configuration parameters, I used mmWavestduio to configure successfully and collect ADC data

  • Hello, 

    As you mentioned the maximum number of sample points is 512, i.e starting from 0 to 511 (Total count = 512). Similar is the case with 256 sample points as well. The parameters start from 0 and hence end at 255 or 511, making the count as 256 or 512 respectively.

    Let us know if you have more questions.

    Thanks!

    Regards,

    Ishita

  • Hi Ishita ,

    First of all, thank you for your answer. But I'm a little confused by your answers and the comments on the code, which are as follows:

    It is explained in the annotation that the maximum number of sampling points for Chirp is 1024. If the number of sampling points is 1024, the actual configuration should also be 1024. Due to the limitation of FPGA in TDA2-DSP, the maximum width is 512, so the maximum can only be configured with 512.

    In addition, Bsp_ar12xxGetWidthHeight(UInt32 deviceId, UInt32 *width, UInt32 *height) is calculated with metaDataLen included when calculating the width size. The length of metaDataLen is exactly equal to a sampling point (metaDataLen = 2U * numRxAntenna), the metaData data is CP (Chirp Parameter information), if so, it can be understood that the maximum number of points can only be 511.But using mmWavestudio is configurable to 512 points and frame data may not contain CP data, so where can the example Cascade_radar_beam_form modification be without CP

    Thanks and Regards

  • Please change this code in radar\src\common\chains_common_cascade_ar12xx_config_bf.c file

    gAr12xx_bf_config_master{   .transferFmtPkt0 = (rlUInt8_t) 6, /* change this to '1' for ADC only instead of CP_ADC_DATA */

     Same for slave configuration (gAr12xx_bf_config_slave_DevIdxMap2)

    Regards,

    Jitendra

  • hi Jitendra,

    Your answer has solved my problem, Thank you very much.
     
     
     
    Regards,
    CSBoy