Skip to content

zephyr: LSM6DS3TR-C IMU sensor returns 0 values for all channels #17597

@bikeNomad

Description

@bikeNomad

Port, board and/or hardware

zephyr, xiao_ble/nrf52840/sense

MicroPython version

MicroPython v1.26.0-preview.290.g1b0cdc079 on 2025-07-01; zephyr-xiao_ble with nrf52840

My own board port, see https://github.com/bikeNomad/micropython-xiao_ble_nrf52840_sense/tree/main/zephyr

Reproduction

Run the following in the REPL:

from zsensor import *
s = Sensor('lsm6ds3tr_c')
s.measure()
s.get_float(ACCEL_X)
s.get_float(ACCEL_Y)
s.get_float(ACCEL_Z)
s.get_float(GYRO_X)
s.get_float(GYRO_Y)
s.get_float(GYRO_Z)

Expected behaviour

Expected to return non-zero values for all or most of the channels.

Observed behaviour

Every channel returns 0.0 for the value.

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy