Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiling sensor triggering vs. RTIO-enabled streaming #80115

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

MaureenHelm
Copy link
Member

@MaureenHelm MaureenHelm commented Oct 20, 2024

Triggering

The ADXL362 accelerometer is configured to sample data at 400 Hz with the hardware FIFO and RTIO subsystem disabled. The data ready interrupt fires after every sample, every 2.5 ms.

west build -p -b apard32690//m4 samples/sensor/accel_trig/ -T sample.sensor.accel_trig.adxl362-trigger

image

Streaming

The ADXL362 accelerometer is configured to sample data at 400 Hz with the hardware FIFO and RTIO subsystem enabled. The FIFO watermark interrupt fires after every 32 samples, every 80 ms.

 west build -p -b apard32690//m4 samples/sensor/accel_polling/ -T sample.sensor.accel_polling.adxl362-stream

image

Depends on

cc: @vladislav-pejic @dimitrije-lilic

Adds a new shield definition for the Analog Devices EVAL-ADXL362-ARDZ
accelerometer shield. This shield provides support for an ADI ADXL362
3-axis accelerometer over an Arduino SPI connector.

Signed-off-by: Maureen Helm <[email protected]>
Sets the trigger thread name for all adi sensor drivers to more clearly
identify the thread when tracing or debugging.

Signed-off-by: Maureen Helm <[email protected]>
Adds a new snippet to enable tracing with SEGGER SystemView and RTT.

Signed-off-by: Maureen Helm <[email protected]>
Adds adxl362 streaming and trigger configurations to accelerometer
samples for profiling the performance impact of adding rtio support to
max32 spi and adxl362 accelerometer drivers.

Signed-off-by: Maureen Helm <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant