-
Notifications
You must be signed in to change notification settings - Fork 8.4k
samples: sensor: Add adxl345 streaming and trigger configurations #80568
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
samples: sensor: Add adxl345 streaming and trigger configurations #80568
Conversation
4c5681a to
ff47bee
Compare
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
ff47bee to
585384c
Compare
e27ba37 to
5f29959
Compare
In order to prevent not serving all events that would clear the interrupt line. This patch also removes FIFO servicing through fetch/get APIs, as this is only exposed through streaming mode. Signed-off-by: Luis Ubieda <[email protected]>
Sets the adxl345 driver thread name for easier debugging. Signed-off-by: Maureen Helm <[email protected]>
5f29959 to
f22933c
Compare
| <6 0 &gpio1 4 0>, /* IO5/CS2 */ | ||
| <7 0 &gpio1 5 0>; /* IO6/CS3 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy paste error? (IO5 / IO6 appear twice)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thanks.
Specifies which gpio pins are connected to the pmod spi header on the apard32690 board. This will enable using the adxl345 accelerometer interrupt when attaching the pmod_acl shield. Signed-off-by: Maureen Helm <[email protected]>
Fixes the pmod_acl shield board to specify the default accelerometer output data rate with a preprocessor macro that corresponds to an encoded register field value, rather than an integer value in Hertz. Signed-off-by: Maureen Helm <[email protected]>
Specifies which gpio pin on the pmod header is attached to the adxl345 accelerometer interrupt. Signed-off-by: Maureen Helm <[email protected]>
Changes the accelerometer polling sample to include data with the FIFO watermark trigger instead of dropping it. Signed-off-by: Maureen Helm <[email protected]>
Adds adxl345 streaming and trigger configurations to accelerometer samples for profiling the performance impact of adding rtio support to max32 spi and adxl345 accelerometer drivers. Signed-off-by: Maureen Helm <[email protected]>
Configures the accelerometer polling and trigger samples to disable the uart console when the rtt console is enabled. Having both consoles enabled simultaneously doesn't currently work on the apard32690 platform and it's redundant anyway. Signed-off-by: Maureen Helm <[email protected]>
f22933c to
d83bf9a
Compare
|



Follow-up to #80115 using adxl345 instead of adxl362
Adds adxl345 streaming and trigger configurations to accelerometer
samples for profiling the performance impact of adding rtio support to
max32 spi and adxl345 accelerometer drivers.
Signed-off-by: Maureen Helm [email protected]
c: @vladislav-pejic @dimitrije-lilic