This section describes the step-by-step procedure to use Infineon AURIX™ with using AURIX™ Development Studio and IMAGIMOB Studio to collect data, train, optimize, and deploy machine learning models onto an embedded device. Learn how to build and deploy a model on AURIX hardware by combining the use of AURIX Development Studio and IMAGIMOB Studio.
Infineon's low-cost development board on the AURIX TC375 MCU is ideal for automotive motor control applications.
AURIX™ TC375 lite kit is equipped with a 32-Bit Single-Chip AURIX™ TriCoreTM based-Microcontroller AURIX™ TC375. It can be used with a range of development tools including AURIX™ Development Studio, Infineon’s free of charge Eclipse based IDE, or the Eclipse based “FreeEntryToolchain” from Hightec/PLS/Infineon. To purchase the AURIX™ TC375 Lite Kit, click here (opens in a new tab).
The AURIX™ Audio Shield Board is a flexible extension shield to evaluate different audio applications in conjunction with the AURIX™ TC375 lite kit. To purchase the KIT_A2G Audio Shield Board, click here (opens in a new tab).
The AURIX™ Development Studio is a free of charge Integrated Development Environment (IDE) for the TriCore™-based AURIX™ microcontroller family. It is a comprehensive development environment, including Eclipse IDE, C-Compiler, Multi-core Debugger, Infineon low-level driver (iLLD), with no time and code-size limitations that enables editing, compiling, and debugging of application code.
Download and install the AURIX™ Development Studio (opens in a new tab) and refer to Getting Started with AURIX™ Development Studio user guide (opens in a new tab) for detailed instructions.
IMAGIMOB offers a selection of starter projects to get started with building and deploying the machine learning models quickly.
The Siren Detector starter project contains everything you need to deploy your very own siren detection model. Bundled with the project is an already trained model, and instructions for how to deploy it to the Infineon AURIX™ TC375 Lite Kit Board + KITA2G Audio Shield Board, which is ideally suitable for automotive and industrial applications.
This project can be used as a starting point to create a siren detector for any relevant use case, for example:
- In automotive, to alert the driver or the car itself that there are emergency vehicles in the vicinity to increase awareness and safety.
- In headphones and other hearables to make the wearer aware that there are emergency vehicles in the vicinity to pay attention to their surroundings.
Begin with creating a project in IMAGIMOB Studio and selecting Siren Detector Infineon as the project type. To know how to create a project, refer to Creating a project.
It is recommended that an empty project is started after going through the starter projects and the ML flow is understood.
A typical model develoment flow starts with the sensor data and ends with an ML application for the target device. The development flow includes the following stages:
Data collection: The first step is to obtain the data from sensors using AURIX™ TC375 Lite Kit board and transmit to the IMAGIMOB Capture.
Data labelling: After capturing the data, import the data into IMAGIMOB Studio and label the data correctly.
Pre-processing: The second main step is pre-processing where the data signal processing techniques are applied to the sensor data, such as windowing and filtering techniques are applied to reduce the noise, and finally, features of the sensors data are extracted.
Generating model: Once all data has been collected and the pre-processor is built, data needs to be passed to the model for training.
Code Generation: After evaluating the model, generate the C code. When configuring the parameters for code generation in (.h5) file, make sure to select the Architecture as Infineon Aurix.
The last step is to deploy the model, which takes a trained model and generates the source code to run on the target embedded device. Refer to Deploy siren detector on AURIX™ TC375 Lite Kit to learn how to deploy the Siren Detector model onto the Infineon AURIX™ TC375 Lite Kit Board and KITA2G Audio Shield Board.