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

ltc6811: NoPolling mode does not work? #14

Open
alexanderustinov opened this issue Dec 25, 2024 · 2 comments
Open

ltc6811: NoPolling mode does not work? #14

alexanderustinov opened this issue Dec 25, 2024 · 2 comments

Comments

@alexanderustinov
Copy link

alexanderustinov commented Dec 25, 2024

Hello, thank you for the effort.

I was working with LTC6811 through linux-embedded-hal on rpi3 and stumbled upon a problem: measurements always give ChecksumMismatch when done in NoPolling mode.

I am not sure but it seems that in NoPolling mode CS pin get high while thread sleeps for time required for adc to measure. After it gets low again 6811 does not respond.

Anyone else experiencing this on other platforms or with other chip?

@marius-meissner
Copy link
Member

We once had the problem that the IC went into power-saving mode after a while, even though there was actually enough activity.
This can be prevented if the reference voltage is switched on permanently:
https://docs.rs/ltc681x/0.6.0/ltc681x/config/struct.Configuration.html#method.enable_reference_power

Perhaps the problem is similar for you.

@alexanderustinov
Copy link
Author

We once had the problem that the IC went into power-saving mode after a while, even though there was actually enough activity. This can be prevented if the reference voltage is switched on permanently: https://docs.rs/ltc681x/0.6.0/ltc681x/config/struct.Configuration.html#method.enable_reference_power

Thanks. But alas, this seems to be different problem - pre-writing configuration with enable_reference_power set does not change the outcome.

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

2 participants