Skip to content

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

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 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]>
@dleach02 dleach02 merged commit fac21ac into zephyrproject-rtos:main Oct 26, 2024
27 checks passed
@MaureenHelm MaureenHelm deleted the sensor-rtio-profiling branch October 28, 2024 13:17
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.

6 participants