Hello, I need to detect a shock in our PCB (Sometimes it is 10G, sometimes 14G or 16G and even higher). The shock is very short. I don't care about the acceleration value. I just want to detect that a shock has occured. Thus, I need to detect when one sample is above a threshold (lets say 10G). Configuring the BMA400 to 16G range, what is the best interrupt configuration for my purpose? (I tryed using the two generic interrupts to the same PIN, configuring inactivity detection, 12G and 14G reference , and 2G threshold, one sample duration, which should fire the interrupt when one sample is between 12 and 16G but some shocks are missed) Other questions: - Does the generic interrupt fire only when Actual_acce > (threhold+reference) ? or does is compare in absolute level ? (reference - threshold)> Actual_acce > (threhold+reference). When testing, it seems to be above and below but the datasheet says: "the difference between actual acceleration and reference is calculated and compared against a threshold" - Does the generic interrupt system work at 800Hz? - When the BMA400 is configured at 16G range and current acceleration is higher. How does the generic interrupt system behave? Regards,
... View more