Skip to content
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

Plans to add LSM6DS3TR-C ? #31

Closed
masynmachien opened this issue Nov 11, 2024 · 2 comments · Fixed by #32
Closed

Plans to add LSM6DS3TR-C ? #31

masynmachien opened this issue Nov 11, 2024 · 2 comments · Fixed by #32
Assignees

Comments

@masynmachien
Copy link

Thank you very much for making and sharing this library.

I have been using your FastIMU library succesfully to move our project https://github.com/FedericoBusero/Wifi-Hovercraft-Browser from the MPU-6050 (no longer manufactured) to newer cheap IMU's.
I had great results with the LSM6DS3TR, but that one is also no longer manufactured.
I switched to the LSM6DS3TR-C, but it does not initialise.
I do get it to work with the Adafruit_LSM6DS3TRC library, using I2C (my preference)
Good to know probably, is that the Adafruit_LSM6DS33 library can use any LSM6DS/ISM330 family chip, EXEPT the LSM6DS3TR-C.

Thanks and best regards,

masynmachien

@FedericoBusero
Copy link

That would be great! In fact it is perfectly compatible with LSM6DS3.

As a worlaround, simply remove following lines and it works.

	if (!(readByte(IMUAddress, LSM6DS3_WHO_AM_I) == LSM6DS3_WHOAMI_DEFAULT_VALUE)) {
		return -1;
	}

@LiquidCGS
Copy link
Owner

Yep, LSM IMU family is big and for the most part shares registers so that temporary workaround should be fine for now.
I'll add proper support for it in the following days.

@LiquidCGS LiquidCGS self-assigned this Nov 12, 2024
@LiquidCGS LiquidCGS linked a pull request Nov 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants