This example demonstrates the AASRC configured for three channel config with operating mode set to MONO, STEREO & GROUP mode. The samples of sine wave signal of signal freqeuncy 1.92 kHz sampled at 192 kHz provided as input for each of the channel config and aasrc converts it to output sampling frequency of 96.01 kHZ for MONO Channel config, 208.51 kHZ for STEREO channel config, and 96.01 kHZ for group channel config with a MONO channel count of five
The example converts the data provided and send it out using UART. A python script is provided in ${SDK_INSTALL_PATH}/examples/drivers/aasrc/aasrc_sinewave_conversion/aasrc_validation.py which can receive and read these data and plot graphs showcasing the conversion of sampling frequency from one clock zone to another. Provide the serial port and baud rate as params to the script as per the example and run the script first which will make the script to wait for receiving data and then run the example
cd ${SDK_INSTALL_PATH}/examples/drivers/aasrc/aasrc_sinewave_conversion
python aasrc_validation.py --port COM<x> --baudrate <BAUDRATE>
| Parameter | Value |
|---|---|
| CPU + OS | r5fss0-0 freertos |
| c75ss0-0 freertos | |
| Toolchain | ti-arm-clang |
| ti-c7000 | |
| Board | am275x-evm |
| Example folder | examples/drivers/aasrc/aasrc_sinewave_conversion |
Shown below is a sample output from the script when the application is run,