commit | 9898b2fc3ff18445c47e7261dd840133b05c0af8 | [log] [tgz] |
---|---|---|
author | Yuval Peress <peress@google.com> | Thu Nov 16 01:30:27 2023 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Jan 16 10:01:00 2024 +0100 |
tree | 3ec29e3b1ef09551dd1ba10c0293d041e8446722 | |
parent | be563239c8e09636dfad9f7737149260cf39fabd [diff] |
bmi160: Make changes to align driver to datasheet The logic in the driver was not aligned to the datasheet. Also, temperature reading was not being done in fetch, but in channel_get. There was also some extra conversions from SI->register->SI when setting the range, this was causing the register value calculation to produce an incorrect scale in some cases. Tests were added to cover these cases. Signed-off-by: Yuval Peress <peress@google.com>