Enabling PEQ block in SGTL5000

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Enabling PEQ block in SGTL5000

734 次查看
sureshb
Contributor I

Below configuration settings are done to enable PEQ in SGTL5000. 

DAP_CONTROL->DAP_EN = 1

DAP_PEQ->EN = 0x01

DAP_AUDIO_EQ->EN = 0x01

write the co-efficient registers for low pass filter with cut-off frequency 800Hz, [based on the attached "SGTL5000 PEQ design_12Jun2013_v3" sheet (set Cutoff Frequency FC = 800 Hz, set Sampling Frequency Fs= 8000Hz)]

DAP_FILTER_COEF_ACCESS->INDEX =0x01 

DAP_FILTER_COEF_ACCESS->WR=1

After doing the above configurations also we observe the frequency above 800Hz in the recorded file. 

Note: we are observing the frequency components in the recorded file by using Equalizer application (in Linux PC)

Please correct us if we are missing some configuration.

0 项奖励
回复
1 回复

629 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Suresh,

You said that the you (set Cutoff Frequency FC = 800 Hz, set Sampling Frequency Fs= 8000Hz), but from the following curve, you draw the IIR filter Frequency response from the 0Hz to about 16670Hz, obviously, it violate the nyquist theorem, you can only see the frequency from 0Hz to 4KHz if you want to draw the frequency response based on sampling frequency of 8KHz.

Hope it can help you

BR

Xiangjun Rong

pastedImage_1.png

0 项奖励
回复