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.

AWR1642BOOST: Confusing of txPhaseShifter value in the CLI_MMWaveProfileCfg API

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642, AWR1243

Hello everyone

In the CLI_MMWaveProfileCfg function, we can assign the phase shifting value for each Tx channel, such as profileCfg.txPhaseShifter = atoi (argv[7]);

When I open the definition of "txPhaseshifter", it shows as

    rlUInt32_t txPhaseShifter;               /*!< Concatenated phase shift for TX0/1/2,\n
                                             b7:0 TX0 phase shift value\n
                                             b15:8 TX1 phase shift value\n
                                             b23:16 TX2 phase shift value\n
                                             1 LSB = 360/2^8 = 1.4 degrees\n

From my understanding, the phase shifter only provide the 0 or 180 degree phase shift. However, from this definition, it looks like I can program the phase shifting value at step of 1.4 degrees. Can you elaborate how to use the "txPhaseshifter" value?

Another question, the only place that describe the BPM in the AWR16XX/14XX techinical reference manual is from Section 14 Hardware Accelerator. Since AWR1642 does not have the hardware accelerator, where I can find information about the register for the BPM (both for transmission and receiving)? 

Last question, 

Thanks

Xining

  • Hi Xining,

    I am not so sure on either of these questions. I had previously thought that you could only program the phase shift at a step of 5 degrees. I will have to talk to my team and then get back to you.


    Cheers,
    Akash
  • And also, based on the below screen short from AWR16/14 technical reference manual, it shows that the AWR chip can perform transmit beamforming and BPM. However, no other place of mentioning how to implement them.

  • Hello Xining,

    PhaseShifter is only applicable for AWR1243 and not xwr1642. For xwr1642, one need to use the BPM. Please refer to API documentation in 

    ti\control\mmwavelink\docs\html folder for more details.

    You can refer to below APIs for BPM configuration:

    • rlSetBpmCommonConfig
    • rlSetBpmChirpConfig

    Regards,

    Kaushal

  • Hi Kuashal
    Thanks for your reply.

    Is there a place to illustrate how to use those APIs? I mean how to set the input argument for each API. For example, in the rlSetBpmCommonConfig(rlUInt8_t deviceMap, rlBpmCommonCfg_t* data), what is the meaning of each objects in the struct rlBpmCommonCfg_t* data? I cannot find more information about it.

    Thanks
    Xining

  • Any updates?
  • Hi Xining,

    Please find example on this. We will add the same in our test/sample example.

    rlBpmCommonCfg_t bpmCommonCfg = {0};
    rlBpmChirpCfg_t bpmChirpCfg = {0};

    bpmCommonCfg.mode.b2SrcSel = 0; /* chirp by chirp, Other modes are not supported currently */
    rlSetBpmCommonConfig(RL_DEVICE_MAP_CASCADED_1, &bpmCommonCfg);

    bpmChirpCfg.chirpStartIdx = 0; /* Selecting chirp 0 for BPM*/
    bpmChirpCfg.chirpEndIdx = 0; /* Selecting chirp 0 for BPM*/
    bpmChirpCfg.constBpmVal = 0x2; /* Setting TX1 ON Binary Phase to 1 (180deg), TX2, TX3 BPM to 0 (0 deg)*/
    rlSetBpmChirpConfig(RL_DEVICE_MAP_CASCADED_1, &bpmChirpCfg);

    Regards,
    Kaushal