The default sample rate for SigmaStudio projects is 48 kHz. I want to run my system at a different sample rate. How do I do so?
In order to change the sample rate of a system, follow these steps:
Setting Software Sample Rate
Locate the sample rate section of the toolbar.
Click the drop-down box, and select a new sample rate.
Click the "Set System Sample Rate" button to the left of the drop-down box.
Click the "Yes" button to confirm the sample rate change.
Link-Compile-Download the project in order to calculate and download the new coefficients for time-dependent algorithms.
Setting Hardware Sample Rate
Locate the core frame rate register in the Register Control Window and set it to the new sample rate. The name and address of this register differs depending on which IC is being used. Here are a few examples:
I would post this question on the SHARC section of this forum.
SigmaStudio will work the same way for the SHARC DSPs, the sample rate at the top of the window is only for SigmaStudio to properly program code that needs to know what the sample rate is. It is up to you to be certain that the registers in the DSP are properly set and the clocks going to the part are correct to obtain the desired sample rate inside the DSP. SigmaStudio does not know what rate the DSP is actually running at.