-
Notifications
You must be signed in to change notification settings - Fork 20
Fixed LSM6DS3 to LSM6DS3TR-C #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This chip has slightly different registers.
hiya its correct as is, TR-C just means its on tape and reel |
Hmm, the datasheets have different registers and I cannot get the Seeed XIAO nRF52840 Sense board IMU to work with the current pedometer_enable register bit in the main class. If we check the lsm6ds5tr-c datasheet the And the Seeed Arduino library for LSM6DS3 seems to have two different chip IDs for different models/versions, 0x69 and 0x6A Also the other Adafruit library seems to indicate that the LSM6DS3 chip id is 0x69, but this XIAO board says it has a 0x6A chip.
|
ok thats very wierd but we believe you! |
When I tested the Seeeds own library example it seems to enable the pedometer "accidentally" by putting 0x3C into I was trying to look for other model numbers for it, but the LSM6DS3TR-C seems to be the only item on the manufacturers site, those other LSM6DS3 items can't be found anymore, except for some cached pages for LSM6DS3 and LSM6DS33 |
Updating https://github.com/adafruit/Adafruit_CircuitPython_LSM6DS to 4.3.1 from 4.3.0: > Merge pull request adafruit/Adafruit_CircuitPython_LSM6DS#50 from myllyja/fix-lsm6ds3trc Updating https://github.com/adafruit/Adafruit_CircuitPython_Seesaw to 1.10.7 from 1.10.6: > Merge pull request adafruit/Adafruit_CircuitPython_seesaw#96 from ladyada/main > Fixed readthedocs build > Consolidate Documentation sections of README Updating https://github.com/adafruit/Adafruit_CircuitPython_VL6180X to 1.4.2 from 1.4.1: > Merge pull request adafruit/Adafruit_CircuitPython_VL6180X#27 from tekktrik/fix-example-file Updating https://github.com/adafruit/Adafruit_CircuitPython_asyncio to 0.5.7 from 0.5.6: > Merge pull request adafruit/Adafruit_CircuitPython_asyncio#20 from dhalbert/_asyncio > Fixed readthedocs build Updating https://github.com/adafruit/Adafruit_CircuitPython_MacroPad to 2.0.6 from 2.0.5: > Merge pull request adafruit/Adafruit_CircuitPython_MacroPad#38 from xelwarto/main > Fixed readthedocs build > Post-patch cleanup > Consolidate Documentation sections of README Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 5.2.3 from 5.2.2: > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#104 from fabaff/permission
Originally I read that the "Seeed XIAO nRF52840 Sense" had an LSM6DS3 IMU, but upon further testing, it's actually an LSM6DS3TR-C model so I changed this class to match the chip id to the correct one. The specific sensor model is mentioned in the listing and wiki article.
I've added an example for using the library with the XIAO BLE Sense board which is using a separate IMU I2C bus and an IMU_PWR pin to enable the IMU.
Also now the pedometer example works with this board using the correct register.