Replies: 2 comments 1 reply
-
I need to dig deeper to verify, but I don't think it's physically possible to have both running at the same time. The issue is that, unlike I2S audio, these two methods need a special, self-timed DMA. That timer is a shared resource and when you init it a second time the clocking for the first DMA is going to get weird. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm encountering this issue when attempting to use ADCInput with I2S aswell. It works fine if I use a single pin for the ADCInput, but when I add more pins the sampling gets messed up. Am I right in thinking that this simply won't work, and that I have to roll my own solution through, per example, interrupts? |
Beta Was this translation helpful? Give feedback.
-
Hello!
I have tried to use ADCInput and PWMAudio simultaneously. The result was a little bit unexpected. It works, but the ADCInput Callback delivers by far too few samples for the requested sample rate. Nice unintended chipmunk-echo-effect, though...
This might be a bug or me using some component in a way it was not intended to be used (--> /me doing something stupid).
Albeit I did not expect both sample clocks to be absolutely synchronous, I however did expected that both callbacks would at least approximately run at the same speed.
Beta Was this translation helpful? Give feedback.
All reactions