Replies: 1 comment 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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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