TI中文支持网
TI专业的中文技术问题搜集分享网站

MMWCAS-RF-EVM: 如何修改发射天线和接收天线的增益

Part Number:MMWCAS-RF-EVMOther Parts Discussed in Thread:AWR2243

请问使用脚本使用哪个函数可以修改级联雷达(AWR2243)的发射天线和接收天线的增益。

Chris Meng:

你好,

请问是使用mmwave stuido的LUA么?请通过ar1.ProfileConfig_mult里的参数设定。

>help ar1.ProfileConfig_multInt32 ar1.ProfileConfig_mult(UInt16 RadarDeviceId, UInt16 profileId, Single startFreqConst, Single idleTimeConst, Single adcStartTimeConst, Single rampEndTime, UInt32 tx0OutPowerBackoffCode, UInt32 tx1OutPowerBackoffCode, UInt32 tx2OutPowerBackoffCode, Single tx0PhaseShifter, Single tx1PhaseShifter, Single tx2PhaseShifter, Single freqSlopeConst, Single txStartTime, UInt16 numAdcSamples, UInt16 digOutSampleRate, UInt32 hpfCornerFreq1, UInt32 hpfCornerFreq2, Char rxGain) – Profile configuration API which defines chirp profile parameters_I_ UInt16    RadarDeviceId     – Radar Device Id_I_ UInt16    profileId     – Chirp Profile Id [0 to 3]_I_ Single    startFreqConst     – Chirp Start Frequency in GHz_I_ Single    idleTimeConst     – Chirp Idle Time in µs_I_ Single    adcStartTimeConst     – Chirp ADC Start Time in µs_I_ Single    rampEndTime     – Chirp Ramp End Time in µs_I_ UInt32    tx0OutPowerBackoffCode     – TX0 channel Power Backoff in dB_I_ UInt32    tx1OutPowerBackoffCode     – TX1 channel Power Backoff in dB_I_ UInt32    tx2OutPowerBackoffCode     – TX2 channel Power Backoff in dB_I_ Single    tx0PhaseShifter     – TX0 channel Phase Shifter Value in deg_I_ Single    tx1PhaseShifter     – TX1 channel Phase Shifter in deg_I_ Single    tx2PhaseShifter     – TX2 channel Phase Shifter in deg_I_ Single    freqSlopeConst     – Chirp Frequency Slope in MHz/µs_I_ Single    txStartTime     – TX Start Time in µs_I_ UInt16    numAdcSamples     – RX Number of Adc Samples_I_ UInt16    digOutSampleRate     – RX Sampling Rate in ksps_I_ UInt32    hpfCornerFreq1     – RX HPF1 corner frequency,[b15:0 (0x00-175 kHz, 0x01-235 kHz, 0x02-350 kHz, 0x03-700 kHz)] + TxChnCalibSet[b31:16]_I_ UInt32    hpfCornerFreq2     – RX HPF2 corner frequency,[b15:0 (0x00-350 kHz, 0x01-700 kHz, 0x02-1.4 MHz, 0x03-2.8 MHz)] + ForceVCOSelet[b16] and VCOSelect[b17] , RetainTxCalUpdate[b24] , RetainRxCalLut[b25]_I_ Char    rxGain     – RX Gain in dB(b0:5), RF Gain Target(b6:7)values 30dB:00, 33dB:01, 36dB:10, Reserved:11

,

breaker wu:

相当于对于Tx天线只可以减小输出的功率么,且对于Rx天线不能单独调整,只能同时设置同一块芯片的4个RX通道吗?

我之前尝试过设置如下的参数

对应的函数应该是:ar1.SetRfInterRxGainPhFreqConfig

但是在实际运行的过程中发现会报错,也就是此函数无法使用,这是由于此函数只能适配特定的EVM吗

,

Chris Meng:

breaker wu 说:相当于对于Tx天线只可以减小输出的功率么

是的。

breaker wu 说:

对应的函数应该是:ar1.SetRfInterRxGainPhFreqConfig

但是在实际运行的过程中发现会报错,也就是此函数无法使用,这是由于此函数只能适配特定的EVM吗

请问你是在profilecfg配置前设置的么?

mmwave_dfp_02_02_03_01\docs\mmWave-Radar-Interface-Control.pdf

5.5.12 Sub block 0x010B – AWR_DIGITAL_COMP_EST_CONTROL_SB

Issue this API first in the sequence before AWR_PROFILE_CONF_SET_SB API.

,

breaker wu:

我是在其之后配置的,我待会尝试在profilecfg之前配置,然后将结果告知

,

breaker wu:

在profilecfg之前配置的意思是ar1.SetRfInterRxGainPhFreqConfig在lua脚本中应该先于ar1.ProfileConfig_mult函数运行是吗?我做了这样的尝试,但是任然报错,且报错的信息如下。似乎是这个函数并不能使用。

,

Chris Meng:

你好,

请尝试ar1.SetRfInterRxGainPhFreqConfig_mult。

Int32 ar1.SetRfInterRxGainPhFreqConfig_mult(UInt16 RadarDeviceId, Char ProfileIndex, Char RxGainCompEn, Char RxPhaseCompEn, Char RxDelayCompEn, Char RxFreqCompEn, Char TxFreqCompEn, Double Rx0DigitalGain, Double Rx1DigitalGain, Double Rx2DigitalGain, Double Rx3DigitalGain, Double Rx0DigitalPhaseShift, Double Rx1DigitalPhaseShift, Double Rx2DigitalPhaseShift, Double Rx3DigitalPhaseShift, Double Rx0DigitalDelay, Double Rx1DigitalDelay, Double Rx2DigitalDelay, Double Rx3DigitalDelay, Double Rx0DigitalFreqShift, Double Rx1DigitalFreqShift, Double Rx2DigitalFreqShift, Double Rx3DigitalFreqShift, Double TX0DigitalFreqShift, Double TX1DigitalFreqShift) – SetRfInterRxGainPhFreqConfig API which used to induce diffwrent gain or phase or frequency offsets on the different RXs, for inter-RX mismatch compensation _I_ UInt16    RadarDeviceId     – Radar device ID_I_ Char    ProfileIndex     – Profile Index for which this monitoring cofig applies_I_ Char    RxGainCompEn     – RX gain compensation enable_I_ Char    RxPhaseCompEn     – RX phase compensation enable_I_ Char    RxDelayCompEn     – RX delay compensation enable_I_ Char    RxFreqCompEn     – RX frequency compensation enable_I_ Char    TxFreqCompEn     – TX frequency compensation enable_I_ Double    Rx0DigitalGain     – Rx0 digital gain_I_ Double    Rx1DigitalGain     – Rx1 digital gain_I_ Double    Rx2DigitalGain     – Rx2 digital gain_I_ Double    Rx3DigitalGain     – Rx3 digital gain_I_ Double    Rx0DigitalPhaseShift     – Rx0 digital phase shift_I_ Double    Rx1DigitalPhaseShift     – Rx1 digital phase shift_I_ Double    Rx2DigitalPhaseShift     –  Rx2 digital phase shift_I_ Double    Rx3DigitalPhaseShift     –  Rx3 digital phase shift_I_ Double    Rx0DigitalDelay     – Rx0 digital delay_I_ Double    Rx1DigitalDelay     – Rx1 digital delay_I_ Double    Rx2DigitalDelay     – Rx2 digital delay_I_ Double    Rx3DigitalDelay     – Rx3 digital delay_I_ Double    Rx0DigitalFreqShift     – Rx0 digital Frequency shift_I_ Double    Rx1DigitalFreqShift     – Rx1 digital Frequency shift_I_ Double    Rx2DigitalFreqShift     –  Rx2 digital Frequency shift_I_ Double    Rx3DigitalFreqShift     –  Rx3 digital Frequency shift_I_ Double    TX0DigitalFreqShift     – Tx0 digital Frequency shift_I_ Double    TX1DigitalFreqShift     – Tx1 digital Frequency shift

,

breaker wu:

很遗憾,情况与ar1.SetRfInterRxGainPhFreqConfig一致,也会报错,且报错情况一致

目前看来可能是此函数未适配EVM?

或者我的使用方法有误?

是否有可供参考的脚本?

,

Chris Meng:

你好,

请参考下面的论坛讨论:

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1018493/tidep-01012-the-right-value-of-input-of-ar1-setrfinterrxgainphfreqconfig_mult-in-ar1-api-on-mmwave-studio

,

breaker wu:

这个帖子只是提到了如何获得正确的输入参数,事实上我已经尝试过这种方法了。也就是说我的函数参数应该是正确的,但是在运行脚本的时候仍旧会报错

赞(0)
未经允许不得转载:TI中文支持网 » MMWCAS-RF-EVM: 如何修改发射天线和接收天线的增益
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1