2021-10-01 09:28 AM
Hi,
I am trying to figure out how to determine the reg=<0x??> value for the LIS2DW12. From the example page they have 0x6b but for a different device. I cannot figure out what this value needs to be.
Thanks
&i2c2 {
status = "ok";
#address-cells = <0x1>;
#size-cells = <0x0>;
lis2dw@6b {
compatible = "st,lis2dw12";
reg = <0x6b>;
interrupt-parent = <&gpio4>;
interrupts = <31 IRQ_TYPE_LEVEL_HIGH>;
};
Solved! Go to Solution.
2021-10-01 11:24 AM
i have figured this out and no help needed.
0x19 or 0x18 depending on SA0 pin.
2021-10-01 11:24 AM
i have figured this out and no help needed.
0x19 or 0x18 depending on SA0 pin.
2021-10-04 03:16 AM
Thank you @BCour.1 for coming back and sharing the solution!
That's a good practice.
-Eleon