The SDS template application is a test framework for DSP and ML algorithms. It allows recording and playback of real-world data streams using physical hardware and supports playback on FVP simulation models to an user algorithm under test.
The template contains two projects:
- DataTest.cproject.yml check the SDSIO interface with SDS test data files. Use
algorithm_config.hto configure parameters. - AlgorithmTest.cproject.yml verify an user algorithm with recording and playback of SDS data files.
The SDSIO-Layer implements the SDSIO interface that connects to the SDSIO-Server, File System, or VSI3 FVP simulation interface. For more information refer to:
- Using USB Interface for connected to SDSIO-Server via USB.
- Using Network Interface for connected to SDSIO-Server via Ethernet.
- Using RTT Interface for connected to SDSIO-Server via a debug adapter.
- Using File System for connected to SDSIO-Server via a debug adapter.
- Using FVP Simulation Models for regression tests with simulation models.
Both projects measure the CPU utilization and output this information. This information gives you an indication of how much CPU time is available for the user application while the SDS is running.
The idle time is the time during which the CPU is not executing the application code. During this time it executes
the idle thread, incrementing the idle_cnt counter. The code for incrementing the idle counter when the application
is using CMSIS-RTX RTOS is located in the osRtxIdleThread:
__NO_RETURN void osRtxIdleThread(void *argument) {
(void)argument;
for (;;) {
idle_cnt++;
}
}