nrf-rs / nrf-hal

A Rust HAL for the nRF family of devices
Apache License 2.0
499 stars 139 forks source link

Multisample DMA for SAADC? #395

Open BartMassey opened 2 years ago

BartMassey commented 2 years ago

I'm sampling audio (the microphone on the micro:bit v2) using the NRF52840 SAADC. It would be great to set up a DMA to be able to capture multiple successive samples rather than blocking per-sample. Any advice on setting this up? Is there anything already present here for that that I am missing?

Thanks much for any help you can give.

Yatekii commented 2 years ago

There is an open PR similar to this I never came about finishing: #233

BartMassey commented 2 years ago

Thanks for the pointer! I'll try to find time to take a look at this.