Skip to main content
Visitor
October 21, 2026
Question

Technical Support Required for LIS2DW12 Accelerometer Interrupt Configuration and Verification with ESP32-C6

We have integrated the LIS2DW12 accelerometer with our ESP32-C6 module and successfully obtained coordinate readings, observing changes in the readings when the sensor's position is changed.

However, we are facing difficulties verifying the interrupt functionality. Although we configured and probed the interrupt pin, we could not observe any voltage-level changes. We also connected the pin to an oscilloscope but were unable to detect any state transitions or variations in the output waveform.

Kindly guide us on the correct procedure for configuring and verifying interrupt detection. Additionally, please clarify the functional differences between the INT1 and INT2 pins, their respective interrupt capabilities, and the recommended method, any example code or alternative part for confirming that the interrupt outputs are functioning correctly.

1 reply

Andrew Neil
Super User
October 21, 2026

Kindly guide us on the correct procedure for configuring and verifying interrupt detection

That would be described in the datasheet.

See also Application Note AN5038, LIS2DW12: always-on 3-axis accelerometer

and check out other documentation on the Product Page:

https://www.st.com/en/mems-and-sensors/lis2dw12.html#documentation

 

There are also software resources & examples:

https://www.st.com/en/mems-and-sensors/lis2dw12.html#tools-software

 

PS:

Remember that the LIS2DW12 neither knows nor cares what controller you use - its behaviour does not change for different controllers.

All the LIS2DW12 sees is the I2C or SPI bus - so it’s just a matter of getting the right interactions on the bus.

This is modelled in the C-Driver-MEMS software:

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.