I just ordered an STM32F4 discovery board and my application needs 4 analog audio inputs. Can I connect an audio codec eval board to the STM32F4 with Audio Weaver so that I can test a the external codec?
I just ordered an STM32F4 discovery board and my application needs 4 analog audio inputs. Can I connect an audio codec eval board to the STM32F4 with Audio Weaver so that I can test a the external codec?
8:14pm
Hi Zach,
I would suggest just using the STM32F4 board to start out. I'm not sure how you plan on connecting the audio codec eval board to the STM32F4, or which audio codec eval board you are referring to, but lets revisit this when you have the STM32F4 board up and running. Have you downloaded the STM32F07 BSP from your User Account page on our website yet?
Thanks,
Kevin
Thanks,
Kevin
1:00pm
Hey Kevin,
Sounds good - I'm awaiting the STM32F4 board and will post back in here once I get things up and running. I have downloaded the STM32F07 BSP. I had downloaded the Standard Edition and just downloaded the ST Edition. Thanks!
What I wasn't sure about codec-wise is if AudioWeaver will work with just an ADC (I need 4 inputs) and I can still use the DAC that's already on the board. Wasn't sure if I need a codec (ADC and DAC) vs just an ADC.
6:17pm
FYI - was looking at using the TI PCM1840 4 channel ADC in conjunction with an STM34F4: https://www.ti.com/lit/ds/sbas993b/sbas993b.pdf?ts=1624403404150
Figured I could connect their dev board to the STM32F4 discovery board and feel audio in that way and output it to the built-in DAC. But not sure how possible that is with the discovery board and Audio Weaver.
11:07pm
Hi Zach,
This is certainly possible, however it's important to note that Audio Weaver would just be running on the STM32F407's Cortex-M4 and the STM32F407 BSP would need to be modified for your desired audio pipeline, as the I/O for the firmware is currently fixed according to the accompanying User Guide in the download (2-in USB, mono-Mic in. 2 out via DAC).
Thanks,
Kevin
12:55am
Understood - how involved is it to get the the firmware written for another codec? Any resources you can point me to for modifying the firmware for such a case?
2:24pm
Hi Zach,
I can't weigh in on effort estimations for any codec firmware unsupported by Audio Weaver, but I might start by researching and/or asking the supplier of the codec.
Thanks,
Kevin
7:20pm
Hi Kevin,
Is there a setup guide for the STM32F407 anywhere? Can't seem to find anything in the documentation.
10:40am
Hello Zach,
It should be in the 'C:\DSP Concepts\AWECore ST_EVAL_CortexM4 Release-8.C.11.7\SampleApps\STM32F407\Doc' path of the STM32F407 AWE BSP's standard installation path.
Thanks,
Kevin