IIS3DWB - How to configure for wake-up interrupt?
First i pull both interrupt pins to GND before power up the sensor, as recommended by the datasheet. I then configure SDO pin with pull-up using register PIN_CTRL. Then i enable the accelerometer with no second filtering stage from register CTRL1_XL.
I'm not sure what to configure next, and in what order to configure it, for a simple wake-up interrupt test. I assume since there is no register to put the sensor to sleep, that it defaults to sleep automatically?
I do however get correct return from WHO_AM_I register, and i also can read out values from all axis.
