ST X-CUBE-MEMS1 Sensor និង Motion Algorithm សៀវភៅណែនាំអ្នកប្រើប្រាស់

ឧបករណ៍ចាប់សញ្ញា X-CUBE-MEMS1 និងការពង្រីកផ្នែកទន់នៃក្បួនដោះស្រាយចលនា

ព័ត៌មានអំពីផលិតផល

លក្ខណៈបច្ចេកទេស

  • Product Name: MotionPW Real-time Pedometer
  • ភាពឆបគ្នា៖ ការពង្រីក X-CUBE-MEMS1 សម្រាប់ STM32Cube
  • ក្រុមហ៊ុនផលិត:STMicroelectronics
  • Library: MotionPW Middleware Library
  • Data Acquisition: Accelerometer
  • Sampប្រេកង់ ling: 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.

APIs

  • 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លីង
ប្រេកង់?

A: តម្រូវការ sampling 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ការអនុវត្តដំណើរការលើបន្ទះពង្រីក X-NUCLEO-IKS4A1 ឬ X-NUCLEO-IKS01A3 នៅលើក្រុមប្រឹក្សាអភិវឌ្ឍន៍ NUCLEO-F401RE, NUCLEO-U575ZI-Q ឬ NUCLEO-L152RE ។

UM2350 – Rev 4 – May 2025 សម្រាប់ព័ត៌មានបន្ថែម សូមទាក់ទងការិយាល័យលក់ STMicroelectronics ក្នុងតំបន់របស់អ្នក។

www.st.com

UM2350
អក្សរកាត់និងអក្សរកាត់

1

អក្សរកាត់និងអក្សរកាត់

API អក្សរកាត់ BSP GUI HAL IDE

តារាងទី 1. បញ្ជីអក្សរកាត់

ចំណុចប្រទាក់កម្មវិធីកម្មវិធី កញ្ចប់គាំទ្រ ចំណុចប្រទាក់អ្នកប្រើក្រាហ្វិក ស្រទាប់អរូបីផ្នែករឹង បរិយាកាសអភិវឌ្ឍន៍រួមបញ្ចូលគ្នា

ការពិពណ៌នា

UM2350 – បប ១

ទំព័រ 2/16

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

·

ការទទួលស្គាល់ដោយផ្អែកលើទិន្នន័យ accelerometer ប៉ុណ្ណោះ។

·

ទិន្នន័យឧបករណ៍វាស់ល្បឿនដែលត្រូវការ sampប្រេកង់ 50 Hz

·

តម្រូវការធនធាន៖

Cortex-M3: 3.7 kB នៃកូដ និង 1.8 kB នៃអង្គចងចាំទិន្នន័យ

Cortex-M33: 3.5 kB នៃកូដ និង 1.8 kB នៃអង្គចងចាំទិន្នន័យ

Cortex-M4: 3.5 kB នៃកូដ និង 1.8 kB នៃអង្គចងចាំទិន្នន័យ

Cortex-M7: 3.6 kB នៃកូដ និង 1.8 kB នៃអង្គចងចាំទិន្នន័យ

·

មានសម្រាប់ 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 – បប ១

ទំព័រ 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 parameter គឺជាទ្រនិចទៅរចនាសម្ព័ន្ធដែលមានទិន្នន័យបញ្ចូល

­ the parameters for the structure type MPW_input_t are:

AccX គឺ​ជា​តម្លៃ​ឧបករណ៍​វាស់​ល្បឿន​ក្នុង​អ័ក្ស X ក្នុង​ក្រាម

AccY គឺជាតម្លៃឧបករណ៏វាស់ល្បឿនក្នុងអ័ក្ស Y ក្នុង g

AccZ គឺជាតម្លៃឧបករណ៏វាស់ល្បឿនក្នុងអ័ក្ស Z ក្នុង g

­ 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 – បប ១

ទំព័រ 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
រង់ចាំការផុតកំណត់នៃកម្មវិធីកំណត់ពេលវេលាអានទិន្នន័យរំខាន

អានការធ្វើបច្ចុប្បន្នភាពទិន្នន័យ Accelerometer
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 – បប ១

ទំព័រ 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. Algorithm elapse time (µs) Cortex-M4, Cortex-M3

Cortex-M4 STM32F401RE នៅ 84 MHz

នាទី

មធ្យម

អតិបរមា

38

49

616

Cortex-M3 STM32L152RE នៅ 32 MHz

នាទី

មធ្យម

អតិបរមា

296

390

3314

UM2350 – បប ១

ទំព័រ 6/16

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

តារាងទី 3. Algorithm elapse time (µs) Cortex-M33 និង Cortex-M7

Cortex- M33 STM32U575ZI-Q នៅ 160 MHz

នាទី

មធ្យម

អតិបរមា

57

63

359

Cortex- M7 STM32F767ZI នៅ 96 MHz

នាទី

មធ្យម

អតិបរមា

61

88

1301

2.3

Sampកម្មវិធី le

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

អេ សample កម្មវិធីត្រូវបានផ្តល់ជូននៅក្នុងថតកម្មវិធី។ វាត្រូវបានរចនាឡើងដើម្បីដំណើរការលើបន្ទះអភិវឌ្ឍន៍ NUCLEO-F401RE, NUCLEOU575ZI-Q ឬ NUCLEO-L152RE ដែលភ្ជាប់ទៅបន្ទះពង្រីក X-NUCLEO-IKS4A1 ឬ X-NUCLEO-IKS01A3 ។

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

រូបភាពទី 3. STM32 Nucleo: LEDs, button, jumper

រូបខាងលើបង្ហាញពីប៊ូតុងអ្នកប្រើប្រាស់ B1 និង LEDs ចំនួនបីនៃបន្ទះ NUCLEO-F401RE។ នៅពេលដែលបន្ទះត្រូវបានបើកភ្លើង 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-Studio ។

2.4

កម្មវិធី MEMS Studio

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

ជំហានទី 1. ត្រូវប្រាកដថាកម្មវិធីបញ្ជាចាំបាច់ត្រូវបានដំឡើង ហើយបន្ទះ STM32 Nucleo ដែលមានបន្ទះពង្រីកសមស្របត្រូវបានភ្ជាប់ទៅកុំព្យូទ័រ។

UM2350 – បប ១

ទំព័រ 7/16

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

ជំហានទី 2 ។

បើកដំណើរការកម្មវិធី MEMS-Studio ដើម្បីបើកបង្អួចកម្មវិធីសំខាន់។
ប្រសិនបើបន្ទះ STM32 Nucleo ដែលមានកម្មវិធីបង្កប់ដែលគាំទ្រត្រូវបានភ្ជាប់ទៅកុំព្យូទ័រនោះ វាត្រូវបានរកឃើញដោយស្វ័យប្រវត្តិ។ ចុចប៊ូតុង [ភ្ជាប់] ដើម្បីបង្កើតការតភ្ជាប់ទៅក្រុមប្រឹក្សាវាយតម្លៃ។

រូបភាពទី 4. MEMS-Studio – ភ្ជាប់

ជំហានទី 3. នៅពេលភ្ជាប់ទៅបន្ទះ STM32 Nucleo ដែលមានកម្មវិធីបង្កប់ដែលគាំទ្រ [ការវាយតម្លៃបណ្ណាល័យ] ត្រូវបានបើក។

ដើម្បីចាប់ផ្តើម និងបញ្ឈប់ការផ្សាយទិន្នន័យ សូមបិទបើករបារឧបករណ៍បញ្ឈរ [ចាប់ផ្តើម] ដែលសមស្រប។

ឬប៊ូតុង [បញ្ឈប់] នៅខាងក្រៅ

ទិន្នន័យដែលបានមកពីឧបករណ៍ចាប់សញ្ញាដែលបានតភ្ជាប់អាចជា viewed ជ្រើសរើសផ្ទាំង [តារាងទិន្នន័យ] នៅលើរបារឧបករណ៍បញ្ឈរខាងក្នុង។

រូបភាពទី 5. MEMS-Studio – ការវាយតម្លៃបណ្ណាល័យ – តារាងទិន្នន័យ

UM2350 – បប ១

ទំព័រ 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-Studio – ការវាយតម្លៃបណ្ណាល័យ – រក្សាទុកទៅ File

UM2350 – បប ១

ទំព័រ 9/16

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

ជំហានទី 6 ។

របៀបចាក់ទិន្នន័យអាចត្រូវបានប្រើដើម្បីផ្ញើទិន្នន័យដែលទទួលបានពីមុនទៅបណ្ណាល័យ និងទទួល
លទ្ធផល។ ជ្រើសរើសផ្ទាំង [ការបញ្ចូលទិន្នន័យ] នៅលើរបារឧបករណ៍បញ្ឈរ ដើម្បីបើកកម្មវិធីពិសេស view សម្រាប់មុខងារនេះ។

រូបភាពទី 8. MEMS-Studio – ការវាយតម្លៃបណ្ណាល័យ – ការចាក់ទិន្នន័យ

ជំហានទី 7 ។

ចុចលើប៊ូតុង [រកមើល] ដើម្បីជ្រើសរើស file ជាមួយនឹងទិន្នន័យដែលបានចាប់យកពីមុនជាទម្រង់ CSV ។ ទិន្នន័យនឹងត្រូវបានផ្ទុកទៅក្នុងតារាងក្នុងចរន្ត view. ប៊ូតុងផ្សេងទៀតនឹងសកម្ម។ អ្នកអាចចុចលើ៖
ប៊ូតុង [របៀបក្រៅបណ្តាញ] ដើម្បីប្តូររបៀបក្រៅបណ្តាញកម្មវិធីបង្កប់ បើក/បិទ (របៀបប្រើប្រាស់ទិន្នន័យដែលបានចាប់យកពីមុន)។
ប៊ូតុង [ចាប់ផ្តើម]/[Stop]/[ជំហាន]/[ធ្វើឡើងវិញ] ដើម្បីគ្រប់គ្រងព័ត៌មានទិន្នន័យពី MEMS-Studio ទៅបណ្ណាល័យ។

UM2350 – បប ១

ទំព័រ 10/16

UM2350
ឯកសារយោង

3

ឯកសារយោង

ធនធានខាងក្រោមទាំងអស់អាចរកបានដោយសេរីនៅលើគេហទំព័រ www.st.com ។ 1. UM1859៖ ចាប់ផ្តើមជាមួយ MEMS ចលនា X-CUBE-MEMS1 និងកម្មវិធីឧបករណ៍ចាប់សញ្ញាបរិស្ថាន
ការពង្រីកសម្រាប់ STM32Cube 2. UM1724: STM32 Nucleo-64 boards (MB1136) 3. UM3233: ការចាប់ផ្តើមជាមួយ MEMS-Studio

UM2350 – បប ១

ទំព័រ 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: Sample កម្មវិធី ផ្នែកទី 2.4៖ កម្មវិធី MEMS Studio

UM2350 – បប ១

ទំព័រ 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 Sampកម្មវិធី le ។ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.4 កម្មវិធី MEMS Studio ។ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ៨
3 ឯកសារយោង។ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 ប្រវត្តិនៃការពិនិត្យឡើងវិញ។ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .១៣

UM2350 – បប ១

ទំព័រ 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 – បប ១

ទំព័រ 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 – បប ១

ទំព័រ 15/16

UM2350
ការជូនដំណឹងសំខាន់ អានដោយប្រុងប្រយ័ត្ន STMicroelectronics NV និងក្រុមហ៊ុនបុត្រសម្ព័ន្ធរបស់ខ្លួន (“ST”) រក្សាសិទ្ធិដើម្បីធ្វើការផ្លាស់ប្តូរ ការកែតម្រូវ ការកែលម្អ ការកែប្រែ និងការកែលម្អផលិតផល ST និង/ឬឯកសារនេះនៅពេលណាមួយដោយមិនមានការជូនដំណឹងជាមុន។ អ្នកទិញគួរតែទទួលបានព័ត៌មានពាក់ព័ន្ធចុងក្រោយបំផុតលើផលិតផល ST មុនពេលធ្វើការបញ្ជាទិញ។ ផលិតផល ST ត្រូវបានលក់ដោយអនុលោមតាមល័ក្ខខ័ណ្ឌនៃការលក់របស់ ST នៅពេលនៃការទទួលស្គាល់ការបញ្ជាទិញ។ អ្នកទិញទទួលខុសត្រូវទាំងស្រុងចំពោះជម្រើស ការជ្រើសរើស និងការប្រើប្រាស់ផលិតផល ST ហើយ ST មិនទទួលខុសត្រូវចំពោះជំនួយកម្មវិធី ឬការរចនាផលិតផលរបស់អ្នកទិញឡើយ។ គ្មានអាជ្ញាប័ណ្ណ បញ្ជាក់ ឬបង្កប់ន័យចំពោះសិទ្ធិកម្មសិទ្ធិបញ្ញាណាមួយត្រូវបានផ្តល់ដោយ ST នៅទីនេះ។ ការលក់បន្តនៃផលិតផល ST ជាមួយនឹងបទប្បញ្ញត្តិខុសពីព័ត៌មានដែលមានចែងនៅទីនេះ នឹងត្រូវចាត់ទុកជាមោឃៈនូវការធានាណាមួយដែលផ្តល់ដោយ ST សម្រាប់ផលិតផលនោះ។ ST និងនិមិត្តសញ្ញា ST គឺជាពាណិជ្ជសញ្ញារបស់ ST ។ សម្រាប់ព័ត៌មានបន្ថែមអំពីពាណិជ្ជសញ្ញា ST សូមមើល www.st.com/trademarks ។ ឈ្មោះផលិតផល ឬសេវាកម្មផ្សេងទៀតទាំងអស់គឺជាកម្មសិទ្ធិរបស់ម្ចាស់រៀងៗខ្លួន។ ព័ត៌មាននៅក្នុងឯកសារនេះជំនួស និងជំនួសព័ត៌មានដែលបានផ្តល់ពីមុននៅក្នុងកំណែមុននៃឯកសារនេះ។
© 2025 STMicroelectronics រក្សាសិទ្ធិគ្រប់យ៉ាង

UM2350 – បប ១

ទំព័រ 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

ឯកសារយោង

ទុកមតិយោបល់

អាសយដ្ឋានអ៊ីមែលរបស់អ្នកនឹងមិនត្រូវបានផ្សព្វផ្សាយទេ។ វាលដែលត្រូវការត្រូវបានសម្គាល់ *