Wi‑fi/bluetooth/802.15.4 connectivity expansion board based on the st67w611m1 module for stm32 nucleo boards (39 pages)
Summary of Contents for ST X-CUBE-MEMS1
Page 1
UM2722 User manual Getting started with MotionAD airplane detection library in X-CUBE-MEMS1 expansion for STM32Cube Introduction The MotionAD is a middleware library part of X-CUBE-MEMS1 software and runs on STM32. It provides real-time information about airplane mode detection based on data from a hand-held device.
UM2722 Acronyms and abbreviations Acronyms and abbreviations Table 1. List of acronyms Acronym Description Application programming interface Board support package Graphical user interface Hardware abstraction layer Integrated development environment UM2722 - Rev 2 page 2/15...
The library is designed for ST MEMS only. Functionality and performance when using other MEMS sensors are not analyzed and can be significantly different from documented behavior.
UM2722 MotionAD middleware library for X-CUBE-MEMS1 software expansion for STM32Cube 2.2.2 MotionAD APIs The MotionAD library APIs are: • uint8_t MotionAD_GetLibVersion(char *version) – retrieves the library version – *version is a pointer to an array of 35 characters – returns the number of characters in the version string •...
UM2722 MotionAD middleware library for X-CUBE-MEMS1 software expansion for STM32Cube 2.2.4 Demo code The following demonstration code reads data from the accelerometer, temperature and pressure sensors and detects the airplane mode code. […] #define VERSION_STR_LENG 35 #define ALGO_FREQ 100 […] /*** Initialization ***/ char lib_version[VERSION_STR_LENG];...
UM2722 MotionAD middleware library for X-CUBE-MEMS1 software expansion for STM32Cube Table 3. Cortex-M33 and Cortex-M7: elapsed time (µs) algorithm Cortex-M33 STM32U575ZI-Q at 160 MHz Cortex-M7 STM32F767ZI at 96 MHz Sample application The MotionAD middleware can be easily manipulated to build user applications; a sample application is provided in the Application folder.
UM2722 MotionAD middleware library for X-CUBE-MEMS1 software expansion for STM32Cube Step 3. When connected to STM32 Nucleo board with supported firmware Library Evaluation tab is opened. To start and stop data streaming toggle the appropriate start / stop button on the outer vertical tool bar.
UM2722 MotionAD middleware library for X-CUBE-MEMS1 software expansion for STM32Cube Step 5. Select the Save to File tab on the inner vertical tool bar to open the data logging configuration window. Select which sensor and activity data to save to log file. You can start or stop saving by clicking on the corresponding Start / Stop button.
References References All of the following resources are freely available on www.st.com. 1. UM1859: Getting started with the X-CUBE-MEMS1 motion MEMS and environmental sensor software expansion for STM32Cube 2. UM1724: STM32 Nucleo-64 boards (MB1136) 3. UM3233: Getting started with MEMS-Studio...
Acronyms and abbreviations ............2 MotionAD middleware library for X-CUBE-MEMS1 software expansion for STM32Cube .
Page 13
UM2722 List of tables List of tables Table 1. List of acronyms ..............2 Table 2.
Page 14
UM2722 List of figures List of figures Figure 1. MotionAD API logic sequence ............5 Figure 2.
Page 15
ST’s terms and conditions of sale in place at the time of order acknowledgment. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of purchasers’...
Need help?
Do you have a question about the X-CUBE-MEMS1 and is the answer not in the manual?
Questions and answers