Skip to content

drivers/sensors/nau7802: Added frequency control#16717

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
CarletonURocketry:nau7802-frequency
Jul 15, 2025
Merged

drivers/sensors/nau7802: Added frequency control#16717
xiaoxiang781216 merged 1 commit into
apache:masterfrom
CarletonURocketry:nau7802-frequency

Conversation

@bskdany

@bskdany bskdany commented Jul 13, 2025

Copy link
Copy Markdown
Contributor

Summary

This pr extends the controls of the nau7802 by exposing the odr control function to the userspace

Impact

A user can now control the frequency and interval via the orb_set_interval and orb_set_frequency commands, as well as ioctl

Testing

Physical testing was performed confirming the desired outcome.

@github-actions github-actions Bot added Area: Sensors Sensors issues Size: M The size of the change in this PR is medium labels Jul 13, 2025
Comment thread drivers/sensors/nau7802.c
@bskdany bskdany force-pushed the nau7802-frequency branch 2 times, most recently from 1fa4832 to 7b002cc Compare July 14, 2025 15:21
Comment thread drivers/sensors/nau7802.c Outdated
Comment thread drivers/sensors/nau7802.c Outdated
Comment thread drivers/sensors/nau7802.c Outdated
@bskdany bskdany force-pushed the nau7802-frequency branch 2 times, most recently from 80c0fb5 to 56cb5df Compare July 14, 2025 20:15
@github-actions github-actions Bot added the Size: S The size of the change in this PR is small label Jul 14, 2025
@bskdany bskdany force-pushed the nau7802-frequency branch 3 times, most recently from f80df36 to e192ed6 Compare July 14, 2025 20:18
Added controls to the NAU7802 so that a user can change the frequency via orb_set_frequency/orb_set_interval
@bskdany bskdany force-pushed the nau7802-frequency branch from e192ed6 to de15081 Compare July 14, 2025 20:21
@xiaoxiang781216 xiaoxiang781216 merged commit c51f749 into apache:master Jul 15, 2025
39 checks passed
@jerpelea jerpelea changed the title /drivers/sensors/nau7802: Added frequency control drivers/sensors/nau7802: Added frequency control Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Sensors Sensors issues Size: M The size of the change in this PR is medium Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants