cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 PCM 8Khz configration problem

wang tony
Associate
Posted on November 04, 2017 at 08:19

Hi:

   Can STM32F401's PCM be set as the following formats ?

   PCM Slave , FS=8Khz ,BITS=16, Mono ( which means BCLK= 8khz * 16 = 128Khz)

   

   After some tests , i find the PCM can only be used as stereo mode (BCLK = 8khz * 16 *2), is that true?

   Thanks !!!

#stm32f4 #i2s #pcm
2 REPLIES 2
wang tony
Associate
Posted on November 04, 2017 at 08:36

When  both  PCM  master device and STM32F401 set with : 8Khz,16bits,stereo, it works fine.

When using mono mode, it seems that STM32F401  can recieve/send all bits ,but the bit position is mismatched.

Can someone could help me with this?

Mohamed Jallouli_2
Associate II
Posted on November 15, 2017 at 09:49

Hello,

Can you provide more details about your application? Are you trying to read data from a digital microphone with an audio sampling frequency= 8KHz?