Skip to main content
sean thakur
Visitor II
April 2, 2017
Question

LIS2HH12TR Tap Detection Firmware Example

Posted on April 03, 2017 at 01:10

I have LIS2HH12TR on a PCB. I want to implement Tap Detection. I could not find a direct Register for configuring Interrupt for a tap. It would be great to refer to Example code for Tap Detection using Raw Accelerometer Data or any other alternative method using LIS2HH12TR?

#accelerometer #lis2hh12 #tap
This topic has been closed for replies.

2 replies

ST Employee
April 4, 2017
Posted on April 04, 2017 at 18:01

Unfortunately LIS2HH12 doesn't have build in click/double-click recognition feature.

You would have to detect in by software.

RClab
Visitor II
January 3, 2019

The question: "... It would be great to refer to Example code for Tap Detection..."

This would be the software you are referring to.

Can someone provide example software, consisting of at least some device settings? Otherwise, one might conclude that it is difficult to implement.