USB Audio MIC Project with up to 8 MICs #2995
Unanswered
MEDS-FKolb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm kindly new to the tinyusb lib and have a question. I'm running a STM32H7A3 Projects with should be up to 6-8MICS as USB Audio device. Therefore I've port the 4MIC example and get a bit confusing cracks and noice. I think this is because of "glitches" that i see also on sending Dummy Data (alternating ramp with 48 samples and sin wave with 48 sample on one channel).
I've increased the FIFO but the problem is the same only a few [ms] later. Currently I'm sending the data with a [1ms] generated from FreeRTOS in high prio task, but will be changed to ISR from DFSDM peripheral (from audio task with notify acc. the issue with FIFO mutex in ISR). I'm sending with tud_audio_write_support_ff(channel, data, samples * N_BYTES_PER_SAMPLE * N_CHANNEL_PER_FIFO);
I think I'm may missusing something, that these glitches occur.
With the 4 channels on 48kHz on 16 Bit i lead to 3072 Bit/ms on USB Full speed. This should be feasible i assume.
Is anyone running in the same problem? My assumption is the asynchronous fifo-read to fifo-write from my 1ms task.
Beta Was this translation helpful? Give feedback.
All reactions