har-in-air / STM32F411_USB_AUDIO_DAC

USB Audio DAC using inexpensive STM32F411 / 401 "Black Pill" and PCM5102A modules
GNU General Public License v3.0
157 stars 30 forks source link

master clock frequency for 4 wire i2s #26

Open Jente105 opened 1 week ago

Jente105 commented 1 week ago

firstly, thanks for your work on this subject. I was looking to replace the PCM5102a with a better dac. I noticed that the STM32F411xE configuration could provide the masterclock. what would the frequency of the masterclock be at the rated sample frequencies(44.1, 48 and 96 kHz) of your firmware when masterclock generation is enabled?

thanks,

har-in-air commented 6 days ago

As per reference manual RM0383 for F411, when MCLK is enabled, MCLK = 256 x Fs (page 585)I've added a comment in the Makefile. On Wednesday 26 June, 2024 at 06:30:12 pm IST, Jente105 @.***> wrote:

firstly, thanks for your work on this subject. I was looking to replace the PCM5102a with a better dac. I noticed that the STM32F411xE configuration could provide the masterclock. what would the frequency of the masterclock be at the rated sample frequencies(44.1, 48 and 96 kHz) of your firmware when masterclock generation is enabled?

thanks,

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

har-in-air commented 6 days ago

My PCM5102A module died a few months ago (maybe ESD damage), so please add a link to your project when done, I might be tempted to try an upgrade myself. On Wednesday 26 June, 2024 at 06:30:12 pm IST, Jente105 @.***> wrote:

firstly, thanks for your work on this subject. I was looking to replace the PCM5102a with a better dac. I noticed that the STM32F411xE configuration could provide the masterclock. what would the frequency of the masterclock be at the rated sample frequencies(44.1, 48 and 96 kHz) of your firmware when masterclock generation is enabled?

thanks,

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>