TWR Fira demo to operate in a dual-antenna mode

Hi,
I am currently using the DW3_QM33_SDK_1.0.2 with a type2AB device.
I have successfully run the TWR Fira demo (using the pre-compiled library) and observed that it is utilizing only a single antenna port (Ant1).

  1. Is it possible to configure this TWR Fira demo to operate in a dual-antenna mode (e.g., TX on Ant1 and RX on Ant2)?
  2. Is the full source code for this TWR Fira demo available so that I can modify the existing implementation?
    Thanks.

Hi @danoz ,

Yes, you can configure type2AB device to Tx on ANT1 and Rx on ANT2. To do that, you need to modify the calibration JSON file (patch_aoa.json) in SDK 1.0.2 for type2AB. The default calibration file is prepared to perform PDoA and it transmits from ANT1 and receives from ANT1 and ANT2 to perform PDoA. If you change the lines in the patch_aoa.json as below and push the new calibration file, it will transmit from ANT1 and receive from ANT2.

“ant_set0.rx_ants_are_pairs”: “0x00”,
“ant_set0.rx_ants”: “0x000002”,

To configure the antennas differently, you can check uwb-l1-configuration-R12.7.0-288.pdf in the SDK for further information.

Kind regards,
Emre