Skip to content

Commit 0264ff5

Browse files
kartbengithub-actions[bot]
authored andcommitted
boards: arduino: nicla_vision: fix VL53L1X I2C address
Nicla Vision datasheet is referring to the 8-bit wire address (0x52) for the VL53L1X sensor, so that's likely what ended up being used in the board's devicetree. However, it's the 7-bit I2C address that should be used so fix that by changing the I2C address to 0x29. Successfully tested on actual hardware. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit a663b2b)
1 parent e57a404 commit 0264ff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boards/arduino/nicla_vision/arduino_nicla_vision_stm32h747xx_m7.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@
108108
pinctrl-names = "default";
109109
clock-frequency = <I2C_BITRATE_FAST>;
110110

111-
vl53l1x: vl53l1x@52 {
111+
vl53l1x: vl53l1x@29 {
112112
compatible = "st,vl53l1x";
113-
reg = <0x52>;
113+
reg = <0x29>;
114114
status = "okay";
115115
xshut-gpios = <&gpiog 10 GPIO_ACTIVE_HIGH>;
116116
int-gpios = <&gpiod 8 GPIO_ACTIVE_HIGH>;

0 commit comments

Comments
 (0)