Open em3ly opened 9 years ago
Hi! It's this probably: https://www.dropbox.com/s/p2qt8r758lp8ond/SerialPortTerminal.zip?dl=0 then proceed with the instruction, it should work as some people wrote to me about it. I don't have CoIDE nor STMF32F4 anymore so i won't be able to help more ----- Oryginalna wiadomość ----- Od: "em3ly" notifications@github.com Do: "Anon1mo/STM32F4-WAVE-RECORDER" STM32F4-WAVE-RECORDER@noreply.github.com Wysłane: wtorek, 27 październik 2015 18:57:54 Temat: [STM32F4-WAVE-RECORDER] Hello, I need some help,I cant find C# proyect (#1)
First of all, thank you for sharing your project. I recently bought a STM32F4 discovery and I'm interested in audio processing. I found the CoIDE project but can not find the C # proyect . If you could also share it or tell me where can I found it I would appreciate. Thank you very much in advance and excuse my English.
— Reply to this email directly or view it on GitHub .
Thanks a lot, this is just what I need.
Hello, I now you don't have stm32f4 anymore but maybe you can help me on this. With 16kHz of sample frequency it works but with,for example, 48kHz the generate .wav seems to have noise almost like if there were something wrong with the rcc configuration or i2s sample frequency configuration. Ofcourse I changed the sample rate in c# app and modified in main.h the sample frequency and the size of pdm and pcm buffers according to datasheet, also I generated a new system_stm32f4xx.c with the excel tool (new PLL configuration). But still does not work.if you could help me, I'd appreciate. My main.h now looks like this:
\* INPUT_CHANNELS/8 )
The PDM filter initialization : Filter.Fs = SAMPLE_FREQUENCY; Filter.HP_HZ = 10.; Filter.LP_HZ = (SAMPLE_FREQUENCY / 2.0); Filter.In_MicChannels = 1; Filter.Out_MicChannels = 1; PDM_Filter_Init(&Filter);
The i2s configuration:
SPI_I2S_DeInit(SPI2); I2S_InitStructure.I2S_AudioFreq = SAMPLE_FREQUENCY * 2; I2S_InitStructure.I2S_Standard = I2S_Standard_LSB; I2S_InitStructure.I2S_DataFormat = I2S_DataFormat_16b; I2S_InitStructure.I2S_CPOL = I2S_CPOL_High; I2S_InitStructure.I2S_Mode = I2S_Mode_MasterRx; I2S_InitStructure.I2S_MCLKOutput = I2S_MCLKOutput_Disable; I2S_Init(SPI2, &I2S_InitStructure);
// Enable the Rx buffer not empty interrupt SPI_I2S_ITConfig(SPI2, SPI_I2S_IT_RXNE, ENABLE);
And all these are the configurations generated in system_stm32f4xx.c
*-----------------------------------------------------------------------------
First of all, thank you for sharing your project. I recently bought a STM32F4 discovery and I'm interested in audio processing. I found the CoIDE project but can not find the C # proyect . If you could also share it or tell me where can I found it I would appreciate. Thank you very much in advance and excuse my English.