-
Notifications
You must be signed in to change notification settings - Fork 16
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
Difference between code and datasheet #29
Comments
Which eeprom version do you have in chip and which version are you looking at in datasheet? |
EE_VERSION on chip returns 0x8305. |
Thanks for a detailed review of the implementation. |
Hi,
Best regards |
Hello,
It seems there are some differences regarding the datasheet and the example library:
in the 3rd iteration the end result is obtained
but in the library 5 iterations are made cfr. mlx90632.c lines 403 and 434. How many iterations should be done then? Is there an advantage to make more iterations?In the code function
mlx90632_preprocess_temp_object()
, line284:return ((((object_new_raw + object_old_raw) / 2) / (MLX90632_REF_12)) / VR_IR) * 524288.0;
it is using object_new_raw = (RAM_4 + RAM_5) / 2 and object_old_raw = (RAM_7 + RAM_8) / 2 (for cycle_pos = 1).
What should be done finally? Is the code up-to-date with the datasheet? Should I follow the datasheet or the code?
Thanks.
The text was updated successfully, but these errors were encountered: