Other Parts Discussed in Thread: SYSBIOS
Hi,
For the IWR1843 mmwave radar, I want to turn off the RXs and keep the TXs on, or turn off TXs and keep the RXs on.
I tried by loading the modified configuration file from the out-of-box demo.
% TXs off
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.
Hi,
For the IWR1843 mmwave radar, I want to turn off the RXs and keep the TXs on, or turn off TXs and keep the RXs on.
I tried by loading the modified configuration file from the out-of-box demo.
% TXs off
Hello.
channelCfg is a configuration command that configures both the Tx and Rx channels. The first parameter configures the Rx channels, and the second configures Tx channels. Just have one instance of this in your configuration file, with either the Tx parameter set to 0 or the second set to 0 to turn off the Tx or Rx, respectively. You can refer to the sdk user guide for more information on this command. In addition, keep in mind that out of box normally requires 2 Rx's enabled to run. Please refer to this e2e to find information on how to modify the demo to support this change.
Sincerely,
Santosh
Hi,
Thanks for your reply.
I tried a lot to skip the checking and set the number of TXs to zero and got the error "[C674X_0] ti.sysbios.heaps.HeapMem: line 259: assertion failure: A_zeroBlock: Cannot allocate size 0".
I think there maybe another way to achieve it: not turn on TX in the mmWave_start step, it looks like related with RF/Sensor Configuration module. Could you give me some infomation? Thanks.
If you go to line 438 of the mmwdemo_rfparser.c and modify this if statement to allow for 0 TX channels, then when you send in a configuration with
channelCfg 15 0 0
then there should be no issue when running the demo.
Hope this helps,
Santosh
When I use the configuration with channelCfg 15 0 0, I firslty meet "Error: mmWave Config failed [Error code: -3109 Subsystem: 71]", which is reported by MMWave_decodeError (errCode, &errorLevel, &mmWaveErrorCode, &subsysErrorCode) in line 3130 of the mss_main.c, I ignore it to execute the errCode = MmwDemo_dataPathConfig(), then it will exit with "Error: MmwDemo_RFParser_parseConfig [Error:-50013]", which I now locate it in the retVal = MmwDemo_RFParser_setAoAParams(outParams, &foundValidProfile, frameTotalChirps, validChirpTxEnBits, bpmEnabled) of the mmwdemo_rfparser.c, which is related with your hints.
I will try to solve it and get back to you. Thanks.
Update: I have passed all checks of mmwdemo_rfparser.c, however, I will meet the error "[C674X_0] ti.sysbios.heaps.HeapMem: line 259: assertion failure: A_zeroBlock: Cannot allocate size 0". which is issued by retVal = DPM_execute (gMmwDssMCB.dataPathObj.objDetDpmHandle, &resultBuffer); from the DSS project. It is a tedious work since there are a lot off checks which is related to the number of TX.
I will try another way: let num of TX = 1 firslty to pass all checks, then set the it to 0 before the MMWave_start, let's see if I can turn off the TXs.
Will update you soon.
Hi,
I've struggled with turn off TXs these days and still fails. However, I think I've locked the target. When set "channelCfg 15 0 0", it will exit at
line "if (MMWave_config (gMmwMssMCB.ctrlHandle, &gMmwMssMCB.cfg.ctrlCfg, &errCode) < 0)" in
function "int32_t MmwDemo_configSensor(void)" fucntion of mss_main.c, with information "Error: mmWave Config failed [Error code: -3109 Subsystem: 71]", which means RL_RET_CODE_CHIRP_TX_ENA_1INVAL_IN /* Chirp TX enable indicates to enable a TX which is not enabled in Channel config */.
And the MMWave_config() is from mmwave.c and related with mmwavelink and rl_sensor, which confirm that it is related with antenna control issues. However, I cannot trace them in the debug mode, and it's too complicated to modify it by myself.
Could you help solve it? Thanks.
BTW, for the next step errCode = MmwDemo_dataPathConfig(), I don't think it's related with turn off TX, and we can set txChannelEn =1 and pass them.
Hello.
The error you have come across indicates that you are trying to chirp, but you have no transmitter enabled to do so due to the channel configuration. My original response was incorrect, as it only allows the configuration to be parsed. Trying to disable all TX's doesn't make sense in the context of the radar sensor functionality as they transmit and receive out of the same channel, and need to do both in order to work properly.
Sincerely,
Santosh
Unfortunately there is no way to chirp without a transmitter.
Sincerely,
Santosh