As I understand, there is no direct way to identify the axis which triggered the motion detection (X, Y or Z). Am I right? Should I implement it by reading the samples after the trigger? Is there any code example for that?
You are right. No matter which axis over the threshold, the activity interrupt will be triggerred. After getting the interrupt, try to read the 3-axes acceleration will help.
Retrieving data ...