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.

Question about dynChirpCfg

Other Parts Discussed in Thread: AWR1843

Hi, 

Regarding dynamic configuration, there are two types :

- First type involves stop/restart the sensor. In this mode the chirp/profile config can be updated.

-The second type allows to dynamically re-configure some parameters without stop/restart sensor.

I'm using an mmwave radar AWR1843 with OOB demo. So I tried to implement a code to achieve the second type and it works.  

My question is how to change the  rlChirpRow_t params : 

From what I see in the example below: the varailbe in yellow are TX enabled TX1 tx2 TX3 and what is in red are chirpstartinx and chirpenindx but I want to know how to change the other parameters in rlChirpRow_t like profileidx, variation of start frequency, variation of frequency slope, variation of idle time, and variation of ADC start time How can I modify rlChirpRow_t values to get the other parameters I want.

I saw the comment and description of rlChirpRow_t but I didn't get it very well. Could someone help me with an example or something like that?

Thank you, 

Ben Hassine.

  • Hi Ben,

    You can find documentation on Dynamic Chirp in the DFP user guide, and you will also find the documentation on the API in the radar interface control document. You can download the 2G DFP and you will find the required documentation for your reference. 

    MMWAVE-DFP Firmware | TI.com

    I will also explain one example below for reference. So, if I declare my structure as 

    {
            .chirpRowSelect = 0x30,
            .chirpSegSel    = 0,
            .programMode    = 0,
            .chirpRow = { {0x00000FF0, 0x00000FF0, 0x00000FF0},
                        {0x00000FF1, 0x00000FF1, 0x00000FF0},
                        {0x00000FF2, 0x00000FF0, 0x00000FF1},
                        {0x00000FF3, 0x00000FFF, 0x00000FF2},
                        {0x00000FF4, 0x00000FF0, 0x00000FF3},
                        {0x00000FF5, 0x00000FFE, 0x00000FF4},
                        {0x00000FF6, 0x00000FF0, 0x00000FF0},
                        {0x00000FF7, 0x00000FFD, 0x00000FF0},
                        {0x00000FF8, 0x00000FF0, 0x00000FF1},
                        {0x00000FF9, 0x00000FFA, 0x00000FF0},
                        {0x00000FFA, 0x00000FFC, 0x00000FF0},
                        {0x00000FFB, 0x00000FFB, 0x00000FF0},
                        {0x00000FFC, 0x00000FF2, 0x00000FF0},
                        {0x00000FFD, 0x00000FF8, 0x00000FF0},
                        {0x00000FFE, 0x00000FF9, 0x00000FF8},
                        {0x00000FF5, 0x00000FF5, 0x00000FF0} }
        },
    Then it implies that I only want to modify the 3rd row of the chirps and data corresponds to only the 3rd row parameters for the following 48 chirps. The third row is defined as below
    Chirp row 3: idle time, ADC start time
     b11:0 IDLE_TIME_VAR
                            1 LSB = 10 ns
                            Valid range: 0 to 4095
     b27:16 ADC_START_TIME_VAR
                            1 LSB = 10 ns
                            Valid range: 0 to 4095
    So, the first data 0x00000FF1 corresponds to first chirp in segment 0. FF1 is set as Idle time variation and 0 is set as ADC start time var. Similarly, second data entry will correspond to second chirp in segment 0 and so on.
    When you set the chirp row select as 0x00, then all the 3 chirp rows for a single chirp will be changed as per the data entries and this will be applicable for 16 chirps only. Then 
    the first data entry {0x00000FF0, 0x00000FF0, 0x00000FF0} will be applicable to first chirp only and will affect the params as below. Each 32-bit value will be assigned to one row of the chirp.
    Chirp row 1: Profile index, frequency slope, Tx enable, BPM constant.
    Chirp row 2: frequency start var.
    Chirp row 3: idle time, ADC start time.
    Thanks,
    Pradipta.
  • Hi,

    Thank you for your answer, it helped me to solve my problem.

    Regards,

    Ben Hassine