RFQ/BOM 0 로그인 / 등록하다

귀하의 위치를 선택하세요

사용자 이미지

stm32f4discovery audio acquisition and FFT calculation frequency is very large.

MCU
11월 25, 2020 by Lennox 1675

I used the digital microphone (MP45DT02) on the STM32f4discovery development board to calculate the frequency of the collected sound.

My specific approach is to convert the collected pdm data into pcm format (lib library 4 provided by st company), and then process it with FFT, and print the calculated maximum frequency through the serial port.

My i2s sampling rate is 32k, and FFT calculates 1k data, but the calculated maximum frequency is very large. Should the maximum frequency calculated according to the FFT algorithm be below 1k? ?

모든 댓글

user image

Winston 게시 날짜 November 25, 2020

maxvalue is the value of the first point, maxvalue only represents the amplitude of the point frequency rather than the frequency. The frequency algorithm is: (the number of points where the maxvalue is located/1k)*sampling frequency.

0
user image

Ernest 게시 날짜 November 25, 2020

Try to convert all 16-bit sampled data to float.

0
user image

Royce 게시 날짜 November 25, 2020

I use atmel, I am learning st, arm dsp generally uses little endian mode.

0

답변 작성

답글을 달려면 로그인이 필요합니다. 로그인 | 등록하다