This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:sigmastudiov2:modules:sources:sweepswitch [05 May 2021 14:47] – Prasad Kamath | resources:tools-software:sigmastudiov2:modules:sources:sweepswitch [01 Apr 2024 13:58] (current) – Formatting corrected John Joseph | ||
---|---|---|---|
Line 7: | Line 7: | ||
\\ | \\ | ||
The Sweep block generates a sinewave that sweeps from a start frequency to an end frequency. The sweep rate is determined by the number of sweep steps and cycles per step. In case of the linear sweep, the frequency sweep is linear across time whereas in the case of log sweep input, the frequency sweeps logarithmically cross time. The following variants of the module are available: | The Sweep block generates a sinewave that sweeps from a start frequency to an end frequency. The sweep rate is determined by the number of sweep steps and cycles per step. In case of the linear sweep, the frequency sweep is linear across time whereas in the case of log sweep input, the frequency sweeps logarithmically cross time. The following variants of the module are available: | ||
- | * LinearSweepInput | + | * Linear Sweep Switch |
- | * LinearSweepWithInputTB | + | * Linear Sweep With Switch Tone Burst |
- | * LogSweepInput | + | * Log Sweep Switch |
- | * LogSweepWithInputTB | + | * Log Sweep With Switch Tone Burst |
\\ | \\ | ||
===== Usage ===== | ===== Usage ===== | ||
Line 27: | Line 27: | ||
===== Targets Supported ===== | ===== Targets Supported ===== | ||
^Name^ADSP-214xx^ADSP-215xx/ | ^Name^ADSP-214xx^ADSP-215xx/ | ||
- | |----------------------------------------|------------------------------------------|--------------------------------------------------|-------------------------------------------| | + | |LinearSweep and variants| |
- | |LinearSweep and variants| | + | |LogSweep and variants| |
- | |LogSweep and variants| | + | |
\\ | \\ | ||
===== Pins ===== | ===== Pins ===== | ||
==== Output ==== | ==== Output ==== | ||
^Name^Type^Description^ | ^Name^Type^Description^ | ||
- | |---------------|-------------------|-----------------------| | ||
|Output0|Audio|Output channel 0| | |Output0|Audio|Output channel 0| | ||
\\ | \\ | ||
===== Configurable Parameters ===== | ===== Configurable Parameters ===== | ||
^GUI Parameter Name^Default Value^Range^Function Description^ | ^GUI Parameter Name^Default Value^Range^Function Description^ | ||
- | | ---------------------------------------- | ---------------------- | ------------------------------ | ---------------------------------------- | | ||
|StartFrequency|20|0 to 0.5* sample rate|Sets the initial frequency for sinetone sweep| | |StartFrequency|20|0 to 0.5* sample rate|Sets the initial frequency for sinetone sweep| | ||
|StopFrequency|20000|0 to 0.5* sample rate|Sets the final/end frequency for sinetone sweep| | |StopFrequency|20000|0 to 0.5* sample rate|Sets the final/end frequency for sinetone sweep| | ||
Line 47: | Line 44: | ||
\\ | \\ | ||
===== DSP Parameters ===== | ===== DSP Parameters ===== | ||
- | ^Parameter Name^Description^ADSP-214xx/SC5xx/215xx^ | + | ^Parameter Name^Description^ADAU145x/146x^ |
- | | ----------------------------- | --------------------------------------------------------------------------------------------------- |----------------------------------------------------- | | + | |start_freq|normalised value of start frequency|FixPoint8d24| |
- | |start_freq|normalised value of start frequency|Float| | + | |stop_freq|normalised value of end frequency|FixPoint8d24| |
- | |stop_freq|normalised value of end frequency|Float| | + | |numcycles_per_step|Gain, |
- | |numcycles_per_step|Gain, | + | |numsteps|number of steps between start and stop|Integer32| |
- | |numsteps|number of steps between start and stop|Float| | + | |freq_increment| frequency increment defined by range and numsteps |FixPoint8d24| |
- | |freq_increment| frequency increment defined by range and numsteps |Float| | + | |ison |Enabled/ |
- | |ison |Enabled/ | + | |
\\ | \\ | ||
===== DSP Parameter Computation ===== | ===== DSP Parameter Computation ===== |