ΣSigmaStudio Ask AI Русский Log in

EVAL-ADAU1701MINIZ: SigmaStudio's EQs control wrong frequencies

SigmaDSP & SigmaStudio Prius Aug 11, 2014 00:00 3 replies Original on forum ↗
Subscribe
Prius Question
Aug 11, 2014 00:00

Hello, I am trying to configure above evaluation board as per screenshot below.

For the EQ, I use “Filters, Second order, Double precision, 2 Ch, Medium Size Eq”. The only thing I have changed is the frequency of each, the remaining parameters being as they come in the program (i.e. Peaking EQ, Q=1.41).

But: After “Link Compile Download”, the frequency bands controlled are not those I have entered, instead they are at approx. 1/4th of the frequencies I have chosen.

E.g. trying to control 1kHz, the real frequency it controls is around 250Hz. The same thing happens with all the other frequencies, e.g. the 16kHz EQ controls around 4kHz.

Am I doing something wrong here?

Thank you for your help.

equalization

adau 1701

4603ec7a41a3632b74b3c3f945b3cb54.jpg
4603ec7a41a3632b74b3c3f945b3cb54.jpg
4603ec7a41a3632b74b3c3f945b3cb54.jpg-620x308.jpg
4603ec7a41a3632b74b3c3f945b3cb54.jpg-620x308.jpg
JohnTo Reply
Aug 11, 2014 00:00

Hello Prius,

What is the sample rate set to within the SigmaStudio schematic? This is important in order to generate the proper download parameters for the filters.

What are your settings for the DSP Core Control Register's (address 0x881c) Sample Rate bits D0/D1 ?

Are you perhaps generating coefficients for 192 kHz operation within SigmaStudio, and the ADCs/DACs (or serial ports) are set for 48 kHz? This could explain the frequency shift of the filters being 1/4th of the frequency of operation. When I tell SigmaStudio for 192 kHz operation, and set the program length to 1024 instructions/sample under the HW Configuration tab to set the core for 48 kHz operation, I can hear the frequency of the filters operate at 1/4th the intended frequency. If I switch to 512 instructions/sample, the filter's center frequency is 1/2 what I expect.

The OLF bits in the "Serial Port Control Register 0" (at address 0x081E) for L/R I2S clock operation must also match the instruction sample rate (although you probably are not connecting up to external ADCs or to the eval board so you can ignore this register).

-JT

52e53c1abee29e665dec44956b8e7cc9.png
52e53c1abee29e665dec44956b8e7cc9.png
52e53c1abee29e665dec44956b8e7cc9.png-1422x872.png
52e53c1abee29e665dec44956b8e7cc9.png-1422x872.png
Prius Reply
Aug 12, 2014 00:00

Thanks very much JohnTo, that was really helpful:

I use 192kHz but the word length was 1024; I have reduced it to 256 and now the EQ frequencies are the correct ones.

Thank you again.

Prius

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin