2021-09-10 08:46 AM
Hi im using lis2dw12tr sensor with I2C protocol in my app and i configured sensor in powerdown CTRL1 register i writed 0x00.
But i see that on the board on which sensor is placed has current consumption around 370uA. On the board with unmounted sensor current consumption is 2.5 uA. Code on both board is the same.
I also tried to configure in CTRL2 register CS_PU_DISC to "1" (default is "0"). I have external pull-up resistors on SDA and SCL lines (10k). Schematic is used from sensors datasheet (Figure 6. LISDW12 electrical connections).
Do I must also to change some values in register CTLR3 (PP_OD, LIR, H_LACTIVE) from "0" to "1"?
Is it verification board for the LIS2DW12TR this board STEVAL-MKI179V1?
Solved! Go to Solution.
2021-09-24 06:25 AM
@Eleon BORLINI Thnak you. The problem was because the 3rd pin is tied to GND.
Can you please little explain how it works stationary/motion detection works.
Similar graph like it is for activity/inactivity and is it enough to put the STATIONARY bit to "1" + settings for activitiy/inactivity to put sensor in stationary/motion detection mode?
2021-09-13 06:18 PM
Is it possible that the reason of that big current consumption because od the 3rd pin of the sensor is tied to GND?
2021-09-15 09:59 AM
Hi @Community member ,
please have a look to this similar thread.
The SDO/SA0 pin is internally pulled up, and this means that there could be a resistance path causing the current to flow down from 3V3 to 0V through it. You can try disconnecting this pin, if you can, an check whether the overconsumption comes from here.
-Eleon
2021-09-24 06:25 AM
@Eleon BORLINI Thnak you. The problem was because the 3rd pin is tied to GND.
Can you please little explain how it works stationary/motion detection works.
Similar graph like it is for activity/inactivity and is it enough to put the STATIONARY bit to "1" + settings for activitiy/inactivity to put sensor in stationary/motion detection mode?
2021-09-28 06:44 PM
If you use LPower1 mode at 1.6 Hz and stationary bit set to 1 you can get wake-on-motion and sleep-on-no-motion behavior at about 0.55 uA as I measure it. So it works the same as activity/inactivity just when there is no activity the sensor does not default to 12.5 Hz as when stationary bit is left at 0. rather, the sensor stays at 1.6 Hz LPowerMode1, which is the lowest power state, whether awake or asleep. Pretty cool!
2021-09-29 12:36 AM
That's correct, thank you for your help @KWine !
-Eleon
2021-09-29 12:55 AM
@KWine and @Eleon BORLINI thank you very much to both of you.