STMicroelectronics has released a toolchain and accompanying software package for programming the intelligent sensor processing unit (ISPU) embedded in the latest-generation intelligent MEMS IMUs, ISM330IS and LSM6DSO16IS.
The toolchain and software help employ the ISPU to handle motion-related workloads such as activity recognition and anomaly detection directly in the sensor. This permits reducing system power and latency, offloading the local microcontroller, and uniquely specializing the behavior of the sensor to the application.
Using the ISPU toolchain, developers can program the sensor’s intelligent processing unit using the familiar and widespread C programming language. They can choose to work from a command line interface (CLI) or an Eclipse-based environment like STM32CubeIDE, and to use a graphical user interface (GUI) such as AlgoBuilder and Unicleo.
The X-CUBE-ISPU software package contains templates and example projects as well as ready-to-use libraries that help developers quickly understand how to use and program the sensors’ ISPU and can be used as a starting point to implement custom algorithms. Pre-built files are also available, which lets users load the X-CUBE-ISPU examples directly into the sensor using one of the GUIs, with no coding required. In addition, a GitHub repository is available providing more examples, tutorials, and other development resources.
Using these resources helps make short work of developing applications such as personal electronics including wearable devices for activity recognition and health monitoring, as well as industrial devices such as asset trackers, equipment-condition monitors, robots, and machine controllers.