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

Filter coefficents order in Safeload operation

SigmaDSP & SigmaStudio Alez_22 Jan 31, 2020 00:00 0 replies Original on forum ↗
Subscribe
Alez_22 Question
Jan 31, 2020 00:00

I'm working on ADAU1467 in combination with an STM32F4 microcontroller. In red below the question.

In order to implement a Safeload operation to update filter coefficents I saw that from my "*_PARAM.h" file that the address for the first coefficent is:

#define MOD_ROOMEQ_ROOM_FILTER_BANK_ALG0_EQS300MULTIDPHWSLEWP1ALG1TARGB220_ADDR 189
#define MOD_ROOMEQ_ROOM_FILTER_BANK_ALG0_EQS300MULTIDPHWSLEWP1ALG1TARGB220_VALUE SIGMASTUDIOTYPE_8_24_CONVERT(0)
#define MOD_ROOMEQ_ROOM_FILTER_BANK_ALG0_EQS300MULTIDPHWSLEWP1ALG1TARGB220_TYPE SIGMASTUDIOTYPE_8_24
#define MOD_ROOMEQ_ROOM_FILTER_BANK_ALG0_EQS300MULTIDPHWSLEWP1ALG1TARGB220_MEMORYPAGE 0

I saw that for the Safeload operation I have to send the sequence like this via SPI:

0x6000 data_SafeLoad[0] -> 7 bytes (dev_addr + 0x6000 + coefficent(8_24))
0x6001 data_SafeLoad[1] -> 7 bytes (dev_addr + 0x6001 + coefficent(8_24))
0x6002 data_SafeLoad[2] -> 7 bytes (dev_addr + 0x6002 + coefficent(8_24))
0x6003 data_SafeLoad[3] -> 7 bytes (dev_addr + 0x6003 + coefficent(8_24))
0x6004 data_SafeLoad[4] -> 7 bytes (dev_addr + 0x6004 + coefficent(8_24))
0x6005 address_SafeLoad -> 7 bytes (dev_addr + 0x6005 + 0x00BD (189) in my case)
0x6006 num_SafeLoad_Lower -> 7 bytes (dev_addr + 0x6006 + 5) <- Is that correct?
0x6007 num_SafeLoad_Upper -> 7 bytes (dev_addr + 0x6007 + 0) <- Is that correct?

But what is the order of the coefficents to send?

Thanks in advance

Audio Signal Processors

sigma studio

adau1467

filter coefficient

sigmastudio

SigmaDSP Audio Processors

safeload

Show More