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

Wrong bit cleared in MLX90640_SetDeviceMode? #70

Open
YuyaNagamatsu opened this issue May 24, 2024 · 1 comment
Open

Wrong bit cleared in MLX90640_SetDeviceMode? #70

YuyaNagamatsu opened this issue May 24, 2024 · 1 comment

Comments

@YuyaNagamatsu
Copy link

I wonder why the bit 1 instead of 4 is cleared in MLX90640_SetDeviceMode function.
fdcac80#diff-8d40bd42b75a93ac01833ca59b08e59ba1a645daddb60a506f0e4a8dff783a14R275

Maybe few users need to reselect the SubPage 0 from the SubPage 1, so there will be no problem.

@YuyaNagamatsu
Copy link
Author

YuyaNagamatsu commented May 26, 2024

I guess this function aims to update the SubPages Mode bit [or the Enable Data Hold bit?] in the Control Register 0x800D. Then it should set the bit 0 [or 2?] (neither the bit 1 nor the bit 4)? Am I misunderstanding how to set the SubPages Mode?

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

No branches or pull requests

1 participant