Skip to content

Conversation

@bskdany
Copy link
Contributor

@bskdany bskdany commented Jul 4, 2025

Instead of looping through the ads1115 I loop through their channels and trigger the value conversion for each one

The result is a 2x speedup of the system, from 10hz to 20hz

This PR will only work with the ads1115_conversion_trigger branch on our nuttx fork, until merged

linguini1
linguini1 previously approved these changes Jul 4, 2025
@linguini1 linguini1 force-pushed the ads1115_parallelize branch from 384f25c to 4430724 Compare July 11, 2025 19:43
@linguini1
Copy link
Contributor

Wait for this PR: apache/nuttx#16715

@linguini1
Copy link
Contributor

Also this plus adding the config options for UDP write buffering removed a lot of delay/freezing.

@linguini1 linguini1 merged commit f988d4c into main Jul 14, 2025
3 checks passed
@linguini1 linguini1 deleted the ads1115_parallelize branch July 14, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants