xWRL6432 MMWAVE-L-SDK  05.04.00.01
1D Capon Beamforming

Introduction

This example performs 1D Capon Beamforming tests for 6 instances one after the other. There are 2 test files present in the folder:

"examples/alg/caponBeamforming/testbench"
  1. caponDataGenerated6ant128snaps32angles6inst_50deg.bin
  2. caponDataGenerated4ant64snaps64angles6inst_-30deg.bin

You can change the input file in the "examples/alg/caponBeamforming/caponbeamforming_test_main.c" code, in the caponbeamforming_test_main() function.

The data is read in the M4 memory from the input files. The Capon Spectrum Output is stored in the structure:

caponBeamformingCfg->hwRes.caponSpectrum

After the algorithm is complete, data validation is performed by comparing source and destination memory, against the reference output. If the equality test is successful, the test was successful.

Supported Combinations

Parameter Value
CPU + OS m4fss0-0 freertos
m4fss0-0 nortos
Toolchain ti-arm-clang
Boards xWRL6432-evm
Example folder examples/alg/caponBeamforming

Using SDK with SysConfig

A GUI tool SysConfig is used to configure different modules and peripherals of the example. Using this tool, users can select and customize different modules and peripherals. The SysConfig tool will generate the code for initializing and configuring these modules. This configuration is saved to a file called example.syscfg for every example. To know more about how to use SDK with SysConfig, Visit this page

Using SDK with SysConfig

Steps to Run the Example

Sample Output

Shown below is a sample output when the application is run when the input file is caponDataGenerated4ant64snaps64angles6inst_-30deg.bin,

DPU Test Started
Reading Data From File.. 50 percent
Reading Data From File.. 100 percent
Measured processing time (Capon Beamforming) = CPU cycles = 11568 !!!
Test case 1 passed!
Reading Data From File.. 50 percent
Reading Data From File.. 100 percent
Measured processing time (Capon Beamforming) = CPU cycles = 11872 !!!
Test case 2 passed!
Reading Data From File.. 50 percent
Reading Data From File.. 100 percent
Measured processing time (Capon Beamforming) = CPU cycles = 11872 !!!
Test case 3 passed!
Reading Data From File.. 50 percent
Reading Data From File.. 100 percent
Measured processing time (Capon Beamforming) = CPU cycles = 11872 !!!
Test case 4 passed!
Reading Data From File.. 50 percent
Reading Data From File.. 100 percent
Measured processing time (Capon Beamforming) = CPU cycles = 11904 !!!
Test case 5 passed!
Reading Data From File.. 50 percent
Reading Data From File.. 100 percent
Measured processing time (Capon Beamforming) = CPU cycles = 11904 !!!
Test case 6 passed!
All test cases passed!