Hi I'm using Pmod I2S2 with STM32F407 for an audio application.
Here is my setup. Audacity audio sound file is played on a laptop, and transmit through audio cable connected through the line-in port to the ADC on PmodI2S2, then through I2S, go through STM32F407 via DMA (where there are some signal processing code), then through I2S go to the DAC board on PmodI2S2 and then output the sound using a headphone.
But so far I only hear static, nothing else.
I tried to use Analog Discovery 2 to debug, the signal frequency on LRCK and SCLK seems to be correct, with LRCK being 94KHz, and SCLK being 6144MHz. I also tried to use the I2S protocol analyzer, the SDIN and SDOUT signals look OK too, but I don't know if these signals are indeed correct. Is there anyway I can play these signals on Waves to see if they are correct?
Also is this the correct way to use PmodI2S2? I use a 3V output from STM32F407 board to power the PmodI2S2, the actual voltage I measured is around 2.9V. Any tip on how to debug this application is very much appreciated!
Question
wchao_iris
Hi I'm using Pmod I2S2 with STM32F407 for an audio application.
Here is my setup. Audacity audio sound file is played on a laptop, and transmit through audio cable connected through the line-in port to the ADC on PmodI2S2, then through I2S, go through STM32F407 via DMA (where there are some signal processing code), then through I2S go to the DAC board on PmodI2S2 and then output the sound using a headphone.
But so far I only hear static, nothing else.
I tried to use Analog Discovery 2 to debug, the signal frequency on LRCK and SCLK seems to be correct, with LRCK being 94KHz, and SCLK being 6144MHz. I also tried to use the I2S protocol analyzer, the SDIN and SDOUT signals look OK too, but I don't know if these signals are indeed correct. Is there anyway I can play these signals on Waves to see if they are correct?
Also is this the correct way to use PmodI2S2? I use a 3V output from STM32F407 board to power the PmodI2S2, the actual voltage I measured is around 2.9V. Any tip on how to debug this application is very much appreciated!
Thanks in advance for your help!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.