This repository contains examples that show the usage of the Synchronous Data Streaming (SDS) Framework.
- Install Keil Studio and Arm SDS from the VS Code marketplace.
- Clone this Git repository into a VS Code workspace.
- Open the CMSIS View in VS Code and use the ... menu to choose an example via Select Active Solution from workspace.
- The related tools and software packs are downloaded and installed. Review progress with View - Output - CMSIS Solution.
- In the CMSIS view, use the Action buttons to build, load and debug the example on target hardware.
- Follow the instructions in the example README and use the SDS view to show, record, and playback data streams.
The SDS examples are configured for various Evaluation Boards and use the MDK-Middleware for the SDSIO Interface. New hardware targets can be added using board layers that provide the required API interfaces. The examples are configured for Keil Studio for VS Code. Run a blinky example for the related board first to verify tool installation.
| Example | Description |
|---|---|
| Alif/AppKit-E7_USB | SDS connecting via USB to Alif AppKit-E7 board. |
| Alif/DevKit-E8_ETH | SDS connecting via Ethernet to Alif DevKit-E8 board. |
| ST/B-U585I-IOT02A/MotionRecognition | SDS connecting via USB to STMicroelectronics B-U585I-IOT02A board. Implements motion recognition algorithm with sensor interface. |
| ST/B-U585I-IOT02A/KeywordSpotting | SDS connection via USB to STMicroelectronics B-U585I-IOT02A board. Implements keyword spotting algorithm with audio interface. |
Tip
Each example is self-contained in a directory. The tool configuration and CI workflows are in separate directories listed below.
| File/Directory | Content |
|---|---|
| vcpkg-configuration.json | Setup for development tools on desktop. |
| .ci | Files that are related to the Continuous Integration (CI) tests. |
| .github/workflows | GitHub Actions scripts for build and execution tests. |
The following webinar shows how to use the SDS framework and the examples in this repository:
The repository uses GitHub Actions to test project build with AC6 and execute algorithm tests. Refer to Understanding GitHub Actions and Arm FVPs documentation for more information.
CI Workflow |
Description |
|---|---|
| AC6_test_build | Use Arm Compiler for Embedded (AC6) to create binaries for different configuration of targets, build types, and boards. After successful generation these are stored as artifacts. |
| GCC_test_build | Use GCC build tools to create binaries for different configuration of targets, build types, and boards. After successful generation these are stored as artifacts. |
| AlgorithmTest_ST_B-U585I-IOT02A_MR | Build the binary of a motion recognition algorithm and execute a regression test by using an FVP model and prerecorded SDS files. Regressions are stored as artifacts. |
Raise questions or issues for these examples on the repository github.com/ARM-software/SDS-Framework.
