-
Notifications
You must be signed in to change notification settings - Fork 227
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
Add other ADC modes: free-running, FIFO #322
Comments
There is no example in the C SDK for capturing multiple channels or handling the samples in the interrupt handler, though they do have one that uses DMA to capture the data |
Free-running mode support would be fantastic! Very much looking forward to this feature. For reference, "the plan" is to hook up an analog multiplexer to a single analog pin on the RP2040 and then hook up additional multiplexers to each channel of the one that's connected to the RP2040 (i.e. multiplexers through a multiplexer). In free-running mode (without round-robin) this should--in theory--allow one to effectively bypass the RP2040's internal ADC MUX and replace it with an external one with the fastest performance possible... No need to issue blocking calls that tell the RP2040 which ADC pin to read from and enable non-blocking reads (well, reads that don't require 96 cycles). Hopefully that'll be possible 😄 |
The current ADC implementation in the HAL only provides support for blocking one-shot samples.
Tasks:
The text was updated successfully, but these errors were encountered: