lab011中的那个获取相位改变参数的函数Get_PhaseTxShifterCodeValue中:
(1)获取的三个天线的相位值*tx1PhShCode\*tx2PhShCode\*tx3PhShCode 需要左移2位处理么? 我看资料里面介绍说这相位值是放在高6位的(即该值左移2位处理的)。。。
(2)不能直接将tx_phaseShift_CodeLUT[index].tx1_phsh_deg 赋值给 *tx1PhShCode ??下边这样处理是何意??
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.
lab011中的那个获取相位改变参数的函数Get_PhaseTxShifterCodeValue中:
(1)获取的三个天线的相位值*tx1PhShCode\*tx2PhShCode\*tx3PhShCode 需要左移2位处理么? 我看资料里面介绍说这相位值是放在高6位的(即该值左移2位处理的)。。。
(2)不能直接将tx_phaseShift_CodeLUT[index].tx1_phsh_deg 赋值给 *tx1PhShCode ??下边这样处理是何意??
(1)获取的三个天线的相位值*tx1PhShCode\*tx2PhShCode\*tx3PhShCode 需要左移2位处理么?
是的,数据结构rlRfPhaseShiftCfg里的相位偏移元素是需要左移2 bit的。
typedef struct rlRfPhaseShiftCfg
{
/**
* @brief Chirp Start Index, Valid Range 0 -511
*/
rlUInt16_t chirpStartIdx;
/**
* @brief Chirp End Index, Valid Range from chirpStartIdx to 511
*/
rlUInt16_t chirpEndIdx;
#ifndef MMWL_BIG_ENDIAN
/**
* @brief TX0 phase shift definition \n
[b1:0] reserved (set it to 0b00) \n
[b7:2] TX0 phase shift value \n
1 LSB = 360/2^6 = 5.625 degrees\n
Valid range: 0 to 63 \n
*/
rlUInt8_t tx0PhaseShift;
/**
* @brief TX1 phase shift definition \n
[b1:0] reserved (set it to 0b00) \n
[b7:2] TX1 phase shift value \n
1 LSB = 360/2^6 = 5.625 degrees\n
Valid range: 0 to 63 \n
*/
rlUInt8_t tx1PhaseShift;
/**
* @brief TX2 phase shift definition \n
[b1:0] reserved (set it to 0b00) \n
[b7:2] TX2 phase shift value \n
1 LSB = 360/2^6 = 5.625 degrees\n
Valid range: 0 to 63 \n
*/
rlUInt8_t tx2PhaseShift;
...
(2)不能直接将tx_phaseShift_CodeLUT[index].tx1_phsh_deg 赋值给 *tx1PhShCode ??下边这样处理是何意??
已经在英文论坛询问,请关注:(+) AWR1843: Auto toolbox Lab0011: Question about compensation - Sensors forum - Sensors - TI E2E support forums