2016-02-21 04:47 AM
Hi,
I'm using the stm32f4-discovery board for recording signals utilizing the microphone.I'm configuring the clocks according to ST configuration tool ''STM32F4XX Rev A system clock configuration v1.0.1''.when configuring according to HSE(8MHZ) and desired HCLK freq of 168MHZ, everyhting is OK.but when using HCLK 84 MHZ freq,the recordings look almost good->there are many abrupt peaks,at sine wave recording.also,according to the AN3997''The I2S peripheral is configured as master in order to generate the correct clock (1,024 MHz) for the digital microphone. The 1,024 MHz clock is calculated from the output audio streaming (16 KHz) and the decimation factor (64) chosen for the demo (16000 Hz x 64 = 1.024 MHz). (Refer to AN3998 for PDM audio software decoding).''There's a register that's supposed to be loaded with the 1.024MHz.what is its name ? At the examples of the board recording, i didn't manage to find the mentioned configuration.any recommendations ?Thanks a lot !!!2016-02-21 06:45 AM
There is a secondary PLL that can drive the I2S
I'm not up for wading into the audio functionality, but the Reference Manual, the Clock Tree and the I2S peripheral are where to look to understand how the hardware works, and the interactions between the sub-systems.