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.

MMWCAS-RF-EVM: TDAxx ARM showing response timeout in mmWave Studio output log

Part Number: MMWCAS-RF-EVM
Other Parts Discussed in Thread: MMWCAS-DSP-EVM

Hi, 

I'm using the cascade board with MMWCAS-DSP-EVM and I'm trying to transmit using 9tx and 12 Rx. I'm not enabling any Tx/Rx for master in StaticConfig Tab. I'm defining 4 chirp profiles and 4 chirps looping over 32 loops. The radar doesn't show any error while doing that. However, when I try to arm the TDA for data capture using the button, this is what I see on the output log. 

[16:53:28]  [RadarAPI]: ar1.TDACaptureCard_StartRecord_mult(2, 0, 0, adc_data, 0)
[16:53:28]  Device 0 - Configuring TDA with Width : 0 and Height : 128
[16:53:28]  [RadarAPI]: Device 0 - setWidthAndHeight Status: Passed
[16:53:28]  [RadarAPI]: Device 1 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:28]  Device 1 - Configuring TDA with Width : 2048 and Height : 128
[16:53:28]  [RadarAPI]: Device 1 - setWidthAndHeight Status: Passed
[16:53:28]  [RadarAPI]: Device 2 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:28]  Device 2 - Configuring TDA with Width : 2048 and Height : 128
[16:53:28]  [RadarAPI]: Device 2 - setWidthAndHeight Status: Passed
[16:53:28]  [RadarAPI]: Device 4 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:28]  Device 3 - Configuring TDA with Width : 2048 and Height : 128
[16:53:28]  [RadarAPI]: Device 3 - setWidthAndHeight Status: Passed
[16:53:28]  [RadarAPI]: Device 8 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:28]  Sending Frame Periodicity of 15 to TDA..
[16:53:28]  [RadarAPI]: Status: Passed. Frame Periodicity sent to TDA
[16:53:28]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:28]  Sending Capture Directory with name /mnt/ssd/adc_data to TDA..
[16:53:28]  [RadarAPI]: Status: Passed. Capture Directory sent to TDA
[16:53:28]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:29]  Sending File Allocation of 0 files to TDA..
[16:53:29]  [RadarAPI]: Status: Passed. File Allocation sent to TDA
[16:53:29]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:29]  Sending Enable Data Packaging (0 - 16-bit; 1 - 12-bit) with value of 0 to TDA..
[16:53:29]  [RadarAPI]: Status: Passed. Enable Data Packaging sent to TDA
[16:53:29]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:29]  Sending Number of frames to capture with value of 0 to TDA..
[16:53:29]  [RadarAPI]: Status: Passed. Number of frames to capture sent to TDA
[16:53:29]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
[16:53:29]  [RadarAPI]: Status: Passed for notifying TDA about Creating Application
[16:53:38]  Create Application Response from Capture Card timed out!!

Also, I'm setting the number of ADC samples as 256 but for some reason, it says Radar width is 2048. Why is that? 

All help is appreciated, thank you. 

  • Hello Asher,

    Based on your configuration, some memory is allocated in the TDA for capture which corresponds to Width and Height. This parameter is not equal to your "number of samples" parameter. 

    Now a quick question on your configuration, why are you not enabling TX/RX for the Master device? In case you want to use only 3 devices (i.e. 9Tx/12Rx), you can use the master and two slave devices also.

    Master device is always required for cascade operation. 

    For using just 3 devices, after clicking on "Set up TDAxx capture card", uncheck "Slave 3" device and then proceed normally.

    Regards,

    Ishita

  • Hi Ishita, I'm enabling the master device. I connect the SPI and download FW on it and turn its RF on. I'm just not turning on any TX or RX on the master on the static config tab because the antenna placement of the master doesn't align with our usecase. 

    I understand that for cascade the master needs to be enabled because it provides a clock to all the slaves, but should the master do Tx/Rx also?

  • Hello Asher,

    I understand your usecase, but I'm afraid studio won't be able to help you with this. It could've handled for any of the slave antennas being disabled, but it requires Master antennas to be enabled in static config for calculation of width when you press TDA ARM. And as you can see, if the width is zero, it will return  "create application response timeout error".  

    So this is basically a software limitation on studio's part. Ideally, if you write your own application for this usecase, it should work fine.

    Regards,

    Ishita

  • Hi Ishita, 

    Thank you for the response. So I'm assuming I can enable just one Tx or Rx In the master for the application to run, correct? 

    Are there plans to address this issue in the subsequent releases? We usually evaluate our usecases on the Studio to see if it makes sense before investing our resources into making a custom app. 

  • Hello Asher,

    Yes, if you enable just 1TX and 1RX in static config, it should work. Furthermore, you can choose not to transmit from Master Tx by not enabling it in the chirp config. This way you won't be atleast transmitting from the master. But 1 Rx has to be definitely enabled for master.

    Well regarding your other query, we have just released a new version for this and I'm not so sure at the moment if we're gonna address this in the subsequent versions. 

    Regards,

    Ishita

  • Thank you for the response. 

    Disabling all Tx and enabling just 1 Rx in the master makes the error go away. 

  • Hi, I'm reopening this thread.

    I'm tried again with 1 Rx enabled on the master but when I click TDAxx Arm, I get the following error:

    Device 0 - Configuring TDA with Width : 512 and Height : 128
    [19:47:34]  [RadarAPI]: Device 0 - setWidthAndHeight Status: Passed
    [19:47:34]  [RadarAPI]: Device 1 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:34]  Device 1 - Configuring TDA with Width : 2048 and Height : 128
    [19:47:34]  [RadarAPI]: Device 1 - setWidthAndHeight Status: Passed
    [19:47:34]  [RadarAPI]: Device 2 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:34]  Device 2 - Configuring TDA with Width : 2048 and Height : 128
    [19:47:34]  [RadarAPI]: Device 2 - setWidthAndHeight Status: Passed
    [19:47:34]  [RadarAPI]: Device 4 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:34]  Device 3 - Configuring TDA with Width : 0 and Height : 128
    [19:47:34]  [RadarAPI]: Device 3 - setWidthAndHeight Status: Passed
    [19:47:34]  [RadarAPI]: Device 8 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:34]  Sending Frame Periodicity of 40 to TDA..
    [19:47:34]  [RadarAPI]: Status: Passed. Frame Periodicity sent to TDA
    [19:47:34]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:34]  Sending Capture Directory with name /mnt/ssd/adc_data to TDA..
    [19:47:34]  [RadarAPI]: Status: Passed. Capture Directory sent to TDA
    [19:47:34]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:34]  Sending File Allocation of 0 files to TDA..
    [19:47:34]  [RadarAPI]: Status: Passed. File Allocation sent to TDA
    [19:47:34]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:35]  Sending Enable Data Packaging (0 - 16-bit; 1 - 12-bit) with value of 0 to TDA..
    [19:47:35]  [RadarAPI]: Status: Passed. Enable Data Packaging sent to TDA
    [19:47:35]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:35]  Sending Number of frames to capture with value of 0 to TDA..
    [19:47:35]  [RadarAPI]: Status: Passed. Number of frames to capture sent to TDA
    [19:47:35]  [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0 
    [19:47:35]  [RadarAPI]: Status: Passed for notifying TDA about Creating Application
    [19:47:44]  Create Application Response from Capture Card timed out!!
    

    I do not know why it says "Device 3 - Configuring TDA with Width : 0 and Height : 128" I'm passing this function to the board on the static config tab and I get a response of Pass(or 0).

    [12:54:33]  [RadarAPI]: ar1.ChanNAdcConfig_mult(8, 0, 0, 1, 0, 0, 0, 0, 2, 1, 0, 2)

    Earlier it used to say "Device 3 - Configuring TDA with Width : 2048 and Height : 128" with the same configuration I'm using. 

    After I get the error above, I cannot communicate to the board anymore and I would have to start from scratch by cycling power. 

    Are there any insights on why is this happening??

  • Hello Asher,

    I see you've disabled all the Rx for device 3 in your Lua command, and hence that is why the configured width in TDA is 0.

    As we had discussed earlier, if you're enabling a device (be it slave), you have to configure atleast one Rx in studio. This is definitely not the configuration you were using previously. I don't think you want to disable Rx for a slave device. Please check your config again. Or if you don't want to use device 3, please disable that in "Set up TDAxx capture card"

    Regards,

    Ishita  

  • Thank you for the clarification Ishita. 
    My usecase requires 1 Tx in device 3 to be enabled with 0 Rx, that's why I was trying to set all Rx to 0 in Device 3.