Guides · Quality & authenticity

What Does an LSM6DSV Self-Test Pass Actually Verify?

Interpret an LSM6DSV self-test by checking the settings, per-axis response, and limits. Keep the device ID, application performance, and lot decision separate.

· StockWake team · Source: Original content by StockWake. Please credit StockWake when republishing.

MEMS accelerometer mounted on an external laboratory test fixture

An LSM6DSV self-test pass verifies that, under the recorded test conditions, the reported axes on a specific sample responded to the built-in stimulus within the applicable limits. Keep the device-ID read separate from the response test. Review the stimulus-off and stimulus-on averages for each axis, the difference, the units, and the limits used. Application performance, part authenticity, and lot acceptance require their own evidence.

Record the Device ID Before Testing the Axes

The STMicroelectronics LSM6DSV datasheet DS13476 Rev 5 specifies a fixed value of 0x70 for the read-only WHO_AM_I register. A matching read shows the host received the expected identification byte on that transaction. Save the value and the interface used, then move on to the sensor response checks.

IMU-wiring-inside-a-wearable-motion-tracker

Wiring between a GY-BNO08X IMU and its controller in a DIY wearable motion tracker.

However, do not over-rely on this reading. The LSM6DSV32X datasheet lists the same value. An ST technical moderator addressed this exact pair and referred the questioner to ST support for further identification help. Therefore, a register read cannot distinguish these two variants by itself. Record the ordering code from the material documents. ST lists LSM6DSV for tray packing and LSM6DSVTR for tape and reel. Link that record to the sample and its package label. Include the lot identifier or another traceable package reference when available.

Compare the Responses With and Without the Stimulus

The accelerometer and gyroscope self-tests use separate sensor readings. ST application note AN5922 Rev 3 describes how to compare the output before and after applying the internal stimulus. To do this correctly, keep the device stationary in the same orientation through both measurements. For each axis, compare the magnitude of the change between its stimulus-off and stimulus-on averages.

Check the test flow for settling and data-ready handling. The user interface (UI) procedures in AN5922 Figures 36 and 39 specify when to discard readings and when to collect fresh ones. Record the two averages and the absolute difference for X, Y, and Z. Keep in mind that an average across the three axes could hide a single out-of-range result.

LSM6DSV-self-test-stimulus-off-and-on-averages

How to compare per-axis averages for the UI self-test in Modes 1 and 2. StockWake illustration based on ST AN5922 Rev 3, Figures 36 and 39, and DS13476 Rev 5, Table 3.

Record the actual stimulus setting and software revision. ST's LSM6DSV C self-test example selects negative stimulus for the accelerometer and positive stimulus for the gyroscope. Note that Figure 36 in AN5922 shows the positive accelerometer stimulus. Keep the reference for the procedure actually run so you can compare the magnitude against the appropriate limits.

Match the Self-Test Limits to the Configuration

The reference rows below combine the settings in the AN5922 UI procedures for modes 1 and 2 with the applicable DS13476 Table 3 output-change limits. Table 3 specifies 1.8 V and 25 °C unless otherwise noted. Therefore, record the actual conditions alongside the result.

LSM6DSV Self-Test Settings and Per-Axis Response Limits

Scroll sideways to see the whole table

Sensor

UI Procedure Reference

Magnitude of Change

Accelerometer

AN5922 Figure 36, ±4 g and 60 Hz

50 to 1700 mg

Gyroscope

AN5922 Figure 39, ±2000 degrees per second and 240 Hz

150 to 700 degrees per second

Gyroscope

Separate datasheet row for ±250 degrees per second

20 to 80 degrees per second. Use the procedure applicable to the actual configuration.

ST specifies the accelerometer limits in physical units independent of full scale. However, the conversion from raw counts still follows the selected full scale. Table 3, for example, lists typical sensitivities of 0.061 mg per count at ±2 g and 0.122 mg per count at ±4 g. Use the conversion for the setting recorded by the test. For the gyroscope, match the range and the units. A 150 to 700 degrees-per-second window is 150,000 to 700,000 millidegrees per second, the units used in the ST C example.

Confirm the signal path before applying the table. AN5922 documents separate procedures for mode 3 when the optical image stabilization (OIS) chain is active. Ask which chain was read and which procedure the test used. A report that states only "self-test" leaves the specific chain and configuration unconfirmed.

Request a Record You Can Review Axis by Axis

If a supplier sends only a pass screenshot, ask for the stimulus-off and stimulus-on averages, the absolute difference, the units, and the applied limits for each axis. Use one record per sample and identify any reruns. The reviewer should be able to trace the axis results to the board, script, and material tested. If you are still defining the work, add these fields to your component inspection request.

Fields for an LSM6DSV Sample Self-Test Record

Scroll sideways to see the whole table

Record

Information to Enter

Sample identity

Complete ordering code, sample ID, linked lot or package reference, board revision.

Test setup

Interface, WHO_AM_I result, script revision, ST document and procedure, chain and mode.

Test conditions

Full scale and output data rate per sensor, stimulus setting, supply and temperature, fixture state.

Measurements

Off and on averages, difference, units, and limit comparison for each axis and sensor.

Disposition

Per-sensor result, missing evidence or specific out-of-range axis, reviewer decision and retest reference.

Treat missing settings, missing axes, or an unresolved unit mismatch as incomplete evidence. Once the method and data are clear, an out-of-range result on one axis means that sensor did not pass the stated test. Record which axis failed and keep its readings with the setup. Keep in mind that that result alone does not identify the root cause.

Use Separate Evidence for Application Performance and Lot Acceptance

A valid response test covers the tested sample and sensing paths. However, if your board also requires a specified bias, noise level, or drift over temperature, check those requirements on the application setup. The stimulus test does not measure them. Keep provenance and lot disposition separate. The guide to component inspection and test records explains how to tie a result to the material and criteria it covers.

FAQ

What should I check if the device ID is wrong?

Save the observed byte and check the selected device, interface configuration, and communication setup. Resolve the mismatch before treating further readings as evidence for the named part.

Can I retest one out-of-range axis?

Follow the agreed method for a retest. Keep the original result and document what changed. When the verdict requires all three axes, use a complete valid run for that sensor and let the reviewer decide how to handle the earlier result.

How can I compare reports that use different units?

Match the procedure, chain, range, and average calculation first. Convert both reports and their limits into the same physical units. For raw counts, you need the conversion used for the recorded full scale of each sensor.

Can I reuse a script written for LSM6DSO or LSM6DSV16X?

Start with the LSM6DSV procedure. If you reuse code, verify the device-specific settings, conversion functions, data-ready handling, and limits before relying on its verdict.

What if the report contains only accelerometer data?

Read the result as coverage of the reported accelerometer axes. If the purchase requires gyroscope evidence too, request its separately recorded settings and axis results.

Hand Over a Result With Its Limits

Keep the sample ID, exact method, axis results, and remaining acceptance questions together. That record lets purchasing and quality decide whether the required sensor response is documented and whether a configuration check, an application test, or a lot-level review is still needed.

Related guides

Keep reading

All guides →