xWRL6432 MMWAVE-L-SDK  05.04.00.01
Trigonometric(Sin Cos Example)

Introduction

This example demonstrates the Pythagorean trignometric identity with the use of Cosine, Sine, Vector Multiplication, and Vector Addition functions. Mathematically, the Pythagorean trignometric identity is defined by the following equation:

sin(x) * sin(x) + cos(x) * cos(x) = 1

where x is the angle in radians. CMSIS DSP Software Library Functions which are being used in Sin Cos example are as follows:

  • arm_cos_f32()
  • arm_sin_f32()
  • arm_mult_f32()
  • arm_add_f32()

Supported Combinations

}

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

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,

Sin Cos Example Started
Sin Cos Example Passed