FAQ: How do I change the sample rate of my SigmaStudio system?

Document created by JeradL on Apr 23, 2010Last modified by BrettG on Jun 4, 2013
Version 4Show Document
  • View in full screen mode

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.

ScreenHunter_01 Oct. 12 11.10.jpg


Click the drop-down box, and select a new sample rate.

ScreenHunter_02 Oct. 12 11.11.jpg


Click the "Set System Sample Rate" button to the left of the drop-down box.

ScreenHunter_03 Oct. 12 11.12.jpg


Click the "Yes" button to confirm the sample rate change.

ScreenHunter_05 Oct. 12 11.13.jpg


Link-Compile-Download the project in order to calculate and download the new coefficients for time-dependent algorithms.

ScreenHunter_06 Oct. 12 11.14.jpg


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:


AD1940 / AD1941:

ScreenHunter_09 Oct. 12 11.18.jpg


ADAU1442 / ADAU1445 / ADAU1446:

ScreenHunter_07 Oct. 12 11.16.jpg


ADAU1701 / ADAU1702 / ADAU1401:

ScreenHunter_08 Oct. 12 11.17.jpg


ADAU1761 / ADAU1361 (note: you must change the sample rate for the DSP, serial port, and converters):

ScreenHunter_10 Oct. 12 11.19.jpg

ScreenHunter_33 Jun. 04 09.53.jpg


ScreenHunter_33 Jun. 04 09.54.jpg

ADAU1781 / ADAU1381 (note: you must change the sample rate for the DSP, serial port, and converters):

ScreenHunter_33 Jun. 04 09.56.jpg


ScreenHunter_34 Jun. 04 09.56.jpg


ScreenHunter_35 Jun. 04 09.56.jpg



Setting "Non-Standard" Software Sample Rates


If you are using a non-standard sample rate by scaling the master clock in the system (for example, scaling the MCLK down from 12.288 MHz to 12 MHz, effectively bringing the sample rate down from 48 kHz to 46.875 kHz), you need to manually enter the sample rate.


Right click the input cell, select set sample rate, and enter the sample rate manually in Hertz. You can type in any number.


ScreenHunter_04 Jan. 30 13.41.jpg


ScreenHunter_06 Jan. 30 13.46.jpg

Click propagate sample rate.


ScreenHunter_05 Jan. 30 13.41.jpg


You can also do this from the Action menu, or with the keyboard shortcut Ctrl+Q.


ScreenHunter_07 Jan. 30 13.47.jpg


In this case of a non-standard sample rate, you do not need to change the hardware register settings from their original settings, since the master clock frequency in the system is simply being scaled. You do, however, need to make sure that the new MCLK frequency is within the allowable range of frequencies for the input to the PLL. This can be verified by checking the timing specifications on the datasheet for the SigmaDSP in use.


You may use a "non-standard" or scaled sample rate in conjunction with a "double-rate" sample rate like 96 kHz, or a "half-rate" sample rate like 24 kHz, et cetera. Continuing the example from above, if I wanted to take a 96 kHz system with a 12.288 MHz master clock, but then scale the master clock down to 12 MHz, then the sample rate would become 96 kHz * (12 / 12.288) = 93.75 kHz. The steps to do this are as follows:

  • Set the hardware registers to the fs * 2 (96 kHz) mode

ScreenHunter_10 Oct. 12 11.19.jpg

  • Manually enter 93750 Hz using "Set Sample Rate" on the input cell's right-click menu

ScreenHunter_08 Jan. 30 13.53.jpg

  • Propagate Sampling Rate

ScreenHunter_07 Jan. 30 13.47.jpg


This FAQ was generated from the following discussion: How do I change the sample rate of my SigmaStudio system?

3 people found this helpful