This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | resources:tools-software:sigmastudiov2:modules:sources:sqaurewave [03 Feb 2020 11:17] – Sanjeeva Reddy | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[resources/ | ||
+ | ====== Square Wave ====== | ||
+ | \\ | ||
+ | {{: | ||
+ | ===== Description ===== | ||
+ | \\ | ||
+ | The Square Wave block generates a square wave at a constant level and at different frequencies. | ||
+ | ===== Usage ===== | ||
+ | \\ | ||
+ | This block has checkbox to enabled or disabled the algorithm. Check the box to enable this algorithm. It has the numeric text box to edit the frequency to generate the square wave at different frequencies. | ||
+ | ===== Targets Supported ===== | ||
+ | ^Name^ADSP-214xx(Sample)^ADSP-214xx(Block)^ADSP-215xx/ | ||
+ | |Square Wave| Yes | Yes|Yes| Yes| | ||
+ | |||
+ | ===== Pins ===== | ||
+ | ==== Output ==== | ||
+ | ^Name^Type^Description^ | ||
+ | |Output0|Control|Output channel 0| | ||
+ | |||
+ | ===== Configurable Parameters ===== | ||
+ | ^GUI Parameter Name^Default Value^Range^Function Description^ | ||
+ | |Frequency|500|0 to 0.5* sample rate|Sets the frequency for square wave| | ||
+ | |OnOff|False|True/ | ||
+ | |||
+ | ===== DSP Parameters ===== | ||
+ | ^Parameter Name^Description^ADSP-214xx/ | ||
+ | |Sin|Sin value for generating a square wave at particular frequency|Float| | ||
+ | |Cos|Cos value for generating a square wave at particular frequency|Float| | ||
+ | |OnOff|Enabled/ | ||
+ | ===== DSP Parameter Computation ===== | ||
+ | Sin = sin(2*π*fs/ | ||
+ | \\ | ||
+ | Cos = cos(2*π*fs/ | ||
+ | \\ | ||
+ | Where fs is frequency and FS is the sampling rate | ||
+ | |||