Skip to main content
wang tony
Associate
November 4, 2017
Question

STM32F4 PCM 8Khz configration problem

  • November 4, 2017
  • 2 replies
  • 738 views
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
This topic has been closed for replies.

2 replies

wang tony
wang tonyAuthor
Associate
November 4, 2017
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
November 15, 2017
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?