zephyr/drivers/sensor/bosch
Wenxi Xu a490c90dc3 drivers: sensor: bmi08x: fix interfaceand trigger
1. Temperature Interface
According to BMI08x datasheet, temperature reading
requires both MSB and LSB bytes to be read and
processed correctly.

Temp data processing should follow the formula:
Temp in °C = (temp_msb * 8) + (temp_lsb / 32)

This patch implements the correct reading
sequence and calculation method as specified
in the datasheet.

2. Trigger Setting
Previously we set handler and then trigger struct.
However under some situation, as long as we set
the handler, we get into ISR immediately and never
set trigger struct.
I simply changed the sequence.

Testing:
- Verified temperature readings match datasheet
- Tested on stm32f407igh board with BMI08x sensor

Fixes: #82375

Signed-off-by: Wenxi Xu <xuwenxi0517@gmail.com>
2025-01-15 19:04:06 +01:00
..
bma4xx drivers: sensor: Add sensor clock API support 2025-01-15 19:03:13 +01:00
bma280 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bmc150_magn drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bme280 drivers: sensor: Add sensor clock API support 2025-01-15 19:03:13 +01:00
bme680 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bmg160 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bmi08x drivers: sensor: bmi08x: fix interfaceand trigger 2025-01-15 19:04:06 +01:00
bmi160 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bmi270 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bmi323 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bmm150 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bmp180 drivers: sensor: bmp180 fix unintentional integer overflow issue 2024-12-13 17:45:15 +01:00
bmp388 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bmp581 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
CMakeLists.txt Drivers: Add support for Bosch bmp180 sensor 2024-08-30 11:46:25 -04:00
Kconfig Drivers: Add support for Bosch bmp180 sensor 2024-08-30 11:46:25 -04:00