zephyr/drivers/sensor/ams
Mohammed Billoo 2850be690d drivers: sensor: ams/tsl2591: Don't check return code of initial reset
The TSL2591 driver fails to initialize because the sensor responds with a
NACK on the initial RESET. Although the datasheet from Adafruit claims that
this is operation should be valid (RESET is part of the CONTROL register),
other sample non-Zephyr drivers provided by Arduino don't explicitly reset
the sensor on initialization (see
https://github.com/adafruit/Adafruit_TSL2591_Library/blob/master/Adafruit_TSL2591.cpp).
Thus, the assumption is that when the sensor is reset via software, it
doesn't respond to an ACK.

After removing the check for this initial RESET, the driver initializes
successfully.

Signed-off-by: Mohammed Billoo <mab@mab-labs.com>
2025-02-05 21:00:36 +01:00
..
ams_as5600 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ams_iAQcore drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ccs811 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ens210 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
tcs3400 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
tmd2620 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
tsl2540 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
tsl2561 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
tsl2591 drivers: sensor: ams/tsl2591: Don't check return code of initial reset 2025-02-05 21:00:36 +01:00
CMakeLists.txt
Kconfig