Work in Progress
This repository shows how to build Edge AI applications with Cortex-M/Ethos-U-based microcontrollers. It uses ModelNova for AI model development and Keil MDK for embedded development.
Application development, data capture, and workload analysis of an Edge AI system based on Alif E8.
AI model selection, data labeling, and model creation for an Edge AI system based on Alif E8.
From model to market: accelerated AI development on Arm. This talk explains the overall AI model development workflow.
The diagram below shows the overall development of an AI model that is integrated into an embedded system. During AI model development, the SDS framework is used as a workbench for data capture and system analysis. Once the optimized model delivers the expected performance, it can be integrated into the final application that may be based on FreeRTOS, Keil RTX, or Zephyr.
- Create the input interface, add signal conditioning, and start capturing data for AI model training.
- Select an AI model, then use the captured data for training, analysis, and creation of the optimized AI model.
- Integrate the AI model into the SDS framework and analyze performance.
- Capture new data where the AI model does not deliver the expected results.
- Retrain the AI model using additional training data to optimize performance.
- Add regression testing before integrating a new AI model into the embedded system.
The RockPaperScissors project implements an AI model that detects three hand gestures (RPS_cls_dataset provides test data). The AppKit-E8_USB/SDS.csolution.yml project uses the SDS framework for testing the AI model on the Alif AppKit-E8 hardware or an Arm FVP simulation model.
- Install Keil Studio for VS Code from the VS Code marketplace.
- Clone this repository (for example using Git in VS Code) or download the ZIP file. Then open the base folder in VS Code.
- Open the CMSIS View in VS Code, use Open Solution in Workspace (... menu), and choose
RockPaperScissors/AppKit-E8_USB/SDS.csolution.ymlto open the project. - 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 the hardware.
Tip
If you are new to Alif devices and boards, start with the Blink_HP example project using Create Solution with the board Alif AppKit-E8-AIML.
- Download and install ModelNova Fusion Studio.
- ...
Use the Issues tab to raise questions or issues.

