ST X-CUBE-MEMS1 സെൻസർ ആൻഡ് മോഷൻ അൽഗോരിതം സോഫ്റ്റ്‌വെയർ എക്സ്പാൻഷൻ യൂസർ മാനുവൽ

X-CUBE-MEMS1 സെൻസർ ആൻഡ് മോഷൻ അൽഗോരിതം സോഫ്റ്റ്‌വെയർ എക്സ്പാൻഷൻ

ഉൽപ്പന്ന വിവരം

സ്പെസിഫിക്കേഷനുകൾ

  • Product Name: MotionPW Real-time Pedometer
  • അനുയോജ്യത: STM1Cube-നുള്ള X-CUBE-MEMS32 വിപുലീകരണം
  • നിർമ്മാതാവ്: STMicroelectronics
  • Library: MotionPW Middleware Library
  • Data Acquisition: Accelerometer
  • Sampലിംഗ് ഫ്രീക്വൻസി: 50 Hz

ഉൽപ്പന്ന ഉപയോഗ നിർദ്ദേശങ്ങൾ

കഴിഞ്ഞുview

The MotionPW library expands the functionality of the
X-CUBE-MEMS1 software by acquiring data from the accelerometer to
provide information about the number of steps and cadence performed
with the wearable device.

അനുയോജ്യത

The library is designed for ST MEMS sensors only. Using other
MEMS sensors may result in different functionality and
പ്രകടനം.

നടപ്പിലാക്കൽ

എ എസ്ample implementation is available for X-NUCLEO-IKS4A1 and
X-NUCLEO-IKS01A3 expansion boards mounted on specified development
ബോർഡുകൾ.

സാങ്കേതിക വിവരങ്ങൾ

For detailed functions and parameters of the MotionPW APIs,
refer to the MotionPW_Package.chm compiled HTML file ൽ സ്ഥിതി ചെയ്യുന്നു
Documentation folder.

API-കൾ

  • MotionPW_GetLibVersion(char *version)
  • MotionPW_Initialize(void)
  • MotionPW_Update(MPW_input_t *data_in, MPW_output_t
    *data_out)
  • MotionPW_ResetPedometerLibrary(void)
  • MotionPW_ResetStepCount(void)
  • MotionPW_UpdateEnergyThreshold(float *energy_threshold)

പതിവ് ചോദ്യങ്ങൾ (FAQ)

Q: Can I use MotionPW library with non-ST MEMS sensors?

A: The library is designed for ST MEMS sensors only.
Compatibility with other MEMS sensors is not guaranteed.

ചോദ്യം: ആവശ്യമായ ആക്‌സിലറോമീറ്റർ ഡാറ്റ എന്താണ്?ampലിംഗം
ആവൃത്തി?

എ: ആവശ്യമായ എസ്ampling frequency is 50 Hz for accurate
detection of steps and cadence.

Q: How do I initialize the MotionPW library?

A: Call the MotionPW_Initialize() function before using the
fitness activity library. Ensure the CRC module in the STM32
microcontroller is enabled.

"`

UM2350
ഉപയോക്തൃ മാനുവൽ
Getting started with MotionPW real-time pedometer for wrist library in X-CUBEMEMS1 expansion for STM32Cube
ആമുഖം
The MotionPW middleware library is part of the X-CUBE-MEMS1 software and runs on STM32 Nucleo. It provides real-time information about the number of steps and cadence which the user just performed with the wearable device (e.g. a smart watch). This library is intended to work with ST MEMS only. The algorithm is provided in static library format and is designed to be used on STM32 microcontrollers based on the ARM® Cortex®-M3, ARM Cortex®-M33, ARM® Cortex®-M4, ARM® Cortex®-M7 architecture. It is built on top of STM32Cube software technology to ease portability across different STM32 microcontrollers. The software comes with sampഒരു NUCLEO-F4RE, NUCLEO-U1ZI-Q അല്ലെങ്കിൽ NUCLEO-L01RE ഡെവലപ്‌മെൻ്റ് ബോർഡിൽ X-NUCLEO-IKS3A401 അല്ലെങ്കിൽ X-NUCLEO-IKS575A152 വിപുലീകരണ ബോർഡിൽ പ്രവർത്തിക്കുന്ന നടപ്പിലാക്കൽ.

UM2350 – Rev 4 – മെയ് 2025 കൂടുതൽ വിവരങ്ങൾക്ക്, നിങ്ങളുടെ പ്രാദേശിക STMicroelectronics സെയിൽസ് ഓഫീസുമായി ബന്ധപ്പെടുക.

www.st.com

UM2350
ചുരുക്കെഴുത്തുകളും ചുരുക്കങ്ങളും

1

ചുരുക്കെഴുത്തുകളും ചുരുക്കങ്ങളും

ചുരുക്കപ്പേര് API BSP GUI HAL IDE

പട്ടിക 1. ചുരുക്കെഴുത്തുകളുടെ പട്ടിക

ആപ്ലിക്കേഷൻ പ്രോഗ്രാമിംഗ് ഇന്റർഫേസ് ബോർഡ് സപ്പോർട്ട് പാക്കേജ് ഗ്രാഫിക്കൽ യൂസർ ഇന്റർഫേസ് ഹാർഡ്‌വെയർ അബ്‌സ്ട്രാക്ഷൻ ലെയർ ഇന്റഗ്രേറ്റഡ് ഡെവലപ്‌മെന്റ് എൻവയോൺമെന്റ്

വിവരണം

UM2350 – Rev 4

പേജ് 2/16

2
2.1 2.2
2.2.1
2.2.2
കുറിപ്പ്:

UM2350
MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube

MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube

MotionPW overview
The MotionPW library expands the functionality of the X-CUBE-MEMS1 software.
The library acquires data from the accelerometer and provides information about the number of steps and cadence the user just performed with the wearable device.
ST MEMS-ന് വേണ്ടി മാത്രം രൂപകൽപ്പന ചെയ്തിട്ടുള്ളതാണ് ലൈബ്രറി. മറ്റ് MEMS സെൻസറുകൾ ഉപയോഗിക്കുമ്പോൾ പ്രവർത്തനക്ഷമതയും പ്രകടനവും വിശകലനം ചെയ്യപ്പെടുന്നില്ല കൂടാതെ ഡോക്യുമെൻ്റിൽ വിവരിച്ചതിൽ നിന്ന് കാര്യമായ വ്യത്യാസമുണ്ടാകാം.
എ എസ്ample implementation is available for X-NUCLEO-IKS4A1 and X-NUCLEO-IKS01A3 expansion boards, mounted on aNUCLEO-F401RE, NUCLEO-U575ZI-Q or NUCLEO-L152RE development board.

MotionPW library
Technical information fully describing the functions and parameters of the MotionPW APIs can be found in the MotionPW_Package.chm compiled HTML file ഡോക്യുമെൻ്റേഷൻ ഫോൾഡറിൽ സ്ഥിതിചെയ്യുന്നു.

MotionPW library description

The MotionPW pedometer library manages the data acquired from the accelerometer; it features:

·

possibility of detecting the number of steps, cadence and confidence

·

ആക്സിലറോമീറ്റർ ഡാറ്റയെ അടിസ്ഥാനമാക്കിയുള്ള തിരിച്ചറിയൽ മാത്രം

·

ആവശ്യമായ ആക്സിലറോമീറ്റർ ഡാറ്റ എസ്ampലിംഗ് ഫ്രീക്വൻസി 50 Hz

·

വിഭവങ്ങൾ ആവശ്യകതകൾ:

കോർടെക്സ്-എം3: 3.7 കെബി കോഡും 1.8 കെബി ഡാറ്റ മെമ്മറിയും

കോർടെക്സ്-എം33: 3.5 കെബി കോഡും 1.8 കെബി ഡാറ്റ മെമ്മറിയും

കോർടെക്സ്-എം4: 3.5 കെബി കോഡും 1.8 കെബി ഡാറ്റ മെമ്മറിയും

കോർടെക്സ്-എം7: 3.6 കെബി കോഡും 1.8 കെബി ഡാറ്റ മെമ്മറിയും

·

ARM® Cortex®-M3, ARM® Cortex®-M33, ARM® Cortex®-M4, ARM® Cortex®-M7 എന്നിവയ്ക്ക് ലഭ്യമാണ്.

വാസ്തുവിദ്യകൾ

MotionPW APIs

The MotionPW library APIs are:

·

uint8_t MotionPW_GetLibVersion(char *version)

ലൈബ്രറി പതിപ്പ് വീണ്ടെടുക്കുന്നു

*പതിപ്പ് 35 പ്രതീകങ്ങളുടെ ഒരു നിരയിലേക്കുള്ള ഒരു പോയിന്ററാണ്

പതിപ്പ് സ്ട്രിംഗിലെ പ്രതീകങ്ങളുടെ എണ്ണം നൽകുന്നു.

·

void MotionPW_Initialize(void)

­ performs MotionPW library initialization and setup of the internal mechanism including the dynamic memory allocation

This function must be called before using the fitness activity library and the CRC module in the STM32 microcontroller (in RCC peripheral clock enable register) has to be enabled.

UM2350 – Rev 4

പേജ് 3/16

UM2350
MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube

·

void MotionPW_Update(MPW_input_t *data_in, MPW_output_t *data_out)

­ executes pedometer for wrist algorithm

*data_in പാരാമീറ്റർ എന്നത് ഇൻപുട്ട് ഡാറ്റയുള്ള ഒരു ഘടനയിലേക്കുള്ള ഒരു പോയിന്ററാണ്.

­ the parameters for the structure type MPW_input_t are:

AccX എന്നത് g ലെ X ആക്സിസിലെ ആക്സിലറോമീറ്റർ സെൻസർ മൂല്യമാണ്

G-ലെ Y അക്ഷത്തിലെ ആക്സിലറോമീറ്റർ സെൻസർ മൂല്യമാണ് AccY

AccZ എന്നത് g ലെ Z ആക്സിസിലെ ആക്സിലറോമീറ്റർ സെൻസർ മൂല്യമാണ്

­ CurrentActivity is the enumerated input type MPW_activity_t with the following values:

MPW_UNKNOWN_ACTIVITY = 0x00

MPW_WALKING = 0x01

MPW_FASTWALKING = 0x02

MPW_JOGGING = 0x03

­ *data_out parameter is a pointer to a structure with output data

­ the parameters for the structure type MPW_output_t are:

Nsteps is number of steps performed by user

Cadence is the cadence of user steps

Confidence is the confidence of calculated output parameter

·

void MotionPW_ResetPedometerLibrary(void)

­ resets the library internal variables and mechanism into default values (including current step count)

·

void MotionPW_ResetStepCount(void)

­ resets the current step count

·

void MotionPW_UpdateEnergyThreshold(float *energy_threshold)

­ updated energy threshold to fine tune step detection algorithm

­ *energy_threshold parameter is a pointer to energy threshold value

UM2350 – Rev 4

പേജ് 4/16

2.2.3

API ഫ്ലോ ചാർട്ട്

UM2350
MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube
Figure 1. MotionPW API logic sequence
ആരംഭിക്കുക
ആരംഭിക്കുക
GetLibVersion
കാത്തിരിക്കുക കാലഹരണപ്പെടുന്ന ടൈമർ ഡാറ്റ റീഡ് ഇന്ററപ്റ്റ്

ആക്‌സിലറോമീറ്റർ ഡാറ്റ അപ്‌ഡേറ്റ് വായിക്കുക
Get Outputs

2.2.4

Demo code The following demonstration code example reads data from the accelerometer sensor, obtains the current activity from MotionAW library and gets the number of steps, cadence and confidence from MotionPW library.
[…] #define VERSION_STR_LENG 35 […] /* Initialization */ char lib_version[VERSION_STR_LENG];
/* Pedometer API initialization function */ MotionPW_Initialize();
/* Activity recognition API initialization function */ MotionAW_Initialize();
/* Optional: Get version */ MotionPW_GetLibVersion(lib_version);
[…] /* Using Pedometer for wrist algorithm */ Timer_OR_DataRate_Interrupt_Handler() {
MPW_input_t MPW_data_in; MPW_output_t MPW_data_out;

UM2350 – Rev 4

പേജ് 5/16

2.2.5

UM2350
MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube
MAW_input_t MAW_data_in; MAW_output_t MAW_data_out;
/* Get acceleration X/Y/Z in g */ MEMS_Read_AccValue(&MAW_data_in.Acc_X, &MAW_data_in.Acc_Y, &MAW_data_in.Acc_Z);
/* Get current activity */ MotionAW_Update(&MAW_data_in, &MAW_data_out, Timestamp);
MPW_data_in.Acc_X = MAW_data_in.Acc_X; MPW_data_in.Acc_Y = MAW_data_in.Acc_Y; MPW_data_in.Acc_Z = MAW_data_in.Acc_Z;
if (MAW_data_out.current_activity == MAW_WALKING) {
MPW_data_in.currentActivity = MPW_WALKING; } else if (MAW_data_out.current_activity == MAW_FASTWALKING) {
MPW_data_in.currentActivity = MPW_FASTWALKING; } else if (MAW_data_out.current_activity == MAW_JOGGING) {
MPW_data_in.currentActivity = MPW_JOGGING; } else {
MPW_data_in.currentActivity = MPW_UNKNOWN_ACTIVITY; }
/* Run pedometer for wrist algorithm */ MotionPW_Update(&MPW_data_in, &MPW_data_out); }
Algorithm performance The pedometer for wrist algorithm uses data from the accelerometer only and runs at a low frequency (50 Hz) to reduce power consumption. When replicating fitness activity with the STM32 Nucleo board, ensure the board is oriented perpendicularly to the forearm, to simulate the wristband position.
Figure 2. Orientation system for wrist-worn devices

പട്ടിക 2. അൽഗോരിതം ഇലാപ്സ് ടൈം (µs) കോർട്ടെക്സ്-എം4, കോർടെക്സ്-എം3

4 MHz-ൽ Cortex-M32 STM401F84RE

മിനി

ശരാശരി

പരമാവധി

38

49

616

3 MHz-ൽ Cortex-M32 STM152L32RE

മിനി

ശരാശരി

പരമാവധി

296

390

3314

UM2350 – Rev 4

പേജ് 6/16

UM2350
MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube

പട്ടിക 3. അൽഗോരിതം ഇലാപ്സ് ടൈം (µs) കോർട്ടെക്സ്-എം33, കോർട്ടക്സ്-എം7

കോർടെക്സ്- M33 STM32U575ZI-Q 160 MHz ൽ

മിനി

ശരാശരി

പരമാവധി

57

63

359

7 മെഗാഹെർട്‌സിൽ കോർടെക്‌സ്- M32 STM767F96ZI

മിനി

ശരാശരി

പരമാവധി

61

88

1301

2.3

Sample ആപ്ലിക്കേഷൻ

The MotionPW middleware can be easily manipulated to build user applications.

എ എസ്ampആപ്ലിക്കേഷൻ ഫോൾഡറിൽ നൽകിയിരിക്കുന്നു. ഇത് ഒരു X-NUCLEO-IKS401A575 അല്ലെങ്കിൽ X-NUCLEO-IKS152A4 എക്സ്പാൻഷൻ ബോർഡുമായി ബന്ധിപ്പിച്ചിരിക്കുന്ന NUCLEO-F1RE, NUCLEOU01ZI-Q അല്ലെങ്കിൽ NUCLEO-L3RE ഡെവലപ്‌മെന്റ് ബോർഡിൽ പ്രവർത്തിക്കാൻ രൂപകൽപ്പന ചെയ്‌തിരിക്കുന്നു.

The application recognizes the steps, cadence and confidence in real-time. The data can be displayed through a GUI.

ചിത്രം 3. STM32 ന്യൂക്ലിയോ: LED-കൾ, ബട്ടൺ, ജമ്പർ

NUCLEO-F1RE ബോർഡിൻ്റെ യൂസർ ബട്ടൺ B401 ഉം മൂന്ന് LED-കളും മുകളിലെ ചിത്രം കാണിക്കുന്നു. ബോർഡ് പവർ ചെയ്തുകഴിഞ്ഞാൽ, LED LD3 (PWR) ഓണാകും.
A USB cable connection is required to monitor real-time data. The board is powered by the PC via USB connection. This working mode allows the user to display detected steps, cadence and confidence, accelerometer data, time stamp MEMS-സ്റ്റുഡിയോ ഉപയോഗിച്ച് തത്സമയം മറ്റ് സെൻസർ ഡാറ്റയും.

2.4

MEMS സ്റ്റുഡിയോ ആപ്ലിക്കേഷൻ

എസ്ample application uses MEMS-Studio application, which can be downloaded from www.st.com.

ഘട്ടം 1. ആവശ്യമായ ഡ്രൈവറുകൾ ഇൻസ്റ്റാൾ ചെയ്തിട്ടുണ്ടെന്നും ഉചിതമായ എക്സ്പാൻഷൻ ബോർഡുള്ള STM32 ന്യൂക്ലിയോ ബോർഡ് പിസിയുമായി ബന്ധിപ്പിച്ചിട്ടുണ്ടെന്നും ഉറപ്പാക്കുക.

UM2350 – Rev 4

പേജ് 7/16

UM2350
MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube

ഘട്ടം 2.

പ്രധാന ആപ്ലിക്കേഷൻ വിൻഡോ തുറക്കാൻ MEMS-Studio ആപ്ലിക്കേഷൻ സമാരംഭിക്കുക.
പിന്തുണയ്ക്കുന്ന ഫേംവെയറുള്ള ഒരു STM32 ന്യൂക്ലിയോ ബോർഡ് പിസിയിലേക്ക് കണക്റ്റ് ചെയ്തിട്ടുണ്ടെങ്കിൽ, അത് യാന്ത്രികമായി കണ്ടെത്തപ്പെടും. മൂല്യനിർണ്ണയ ബോർഡിലേക്ക് കണക്ഷൻ സ്ഥാപിക്കാൻ [കണക്റ്റ്] ബട്ടൺ അമർത്തുക.

ചിത്രം 4. MEMS-സ്റ്റുഡിയോ - ബന്ധിപ്പിക്കുക

ഘട്ടം 3. പിന്തുണയ്ക്കുന്ന ഫേംവെയർ ഉള്ള ഒരു STM32 ന്യൂക്ലിയോ ബോർഡിലേക്ക് കണക്റ്റുചെയ്യുമ്പോൾ [ലൈബ്രറി ഇവാലുവേഷൻ] ടാബ് തുറക്കും.

ഡാറ്റ സ്ട്രീമിംഗ് ആരംഭിക്കാനും നിർത്താനും, ഉചിതമായ [ആരംഭിക്കുക] ലംബ ടൂൾ ബാർ ടോഗിൾ ചെയ്യുക.

അല്ലെങ്കിൽ പുറത്തെ [നിർത്തുക] ബട്ടൺ

ബന്ധിപ്പിച്ച സെൻസറിൽ നിന്ന് വരുന്ന ഡാറ്റ ആകാം viewഅകത്തെ ലംബ ടൂൾ ബാറിലെ [ഡാറ്റ ടേബിൾ] ടാബ് തിരഞ്ഞെടുക്കുന്നു.

ചിത്രം 5. MEMS-സ്റ്റുഡിയോ - ലൈബ്രറി മൂല്യനിർണ്ണയം - ഡാറ്റ പട്ടിക

UM2350 – Rev 4

പേജ് 8/16

UM2350
MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube
Step 4. Click on the [Pedometer] to open the dedicated application window. Figure 6. MEMS-Studio – Library Evaluation – Pedometer

ഘട്ടം 5.

[Save To] ക്ലിക്ക് ചെയ്യുക File] to open the dataloging configuration window. Select the sensor and pedometer data to be saved in the file. അനുബന്ധത്തിൽ ക്ലിക്ക് ചെയ്തുകൊണ്ട് നിങ്ങൾക്ക് സേവ് ചെയ്യാൻ തുടങ്ങുകയോ നിർത്തുകയോ ചെയ്യാം.
ബട്ടൺ.

ചിത്രം 7. MEMS-സ്റ്റുഡിയോ - ലൈബ്രറി മൂല്യനിർണ്ണയം - ഇതിലേക്ക് സംരക്ഷിക്കുക File

UM2350 – Rev 4

പേജ് 9/16

UM2350
MotionPW middleware library in X-CUBE-MEMS1 software expansion for STM32Cube

ഘട്ടം 6.

മുമ്പ് നേടിയ ഡാറ്റ ലൈബ്രറിയിലേക്ക് അയയ്ക്കാനും സ്വീകരിക്കാനും ഡാറ്റ ഇൻജക്ഷൻ മോഡ് ഉപയോഗിക്കാം
ഫലം. ഡെഡിക്കേറ്റഡ് തുറക്കാൻ ലംബ ടൂൾ ബാറിലെ [ഡാറ്റ ഇൻജക്ഷൻ] ടാബ് തിരഞ്ഞെടുക്കുക. view ഈ പ്രവർത്തനത്തിന്.

ചിത്രം 8. MEMS-സ്റ്റുഡിയോ - ലൈബ്രറി മൂല്യനിർണ്ണയം - ഡാറ്റ ഇഞ്ചക്ഷൻ

ഘട്ടം 7.

തിരഞ്ഞെടുക്കാൻ [ബ്രൗസ്] ബട്ടണിൽ ക്ലിക്ക് ചെയ്യുക file CSV ഫോർമാറ്റിൽ മുമ്പ് പിടിച്ചെടുത്ത ഡാറ്റയോടൊപ്പം. കറൻ്റിൽ ഡാറ്റ ടേബിളിലേക്ക് ലോഡ് ചെയ്യും view. മറ്റ് ബട്ടണുകൾ സജീവമാകും. നിങ്ങൾക്ക് ഇതിൽ ക്ലിക്ക് ചെയ്യാം:
ഫേംവെയർ ഓഫ്‌ലൈൻ മോഡ് ഓൺ/ഓഫ് ചെയ്യുന്നതിനുള്ള [ഓഫ്‌ലൈൻ മോഡ്] ബട്ടൺ (മുമ്പ് പിടിച്ചെടുത്ത ഡാറ്റ ഉപയോഗിച്ചുള്ള മോഡ്).
MEMS-സ്റ്റുഡിയോയിൽ നിന്ന് ലൈബ്രറിയിലേക്കുള്ള ഡാറ്റ ഫീഡ് നിയന്ത്രിക്കാൻ [ആരംഭിക്കുക]/[നിർത്തുക]/[ഘട്ടം]/[ആവർത്തിക്കുക] ബട്ടണുകൾ ഉപയോഗിക്കുക.

UM2350 – Rev 4

പേജ് 10/16

UM2350
റഫറൻസുകൾ

3

റഫറൻസുകൾ

താഴെ പറയുന്ന എല്ലാ ഉറവിടങ്ങളും www.st.com-ൽ സൗജന്യമായി ലഭ്യമാണ്. 1. UM1859: X-CUBE-MEMS1 മോഷൻ MEMS-ഉം പരിസ്ഥിതി സെൻസർ സോഫ്റ്റ്‌വെയറും ഉപയോഗിച്ച് ആരംഭിക്കുക.
STM32Cube 2-നുള്ള വിപുലീകരണം. UM1724: STM32 ന്യൂക്ലിയോ-64 ബോർഡുകൾ (MB1136) 3. UM3233: MEMS-സ്റ്റുഡിയോ ഉപയോഗിച്ച് ആരംഭിക്കുന്നു

UM2350 – Rev 4

പേജ് 11/16

UM2350

റിവിഷൻ ചരിത്രം

പട്ടിക 4. പ്രമാണ പുനരവലോകന ചരിത്രം

തീയതി

പതിപ്പ് മാറ്റങ്ങൾ

24-Jan-2018 1 Initial release.

21-Mar-2018 2 Updated Introduction and Section 2.1 MotionPW overview. Updated Section 2.2.5: Algorithm performance and Figure 3. STM32 Nucleo: LEDs, button, jumper.
20-Feb-2019 3 Added X-NUCLEO-IKS01A3 expansion board compatibility information.

Updated Section Introduction, Section 2.1: MotionPW overview, Section 2.2.1: MotionPW library 20-May-2025 4 description, Section 2.2.2: MotionPW APIs, Section 2.2.4: Demo code, Section 2.2.5: Algorithm
പ്രകടനം, വിഭാഗം 2.3: എസ്ample ആപ്ലിക്കേഷൻ, സെക്ഷൻ 2.4: MEMS സ്റ്റുഡിയോ ആപ്ലിക്കേഷൻ

UM2350 – Rev 4

പേജ് 12/16

UM2350
ഉള്ളടക്കം
ഉള്ളടക്കം
1 Acronyms and abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 MotionPW middleware library in X-CUBE-MEMS1 software expansion for
STM32Cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 2.1 MotionPW overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 MotionPW library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2.1 MotionPW library description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2.2 MotionPW APIs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2.3 API flow chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2.4 Demo code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2.5 Algorithm performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.3 Sample അപേക്ഷ . . . . . 7
3 റഫറൻസുകൾ . .

UM2350 – Rev 4

പേജ് 13/16

UM2350
പട്ടികകളുടെ പട്ടിക

പട്ടികകളുടെ പട്ടിക

പട്ടിക 1. പട്ടിക 2. പട്ടിക 3. പട്ടിക 4.

List of acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Algorithm elapse time (µs) Cortex-M4, Cortex-M3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Algorithm elapse time (µs) Cortex-M33 and Cortex-M7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

UM2350 – Rev 4

പേജ് 14/16

UM2350
കണക്കുകളുടെ പട്ടിക

കണക്കുകളുടെ പട്ടിക

ചിത്രം 1. ചിത്രം 2. ചിത്രം 3. ചിത്രം 4. ചിത്രം 5. ചിത്രം 6. ചിത്രം 7. ചിത്രം 8.

MotionPW API logic sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Orientation system for wrist-worn devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 STM32 Nucleo: LEDs, button, jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 MEMS-Studio – Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 MEMS-Studio – Library Evaluation – Data Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 MEMS-Studio – Library Evaluation – Pedometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 MEMS-Studio – Library Evaluation – Save To File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 MEMS-Studio – Library Evaluation – Data Injection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

UM2350 – Rev 4

പേജ് 15/16

UM2350
സുപ്രധാന അറിയിപ്പ് ശ്രദ്ധാപൂർവ്വം വായിക്കുക STMicroelectronics NV യും അതിന്റെ അനുബന്ധ സ്ഥാപനങ്ങളും ("ST") ST ഉൽപ്പന്നങ്ങളിലും കൂടാതെ/അല്ലെങ്കിൽ ഈ ഡോക്യുമെന്റിൽ എപ്പോൾ വേണമെങ്കിലും അറിയിപ്പ് കൂടാതെ മാറ്റങ്ങൾ, തിരുത്തലുകൾ, മെച്ചപ്പെടുത്തലുകൾ, പരിഷ്‌ക്കരണങ്ങൾ, മെച്ചപ്പെടുത്തലുകൾ എന്നിവ വരുത്താനുള്ള അവകാശം നിക്ഷിപ്തമാണ്. ഓർഡറുകൾ നൽകുന്നതിന് മുമ്പ് വാങ്ങുന്നവർ ST ഉൽപ്പന്നങ്ങളുടെ ഏറ്റവും പുതിയ പ്രസക്തമായ വിവരങ്ങൾ നേടിയിരിക്കണം. ഓർഡർ അക്‌നോളജ്‌മെന്റ് സമയത്ത് എസ്ടിയുടെ വിൽപ്പന നിബന്ധനകൾക്കും വ്യവസ്ഥകൾക്കും അനുസരിച്ചാണ് എസ്ടി ഉൽപ്പന്നങ്ങൾ വിൽക്കുന്നത്. ST ഉൽപ്പന്നങ്ങളുടെ തിരഞ്ഞെടുപ്പ്, തിരഞ്ഞെടുക്കൽ, ഉപയോഗം എന്നിവയുടെ പൂർണ ഉത്തരവാദിത്തം വാങ്ങുന്നവർക്ക് മാത്രമായിരിക്കും, കൂടാതെ അപേക്ഷാ സഹായത്തിനോ വാങ്ങുന്നവരുടെ ഉൽപ്പന്നങ്ങളുടെ രൂപകൽപ്പനയ്‌ക്കോ യാതൊരു ബാധ്യതയും എസ്ടി ഏറ്റെടുക്കുന്നില്ല. ഏതെങ്കിലും ബൗദ്ധിക സ്വത്തവകാശത്തിനുള്ള ലൈസൻസ്, എക്സ്പ്രസ് അല്ലെങ്കിൽ സൂചനയൊന്നും ഇവിടെ എസ്ടി നൽകുന്നില്ല. ഇവിടെ പ്രതിപാദിച്ചിരിക്കുന്ന വിവരങ്ങളിൽ നിന്ന് വ്യത്യസ്തമായ വ്യവസ്ഥകളോടെ ST ഉൽപ്പന്നങ്ങളുടെ പുനർവിൽപ്പന, അത്തരം ഉൽപ്പന്നത്തിന് ST നൽകുന്ന ഏതെങ്കിലും വാറന്റി അസാധുവാകും. എസ്ടിയും എസ്ടി ലോഗോയും എസ്ടിയുടെ വ്യാപാരമുദ്രകളാണ്. ST വ്യാപാരമുദ്രകളെക്കുറിച്ചുള്ള കൂടുതൽ വിവരങ്ങൾക്ക്, www.st.com/trademarks കാണുക. മറ്റെല്ലാ ഉൽപ്പന്നങ്ങളുടെയും സേവനങ്ങളുടെയും പേരുകൾ അവയുടെ ഉടമസ്ഥരുടെ സ്വത്താണ്. ഈ പ്രമാണത്തിലെ വിവരങ്ങൾ ഈ ഡോക്യുമെന്റിന്റെ ഏതെങ്കിലും മുൻ പതിപ്പുകളിൽ മുമ്പ് നൽകിയിട്ടുള്ള വിവരങ്ങൾ അസാധുവാക്കുകയും പകരം വയ്ക്കുകയും ചെയ്യുന്നു.
© 2025 STMicroelectronics എല്ലാ അവകാശങ്ങളും നിക്ഷിപ്തം

UM2350 – Rev 4

പേജ് 16/16

പ്രമാണങ്ങൾ / വിഭവങ്ങൾ

ST X-CUBE-MEMS1 Sensor and Motion Algorithm Software Expansion [pdf] ഉപയോക്തൃ മാനുവൽ
STM32 Nucleo, X-NUCLEO-IKS4A1, X-NUCLEO-IKS01A3, X-CUBE-MEMS1 Sensor and Motion Algorithm Software Expansion, X-CUBE-MEMS1, Sensor and Motion Algorithm Software Expansion, Motion Algorithm Software Expansion, Algorithm Software Expansion, Software Expansion

റഫറൻസുകൾ

ഒരു അഭിപ്രായം ഇടൂ

നിങ്ങളുടെ ഇമെയിൽ വിലാസം പ്രസിദ്ധീകരിക്കില്ല. ആവശ്യമായ ഫീൽഡുകൾ അടയാളപ്പെടുത്തി *