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

Question about Software Safeload Write Feature for Sigma DSP

SigmaDSP & SigmaStudio Tingting1992 Dec 26, 2022 00:00 4 replies Original on forum ↗
Thread Summary

Thread Summary

The user asked how to handle safeload writes for more than five parameters, such as FIR coefficients. The final answer suggests muting the output and performing multiple safeload writes or stopping the SigmaDSP for block writes. The user confirmed they will mute the outputs before loading new coefficients.
AI Generated Content
Subscribe
Tingting1992 Question
Dec 26, 2022 00:00

Hi,

I am checking this page.

How do I execute a software safeload write? - Documents - SigmaDSP Processors & SigmaStudio Dev. Tool - EngineerZone (analog.com)

============

In order to use software safeload to write data to parameter RAM, at least three writes must be performed. First, the data is loaded into the safeload data registers (addresses 0x0001 through 0x0005), then the safeload target address register (address 0x0006), and finally the number of words / trigger register (address 0x0007). So, in order to execute a safeload write, there are at least 3 register writes that need to occur.

============

From the above description, there are totally five safeload data registers provided by the SigmaStudio framework. This is OK for writing a biquad coefficient (five parameters) at one time.

But how to process when the number of parameters is more than five? For example FIR module, the number of FIR coefficients is absolutely more than five in most cases.

Thanks,

Tingting.

software

ADIApproved Reply
Dec 26, 2022 00:00

ADI North America will be on annual shutdown December 24, 2022 through January 2, 2023; perhaps another community member can assist you until our return on January 3.

Foster Reply
Dec 26, 2022 00:00

Hi,

I didn't use FIR module, but I used comp module which is more than 5 coefficients too.

I guess they are the same, just repeat safeload writing several times in order.

Harishgowtham Reply
Dec 26, 2022 00:00

Hello Tingting,

How long are the FIR coefficients?

If it's a lot, then you may wish to mute the output while new coefficients are loaded.

If you need to write a lot of parameters, then it may be better to either stop the SigmaDSP and perform block writes or mute the outputs and perform the parameter block writes.

Regards,

Harish

Tingting1992 Reply
Dec 26, 2022 00:00

Hi Harishgowtham ,

Thanks for your reply.

I will mute outputs before loading new coefficients.

Thanks,

Tingting.