xWRL6432 MMWAVE-L-SDK  05.04.00.01
2D Capon Beamforming

Introduction

This example performs 2D Capon Beamforming tests for 64 instances one after the other. There are two test file present in the folder:

"examples/alg/caponBeamforming2D/testbench"

These contain the input to the algorithm and the configurations for the algorithm: Input file: caponData2D.bin Configuration file: caponData2DCfg.bin

The data is read in the M4 memory from the input files. There is a configuration bCnt taken as an input by the algorithm. This is the number of range bins to be skipped which storing successive Capon Spectrum outputs. The output is stored in the array:

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/caponBeamforming2D

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,

DPU Test Started
Reading testcase 1
Measured processing time (Capon Beamforming) = CPU cycles = 30768 !!!
Test case 1 passed!
Reading testcase 2
Measured processing time (Capon Beamforming) = CPU cycles = 31232 !!!
Test case 2 passed!
Reading testcase 3
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 3 passed!
Reading testcase 4
Measured processing time (Capon Beamforming) = CPU cycles = 31296 !!!
Test case 4 passed!
Reading testcase 5
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 5 passed!
Reading testcase 6
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 6 passed!
Reading testcase 7
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 7 passed!
Reading testcase 8
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 8 passed!
Reading testcase 9
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 9 passed!
Reading testcase 10
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 10 passed!
Reading testcase 11
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 11 passed!
Reading testcase 12
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 12 passed!
Reading testcase 13
Measured processing time (Capon Beamforming) = CPU cycles = 31248 !!!
Test case 13 passed!
Reading testcase 14
Measured processing time (Capon Beamforming) = CPU cycles = 31296 !!!
Test case 14 passed!
Reading testcase 15
Measured processing time (Capon Beamforming) = CPU cycles = 31232 !!!
Test case 15 passed!
Reading testcase 16
Measured processing time (Capon Beamforming) = CPU cycles = 31248 !!!
Test case 16 passed!
Reading testcase 17
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 17 passed!
Reading testcase 18
Measured processing time (Capon Beamforming) = CPU cycles = 31296 !!!
Test case 18 passed!
Reading testcase 19
Measured processing time (Capon Beamforming) = CPU cycles = 31536 !!!
Test case 19 passed!
Reading testcase 20
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 20 passed!
Reading testcase 21
Measured processing time (Capon Beamforming) = CPU cycles = 31536 !!!
Test case 21 passed!
Reading testcase 22
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 22 passed!
Reading testcase 23
Measured processing time (Capon Beamforming) = CPU cycles = 31248 !!!
Test case 23 passed!
Reading testcase 24
Measured processing time (Capon Beamforming) = CPU cycles = 31296 !!!
Test case 24 passed!
Reading testcase 25
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 25 passed!
Reading testcase 26
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 26 passed!
Reading testcase 27
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 27 passed!
Reading testcase 28
Measured processing time (Capon Beamforming) = CPU cycles = 31232 !!!
Test case 28 passed!
Reading testcase 29
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 29 passed!
Reading testcase 30
Measured processing time (Capon Beamforming) = CPU cycles = 31248 !!!
Test case 30 passed!
Reading testcase 31
Measured processing time (Capon Beamforming) = CPU cycles = 31232 !!!
Test case 31 passed!
Reading testcase 32
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 32 passed!
Reading testcase 33
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 33 passed!
Reading testcase 34
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 34 passed!
Reading testcase 35
Measured processing time (Capon Beamforming) = CPU cycles = 31168 !!!
Test case 35 passed!
Reading testcase 36
Measured processing time (Capon Beamforming) = CPU cycles = 31248 !!!
Test case 36 passed!
Reading testcase 37
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 37 passed!
Reading testcase 38
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 38 passed!
Reading testcase 39
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 39 passed!
Reading testcase 40
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 40 passed!
Reading testcase 41
Measured processing time (Capon Beamforming) = CPU cycles = 31232 !!!
Test case 41 passed!
Reading testcase 42
Measured processing time (Capon Beamforming) = CPU cycles = 31248 !!!
Test case 42 passed!
Reading testcase 43
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 43 passed!
Reading testcase 44
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 44 passed!
Reading testcase 45
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 45 passed!
Reading testcase 46
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 46 passed!
Reading testcase 47
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 47 passed!
Reading testcase 48
Measured processing time (Capon Beamforming) = CPU cycles = 31216 !!!
Test case 48 passed!
Reading testcase 49
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 49 passed!
Reading testcase 50
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 50 passed!
Reading testcase 51
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 51 passed!
Reading testcase 52
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 52 passed!
Reading testcase 53
Measured processing time (Capon Beamforming) = CPU cycles = 31264 !!!
Test case 53 passed!
Reading testcase 54
Measured processing time (Capon Beamforming) = CPU cycles = 31200 !!!
Test case 54 passed!
Reading testcase 55
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 55 passed!
Reading testcase 56
Measured processing time (Capon Beamforming) = CPU cycles = 31248 !!!
Test case 56 passed!
Reading testcase 57
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 57 passed!
Reading testcase 58
Measured processing time (Capon Beamforming) = CPU cycles = 31232 !!!
Test case 58 passed!
Reading testcase 59
Measured processing time (Capon Beamforming) = CPU cycles = 31104 !!!
Test case 59 passed!
Reading testcase 60
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 60 passed!
Reading testcase 61
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 61 passed!
Reading testcase 62
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 62 passed!
Reading testcase 63
Measured processing time (Capon Beamforming) = CPU cycles = 31232 !!!
Test case 63 passed!
Reading testcase 64
Measured processing time (Capon Beamforming) = CPU cycles = 31280 !!!
Test case 64 passed!
All test cases passed!