Post Go back to editing

What is the Sample Frequency used for Interrupts?

Thread Summary

The user is concerned about missing high g spikes in ADXL343 Activity mode at 800 Hz ODR, despite setting a 1/2 g threshold. The support engineer confirms that the tap engine samples at 3.2 kHz, which can detect brief spikes not captured at 800 Hz. The 'improved tap' mode mentioned is a typo and not available on ADXL343. For better event recording, the engineer suggests considering newer models like ADXL372, ADXL380, or ADXL366.
AI Generated Content
Category: Datasheet/Specs
Product Number: ADXL343

Hello,

As far as I can tell the ADXL343 datasheet specifies that when using Activity mode for interrupts (as well as tap/double tap) that lower output data rates are achieved by decimating a common sampling frequency, and the common frequency is what is actually used to poll for any activity above your set threshold (page 29 of datasheet). Therefore, it's possible for the accelerometer to detect activity that is above the threshold, send an interrupt to another device which then polls the FIFO buffer for the data collected, and that data might not include the high g spike which initiated the Activity interrupt due to the lower data rate. However, the datasheet does not seem to specify anywhere what this common sampling frequency is and for which data rates it applies to.

I am using the ADXL343 at 800 hz currently, and have it set to Activity mode at 1/2 g as the threshold. Yet, often I see data from the field in which none of the samples were above +-1/2 g. From testing it's clear that the other device polls the data fast enough to not lose it before it leaves the 32 sample FIFO buffer, so that's not an issue. I'm worried that it's actually running at something like 1600 hz or 3200 hz and detecting brief acceleration spikes which end up being unlucky enough to fall in-between the gaps of the 800 hz data rate. 

Also the datasheet mentioned an "improved tap" mode which I cannot find reference to anywhere else except this one section, at least not by that name.

Relevant part of Datasheet:

Thanks for any help!

Parents
  • Hello  Thanks for posting.

    For a 800Hz ODR coonfiguration the tap engine will work at a 3.2KHz sampling rate.

    The improved tap mode is a feature from ADXL346 that is not available on ADXL343, that is a typo thanks for sharing. This will be fixed in the following DS revision.

    If you want to record shocks or motion events, I would also check newer parts as ADXL372, ADXL380, ADXL366 depending on your desired bandwidth, full scale range and power budget as three of them allow to record events on a FIFO.

    hope this helps,

    Mario SM 

  • Thanks for your help! Shame the FIFO buffer is only 32 samples for the ADXL343, were it more I would be able run it at 3200 hz and guarantee capturing the collision event. I'll look into the newer product lines to see if they fit my specs in the future!

Reply Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.